<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Gargleblaster.org &#187; OS X</title>
	<atom:link href="http://www.gargleblaster.org/category/os-x/feed" rel="self" type="application/rss+xml" />
	<link>http://www.gargleblaster.org</link>
	<description></description>
	<lastBuildDate>Wed, 16 Jun 2010 08:34:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>RIP Stepwise.com</title>
		<link>http://www.gargleblaster.org/2009/11/04/rip-stepwise-com.html</link>
		<comments>http://www.gargleblaster.org/2009/11/04/rip-stepwise-com.html#comments</comments>
		<pubDate>Wed, 04 Nov 2009 06:37:40 +0000</pubDate>
		<dc:creator>Merlijn</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://www.gargleblaster.org/?p=253</guid>
		<description><![CDATA[Sadly, Scott Anguish decided to pull out the plug of Stepwise. This site was for me the place to be in the early OS X days. Scott was one of the first to provide details on setting up *nix tools on OS X. Since 2004 or smth, the site slowly died. But I still visited [...]]]></description>
			<content:encoded><![CDATA[<p>Sadly, Scott Anguish decided to pull out the plug of <a href="http://www.stepwise.com">Stepwise</a>. This site was for me the place to be in the early OS X days. Scott was one of the first to provide details on setting up *nix tools on OS X. Since 2004 or smth, the site slowly died. But I still visited stepwise daily to check the collection of news bits from Scott his rss feed. Always good for developer-related news items main sites missed.<br />
Scott has his own blog at <a href="http://www.abandoninplace.com/">http://www.abandoninplace.com/</a>, but it misses the nice selection of developerfeeds.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gargleblaster.org/2009/11/04/rip-stepwise-com.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The best RSS reader for OS X&#8230;</title>
		<link>http://www.gargleblaster.org/2008/01/10/the-best-rss-reader-for-os-x.html</link>
		<comments>http://www.gargleblaster.org/2008/01/10/the-best-rss-reader-for-os-x.html#comments</comments>
		<pubDate>Thu, 10 Jan 2008 16:28:06 +0000</pubDate>
		<dc:creator>Merlijn</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[NNW]]></category>
		<category><![CDATA[rss]]></category>

		<guid isPermaLink="false">http://www.gargleblaster.org/2008/01/10/the-best-rss-reader-for-os-x.html</guid>
		<description><![CDATA[Has become a free download o0? I have bought this application 3 years ago or something, because it simply rocked. Apparently the recent additions of Leopard concerning RSS feeds, have made newsgator to release Newsnetwire for free and keep some market-share. It would been even better if it would be made an open source project&#8230;but [...]]]></description>
			<content:encoded><![CDATA[<p>Has become a free download o0?<br />
I have bought this application 3 years ago or something, because it simply rocked. Apparently the recent additions of Leopard concerning RSS feeds, have made newsgator to release Newsnetwire for free and keep some market-share.</p>
<p>It would been even better if it would be made an open source project&#8230;but who knows :)</p>
<p>Anyway&#8230;it can be downloaded <a href="http://www.newsgator.com/Individuals/NetNewsWire/">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gargleblaster.org/2008/01/10/the-best-rss-reader-for-os-x.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dashcode</title>
		<link>http://www.gargleblaster.org/2007/01/10/dashcode.html</link>
		<comments>http://www.gargleblaster.org/2007/01/10/dashcode.html#comments</comments>
		<pubDate>Wed, 10 Jan 2007 07:39:27 +0000</pubDate>
		<dc:creator>Merlijn</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[dashcode]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[safari]]></category>

		<guid isPermaLink="false">http://www.gargleblaster.org/2007/01/10/dashcode.html</guid>
		<description><![CDATA[Apple released a public beta of Dashcode to ADC members (including the free accounts). I have to say I am deeply impressed. It has still some quirks, but it is stable and has stunning features. I started this week to play around with it and I can assure you it&#8217;s fun. Implementing a Scrollarea gave [...]]]></description>
			<content:encoded><![CDATA[<p>Apple released a public beta of Dashcode to ADC members (including the free accounts). I have to say I am deeply impressed.<br />
It has still some quirks, but it is stable and has stunning features.</p>
<p>I started this week to play around with it and I can assure you it&#8217;s fun.<br />
Implementing a Scrollarea gave some problems for me tho.<br />
(I admit, has a lot to do with my JS n00bness&#8230;but hey&#8230;)</p>
<p>If you you update the content of your scrollarea, don&#8217;t forget to refresh it&#8230;</p>
<p>example:</p>
<pre>if (logstatus == 0) {
		loginhoud = logcall.outputString;
		content.innerHTML = loginhoud;
		document.getElementById("scrollArea").object.refresh();
	}
	else {
		content.innerHTML = "Problem fetching server data...";
	}
</pre>
<p>I think this is missing in the documentation&#8230;(yup, reporting it to Apple as well).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gargleblaster.org/2007/01/10/dashcode.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AJAX with Safari</title>
		<link>http://www.gargleblaster.org/2006/12/15/ajax-with-safari.html</link>
		<comments>http://www.gargleblaster.org/2006/12/15/ajax-with-safari.html#comments</comments>
		<pubDate>Fri, 15 Dec 2006 11:03:47 +0000</pubDate>
		<dc:creator>Merlijn</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[safari]]></category>
		<category><![CDATA[XMLHttprequest]]></category>

		<guid isPermaLink="false">http://www.gargleblaster.org/?p=186</guid>
		<description><![CDATA[Mental note to myself: When making a POST request with XMLHttprequest and Safari(v2.0.4), always generate some content for the browser. If not, the status will always be undefined. example: if (!$mysqli->query($insert)) { trigger_error("error writing data: ".$insert); exit; } else { echo "0"; } This costed me some hours pulling my hair&#8230;. The following javascript works [...]]]></description>
			<content:encoded><![CDATA[<p>Mental note to myself:</p>
<p>When making a POST request with XMLHttprequest and Safari(v2.0.4), always generate some content for the browser. </p>
<p>If not, the status will always be <i>undefined</i>.<br />
example:</p>
<pre>if (!$mysqli->query($insert)) {
  trigger_error("error writing data: ".$insert);
  exit;
}
else {
  echo "0";
}
</pre>
<p>This costed me some hours pulling my hair&#8230;.<br />
The following javascript works like a charm when you return a &#8220;0&#8243; at the end of the php file called with POST. If you don&#8217;t return anything, Safari will decide that the HTTP headers are undefined and thus call the error handler.</p>
<pre>
KwAjax.ContentLoader.onReadyState=function(){
  var req=this.req;
  var ready=req.readyState;
  if (ready==KwAjax.READY_STATE_COMPLETE){
      var httpStatus=req.status;
      if (httpStatus == 200 || httpStatus == 0) {
        this.onload.call(this);
      }
      else {
        this.onerror.call(this);
      }
  }
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.gargleblaster.org/2006/12/15/ajax-with-safari.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Good ol&#8217; OS 9</title>
		<link>http://www.gargleblaster.org/2006/11/28/good-ol-os-9.html</link>
		<comments>http://www.gargleblaster.org/2006/11/28/good-ol-os-9.html#comments</comments>
		<pubDate>Tue, 28 Nov 2006 08:04:07 +0000</pubDate>
		<dc:creator>Merlijn</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[OS 9]]></category>

		<guid isPermaLink="false">http://www.gargleblaster.org/?p=184</guid>
		<description><![CDATA[Funny. I was one of the early (I think my 1st installed OS X version was developer release 4) adapters of OS X. And I very rarely thought back of OS 9/8/7/6. All the new thrills of the new OS made you forget about the good things of the classic OS&#8217;s. This blogentry however sumarizes [...]]]></description>
			<content:encoded><![CDATA[<p>Funny.</p>
<p>I was one of the early (I think my 1st installed OS X version was developer release 4) adapters of OS X. And I very rarely thought back of OS 9/8/7/6. All the new thrills of the new OS made you forget about the good things of the classic OS&#8217;s.</p>
<p><a href="http://theappleblog.com/2006/11/27/10-classic-features-to-bring-back-to-os-x/">This blogentry</a> however sumarizes the most missed features of the old classic OS.</p>
<p>I personally miss feature #6. Tabbed folders the most.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gargleblaster.org/2006/11/28/good-ol-os-9.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Vista</title>
		<link>http://www.gargleblaster.org/2005/07/25/windows-vista.html</link>
		<comments>http://www.gargleblaster.org/2005/07/25/windows-vista.html#comments</comments>
		<pubDate>Mon, 25 Jul 2005 13:43:39 +0000</pubDate>
		<dc:creator>Merlijn</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[Vista]]></category>

		<guid isPermaLink="false">http://www.gargleblaster.org/?p=161</guid>
		<description><![CDATA[The first screenshots of Windows Vista are popping up on the internet. The remark of Steve Jobs (Redmond, start your photocopiers) has been proven right. Several features of Longh&#8212;, eh, Vista seems to be copied from Tiger. But&#8230;A microsoft developer has the best excuse ever: &#8220;If you are slow (or lazy) in your development, you [...]]]></description>
			<content:encoded><![CDATA[<p>The first screenshots of Windows Vista are popping up on the internet. The remark of Steve Jobs (Redmond, start your photocopiers) has been proven right. Several features of Longh&#8212;, eh, Vista seems to be copied from Tiger.</p>
<div align="center">
<img src="http://www.gargleblaster.org/images2/vistadashboard.png" />
</div>
<p>But&#8230;A microsoft developer has the best excuse ever:</p>
<p><i>&#8220;If you are slow (or lazy) in your development, you never can be called a copycat&#8221;</i><br />
Or, like he puts it:</p>
<blockquote><p>Naturally,  some Macintosh users will claim that this is like &#8220;Dashboard&#8221;.  And indeed there are similarities here.  But Microsoft has been working on Avalon a lot longer than Apple was working on Dashboard.  And Avalon Express applications are designed to be very secure from day 1.
</p></blockquote>
<p>The quote above was taken from <a href="http://frogboy.wincustomize.com/articles.aspx?aid=81881&#038;SID=5&#038;UID=0&#038;u=0">this website</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gargleblaster.org/2005/07/25/windows-vista.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OS X: sshd/sftp jail</title>
		<link>http://www.gargleblaster.org/2005/05/26/os-x-sshdsftp-jail.html</link>
		<comments>http://www.gargleblaster.org/2005/05/26/os-x-sshdsftp-jail.html#comments</comments>
		<pubDate>Thu, 26 May 2005 20:21:46 +0000</pubDate>
		<dc:creator>Merlijn</dc:creator>
				<category><![CDATA[BOFH]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[jail]]></category>
		<category><![CDATA[netinfo]]></category>
		<category><![CDATA[sftp]]></category>
		<category><![CDATA[sshd]]></category>

		<guid isPermaLink="false">http://www.gargleblaster.org/?p=155</guid>
		<description><![CDATA[A while ago I enabled a jail for an useraccount on my server. Last week, I had to add another user. The difference between priviliged useraccount and a &#8220;jailed&#8221; useraccount is a dot in the path of the home directory, for example: &#8220;/Users/./username&#8221;. Being a little bit under stress and having not very much time, [...]]]></description>
			<content:encoded><![CDATA[<p>A while ago I enabled a <a href="http://www.gargleblaster.org/?p=112" >jail for an useraccount</a> on my server.<br />
Last week, I had to add another user.</p>
<p>The difference between priviliged useraccount and a &#8220;jailed&#8221; useraccount is a dot in the path of the home directory, for example: &#8220;/Users/./username&#8221;.</p>
<p>Being a little bit under stress and having not very much time, I couldn&#8217;t recall how to do that with OS X serveradmin.<br />
Very frustrating. Googling and digging through the manuals didn&#8217;t give the answer where I was looking for.<br />
Am I the only one who prefers the plain old /etc/passwd above netinfo? </p>
<p>But&#8230;today I recalled how I did it before.<br />
And it&#8217;s so simple&#8230;.(after mucking around with obscure CLI commands like nicl and serversetup)</p>
<p><img src="http://www.gargleblaster.org/images2/admin.jpg" alt="server-admin" width="460" height="417" border="0" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gargleblaster.org/2005/05/26/os-x-sshdsftp-jail.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MyFirstWidget&#8482;</title>
		<link>http://www.gargleblaster.org/2005/03/29/myfirstwidget.html</link>
		<comments>http://www.gargleblaster.org/2005/03/29/myfirstwidget.html#comments</comments>
		<pubDate>Tue, 29 Mar 2005 16:25:28 +0000</pubDate>
		<dc:creator>Merlijn</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[dashboard]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[widget]]></category>

		<guid isPermaLink="false">http://www.gargleblaster.org/?p=150</guid>
		<description><![CDATA[Having an ADC-select account, I have access to the latest release builds of Tiger. On Easter-Sunday, I decided to do something usefull with my tiger-seed and downloaded the Dashboard SDK. Being used to PHP, it took some frustrating tries with javascript, but some hours later I was looking at my first widget. It basically uses [...]]]></description>
			<content:encoded><![CDATA[<p>Having an ADC-select account, I have access to the latest release builds of Tiger.<br />
On Easter-Sunday, I decided to do something usefull with my tiger-seed and downloaded the Dashboard SDK.</p>
<p>Being used to PHP, it took some frustrating tries with javascript, but some hours later I was looking at my first widget.<br />
It basically uses Curl to fetch  PHP generated content over a HTTPS connection.<br />
Shown are the last five lines of a access-log from a webapplication.<br />
It works like a charm and refreshes every time dashboard shows up, or with the command+r keycombo.</p>
<p>If Tiger is released and the NDA is lifted, I&#8217;ll probably post the widget for download&#8230;untill then, some screenshots:<br />
<img src="http://www.gargleblaster.org/images2/widget_front.jpg" alt="widget front"/><br />
<i>the front, some content blurred for privacy reasons</i></p>
<p><img src="http://www.gargleblaster.org/images2/widget_back.jpg" alt="widget backside"/><br />
<i>and the backside, i simply love the animation :)</i></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gargleblaster.org/2005/03/29/myfirstwidget.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrading mysql on OS X 10.3 Server</title>
		<link>http://www.gargleblaster.org/2005/03/13/upgrading-mysql-on-os-x-103-server.html</link>
		<comments>http://www.gargleblaster.org/2005/03/13/upgrading-mysql-on-os-x-103-server.html#comments</comments>
		<pubDate>Sun, 13 Mar 2005 14:57:13 +0000</pubDate>
		<dc:creator>Merlijn</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.gargleblaster.org/?p=147</guid>
		<description><![CDATA[With the latest discovery of some remote vulnerabilities in mysql and PHP, I had to upgrade my production server. And to be clear, I don&#8217;t like updates. Esp. not on mission critical apps. Updates tend to break things, you see:) But running php 4.3.6 and mysql 4.0.20 was getting&#8230;unwise. Upgrading PHP is easy, with the [...]]]></description>
			<content:encoded><![CDATA[<p>With the latest discovery of some <a href =" http://www.securityfocus.com/bid/12781" >remote vulnerabilities</a> in mysql and PHP, I had to upgrade my production server.<br />
And to be clear, I don&#8217;t like updates.<br />
Esp. not on mission critical apps. Updates tend to break things, you see:)</p>
<p>But running php 4.3.6 and mysql 4.0.20 was getting&#8230;unwise.</p>
<p>Upgrading PHP is easy, with the (imho) great installer of entropy.ch.<br />
<code><br />
installer -verboseR -pkg ~/php-4.3.10.pkg -target /<br />
</code><br />
Don&#8217;t forget afterwards to restore your httpd.conf and to edit /usr/local/php/httpd.conf.php to add:<br />
<code><br />
AddType application/x-httpd-php .php<br />
AddType application/x-httpd-php .html<br />
AddType application/x-httpd-php-source .phps<br />
</code></p>
<p>MySQL is somewhat more tricky.<br />
The version supplied by Apple is well&#8230;historic.<br />
I like to compile MySQL from source (esp. because that takes 8,5 minute on my Xserve :) and install it to /usr/local/mysql-(version).<br />
After that I create a symlink from /usr/local/mysql-(version) to /usr/local/mysql.<br />
Take some care replacing the apple supplied mysql-binaries with symlinks to the up2date /usr/local/mysql/bin/ counterparts.<br />
After this, upgrading mysql from source is painless.</p>
<p>The most recent upgrade:<br />
<code><br />
# cd /usr/local/src<br />
# gnutar -xzvf mysql-4.1.10a.tar.gz<br />
# cd mysql-4.1.10a<br />
# ./configure --with-openssl \<br />
--prefix=/usr/local/mysql-4.1.10_a \<br />
--localstatedir=/usr/local/mysql-4.1.10_a/data\<br />
--mandir=/usr/local/share/man/\<br />
--with-mysqld-user=mysql<br />
# make<br />
# make install<br />
# cd /usr/local/<br />
# mysqladmin -u root -p shutdown<br />
# cp -R mysql/data mysql-4.1.10_a/data<br />
# chown -r mysql:wheel mysql-4.1.10_a/data<br />
# ln -s /usr/local/mysql-4.1.10_a /usr/local/mysql<br />
# mysqld_safe &#038;<br />
</code></p>
<p>That&#8217;s all. If something goes wrong, just restore the symlink to the &#8220;old&#8221; mysql-(version) and you&#8217;re safe.<br />
Be aware of the new password hashing mysql uses from 4.1.1 of. I used the &#8211;old-password switch untill I&#8217;ve upgraded all my clients.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gargleblaster.org/2005/03/13/upgrading-mysql-on-os-x-103-server.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Localizing wordpress with OS X Panther</title>
		<link>http://www.gargleblaster.org/2005/02/23/localizing-wordpress-with-os-x-panther.html</link>
		<comments>http://www.gargleblaster.org/2005/02/23/localizing-wordpress-with-os-x-panther.html#comments</comments>
		<pubDate>Wed, 23 Feb 2005 18:01:12 +0000</pubDate>
		<dc:creator>Merlijn</dc:creator>
				<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://www.gargleblaster.org/?p=137</guid>
		<description><![CDATA[Quick and dirty: download the .po file edit in bbedit save get the gettext tools from: http://download.videolan.org/pub/videolan/devtools/gettext-macosx.tar.gz mkdir -p /usr/local/lib cp gettext* /usr/local/lib/ ln -s /usr/local/lib/msgfmt /usr/sbin/msgfmt /usr/local/lib/libintl.a msgfmt --statistics -o nl_NL_merlijn.mo /Users/merlijn/Desktop/NL_nl.po upload the mo file, edit wp-config.inc done]]></description>
			<content:encoded><![CDATA[<p>Quick and dirty:</p>
<p>download the .po file<br />
edit in bbedit<br />
save</p>
<p>get the gettext tools from:</p>
<p>http://download.videolan.org/pub/videolan/devtools/gettext-macosx.tar.gz</p>
<p><code><br />
mkdir -p /usr/local/lib<br />
cp gettext* /usr/local/lib/<br />
ln -s /usr/local/lib/msgfmt /usr/sbin/msgfmt<br />
/usr/local/lib/libintl.a</p>
<p>msgfmt --statistics -o nl_NL_merlijn.mo /Users/merlijn/Desktop/NL_nl.po<br />
</code><br />
upload the mo file, edit wp-config.inc<br />
done</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gargleblaster.org/2005/02/23/localizing-wordpress-with-os-x-panther.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
