<?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>MorganizeIT</title>
	<atom:link href="http://morganizeit.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://morganizeit.com</link>
	<description>Hack, bash, test, repeat.</description>
	<lastBuildDate>Sat, 09 Jul 2011 17:15:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>Chicken Fortress</title>
		<link>http://morganizeit.com/2011/07/chicken-fortress/</link>
		<comments>http://morganizeit.com/2011/07/chicken-fortress/#comments</comments>
		<pubDate>Tue, 05 Jul 2011 13:08:20 +0000</pubDate>
		<dc:creator>Morgan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[chickens]]></category>
		<category><![CDATA[urban farming]]></category>

		<guid isPermaLink="false">http://morganizeit.com/?p=31</guid>
		<description><![CDATA[Finally the Chicken Fortress is complete! The girls slept in their coop for the first time the night before last, up until then we put &#8216;em in a bin and brought them in. I&#8217;ve delayed putting up any pics until it was in fully operational.]]></description>
			<content:encoded><![CDATA[<p>Finally the Chicken Fortress is complete!  The girls slept in their coop for the first time the night before last, up until then we put &#8216;em in a bin and brought them in.  I&#8217;ve delayed putting up any pics until it was in fully operational.</p>
<div class=flickr-img /><a href="http://www.flickr.com/photos/morganizeit/5902203180/" title="Chicken Fortress" rel="" class="flickr-image"><img src="http://farm6.static.flickr.com/5275/5902203180_59863429bd_z.jpg" alt="Chicken Fortress" class="" title="Swanky and racoon proof (I hope?)." longdesc="" /></a><h3>Chicken Fortress</h3><p>Swanky and racoon proof (I hope?).</p></div>
<div class=flickr-img /><a href="http://www.flickr.com/photos/morganizeit/5902204566/" title="Nesting Boxes" rel="" class="flickr-image"><img src="http://farm7.static.flickr.com/6056/5902204566_6c63e6b6af_z.jpg" alt="Nesting Boxes" class="" title="This lower area is storage for feed and things.  The whole unit can be lifted out the back for cleaning or whatnot though it is pretty heavy so I won't be doing that a lot." longdesc="" /></a><h3>Nesting Boxes</h3><p>This lower area is storage for feed and things.  The whole unit can be lifted out the back for cleaning or whatnot though it is pretty heavy so I won't be doing that a lot.</p></div>
<div class=flickr-img /><a href="http://www.flickr.com/photos/morganizeit/5901643059/" title="Anti-Dig" rel="" class="flickr-image"><img src="http://farm7.static.flickr.com/6007/5901643059_27088dc827_z.jpg" alt="Anti-Dig" class="" title="This was way easier than digging a trench or anything.  The idea is that racoons and other diggers will walk up to the wall and try to dig and they're not clever enough to back up a foot and start there.  It's staked down and later I'll cover with a little dirt or crushed granite." longdesc="" /></a><h3>Anti-Dig</h3><p>This was way easier than digging a trench or anything.  The idea is that racoons and other diggers will walk up to the wall and try to dig and they're not clever enough to back up a foot and start there.  It's staked down and later I'll cover with a little dirt or crushed granite.</p></div>
<div class=flickr-img /><a href="http://www.flickr.com/photos/morganizeit/5901643695/" title="Fancy Windows" rel="" class="flickr-image"><img src="http://farm6.static.flickr.com/5196/5901643695_6a57d9bcca_z.jpg" alt="Fancy Windows" class="" title="I was working at figuring out a sliding glass piece with a track or the like, very time consuming.  Lowes sells these windows for $30 so all I had to do was cut a hole and nail the trim around it.  Nice!" longdesc="" /></a><h3>Fancy Windows</h3><p>I was working at figuring out a sliding glass piece with a track or the like, very time consuming.  Lowes sells these windows for $30 so all I had to do was cut a hole and nail the trim around it.  Nice!</p></div>
<div class=flickr-img /><a href="http://www.flickr.com/photos/morganizeit/5901644407/" title="More Racoon Proofing" rel="" class="flickr-image"><img src="http://farm6.static.flickr.com/5275/5901644407_c3539252fb_z.jpg" alt="More Racoon Proofing" class="" title="The 1/2&amp;quot; hardware cloth goes up a couple feet because so many people told us that racoons will reach through the bigger wire and grab chicken nuggets.  Ick.  I'm pretty proud of the door that I made from scratch though it does bind up in the latches somewhat." longdesc="" /></a><h3>More Racoon Proofing</h3><p>The 1/2&amp;quot; hardware cloth goes up a couple feet because so many people told us that racoons will reach through the bigger wire and grab chicken nuggets.  Ick.  I'm pretty proud of the door that I made from scratch though it does bind up in the latches somewhat.</p></div>
<div class=flickr-img /><a href="http://www.flickr.com/photos/morganizeit/5902207156/" title="The Run" rel="" class="flickr-image"><img src="http://farm7.static.flickr.com/6052/5902207156_15aeb6124c_z.jpg" alt="The Run" class="" title="I covered over the whole top b/c Ian and others warned of hawks and climby things.  Seems like everything in the world loves the taste of chicken." longdesc="" /></a><h3>The Run</h3><p>I covered over the whole top b/c Ian and others warned of hawks and climby things.  Seems like everything in the world loves the taste of chicken.</p></div>
<div class=flickr-img /><a href="http://www.flickr.com/photos/morganizeit/5901646595/" title="The Girls" rel="" class="flickr-image"><img src="http://farm6.static.flickr.com/5116/5901646595_8181fb9b4b_z.jpg" alt="The Girls" class="" title="A good shot 'Nell took.  She rigged that little perch 'cause they don't fly up to the higher ones yet.  We just go this waterer at Callahans, they love it." longdesc="" /></a><h3>The Girls</h3><p>A good shot 'Nell took.  She rigged that little perch 'cause they don't fly up to the higher ones yet.  We just go this waterer at Callahans, they love it.</p></div>
<div class=flickr-img /><a href="http://www.flickr.com/photos/morganizeit/5901647207/" title="The Keep" rel="" class="flickr-image"><img src="http://farm7.static.flickr.com/6044/5901647207_abe493b8eb_z.jpg" alt="The Keep" class="" title="Inside the fortress is the keep... err, I mean, the coop.  if some bastardy racoon gets in the run they'll have a tougher time breaking in here." longdesc="" /></a><h3>The Keep</h3><p>Inside the fortress is the keep... err, I mean, the coop.  if some bastardy racoon gets in the run they'll have a tougher time breaking in here.</p></div>
<div class=flickr-img /><a href="http://www.flickr.com/photos/morganizeit/5902210240/" title="Front Access" rel="" class="flickr-image"><img src="http://farm6.static.flickr.com/5196/5902210240_797d6b1602_z.jpg" alt="Front Access" class="" title="Opens up completely on this side too so it's easy to get in and clean.  The straw makes it looks real homey.  I'm hoping the girls figure out how to get up there... if not I may need to put another ramp inside." longdesc="" /></a><h3>Front Access</h3><p>Opens up completely on this side too so it's easy to get in and clean.  The straw makes it looks real homey.  I'm hoping the girls figure out how to get up there... if not I may need to put another ramp inside.</p></div>
<div class=flickr-img /><a href="http://www.flickr.com/photos/morganizeit/5901648755/" title="Inside" rel="" class="flickr-image"><img src="http://farm6.static.flickr.com/5078/5901648755_e3aaa25289_z.jpg" alt="Inside" class="" title="More hardware cloth... my paranoia is workin' overtime.  :)  I'm not sure a racoon could climb the wall and get through that window but I'm not taking any chances.

The nest boxes have narrowed openings, I've read that they like that.  The boxes themselves are pretty short because you don't want them standing up and pooping and scratching around their eggs." longdesc="" /></a><h3>Inside</h3><p>More hardware cloth... my paranoia is workin' overtime.  :)  I'm not sure a racoon could climb the wall and get through that window but I'm not taking any chances.

The nest boxes have narrowed openings, I've read that they like that.  The boxes themselves are pretty short because you don't want them standing up and pooping and scratching around their eggs.</p></div>
]]></content:encoded>
			<wfw:commentRss>http://morganizeit.com/2011/07/chicken-fortress/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PNG Transparency In Explorer Without Hacks</title>
		<link>http://morganizeit.com/2008/07/png-transparency-in-explorer-without-hacks/</link>
		<comments>http://morganizeit.com/2008/07/png-transparency-in-explorer-without-hacks/#comments</comments>
		<pubDate>Mon, 21 Jul 2008 03:38:46 +0000</pubDate>
		<dc:creator>Morgan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA["Internet Explorer"]]></category>
		<category><![CDATA[png]]></category>
		<category><![CDATA[transparency]]></category>

		<guid isPermaLink="false">http://morganizeit.com/?p=11</guid>
		<description><![CDATA[png8alpha is a droplet app that converts 24bit pngs to 8bit pngs with transparency intact.  These images render normally in modern browsers and IE6 treats them like gifs.  Graceful degradation for pngs! UPDATE: The latest build is png8alpha-02 (notes) Usage Drag and drop a 24bit PNG image onto the application and it will be reduced [...]]]></description>
			<content:encoded><![CDATA[<p><strong>png8alpha</strong> is a droplet app that converts 24bit pngs to 8bit pngs with transparency intact.  These images render normally in modern browsers and IE6 treats them like gifs.  Graceful degradation for pngs!</p>
<p><strong><em>UPDATE:</em></strong> The latest build is <a href="https://morganizeit.com/wp-content/uploads/2008/08/png8alpha-02.zip">png8alpha-02</a> (<a href="#releaseNotes">notes</a>)</p>
<h2>Usage</h2>
<p>Drag and drop a 24bit PNG image onto the application and it will be reduced to 256 colors.  Transparency will be tweaked to achieve the desired effect.  The original PNG will be renamed to FILE.bak.png and replaced with the 8bit image.</p>
<h2>Background</h2>
<p>I&#8217;m a huge fan of <a href="http://www.alistapart.com/articles/sprites" target="_blank">CSS sprites</a>, to the point that on a current project I have a single image providing the &#8220;chrome&#8221; for most of the site.  1bit transparency sucks, so I&#8217;ve been using 24bit PNGs for full alpha transparency.  I figured I would solve the Explorer PNG transparency issue later with hacks if possible, or substitute a GIF version for IE6 and below.</p>
<p>Then I came across this article: <a href="http://www.sitepoint.com/blogs/2007/09/18/png8-the-clear-winner/" target="_blank">http://www.sitepoint.com/blogs/2007/09/18/png8-the-clear-winner/</a></p>
<p>Perfect!  IE7+ and others get glorious alpha transparency and IE 4-6 get 1bit alpha like a GIF.  The only GUI out there to do it is Fireworks apparently, which I don&#8217;t own and don&#8217;t intend to buy.  So I looked into the available command line tools.  After recompiling a few things and sorting out libraries, hacking makefiles, etc. I got them working.  From there I wrote the bash script to string it all together and packaged it up as an app using <a href="http://www.sveinbjorn.org/platypus" target="_blank">Platypus</a>.</p>
<h2>Issues</h2>
<ul>
<li>The app is a universal binary but I haven&#8217;t tested it in anything but Leopard.</li>
<li>I haven&#8217;t got folders working yet, you have to do one image at a time.</li>
<li>The color conversion is fixed at 256 colors right now.  You might be able to work around that by doing the palette reduction in your image editor?</li>
<li>The conversion is &#8220;one way&#8221;, e.g. opening the converted files in Photoshop yields surprising results.  Your browser and Preview display the image correctly.</li>
</ul>
<h2>Future Development</h2>
<ul>
<li>Get drag and drop folders working.</li>
<li>Add the ability to specify the number of colors you want for varying size/quality.</li>
<li>Make it backwards compatible with OSX 10.4.</li>
<li>Create a Windows compatible app with similar features?</li>
<li>Create a Photoshop or Gimp plugin?</li>
<li>Suggestions?</li>
</ul>
<h2>Credits</h2>
<p>Right now the credits required by all the various licenses are sorely lacking, I&#8217;ll correct that soon.  I&#8217;ve written very little code myself at this point, just a bash script.  The bulk of the credit goes to these excellent people/projects:</p>
<ul>
<li><a href="http://www.libpng.org/pub/png/apps/pngquant.html" target="_blank">http://www.libpng.org/pub/png/apps/pngquant.html</a></li>
<li><a href="http://www.sveinbjorn.org/platypus" target="_blank">Platypus</a></li>
<li><a href="http://www.libpng.org/pub/png/libpng.html" target="_blank">http://www.libpng.org/pub/png/libpng.html</a></li>
<li><a href="http://www.zlib.net/" target="_blank">http://www.zlib.net/</a></li>
</ul>
<p>I intend to release the app under an MIT license in the next revision, but for now it&#8217;s a YOYO license&#8230; You&#8217;re On Your Own.</p>
<h2 id="releaseNotes">Releases</h2>
<ul>
<li><a href="https://morganizeit.com/wp-content/uploads/2008/08/png8alpha-02.zip">png8alpha-02</a>
<ul>
<li>Dropped pngnq in favor of pngquant because pngnq was dropping bits of highlight color and making things look flat.  pngquant seems to be less destructive in quantizing the color map.</li>
<li>No longer using pngcrush since it doesn&#8217;t seem to yield more than 1% size improvement and I decided to err on the side of image quality.</li>
</ul>
</li>
<li><a href="https://morganizeit.com/wp-content/uploads/2008/07/png8alpha-01.zip">png8alpha-01</a>
<ul>
<li>Initial effort.  Libs were not statically linked so you had to install zlib and libpng for it to work.  Intel only.</li>
<li><a title="http://pngnq.sourceforge.net/index.html" href="http://pngnq.sourceforge.net/index.html" target="_blank">http://pngnq.sourceforge.net/index.html</a></li>
<li><a title="http://pmt.sourceforge.net/pngcrush/" href="http://pmt.sourceforge.net/pngcrush/" target="_blank">http://pmt.sourceforge.net/pngcrush/</a></li>
</ul>
</li>
</ul>
<p><a title="http://pngnq.sourceforge.net/index.html" href="http://pngnq.sourceforge.net/index.html" target="_blank"><br />
</a></p>
]]></content:encoded>
			<wfw:commentRss>http://morganizeit.com/2008/07/png-transparency-in-explorer-without-hacks/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Cross-Browser Scaleable Font Sizing</title>
		<link>http://morganizeit.com/2008/06/cross-browser-scaleable-font-sizing/</link>
		<comments>http://morganizeit.com/2008/06/cross-browser-scaleable-font-sizing/#comments</comments>
		<pubDate>Fri, 06 Jun 2008 12:16:11 +0000</pubDate>
		<dc:creator>Morgan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[fonts]]></category>

		<guid isPermaLink="false">http://morganizeit.com/?p=9</guid>
		<description><![CDATA[Pixels are great, consistent and easy to understand. Explorer can&#8217;t scale them though. This means if older people or those with large displays want to increase the font size they&#8217;re stuck. This is somewhat less relevant for Explorer 7 with its zoom feature. Maybe when IE6 has dwindled away I&#8217;ll switch. In the meantime&#8230; I [...]]]></description>
			<content:encoded><![CDATA[<p>Pixels are great, consistent and easy to understand.  Explorer can&#8217;t scale them though.  This means if older people or those with large displays want to increase the font size they&#8217;re stuck.  This is somewhat less relevant for Explorer 7 with its zoom feature.  Maybe when IE6 has dwindled away I&#8217;ll switch.</p>
<p>In the meantime&#8230;</p>
<p>I love to make layouts that scale with the font size.  To do this I set a base font size as a percentage and then all other measurements are expressed in ems (with the exception of anything that is a fixed size like images). I read about this approach in <a href="http://mi6.ais.ucla.edu/devbriefs/usable-cross-browser-font-sizing">this article</a> that demonstrates the percentages resulting in consistent sizing across the major browsers and platforms.  These percentages are applied to the body element in CSS:<br />
<code>body {<br />
font-size: 69%; /* 11px */<br />
}<br />
</code><br />
The percentages and their equivalent pixel sizes are:</p>
<ul>
<li>60% = 10px</li>
<li>69% = 11px</li>
<li>76% = 12px</li>
<li>83% = 13px</li>
<li>89% = 14px</li>
</ul>
<p>Lately most of the sites I work on use a base font size of 11px.  This can make for some strange looking em measurements.  Let&#8217;s say I need paragraphs to have a 6px bottom margin.  The CSS would look like this:<br />
<code>p {<br />
margin-bottom: 0.5454em;<br />
}<br />
</code><br />
See what I mean?  Going to four digits ensures that you get the same measurement cross browser (due to differences in rounding).  Actually there&#8217;s a simple formula you can use for smaller measurements without pulling out the calculator.  Take the number of pixels, subtract one, then place the number next to it that would make nine if added that number.  If that didn&#8217;t make life easier (hehe) here&#8217;s what some common values look like:</p>
<ul class="bucket">
<li>1px = 0.0909em</li>
<li>2px = 0.1818em</li>
<li>3px = 0.2727em</li>
<li>4px = 0.3636em</li>
<li>5px = 0.4545em</li>
<li>6px = 0.5454em</li>
<li>7px = 0.6363em</li>
<li>8px = 0.7272em</li>
<li>9px = 0.8181em</li>
<li>10px = 0.9090em</li>
<li>11px = 1em</li>
<li>12px = 1.0909em</li>
<li>13px = 1.1818em</li>
<li>14px = 1.2727em</li>
<li>15px = 1.3636em</li>
<li>16px = 1.4545em</li>
<li>17px = 1.5454em</li>
<li>18px = 1.6363em</li>
<li>19px = 1.7272em</li>
<li>20px = 1.8181em</li>
<li>21px = 1.9090em</li>
<li>22px = 2em</li>
<li>23px = 2.0909em</li>
</ul>
<p>It&#8217;s geeky but easier to remember than the <a href="http://developer.yahoo.com/yui/fonts/#using">YUI percentages</a> approach because there is a detectable pattern.</p>
]]></content:encoded>
			<wfw:commentRss>http://morganizeit.com/2008/06/cross-browser-scaleable-font-sizing/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Configure Aptana to ignore CSS Hacks</title>
		<link>http://morganizeit.com/2008/04/configure-aptana-to-ignore-css-hacks/</link>
		<comments>http://morganizeit.com/2008/04/configure-aptana-to-ignore-css-hacks/#comments</comments>
		<pubDate>Sat, 19 Apr 2008 05:39:58 +0000</pubDate>
		<dc:creator>Morgan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Aptana]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://morganizeit.com/blog/?p=3</guid>
		<description><![CDATA[Aptana is a client-side web development IDE shipped as both a standalone app and Eclipse plugin. HTML, CSS, and JavaScript editors with code completion and validation. Document your JS with Javadoc like syntax for inline context help. Supports major JS libraries. It&#8217;s a pain that MooTools uses NaturalDocs, so no IDE love for me with [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.aptana.com/">Aptana</a> is a client-side web development IDE shipped as both a standalone app and Eclipse plugin.  HTML, CSS, and JavaScript editors with code completion and validation.  Document your JS with Javadoc like syntax for inline context help.  Supports major JS libraries.  It&#8217;s a pain that <a href="http://mootools.net/">MooTools</a> uses <a href="http://www.naturaldocs.org/">NaturalDocs</a>, so no IDE love for me with my favorite lib&#8230; but no other IDE supports NaturalDocs either.</p>
<p>The CSS validator is based on <a href="http://csstidy.sourceforge.net/">CSSTidy</a>.  It comes with some exclusion rules to prevent false positives and you can add your own.  I use a couple of CSS hacks/filters, namely &#8220;*property&#8221; for all IE and &#8220;_property&#8221; for IE6/5.  These regular expressions will prevent the validator from reporting errors related to the hacks.  Enter them one at a time at <strong>Preferences -> Aptana -> Editors -> CSS -> Validation:</strong></p>
<p><code>.*unrecognized : \*[-a-z]*: [%\(\)-_'"./?0-9a-zA-Z ]*; for .*<br />
.*unrecognized : \*zoo 1; for .*<br />
.*unrecognized : :  for null.*<br />
.*Property _[-a-z]* doesn't exist.*<br />
.*Parse error - Unrecognized .*</code></p>
<hr />
<p><strong>UPDATE:</strong> I stopped using Aptana years ago when they dropped Ruby support and switched to Netbeans.  I was really happy with the change for a long time and then I finally tried IntelliJ again.  Really amazing, Hard to imagine what tool could top it but I&#8217;m sure I&#8217;ll be writing about it in a couple years. <img src='http://morganizeit.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
]]></content:encoded>
			<wfw:commentRss>http://morganizeit.com/2008/04/configure-aptana-to-ignore-css-hacks/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

