<?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; ruby</title>
	<atom:link href="http://photonzero.com/blog/category/ruby/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>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>JyteCheck</title>
		<link>http://photonzero.com/blog/2007/02/16/jytecheck/</link>
		<comments>http://photonzero.com/blog/2007/02/16/jytecheck/#comments</comments>
		<pubDate>Sat, 17 Feb 2007 05:35:35 +0000</pubDate>
		<dc:creator>Barak</dc:creator>
				<category><![CDATA[hack]]></category>
		<category><![CDATA[nerdery]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://photonzero.com/blog/2007/02/16/jytecheck/</guid>
		<description><![CDATA[Been trying to learn a little ruby and the ruby way. And been playing with Jyte. This is the result


The first write was slow. This rewrite is shorter and much faster. Sure, it basically scrapes the page, but hey, it&#8217;s kinda cool.

Cheap hacks FTW.

Check out the source here
]]></description>
			<content:encoded><![CDATA[<p>Been trying to learn a little ruby and the ruby way. And been playing with Jyte. This is the result
<img src="http://photonzero.com/images/jytecheck.png" alt="jytecheck" /></p>

<p>The first write was slow. This rewrite is shorter and much faster. Sure, it basically scrapes the page, but hey, it&#8217;s kinda cool.</p>

<p>Cheap hacks FTW.</p>

<p>Check out the source <a href="http://photonzero.com/files/jytecheck.rb">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://photonzero.com/blog/2007/02/16/jytecheck/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

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

