<?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>photon[0] &#187; hack</title>
	<atom:link href="http://photonzero.com/blog/category/hack/feed/" rel="self" type="application/rss+xml" />
	<link>http://photonzero.com/blog</link>
	<description>let light = true</description>
	<lastBuildDate>Tue, 04 May 2010 23:18:17 +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>Programming and Design</title>
		<link>http://photonzero.com/blog/2009/02/19/programming-and-design/</link>
		<comments>http://photonzero.com/blog/2009/02/19/programming-and-design/#comments</comments>
		<pubDate>Fri, 20 Feb 2009 07:49:44 +0000</pubDate>
		<dc:creator>Barak</dc:creator>
				<category><![CDATA[facebook]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[livejournal]]></category>
		<category><![CDATA[personal]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[test]]></category>

		<guid isPermaLink="false">http://photonzero.com/blog/?p=74</guid>
		<description><![CDATA[Quick note&#8230; personally, I&#8217;m coming to see that good programmers need also have some measure of designer in them. While there is a sense of art in the constructs of the code, tonight I&#8217;m talking on a purely visual level.

Most of the time, my little hacks are command line apps, without much flash. But lately [...]]]></description>
			<content:encoded><![CDATA[<p>Quick note&#8230; personally, I&#8217;m coming to see that good programmers need also have some measure of designer in them. While there is a sense of art in the constructs of the code, tonight I&#8217;m talking on a purely visual level.</p>

<p>Most of the time, my little hacks are command line apps, without much flash. But lately I find myself doing more and more artsy side-projects.</p>

<p>Aside from my one at work (which is pretty cool!), I&#8217;ve been working on writing a Getting Things Done webapp here at home. I named it Sencha after my favorite green tea at Samovar, and the time when I feel most in charge of things.</p>

<p>After designing and implementing the data model, I&#8217;m now spending some time on the interface.  I sketched this on the BART to work a few days ago. Tonight I finally got to a stage where I&#8217;m seeing some resemblance!</p>


<a href='http://photonzero.com/blog/2009/02/19/programming-and-design/senchasketch/' title='senchasketch'><img width="150" height="150" src="http://photonzero.com/blog/wp-content/uploads/2009/02/senchasketch-150x150.jpg" class="attachment-thumbnail" alt="" title="senchasketch" /></a>
<a href='http://photonzero.com/blog/2009/02/19/programming-and-design/senchapreview/' title='senchapreview'><img width="150" height="150" src="http://photonzero.com/blog/wp-content/uploads/2009/02/senchapreview-150x150.jpg" class="attachment-thumbnail" alt="" title="senchapreview" /></a>


<p>It&#8217;s just weird that it&#8217;s a role I&#8217;d never thought I&#8217;d like playing or have any talent for. It&#8217;s also not something they teach you in engineering school (though admittedly, I never took 160 or 169, but am not sure what level of detail they go into)</p>

<p>And, I mean, me? With a sketchbook?</p>
]]></content:encoded>
			<wfw:commentRss>http://photonzero.com/blog/2009/02/19/programming-and-design/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PumaCreed</title>
		<link>http://photonzero.com/blog/2007/12/30/pumacreed/</link>
		<comments>http://photonzero.com/blog/2007/12/30/pumacreed/#comments</comments>
		<pubDate>Sun, 30 Dec 2007 11:33:17 +0000</pubDate>
		<dc:creator>Barak</dc:creator>
				<category><![CDATA[facebook]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[livejournal]]></category>
		<category><![CDATA[nerdery]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://photonzero.com/blog/2007/12/30/pumacreed/</guid>
		<description><![CDATA[So my little project while I&#8217;m bored at home is PumaCreed &#8212; a poorman&#8217;s Google MapReduce. (astute hunter-types will notice the anagram name)

I&#8217;ve been toying with the idea for the past few days since I got inspired by the MapReduce chapter in Beautiful Code. Mostly it&#8217;s a cute little project that&#8217;s trendy and scratches an [...]]]></description>
			<content:encoded><![CDATA[<p>So my little project while I&#8217;m bored at home is PumaCreed &#8212; a poorman&#8217;s Google MapReduce. (astute hunter-types will notice the anagram name)</p>

<p>I&#8217;ve been toying with the idea for the past few days since I got inspired by the MapReduce chapter in <a href="http://www.amazon.com/Beautiful-Code-Leading-Programmers-Practice/dp/0596510047">Beautiful Code</a>. Mostly it&#8217;s a cute little project that&#8217;s trendy and scratches an itch of mine &#8212; namely, how do I utilize the full power of my little cluster of machines?</p>

<p>My end goal is to bootstrap this on top of the raytracer Lin and I did in CS184 as sort of a proof-of-concept, and run speed tests. Other simple ideas include MP3 encoding (split the wav file, give each machine a piece, and then mp3wrap them together at the end) or if I get really daring, video re-encoding (which would be damn cool for saving off my HD streams)</p>

<p>The idea on top of all of this is that: you split up a problem, you do something to the pieces (Map), you can emit intermediate values (to be further sorted or combined in Reduce), and then you can combine the problem back into the original spec in some way (or not, depends on how you write Reduce). So long as there&#8217;s a common NAS (Granted, it&#8217;s no GFS, but then, I&#8217;m not dealing with petabytes) there can be the necessary file output sharing. SSHFS counts too &#8212; it&#8217;s just slower.</p>

<p>It&#8217;s also cute in that it can spread other time-intensive tasks across machines. It doesn&#8217;t even have to transfer files if what you want to compute is somehow representable. Since I&#8217;m writing it all in Python (or C# where necessary) a good example is to spread minimax subtrees across machines to make a faster, smarter CS188 Pacman (which would merely return the value of the root-node move &#8212; all across TCP).</p>

<p>The backend interface looks something like this right now:
<code></code></p>

<pre>
[02:37] michener@enjolras:~$ telnet 192.168.0.16 6278
Trying 192.168.0.16...
Connected to 192.168.0.16.
Escape character is '^]'.
Welcome to the PumaCreed Server on fantine.
Type 'help' for details.
> help
help jobs ls newjob stat quit shutdown
> stat
Computer Name   System  Ranking Threads Description
fantine         Linux   9000    1       2.6.21-2-686 #1 SMP Wed Jul 11 03:53:02 
enjolras        Darwin  9000    1       9.1.0 Darwin Kernel Version 9.1.0: Wed O
> shutdown
Connection closed by foreign host.
[02:38] michener@enjolras:~$
</pre>

<p></p>

<p>Not much, but it&#8217;s a start. The machines know about each other, there&#8217;s networking and threads and config files going on (praise be unto Twisted) &#8212; not to mention the start of a MapReduceProgram class from which all code run on the cluster should inherit (Or at least implement the interface of).</p>

<p>We&#8217;ll see how it goes.</p>
]]></content:encoded>
			<wfw:commentRss>http://photonzero.com/blog/2007/12/30/pumacreed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Computer Troubles</title>
		<link>http://photonzero.com/blog/2007/12/04/computer-troubles/</link>
		<comments>http://photonzero.com/blog/2007/12/04/computer-troubles/#comments</comments>
		<pubDate>Tue, 04 Dec 2007 11:45:42 +0000</pubDate>
		<dc:creator>Barak</dc:creator>
				<category><![CDATA[csua]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[livejournal]]></category>
		<category><![CDATA[nerdery]]></category>

		<guid isPermaLink="false">http://photonzero.com/blog/2007/12/04/computer-troubles/</guid>
		<description><![CDATA[A quick note before I make another post about why the other day was awesome:

My Ubuntu install on eponine had been freezing. Just up and freezing. So I built a FreeBSD install from scratch &#8212; decided that, for the desktop, it was lame (though the next time I overhaul fantine, my server, it&#8217;s going FreeBSD; [...]]]></description>
			<content:encoded><![CDATA[<p>A quick note before I make another post about why the other day was awesome:</p>

<p>My Ubuntu install on <code>eponine</code> had been freezing. Just up and freezing. So I built a FreeBSD install from scratch &#8212; decided that, for the desktop, it was lame (though the next time I overhaul <code>fantine</code>, my server, it&#8217;s going FreeBSD; what I learned makes it kinda rule for non-X11 things). So I tried 64-bit Ubuntu &#8212; which had the same problem, but fortunately worked just as well as 32-bit in terms of proprietary functionality (nVidia drivers, Flash, etc). Currently sitting on 64-bit Fedora 8; but it&#8217;s not apt to stay too long.</p>

<p>(Mostly, I&#8217;m coming to suspect it&#8217;s the ACPI &#8212; I&#8217;ve tried the nVidia beta driver to no avail)</p>

<p>Meanwhile&#8230;.</p>

<p>I&#8217;m downgrading to XP on <code>cosette</code>.</p>

<p>For all intents and purposes, I did so about a week and a half ago &#8212; just booted my old XP partition. Hey, sudden burst of comfort, speed, and it worked right. Huzzah. But then I came to remember why I tried Vista in the first place &#8212; this old partition is starting to feel &#8220;dirty&#8221;. I need a reinstall.</p>

<p>The reason I hate reinstalling Windows, of course, is installing the software I like. If ever there were a major plus to Linux, it&#8217;s package management; go out, grab your favorite software, all with one command and be up and running just-like-that. I was able to switch distros like mad recently and it shows. You just can&#8217;t do that in Windows.</p>

<p>Until I went by the CSUA office today and was told of a magical XP image, with all the greatest hits installed. I grabbed it to my iPod and am now munging my partition tables but good (<code>ntfsresize -P --force --force /dev/sda2</code>)  to throw the image over my Vista install, killing it forever. It&#8217;ll run overnight. And if it doesn&#8217;t work, I&#8217;ve got my trustier XP CD sitting here.</p>

<p>Meanwhile, I&#8217;m pondering putting a fresh install of Leopard on <code>marius</code>, my old Mac mini.</p>

<p>It&#8217;s the time of year to clean house, digitally.</p>

<p>And in case you&#8217;re wondering and like my naming scheme of Les Miserables characters; I&#8217;m writing this on <code>enjolras</code>, my MacBook Pro.</p>
]]></content:encoded>
			<wfw:commentRss>http://photonzero.com/blog/2007/12/04/computer-troubles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Growl.</title>
		<link>http://photonzero.com/blog/2007/10/29/growl/</link>
		<comments>http://photonzero.com/blog/2007/10/29/growl/#comments</comments>
		<pubDate>Tue, 30 Oct 2007 07:20:30 +0000</pubDate>
		<dc:creator>Barak</dc:creator>
				<category><![CDATA[facebook]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[livejournal]]></category>
		<category><![CDATA[nerdery]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://photonzero.com/blog/2007/10/29/growl/</guid>
		<description><![CDATA[http://www.unsanity.org/archives/haxies/leopard.php

That&#8217;s what was wrong with my Leopard install. I was using (an uncompatible) hack to run Witch, a really nice power tool (which I hope, once they update, will remain Leopard-compatible)

My take on Leopard, now that it works:


New Finder really beats the pants off the old one. Not a hard task, but an important one.
You [...]]]></description>
			<content:encoded><![CDATA[<p>http://www.unsanity.org/archives/haxies/leopard.php</p>

<p>That&#8217;s what was wrong with my Leopard install. I was using (an uncompatible) hack to run Witch, a really nice power tool (which I hope, once they update, will remain Leopard-compatible)</p>

<p>My take on Leopard, now that it works:</p>

<ul>
<li>New Finder really beats the pants off the old one. Not a hard task, but an important one.</li>
<li>You can almost feel the underlying API changes (I recompiled <a href="http://code.google.com/p/macvim/">MacVim</a> from SVN because of this)</li>
<li>It&#8217;s a little more shiny. Stupid blue folders are gone, though I&#8217;m not a huge fan of the <a href="http://tango.freedesktop.org/Tango_Icon_Library">Tango-esque</a> ones.</li>
<li>Stacks are genuinely useful.</li>
<li>They got Spaces wrong. I mean, this one should have been hard to mess up, given the precedent, but they did. It&#8217;s a fine virtual desktop manager (a feature in the X11 world for AGES) but it could use a few more keybindings &#8212; it&#8217;s great that I can switch desktops logically, but why must I use the mouse to move applications around? (Needs a Move-Current-App-in-Direction key combo)</li>
<li>Also, closing a program will switch Spaces on you. This is wrong. It should work it&#8217;s way down the apps in the current Space, not bounce all over based on last-usage. arg.</li>
<li>Time Machine is about as useful as Dashboard &#8212; which is to say, oh, it&#8217;s cute, but it&#8217;s disabled and apt to stay that way.</li>
</ul>

<p>So you may wonder &#8220;What&#8217;s the point?&#8221; if I just kinda shot down the big features.</p>

<p>It&#8217;s for developers.</p>

<p>They&#8217;ve added official Ruby/Cocoa bindings. Python TK apps no longer require X11 (as I found out from running Pacman). Both of these are at the current version and include many nifty non-default libraries (Rails, Twisted, NumPy, etc, etc&#8230;). Not to mention all the optional dev tools (I recompiled the latest MacVim, as stated earlier. This is UNIX thinking). I&#8217;m thinking that interpreted-languages-as-second-class-GUI-programs is coming to an end. Ruby is the new Java. Make the devs happy, and they will develop for your platform.</p>

<p>MS is doing it too. Visual Studio Express was no accident. And today I hear about F# &#8212; which is essentially Microsoft OCaml (as C# is Microsoft Java)</p>

<p>The real power of Leopard &#8212; as with the real power of Vista &#8212; is yet to be seen. It comes down the line, about a year and a half from now, when the freelance dev masses come along. Vista arguably added a number of genuinely useful API stuff &#8212; the .NET 3.0 backings come as an obvious example. Microsoft, logically, is backing it&#8217;s own horse. Apple knows the flaws of writing in straight Objective-C and so opens up to more casual devs and UNIX devs by backing open, interpreted languages.</p>

<p>In fact, I bet they added PyObjC by default, instead of <a href="http://developer.apple.com/cocoa/pyobjc.html">giving a user guide to it</a>&#8230;</p>

<pre>
Python 2.5.1 (r251:54863, Oct  5 2007, 21:08:09)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import objc
>>>
</pre>

<p>Oh look&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://photonzero.com/blog/2007/10/29/growl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Airlift</title>
		<link>http://photonzero.com/blog/2007/10/29/airlift/</link>
		<comments>http://photonzero.com/blog/2007/10/29/airlift/#comments</comments>
		<pubDate>Tue, 30 Oct 2007 02:17:11 +0000</pubDate>
		<dc:creator>Barak</dc:creator>
				<category><![CDATA[facebook]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[livejournal]]></category>
		<category><![CDATA[nerdery]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://photonzero.com/blog/2007/10/29/airlift/</guid>
		<description><![CDATA[tar -cvvf /Volumes/BARAKPOD/backup.tar michener/ 

So I got Leopard today, and, throwing caution to the wind, decided to upgrade my system.

bzzt Wrong! I am hosed!

So I&#8217;m lifting my userdata out onto my iPod &#8212; praise be unto the gods of the command line &#8212; and am going to do a fresh install.

I guess it all works [...]]]></description>
			<content:encoded><![CDATA[<p><code>tar -cvvf /Volumes/BARAKPOD/backup.tar michener/ </code></p>

<p>So I got Leopard today, and, throwing caution to the wind, decided to upgrade my system.</p>

<p><em>bzzt</em> Wrong! I am hosed!</p>

<p>So I&#8217;m lifting my userdata out onto my iPod &#8212; praise be unto the gods of the command line &#8212; and am going to do a fresh install.</p>

<p>I guess it all works out; but I would be lying if I weren&#8217;t disappointed (so far)</p>

<p>However, playing with the display computers at TSW I discovered that python is ver. 2.5 and has Twisted and NumPy by default. Which is awesome.</p>
]]></content:encoded>
			<wfw:commentRss>http://photonzero.com/blog/2007/10/29/airlift/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More Vista</title>
		<link>http://photonzero.com/blog/2007/10/12/more-vista/</link>
		<comments>http://photonzero.com/blog/2007/10/12/more-vista/#comments</comments>
		<pubDate>Sat, 13 Oct 2007 01:27:54 +0000</pubDate>
		<dc:creator>Barak</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[link]]></category>
		<category><![CDATA[nerdery]]></category>

		<guid isPermaLink="false">http://photonzero.com/blog/2007/10/12/more-vista/</guid>
		<description><![CDATA[A few days with it and everything seems to settle in a bit.

Network card works better (maybe when it got the updates something clicked) but the network is SLOWER. I dunno what they did wrong, but my Samba NAS takes forever, until I read this: http://jamespo.org.uk/wp/archives/190  &#8212; This seems to make it work fairly [...]]]></description>
			<content:encoded><![CDATA[<p>A few days with it and everything seems to settle in a bit.</p>

<p>Network card works better (maybe when it got the updates something clicked) but the network is SLOWER. I dunno what they did wrong, but my Samba NAS takes forever, until I read this: <a href="http://jamespo.org.uk/wp/archives/190">http://jamespo.org.uk/wp/archives/190</a>  &#8212; This seems to make it work fairly well</p>

<p>Still best to get video drivers straight from nVidia. Sorry MS.</p>

<p>I like the new Explorer. It has it&#8217;s faults, but it&#8217;s an improvement. Sidebar, meanwhile, is stupid and nobody uses it.</p>

<p>Still no major incompatibilities. So far so good.</p>

<p>Just finishing up these few quick notes before I write something completely different.</p>
]]></content:encoded>
			<wfw:commentRss>http://photonzero.com/blog/2007/10/12/more-vista/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>36 Updates for Vista</title>
		<link>http://photonzero.com/blog/2007/10/08/36-updates-for-vista/</link>
		<comments>http://photonzero.com/blog/2007/10/08/36-updates-for-vista/#comments</comments>
		<pubDate>Mon, 08 Oct 2007 11:08:32 +0000</pubDate>
		<dc:creator>Barak</dc:creator>
				<category><![CDATA[hack]]></category>
		<category><![CDATA[nerdery]]></category>

		<guid isPermaLink="false">http://photonzero.com/blog/2007/10/08/36-updates-for-vista/</guid>
		<description><![CDATA[So tonight I took the plunge and installed Vista. Initial thoughts:


UAC is annoying, but thank god you can turn it off (along with other Windows nags, which I appreciate)
Network fails on boot &#8212; but request an IP and it&#8217;s good again. Step up from XP, which didn&#8217;t have a driver for my NIC by default, [...]]]></description>
			<content:encoded><![CDATA[<p>So tonight I took the plunge and installed Vista. Initial thoughts:</p>

<ul>
<li>UAC is annoying, but thank god you can turn it off (along with other Windows nags, which I appreciate)</li>
<li>Network fails on boot &#8212; but request an IP and it&#8217;s good again. Step up from XP, which didn&#8217;t have a driver for my NIC by default, but step down in reliability. Maybe fixed if I get a new (non-MS) driver.</li>
<li>Why do I need to do a full Windows Update to get a (very common) Sound Blaster Audigy driver? You think it&#8217;d work out of the box&#8230;</li>
<li>Why can&#8217;t I turn off hiding hidden files and keep my desktop clean from desktop.ini files at the same time? XP did this&#8230;</li>
<li>More reboots to get things set up than you can shake a stick at &#8212; but this is a failing of Windows in general</li>
<li>So far, no incompatibility. So far.</li>
<li>C:\Users! It&#8217;s like /home, but not! This is an improvement over C:\Documents and Settings. </li>
<li>Whatever happened to the Run.. command?</li>
</ul>

<p>Ubuntu worked out of the box with all this. It got my nVidia driver right. It got the network right. It got sound right. And it comes with a shitload of software.
I&#8217;m not saying that&#8217;s perfect either &#8212; it doesn&#8217;t like my huge display until i edit xorg.conf, for example. And 36 updates is a light update cycle (in beta, at least) And individual apps break sometimes. But by and large, the fastest OS to install to get to baseline functionality these days is Linux, and that&#8217;s not at all the way it used to be.</p>

<p>Microsoft did whiff at Vista. Perhaps not as badly as they could have, but it&#8217;s nowhere near what a 6 year dev cycle should produce. Vista would have been about right if it was released with a little less graphical glitz but a similar feature set in 2003/2004.</p>

<p>By the by, I&#8217;m not saying Apple is a big winner either. Leopard comes out this month, so we&#8217;ll see what happens &#8212; but there they go for vertical integration.</p>

<p>More as I figure it out.</p>
]]></content:encoded>
			<wfw:commentRss>http://photonzero.com/blog/2007/10/08/36-updates-for-vista/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Colors.Pop()</title>
		<link>http://photonzero.com/blog/2007/05/04/colorspop/</link>
		<comments>http://photonzero.com/blog/2007/05/04/colorspop/#comments</comments>
		<pubDate>Fri, 04 May 2007 22:08:59 +0000</pubDate>
		<dc:creator>Barak</dc:creator>
				<category><![CDATA[facebook]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[livejournal]]></category>
		<category><![CDATA[photography]]></category>
		<category><![CDATA[pictures]]></category>

		<guid isPermaLink="false">http://photonzero.com/blog/2007/05/04/colorspop/</guid>
		<description><![CDATA[Wow. That works too well.

In my news cycle this week was this article on Improving your photography through classical art. I took the time to try it out today (and by &#8220;time&#8221;, I mean &#8220;five minutes&#8221;) and applied the first colorful art piece I could think of offhand, Seurat&#8217;s A Sunday Afternoon on the Island [...]]]></description>
			<content:encoded><![CDATA[<p>Wow. That works too well.</p>

<p>In my news cycle this week was this article on <a href="http://www.unfocusedbrain.com/projects/match_color/">Improving your photography through classical art</a>. I took the time to try it out today (and by &#8220;time&#8221;, I mean &#8220;five minutes&#8221;) and applied the first colorful art piece I could think of offhand, Seurat&#8217;s <em><a href="http://en.wikipedia.org/wiki/Sunday_Afternoon_on_the_Island_of_La_Grande_Jatte">A Sunday Afternoon on the Island of La Grande Jatte</a></em> to an appropriate swing photo with similar colors. I find the theme of the pieces similar.</p>

<p>This is the result, &#8220;A Saturday Afternoon Dancing on the Plaza of Sproul&#8221;:
<a href="http://www.flickr.com/photos/barakmich/484301330/" class="tt-flickr"><img src="http://farm1.static.flickr.com/167/484301330_a5b775c975_m.jpg" alt="IMG_0521-SeuratDimanceColors-SideBySide" width="240" height="153" border="0" /></a></p>

<p>Pretty cool, huh?</p>
]]></content:encoded>
			<wfw:commentRss>http://photonzero.com/blog/2007/05/04/colorspop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>-70</title>
		<link>http://photonzero.com/blog/2007/03/22/70/</link>
		<comments>http://photonzero.com/blog/2007/03/22/70/#comments</comments>
		<pubDate>Thu, 22 Mar 2007 13:34:27 +0000</pubDate>
		<dc:creator>Barak</dc:creator>
				<category><![CDATA[cs164]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[livejournal]]></category>
		<category><![CDATA[nerdery]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://photonzero.com/blog/2007/03/22/70/</guid>
		<description><![CDATA[More 164 rantage:

So today I woke up and rewrote my crappy parser from scratch, having had a showertime epiphany about not only how to write a good one, but write one with features we&#8217;ll need for the next part of the project.

In the end, I came out with exact same linecount. So I was +0 [...]]]></description>
			<content:encoded><![CDATA[<p>More 164 rantage:</p>

<p>So today I woke up and rewrote my crappy parser from scratch, having had a showertime epiphany about not only how to write a good one, but write one with features we&#8217;ll need for the next part of the project.</p>

<p>In the end, I came out with exact same linecount. So I was +0 in lines but plus several million in functionality.</p>

<p>We didn&#8217;t get it in just on time because our grammar-rewriter was, well, mangled. This bothered me a little somewhere deep inside. Until I had two quick beers and took another shower. Upon emerging I had an inkling about what to do. Drunken? Perhaps. But that sort of drunken clarity that makes things possible.</p>

<p>So I scrapped darch&#8217;s rewriter and started over. At 3 in the morning. I wrote and wrote and things started to just fall into place. A slight change of order here, a minor off-by-one hack there, one piece slyly using some nice output from another piece&#8230; and in 2.5 hours I had it up and running. Which is better than busted. And much shorter, cleaner, and compartmentalized than it previously was.</p>

<p>My line count for the day: -70
My contribution: Enough to make me feel like I deserve my trip to Seattle for Spring Break <img src='http://photonzero.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>

<p>Right now I&#8217;ve got so much hack energy that I can&#8217;t sleep if I wanted to. Oh, I&#8217;ll crash real soon now, but this is the first time in a while I&#8217;ve felt the rush. And it&#8217;s this that makes me think that everything&#8217;s going to be okay once I leave school and my life is somehow on track &#8212; which I was worried about earlier (eating at the dorms makes me feel old).</p>
]]></content:encoded>
			<wfw:commentRss>http://photonzero.com/blog/2007/03/22/70/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>It&#8217;s 3AM and I am&#8230;</title>
		<link>http://photonzero.com/blog/2007/03/19/its-3am-and-i-am/</link>
		<comments>http://photonzero.com/blog/2007/03/19/its-3am-and-i-am/#comments</comments>
		<pubDate>Mon, 19 Mar 2007 10:45:00 +0000</pubDate>
		<dc:creator>Barak</dc:creator>
				<category><![CDATA[facebook]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[livejournal]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[nerdery]]></category>
		<category><![CDATA[personal]]></category>

		<guid isPermaLink="false">http://photonzero.com/blog/2007/03/19/its-3am-and-i-am/</guid>
		<description><![CDATA[
Drinking a beer
Listening to The Arcade Fire&#8217;s Neon Bible album


This is thanks to Jyte&#8217;s observation that 8 of the top 10 Last.fm tracks are from this album

Messing with photonzero.com


In such ways as my new 404 page for anywhere that doesn&#8217;t exist
This was inspired (and made possible in part) by BeOS&#8217;s old browser, NetPositive
Playing in Markdown [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li>Drinking a beer</li>
<li>Listening to The Arcade Fire&#8217;s <em>Neon Bible</em> album

<ul>
<li>This is thanks to <a href="http://jyte.com">Jyte</a>&#8217;s observation that <a href="http://last.fm/charts/">8 of the top 10 Last.fm tracks are from this album</a></li>
</ul></li>
<li>Messing with photonzero.com

<ul>
<li>In such ways as my new <a href="http://photonzero.com/404.php">404 page</a> for anywhere that doesn&#8217;t exist</li>
<li>This was inspired (and made possible in part) by BeOS&#8217;s old browser, NetPositive</li>
<li>Playing in <a href="http://daringfireball.net/projects/markdown/">Markdown</a> which WP supports</li>
<li>Converting to Feedburner (thanks Karen)</li>
<li>Adding folks I read to my Blogroll</li>
</ul></li>
<li>Putting my dotfiles in SVN &#8212; which is particularly cool</li>
<li>Contemplating summer work

<ul>
<li>Doing Google&#8217;s SoC along with taking an AC requirement sounds interesting to me now, as a possible plan</li>
</ul></li>
<li>Contemplating Monday night&#8217;s events</li>
<li>Happy that I can sleep in on Mondays</li>
<li>Feeling just a little down, but with the feeling that I&#8217;m going to have to put it aside and move into overdrive tomorrow</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://photonzero.com/blog/2007/03/19/its-3am-and-i-am/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.276 seconds -->

