<?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>The Daily Anvil</title>
	<atom:link href="http://blog.thedailyanvil.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://blog.thedailyanvil.com</link>
	<description></description>
	<lastBuildDate>Sun, 29 Aug 2010 01:06:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Bam!</title>
		<link>http://blog.thedailyanvil.com/?p=461</link>
		<comments>http://blog.thedailyanvil.com/?p=461#comments</comments>
		<pubDate>Mon, 23 Aug 2010 18:52:57 +0000</pubDate>
		<dc:creator>byron</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[for sale]]></category>
		<category><![CDATA[hard drive]]></category>
		<category><![CDATA[the shop]]></category>
		<category><![CDATA[u of t]]></category>

		<guid isPermaLink="false">http://blog.thedailyanvil.com/?p=461</guid>
		<description><![CDATA[It&#8217;s pretty hard to get excited about hard drives. Magnetic media&#8217;s most reliable trick is that it keeps getting bigger; solid state on the other hand is obliterating every bench mark out there, but remains expensive per gigabyte. Fortunately, something has come along to fill the gap.

Seagate&#8217;s Momentus XT is awesome and we&#8217;ve got some.
]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s pretty hard to get excited about hard drives. Magnetic media&#8217;s most reliable trick is that it keeps getting bigger; solid state on the other hand is obliterating every bench mark out there, but remains expensive per gigabyte. Fortunately, something has come along to fill the gap.</p>
<p><img class="alignnone" title="Bam!" src="http://img.photobucket.com/albums/v483/altbyron/momentus_xt_magic_320x340.png" alt="" width="320" height="340" /></p>
<p>Seagate&#8217;s Momentus XT is <a href="http://www.anandtech.com/show/3734/seagates-momentus-xt-review-finally-a-good-hybrid-hdd">awesome</a> and <a href="http://www.uoftbookstore.com/online/computer_shop.ihtml">we&#8217;ve got some</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thedailyanvil.com/?feed=rss2&amp;p=461</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>It&#8217;s a Follow-Up Post</title>
		<link>http://blog.thedailyanvil.com/?p=456</link>
		<comments>http://blog.thedailyanvil.com/?p=456#comments</comments>
		<pubDate>Mon, 28 Jun 2010 03:59:46 +0000</pubDate>
		<dc:creator>byron</dc:creator>
				<category><![CDATA[Politics]]></category>
		<category><![CDATA[argh]]></category>
		<category><![CDATA[g20]]></category>
		<category><![CDATA[here be dragons]]></category>
		<category><![CDATA[rhetoric]]></category>

		<guid isPermaLink="false">http://blog.thedailyanvil.com/?p=456</guid>
		<description><![CDATA[I&#8217;m eating my words all right. What happened over the weekend still doesn&#8217;t seem in step with reality, but for a different reason now. Why? Why why why? The videos show people running up to windows, taking three swings with a baseball bat and then retreating into a crowd. Another clip shows someone trying to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m <a href="http://blog.thedailyanvil.com/?p=447">eating my words all right</a>. What happened over the weekend still doesn&#8217;t seem in step with reality, but for a different reason now. Why? Why why why? The <a href="http://www.youtube.com/user/TorontoG20Summit">videos</a> show people running up to windows, taking three swings with a baseball bat and then retreating into a crowd. Another clip shows someone trying to launch a newspaper box through a window. Really?</p>
<p>This isn&#8217;t practical, it doesn&#8217;t get out the right message. The message we hear isn&#8217;t &#8220;save the whales&#8221; or &#8220;feed the starving&#8221; or anything useful. Those messages just become footnotes, and the real protesters have a lot to be upset about. This weekend, the medium was the message, and was ugly.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thedailyanvil.com/?feed=rss2&amp;p=456</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Showdown</title>
		<link>http://blog.thedailyanvil.com/?p=447</link>
		<comments>http://blog.thedailyanvil.com/?p=447#comments</comments>
		<pubDate>Fri, 04 Jun 2010 02:29:43 +0000</pubDate>
		<dc:creator>byron</dc:creator>
				<category><![CDATA[Politics]]></category>
		<category><![CDATA[argh]]></category>
		<category><![CDATA[g20]]></category>
		<category><![CDATA[here be dragons]]></category>
		<category><![CDATA[rhetoric]]></category>
		<category><![CDATA[the shop]]></category>

		<guid isPermaLink="false">http://blog.thedailyanvil.com/?p=447</guid>
		<description><![CDATA[A week or two ago we were told not to come to work during G20 summit: the shop and most of the campus would be closed those days due to our close proximity to the protests scheduled at Queen&#8217;s Park. This seemed strange at first. Protests in Toronto are regular enough after all, and if [...]]]></description>
			<content:encoded><![CDATA[<p>A week or two ago we were told not to come to work during G20 summit: the shop and most of the campus would be closed those days due to our close proximity to the protests scheduled at Queen&#8217;s Park. This seemed strange at first. Protests in Toronto are regular enough after all, and if organized well, usually peaceful. Granted, something polarizing like the G20 is probably going to draw a larger crowd, but surely&#8211;</p>
<p><a href="http://www.theglobeandmail.com/news/world/g8-g20/show-of-force/article1591077/">Oh man</a>.</p>
<p>I&#8217;m not sure that the over-the-top security measures are really in step with reality. Maybe a month from now I&#8217;ll be eating those words, but right now it looks like they&#8217;re expecting a city-wide riot. What&#8217;s more terrifying: the idea of local law enforcement gearing up for a small war, or the possibility that it might all be necessary? Or maybe it&#8217;s self-perpetuating, I don&#8217;t know. The rhetoric from Star and Globe commenters is wearing thin too, though this is true for most stories (conspiracy theorists are particularly well-represented on G20 stories).</p>
<p>Above all the noise of dissenting opinions, I just hope the G20 passes uneventfully. Peaceful protests are one of those things that make Canada great; the right to yell through a megaphone without fear of arrest or martial law is something not all nations enjoy. I think it loses some of its relevance though once you see people being carried away on stretchers; does the us versus them mentality begin to upstage the actual issues? It&#8217;s not a rhetorical question, I really don&#8217;t know.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thedailyanvil.com/?feed=rss2&amp;p=447</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Employment 2.0: Business Owner</title>
		<link>http://blog.thedailyanvil.com/?p=429</link>
		<comments>http://blog.thedailyanvil.com/?p=429#comments</comments>
		<pubDate>Thu, 21 Jan 2010 03:39:04 +0000</pubDate>
		<dc:creator>byron</dc:creator>
				<category><![CDATA[Stuff]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[the shop]]></category>
		<category><![CDATA[u of t]]></category>

		<guid isPermaLink="false">http://blog.thedailyanvil.com/?p=429</guid>
		<description><![CDATA[So this is weird. I own one third of a business.
Back in June of 2009, the repair shop that had employed me for the better part of nine years folded. For some this was good news, for some this was expected, and for the formerly employed this was very sudden (we had in fact just [...]]]></description>
			<content:encoded><![CDATA[<p>So this is weird. I own one third of a business.</p>
<p>Back in June of 2009, the repair shop that had employed me for the better part of nine years folded. For some this was good news, for some this was expected, and for the formerly employed this was very sudden (we had in fact just hired a new technician when the news hit). Repair shops tend to have a very polarized client base: some love you, some hate you, and both are usually deserved at some point. Still, myself and the core group of technicians tried our best to make it the most kick-ass Mac repair shop in Toronto, and while there were certainly challenges to overcome (that&#8217;s putting it politely), I feel like we succeeded to a degree. Diagnosed by the next business day? Check. Earn Apple&#8217;s Top 5% plaque? Check. Make every single person happy?</p>
<p>Well, there&#8217;s the point about a very polarized client base, but the number of happy people well outstripped the the unhappy. I never wanted to work in the sort of service centres they portray on TV or in Dilbert comics, or god forbid the actual real life service centres they&#8217;re satirizing. You&#8217;ve probably seen these, where workers and customers are bitter enemies struggling for dominion and witty remarks. No, we wanted to be awesome. The service industry is unforgiving, so believe me when I say that life is much more pleasant when you&#8217;re sending people home happy rather than cursing your name.</p>
<p>So as you can imagine, not being employed put a bit of a kink in things &#8212; but we got better.</p>
<p>This week, myself and two colleagues became self-employed. We opened our Mac repair business in the University of Toronto&#8217;s Campus Computer Shop inside the downtown Koffler Centre, taking over the repair operations from the former staff. Our philosophy is the same as ever: be awesome, make people happy. As expected, there will be hiccups as we get going, but so far we&#8217;re pretty happy with the first few days. So, tell all your friends, and even a few strangers! Despite the shop&#8217;s name, our scope is not limited to U of T students and faculty, so anyone at all is welcome to drop off their grievances with us. Ideally you&#8217;ll get something nicer back.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thedailyanvil.com/?feed=rss2&amp;p=429</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>SwipeHead</title>
		<link>http://blog.thedailyanvil.com/?p=423</link>
		<comments>http://blog.thedailyanvil.com/?p=423#comments</comments>
		<pubDate>Thu, 07 Jan 2010 04:36:59 +0000</pubDate>
		<dc:creator>byron</dc:creator>
				<category><![CDATA[dev]]></category>
		<category><![CDATA[for sale]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[swipehead]]></category>
		<category><![CDATA[xcode]]></category>

		<guid isPermaLink="false">http://blog.thedailyanvil.com/?p=423</guid>
		<description><![CDATA[Most of us, at some point, will apply a label of sorts to ourselves. Are we teachers, rocket surgeons, hippies, nihilists, or maybe middle-aged? A single label rarely suffices, and I&#8217;ve gone through a few myself. I&#8217;ve alleged myself to be a musician, a coder, a technician, a writer (hah), and had a few other [...]]]></description>
			<content:encoded><![CDATA[<p>Most of us, at some point, will apply a label of sorts to ourselves. Are we teachers, rocket surgeons, hippies, nihilists, or maybe middle-aged? A single label rarely suffices, and I&#8217;ve gone through a few myself. I&#8217;ve alleged myself to be a musician, a coder, a technician, a writer (hah), and had a few other stints. There&#8217;s a common thread here: I like making things. With that out of the way, in the middle of December I helped to make this:</p>
<p><a href="http://blog.thedailyanvil.com/wp-content/uploads/2010/01/swipehead.png"><img class="aligncenter size-medium wp-image-424" title="swipehead" src="http://blog.thedailyanvil.com/wp-content/uploads/2010/01/swipehead-169x300.png" alt="" width="169" height="300" /></a>This is <a href="http://www.itunes.com/apps/swipehead">SwipeHead</a>, a sort of hybrid puzzle game for the iPhone and iPod touch. I&#8217;d explain how it works, but figuring that out is one of the more satisfying puzzles. It reminds me a bit of old LucasArts adventure games in which a challenge would be posed and various tools offered, but after that it was up to the player and their wits. SwipeHead, likewise, is meant to have an intuitive learning curve and once it gets going, is very enjoyable.</p>
<p>Though I might seem to be trumpeting my own horn, the real kudos go to the game designer, Leanne, over at Wizkeit Games, who designed and produced the whole thing. For my own part, it&#8217;s humbling to see my code executing on other devices and available on the iTunes Store. I know there iTunes Store is a pretty saturated market these days, but it doesn&#8217;t detract one bit from the glee. More horn trumpeting yet: it was accepted on the first submission, which Leanne and I were told doesn&#8217;t happen often.</p>
<p>If you&#8217;re looking for a unique experience among the many app clones on the iTunes Store, give <a href="http://www.itunes.com/apps/swipehead">SwipeHead</a> a try. When I first saw the design documents, it wasn&#8217;t one bit like any other puzzle game I saw out there, and remains so even post-release. Though only a mere $0.99, there&#8217;s a <a href="http://www.itunes.com/apps/swipeheadfree">free version</a> as well to whet your appetite.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thedailyanvil.com/?feed=rss2&amp;p=423</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>[UIImage imageNamed:]</title>
		<link>http://blog.thedailyanvil.com/?p=399</link>
		<comments>http://blog.thedailyanvil.com/?p=399#comments</comments>
		<pubDate>Thu, 10 Dec 2009 19:33:14 +0000</pubDate>
		<dc:creator>byron</dc:creator>
				<category><![CDATA[dev]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[snippet]]></category>
		<category><![CDATA[xcode]]></category>

		<guid isPermaLink="false">http://blog.thedailyanvil.com/?p=399</guid>
		<description><![CDATA[UIImage *myImage = [UIImage imageNamed:@"pony.png"];
This is probably one of the most convenient methods I&#8217;ve ever come across. Feed it a name and it will return an image. Better yet, it handles caching for you automatically so that you don&#8217;t have to. Notice something about it though? There&#8217;s no alloc, meaning you shouldn&#8217;t call release. If [...]]]></description>
			<content:encoded><![CDATA[<pre>UIImage *myImage = [UIImage imageNamed:@"pony.png"];</pre>
<p>This is probably one of the most convenient methods I&#8217;ve ever come across. Feed it a name and it will return an image. Better yet, it handles caching for you automatically so that you don&#8217;t have to. Notice something about it though? There&#8217;s no alloc, meaning you shouldn&#8217;t call release. If you can&#8217;t call release, how do you get your memory back? This isn&#8217;t a big deal when using Mac OS X&#8217;s older brother, NSImage, since your average computer these days ships with several gigabytes of memory as opposed to the paltry 25MB or so that most iPhone apps are limited to. If you&#8217;re dealing with a lot of images on the iPhone though, this hands-off caching approach is going to cause problems.</p>
<p>The first obvious solution is to just avoid the convenience method and manually alloc and load each image with its full path:</p>
<p><code>UIImage *myImg = [[UIImage alloc] initWithContentsOfFile:[NSString stringWithFormat:@"%@/pony.png", [[NSBundle mainBundle] bundlePath]]];</code></p>
<p>That&#8217;s not awful for loading an image or two, but if you&#8217;re going to load many images, why not encapsulate this in something more elegant? Since such a method would be useful application-wide, it furthermore makes sense for the method to exist in its own application-wide class, rather than just stuffing the method willy-nilly into whatever class you&#8217;re working in. Actually, if you&#8217;re going to go to the trouble of creating a new class just for a convenience method, why not make it do other neat things? <span id="more-399"></span></p>
<pre>// ImageServer.h

#import

@interface ImageServer : NSObject {

     NSMutableArray *imgArray;
     NSMutableArray *nameArray;
}

- (UIImage *)imageNamed:(NSString *)name;

@end</pre>
<p>And:</p>
<pre>// ImageServer.m

- (id)init
{

     if(self = [super init])
     {
          imgArray = [[NSMutableArray alloc] initWithCapacity:0];
          nameArray = [[NSMutableArray alloc] initWithCapacity:0];
     }

     return self;
}

- (UIImage *)imageNamed:(NSString *)name
{
     for(int i = 0; i &lt; [imgArray count]; i++)
     {
          if([[nameArray objectAtIndex:i] isEqualToString:name])
               return [imgArray objectAtIndex:i];
     }

     UIImage *newImg = [[UIImage alloc] initWithContentsOfFile:[NSString stringWithFormat:@"%@/%@", [[NSBundle mainBundle] bundlePath], name]];
     if(!newImg)
          return NULL;
     [imgArray addObject:newImg];
     [nameArray addObject:name];
     [newImg release];

     return [imgArray lastObject];
}

- (void)dealloc
{
     [imgArray removeAllObjects];
     [imgArray release];
     [nameArray removeAllObjects];
     [nameArray release];
     [super dealloc];
}

@end</pre>
<p>So, what&#8217;s going on here? Well, you begin by allocating an ImageServer object, and then using it to grab images:</p>
<pre>ImageServer *images = [[ImageServer alloc] init];
UIImage *myImage = [images imageNamed:@"pony.png"];</pre>
<p>The second call should look familiar. Why not create a singleton though, would that not be less crude than allocating an object to&#8230; allocate more objects? Perhaps, but it&#8217;s worth examining what exactly the [ImageServer imageNamed:] method does. Each time the ImageServer instance loads a new image, it adds the name and image to the appropriate arrays; if the same image name is requested a second time, the ImageServer class can look it up and return the associated image, only allocating a new one if nothing is found. The reason this approach would fail as a singleton class is because doing so would defeat the whole purpose of writing this custom class, which is to have greater control over memory management.</p>
<p>In this non-exotic form, each UIViewController can allocate its own ImageServer, each of which maintains its own cache of images. When the UIViewController releases its ImageServer object, all of the cached data is flushed with it and your app regains that memory. If you want to flush the object but keep a certain image, it&#8217;s as easy as sending the image in question a retain message. ImageServers belonging to other UIViewControllers are unaffected however, meaning that the rest don&#8217;t have to reload their entire cache because everything was just thrown out.</p>
<p>As far as custom class solutions go, this is a very lightweight, simple solution. There are far more powerful, complex versions of essentially the same thing out there, but the important thing is it gets the job done, and it&#8217;s very extensible.</p>
<p><strong>Addendum: Those with a bit more Cocoa know-how have probably realized that the code size can be cut down significantly by replacing the two NSMutableArrays with an NSMutableDictionary. The class is provided as-is in order to explicitly show what&#8217;s going on, but really, it could be more concise.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thedailyanvil.com/?feed=rss2&amp;p=399</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Hey Dave!</title>
		<link>http://blog.thedailyanvil.com/?p=393</link>
		<comments>http://blog.thedailyanvil.com/?p=393#comments</comments>
		<pubDate>Wed, 16 Sep 2009 18:17:36 +0000</pubDate>
		<dc:creator>byron</dc:creator>
				<category><![CDATA[Stuff]]></category>
		<category><![CDATA[nuit blanche]]></category>

		<guid isPermaLink="false">http://blog.thedailyanvil.com/?p=393</guid>
		<description><![CDATA[Hey Dave! is a social experiment/exhibit/event being run by some good friends of mine at Nuit Blanche. If you know Dave (or especially if you don&#8217;t), mark October 3rd on your calendar and go visit him at Bay and Queen Street.
]]></description>
			<content:encoded><![CDATA[<p><em><a href="http://dave.thedailyanvil.com/">Hey Dave!</a></em> is a social experiment/exhibit/event being run by some good friends of mine at <a href="http://www.scotiabanknuitblanche.ca/">Nuit Blanche</a>. If you know Dave (or especially if you don&#8217;t), mark October 3rd on your calendar and go visit him at Bay and Queen Street.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thedailyanvil.com/?feed=rss2&amp;p=393</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Move Over Tic Tacs</title>
		<link>http://blog.thedailyanvil.com/?p=384</link>
		<comments>http://blog.thedailyanvil.com/?p=384#comments</comments>
		<pubDate>Sat, 12 Sep 2009 22:19:34 +0000</pubDate>
		<dc:creator>byron</dc:creator>
				<category><![CDATA[Stuff]]></category>
		<category><![CDATA[rhetoric]]></category>

		<guid isPermaLink="false">http://blog.thedailyanvil.com/?p=384</guid>
		<description><![CDATA[Now, I&#8217;m not the sort of person that goes out and buys a giant screw driver set on a whim, but this weekend I had need for three uncommon drivers. Thus, it was off to the hardware store, that special place where you can find gardening tools and chain-saws under the same roof. The most [...]]]></description>
			<content:encoded><![CDATA[<p>Now, I&#8217;m not the sort of person that goes out and buys a giant screw driver set on a whim, but this weekend I had need for three uncommon drivers. Thus, it was off to the hardware store, that special place where you can find gardening tools and chain-saws under the same roof. The most important driver, a phillips 00, usually only comes as part of a larger set and in this regard I get pretty lucky: a 75-piece driver set on sale for $35. To put this into perspective, a respectable screw driver tends to retail for $5-10 on its own. Phillips 00? Check. Torx T8? Check. Hex drivers? Check, and we&#8217;re done.</p>
<p>Here&#8217;s where it gets crazy. On my way to the register I pass another box, this one almost identical save for that it has <strong>95</strong> pieces and it&#8217;s not on sale. Instead of doing the rational thing and laughing my way past it, I stop and begin to wonder if this larger set is a better deal. Sure, it costs more, but it has more tools, and it&#8217;s favourable to grabbing the (marginally) smaller kit and topping it up with twenty more tools at $5 apiece. Wait! There&#8217;s a problem: I only need three screw drivers. What good are twenty extra tools that I <em>don&#8217;t actually need?</em> Maybe I&#8217;ll build a rocket ship one day and need a reverse-robertson 2.8x wireless hammer, but that&#8217;s still nineteen rocket hammers short of a good deal unless I actually end up using every piece.</p>
<p>Fortunately the madness passed and I left with the smaller set, but I had to wonder: what sort of person impulse-buys a 95-piece screw driver set?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thedailyanvil.com/?feed=rss2&amp;p=384</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Snow Leopard: Defeated</title>
		<link>http://blog.thedailyanvil.com/?p=373</link>
		<comments>http://blog.thedailyanvil.com/?p=373#comments</comments>
		<pubDate>Sat, 29 Aug 2009 02:32:30 +0000</pubDate>
		<dc:creator>byron</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[*nix]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[batman]]></category>
		<category><![CDATA[hard drive]]></category>

		<guid isPermaLink="false">http://blog.thedailyanvil.com/?p=373</guid>
		<description><![CDATA[After spending years professionally beating irrational computers into acting rationally again, it&#8217;s a humbling experience to almost get beaten by a simple software update. That&#8217;s not to say software updates are without their eccentricities, but you can at least count on the problems to begin either after the software has finished installing, or right in [...]]]></description>
			<content:encoded><![CDATA[<p>After spending years professionally beating irrational computers into acting rationally again, it&#8217;s a humbling experience to almost get beaten by a simple software update. That&#8217;s not to say software updates are without their eccentricities, but you can at least count on the problems to begin either after the software has finished installing, or right in the middle (ideally at a critical and irrecoverable point). It&#8217;s not often that problems begin before the installation takes place, or so I thought until I was staring down Snow Leopard&#8217;s missive that &#8220;You cannot install Mac OS X on this volume.&#8221;</p>
<p>&#8220;Can&#8217;t, or won&#8217;t?&#8221; I thought, in my best <a href="http://en.wikipedia.org/wiki/Kevin_Conroy">Kevin Conroy</a> voice.</p>
<p>The problem, it turns out, is somehow related to the destination drive&#8217;s partition map, about which a few theories are being floated by others who have been affected. I hear you, PowerPC veterans, exclaiming &#8220;Of course! He must have an Apple Partition Table. How 2006.&#8221; Not so fast: the issue affects the requisite GUID Partition Table, and while there seems to be a few different causes, you&#8217;re more likely to run into this problem if you&#8217;ve chopped up your hard drive for a dual or multi-boot machine, or say <a href="http://blog.thedailyanvil.com/?p=282">installed Fedora</a> and added a 2GB swap partition.</p>
<p>At least the solution is simple: pop open Disk Utility and resize your destination partition a couple times. Whatever the reason, most users are back in business after this digital flexing. My computer understands that I&#8217;ve made a profession out of fixing far worse nightmares, and would have none of this quick fix nonsense. Disk Utility managed to ratchet up the difficulty level by arbitrarily hating the ext3 file system upon which Fedora was installed, and crashed whenever asked to modify the partition map.</p>
<p>My computer forgets who its dealing with: someone who keeps a full back up and isn&#8217;t afraid to erase the partition map. Long story short, the software is installed.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thedailyanvil.com/?feed=rss2&amp;p=373</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Media Clouds</title>
		<link>http://blog.thedailyanvil.com/?p=348</link>
		<comments>http://blog.thedailyanvil.com/?p=348#comments</comments>
		<pubDate>Mon, 17 Aug 2009 22:17:52 +0000</pubDate>
		<dc:creator>byron</dc:creator>
				<category><![CDATA[Stuff]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[news media]]></category>
		<category><![CDATA[rhetoric]]></category>
		<category><![CDATA[wordle]]></category>

		<guid isPermaLink="false">http://blog.thedailyanvil.com/?p=348</guid>
		<description><![CDATA[It&#8217;s time. In my last post I mentioned Danny&#8217;s discovery of Wordle, and after playing around with it for a few minutes I started wondering what would happen if you fed a whole news site at it. Would it be possible to quantify how much attention a story gets? Better yet, would it be possible [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s time. In my last post I mentioned Danny&#8217;s discovery of <a href="http://www.wordle.net/">Wordle</a>, and after playing around with it for a few minutes I started wondering what would happen if you fed a whole news site at it. Would it be possible to quantify how much attention a story gets? Better yet, would it be possible to quantify the <em>language</em> used by different media sites if they all ran similar stories and you could compare the coverage? What type of stories does a news site prefer over its competitor?</p>
<p>Wordle may not be able to answer these questions, but perhaps it will provide a starting point. Wordle&#8217;s function is to absorb whatever text you throw at it, determine what words appear the most, and then create something that is at once pleasing to the eye, and full of useful information. Words that get repeated are made proportionally bigger, and since we&#8217;re visual creatures, the results may speak louder than a simple word count.</p>
<p>Of course, the news doesn&#8217;t stand still, so it trying to find answers from only a single day of stories would be inaccurate. Using five days worth of material would be better, and though it would probably be better still to take a whole year worth of samples (slightly difficult with the constant 24-hour news cycle), five days seemed like a sane way to start before committing to a schedule of daily copy-and-pastes. The following are tag clouds generated from five days worth of news site front pages, July 13th, 14th, 16th, 21st, and 23rd. <span id="more-348"></span></p>
<div id="attachment_350" class="wp-caption aligncenter" style="width: 840px"><a href="http://news.bbc.co.uk/"><img class="size-full wp-image-350" title="http://news.bbc.co.uk/" src="http://blog.thedailyanvil.com/wp-content/uploads/2009/08/bbc.png" alt="http://news.bbc.co.uk/" width="830" height="540" /></a><p class="wp-caption-text">http://news.bbc.co.uk/</p></div>
<div id="attachment_351" class="wp-caption aligncenter" style="width: 840px"><a href="http://www.cnn.com/"><img class="size-full wp-image-351" title="http://www.cnn.com/" src="http://blog.thedailyanvil.com/wp-content/uploads/2009/08/cnn.png" alt="http://www.cnn.com/" width="830" height="540" /></a><p class="wp-caption-text">http://www.cnn.com/</p></div>
<div id="attachment_352" class="wp-caption aligncenter" style="width: 840px"><a href="http://www.foxnews.com/"><img class="size-full wp-image-352" title="http://www.foxnews.com/" src="http://blog.thedailyanvil.com/wp-content/uploads/2009/08/fox.png" alt="http://www.foxnews.com/" width="830" height="540" /></a><p class="wp-caption-text">http://www.foxnews.com/</p></div>
<div id="attachment_353" class="wp-caption aligncenter" style="width: 840px"><a href="http://www.theglobeandmail.com/"><img class="size-full wp-image-353" title="http://www.theglobeandmail.com/" src="http://blog.thedailyanvil.com/wp-content/uploads/2009/08/globeandmail.png" alt="http://www.theglobeandmail.com/" width="830" height="540" /></a><p class="wp-caption-text">http://www.theglobeandmail.com/</p></div>
<div id="attachment_354" class="wp-caption aligncenter" style="width: 840px"><a href="http://news.google.com/"><img class="size-full wp-image-354" title="http://news.google.com/" src="http://blog.thedailyanvil.com/wp-content/uploads/2009/08/google.png" alt="http://news.google.com/" width="830" height="540" /></a><p class="wp-caption-text">http://news.google.com/</p></div>
<div id="attachment_355" class="wp-caption aligncenter" style="width: 840px"><a href="http://www.thestar.com/"><img class="size-full wp-image-355" title="http://www.thestar.com/" src="http://blog.thedailyanvil.com/wp-content/uploads/2009/08/star.png" alt="http://www.thestar.com/" width="830" height="540" /></a><p class="wp-caption-text">http://www.thestar.com/</p></div>
<div id="attachment_356" class="wp-caption aligncenter" style="width: 840px"><a href="http://www.torontosun.com/"><img class="size-full wp-image-356" title="http://www.torontosun.com/" src="http://blog.thedailyanvil.com/wp-content/uploads/2009/08/sun.png" alt="http://www.torontosun.com/" width="830" height="540" /></a><p class="wp-caption-text">http://www.torontosun.com/</p></div>
<p style="text-align: left;">It may seem redundant to caption these, what with CNN&#8217;s tag cloud proclaiming itself so loudly, but look again at Google&#8217;s news aggregator and guessing becomes a bit more difficult: we&#8217;ve got words like <em>washington</em> suspiciously close to <em>post,</em> or <em>new, york,</em> and <em>times</em> swirling about, and links to a half-dozen other sources. It makes sense, since it&#8217;s an aggregator, but good lucking guessing whose without the caption.</p>
<p style="text-align: left;">There are plenty of things to be interested about. I tried to match each tag cloud&#8217;s colour scheme to that of its parent website, and it turns out that black and white and red all over is popular, with the occasional hint of blue. Here I was thinking that the Toronto Sun had nothing in common with the Globe and Mail, but there they are agreeing on something. Also of interest is that the BBC&#8217;s website displays more international sections on its front page than any of the other sites. Whereas many websites have a <em>world</em> section, the BBC&#8217;s website and tag cloud list Africa, Americas, Asia-Pacific, Europe, Middle East, and South Asia at the very front.</p>
<p style="text-align: left;">As for favoured stories? Obama, Sotomayor, and Jackson get plenty of attention on CNN and Fox&#8217;s front page (despite the latter being three weeks deceased at the time), yet these three barely register on the Canadian sites&#8217; tag clouds. Is this because the stories weren&#8217;t covered as much by the Canadian sites, or was it because the Canadian sites varied their stories enough to suppress any from rising to the top? Or, do CNN and Fox vary their coverage just as often, but also put more stories on their front page? Another puzzle is the Globe and Mail&#8217;s tag cloud, which at first glance looks mostly like titles and headers with little story content. Is this another case of wide variety in content, or another case of little content to begin with?</p>
<p style="text-align: left;">Well, get analysing!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thedailyanvil.com/?feed=rss2&amp;p=348</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
