<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.3" -->
<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/"
	>

<channel>
	<title>Radio Bantik</title>
	<link>http://www.idolhands.com/blog</link>
	<description>Radio Bantik is an alpha-geek blog covering topics in Mac OS X, software and web development including Ruby on Rails, Java, Cocoa, and WebObjects, corporate survival, LEGO robotics, and other stuff important in the life of a technologist.</description>
	<pubDate>Tue, 08 Jul 2008 00:55:46 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
	<language>en</language>
			<item>
		<title>Rewriting Kafka</title>
		<link>http://www.idolhands.com/blog/2008/07/07/rewriting-kafka/</link>
		<comments>http://www.idolhands.com/blog/2008/07/07/rewriting-kafka/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 00:51:19 +0000</pubDate>
		<dc:creator>Corey</dc:creator>
		
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://www.idolhands.com/blog/2008/07/07/rewriting-kafka/</guid>
		<description><![CDATA[While cleaning up one of my old machines, I came across this little artifact.
My challenge was to re-write the opening paragraph of Franz Kafka&#8217;s The Metamorphosis as it may have been penned by other writers. So without further ado&#8230;


The Metamorphosis by H.P. Lovecraft
My name is Gregor Samsa, and if the world discovers this manuscript, then [...]]]></description>
			<content:encoded><![CDATA[<p>While cleaning up one of my old machines, I came across this little artifact.</p>
<p>My challenge was to re-write the opening paragraph of Franz Kafka&#8217;s <a href="http://en.wikipedia.org/wiki/The_Metamorphosis">The Metamorphosis</a> as it may have been penned by other writers. So without further ado&#8230;</p>
<hr size="1">
<blockquote>
<p><b>The Metamorphosis</b> by H.P. Lovecraft</p>
<p>My name is Gregor Samsa, and if the world discovers this manuscript, then perhaps it can save others from the fate that even now confounds my reason and leaves me gibbering at the edge of sanity. One morning not long ago I awoke from troubled dreams filled with the otherworldly ululations of strange voices and the insistent piping of flutes from the swirling chaos at the very center of the universe, and found myself in my bed, horribly changed&#8211; dare I say it?&#8211; into an unspeakable, sanity-blasting form. I lay on what seemed to be an armour-like back, and as I lifted my head a little I could just see the brown, non-Euclidean curve of my brown belly, slightly domed and divided by arches into stiff sections.  The bedding was hardly able to cover it and seemed ready to slide off any moment.  My multitudinous legs, pitifully gaunt compared with the unnaturally bloated shape of the rest of my new and terrible form, waved about helplessly as I looked on in abject horror.</p>
</blockquote>
<hr size="1">
<blockquote>
<p><b>The Metamorphosis</b> by Ernest Hemingway</p>
<p>It was morning. Gregor Samsa awoke. He had been transformed in his bed into a cockroach. He lay on his back. He could see his brown belly, domed and divided into stiff arches. The bedding barely covered it. His legs waved.</p>
</blockquote>
<hr size="1">
<blockquote>
<p><b>The Metamorphosis</b> by Walt Whitman</p>
<p>I sing the body carapacious;<br />
	The sprawl and fullness of its shell,<br />
	Stiff domed arches engirth my belly, and I engirth them;<br />
	They will not let me off my back until I embrace them, accept them,<br />
	And discorrupt them, and charge them full with the charge of the Soul.</p>
<p>The expression of the face defies description;<br />
	But the expression of a man made a bug appears not only in his antennae;<br />
	It is in his many legs also, it is in the joints of his carapace,<br />
	It is in his crawl, the carriage of his thorax, the flex of his abdomen&#8211;<br />
	The bedsheets do not cover it;<br />
	The strong, thin legs he has strike through the bedding;<br />
	To see him conveys as much as seeing a cockroach, maybe more;<br />
	You linger to see him on his back, waving his legs at you.</p>
<p>O my Body! I dare not desert the likes of you in other men and women, nor the likes of parts of you;<br />
	Head, neck, hair, ears, eyes, mouth, tongue, lips, teeth, nose, cheeks, forehead, chin;<br />
	And not head, thorax, abdomen, carapace, mandibles, antennae, compound eyes!</p>
</blockquote>
<hr size="1">
<blockquote>
<p><b>The Metamorphosis</b> by E. Allen Poe</p>
<p>Mr. S___ was in one of his fits &#8212; how else shall I term them? &#8212; of enthusiasm. His brother Gregor had in his sleep transformed into an unknown bivalve, and, more than this, he had been hunted down and secured; he was now clearly visible as a scarabaeus which was believed to be totally new, but in respect to which S___ wished to have my opinion on the morrow.</p>
<p>&#8220;And why not to-night?&#8221; I asked, rubbing my hands over the blaze, and wishing the whole tribe of scarabaei at the devil.</p>
<p>&#8220;Ah, if I had only known you were here!&#8221; said S___, &#8220;but it&#8217;s so long since I saw you; and how could I foresee that you would pay me a visit this very night of all others? As I was coming home I met Lieutenant Gentarme from the fort, and, very  foolishly, I lent him the bug&#8211; that is to say, my brother; so it will be impossible for you to see him until the morning. Stay here to-night, and I will send down for him at sunrise. He is become the loveliest thing in creation!&#8221;</p>
</blockquote>
<hr size="1">
<blockquote>
<p><b>The Metamorphosis</b> by Kahlil Gibran</p>
<p>And a man said, &#8220;Speak to us of metamorphosis.&#8221;</p>
<p>And he answered saying:</p>
<p>You would know what it is like to awaken, transformed, from a troubled dream.</p>
<p>You would gaze with compound eyes on the naked curve of your brown belly.</p>
<p>You would touch with your antennae the slight bedding that barely hides your form.</p>
<p>You would kick with your many legs and free yourself from the prone position you find yourself in.</p>
<p>But let there be no helpless waving and fearful scurrying from the light.</p>
<p>For like the soul, the insect is a creature boundless and beautiful.</p>
<p>Say not, &#8220;I have metamorphosized into a bug,&#8221; but rather, &#8220;The bug has metamorphosized into me.&#8221;</p>
<p>For the soul walks upon all paths, whether on two legs or six.</p>
</blockquote>
<hr size="1">
<p>I don&#8217;t remember what initially inspired this, but I&#8217;m pretty sure that a combination of alcohol and IRC were involved.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.idolhands.com/blog/2008/07/07/rewriting-kafka/feed/</wfw:commentRss>
		</item>
		<item>
		<title>No Degree Required</title>
		<link>http://www.idolhands.com/blog/2008/07/05/no-degree-required/</link>
		<comments>http://www.idolhands.com/blog/2008/07/05/no-degree-required/#comments</comments>
		<pubDate>Sun, 06 Jul 2008 02:09:36 +0000</pubDate>
		<dc:creator>Corey</dc:creator>
		
		<category><![CDATA[GenTech]]></category>

		<category><![CDATA[Office Adventures]]></category>

		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://www.idolhands.com/blog/2008/07/05/no-degree-required/</guid>
		<description><![CDATA[Last week  I responded to a general media posted online request looking for people who &#8220;made it&#8221; via self study:

I am looking for professionals who developed their particular expertise by intense focus, discipline and self study. You didn&#8217;t necessarily learn what you know and what you&#8217;ve become good at (and known for) at college [...]]]></description>
			<content:encoded><![CDATA[<p>Last week  I responded to a general media posted online request looking for people who &#8220;made it&#8221; via self study:</p>
<blockquote>
<p>I am looking for professionals who developed their particular expertise by intense focus, discipline and self study. You didn&#8217;t necessarily learn what you know and what you&#8217;ve become good at (and known for) at college (although you could have learned the basics there.) You may not even have a degree.  Whatever it is you&#8217;ve accomplished, you did it &#8220;your way&#8221;&#8211;and it has worked. If this fits you or someone you know, please send me a BRIEF description of:</p>
<ul>
<li>what you do</li>
<li>how and why you fit my description here&#8211;please be specific</li>
<li>your name, city, company and if I can use your full name, city &#038; company</li>
</ul>
<p>I&#8217;ll follow up with questions via e-mail later today.</p>
</blockquote>
<p>I promptly wrote up a bio and sent it off:</p>
<blockquote>
<p>I think that I&#8217;m a great fit for your column regarding professionals who developed their expertise by self-study as opposed to traditional learning. Here&#8217;s a brief summary of my story so far.</p>
<p>I was a brilliant student through high school, graduating third in my class (with only a .5 point spread between the top three graduates). I attempted college but fell short in terms of finances and maturity&#8211; I was 17 and really not emotionally ready. I ended up dropping out and pursuing my technology interests on my own time. </p>
<p>I had been programming computers since I was 7 years old, and continued working on technology projects that interested me into the early 90s. I got online in 1993 and immediately found the ideal new venue for my efforts. I built my first web site shortly thereafter, and by the time the rest of the world discovered the Internet&#8211; and particularly the web&#8211; I had quite a head start. </p>
<p>I did freelancing for a while before taking my first corporate job working in web development in 1995. Over the next 13 years I worked directly for companies like National Instruments, Houghton Mifflin, and Leo Burnett, while always keeping my skills honed by exploring new technologies and pursuing side projects. In my career I&#8217;ve had the chance to work with clients and partners like JPL (Jet Propulsion Laboratories), NASA, Starbucks, Wieden+Kennedy, Morgan Stanley, Apple, Adobe, Thomson Learning, and the US Army.</p>
<p>Although I&#8217;ve had trouble getting past HR screenings with a lack of a degree, once I am in place in a company I&#8217;ve always excelled&#8211; rapidly rising to positions of management and leadership, from director-level to C-level executive.</p>
<p>In December of last year I struck out on my own again and co-founded a web development business called Hapax Labs, and we&#8217;re now in the process of being acquired by Mir Internet Marketing. I&#8217;ll be joining the Mir team as a part-owner and Chief Solutions Architect.</p>
<p>I like to think that I&#8217;m following in the footsteps of other passionate technologists who made their name without a degree hanging on their wall&#8211; Steve Jobs, Steve Wozniak, and Bill Gates, just to name a few.</p>
<p>You can find details of my career on my resume at http://www.idolhands.com/resume, or by checking out my LinkedIn profile at http://www.linkedin.com/in/coreyehmke</p>
</blockquote>
<p>Although I never heard back from the journalist, my story must have been what she was looking for. Look what turned up yesterday: <a href="http://www.clarionledger.com/apps/pbcs.dll/article?AID=/20080704/COL01/807040339/1005/biz" target="_new">While degree still preferred, it&#8217;s certainly no requirement</a></p>
<p>I&#8217;m in the second paragraph under &#8220;Seizing Your Opportunity&#8221;. (I&#8217;m pretty sure that my comments about Steve Jobs and Bill Gates were helpful in writing her article, as well.)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.idolhands.com/blog/2008/07/05/no-degree-required/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Kehr Wieder</title>
		<link>http://www.idolhands.com/blog/2008/07/05/kehr-wieder/</link>
		<comments>http://www.idolhands.com/blog/2008/07/05/kehr-wieder/#comments</comments>
		<pubDate>Sat, 05 Jul 2008 17:24:48 +0000</pubDate>
		<dc:creator>Corey</dc:creator>
		
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://www.idolhands.com/blog/2008/07/05/kehr-wieder/</guid>
		<description><![CDATA[It&#8217;s taken almost a year of on-again, off-again effort, but my book is finally ready for the world! For those of you who do not know, last year I took my grandmother to Poland to visit her childhood home. She had not been back since World War II. I kept a journal and took nearly [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s taken almost a year of on-again, off-again effort, but my book is finally ready for the world! For those of you who do not know, last year I took my grandmother to Poland to visit her childhood home. She had not been back since World War II. I kept a journal and took nearly 600 pictures during our emotional, 10-day trip. This afternoon I finally completed turning them into a book. It&#8217;s called <i>Kehr Wieder</i>, which is German for &#8220;return&#8221;.</p>
<p>From the introduction:</p>
<p><img src="/grafx/blog/kehr_wieder_cover.jpg" width="245" height="294" style="float: right; margin: 0px 5px 0px 5px;"></p>
<blockquote>
<p>When I was growing up, I spent hours listening to stories that my grandmother told about her childhood in Danzig, Poland. Her early years were idyllic and full of adventure, a stark contrast to the horror that World War II would bring to her corner of the world.</p>
<p>Like so many others in Europe, the war changed everything for her family. Almost overnight, their hardworking but happy lifestyle changed into a daily struggle for survival as the nations of the world fought at their very doorstep. </p>
<p>By the time the war was over, her remaining family had been scattered across the continent and had lost practically everything. Ever the fighter, my grandmother pulled herself  out of the ruins of her stolen childhood and started a new life and a new family in America.</p>
<p>But although she made a good life for herself here, she has always been haunted by the memories of her home.</p>
<p>In celebration of her 85th birthday, and in thanks for everything that she has done for me, I took my grandmother back to Germany and Poland in 2007 to see the place that she came from one more time. </p>
<p>This is the story of our journey home.</p>
</blockquote>
<p>You can <a href="http://www.blurb.com/books/288017" title="Book Preview" target="_new">preview the book online</a> and even <a href="http://www.blurb.com/bookstore/detail/288017/?utm_source=badge&#038;utm_medium=banner&#038;utm_content=140x240" target="_new">buy a copy</a> if you&#8217;re so inclined. Thanks to <a href="http://www.blurb.com/" target="_new">Blurb.com</a> for their free bookmaking software, bookstore, and on-demand press.</p>
</p>
<p><br style="clear: both;"></p>
]]></content:encoded>
			<wfw:commentRss>http://www.idolhands.com/blog/2008/07/05/kehr-wieder/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The 48 Hour Application Challenge</title>
		<link>http://www.idolhands.com/blog/2008/05/20/the-48-hour-application-challenge/</link>
		<comments>http://www.idolhands.com/blog/2008/05/20/the-48-hour-application-challenge/#comments</comments>
		<pubDate>Tue, 20 May 2008 22:08:29 +0000</pubDate>
		<dc:creator>Corey</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[GenTech]]></category>

		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://www.idolhands.com/blog/2008/05/20/the-48-hour-application-challenge/</guid>
		<description><![CDATA[I was inspired this week by a post on the Rails Google Group by Melvin at 48hourlaunch.wordpress.com, who was asking for suggestions on a software problem to tackle with 48 hours of effort.

I&#8217;ve got what I call a &#8220;magic notebook&#8221;&#8211; several, to be precise&#8211; full of app ideas in various stages of ideation. So I [...]]]></description>
			<content:encoded><![CDATA[<p>I was inspired this week by a post on the <a href="http://groups.google.com/group/rubyonrails-talk/" target="_new">Rails Google Group</a> by <a href="http://48hrlaunch.wordpress.com/" target="_new">Melvin at 48hourlaunch.wordpress.com</a>, who was asking for suggestions on a software problem to tackle with 48 hours of effort.</p>
<p><img src="/grafx/blog/magic_notebook.jpg" height="300" width="225" alt="My magic notebook..." style="float: left; margin-right: 12px;" /></p>
<p>I&#8217;ve got what I call a &#8220;magic notebook&#8221;&#8211; several, to be precise&#8211; full of app ideas in various stages of ideation. So I decided to take on this challenge as well and see what I can do with one of them.</p>
<p>Like Mel, I&#8217;m taking on a project that meets one of my immediate needs and is well within my area of expertise. So I&#8217;ll be creating something that is useful to me and also has a broader market appeal.</p>
<p>One of my defining characteristics is the inability to do things halfway; unfortunately, this can sometimes manifest as &#8220;analysis paralysis&#8221;, overengineering, etc. Although Rails inherently short-circuits a lot of these tendencies (as does my business partner, for that matter!) the strict time limit I&#8217;m putting on myself makes this something of a competition between completion and perfection. At worst, I will move one of my unrealized applications one step closer to market, and hopefully learn something about my internal process along the way.</p>
<p>So what&#8217;s the big project going to be? Can&#8217;t talk about that yet, but if all goes according to plan there should be something public in within the next 30 days (48 hours / 2 hours per day = 24 days). I&#8217;ll also be posting notes about my progress as I go.</p>
<p><br style="clear: both;"></p>
]]></content:encoded>
			<wfw:commentRss>http://www.idolhands.com/blog/2008/05/20/the-48-hour-application-challenge/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Warning: Science in Progress</title>
		<link>http://www.idolhands.com/blog/2008/05/20/warning-science-in-progress/</link>
		<comments>http://www.idolhands.com/blog/2008/05/20/warning-science-in-progress/#comments</comments>
		<pubDate>Tue, 20 May 2008 15:42:35 +0000</pubDate>
		<dc:creator>Corey</dc:creator>
		
		<category><![CDATA[GenTech]]></category>

		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://www.idolhands.com/blog/2008/05/20/warning-science-in-progress/</guid>
		<description><![CDATA[
If you know me in the nondigital world, you also know that my family homeschools my daughter.  I didn&#8217;t know much about homeschooling or the homeschooling community before we started this adventure a few years ago; my exposure had been limited to one cool-but-eccentric family where I grew up and an uber-religious boss in [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.whataboutsocialization.com/2008/04/17/warning-science-in-progress-episode-1-arduino-blinks-into-existence/" target="_new" title='was_science.jpg'><img src='http://www.idolhands.com/blog/wp-content/uploads/2008/05/was_science.jpg' alt='Warning: Science in Progress!' style="float: right; margin-left: 25px;"/></a></p>
<p>If you know me in the nondigital world, you also know that my family homeschools my daughter.  I didn&#8217;t know much about homeschooling or the homeschooling community before we started this adventure a few years ago; my exposure had been limited to one cool-but-eccentric family where I grew up and an uber-religious boss in the 90&#8217;s. Homeschooling has been great for us, however, and my 11-year-old daughter is learning more history, geography, literature, and Latin than I ever did, even in high school.</p>
<p>One of the great things about my working from home (since leaving my corporate job back in December) is that not only do I get to spend more time with my family in general, but I&#8217;m also able to take on some responsibility for Lydia&#8217;s science education. For a few months now we&#8217;ve been learning the basics of electronics. Over at our homeschooling blog, <a href="http://www.whataboutsocialization.com" target="_new">www.WhatAboutSocialization.com</a>, you can find the first of our video podcasts, entitled &#8220;Warning: Science in Progress!&#8221;</p>
<p>The <a href="http://www.whataboutsocialization.com/2008/04/17/warning-science-in-progress-episode-1-arduino-blinks-into-existence/" target="_new">first episode</a> shows our first Arduino project. I&#8217;m working on the second and third installments now.</p>
<p><br style="clear: both;"></p>
]]></content:encoded>
			<wfw:commentRss>http://www.idolhands.com/blog/2008/05/20/warning-science-in-progress/feed/</wfw:commentRss>
		</item>
		<item>
		<title>File_column bug with case sensitivity</title>
		<link>http://www.idolhands.com/blog/2008/03/04/file_column-bug-with-case-sensitivity/</link>
		<comments>http://www.idolhands.com/blog/2008/03/04/file_column-bug-with-case-sensitivity/#comments</comments>
		<pubDate>Tue, 04 Mar 2008 21:59:53 +0000</pubDate>
		<dc:creator>Corey</dc:creator>
		
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://www.idolhands.com/blog/2008/03/04/file_column-bug-with-case-sensitivity/</guid>
		<description><![CDATA[After banging my head against a wall wondering why certain image uploads would silently fail, while others succeeded, I stumbled across a file_column bug (and yes, I reported it).
If you have the following in your model:
validates_file_format_of :image, :in => ["bmp", "gif", "jpg", "pdf", "png"]
And you upload a file with one of these extensions in a [...]]]></description>
			<content:encoded><![CDATA[<p>After banging my head against a wall wondering why certain image uploads would silently fail, while others succeeded, I stumbled across a file_column bug (and yes, I <a href="http://code.google.com/p/filecolumn/" target="_new">reported it</a>).</p>
<p>If you have the following in your model:</p>
<p><code>validates_file_format_of :image, :in => ["bmp", "gif", "jpg", "pdf", "png"]</code></p>
<p>And you upload a file with one of these extensions in a different case, for example &#8220;SAMPLE.JPG&#8221;, the file format validation fails.</p>
<p>Workaround (non-DRY): add case variations, like this:</p>
<p><code>validates_file_format_of :image, :in => ["bmp", "gif", "jpg", "pdf", "png", "BMP", "GIF", "JPG", "PDF", "PNG"]</code></p>
<p>Grr.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.idolhands.com/blog/2008/03/04/file_column-bug-with-case-sensitivity/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Simple, Cross-Platform PNG Transparency Support</title>
		<link>http://www.idolhands.com/blog/2008/02/27/simple-cross-platform-png-transparency-support/</link>
		<comments>http://www.idolhands.com/blog/2008/02/27/simple-cross-platform-png-transparency-support/#comments</comments>
		<pubDate>Wed, 27 Feb 2008 23:55:50 +0000</pubDate>
		<dc:creator>Corey</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://www.idolhands.com/blog/?p=34</guid>
		<description><![CDATA[One of Internet Explorer’s famous shortcomings is its lack of native support for transparency in PNG images—one of the very characteristic that makes PNGs so appealing to begin with. Here’s how to incorporate transparent PNGs into your site in a way that all browsers will handle, using only Cascading Style Sheets (CSS).
1) The Approach
We’re going [...]]]></description>
			<content:encoded><![CDATA[<p>One of Internet Explorer’s famous shortcomings is its lack of native support for transparency in PNG images—one of the very characteristic that makes PNGs so appealing to begin with. Here’s how to incorporate transparent PNGs into your site in a way that all browsers will handle, using only Cascading Style Sheets (CSS).</p>
<p><b>1) The Approach</b><br />
We’re going to put each image into the document twice: once in a way that Internet Explorer will understand, and once in a way that standards-compliant browsers can understand. In both cases, we’re going to use an appropriately classed &lt;div&gt; element:</p>
<blockquote><p>
	<code><br />
		&lt;div class="png_standard&lt;img src="my_graphic.png" width="150" height="294"&gt;&lt;/div&gt;</p>
<p>		&lt;div class=&#8221;png_ie&#8221; style=&#8221;width=150; height=294; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=&#8217;my_graphic.png&#8217;, sizingMethod=&#8217;scale&#8217;);&#8221;&gt;&lt;/div&gt;</p>
<p>	</code>
</p></blockquote>
<p>This results in one image and an empty &lt;div&gt; showing up for Firefox and Safari, and two images (the first without transparency) showing up in IE. Note that you must specify the height and width of the image in the style tag of the png_ie &lt;div&gt;!</p>
<p><b>2) The Following Line is True. The Preceding Line is False.</b><br />
Now we’re going to use CSS selectors to only show the &lt;div&gt; that’s appropriate for the browser. It’s crucial that these CSS rules are included in your style sheet in the order presented!</p>
<p>We’re going to take advantage of a non-standard CSS selector that only IE recognizes: * html.</p>
<blockquote><p>
	<code><br />
		div.png_standard {display: block;}<br />
		div.png-ie {display: none;}<br />
		* html div.png_standard {display: none;}<br />
		* html div.png_ie {display: block;}<br />
	 </code>
</p></blockquote>
<p>Read from top to bottom, these rules state:</p>
<ul>
<li>Display any &lt;div&gt; with class=”png_standard” in the normal way.</li>
<li>Do not display any &lt;div&gt; with class=”png_ie”</li>
<li>If you are IE and can read this, hide any &lt;div&gt; with class=”png_standard”</li>
<li>If you are IE and can read this, show any &lt;div&gt; with class=”png_ie”</li>
</ul>
<p><b>3) The Last Step</b><br />
Actually, there is no last step That’s it! For standards-compliant browsers, the &lt;div&gt; containing the transparent PNG is displayed normally, and the &lt;div&gt; containing the ugly IE code is hidden away. For IE, the &lt;div&gt; that it does not understand remains hidden, and it renders the &lt;div&gt; that forces it to recognize PNG transparency.</p>
<p>Transparent PNG in Internet Explorer for Windows:</p>
<div style="width: 100%; text-align: center;"> <img src="/grafx/blog/png_in_ie.png" alt="" width="600" height="463" hspace="0" vspace="0" border="0" /></div>
<p>And in Safari for Mac OS X:</p>
<div style="width: 100%; text-align: center;"><img src="/grafx/blog/png_in_safari.png" alt="" width="600" height="446" hspace="0" vspace="0" border="0" /></div>
<p><b>4) Sample Code</b><br />
Assuming that you have a PNG named my_image.png, the following page will render appropriately in all browsers:</p>
<blockquote><p>
	<code><br />
	&lt;html&gt;<br />
	&lt;head&gt;<br />
	&lt;style type="text/css"&gt;<br />
		div.png_standard {display: block;}<br />
		div.png-ie {display: none;}<br />
		* html div.png_standard {display: none;}<br />
		* html div.png_ie {display: block;}<br />
		body { background-color: #bdbdce; }<br />
	&lt;/style&gt;<br />
	&lt;/head&gt;<br />
	&lt;body&gt;</p>
<p>	&lt;div class="png_standard"&gt;&lt;img src="my_graphic.png" width="150" height="294"&gt;&lt;/div&gt;</p>
<p>	&lt;div class="png_ie" style="width=150; height=294; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(<br />
		src='my_graphic.png', sizingMethod='scale');"&gt;&lt;/div&gt;</p>
<p>	&lt;/body&gt;<br />
	&lt;/html&gt;<br />
	</code>
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.idolhands.com/blog/2008/02/27/simple-cross-platform-png-transparency-support/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Cute&#8230;</title>
		<link>http://www.idolhands.com/blog/2008/02/25/cute/</link>
		<comments>http://www.idolhands.com/blog/2008/02/25/cute/#comments</comments>
		<pubDate>Mon, 25 Feb 2008 20:38:23 +0000</pubDate>
		<dc:creator>Corey</dc:creator>
		
		<category><![CDATA[GenTech]]></category>

		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://www.idolhands.com/blog/?p=33</guid>
		<description><![CDATA[I&#8217;ve got Tip of the Day enabled in TextMate. Check out this gem from today&#8230;

-25 points if you don&#8217;t get the reference.
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve got Tip of the Day enabled in TextMate. Check out this gem from today&#8230;</p>
<div style="width: 100%; text-align:center;"><img src="/grafx/blog/towel.png"></div>
<p>-25 points if you don&#8217;t get the reference.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.idolhands.com/blog/2008/02/25/cute/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Captcha Gotcha</title>
		<link>http://www.idolhands.com/blog/2008/02/23/captcha-gotcha/</link>
		<comments>http://www.idolhands.com/blog/2008/02/23/captcha-gotcha/#comments</comments>
		<pubDate>Sun, 24 Feb 2008 01:45:33 +0000</pubDate>
		<dc:creator>Corey</dc:creator>
		
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://www.idolhands.com/blog/?p=32</guid>
		<description><![CDATA[While implementing Sur Max&#8217;s excellent Simple Captcha plugin, I ran into a very frustrating issue. No matter what was entered, the valid_with_captcha? method always returned false.
After some digging I finally realized that there was a conflict with restful_authentication. The resolution is simple, luckily. You just need to add the following to your user controller:
attr_accessible :captcha, [...]]]></description>
			<content:encoded><![CDATA[<p>While implementing Sur Max&#8217;s excellent <a href="http://expressica.com/simple_captcha" target="_new">Simple Captcha</a> plugin, I ran into a very frustrating issue. No matter what was entered, the valid_with_captcha? method always returned false.</p>
<p>After some digging I finally realized that there was a conflict with restful_authentication. The resolution is simple, luckily. You just need to add the following to your user controller:</p>
<p><code>attr_accessible :captcha, :captcha_key</code></p>
<p>That did it for me! Hopefully this will help someone else as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.idolhands.com/blog/2008/02/23/captcha-gotcha/feed/</wfw:commentRss>
		</item>
		<item>
		<title>My New Favorite Rails Plug-In&#8230;</title>
		<link>http://www.idolhands.com/blog/2008/02/07/my-new-favorite-rails-plug-in/</link>
		<comments>http://www.idolhands.com/blog/2008/02/07/my-new-favorite-rails-plug-in/#comments</comments>
		<pubDate>Thu, 07 Feb 2008 18:45:16 +0000</pubDate>
		<dc:creator>Corey</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[Office Adventures]]></category>

		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://s35819.gridserver.com/blog/?p=29</guid>
		<description><![CDATA[From the description for Acts As Enterprisey:

Rails make life easy for us but&#8211; and it’s a big but&#8211; we don’t want it to look easy. acts_as_enterprisey is your friend. How does acts_as_enterprisey make webapp development look hard? Well, the only way your client can judge your app is by playing around with it. What better [...]]]></description>
			<content:encoded><![CDATA[<p>From the description for <a href="http://agilewebdevelopment.com/plugins/acts_as_enterprisey" target="_new">Acts As Enterprisey</a>:</p>
<blockquote>
<p>Rails make life easy for us but&#8211; and it’s a big but&#8211; we don’t want it to look easy. acts_as_enterprisey is your friend. How does acts_as_enterprisey make webapp development look hard? Well, the only way your client can judge your app is by playing around with it. What better gives the feeling of heavy weights being lifted behind the scenes than slow response times? Exactly. That’s what acts_as_enterprisey does.</p>
<p>Simply insert acts_as_enterprisey in your ActiveRecord model [and set the delay to whatever value you want.] So while your client clicks, …waits…, and then gets the page, you can blather on heroically about wrestling with clustered indexes, cache expiration strategies, n log n seek times, etc ad nauseam.</p>
<p>Clients pay you to solve their technical problems. They want to feel like they’re getting their money’s worth. Especially after you start submitting enterprisey invoices.<br />
So make their wishes come true: it’s only fair. Ethical, even. Crank the delay up as the deadline approaches, make them sweat, display fortitude and perseverance, etc. And when they can’t take it (the app’s sluggishness, your bills, whatever) any more, [remove] acts_as_enterprisey from your models and book the flights to Vegas.</p>
</blockquote>
<p>This is akin to the infamous &#8220;make_it_go_faster&#8221; flag. Yay.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.idolhands.com/blog/2008/02/07/my-new-favorite-rails-plug-in/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
