<?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>Prosthetically Hip &#187; Grrr&#8230;</title>
	<atom:link href="http://www.prostheticallyhip.com/category/grrr/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.prostheticallyhip.com</link>
	<description>meepzorp.</description>
	<lastBuildDate>Wed, 08 Feb 2012 01:25:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Do as I say, not as I do&#8230;</title>
		<link>http://www.prostheticallyhip.com/2010/07/26/do-as-i-say-not-as-i-do/</link>
		<comments>http://www.prostheticallyhip.com/2010/07/26/do-as-i-say-not-as-i-do/#comments</comments>
		<pubDate>Tue, 27 Jul 2010 04:12:57 +0000</pubDate>
		<dc:creator>Will</dc:creator>
				<category><![CDATA[Geekery]]></category>
		<category><![CDATA[Grrr...]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[DUI.system]]></category>
		<category><![CDATA[NaBloPoMo]]></category>
		<category><![CDATA[NO_dui]]></category>

		<guid isPermaLink="false">http://prostheticallyhip.com/?p=956</guid>
		<description><![CDATA[I know this post is technically going out on the 27th, but I&#8217;m backdating it. Tonight I had to re-write my recently created DUI.system, because the hard drive it lived on crashed, and I didn&#8217;t have a copy of it on a second drive. I don&#8217;t know how many times I&#8217;ve told people not to [...]]]></description>
			<content:encoded><![CDATA[<p>I know this post is technically going out on the 27th, but I&#8217;m backdating it.</p>
<p>Tonight I had to re-write my recently created <a href="http://prostheticallyhip.com/2010/07/23/dui-decimal-system/">DUI.system</a>, because the hard drive it lived on crashed, and I didn&#8217;t have a copy of it on a second drive. I don&#8217;t know how many times I&#8217;ve told people not to trust external drives as the keeper of their primary (or only) copy of something, and somehow, this one slipped by and bit me in the ass.</p>
<p>Derp.</p>
<p>On the upside, the new revision is cleaner and the actual tweet output will be more informative based on the title of the press release. Looking at the old releases, some would have Cancelled or something similar in the title &#8211; handy info at a glance, IMHO.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.prostheticallyhip.com/2010/07/26/do-as-i-say-not-as-i-do/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Several Levels of Failure</title>
		<link>http://www.prostheticallyhip.com/2010/07/14/several-levels-of-failure/</link>
		<comments>http://www.prostheticallyhip.com/2010/07/14/several-levels-of-failure/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 04:27:40 +0000</pubDate>
		<dc:creator>Will</dc:creator>
				<category><![CDATA[Domesticamation]]></category>
		<category><![CDATA[Geekery]]></category>
		<category><![CDATA[Grrr...]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[Truck]]></category>
		<category><![CDATA[fail]]></category>
		<category><![CDATA[First World Problems]]></category>
		<category><![CDATA[home improvement]]></category>
		<category><![CDATA[Lowe's]]></category>
		<category><![CDATA[MC Frontalot]]></category>
		<category><![CDATA[NaBloPoMo]]></category>
		<category><![CDATA[nerdcore]]></category>
		<category><![CDATA[truck]]></category>

		<guid isPermaLink="false">http://prostheticallyhip.com/?p=880</guid>
		<description><![CDATA[I know several things went well today, I&#8217;m just going to harp on what went wrong: Truck needs an oil change/transmission fluid/pretty much every fluid change. One of the big 5-drawer tool chests is pretty banged up. Waiting &#8217;till above is done to return. Hopefully tomorrow. 4 trips to Lowe&#8217;s today, got almost all I [...]]]></description>
			<content:encoded><![CDATA[<p>I know several things went well today, I&#8217;m just going to harp on what went wrong:</p>
<ul>
<li>Truck needs an oil change/transmission fluid/pretty much every fluid change.</li>
<li>One of the big 5-drawer tool chests is pretty banged up. Waiting &#8217;till above is done to return. Hopefully tomorrow.</li>
<li>4 trips to Lowe&#8217;s today, got almost all I needed through process of elimination. Then lost a piece.</li>
<li>There&#8217;s a mosquito loose somewhere in my office</li>
<li>Looks like tomorrow will also be oppressively hot.</li>
<li>Running out of things to write about for NaBloPoMo</li>
</ul>
<p>I know I know, first world problems.</p>
<p>Sing it, Front:</p>
<div style="text-align: center;"><object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/M3w1_E1V46M&amp;hl=en_US&amp;fs=1?color1=0x2b405b&amp;color2=0x6b8ab6"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/M3w1_E1V46M&amp;hl=en_US&amp;fs=1?color1=0x2b405b&amp;color2=0x6b8ab6" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object></div>
]]></content:encoded>
			<wfw:commentRss>http://www.prostheticallyhip.com/2010/07/14/several-levels-of-failure/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Dog Fighting</title>
		<link>http://www.prostheticallyhip.com/2010/07/03/dog-fighting/</link>
		<comments>http://www.prostheticallyhip.com/2010/07/03/dog-fighting/#comments</comments>
		<pubDate>Sat, 03 Jul 2010 21:05:00 +0000</pubDate>
		<dc:creator>Will</dc:creator>
				<category><![CDATA[Grrr...]]></category>
		<category><![CDATA[woof!]]></category>
		<category><![CDATA[Dog Park]]></category>
		<category><![CDATA[fight]]></category>
		<category><![CDATA[Indy]]></category>
		<category><![CDATA[NaBloPoMo]]></category>

		<guid isPermaLink="false">http://prostheticallyhip.com/?p=762</guid>
		<description><![CDATA[Bad luck wind been blowin&#8217; on my back I was born to bring trouble wherever I&#8217;m at &#8211; Danzig, 13 Some days, you look for a fight. Other days, fights look for you. I took Indy and Bosceaux to the new dog park in City Park today. To make a short story shorter, Indy decided [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>Bad luck wind been blowin&#8217; on my back<br />
I was born to bring trouble wherever I&#8217;m at</p></blockquote>
<p> &#8211; Danzig, <em>13</em></p>
<p>Some days, you look for a fight. Other days, fights look for you.</p>
<p>I took Indy and Bosceaux to the new <a href="http://www.nolacitybark.org/">dog park in City Park</a> today. To make a short story shorter, Indy decided to pick a fight with a Great Dane (a fight Indy was winning, I&#8217;d like to point out) and we left early.</p>
<p>Not even five steps outside the dog park, an old drunk guy asks me to swipe my magnetic card to let him in. After living in the Quarter for so long, I instinctively replied with &#8220;Sorry man, no can do.&#8221;</p>
<p>Apparently, no can do would not do. This old guy lost it, started yelling at me. He had a clear plastic go cup half filled (empty?) with a brown colored liquid &#8211; in all likelihood it was booze.</p>
<p>To make a middle-length story short, he yelled things like &#8220;faggot queen&#8221; at me, then proceded to get in his car and block me in so I couldn&#8217;t leave. Well, fuck that shit &#8211; I just called the cops &#8211; but by the time the City Park Police came by, he was gone. After giving the officer the license plate and a description of the guy, his dog, and his car, he took off and so did I. I did call NOPD first, but since I couldn&#8217;t give them an address or street corner, I was S.O.L.</p>
<p>I kept my distance from him at all times though &#8211; nothing takes the fun out of a fight as much as having your opponent be a drunk septuagenarian. The whole drive home though, I couldn&#8217;t let something go. I kept mulling over what it was he called me, and whether it was better to be a &#8220;queen faggot&#8221; or &#8220;faggot queen.&#8221;</p>
<p>I&#8217;d rather be the Faggot Queen with a fabulous army.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.prostheticallyhip.com/2010/07/03/dog-fighting/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>On Tagging, etc.</title>
		<link>http://www.prostheticallyhip.com/2009/11/13/on-tagging-etc/</link>
		<comments>http://www.prostheticallyhip.com/2009/11/13/on-tagging-etc/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 20:39:05 +0000</pubDate>
		<dc:creator>Will</dc:creator>
				<category><![CDATA[Grrr...]]></category>
		<category><![CDATA[La Iglesia]]></category>
		<category><![CDATA[NOLA]]></category>
		<category><![CDATA[Photos]]></category>
		<category><![CDATA[People are dumb]]></category>
		<category><![CDATA[S&WB]]></category>
		<category><![CDATA[tagging]]></category>

		<guid isPermaLink="false">http://prostheticallyhip.com/?p=625</guid>
		<description><![CDATA[I hate taggers. Speaking in broad generalizations, I think taggers just a group of people who, unable to make their mark on the world, decide the next best step is to write their pseudonym in permanent marker on other people&#8217;s property. It&#8217;s juvenile and immature, and shows a distinct lack of respect for others. I&#8217;m [...]]]></description>
			<content:encoded><![CDATA[<p>I hate taggers. Speaking in broad generalizations, I think taggers just a group of people who, unable to make their mark on the world, decide the next best step is to write their pseudonym in permanent marker on other people&#8217;s property. It&#8217;s juvenile and immature, and shows a distinct lack of respect for others. I&#8217;m sure I know some people who do this, and that&#8217;s unfortunate. Maybe even someone who reads this little blog thingy.</p>
<p>Just grow up.</p>
<p>I was no fan of taggers as a renter in this city, and now as a property owner, I am even less of a fan.</p>
<p>Fred Radtke, New Orleans&#8217; own &#8220;Gray Ghost&#8221;, is no better. In fact, what he does in some cases is worse &#8211; he primers over these tags. It doesn&#8217;t matter if it&#8217;s on brick, glass, marble, cement, or traffic signs. Glass? Marble? Why on Earth would you put primer on these surfaces?</p>
<p>Since <a href="http://www.flickr.com/photos/willcore/3950287059/"><b>Sept. 24</b></a>, I&#8217;ve been going back and forth with the Sewerage and Water Board. They decided to dig up a large part of the sidewalk and street directly in front of the house.</p>
<p>I don&#8217;t know why, I just know they took it upon themselves to do it. Well, early this week, they finally dug up the temporary gravel and actually re-cemented the sidewalk. Street is still unfinished, but eh, it&#8217;s progress and I&#8217;ll take it. Actually, as we speak, there&#8217;s a crew working on the street. I must have some sort of unrealized super power. Excuse me while I go get a lottery ticket.</p>
<p>Anyways, some jackass inevitably wrote his name is the wet cement. It wasn&#8217;t on the sidewalk, but on the edge of the street. I don&#8217;t know if it&#8217;ll be re-surfaced, and if it&#8217;s not, I&#8217;ll have to re-cement that strip strip to cover his name.</p>
<p>I guess I should be grateful. At least he didn&#8217;t write in something like &#8220;fuck&#8221; or draw some tits or something.</p>
<div style="text-align: center;"><a href="http://www.flickr.com/photos/willcore/4100701063/" title="Wade by dubtea, on Flickr"><img src="http://farm3.static.flickr.com/2652/4100701063_02d803d2e1.jpg" width="375" height="500" alt="Wade" /></a></div>
<p>&nbsp;<br />
I just don&#8217;t get it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.prostheticallyhip.com/2009/11/13/on-tagging-etc/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Smartphones are dumb.</title>
		<link>http://www.prostheticallyhip.com/2009/11/05/smartphones-are-dumb/</link>
		<comments>http://www.prostheticallyhip.com/2009/11/05/smartphones-are-dumb/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 16:56:31 +0000</pubDate>
		<dc:creator>Will</dc:creator>
				<category><![CDATA[Grrr...]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[dumb]]></category>
		<category><![CDATA[dumphone]]></category>
		<category><![CDATA[smartphone]]></category>

		<guid isPermaLink="false">http://prostheticallyhip.com/?p=600</guid>
		<description><![CDATA[While upgrading the system software on the crackberry this morning, it decided to wipe out all my contacts. So if you are so inclined, please send you phone number along to dubtea@gmail.com. Thanks.]]></description>
			<content:encoded><![CDATA[<p>While upgrading the system software on the crackberry this morning, it decided to wipe out all my contacts.</p>
<p>So if you are so inclined, please send you phone number along to <a href="mailto:dubtea@gmail.com?Subject=Here's my number, dumbass.">dubtea@gmail.com</a>. Thanks.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.prostheticallyhip.com/2009/11/05/smartphones-are-dumb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Downtime and EXT3 undelete</title>
		<link>http://www.prostheticallyhip.com/2009/09/17/downtime-and-ext3-undelete/</link>
		<comments>http://www.prostheticallyhip.com/2009/09/17/downtime-and-ext3-undelete/#comments</comments>
		<pubDate>Thu, 17 Sep 2009 18:01:57 +0000</pubDate>
		<dc:creator>Will</dc:creator>
				<category><![CDATA[Geekery]]></category>
		<category><![CDATA[Grrr...]]></category>
		<category><![CDATA[Photos]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[EXT3]]></category>
		<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[restore]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[undelete]]></category>

		<guid isPermaLink="false">http://prostheticallyhip.com/?p=587</guid>
		<description><![CDATA[The other day, the server I share with the other bicycle/computer nerd Will (yes, there are two of us) went down. I called my friend Paul who basically runs the datacenter the box lives in to give him a heads up I&#8217;d be heading over. Paul was already having a rough work day, but still [...]]]></description>
			<content:encoded><![CDATA[<p>The other day, the server I share with the other bicycle/computer nerd Will (yes, there are two of us) went down.</p>
<p>I called my friend Paul who basically runs the datacenter the box lives in to give him a heads up I&#8217;d be heading over. Paul was already having a rough work day, but still carved out a little time to help me out &#8211; thanks again P.</p>
<p>Anyways, we hooked up a crash cart, and here&#8217;s what we saw:</p>
<div style="text-align: center;"><a href="http://www.flickr.com/photos/willcore/3929508022/" title="Garble by dubtea, on Flickr"><img src="http://farm3.static.flickr.com/2449/3929508022_8dafc56496.jpg" width="500" height="375" alt="Garble" /></a></div>
<p>&nbsp;<br />
Ruh-roh. We could discern that it was asking for the root password for maintenance, and that was about all we could glean from the garbled screen. Unfortunately neither Paul nor Will knew the password, and if you tried to skip it, it would just reboot. This meant I had to pull it and work on it elsewhere.</p>
<p>I went to boot from a cd, but the server had none, so I tried the next step &#8211; putting a bootable disc image onto a USB thumb drive. That didn&#8217;t work as the hardware is old enough to not be able to detect bootable USB devices.</p>
<p>I hadn&#8217;t yet opened up the case (which I should have done earlier), so I went the only route that I had available to me at the moment: floppy boot disks.</p>
<p>Holy crap y&#8217;all, I made linux boot floppies. I know, I know, I as stunned as you are. I was not only surprised to find that I still had some floppies, but that they were still good! As it turned out, it too was all for naught &#8211; when booted up, I couldn&#8217;t really do anything for one reason or another.</p>
<p>I finally opened the damn case, and to my exultant joy, I spied an IDE port. I plugged in a CD-ROM and booted up a Gentoo install disc. After fixing the screen garble (which was due to a splashimage being loaded by Grub), I was able to see and address the actual problem: somehow the EXT2/3/4 fsck had gone missing.</p>
<p>Before I actually fixed the issue, I figured it would be a good time to back some stuff, and due to an unfortunate timing of keystrokes, I managed to delete the entire home directory, residing on its own partition. Dumb.</p>
<p>After immediately unmounting the partition and some serious googlation of various terms including EXT3 undelete, EXT3 restore, oh holy hell what did I just do, linux undelete, etc&#8230; I had pretty much lost all hope of restoring this data. Luckily, at the bottom of some forum thread, someone had posted a link to an app called <a href="http://www.xs4all.nl/~carlo17/howto/undelete_ext3.html"><strong>ext3grep</strong></a>. This page and application, considering how completely amazing it is, has an extremely poor google listing. Hopefully this may help. I doubt it, but you never know.</p>
<p>Anyways, after crapping myself, here&#8217;s all it took to restore the deleted files:</p>
<blockquote><p>
umount /home<br />
cd /usr/src<br />
wget http://ext3grep.googlecode.com/files/ext3grep-0.10.1.tar.gz<br />
tar -zxvf ext3grep-0.10.1.tar.gz<br />
cd ext3grep-0.10.1<br />
./configure; make; make install<br />
ext3grep /dev/sda8 &#8211;restore-all -after=1252972801
</p></blockquote>
<p>There&#8217;s actually a bit more, but that&#8217;s superfluous things like changing to a directory with enough free disk space. But the pure simplicity of this app is that once downloaded / compiled / etc, is that with a single command, you can restore files deleted after a certain timestamp.</p>
<p>If for no other reason that finding a working, powerful, and simple ext3 undelete utiliy, the headache was all worth it.</p>
<p>Here&#8217;s a quick photo of the server on my desk at work:</p>
<div style="text-align: center;"><a href="http://www.flickr.com/photos/willcore/3929520890/" title="Patient on the Operating Table by dubtea, on Flickr"><img src="http://farm3.static.flickr.com/2494/3929520890_e411a3535f.jpg" width="500" height="375" alt="Patient on the Operating Table" /></a></div>
<p>&nbsp;<br />
I still can&#8217;t believe I deleted the /home directory &#8211; sometimes you just hit that Enter key a mere moment before you actually hit the tab key a second time. At least I learned from this mistake.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.prostheticallyhip.com/2009/09/17/downtime-and-ext3-undelete/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Department of Redundancy Department</title>
		<link>http://www.prostheticallyhip.com/2008/12/12/department-of-redundancy-department/</link>
		<comments>http://www.prostheticallyhip.com/2008/12/12/department-of-redundancy-department/#comments</comments>
		<pubDate>Fri, 12 Dec 2008 17:14:53 +0000</pubDate>
		<dc:creator>Will</dc:creator>
				<category><![CDATA[Geekery]]></category>
		<category><![CDATA[Grrr...]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://prostheticallyhip.com/2008/12/12/department-of-redundancy-department/</guid>
		<description><![CDATA[I got a call (well, a text, really) this morning, prompting me to hurriedly run out of my house and head to the office. My linux server, the workhorse, the reliable one, was apparently offline. Suck. I get there, and while it is powered up, it is absolutely unresponsive. Might as well had been off. [...]]]></description>
			<content:encoded><![CDATA[<p>I got a call (well, a text, really) this morning, prompting me to hurriedly run out of my house and head to the office. My linux server, the workhorse, the reliable one, was apparently offline. Suck.</p>
<p>I get there, and while it is powered up, it is absolutely unresponsive. Might as well had been off. So, I powercycle it, and up it boots. Unfortunately on the front of the case is a orange blinky light. As it turns out, one of the two Ghostbusters-esque <a href="http://flickr.com/photos/willcore/3102978832/"><b>power supplies (PSU)</b></a> (hooray, redundancy!) is dead. Boo, hiss.</p>
<p>Because there are two PSUs in the rig, it just pulls all the power from the other, good, PSU. That&#8217;s all fine and dandy, unless there is a power hiccup.</p>
<p>&#8220;But wait!&#8221;, I hear you cry, &#8220;What about UPSes? Don&#8217;t you have battery backups?&#8221; Very good point, young reader. I indeed do have UPSes. Two <a href="http://www.apcc.com/resource/include/techspec_index.cfm?base_sku=sua1000i"><b>APC Smart UPS 1000</b></a>s, to be exact. And to be extra redundant, one PSU from each server is connected to each battery, instead of each server getting its own dedicated battery. This way, if a UPS fails during an outage, one battery can still provide power to both servers.</p>
<p>Back to the power hiccup. Apparently, one of the UPSes died recently. Not a biggie, right? That&#8217;s why I mixed the power sources. Normally, it would not be a big deal, unless THE REMAINING GOOD PSU IS PLUGGED INTO THE BAD UPS!</p>
<p>Yeah. So, in the interest of visual simplicity, the setup is below:<br />
<font color="#339900"><b>GREEN</b></font> = Power, battery backup.<br />
<font color="#FF9900"><b>ORANGE</b></font> = Power, no battery backup.<br />
<font color="#990000"><b>RED</b></font> = Dead</p>
<div style="text-align: center"><a href="http://www.flickr.com/photos/willcore/3102978874/" title="Not so UPS by dubtea, on Flickr"><img src="http://farm4.static.flickr.com/3021/3102978874_4c5b6dd229_o.gif" width="394" height="271" alt="Not so UPS" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.prostheticallyhip.com/2008/12/12/department-of-redundancy-department/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>stop. go.</title>
		<link>http://www.prostheticallyhip.com/2008/02/28/stop-go/</link>
		<comments>http://www.prostheticallyhip.com/2008/02/28/stop-go/#comments</comments>
		<pubDate>Thu, 28 Feb 2008 13:46:01 +0000</pubDate>
		<dc:creator>Will</dc:creator>
				<category><![CDATA[Grrr...]]></category>

		<guid isPermaLink="false">http://prostheticallyhip.com/2008/02/28/stop-go/</guid>
		<description><![CDATA[I&#8217;n currently on Earhart, not moving. Why? Stupid fucking rush hour. For a long time, I&#8217;ve said that traffic congestion is worse than genocide. You can really only fully kill a group of people off once, and traffic is everywhere. When was the last time you banged your fists in anger and aggravation over Darfur? [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;n currently on Earhart, not moving. Why? Stupid fucking rush hour. </p>
<p>For a long time, I&#8217;ve said that traffic congestion is worse than genocide. You can really only fully kill a group of people off once, and traffic is everywhere.</p>
<p>When was the last time you banged your fists in anger and aggravation over Darfur? How about your steering wheel over traffic?</p>
<p>At least I have Radiohead and my crackberry. Heh, I initially mis-spelled crackberry as &#8220;crackbert&#8221;. Looks like my phone has a name.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.prostheticallyhip.com/2008/02/28/stop-go/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Dr. McNinja and PHP/CSS</title>
		<link>http://www.prostheticallyhip.com/2008/01/15/dr-mcninja-and-phpcss/</link>
		<comments>http://www.prostheticallyhip.com/2008/01/15/dr-mcninja-and-phpcss/#comments</comments>
		<pubDate>Tue, 15 Jan 2008 19:46:59 +0000</pubDate>
		<dc:creator>Will</dc:creator>
				<category><![CDATA[Geekery]]></category>
		<category><![CDATA[Grrr...]]></category>

		<guid isPermaLink="false">http://prostheticallyhip.com/2008/01/15/dr-mcninja-and-phpcss/</guid>
		<description><![CDATA[I&#8217;ve been noticing how on one of my favorite webcomics, Dr. McNinja, the page that displayed each comic was loading pretty slow. Before: &#60;td valign=top&#62;&#60;table border=&#34;0&#34;&#62; &#60;tr&#62;&#60;td align=center width=&#34;175&#34;px&#62;&#60;a href=&#34;page.php?pageNum=1&#38;issue=10&#34;&#62; &#60;img src=&#34;/graphics/1.gif&#34; border=0&#62; &#60;/a&#62; &#60;/td&#62;&#60;/tr&#62; &#60;tr&#62;&#60;td align=center width=&#34;175&#34;px&#62;&#60;a href=&#34;page.php?pageNum=2&#38;issue=10&#34;&#62; &#60;img src=&#34;/graphics/2.gif&#34; border=0&#62; &#60;/a&#62; &#60;/td&#62;&#60;/tr&#62; &#60;tr&#62;&#60;td align=center width=&#34;175&#34;px&#62;&#60;a href=&#34;page.php?pageNum=3&#38;issue=10&#34;&#62; &#60;img src=&#34;/graphics/3.gif&#34; border=0&#62; &#60;/a&#62; &#60;/td&#62;&#60;/tr&#62; &#60;tr&#62;&#60;td align=center [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been noticing how on one of my favorite webcomics, <a href="http://drmcninja.com/"><b>Dr. McNinja</b></a>, the page that displayed each comic was loading pretty slow.</p>
<p>Before:</p>
<blockquote><p>&lt;td valign=top&gt;&lt;table border=&quot;0&quot;&gt;<br />
&lt;tr&gt;&lt;td align=center width=&quot;175&quot;px&gt;&lt;a href=&quot;page.php?pageNum=1&amp;issue=10&quot;&gt; &lt;img src=&quot;/graphics/1.gif&quot; border=0&gt; &lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;<br />
&lt;tr&gt;&lt;td align=center width=&quot;175&quot;px&gt;&lt;a href=&quot;page.php?pageNum=2&amp;issue=10&quot;&gt; &lt;img src=&quot;/graphics/2.gif&quot; border=0&gt; &lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;<br />
&lt;tr&gt;&lt;td align=center width=&quot;175&quot;px&gt;&lt;a href=&quot;page.php?pageNum=3&amp;issue=10&quot;&gt; &lt;img src=&quot;/graphics/3.gif&quot; border=0&gt; &lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;<br />
&lt;tr&gt;&lt;td align=center width=&quot;175&quot;px&gt;&lt;a href=&quot;page.php?pageNum=4&amp;issue=10&quot;&gt; &lt;img src=&quot;/graphics/4.gif&quot; border=0&gt; &lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;<br />
&lt;tr&gt;&lt;td align=center width=&quot;175&quot;px&gt;&lt;a href=&quot;page.php?pageNum=5&amp;issue=10&quot;&gt; &lt;img src=&quot;/graphics/5.gif&quot; border=0&gt; &lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;</p></blockquote>
<p>After:</p>
<blockquote><p>&lt;td valign=top id=&quot;pages&quot;&gt;<br />
&lt;a href=&quot;/page.php?pageNum=1&amp;issue=10&quot;&gt;1&lt;/a&gt;<br />
&lt;a href=&quot;/page.php?pageNum=2&amp;issue=10&quot;&gt;2&lt;/a&gt;<br />
&lt;a href=&quot;/page.php?pageNum=3&amp;issue=10&quot;&gt;3&lt;/a&gt;<br />
&lt;a href=&quot;/page.php?pageNum=4&amp;issue=10&quot;&gt;4&lt;/a&gt;<br />
&lt;a href=&quot;/page.php?pageNum=5&amp;issue=10&quot;&gt;5&lt;/a&gt;</p></blockquote>
<p>CSS:</p>
<blockquote><p>#pages a { font-weight: bold; color: #FFFFFF; background-color: #000000; display: block; text-align: center; width: 25px; margin-bottom: 3px; text-decoration: none; }</p></blockquote>
<p>PHP (with NEW current page highlight! oooohhhhhh!):</p>
<blockquote><p>for($p = 1; $p &lt;= $pages; $p++) {<br />
&nbsp;&nbsp;unset($style); if($p == $page) { $style = &#8216; style=&quot;color: #CCCCCC;&quot; &#8216;; }<br />
&nbsp;&nbsp;echo &#8216;&lt;a href=&quot;/page.php?pageNum=&#8217;.$p.&#8217;&amp;issue=&#8217;.$issue.&#8217;&quot;&#8217;.$style.&#8217;&gt;&#8217;.$p.&#8217;&lt;/a&gt;&#8217;.&quot;\n&quot;;<br />
}</p></blockquote>
<p>For some reason unbeknownst to me (and I emailed the tech girl, Zoe (who apparently offers help on websites, WTF?)), it was deployed so the output is as such:</p>
<blockquote><p>&lt;td valign=top id=&quot;pages&quot;&gt;&lt;table border=&quot;0&quot;&gt; &lt;tr&gt; &lt;td align=\&quot;center\&quot; width=\&quot;175\&quot;px&gt; &lt;a href=&quot;/page.php?pageNum=1&amp;issue=10&quot;&gt;1&lt;/a&gt; &lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td align=\&quot;center\&quot; width=\&quot;175\&quot;px&gt; &lt;a href=&quot;/page.php?pageNum=2&amp;issue=10&quot;&gt;2&lt;/a&gt; &lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td align=\&quot;center\&quot; width=\&quot;175\&quot;px&gt; &lt;a href=&quot;/page.php?pageNum=3&amp;issue=10&quot;&gt;3&lt;/a&gt; &lt;/td&gt; &lt;/tr&gt;</p></blockquote>
<p>Yanno, you try to help some people, and they just don&#8217;t really listen. And yes, those slashes before the double-quotes are in the output HTML.</p>
<p>The page load is still much faster after dropping all those img calls, but meh. Why the extra table? Why????</p>
]]></content:encoded>
			<wfw:commentRss>http://www.prostheticallyhip.com/2008/01/15/dr-mcninja-and-phpcss/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>More on that mod_rewrite hack.</title>
		<link>http://www.prostheticallyhip.com/2008/01/08/more-on-that-mod_rewrite-hack/</link>
		<comments>http://www.prostheticallyhip.com/2008/01/08/more-on-that-mod_rewrite-hack/#comments</comments>
		<pubDate>Wed, 09 Jan 2008 02:45:31 +0000</pubDate>
		<dc:creator>Will</dc:creator>
				<category><![CDATA[Geekery]]></category>
		<category><![CDATA[Grrr...]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://prostheticallyhip.com/2008/01/08/more-on-that-mod_rewrite-hack/</guid>
		<description><![CDATA[So I implemented that mod_rewrite hack (but added string sanitizing, etc.) on a project for a client. The other morning, it failed spectacularly. It was definitely one of those &#8220;But it worked fine yesterday&#8221; moments that we all love. In this instance, the host uses cPanel (an out-of the-box hosting solution), and I was not [...]]]></description>
			<content:encoded><![CDATA[<p>So I implemented that <a href="http://prostheticallyhip.com/2007/02/07/i-want-my-mod_rewrite/"><b>mod_rewrite hack</b></a> (but added string sanitizing, etc.) on a project for a client.</p>
<p>The other morning, it failed spectacularly. It was definitely one of those &#8220;But it worked fine yesterday&#8221; moments that we all love.</p>
<p>In this instance, the host uses cPanel (an out-of the-box hosting solution), and I was not able to specify a custom 404 page (neither via the .htaccess nor the unaccessible virtual server config). I could do a custom 404 page though &#8211; it would create a 404.shtml file in the pubilc_html folder. Just fuckin&#8217; dandy. SHTML is pretty much worthless.</p>
<p>What I was able to do, however, is add a custom handler in the .htaccess that says &#8220;hey Apache, treat .shtml files as if they are really PHP files!&#8221; like so:<br />
<b>
<pre>AddHandler application/x-httpd-php .shtml</pre>
<p></b></p>
<p>Apache was parsing the PHP code in the .shtml document. Every it seemed, would be all right.</p>
<p>Fast forward a few months to the other morning. Instead of processing the PHP code in the 404.shtml, it was printing it out. BAD. Turns out, the web host updated to PHP5 overnight. As you very well may know or have surmised, PHP4 and PHP5 are handled very differently on the server level.</p>
<p>Now, the humble little .htaccess that looks like this:<br />
<b>
<pre>AddHandler application/x-httpd-php5 .shtml</pre>
<p></b></p>
<p>Don&#8217;t you love how those one character differences make all the difference in the world? How nobody was notified? How they didn&#8217;t anything in place so that all would be backwards compatible and therefore gravy-like?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.prostheticallyhip.com/2008/01/08/more-on-that-mod_rewrite-hack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

