<?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>box of Jack &#187; computers</title>
	<atom:link href="http://boxofjack.com/articles/tag/computers/feed/" rel="self" type="application/rss+xml" />
	<link>http://boxofjack.com</link>
	<description>I hail from Melbourne, Australia but I am living in Seattle, Washington. This blog is powered by passive aggression.</description>
	<lastBuildDate>Thu, 19 Aug 2010 01:27:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Ha! I give&#160;up.</title>
		<link>http://boxofjack.com/articles/2009/12/05/ha-i-give-up/</link>
		<comments>http://boxofjack.com/articles/2009/12/05/ha-i-give-up/#comments</comments>
		<pubDate>Sun, 06 Dec 2009 03:43:44 +0000</pubDate>
		<dc:creator>Jack</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[computers]]></category>

		<guid isPermaLink="false">http://boxofjack.com/?p=1550</guid>
		<description><![CDATA[In a previous post, I spoke of my plan to pack this theme up as a downloading something for people to use. Well, fuck that shit. I have to basically neuter it to fit all the generic WordPress junk and it&#8217;s just no fun. It&#8217;s a task for a more talented and commited web designer...]]></description>
			<content:encoded><![CDATA[<p>In a <a href="/articles/2009/11/22/packing-this-theme-up/">previous post</a>, I spoke of my plan to pack this theme up as a downloading something for people to use. Well, fuck that shit. I have to basically neuter it to fit all the generic WordPress junk and it&#8217;s just no fun. It&#8217;s a task for a more talented and commited web designer than I.</p>

<p>Instead, I&#8217;m going to be tweaking this current look and fucking about with the fonts. Right now, I have to leave the cafe and head home before the caffeine takes hold and I&#8217;m without access to a bathroom.</p>
<table border="0" cellpadding="20" cellspacing="0" style="background: #1a3c6a;">
<tr>
<td><img src="http://boxofjack.com/wp-content/themes/bojv10/images/duck.png" height="32" width="250" alt="box of Jack"></td>
<td>
<p style="color: #A3BCDA; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 12px; line-height: 1.5; margin: 0; padding: 0;">
<strong><a href="http://boxofjack.com/" style="color: #FDFDFB;">box of Jack</a></strong> is <a href="http://boxofjack.com/about/" style="color: #FDFDFB;">Jack Banh</a> trying to <br>
<a href="http://boxofjack.com/articles/" style="color: #FDFDFB;">write better, write more</a> and find<br>
what excites him most about being alive.<br>
<small style="font-size: 1px; color: #1a3c6a;"> 18ee2665717544fe5b21551f9d9b2eb2</small>
</p>
</td>
</tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://boxofjack.com/articles/2009/12/05/ha-i-give-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Packing this theme&#160;up</title>
		<link>http://boxofjack.com/articles/2009/11/22/packing-this-theme-up/</link>
		<comments>http://boxofjack.com/articles/2009/11/22/packing-this-theme-up/#comments</comments>
		<pubDate>Sun, 22 Nov 2009 21:14:26 +0000</pubDate>
		<dc:creator>Jack</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[boxofjack]]></category>
		<category><![CDATA[computers]]></category>

		<guid isPermaLink="false">http://boxofjack.com/?p=1546</guid>
		<description><![CDATA[So after what was an endless month of playing Fallout 3, I&#8217;m embarking on my next project: packing up my current design into a theme that regular folk can use. It&#8217;s hard work, my hat is off to those brave women and men that make WordPress themes for others to use. Here&#8217;s what I need...]]></description>
			<content:encoded><![CDATA[<p>So after what was an endless month of playing Fallout 3, I&#8217;m embarking on my next project: packing up my current design into a theme that regular folk can use. It&#8217;s hard work, my hat is off to those brave women and men that make WordPress themes for others to use.</p>

<p>Here&#8217;s what I need to do:</p>

<ul>
<li>Redesign the footer so it works with a longer blog title</li>
<li>Update the header so it can take a custom image or just display text</li>
<li>Add support for categories</li>
<li>Add styling for some default widgets (text, archives, links, tag cloud, etc.)</li>
<li>Add admin page with customizable theme options</li>
</ul>

<p>It&#8217;s far easier to hardcode everything and know exactly what things I want to display. It&#8217;s pretty hard to make things more generic to please everyone.</p>
<table border="0" cellpadding="20" cellspacing="0" style="background: #1a3c6a;">
<tr>
<td><img src="http://boxofjack.com/wp-content/themes/bojv10/images/duck.png" height="32" width="250" alt="box of Jack"></td>
<td>
<p style="color: #A3BCDA; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 12px; line-height: 1.5; margin: 0; padding: 0;">
<strong><a href="http://boxofjack.com/" style="color: #FDFDFB;">box of Jack</a></strong> is <a href="http://boxofjack.com/about/" style="color: #FDFDFB;">Jack Banh</a> trying to <br>
<a href="http://boxofjack.com/articles/" style="color: #FDFDFB;">write better, write more</a> and find<br>
what excites him most about being alive.<br>
<small style="font-size: 1px; color: #1a3c6a;"> 18ee2665717544fe5b21551f9d9b2eb2</small>
</p>
</td>
</tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://boxofjack.com/articles/2009/11/22/packing-this-theme-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 7 64-bit on a Late 2007 MacBook&#160;Pro</title>
		<link>http://boxofjack.com/articles/2009/10/11/windows-7-64-bit-on-a-late-2007-macbook-pro/</link>
		<comments>http://boxofjack.com/articles/2009/10/11/windows-7-64-bit-on-a-late-2007-macbook-pro/#comments</comments>
		<pubDate>Sun, 11 Oct 2009 23:57:57 +0000</pubDate>
		<dc:creator>Jack</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[computers]]></category>

		<guid isPermaLink="false">http://boxofjack.com/?p=1532</guid>
		<description><![CDATA[If you read my notes about installing Boot Camp 3.0, you probably walked away with the conclusion that I&#8217;m some sort of glutton for punishment. For clarification for those that reach this post via Google, I installed the RTM of Windows 7 64-bit on a non-unibody 15&#8243; MacBookPro purchased in late 2007. What went wrong...]]></description>
			<content:encoded><![CDATA[<p>If you read my notes about <a href="/articles/2009/10/07/installing-boot-camp/">installing Boot Camp 3.0</a>, you probably walked away with the conclusion that I&#8217;m some sort of glutton for punishment. For clarification for those that reach this post via Google, I installed the RTM of Windows 7 64-bit on a non-unibody 15&#8243; MacBookPro purchased in late 2007.</p>

<h3>What went wrong with installation?</h3>

<p><strong>Switching</strong> &#8211; Backing up is easy but there&#8217;s some shit that you just can&#8217;t take with you when you go between OS X and Windows. Stuff like iPhoto libraries and Mail (ok, you can probably take mail over but I can&#8217;t be fucked jumping through the hoops).</p>

<p><strong>OS X Partition</strong> &#8211; You can install Windows on a Mac without keeping OS X around. <strong>But</strong> you lose access to any firmware updates from Apple and it&#8217;s a bitch to access your old files. <a href="http://www.mediafour.com/products/macdrive/">MacDrive</a> can help but as of writing it does not support Time Machine folders.</p>

<p><strong>64-bit Windows is not supported by Boot Camp</strong> &#8211; I have 4.0 GB of RAM and I wanted 64-bit Windows in order to take advantage of it all. You have to Google instructions but basically you rip the DVD to your HDD and then use an official Microsoft utility to recreate a new installation DVD that Boot Camp can understand. Very time consuming and requires a Windows machine.</p>

<p><strong>Crashing during Windows 7 Installation</strong> &#8211; I still don&#8217;t know why but the computer would just lock up during the &#8220;Completing installation&#8230;&#8221; phase (i.e. the very last phase of a lengthy install). My theory is that the DVD was bad or my laptop was overheating. I gave up and tried again at home and it worked.</p>

<h3>So how is it to use?</h3>

<p><strong>Trackpad</strong> &#8211; The reason I gave up on Vista and Boot Camp 2.0 was because the trackpad support was abysmal. So bad that I was completely turned off by the idea of spending any amount of time in Windows. Apple make some first-class trackpads on their laptops and they are integral to the experience. Under BC 3.0, trackpad support is much better but still doesn&#8217;t compare to the OS X experience. The cursor jumps around as my palm grazes and the scrolling is there but it&#8217;s not as precise or comfortable. But it&#8217;s useable.</p>

<p><strong>Keyboard shortcuts</strong> &#8211; Ooh this one pisses me off a lot. I am used to the Mac&#8217;s keyboard shortcuts where the Command key serves pretty much the same function it serves in Windows. Under Boot Camp, the Command key becomes the Windows key and it&#8217;s very jarring and I&#8217;m still not used to it when copying, pasting and opening new tabs.</p>

<p><strong>Power</strong> &#8211; This is a big pain point too. Sometimes it just doesn&#8217;t wake up from sleep or hibernation. Bringing it out of hibernation gives you a bright grey screen to look at before you see the Windows logo appear. This is very painful when you use the laptop in the dark like I do. Sometimes it just crashes on boot up. This may have to do with 64-bit or maybe because Windows 7 support hasn&#8217;t matured yet. The automated fan control also works far better in OS X.</p>

<p><strong>Switching in general</strong> &#8211; I miss Time Machine. On the flip side, I love being able to maximize apps and play games. I feel like OS X is more trackpad-friendly whereas Windows has a love affair with the mouse. Adobe Flash works far better on Windows. It&#8217;s much easier for me to connect to the corporate intranet on Windows (virtualization through VMWare Fusion eats far too much battery and generates a lot of heat).</p>

<h3>Conclusion</h3>

<p>I love Windows 7. I love my MacBook Pro. But the two mix very poorly. I could live in either OS but I do love using the Mac and I would miss it terribly if I went 100% Windows. I&#8217;m not really sure what to do!</p>
<table border="0" cellpadding="20" cellspacing="0" style="background: #1a3c6a;">
<tr>
<td><img src="http://boxofjack.com/wp-content/themes/bojv10/images/duck.png" height="32" width="250" alt="box of Jack"></td>
<td>
<p style="color: #A3BCDA; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 12px; line-height: 1.5; margin: 0; padding: 0;">
<strong><a href="http://boxofjack.com/" style="color: #FDFDFB;">box of Jack</a></strong> is <a href="http://boxofjack.com/about/" style="color: #FDFDFB;">Jack Banh</a> trying to <br>
<a href="http://boxofjack.com/articles/" style="color: #FDFDFB;">write better, write more</a> and find<br>
what excites him most about being alive.<br>
<small style="font-size: 1px; color: #1a3c6a;"> 18ee2665717544fe5b21551f9d9b2eb2</small>
</p>
</td>
</tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://boxofjack.com/articles/2009/10/11/windows-7-64-bit-on-a-late-2007-macbook-pro/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Switching&#160;back?</title>
		<link>http://boxofjack.com/articles/2009/10/06/switching-back/</link>
		<comments>http://boxofjack.com/articles/2009/10/06/switching-back/#comments</comments>
		<pubDate>Tue, 06 Oct 2009 13:02:04 +0000</pubDate>
		<dc:creator>Jack</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[computers]]></category>

		<guid isPermaLink="false">http://boxofjack.com/?p=1507</guid>
		<description><![CDATA[I&#8217;ve been floating the idea of buying a new laptop. An expensive new laptop. Like two Gs expensive. The reason being that I&#8217;m feeling very lonely over here in Mac land. My work is completely Windows-based as are all the cool games and some of the technologies I&#8217;d like to learn. So I embarked on...]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been floating the idea of buying a new laptop. An <strong>expensive</strong> new laptop. Like two Gs expensive.</p>

<p>The reason being that I&#8217;m feeling very lonely over here in Mac land. My work is completely Windows-based as are all the cool games and some of the technologies I&#8217;d like to learn. So I embarked on the internet looking for laptops that are equivalent to the latest MacBook Pros.</p>

<p>The MBPs are about 4 months old but they are priced as if the technology inside were brand new. That is to say, the prices are extraordinarily high when compared to laptops of similar caliber. But rest assured that you aren&#8217;t being entirely ripped off. The MBPs also a far better design, size, weight, and materials and they are of course the only high-end laptops that can legally run Mac OS X.</p>

<p>I saw a lot of cool laptops that I&#8217;d like from Dell and Sager. But I think Apple have completely won me over with their hardware design because no matter where I look, it was always a compromise on the design of the MacBook Pro. I&#8217;m not saying it&#8217;s empirically better than the rest but it&#8217;s familiar and feature-packed without being obnoxious.</p>

<p>Thinking on this, I realized that all I really wanted to do was run Windows for a while. So I&#8217;ve decided to take my <em>existing MacBook Pro</em>, backup everything that I need and then wipe the whole thing and run Windows via Boot Camp. Whether or not this is successful mostly depends on the quality of the Boot Camp drivers as things like battery life, trackpad and the function buttons are all governed by the Apple-provided drivers.</p>

<p>It&#8217;s going to be pesky to backup things seeing as a bunch of them are Mac-only</p>

<ul>
<li>Photos from iPhoto</li>
<li>iPhone snapshots</li>
<li>Music</li>
<li>Videos I&#8217;ve downloaded</li>
<li>Videos I&#8217;ve recorded in iMovie</li>
<li>Address book</li>
<li>License keys (TextMate, VMWare Fusion, Microsoft Office)</li>
<li>Email</li>
<li>Documents</li>
<li>Website files</li>
</ul>

<p>The photos will probably take the most time but it&#8217;s something that&#8217;s long overdue. I have been backing up with Time Machine but I&#8217;d like to throw some stuff on DVD anyway.</p>
<table border="0" cellpadding="20" cellspacing="0" style="background: #1a3c6a;">
<tr>
<td><img src="http://boxofjack.com/wp-content/themes/bojv10/images/duck.png" height="32" width="250" alt="box of Jack"></td>
<td>
<p style="color: #A3BCDA; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 12px; line-height: 1.5; margin: 0; padding: 0;">
<strong><a href="http://boxofjack.com/" style="color: #FDFDFB;">box of Jack</a></strong> is <a href="http://boxofjack.com/about/" style="color: #FDFDFB;">Jack Banh</a> trying to <br>
<a href="http://boxofjack.com/articles/" style="color: #FDFDFB;">write better, write more</a> and find<br>
what excites him most about being alive.<br>
<small style="font-size: 1px; color: #1a3c6a;"> 18ee2665717544fe5b21551f9d9b2eb2</small>
</p>
</td>
</tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://boxofjack.com/articles/2009/10/06/switching-back/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Host your own Windows&#160;party</title>
		<link>http://boxofjack.com/articles/2009/09/22/host-your-own-windows-party/</link>
		<comments>http://boxofjack.com/articles/2009/09/22/host-your-own-windows-party/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 20:05:50 +0000</pubDate>
		<dc:creator>Jack</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://boxofjack.com/?p=1505</guid>
		<description><![CDATA[This is fucking hilarious to me. The dialog is so stilted and awkward, Ricky Gervais would have a hard time coming up with something better. You can practically hear the little &#8482; signs as they recite the product names. Also, the camera operator is either profoundly drunk or a 10-year-old who cannot stand still and...]]></description>
			<content:encoded><![CDATA[<p>This is fucking hilarious to me. The dialog is so stilted and awkward, Ricky Gervais would have a hard time coming up with something better. You can practically hear the little &#8482; signs as they recite the product names.</p>

<p>Also, the camera operator is either profoundly drunk or a 10-year-old who cannot stand still and just loves that zoom function.</p>

<p><object width="560" height="340"><param name="movie" value="http://www.youtube-nocookie.com/v/1cX4t5-YpHQ&#038;hl=en&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube-nocookie.com/v/1cX4t5-YpHQ&#038;hl=en&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object></p>
<table border="0" cellpadding="20" cellspacing="0" style="background: #1a3c6a;">
<tr>
<td><img src="http://boxofjack.com/wp-content/themes/bojv10/images/duck.png" height="32" width="250" alt="box of Jack"></td>
<td>
<p style="color: #A3BCDA; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 12px; line-height: 1.5; margin: 0; padding: 0;">
<strong><a href="http://boxofjack.com/" style="color: #FDFDFB;">box of Jack</a></strong> is <a href="http://boxofjack.com/about/" style="color: #FDFDFB;">Jack Banh</a> trying to <br>
<a href="http://boxofjack.com/articles/" style="color: #FDFDFB;">write better, write more</a> and find<br>
what excites him most about being alive.<br>
<small style="font-size: 1px; color: #1a3c6a;"> 18ee2665717544fe5b21551f9d9b2eb2</small>
</p>
</td>
</tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://boxofjack.com/articles/2009/09/22/host-your-own-windows-party/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How Reddit does&#160;permalinks</title>
		<link>http://boxofjack.com/articles/2009/09/15/how-reddit-does-permalinks/</link>
		<comments>http://boxofjack.com/articles/2009/09/15/how-reddit-does-permalinks/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 05:49:56 +0000</pubDate>
		<dc:creator>Jack</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[computers]]></category>

		<guid isPermaLink="false">http://boxofjack.com/?p=1495</guid>
		<description><![CDATA[This is essentially a &#8220;nothing&#8221; post. Just something my digging has unearthed, something that was in plain sight all along but somebody out there might be interested. Reddit&#8217;s URLs for comments look like this: http:// www.reddit.com/ r/ [SubredditName]/ comments/ [SubmissionID]/ [SanitizedSubmissionTitle]/ The [SanitizedSubmissionTitle] part is calculated by taking the real title of the submission and...]]></description>
			<content:encoded><![CDATA[<p>This is essentially a &#8220;nothing&#8221; post. Just something my digging has unearthed, something that was in plain sight all along but somebody out there might be interested.</p>

<p>Reddit&#8217;s URLs for comments look like this:</p>

<ul>
<li><code>http://</code></li>
<li><code>www.reddit.com/</code></li>
<li><code>r/</code></li>
<li><code>[SubredditName]/</code></li>
<li><code>comments/</code></li>
<li><code>[SubmissionID]/</code></li>
<li><code>[SanitizedSubmissionTitle]/</code></li>
</ul>

<p>The <code>[SanitizedSubmissionTitle]</code> part is calculated by taking the real title of the submission and applying the following steps so that it makes a sane, search-engine friendly URL.</p>

<ol>
<li>Force the title to only use Unicode characters (this is the step I understand the least)</li>
<li>Replace all white space (tabs, spaces, etc) with underscores</li>
<li>Remove unprintable characters (yes, such things exist)</li>
<li>Remove instance of multiple consecutive underscores</li>
<li>Remove any underscore at the end of the title</li>
<li>Convert the title to all lowercase</li>
<li>Trim the title to the maximum allowed length of 50 characters</li>
<li>If the title was greater than 50 characters, trim the title again, this time to the last word boundary</li>
</ol>

<p>You could say there&#8217;s a flaw in the logic of Step 8 in the case where trimming to 50 characters leaves a whole word occupying the last part of the title. Step 8 would still snip off this last word even though we&#8217;ve got complete words and we&#8217;re under the 50 character limit. But this is just a nitpick and I doubt anyone has ever noticed.</p>
<table border="0" cellpadding="20" cellspacing="0" style="background: #1a3c6a;">
<tr>
<td><img src="http://boxofjack.com/wp-content/themes/bojv10/images/duck.png" height="32" width="250" alt="box of Jack"></td>
<td>
<p style="color: #A3BCDA; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 12px; line-height: 1.5; margin: 0; padding: 0;">
<strong><a href="http://boxofjack.com/" style="color: #FDFDFB;">box of Jack</a></strong> is <a href="http://boxofjack.com/about/" style="color: #FDFDFB;">Jack Banh</a> trying to <br>
<a href="http://boxofjack.com/articles/" style="color: #FDFDFB;">write better, write more</a> and find<br>
what excites him most about being alive.<br>
<small style="font-size: 1px; color: #1a3c6a;"> 18ee2665717544fe5b21551f9d9b2eb2</small>
</p>
</td>
</tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://boxofjack.com/articles/2009/09/15/how-reddit-does-permalinks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Only losers update their&#160;blogs</title>
		<link>http://boxofjack.com/articles/2009/09/14/only-losers-update-their-blogs/</link>
		<comments>http://boxofjack.com/articles/2009/09/14/only-losers-update-their-blogs/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 14:45:26 +0000</pubDate>
		<dc:creator>Jack</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[computers]]></category>

		<guid isPermaLink="false">http://boxofjack.com/?p=1493</guid>
		<description><![CDATA[So I&#8217;ve tried to reduce my time on the Xbox gaming in the hopes of finding the time to start a new pet project. Progress has been slow but things are starting to simmer. Idea #1 was to learn a Radiohead song on the guitar. That got old fast. They need to write easier songs...]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;ve tried to reduce my time on the Xbox gaming in the hopes of finding the time to start a new pet project. Progress has been slow but things are starting to simmer.</p>

<p>Idea #1 was to learn a Radiohead song on the guitar. That got old fast. They need to write easier songs or I need to get better at the guitar.</p>

<p>Idea #2 was to sketch a little more and I&#8217;ve accomplished tiny bits here and there. Mostly, I&#8217;ve been drawing animals on the comment cards at restaurants and leaving them behind for the waitstaff to find. I like to think they get a chuckle out of it but maybe they&#8217;re are all like, &#8220;Aww, looks like that big retard kid had fun. Good tipper, too.&#8221;</p>

<p>Idea #3 was some kind of programming project. The plan right now is to parse and display JSON for <a href="http://reddit.com/">Reddit</a> pages. I&#8217;ve been ridiculously addicted to Reddit lately so it would be fun to play around with some of that data.</p>

<p>My plan is to whip up a quick website in Ruby and <a href="http://camping.rubyforge.org/files/README.html">Camping</a>. Parse the JSON and display it in an iPhone-friendly way. I have serious reservations about a) trying to run Ruby in the shared Dreamhost environment and b) trying to use a micro-framework that has been orphaned by its father. If somebody out there can suggest an alternate super tiny framework that works, I&#8217;d be happy to use it. (As long as its not PHP, I&#8217;m bored of PHP now.)</p>
<table border="0" cellpadding="20" cellspacing="0" style="background: #1a3c6a;">
<tr>
<td><img src="http://boxofjack.com/wp-content/themes/bojv10/images/duck.png" height="32" width="250" alt="box of Jack"></td>
<td>
<p style="color: #A3BCDA; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 12px; line-height: 1.5; margin: 0; padding: 0;">
<strong><a href="http://boxofjack.com/" style="color: #FDFDFB;">box of Jack</a></strong> is <a href="http://boxofjack.com/about/" style="color: #FDFDFB;">Jack Banh</a> trying to <br>
<a href="http://boxofjack.com/articles/" style="color: #FDFDFB;">write better, write more</a> and find<br>
what excites him most about being alive.<br>
<small style="font-size: 1px; color: #1a3c6a;"> 18ee2665717544fe5b21551f9d9b2eb2</small>
</p>
</td>
</tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://boxofjack.com/articles/2009/09/14/only-losers-update-their-blogs/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Three&#160;Devices</title>
		<link>http://boxofjack.com/articles/2009/03/31/three_devices/</link>
		<comments>http://boxofjack.com/articles/2009/03/31/three_devices/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 12:58:21 +0000</pubDate>
		<dc:creator>Jack</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[computers]]></category>

		<guid isPermaLink="false">http://boxofjack.com/?p=1304</guid>
		<description><![CDATA[The data I share between my phone, my laptop and my PC.]]></description>
			<content:encoded><![CDATA[<p>There are three (3) major devices that I use:</p>

<ul>
<li>Personal laptop (an old 15&#8243; MacBook Pro)</li>
<li>Work computer (dual monitor Dell machine, running the <a href="http://www.microsoft.com/windows/windows-7/">Windows 7 Beta</a>)</li>
<li>iPhone 3G</li>
</ul>

<p>I have illustrated this with a professional-looking Venn diagram. You can see the kind of data that I need access to on each of the devices.</p>

<div class="img_wide"><img src="http://boxofjack.com/files/data_device_venn.jpg" alt="data_device_venn" title="data_device_venn" width="500" height="397" class="alignnone size-full wp-image-1308" /></div>

<p>I want to say I use each of these computers for very different things but it&#8217;s not really true. It&#8217;s mostly checking email and dicking about on websites. I attribute three factors that allowed me to justify going multi-device: 1) Web 2.0, 2) Wider adoption of Macs, especially amongst developers and 3) iPhone developer gold rush.</p>

<p><strong>Web 2.0</strong> is a horrible buzzword that has sadly slipped into my vocabulary. I basically mean websites that function like applications do. Things like Gmail, Flickr and Google Reader do the things that desktop apps used to do and they have the added benefit of being accessible from any computer in the world with an internet connection. These days, the website version comes first and then the desktop apps follow later.</p>

<p><strong>Adoption of Macs among developers</strong> is probably a catalyst to the whole Web 2.0 thing. Before, Mac users and Windows users suffered a lot of segregation. They each lived in their own universe of applications and file formats and getting them to talk and share with each other was about as frowned upon as interracial marriage. Nowadays, everybody uses the same frigging websites and they work fine in any major browser. While it&#8217;s still hard to introduce a Mac into an old corporate environment with lots of legacy, Windows-only cruft, you&#8217;ve got a much higher standard of features, interoperability and compatibility.</p>

<p><strong>iPhone developer gold rush</strong> has inspired a lot of big wins for the consumer. Mobile internet only a short while ago was a barren desert going through long periods of drought. Quality was low and applications were either written by hobbyists or the lowest bidder that your phone provider could find. The iTunes App Store has proven quite notably that there is money to be made and customers to be won; Apple solved the chicken and egg problem by building an incredible hype machine and selling a jillion phones. Hence, the gold rush. There&#8217;s actually a bit of Wild West mentality in the App Store, it&#8217;s more of a bazaar where people are churning out all kinds of trivial apps to cash in on all these trigger-happy customers before the App Fatigue (or the economic recession) sets in.</p>

<p>I like all this data convergence that&#8217;s going on. It means I can move between devices without losing access to my data and, more importantly, it means I could move away from devices.</p>
<table border="0" cellpadding="20" cellspacing="0" style="background: #1a3c6a;">
<tr>
<td><img src="http://boxofjack.com/wp-content/themes/bojv10/images/duck.png" height="32" width="250" alt="box of Jack"></td>
<td>
<p style="color: #A3BCDA; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 12px; line-height: 1.5; margin: 0; padding: 0;">
<strong><a href="http://boxofjack.com/" style="color: #FDFDFB;">box of Jack</a></strong> is <a href="http://boxofjack.com/about/" style="color: #FDFDFB;">Jack Banh</a> trying to <br>
<a href="http://boxofjack.com/articles/" style="color: #FDFDFB;">write better, write more</a> and find<br>
what excites him most about being alive.<br>
<small style="font-size: 1px; color: #1a3c6a;"> 18ee2665717544fe5b21551f9d9b2eb2</small>
</p>
</td>
</tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://boxofjack.com/articles/2009/03/31/three_devices/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spam Links Injected Into WordPress&#160;2.7</title>
		<link>http://boxofjack.com/articles/2009/02/09/spam-links-injected-into-wordpress-27/</link>
		<comments>http://boxofjack.com/articles/2009/02/09/spam-links-injected-into-wordpress-27/#comments</comments>
		<pubDate>Mon, 09 Feb 2009 19:07:05 +0000</pubDate>
		<dc:creator>Jack</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[computers]]></category>

		<guid isPermaLink="false">http://boxofjack.com/?p=1186</guid>
		<description><![CDATA[Spammers put invisible links into my Wordpress header. It looks like Dreamhost has been compromised.]]></description>
			<content:encoded><![CDATA[<p><strong>Problem:</strong> My WordPress theme&#8217;s header.php suddenly contained some php code that injected invisible spam links into my blog.</p>

<p><strong>Are you infected?</strong> Visit your blog site and hit View Source. Search for &#8220;display:&#8221; and see if there are any spammy links that occur around the code. Better yet, if you&#8217;re a technical person, you can check the contents of your header.php file. So far, I&#8217;m only seeing this on blogs hosted on Dreamhost.</p>

<p><strong>Solution:</strong> Delete the offending <em>eval</em> line from /wp-content/themes/<em>theme-name</em>/header.php. Delete <strong>/page.php</strong>, <strong>/installed.php</strong>, <strong>/wp-content/wp-manager.php</strong>, <strong>/wp-content/cache.php</strong>. Change your passwords for your blog users, database, hosting, etc. Go to the Dreamhost &#8220;users&#8221; panel and enable <a href="http://wiki.dreamhost.com/Enhanced_User_Security">Enhanced User Security</a>.</p>

<div class="img_wide"><img src="http://boxofjack.com/files/evil-blogspam.gif" alt="evil-blogspam" title="evil-blogspam" width="498" height="755" class="alignnone size-full wp-image-1187" /></div>

<h3>Long Speculation</h3>

<p>You see the part of the image I circled in red? That&#8217;s an eval function followed by a base64_decode. Eval means &#8220;execute the following as if it were PHP code&#8221; and base64_decode means &#8220;convert this crap from <a href="http://en.wikipedia.org/wiki/Base64">Base64 encoding</a> to regular text.&#8221; The file is /wp-content/themes/<em>theme-folder</em>/header.php, a file that is executed on every single page of your blog in order to draw the header. In short, it&#8217;s some compressed code that is injected and executed every time someone loads one of your blog pages.</p>

<p>I noticed it when I started getting Google links from other infected WordPress blogs. I noticed they had these invisible links in their header like:</p>

<blockquote>
  <p>&lt;a href=&ldquo;http://boxofjack.com/page.php?id=buy-shitty-drugs&#8221; style=&ldquo;display: none&#8221;&gt;<br />
  buy drugs<br />
  &lt;/a&gt;</p>
</blockquote>

<p>I thought, it&#8217;s great that I&#8217;m getting links but why the fuck are spammers hacking blogs and linking to my site. Then I realized that my blog was hacked and I got kind of mad.</p>

<p>Two possible options: Either there is a flaw in WordPress 2.7 that caused them to gain access to my shit or my provider, <a href="http://www.dreamhost.com/r.cgi?109132">Dreamhost</a> has been compromised. Given that this is a hack that is designed to infest WordPress installations and I host three blogs but only my most popular one was infected, I&#8217;m going to guess that it is a WordPress-specific bug.</p>

<p>Note that this is <strong>not</strong> from me installing any infected themes. I coded this WordPress theme from scratch, I have backups to prove that it was not infected when I installed it. It happened some time later. I launched this theme on the official WordPress 2.7 release. XML-RPC <strong>is</strong> enabled (yes, I know it&#8217;s a common attack vector but I need it.)</p>

<p>This is not a thorough investigation and it&#8217;s just what I&#8217;ve discovered through poking around on my own website. I haven&#8217;t even bothered to dissect all the shitty code, I just deleted it. I&#8217;m kinda angry at the moment and I hope it wasn&#8217;t something stupid that I did to cause this.</p>

<h3>Update &#8211; Feb 12th @ 12pm</h3>

<p>I&#8217;m pretty certain that this is a Dreamhost-specific problem. All the similar blogs I&#8217;ve seen are running WordPress on Dreamhost. What the fuck, Dreamhost. This is a pretty big issue.</p>
<table border="0" cellpadding="20" cellspacing="0" style="background: #1a3c6a;">
<tr>
<td><img src="http://boxofjack.com/wp-content/themes/bojv10/images/duck.png" height="32" width="250" alt="box of Jack"></td>
<td>
<p style="color: #A3BCDA; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 12px; line-height: 1.5; margin: 0; padding: 0;">
<strong><a href="http://boxofjack.com/" style="color: #FDFDFB;">box of Jack</a></strong> is <a href="http://boxofjack.com/about/" style="color: #FDFDFB;">Jack Banh</a> trying to <br>
<a href="http://boxofjack.com/articles/" style="color: #FDFDFB;">write better, write more</a> and find<br>
what excites him most about being alive.<br>
<small style="font-size: 1px; color: #1a3c6a;"> 18ee2665717544fe5b21551f9d9b2eb2</small>
</p>
</td>
</tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://boxofjack.com/articles/2009/02/09/spam-links-injected-into-wordpress-27/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>My HTML&#160;History</title>
		<link>http://boxofjack.com/articles/2009/01/21/my-html-history/</link>
		<comments>http://boxofjack.com/articles/2009/01/21/my-html-history/#comments</comments>
		<pubDate>Wed, 21 Jan 2009 18:00:51 +0000</pubDate>
		<dc:creator>Jack</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[boxofjack]]></category>
		<category><![CDATA[computers]]></category>

		<guid isPermaLink="false">http://boxofjack.com/?p=1124</guid>
		<description><![CDATA[A 1000-word traipse down a sepia-toned memory lane of HTML.]]></description>
			<content:encoded><![CDATA[<p>I think I&#8217;m going to start using other people&#8217;s blog posts as a launching pad for my own. I&#8217;m really all screwed up about what I want to blog about these days. Or you know, I could just sell out and post photos of women in bikinis all day long.</p>

<p>Anyway, <a href="http://deutlich.wordpress.com/2009/01/20/i-was-such-a-geek/">Deutlich talks about her old BackStreet Boys fansite</a>. It makes me think about the unlikely story (ahem) that led me to where I am today with the web development skills that I have. Allow me this 1000-word traipse down a sepia-toned memory lane of HTML.</p>

<p>Somewhere in the late ninties, I was making pages in <a href="http://en.wikipedia.org/wiki/Netscape_Composer">Netscape Composer</a>, the free WYSIWYG HTML editor that was bundled with the Netscape browser. I think it was actually quite good for its time. Not as whiz-bang as some of the other editors out there but it was a great starter kit and not as evil as trying to create HTML in Microsoft Word.</p>

<p>Being a high schooler, I was a big fan of putting scary red text on black backgrounds. It was pretty badass. Sadly, I had no content. I had a desire to create a form but no associated function. A battle that I still fight to this day. I think I slapped on an email address, a guestbook and maybe a membership to a web ring.</p>

<p>In the year 2000, I moved on to Macromedia Dreamweaver 3. Professional web development software that I obtained through entirely legal means on my vast income of $0.00 per month. It was a step above and I started getting familiar with the code underneath the surface. By now, I had moved on to <a href="http://en.wikipedia.org/wiki/Tripod.com">Tripod</a> for my free webhosting. I think my website was called &#8220;Bullshot&#8221; or something like that. It was pretty much a precursor for every web page I&#8217;ve done since. I used it to bitch about life, bitch about myself, and write stories about my imaginary girlfriend of the time. (Haha! Yeah, Jack is crazy.) I think there were a few parts that were actually well written, if you&#8217;d believe that.</p>

<p>This was the time of what I like to think of as &#8220;manual blogging&#8221;. You copy and paste a previous post you wrote and then edit the title and content manually. Change the file name and upload it back. Update all the other pages so they point to this new page. Viola, new blog post. It was very quaint and repetitive, like churning butter.</p>

<p>2001 and 2002 saw the beginning of the demise of free sites like Geocities, Angelfire and Tripod. They were still free but they started imposing more restrictions like 5MB of space and all sorts of banners, frames and pop-ups. Somehow, I got into the invitational community of the now-deceased DigitalRice.com. Some dude just gave us free hosting on a subdomain and we even had Perl and PHP scripting enabled. I tinkered around with a few different things until I finally discovered version 2.5 of <a href="http://movabletype.com/">Movable Type</a>.</p>

<p>I continued to roll my own HTML code in Dreamweaver and create my own custom themes for Movable Type. I think my site went through 3 or 4 iterations until DigitalRice.com finally shutdown sometime in mid-2003. Supposedly for some sort of re-working of the sites features so we&#8217;d have all new community stuff. It never came back online. I never got my files back. Which was good because that blog had a pretty detailed account of how I got smitten over a girl, invited her to our &#8220;senior prom&#8221; (in Australia, we called it something different), convinced all my nerd friends to get dates, and then was promptly canceled on. But that&#8217;s all behind me and she wasn&#8217;t a very nice person anyway.</p>

<p>Late 2003, I was well into freshman year of college (I can hear my Australian friends cringing as I use these US-centric terms), but it annoyed me no end that my blog was trapped and I couldn&#8217;t get it back. In October 2003, after an impatient 30 days, I signed up for hosting with <a href="http://quost.com.au/">Quost.com.au</a> (check out their logo) and registered <strong>boxofjack dot com</strong>. To this day, I still can&#8217;t give you a good reason for this name. It&#8217;s&#8230; adequate but it&#8217;s not going to win any Blog Title of the Year awards.</p>

<p>Late 2003 was also the time I started paying attention to web standards in a big way. It was in the middle of a big advocacy push and it was really cool to see people share all these techniques about XHTML and CSS. Web designers blogs were full of all these amazing tips and it was just so cool to be on the forefront of something like that. These skills all came in handy when I landed an internship as a web developer in 2005 whilst everything they had so far taught in school was interesting but impractical fluff. Not to say that it shouldn&#8217;t be taught but the real world has a curious tendency to fall very short of the ideal.</p>

<p>So far, I think box of Jack has been through at <em>least</em> 10 different designs, two hosts and three different blogging engines (Movable Type, Typo, WordPress). I was <a href="/articles/2009/01/05/interview-with-a-blogger/">asked what it&#8217;d take to stop me blogging</a> and all I could say was,</p>

<blockquote>
  <p>&#8220;Blogging has been that constant in my life for the longest time because I&#8217;m so connected to the internet. I spend 8 hours a day at a computer and then I go home and spend some more time on my laptop. In between, I use my phone to read the internet.&#8221;</p>
</blockquote>

<p>Sure, my fire has been diluted somewhat with commercialization, Twitter, Tumblr, blog stats, lack of depression, and the sad loss of my imaginary girlfriend but I think I&#8217;ll stick around. Maybe I&#8217;ll finally get that book deal.</p>
<table border="0" cellpadding="20" cellspacing="0" style="background: #1a3c6a;">
<tr>
<td><img src="http://boxofjack.com/wp-content/themes/bojv10/images/duck.png" height="32" width="250" alt="box of Jack"></td>
<td>
<p style="color: #A3BCDA; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 12px; line-height: 1.5; margin: 0; padding: 0;">
<strong><a href="http://boxofjack.com/" style="color: #FDFDFB;">box of Jack</a></strong> is <a href="http://boxofjack.com/about/" style="color: #FDFDFB;">Jack Banh</a> trying to <br>
<a href="http://boxofjack.com/articles/" style="color: #FDFDFB;">write better, write more</a> and find<br>
what excites him most about being alive.<br>
<small style="font-size: 1px; color: #1a3c6a;"> 18ee2665717544fe5b21551f9d9b2eb2</small>
</p>
</td>
</tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://boxofjack.com/articles/2009/01/21/my-html-history/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
