<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel><generator>http://textpattern.com/?v=4.0.6</generator>
<title>makkintosshu</title>
<link>http://www.makkintosshu.com/</link>

<description>[Don't] Trust Your Technolust.</description>
<pubDate>Mon, 09 Nov 2009 13:19:52 GMT</pubDate>

<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/makkintosshu" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item><title>'Why do we have an IMG element?'</title>
<content:encoded><![CDATA[
<p>Mark Pilgrim traces the history of <span class="caps">HTML</span>&#8217;s <code>IMG</code> element:</p>

	<blockquote>
		<p>[&#8230;] all the way back, 17 years, through the Great Browser Wars, all the way back to February 25, 1993, when Marc Andreessen offhandedly remarked, “MIME, someday, maybe,” and then shipped his code anyway.</p>
	</blockquote>

	<p>Right up my alley.</p>

	<p>[Via <a href="http://twitter.com/splorp/status/5394216959">Grant Hutchinson</a>]</p>
<img src="http://feeds.feedburner.com/~r/makkintosshu/~4/SN_zeOX53eQ" height="1" width="1"/>]]></content:encoded>
<link>http://feedproxy.google.com/~r/makkintosshu/~3/SN_zeOX53eQ/why-do-we-have-an-img-element</link>
<pubDate>Tue, 03 Nov 2009 18:00:27 GMT</pubDate>
<dc:creator>Morgan Aldridge</dc:creator>
<guid isPermaLink="false">tag:www.makkintosshu.com,2009-11-03:0a817050d8735a1db061322ded9a450d/6e92a0af023739a02474cc6717916969</guid>

<category>html</category>
<category>internet</category>
<category>history</category>
<category>web</category>
<feedburner:origLink>http://www.makkintosshu.com/hyper/why-do-we-have-an-img-element</feedburner:origLink></item>
<item><title>Automating Countdown Tweets with Bash</title>
<content:encoded><![CDATA[
<p><a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&amp;location=https%3A%2F%2Fwww.amazon.com%2Fs%3Fie%3DUTF8%26redirect%3Dtrue%26ref%255F%3Dsr%255Fnr%255Fp%255F4%255F0%26keywords%3Dmodern%2520warfare%25202%26bbn%3D468642%26qid%3D1257190135%26rnid%3D345753011%26rh%3Dn%253A468642%252Ck%253Amodern%2520warfare%25202%252Cp%255F4%253AACTIVISION&amp;tag=makkintosshu-20&amp;linkCode=ur2&amp;camp=1789&amp;creative=390957">Modern Warfare 2</a> will be out in a few days, so I felt <a href="http://twitter.com/cowardswayout">@cowardswayout</a> should count down to the release day. I could spend a few minutes at some point during each of the next few days—assuming I can remember to—posting a nearly-the-same message to <a href="http://twitter.com/">Twitter</a> or I could automate it. Yeah, better automate.</p>

	<p>In trying to keep my <code>bash</code>-fu hightened, I tossed together the following <code>bash</code> script:</p>

<pre><code>#!/bin/bash
</code>
<code># 
# mw2_countdown
# 
# Post countdown to Modern Warfare 2 release to Twitter every day
# 
</code>
<code>release_year=2009
release_month=11
release_day=10
year=10#$(date +%Y)
month=10#$(date +%m)
day=10#$(date +%d)
username=&#39;cowardswayout&#39;
password=&#39;somethingiwontleakhere&#39;
</code>
<code>if (( $release_year == $year &amp;&amp; $release_month == $month &amp;&amp; $day &lt;= $release_day )); then
	if (( $day == $release_day )); then
		printf -v message &quot;Modern Warfare 2 (http://bit.ly/dQMPz) is out! Go get your copy!&quot;
	else
		printf -v message &quot;Modern Warfare 2 (http://bit.ly/dQMPz) in %s...&quot; $(( $release_day - $day ))
	fi	
	curl -u $username:$password -d status=&quot;$message&quot; http://twitter.com/statuses/update.xml
fi
</code></pre>

	<p>Since I host with Mac OS X Server and am anal about doing things &#8220;The Mac Way&#8221;, I whipped up a <code>launchd</code> job to run it every morning at 1am:</p>

<pre><code>&lt;plist version=&quot;1.0&quot;&gt;
&lt;dict&gt;
	&lt;key&gt;Label&lt;/key&gt;
	&lt;string&gt;com.cowardswayout.mw2_countdown&lt;/string&gt;
	&lt;key&gt;ProgramArguments&lt;/key&gt;
	&lt;array&gt;
		&lt;string&gt;/usr/local/bin/mw2_countdown&lt;/string&gt;
	&lt;/array&gt;
	&lt;key&gt;StartCalendarInterval&lt;/key&gt;
	&lt;dict&gt;  
		&lt;key&gt;Hour&lt;/key&gt;
		&lt;integer&gt;1&lt;/integer&gt;
		&lt;key&gt;Minute&lt;/key&gt;
		&lt;integer&gt;0&lt;/integer&gt;
	&lt;/dict&gt;
&lt;/dict&gt;
&lt;/plist&gt;
</code></pre>

	<p>As you can see, I installed the <code>bash</code> script in <code>/usr/local/bin/mw2_countdown</code> and the <code>launchd</code> job went in <code>/Library/LaunchDaemons/com.cowardswayout.mw2_countdown.plist</code>.</p>

	<p>I changed the permissions so that only <code>root</code> has read/execute access to the <code>bash</code> script, since the Twitter account password is stored in plain text:</p>

<pre><code>sudo chmod 700 /usr/local/bin/mw2_countdown
</code></pre>

	<p>And loaded the <code>launchd</code> job:</p>

<pre><code>sudo launchctl load /Library/LaunchDaemons/com.cowardswayout.mw2_countdown.plist
</code></pre>

	<p>Now I only have to remember to remove the <code>bash</code> script and <code>launchd</code> job sometime after 11/10/09. Naturally, this script can be easily tailored to your own needs.</p>

	<p><strong>Update</strong>: I&#8217;ve updated the script to prepend <code>10#</code> to each call like <code>$(date +%y)</code> to force it to be evaluated as base 10 and also switched from using <code>test</code> (square brackets) to using the correct arithmetic evaluations (double parentheses).</p>
<img src="http://feeds.feedburner.com/~r/makkintosshu/~4/yh2SDZ5GBxw" height="1" width="1"/>]]></content:encoded>
<link>http://feedproxy.google.com/~r/makkintosshu/~3/yh2SDZ5GBxw/automating-countdown-tweets-with-bash</link>
<pubDate>Mon, 02 Nov 2009 20:39:23 GMT</pubDate>
<dc:creator>Morgan Aldridge</dc:creator>
<guid isPermaLink="false">tag:www.makkintosshu.com,2009-11-02:0a817050d8735a1db061322ded9a450d/4fccfa5932c671925c9c8f3148df74dc</guid>

<category>bash</category>
<category>script</category>
<category>twitter</category>
<category>games</category>
<category>call of duty</category>
<category>modern warfare</category>
<category>cowards way out</category>
<feedburner:origLink>http://www.makkintosshu.com/journal/automating-countdown-tweets-with-bash</feedburner:origLink></item>
<item><title>Netflix Coming to PS3</title>
<content:encoded><![CDATA[
<p>I love <a href="http://www.netflix.com/">Netflix</a> on my Xbox 360. Killer app, esp. considering I can pause what I&#8217;m watching and resume it on my MacBook Air. Oh, and browse for and add movies to my Instant Queue from either.</p>

	<p>Now <a href="http://www.netflix.com/NRDInfo/PS3">it&#8217;s coming to the PlayStation 3</a>. Oddly, it&#8217;ll comes on a disc which you can reserve now. Notes about Netflix being &#8220;exclusive&#8221; on the Xbox 360 console are <a href="http://www.xbox.com/netflix">no longer present on Xbox.com</a>.</p>

	<p>I&#8217;d highly consider the PS3 w/Netflix. Blu-ray would be nice. I&#8217;d miss Gears of War &amp; the Xbox 360 controller. It&#8217;d be an even sweeter deal if they hadn&#8217;t <a href="http://www.theregister.co.uk/2009/08/28/sony_ps3_slim_linux_install_loss/">dropped Linux support in the PS3 slim</a>.</p>

	<p>[Via <a href="http://twitter.com/Hicksdesign/status/5170506153">Jon Hicks</a>]</p>
<img src="http://feeds.feedburner.com/~r/makkintosshu/~4/FmTOXJCgMMY" height="1" width="1"/>]]></content:encoded>
<link>http://feedproxy.google.com/~r/makkintosshu/~3/FmTOXJCgMMY/netflix-coming-to-ps3</link>
<pubDate>Mon, 26 Oct 2009 22:45:21 GMT</pubDate>
<dc:creator>Morgan Aldridge</dc:creator>
<guid isPermaLink="false">tag:www.makkintosshu.com,2009-10-26:0a817050d8735a1db061322ded9a450d/5aa3bfb3f0c9ecb488c7727b14adb5ee</guid>

<category>netflix</category>
<category>sony</category>
<category>playstation</category>
<category>ps3</category>
<category>microsoft</category>
<category>xbox 360</category>
<feedburner:origLink>http://www.makkintosshu.com/hyper/netflix-coming-to-ps3</feedburner:origLink></item>
<item><title>Long Live Geocities</title>
<content:encoded><![CDATA[
<p><a href="http://www.archiveteam.org/">Archive Team&#8217;s</a> <a href="http://www.archiveteam.org/index.php?title=Geocities_Project">Project Geocities</a> has been archiving Geocities content under the <a href="http://geociti.es/">geociti.es</a> domain.</p>

	<p>I also archived <a href="http://mirrors.unna.org/www.geocities.com/">Newton-related Geocities sites</a> for <a href="http://www.unna.org/"><span class="caps">UNNA</span></a>.</p>

	<p>[Via <a href="http://newtontalk.net/archive/newtontalk.2009-10/0280.html">NewtonTalk</a>]</p>
<img src="http://feeds.feedburner.com/~r/makkintosshu/~4/XPS5-1azCKU" height="1" width="1"/>]]></content:encoded>
<link>http://feedproxy.google.com/~r/makkintosshu/~3/XPS5-1azCKU/long-live-geocities</link>
<pubDate>Mon, 26 Oct 2009 19:26:00 GMT</pubDate>
<dc:creator>Morgan Aldridge</dc:creator>
<guid isPermaLink="false">tag:www.makkintosshu.com,2009-10-26:0a817050d8735a1db061322ded9a450d/acc3cb5c1607f6effc2ad3835a22e33b</guid>

<category>yahoo</category>
<category>geocities</category>
<category>internet</category>
<category>history</category>
<category>archive</category>
<feedburner:origLink>http://www.makkintosshu.com/hyper/long-live-geocities</feedburner:origLink></item>
<item><title>Geocities is Dead</title>
<content:encoded><![CDATA[
<p>Today is the day. <a href="http://www.yahoo.com/">Yahoo!</a> has shut down <a href="http://www.geocities.com/">Geocities</a>.</p>

	<p>My first web site was hosted on Geocities. It&#8217;s hard to believe it&#8217;s been twelve years (at least, for me).</p>
<img src="http://feeds.feedburner.com/~r/makkintosshu/~4/uCEItFXn9L8" height="1" width="1"/>]]></content:encoded>
<link>http://feedproxy.google.com/~r/makkintosshu/~3/uCEItFXn9L8/geocities-is-dead</link>
<pubDate>Mon, 26 Oct 2009 19:10:27 GMT</pubDate>
<dc:creator>Morgan Aldridge</dc:creator>
<guid isPermaLink="false">tag:www.makkintosshu.com,2009-10-26:0a817050d8735a1db061322ded9a450d/c658fc46b008b3b94509e0abe41aec80</guid>

<category>yahoo</category>
<category>geocities</category>
<category>internet</category>
<category>history</category>
<feedburner:origLink>http://www.makkintosshu.com/hyper/geocities-is-dead</feedburner:origLink></item>
<item><title>Fake AP Stylebook</title>
<content:encoded><![CDATA[
<p><a href="http://twitter.com/fakeapstylebook">@FakeAPStylebook</a>. Choice tweets include:</p>

	<blockquote>
		<p>On first reference, use &#8220;retweeted.&#8221; On subsequent references, you may use &#8220;RTed,&#8221; &#8220;copied&#8221; or &#8220;had nothing original to say.&#8221;</p>
	</blockquote>

	<p>And:</p>

	<blockquote>
		<p>According to our technology writer, &#8220;Disc&#8221; refers to optical media while &#8220;disk&#8221; refers to magnetic media. <span class="caps">NERD</span>.</p>
	</blockquote>

	<p>Not to mention:</p>

	<blockquote>
		<p>While it&#8217;s tempting to call them &#8220;baristi&#8221; because of the Italian roots, the plural of &#8220;barista&#8221; is &#8220;journalism majors.&#8221;</p>
	</blockquote>

	<p>[Via <a href="http://twitter.com/splorp/status/5109452995">Grant Hutchinson</a>] (I&#8217;m not sorry.)</p>
<img src="http://feeds.feedburner.com/~r/makkintosshu/~4/AAv0lNYhE5I" height="1" width="1"/>]]></content:encoded>
<link>http://feedproxy.google.com/~r/makkintosshu/~3/AAv0lNYhE5I/fake-ap-stylebook</link>
<pubDate>Sat, 24 Oct 2009 01:24:33 GMT</pubDate>
<dc:creator>Morgan Aldridge</dc:creator>
<guid isPermaLink="false">tag:www.makkintosshu.com,2009-10-23:0a817050d8735a1db061322ded9a450d/d51e3cf2bc2e258d4010ee7baa50a86b</guid>

<category>twitter</category>
<category>grammar</category>
<category>writing</category>
<category>geek</category>
<feedburner:origLink>http://www.makkintosshu.com/hyper/fake-ap-stylebook</feedburner:origLink></item>
<item><title>First Rule of Twitter</title>
<content:encoded><![CDATA[
<p><a href="http://twitter.com/brentsimmons/status/4903678188">Brent Simmons</a>:</p>

	<blockquote>
		<p>The first rule of Twitter should be: don’t follow celebrities. It only encourages them. Don’t do it.</p>
	</blockquote>

	<p>[Via <a href="http://twitter.com/paulguyot/status/4908961057">Paul Guyot</a>]</p>
<img src="http://feeds.feedburner.com/~r/makkintosshu/~4/IEfD8Z6k6lw" height="1" width="1"/>]]></content:encoded>
<link>http://feedproxy.google.com/~r/makkintosshu/~3/IEfD8Z6k6lw/first-rule-of-twitter</link>
<pubDate>Fri, 16 Oct 2009 11:26:17 GMT</pubDate>
<dc:creator>Morgan Aldridge</dc:creator>
<guid isPermaLink="false">tag:www.makkintosshu.com,2009-10-16:0a817050d8735a1db061322ded9a450d/c940b50ad9c7095567783ad6ca4fe9dc</guid>

<category>twitter</category>
<feedburner:origLink>http://www.makkintosshu.com/hyper/first-rule-of-twitter</feedburner:origLink></item>
<item><title>'Beautiful Newton'</title>
<content:encoded><![CDATA[
<p>A gallery by Grant:</p>

	<blockquote>
		<p>Sensuous technology.<br />
Tactile utility.<br />
Beautiful Newton.</p>
	</blockquote>

	<p>Including <a href="http://www.flickr.com/photos/splorp/galleries/72157622377642232#photo_3951409445">one of my own</a>.</p>

	<p>[Via <a href="http://twitter.com/splorp/status/4844106353">Grant Hutchinson</a>]</p>
<img src="http://feeds.feedburner.com/~r/makkintosshu/~4/Y4HynDGENA4" height="1" width="1"/>]]></content:encoded>
<link>http://feedproxy.google.com/~r/makkintosshu/~3/Y4HynDGENA4/beautiful-newton</link>
<pubDate>Tue, 13 Oct 2009 21:24:14 GMT</pubDate>
<dc:creator>Morgan Aldridge</dc:creator>
<guid isPermaLink="false">tag:www.makkintosshu.com,2009-10-13:0a817050d8735a1db061322ded9a450d/e657e048af4ff933a9fbecd5279606a0</guid>

<category>newton</category>
<category>photography</category>
<category>flickr</category>
<category>grant hutchinson</category>
<category>messagepad</category>
<category>emate</category>
<feedburner:origLink>http://www.makkintosshu.com/hyper/beautiful-newton</feedburner:origLink></item>
<item><title>'Enjoy your retirement, JE7420LHAYL'</title>
<content:encoded><![CDATA[
<p>Eckhart Köppen:</p>

	<blockquote>
		<p>Now it is time to retire this lovely device, and start using its successor, probably one of the last produced MP2100 I bought already quite a while ago. I&#8217;m not sure if it will also see twelve years of service, but you never know.</p>
	</blockquote>

	<p>First, I&#8217;m <em>extremely</em> relieved to hear that Eckhart is still dedicated to the Newton as he&#8217;s one of the few remaining developers. Second, this says so much about the MessagePad 2100 as a whole, hardware and software, which is able to survive 12 years and be set down only for more of the same.</p>
<img src="http://feeds.feedburner.com/~r/makkintosshu/~4/Iea8vcW7YjM" height="1" width="1"/>]]></content:encoded>
<link>http://feedproxy.google.com/~r/makkintosshu/~3/Iea8vcW7YjM/enjoy-your-retirement-je7420lhayl</link>
<pubDate>Wed, 07 Oct 2009 17:33:18 GMT</pubDate>
<dc:creator>Morgan Aldridge</dc:creator>
<guid isPermaLink="false">tag:www.makkintosshu.com,2009-10-07:0a817050d8735a1db061322ded9a450d/c351beb779fae68012dbfc8426921d25</guid>

<category>newton</category>
<category>messagepad</category>
<category>eckhart köppen</category>
<feedburner:origLink>http://www.makkintosshu.com/hyper/enjoy-your-retirement-je7420lhayl</feedburner:origLink></item>
<item><title>'3 Warp Speed Architecture Tales'</title>
<content:encoded><![CDATA[
<p>Bjarke Ingels flies through three stories of beautiful architectural designs during his 2009 <span class="caps">TED</span> Talk. I&#8217;m in awe of the apartment building with inbuilt parking (the second story) where all the apartments have southern exposure. Especially:</p>

	<blockquote>
		<p>And the facade of the parking, we wanted to make the parking naturally ventilated. So we needed to perforate it. And we discovered that by controlling the size of the holes we could actually turn the entire facade into a gigantic, naturally ventilated, rasterized image. and since we always refer to the project as The Mountain, we commissioned this Japanese Himalaya photographer to give us this beautiful photo of Mount Everest, making the entire building a 3,000 square meter artwork.</p>
	</blockquote>

	<p>I love the fact that they, &#8220;cut up the volume, so [they] wouldn&#8217;t block the view from [his] apartment.&#8221; How frequently do architects consider what the view is like from the surrounding buildings? It feels like the majority believe people will be gratified that they&#8217;re looking at the masterpiece in front of them.</p>
<img src="http://feeds.feedburner.com/~r/makkintosshu/~4/9ihLo8wnqDQ" height="1" width="1"/>]]></content:encoded>
<link>http://feedproxy.google.com/~r/makkintosshu/~3/9ihLo8wnqDQ/3-warp-speed-architecture-tales</link>
<pubDate>Thu, 01 Oct 2009 19:16:29 GMT</pubDate>
<dc:creator>Morgan Aldridge</dc:creator>
<guid isPermaLink="false">tag:www.makkintosshu.com,2009-10-01:0a817050d8735a1db061322ded9a450d/d40dff4273fb1b229941e14119a739aa</guid>

<category>architecture</category>
<category>design</category>
<category>ted talk</category>
<category>video</category>
<feedburner:origLink>http://www.makkintosshu.com/hyper/3-warp-speed-architecture-tales</feedburner:origLink></item></channel>
</rss>
