<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>bloganstalt</title>
	
	<link>http://blog.programmanstalt.de</link>
	<description>the programmanstalt weblog</description>
	<lastBuildDate>Mon, 28 Nov 2011 16:17:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/bloganstalt" /><feedburner:info uri="bloganstalt" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>@font-face / off: der Directors Cut</title>
		<link>http://feedproxy.google.com/~r/bloganstalt/~3/V8AYQIU5GRY/</link>
		<comments>http://blog.programmanstalt.de/articles/font-face-off-der-directors-cut/#comments</comments>
		<pubDate>Mon, 28 Nov 2011 16:17:12 +0000</pubDate>
		<dc:creator>Jan</dc:creator>
				<category><![CDATA[miscellaneous]]></category>

		<guid isPermaLink="false">http://blog.programmanstalt.de/?p=119</guid>
		<description><![CDATA[Hier gibt&#8217;s demnächst die versprochene Linksammlung zu meinem Talk @font-face / off auf dem Hamburger Webmontag. Ungeduldig? Trietze mich per Mail!]]></description>
			<content:encoded><![CDATA[<p>Hier gibt&#8217;s demnächst die versprochene Linksammlung zu meinem Talk @font-face / off auf dem Hamburger Webmontag.</p>
<p>Ungeduldig? Trietze mich <a title="per Mail" href="mailto:jan@programmanstalt.de">per Mail</a>!</p>
<img src="http://feeds.feedburner.com/~r/bloganstalt/~4/V8AYQIU5GRY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.programmanstalt.de/articles/font-face-off-der-directors-cut/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.programmanstalt.de/articles/font-face-off-der-directors-cut/</feedburner:origLink></item>
		<item>
		<title>Restarting Rails</title>
		<link>http://feedproxy.google.com/~r/bloganstalt/~3/RRsSjgS4GEE/</link>
		<comments>http://blog.programmanstalt.de/articles/restarting-rails/#comments</comments>
		<pubDate>Sun, 12 Dec 2010 15:32:25 +0000</pubDate>
		<dc:creator>Jan</dc:creator>
				<category><![CDATA[miscellaneous]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[restarting rails]]></category>

		<guid isPermaLink="false">http://blog.programmanstalt.de/?p=109</guid>
		<description><![CDATA[I&#8217;ve been in my comfort zone for far too long now. Over roughly the last one and a half years, I&#8217;ve acquired a lot of cruft. Physical cruft. Mental cruft. Things I should have adopted a while ago but didn&#8217;t. Stuff I should have stopped doing but still do. Ugly hacks and workarounds I&#8217;ve gotten [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been in my comfort zone for far too long now. Over roughly the last one and a half years, I&#8217;ve acquired a lot of cruft. Physical cruft. Mental cruft. Things I should have adopted a while ago but didn&#8217;t. Stuff I should have stopped doing but still do. Ugly hacks and workarounds I&#8217;ve gotten used to. Small to medium pains I&#8217;ve ignored too long.</p>
<p>A few examples:</p>
<ul>
<li>not using Rails 3, Bundler and Ruby 1.9</li>
<li>proper integration testing</li>
<li>copy and pasting stuff from old projects into new ones</li>
<li>new project setup in general</li>
<li>still using Apache, Passenger 2 and system-wide RVM for deployment</li>
<li>setting up new Rails projects takes me about an hour by</li>
<li>and so on, and so on …</li>
</ul>
<p>It&#8217;s time for all this to change. I&#8217;ve already spent around three days reading up on various topics, and boy, it&#8217;s a lot to take in. So in order to help me remember what I&#8217;ve learned and what&#8217;s still on the list, I will accompany this process with a series of articles.</p>
<p>Some of these will not be much more than a list of hand-filtered and commented links, or a bunch of free-form notes. I had originally hoped to get away from WordPress before starting this, but I haven&#8217;t. In the end it&#8217;s just a tool, it will suffice, and putting off writing because of it would be nothing but an excuse for more procrastination.</p>
<p>So on with it! The rough outline of the series will be as follows:</p>
<ul>
<li>Rails 3, Ruby 1.9 and Bundler
<ul>
<li>architecture</li>
<li>what&#8217;s new</li>
<li>gotchas</li>
</ul>
</li>
<li>Rails application templates</li>
<li>Improving my testing habits</li>
<li>Hosting and deployment
<ul>
<li>Passenger 3, custom RVM gemsets and Capistrano</li>
</ul>
</li>
<li>Better code reuse
<ul>
<li>Writing and publishing my own gems</li>
</ul>
</li>
<li>Frontend
<ul>
<li>Paul Irish&#8217;s HTML5 Boilerplate</li>
<li>Improving my asset management: better JS and CSS delivery</li>
<li>HAML: worth it?</li>
</ul>
</li>
<li>Development, workflow and good practises</li>
</ul>
<img src="http://feeds.feedburner.com/~r/bloganstalt/~4/RRsSjgS4GEE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.programmanstalt.de/articles/restarting-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.programmanstalt.de/articles/restarting-rails/</feedburner:origLink></item>
		<item>
		<title>Ruby Enterprise Edition on OS X – a Quick Caveat</title>
		<link>http://feedproxy.google.com/~r/bloganstalt/~3/tcfJTZq1d_Q/</link>
		<comments>http://blog.programmanstalt.de/articles/ruby-enterprise-edition-on-os-x-a-quick-caveat/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 14:24:40 +0000</pubDate>
		<dc:creator>Jan</dc:creator>
				<category><![CDATA[flotsam & jetsam]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://blog.programmanstalt.de/?p=91</guid>
		<description><![CDATA[The gist: when trying to install RubyEE, remove all gems installed to ~/.gem first. Otherwise you will encounter exceptions like [BUG] cross-thread violation on rb_gc() Installing Ruby Enterprise Edition on OS X is pretty easy and straight forward; it installs itself to /opt/ruby-enterprise-&#60;version&#62;, along with its own copy of RubyGems. RubyGems installed with the standard [...]]]></description>
			<content:encoded><![CDATA[<p>The gist: when trying to install RubyEE, remove all gems installed to <em>~/.gem</em> first. Otherwise you will encounter exceptions like </p>
<p>
<pre>[BUG] cross-thread violation on rb_gc()</pre>
</p>
<p>Installing Ruby Enterprise Edition on OS X is pretty easy and straight forward; it installs itself to <em>/opt/ruby-enterprise-&lt;version&gt;</em>, along with its own copy of RubyGems.</p>
<p>RubyGems installed with the standard MRI Ruby do not work with RubyEE and have to be installed a second time using /opt/ruby-enterprise-&lt;version&gt;/bin/gem.</p>
<p>The caveat: both /<em>usr/bin/gem</em> and /<em>opt/ruby-enterprise-&lt;version&gt;/bin/gem</em> try to load gems from your personal gem path at ~<em>/.gem</em> first before looking in their respective gem paths. For example, if you have bluecloth installed to <em>~/.gem</em> using the standard MRI ruby, RubyEE will try to load it and throw exceptions like </p>
<p>
<pre>[BUG] cross-thread violation on rb_gc()</pre>
</p>
<p>To solve this, you can either remove <em>~/.gem</em> from your GEM_PATH environment variable, or simply uninstall all gems from there and reinstall them properly to <em>/usr/lib/ruby</em> using <em>sudo gem install</em>.</p>
<img src="http://feeds.feedburner.com/~r/bloganstalt/~4/tcfJTZq1d_Q" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.programmanstalt.de/articles/ruby-enterprise-edition-on-os-x-a-quick-caveat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.programmanstalt.de/articles/ruby-enterprise-edition-on-os-x-a-quick-caveat/</feedburner:origLink></item>
		<item>
		<title>SpriteMe: A One-Click CSS Sprite Generator</title>
		<link>http://feedproxy.google.com/~r/bloganstalt/~3/-dwJNIlC1Ug/</link>
		<comments>http://blog.programmanstalt.de/articles/spriteme-a-one-click-css-sprite-generator/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 10:42:18 +0000</pubDate>
		<dc:creator>Jan</dc:creator>
				<category><![CDATA[web development]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://blog.programmanstalt.de/?p=83</guid>
		<description><![CDATA[Steve Souders from <a href="http://www.stevesouders.com/blog/2009/09/14/spriteme/">High Performance Web Sites</a> gifts us <a href="http://spriteme.org/">SpriteMe</a>, a bookmarklet that greatly simplifies the usage of CSS sprites.]]></description>
			<content:encoded><![CDATA[<p>Steve Souders from <a href="http://www.stevesouders.com/blog/2009/09/14/spriteme/">High Performance Web Sites</a> gifts us <a href="http://spriteme.org/">SpriteMe</a>, a bookmarklet that greatly simplifies the usage of CSS sprites.</p>
<p>When invoked, SpriteMe automatically identifies potential images to be grouped into a sprite, gives you one-click sprite creation through <a href="http://www.csscoolrunnings.com">csscoolrunnings.com</a> and re-inserts the new sprite into your site on the fly for testing.</p>
<p><a href="http://blog.programmanstalt.de/wp-content/uploads/2009/09/Trying-out-SpriteMe.png"><img src="http://blog.programmanstalt.de/wp-content/uploads/2009/09/Trying-out-SpriteMe-500x324.png" alt="Trying out SpriteMe" title="Trying out SpriteMe" width="500" height="324" class="alignnone size-large wp-image-86" /></a></p>
<img src="http://feeds.feedburner.com/~r/bloganstalt/~4/-dwJNIlC1Ug" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.programmanstalt.de/articles/spriteme-a-one-click-css-sprite-generator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.programmanstalt.de/articles/spriteme-a-one-click-css-sprite-generator/</feedburner:origLink></item>
		<item>
		<title>Rails on the menu(bar)</title>
		<link>http://feedproxy.google.com/~r/bloganstalt/~3/-ulZZxyTiqI/</link>
		<comments>http://blog.programmanstalt.de/articles/rails-on-the-menubar/#comments</comments>
		<pubDate>Sun, 06 Sep 2009 19:26:49 +0000</pubDate>
		<dc:creator>Jan</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[apps]]></category>
		<category><![CDATA[screencast]]></category>

		<guid isPermaLink="false">http://programmanstalt.wordpress.com/?p=72</guid>
		<description><![CDATA[Today I learned that Fluid, the Mac app that lets you create Single-Site Browsers, has the ability to create custom menu bar items as well — sweet!

So, how does "ajax-powered Rails API in your menu bar, complete with keyboard shortcut" sound? Take a look at this short screencast, courtesy of yours truly:]]></description>
			<content:encoded><![CDATA[<div id="attachment_73" class="wp-caption aligncenter" style="width: 510px"><img src="http://programmanstalt.files.wordpress.com/2009/09/railsapi.jpg" alt="The Rails API in your Mac&#39;s menu bar" title="RailsAPI Single Site Browser" width="500" height="280" class="size-full wp-image-73" /><p class="wp-caption-text">The Rails API in your Mac's menu bar</p></div>
<p>Today I learned that <a href="http://fluidapp.com/">Fluid</a>, the Mac app that lets you create Single-Site Browsers, has the ability to create custom menu bar items as well — sweet!</p>
<p>So, how does &#8220;<a href="http://railsapi.com/">ajax-powered Rails API documentation</a> in your menu bar, complete with keyboard shortcut&#8221; sound? Take a look at this short screencast, courtesy of yours truly:</p>
<p><span class="youtube">
<object width="425" height="355">
<param name="movie" value="http://www.youtube.com/v/vNpqmjzpIDM?color1=d6d6d6&amp;color2=f0f0f0&amp;border=0&amp;fs=1&amp;hl=en&amp;loop=&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;rel=1&amp;hl=en&amp;fs=1&amp;rel=0" />
<param name="allowFullScreen" value="true" />
<embed wmode="opaque" src="http://www.youtube.com/v/vNpqmjzpIDM?color1=d6d6d6&amp;color2=f0f0f0&amp;border=0&amp;fs=1&amp;hl=en&amp;loop=&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;rel=1&amp;hl=en&amp;fs=1&amp;rel=0" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="355"></embed>
<param name="wmode" value="opaque" />
</object>
</span><p><a href="http://www.youtube.com/watch?v=vNpqmjzpIDM">www.youtube.com/watch?v=vNpqmjzpIDM</a></p></p>
<img src="http://feeds.feedburner.com/~r/bloganstalt/~4/-ulZZxyTiqI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.programmanstalt.de/articles/rails-on-the-menubar/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blog.programmanstalt.de/articles/rails-on-the-menubar/</feedburner:origLink></item>
		<item>
		<title>Five Hidden Preferences for Quicktime X</title>
		<link>http://feedproxy.google.com/~r/bloganstalt/~3/RGCsjF39tDg/</link>
		<comments>http://blog.programmanstalt.de/articles/five-hidden-preferences-for-quicktime-x/#comments</comments>
		<pubDate>Wed, 02 Sep 2009 07:13:34 +0000</pubDate>
		<dc:creator>Jan</dc:creator>
				<category><![CDATA[flotsam & jetsam]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[os]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[quicktime]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">http://programmanstalt.wordpress.com/?p=63</guid>
		<description><![CDATA[Apple's latest movie player is quite the looker with its no-window, all-video design, but when it comes to making it bow to your will, you seem to be out of luck. It does not even have a preference menu — okay, we get it Apple: it's take it or leave it.

Not so! Here's five hidden preferences to remove some common annoyances and make Quicktime Player X more pleasant to use:]]></description>
			<content:encoded><![CDATA[<p>Apple&#8217;s latest movie player is quite the looker with its no-window, all-video design, but when it comes to making it bow to your will, you seem to be out of luck. It does not even have a preference menu — okay, we get it Apple: it&#8217;s take it or leave it.</p>
<p>Not so! Here&#8217;s five hidden preferences to remove some common annoyances and make Quicktime Player X more pleasant to use:</p>
<h2>Make the controller bar hide more quickly</h2>
<p><img src="http://programmanstalt.files.wordpress.com/2009/09/episode-176_-searchlogic.jpg" alt="The controller bar in the new Quicktime Player X" title="The controller bar in the new Quicktime Player X" width="499" height="383" class="aligncenter size-full wp-image-64" style="border:none;" /></p>
<p>This is actually the first secret preference for a mac app I&#8217;ve found on my own — yay <a href="http://en.wikipedia.org/wiki/Strings_%28Unix%29">strings</a>!</p>
<p>The controller — the little bar containing the play/pause/forward/rewind buttons — sticks around a bit too long after you have stopped moving your mouse, obscuring the movie you&#8217;re trying to watch. Luckily,</p>
<pre class="brush: bash; title: ; notranslate">
defaults write com.apple.QuickTimePlayerX MGUIVisibilityTimeout 1
</pre>
<p>makes it fade out after one only second.</p>
<p><em>Thanks to rorschach from the <a href="http://forums.macrumors.com/showthread.php?t=775514">MacRumors forums</a> for these other four tips:</em></p>
<h2>Play movies automatically on open</h2>
<p>This one drove me nuts, and I don&#8217;t understand why this isn&#8217;t the default: to have your movies playing automatically right after opening them, enter</p>
<pre class="brush: bash; title: ; notranslate">
defaults write com.apple.QuickTimePlayerX MGPlayMovieOnOpen 1
</pre>
<h2>Disable the rounded corners</h2>
<p>If you prefer to see every last pixel of your video clip, down to the corners, enter</p>
<pre class="brush: bash; title: ; notranslate">
defaults write com.apple.QuickTimePlayerX MGCinematicWindowDebugForceNoRoundedCorners 1
</pre>
<h2>Show subtitles and closed captions automatically</h2>
<pre class="brush: bash; title: ; notranslate">
defaults write com.apple.QuickTimePlayerX MGEnableCCAndSubtitlesOnOpen 1
</pre>
<h2>Allow multiple screen recordings at the same time</h2>
<p>If you need to capture your desktop into multiple videos in parallel, this is for you:</p>
<pre class="brush: bash; title: ; notranslate">
defaults write com.apple.QuickTimePlayerX MGAllowMultipleSimultaneousRecordings 1
</pre>
<img src="http://feeds.feedburner.com/~r/bloganstalt/~4/RGCsjF39tDg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.programmanstalt.de/articles/five-hidden-preferences-for-quicktime-x/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://blog.programmanstalt.de/articles/five-hidden-preferences-for-quicktime-x/</feedburner:origLink></item>
		<item>
		<title>Rails, Postgres, Snow Leopard and 64bit: a word of warning</title>
		<link>http://feedproxy.google.com/~r/bloganstalt/~3/ghRhEiZZfZs/</link>
		<comments>http://blog.programmanstalt.de/articles/rails-postgres-snow-leopard-and-64bit-a-word-of-warning/#comments</comments>
		<pubDate>Mon, 31 Aug 2009 23:04:25 +0000</pubDate>
		<dc:creator>Jan</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[troubleshooting]]></category>

		<guid isPermaLink="false">http://programmanstalt.wordpress.com/?p=52</guid>
		<description><![CDATA[After zipping through a painless upgrade to OSX 10.6 Snow Leopard on both my Macs, I found myself banging my head against the wall trying to get my Rails + Postgres stack running again. There is a lot of great information out there on how to get everything up to 64bit goodness, and I merrily [...]]]></description>
			<content:encoded><![CDATA[<p>After zipping through a painless upgrade to OSX 10.6 Snow Leopard on both my Macs, I found myself banging my head against the wall trying to get my Rails + Postgres stack running again.</p>
<p>There is a lot of <a href="http://gist.github.com/177368">great information</a> out there on how to get everything up to 64bit goodness, and I merrily began the uninstall/recompile/reinstall dance. What followed was an excruciating eight hours of trying to get Postgres to compile to 64bit, and the <em>pg</em> gem — or <em>any</em> Postgres adapter for that matter — to link against it.</p>
<p>Long story short: make sure you actually have a 64bit Mac. Let me say that again: <strong>make sure your Mac is actually running Snow Leopard in 64bit</strong>.</p>
<p>As embarrassing as this, at some point I finally realized that both my Macs used Core Duo chips, not Core <em>2</em> Duos &#8211; which makes my Snow Leopard a plain-old 32bit installation. Markus Winter on <a href="http://www.ahatfullofsky.comuv.com/English/Programs/SMS/SMS.html">A hat full of sky</a> has a lot of great information on the subject matter, as well as a program that shows you exactly what mode your system is running in, and why.</p>
<p>So, us 32bit cat owners still have to compile <em>pg</em> with</p>
<pre class="brush: bash; title: ; notranslate">
sudo env ARCHFLAGS='i386' gem install pg -- --with-pgsql-dir=/usr/local/pgsql
</pre>
<p>- just as we had to on 10.5 Leopard.</p>
<p>What I hope to have learned from this:</p>
<ol>
<li>Postgres is a fifteen year old project, crafted in ten thousands of man hours by countless programmers all smarter than me</li>
<li>Next time it tells me it does not want to compile in 64bit, I&#8217;ll listen.</li>
</ol>
<img src="http://feeds.feedburner.com/~r/bloganstalt/~4/ghRhEiZZfZs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.programmanstalt.de/articles/rails-postgres-snow-leopard-and-64bit-a-word-of-warning/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://blog.programmanstalt.de/articles/rails-postgres-snow-leopard-and-64bit-a-word-of-warning/</feedburner:origLink></item>
		<item>
		<title>How to fix your 3G USB stick in Snow Leopard</title>
		<link>http://feedproxy.google.com/~r/bloganstalt/~3/oVWrKAlWGJI/</link>
		<comments>http://blog.programmanstalt.de/articles/how-to-fix-your-3g-umts-usb-stick-in-snow-leopard/#comments</comments>
		<pubDate>Mon, 31 Aug 2009 22:08:14 +0000</pubDate>
		<dc:creator>Jan</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[troubleshooting]]></category>

		<guid isPermaLink="false">http://programmanstalt.wordpress.com/?p=37</guid>
		<description><![CDATA[I bough a UMTS stick from O2 / Tchibo mobil just two weeks ago, and so far it's been great - love the new-found freedom. Alas, it didn't survive my otherwise smooth and painless upgrade to OSX 10.6 Snow Leopard - its ugly "Mobile Partner" application kept crashing on me.

This is how I got my Huawei E160 UMTS stick back to work.]]></description>
			<content:encoded><![CDATA[<p>I bough a UMTS stick from O2 / Tchibo mobil just two weeks ago, and so far it&#8217;s been great &#8211; love the new-found freedom. Alas, it didn&#8217;t survive my otherwise smooth and painless upgrade to OSX 10.6 Snow Leopard &#8211; its ugly &#8220;Mobile Partner&#8221; application kept crashing on me.</p>
<p>This is how I got my Huawei E160 (rolls right off the tongue, doesn&#8217;t it?) UMTS stick back to work:</p>
<ol>
<li>forget about the crashing software &#8211; the dialer included in Snow Leopard is all you need</li>
<li>open Terminal.app and login as <em>root</em> user by typing <code>sudo -s</code>and entering your user account password</li>
<li>as the user <em>root</em>, open a text editor to create a new file by typing <code>nano /etc/ppp/options</code></li>
<li>put these two lines in the file:<br />
<code>+pap<br />
-chap<br />
</code><br />
then save by pressing CTRL-O and exit with CTRL-X. You can now close Terminal.app</li>
<li>open Snow Leopards network preferences pane. There should already be an entry in there for your 3G USB stick named <em>HUAWEI&#8230;</em> &#8211; select it to see its settings</li>
<li>&#8220;Telephone number&#8221; should be <em>*99#</em>, &#8220;Account name&#8221; and &#8220;Password&#8221; should be blank:<img src="http://programmanstalt.files.wordpress.com/2009/08/network-prefpane-1.png" alt="OSX network preference pane for the Huawei E160 3G UMTS stick" title="OSX network preference pane for the Huawei E160 3G UMTS stick" width="500" height="437" class="aligncenter size-full wp-image-40" style="border:none;" /></li>
<li>Click &#8220;Advanced&#8221; and make sure <em>Other / Huawei Mobile Connect 3G</em> is the selected modem:<img src="http://programmanstalt.files.wordpress.com/2009/08/network-prefpane-2.png" alt="OSX network preference pane for the Huawei E160 3G UMTS stick - advanced configuration" title="OSX network preference pane for the Huawei E160 3G UMTS stick - advanced configuration" width="500" height="390" class="aligncenter size-full wp-image-41" style="border:none;" /></li>
</ol>
<p>That&#8217;s it! If you&#8217;ve fiddled around before trying this, you might want unplug and replug the stick once, but after that, you should be able to connect just fine.</p>
<p>Thanks to horrie66 from the <a href="http://forums.whirlpool.net.au/forum-replies-archive.cfm/1270696.html">Whirlpool user forums</a> for the info!</p>
<img src="http://feeds.feedburner.com/~r/bloganstalt/~4/oVWrKAlWGJI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.programmanstalt.de/articles/how-to-fix-your-3g-umts-usb-stick-in-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		<feedburner:origLink>http://blog.programmanstalt.de/articles/how-to-fix-your-3g-umts-usb-stick-in-snow-leopard/</feedburner:origLink></item>
		<item>
		<title>flotsam &amp; jetsam: listing .gitignore files in the Textmate project drawer</title>
		<link>http://feedproxy.google.com/~r/bloganstalt/~3/XgyLWqsEsEc/</link>
		<comments>http://blog.programmanstalt.de/articles/flotsam-jetsam-listing-gitignore-files-in-the-textmate-project-drawer/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 15:11:59 +0000</pubDate>
		<dc:creator>Jan</dc:creator>
				<category><![CDATA[flotsam & jetsam]]></category>
		<category><![CDATA[Textmate]]></category>

		<guid isPermaLink="false">http://programmanstalt.wordpress.com/?p=29</guid>
		<description><![CDATA[whatisnext: Or, you could modify the Textmate File Pattern. Its not as tricky as it seems, in Textmate, goto Preferences -&#62; Advanced. Then change the beginning of the File Pattern from: (?!htaccess) To: (?!(htaccess&#124;git*))]]></description>
			<content:encoded><![CDATA[<p><a href="http://journal.whatisnext.co.uk/post/34522729/textmate-tip-showing-hidden-files-in-the-project">whatisnext</a>:</p>
<blockquote><p>
Or, you could modify the Textmate File Pattern. Its not as tricky as it seems, in Textmate, goto Preferences -&gt; Advanced. Then change the beginning of the File Pattern from:</p>
<pre>(?!htaccess)</pre>
<p>To:</p>
<pre>(?!(htaccess|git*))</pre>
</blockquote>
<img src="http://feeds.feedburner.com/~r/bloganstalt/~4/XgyLWqsEsEc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.programmanstalt.de/articles/flotsam-jetsam-listing-gitignore-files-in-the-textmate-project-drawer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.programmanstalt.de/articles/flotsam-jetsam-listing-gitignore-files-in-the-textmate-project-drawer/</feedburner:origLink></item>
		<item>
		<title>How to change the output directory of metric_fu</title>
		<link>http://feedproxy.google.com/~r/bloganstalt/~3/oXQygr4hkrI/</link>
		<comments>http://blog.programmanstalt.de/articles/how-to-change-the-output-directory-of-metric_fu/#comments</comments>
		<pubDate>Sat, 15 Aug 2009 21:12:50 +0000</pubDate>
		<dc:creator>Jan</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[metric_fu]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://programmanstalt.wordpress.com/?p=18</guid>
		<description><![CDATA[I would like to treat the great reports generated by <a href="http://metric-fu.rubyforge.org/">metric_fu</a> as documentation and keep them in my repository. So how do we convince metric_fu to save its output in doc/ instead of tmp/ ?]]></description>
			<content:encoded><![CDATA[<p>I would like to treat the great reports generated by <a href="http://metric-fu.rubyforge.org/">metric_fu</a> as documentation and keep them in my repository. So how do we convince it to save its output in doc/ instead of tmp/ ?</p>
<p>Stew Welbourne has <a href="http://thestewscope.wordpress.com/2009/07/09/ruby-code-quality-and-metric_fu/">the answer</a>:</p>
<pre class="brush: ruby; title: ; notranslate">
MetricFu::Configuration.run do |config|
  config.base_directory     = 'doc/metrics'
  config.scratch_directory  = File.join(config.base_directory, 'scratch')
  config.output_directory   = File.join(config.base_directory, 'output')
  config.data_directory     = File.join(config.base_directory, '_data')

  config.saikuro  = { <img src='http://blog.programmanstalt.de/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> utput_directory =&gt; File.join(config.scratch_directory, 'saikuro'),

  # the rest of your configuration goes here
end
</pre>
<p>Just make sure that your new target directory is two folders deep, as the original tmp/metric_fu is, or you may get in trouble with the graphing part of metric_fu. Voilà!</p>
<img src="http://feeds.feedburner.com/~r/bloganstalt/~4/oXQygr4hkrI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.programmanstalt.de/articles/how-to-change-the-output-directory-of-metric_fu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.programmanstalt.de/articles/how-to-change-the-output-directory-of-metric_fu/</feedburner:origLink></item>
	</channel>
</rss>

