<?xml version="1.0" encoding="UTF-8"?>
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom">
  <title>degrunt.net - Home</title>
  <id>tag:www.degrunt.net,2008:mephisto/</id>
  <generator version="0.7.3" uri="http://mephistoblog.com">Mephisto Noh-Varr</generator>
  <link href="http://www.degrunt.net/feed/atom.xml" rel="self" type="application/atom+xml"/>
  <link href="http://www.degrunt.net/" rel="alternate" type="text/html"/>
  <updated>2008-06-22T19:27:17Z</updated>
  <entry xml:base="http://www.degrunt.net/">
    <author>
      <name>tom</name>
    </author>
    <id>tag:www.degrunt.net,2008-06-22:948</id>
    <published>2008-06-22T18:33:00Z</published>
    <updated>2008-06-22T19:27:17Z</updated>
    <link href="http://www.degrunt.net/articles/2008/6/22/building-openkomodo-on-mac-osx" rel="alternate" type="text/html"/>
    <title>Building OpenKomodo on Mac OSX</title>
<content type="html">
            &lt;p&gt;So, how to build OpenKomodo on Mac &lt;span class='caps'&gt;OSX&lt;/span&gt;.&lt;/p&gt;


	&lt;h2&gt;Prerequisites&lt;/h2&gt;


	&lt;p&gt;Download ActivePython 2.5.2.2 from &lt;a href='http://www.activestate.com/store/activepython/download/'&gt;here&lt;/a&gt; and install it, it&#8217;s a free download. Also get &lt;a href='http://www.macports.org/'&gt;MacPorts&lt;/a&gt; and make sure you have it setup.&lt;/p&gt;


	&lt;h2&gt;Step 1 &#8211; Getting the source&lt;/h2&gt;


	&lt;p&gt;Getting the source is easy: &lt;code&gt;svn co http://svn.openkomodo.com/repos/openkomodo/trunk openkomodo&lt;/code&gt;&lt;/p&gt;


	&lt;h2&gt;Step 2 &#8211; Building Mozilla&lt;/h2&gt;


	&lt;p&gt;If you don&#8217;t have a ~/.cvspass, just touch one, otherwise you&#8217;re in or a lot of warnings.
The do &lt;code&gt;cd openkomodo/mozilla&lt;/code&gt; and give a &lt;code&gt;python build.py configure -k 4.4 --moz-src=cvs:1.8 --release --no-strip --shared --tools&lt;/code&gt;. This should generate a config.py.
Then do a &lt;code&gt;python build.py distclean all&lt;/code&gt;&lt;/p&gt;


	&lt;h2&gt;Step 3 &#8211; Building Komodo&lt;/h2&gt;


	&lt;p&gt;First issue an &lt;code&gt;export PATH=`pwd`/util/black:$PATH&lt;/code&gt; and then do
&lt;code&gt;bk configure&lt;/code&gt;, &lt;code&gt;bk build&lt;/code&gt;&lt;/p&gt;


	&lt;h2&gt;Step 4 &#8211; Running Komodo&lt;/h2&gt;


	&lt;p&gt;&lt;code&gt;bk run&lt;/code&gt;&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://www.degrunt.net/">
    <author>
      <name>tom</name>
    </author>
    <id>tag:www.degrunt.net,2008-06-21:947</id>
    <published>2008-06-21T15:06:00Z</published>
    <updated>2008-06-22T21:51:47Z</updated>
    <link href="http://www.degrunt.net/articles/2008/6/21/remote-file-editing" rel="alternate" type="text/html"/>
    <title>Remote file editing</title>
<content type="html">
            &lt;p&gt;Recently I need to do a lot of remote file editing (again). I really want to use TextMate, together with ExpanDrive, but using source-control-management together with mounting a remote volume is a caching-nightmare. TextMate won&#8217;t see any differences (technically there aren&#8217;t any &#8211; because ExpanDrive isn&#8217;t seeing them) and swapping windows between Safari/Firefox and TextMate is so terribly slow (TextMate check&#8217;s the project-tree for changes) that it just isn&#8217;t funny anymore.&lt;/p&gt;


	&lt;p&gt;This is becoming so impractical that I started to look for alternatives, which are also multi-platform. Anyway lately I find TextMate development slowing down, perhaps not rightfully so &#8211; but it is a one-man show, where as ViM or Emacs have a whole community behind them (as it&#8217;s open source).&lt;/p&gt;


	&lt;h2&gt;What about ViM?&lt;/h2&gt;


	&lt;p&gt;ViM has a relatively steep learning curve, but doable &#8211; but I found quite a few issues or problems. 
Navigating/editing multiple files with ViM is another story, I just can&#8217;t get my head around the &lt;a href='http://www.vim.org/scripts/script.php?script_id=69'&gt;Project plugin&lt;/a&gt; &#8211; nor does it really work well for remote file systems.&lt;/p&gt;


	&lt;h2&gt;Or Emacs?&lt;/h2&gt;


	&lt;p&gt;I&#8217;ve always said that Emacs isn&#8217;t an editor, it&#8217;s an operating system &#8211; which for me was a reason to not have a look at it at first. But then again, why not? For Mac there&#8217;s &lt;a href='http://aquamacs.org/'&gt;Aquamacs Emacs&lt;/a&gt;, which is a Mac &lt;span class='caps'&gt;OSX&lt;/span&gt; version of &lt;a href='http://www.gnu.org/software/emacs/'&gt;Emacs&lt;/a&gt;. That together with &lt;a href='http://ecb.sourceforge.net/'&gt;&lt;span class='caps'&gt;ECB&lt;/span&gt;&lt;/a&gt; &#8211; the Emacs Code Browser and &lt;a href='http://www.gnu.org/software/tramp/'&gt;&lt;span class='caps'&gt;TRAMP&lt;/span&gt;&lt;/a&gt; &#8211; Transparant remote file access &#8211; you get a very TextMate like experience.  A quick &lt;a href='http://platypope.org/yada/emacs-demo/'&gt;demo&lt;/a&gt; shows that it can do a lot of things.
Oh and you get &lt;span class='caps'&gt;LISP&lt;/span&gt; &#8211; well &#8230; &lt;a href='http://www.gnu.org/software/emacs/emacs-lisp-intro/html_mono/emacs-lisp-intro.html'&gt;Emacs &lt;span class='caps'&gt;LISP&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;Here&#8217;s a screenshot:
&lt;img src='http://www.degrunt.net/assets/2008/6/21/Picture_1_2.png' alt='' /&gt;&lt;/p&gt;


	&lt;h2&gt;Or Komodo &lt;span class='caps'&gt;IDE&lt;/span&gt; / Edit?&lt;/h2&gt;


	&lt;p&gt;First I&#8217;ve tried Komodo Edit, which is a fine editor, you can edit remote files, but it doesn&#8217;t have a code explorer or built-in source-control. Komodo &lt;span class='caps'&gt;IDE&lt;/span&gt; has both, but source-control does not work for remote files, so no use for me (yet). I think once it would have remote file source-control it would be a fine editor.&lt;/p&gt;


	&lt;p&gt;&lt;img src='http://degrunt.net/assets/2008/6/22/Picture_4.png' alt='' /&gt;&lt;/p&gt;


	&lt;p&gt;So in the meantime I might as well use Komodo Edit. Okay and now here&#8217;s something very interesting: ActiveState and Mozilla, jointly started the &lt;a href='http://www.openkomodo.com/'&gt;OpenKomodo&lt;/a&gt; project. They&#8217;re set out to create an open source (integrated) development environment. As you probably know Komodo is built using Mozilla &lt;span class='caps'&gt;XUL&lt;/span&gt; technology. So most of the coding is done in &lt;span class='caps'&gt;XML&lt;/span&gt;/XUL, JavaScript and C/C++.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://www.degrunt.net/">
    <author>
      <name>tom</name>
    </author>
    <id>tag:www.degrunt.net,2008-06-10:946</id>
    <published>2008-06-10T17:27:00Z</published>
    <updated>2008-06-10T18:45:43Z</updated>
    <category term="Io"/>
    <category term="Lua"/>
    <link href="http://www.degrunt.net/articles/2008/6/10/lua" rel="alternate" type="text/html"/>
    <title>Lua &amp; Io</title>
<content type="html">
            &lt;p&gt;Recently I&#8217;ve (re)discovered &lt;a href='http://www.lua.org/'&gt;Lua&lt;/a&gt; (&#8216;LOO-AH&#8217; if you&#8217;re English or &#8216;LOE-AAH&#8217; &#8211; if you&#8217;re Dutch) and &lt;a href='http://www.iolanguage.com/'&gt;Io&lt;/a&gt;.&lt;/p&gt;


	&lt;p&gt;First &#8211; Lua is a neat little language, which can be embedded very well, but can also be used as a standalone language. It has a VM, you can compile your code and it has a very small footprint.&lt;/p&gt;


	&lt;p&gt;It&#8217;s also used more frequently than you would think, of course in games (WoW, SimCity) but also in Adobe Lightroom. &lt;span class='caps'&gt;LEGO&lt;/span&gt; Mindstorms &lt;span class='caps'&gt;NXT&lt;/span&gt; can also use Lua as firmware (&lt;a href='http://www.hempeldesigngroup.com/lego/pbLua/'&gt;pbLua&lt;/a&gt;) and will then run the interpreter off of a console.&lt;/p&gt;


	&lt;p&gt;Second &#8211; Io is another neat little language, which can be embedded as well. Also Io has a VM, for which you can compile your code.&lt;/p&gt;


	&lt;p&gt;As far as I am aware it&#8217;s less used than Lua, but perhaps that&#8217;ll change?&lt;/p&gt;


	&lt;p&gt;Anyway, both languages interest me, so from now on I will also write something about Lua &#38; Io here once in a while.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://www.degrunt.net/">
    <author>
      <name>tom</name>
    </author>
    <id>tag:www.degrunt.net,2008-06-02:945</id>
    <published>2008-06-02T20:10:00Z</published>
    <updated>2008-06-02T20:26:36Z</updated>
    <link href="http://www.degrunt.net/articles/2008/6/2/rails-vim-rails-vim" rel="alternate" type="text/html"/>
    <title>rails.vim - Rails &amp; Vim</title>
<content type="html">
            &lt;p&gt;Just came across a good &lt;a href='http://ruby.about.com/od/railsvim/p/railsvim_tutor.htm'&gt;tutorial on rails.vim&lt;/a&gt;&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://www.degrunt.net/">
    <author>
      <name>tom</name>
    </author>
    <id>tag:www.degrunt.net,2008-05-22:930</id>
    <published>2008-05-22T18:50:00Z</published>
    <updated>2008-05-22T19:07:32Z</updated>
    <link href="http://www.degrunt.net/articles/2008/5/22/vi-m-isn-t-that-bad-at-all" rel="alternate" type="text/html"/>
    <title>VI(M) isn't that bad... at all!</title>
<content type="html">
            &lt;p&gt;Okay, today I&#8217;ve tried using VI(M) and it&#8217;s not that bad, but it does require a lot of (re-)learning. There&#8217;s the &#8216;old-fashioned&#8217; terminal based vim, there&#8217;s &lt;a href='http://macvim.org/OSX/index.php'&gt;GVim&lt;/a&gt; and there&#8217;s &lt;a href='http://code.google.com/p/macvim/'&gt;MacVim&lt;/a&gt;. All three are in principle compatible, but have quite a few differences, which are mostly in the &lt;span class='caps'&gt;GUI&lt;/span&gt; and menu&#8217;s. So far MacVim seems the most appealing, besides the terminal one, which is good to learn, because it&#8217;s almost always useable.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://www.degrunt.net/">
    <author>
      <name>tom</name>
    </author>
    <id>tag:www.degrunt.net,2008-05-21:923</id>
    <published>2008-05-21T19:29:00Z</published>
    <updated>2008-06-02T20:08:21Z</updated>
    <category term="Extension"/>
    <category term="Ruby"/>
    <link href="http://www.degrunt.net/articles/2008/5/21/gem-ified-wbxml4r" rel="alternate" type="text/html"/>
    <title>Gem-ified WBXML4R</title>
<content type="html">
            &lt;p&gt;I&#8217;ve had a &lt;strong&gt;lot&lt;/strong&gt; of requests for the sourcecode for &lt;span class='caps'&gt;WXBML4R&lt;/span&gt; &#8211; a Ruby extension which allows you to convert from &lt;span class='caps'&gt;WBXML&lt;/span&gt; to &lt;span class='caps'&gt;XML&lt;/span&gt; and vice-versa. So far I&#8217;ve sent the code to people who asked, but now I&#8217;ve gem-ified the code and with the use of a gem, it&#8217;ll be a lot easier! Hopefully I&#8217;ll soon find the time to create a Rubyforge page for it and put it on there.&lt;/p&gt;


	&lt;p&gt;&lt;strong&gt;&lt;span class='caps'&gt;UPDATE&lt;/span&gt;:&lt;/strong&gt; I&#8217;ve just asked for the RubyForge project, once that&#8217;s approved I&#8217;ll publish the gem there.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://www.degrunt.net/">
    <author>
      <name>tom</name>
    </author>
    <id>tag:www.degrunt.net,2008-05-21:921</id>
    <published>2008-05-21T18:34:00Z</published>
    <updated>2008-05-21T18:36:50Z</updated>
    <link href="http://www.degrunt.net/articles/2008/5/21/plugging-amsterdam-rb" rel="alternate" type="text/html"/>
    <title>Plugging Amsterdam.rb</title>
<content type="html">
            &lt;p&gt;My new colleague &lt;a href='http://blog.remvee.net/'&gt;Remco&lt;/a&gt; has been successfully plugging &lt;a href='http://www.amsterdam-rb.org/'&gt;Amsterdam.rb&lt;/a&gt; (Amsterdam Ruby User Group) lately, next Monday (May 26th 2008). I&#8217;ll go, you?&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://www.degrunt.net/">
    <author>
      <name>tom</name>
    </author>
    <id>tag:www.degrunt.net,2008-05-21:920</id>
    <published>2008-05-21T18:16:00Z</published>
    <updated>2008-05-22T08:16:01Z</updated>
    <category term="Rails"/>
    <category term="Ruby"/>
    <link href="http://www.degrunt.net/articles/2008/5/21/ruby-qualification-test" rel="alternate" type="text/html"/>
    <title>Ruby Qualification Test</title>
<content type="html">
            &lt;p&gt;Recently, as part of an interview, I&#8217;ve been asked to make the following test (in Ruby):&lt;/p&gt;


	&lt;p&gt;1) Write a program, which asks the user for a &lt;span class='caps'&gt;URI&lt;/span&gt;/URL. The program should then go off, and fetch the webpage which is on that &lt;span class='caps'&gt;URI&lt;/span&gt;/URL. You&#8217;re not allowed to use any existing &lt;span class='caps'&gt;HTTP&lt;/span&gt; library (ie use a socket connection yourself).
2) Extend the program so that it loops, until the user enter&#8217;s a q (for the &lt;span class='caps'&gt;URI&lt;/span&gt;).
3) Extend the program so that it displays the headers, separated from the body. The headers should be separated in key &#8211; value pairs.&lt;/p&gt;


	&lt;p&gt;I&#8217;ve perceived this as a very simple test, which hardly requires &lt;span class='caps'&gt;OOP&lt;/span&gt;. I would use &lt;span class='caps'&gt;OOP&lt;/span&gt; if it would simplify the solution or when it would contribute to the re-use of components. As this was a test, it&#8217;s inherently a one-off, therefor no &lt;span class='caps'&gt;OOP&lt;/span&gt; in my opinion. The testers felt otherwise, so I rewrote my entire solution as follows.&lt;/p&gt;


&lt;pre&gt;&lt;code class='ruby'&gt;
# 
#  test.rb
#  degrunt.net
#  
#  Created by Tom de Grunt on 2008-05-21.
#  Copyright 2008 degrunt.net. All rights reserved.
# 

require 'uri'
require 'socket'

class Request

  include Socket::Constants

  def initialize( uri )
    begin
      @uri = URI.parse(uri)
    rescue URI::InvalidURIError =&amp;gt; e
      raise &quot;Please enter a valid URI&quot; 
    end
  end

  def get
    socket = Socket.new( AF_INET, SOCK_STREAM, 0 )
    sockaddr = Socket.pack_sockaddr_in( 80, @uri.host )
    socket.connect( sockaddr )
    puts &quot;Path: #{@uri.path || '/'}&quot; 
    socket.write( &quot;GET #{@uri.path || '/'} HTTP/1.0\r\n\r\n&quot; )
    socket.read
  end

end

class Response

  def initialize( text )
    @text = text

    headers,@body = text.split(/\r\n\r\n/)
    headers = headers.split(/\r\n/)
    @status_line = headers.shift

    @headers = {}
    headers.each do |h|
      kv = h.split(/: /)
      @headers[kv[0]] = kv[1]
    end
  end

  def to_s
    result = &quot;&quot; 
    @headers.each do |k,v|
      result &amp;lt;&amp;lt; &quot;#{k} - #{v}\n&quot; 
    end
    result &amp;lt;&amp;lt; @body
    result
  end

end

# ========
# = Main =
# ========
begin
  puts &quot;Please enter a URI (press Q to quit): &quot; 
  uri_str = gets.strip.downcase
  unless uri_str == 'q'
    request = Request.new(uri_str)
    puts Response.new(request.get)
  end
rescue Exception =&amp;gt; e
  puts &quot;An error occurred: #{e}&quot; 
end until uri_str == 'q'
&lt;/code&gt;&lt;/pre&gt;

	&lt;p&gt;Please share your thought on whether using &lt;span class='caps'&gt;OOP&lt;/span&gt; or not is a good idea and whether this test successfully tests one&#8217;s qualifications as a Ruby programmer.&lt;/p&gt;


	&lt;p&gt;On the other hand, I can tell you that I&#8217;ve written Ruby Extensions (three by now) using Ruby and C-code, I wrote a Radiant &lt;span class='caps'&gt;CMS&lt;/span&gt; plugin and wrote a couple of Ruby on Rails websites in my spare time. Professionally I work on an extensive Ruby on Rails project, which tests the boundaries of Rails (if I may say so).&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://www.degrunt.net/">
    <author>
      <name>tom</name>
    </author>
    <id>tag:www.degrunt.net,2008-02-04:836</id>
    <published>2008-02-04T19:04:00Z</published>
    <updated>2008-02-04T22:12:28Z</updated>
    <category term="Apple"/>
    <link href="http://www.degrunt.net/articles/2008/2/4/boot-camp-windows-xp-sp2" rel="alternate" type="text/html"/>
    <title>Boot Camp: Windows XP SP2</title>
<content type="html">
            &lt;p&gt;Today I wanted to install Windows &lt;span class='caps'&gt;XP SP2&lt;/span&gt; onto Boot Camp, so I printed the &#8220;Installation &#38; Setup Guide&#8221; Apple provides in the &#8220;Boot Camp Assistant&#8221;. My ultimate goal is to allow Windows XP to boot off off Boot Camp (on it&#8217;s own) and by using VMWare Fusion, for the times I don&#8217;t want to reboot (which are more frequent).&lt;/p&gt;


	&lt;p&gt;So in my case I already have a working version of VMWare and Windows XP. Next is to install Windows XP, so first I needed to Partition my drive. In my case I chose a 32 GB Windows partition, as I intend to (also) play some games on it.&lt;/p&gt;


	&lt;p&gt;Then I needed a Windows &lt;span class='caps'&gt;XP SP2&lt;/span&gt; install CD, but sadly I only had a Windows &lt;span class='caps'&gt;XP SP1&lt;/span&gt; bootable CD (well I once made a .cdr file from that CD and used that instead). 
This can be fixed using the &lt;a href='http://www.helpwithwindows.com/WindowsXP/winxp-sp2-bootcd.html'&gt;Slipstreaming Windows XP Service Pack 2 and Create Bootable CD&lt;/a&gt; guide. Then I used the .EXE mambo-jambo from the Guide. I ended up with a &#8220;patched&#8221; version of Windows &lt;span class='caps'&gt;XP SP2&lt;/span&gt;. Now then, how to burn a bootable CD, without &#8220;Nero&#8221;, well I just downloaded the Trial version (which expires after 15 days, but that&#8217;s fine).&lt;/p&gt;


	&lt;p&gt;Once that&#8217;s all done &#8230; the rest is trivial &#8230; except for Windows XP activation, what a nightmare!
&lt;a href='http://excitedcuriosity.wordpress.com/2007/08/30/vmware-fusion-apple-boot-camp-and-windows-activation/'&gt;This article&lt;/a&gt; describes what you need to do.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://www.degrunt.net/">
    <author>
      <name>tom</name>
    </author>
    <id>tag:www.degrunt.net,2008-02-03:835</id>
    <published>2008-02-03T19:25:00Z</published>
    <updated>2008-02-03T19:35:07Z</updated>
    <category term="Apple"/>
    <link href="http://www.degrunt.net/articles/2008/2/3/ea-games-for-mac-osx" rel="alternate" type="text/html"/>
    <title>EA Games for Mac OSX</title>
<content type="html">
            &lt;p&gt;Well, so far I&#8217;ve bought three games for Mac &lt;span class='caps'&gt;OSX&lt;/span&gt;:&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;Need for Speed Carbon&lt;/li&gt;
		&lt;li&gt;Command and Conquer 3 Tiberium Wars ( Kane )&lt;/li&gt;
		&lt;li&gt;Command and Conquer Generals ( + Zero Hours)&lt;/li&gt;
	&lt;/ul&gt;


	&lt;p&gt;The games run great on my Mac (Macbook Pro 2.4 Ghz Intel Core 2 Duo &#8211; 4GB 667Mhz &lt;span class='caps'&gt;DDR2 SDRAM&lt;/span&gt; &#8211; &lt;span class='caps'&gt;NVIDIA&lt;/span&gt; GeForce 8600M &lt;span class='caps'&gt;GT 256 MB&lt;/span&gt;), but ofcourse I wasn&#8217;t expecting anything less!&lt;/p&gt;


	&lt;p&gt;The only thing that strikes me odd is the fact that I&#8217;m being sent to the &lt;a href='http://www.electronicarts.nl/'&gt;Dutch EA website&lt;/a&gt; which doesn&#8217;t have a single Mac game nor any links to it. Neither is there a link to &#8216;complain&#8217; about this. So I&#8217;m off to the &lt;a href='http://www.ea.com/'&gt;US/Canada website&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;Oh and for the &#8216;unbelievers&#8217; take a look at &lt;a href='http://www.apple.com/games/trailers/'&gt;Apple&#8217;s Game Pages&lt;/a&gt; to see (and download) game (demo&#8217;s).&lt;/p&gt;


	&lt;p&gt;Oh (2) and EA, where are Need for Speed Prostreet and Burnout Paradise City for the Mac?&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://www.degrunt.net/">
    <author>
      <name>tom</name>
    </author>
    <id>tag:www.degrunt.net,2008-01-29:833</id>
    <published>2008-01-29T19:09:00Z</published>
    <updated>2008-01-29T19:31:29Z</updated>
    <link href="http://www.degrunt.net/articles/2008/1/29/conceptronic-csatai23u" rel="alternate" type="text/html"/>
    <title>Conceptronic CSATAi23U</title>
<content type="html">
            &lt;p&gt;The conceptronic CSATAi23U &#8211; Serial &lt;span class='caps'&gt;ATA&lt;/span&gt; &#38; &lt;span class='caps'&gt;IDE&lt;/span&gt; to &lt;span class='caps'&gt;USB&lt;/span&gt; adapter &#8211; works flawlessly with Mac &lt;span class='caps'&gt;OSX 10&lt;/span&gt;.5 (Leopard). No need to install drivers. Just insert your hard-disk in the connector and insert the adapter in the device and then turn on the device. At this point an orange &lt;span class='caps'&gt;LED&lt;/span&gt; should show and only then connect it to your Mac. Perfect!&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://www.degrunt.net/">
    <author>
      <name>tom</name>
    </author>
    <id>tag:www.degrunt.net,2008-01-27:832</id>
    <published>2008-01-27T21:51:00Z</published>
    <updated>2008-01-27T21:54:37Z</updated>
    <link href="http://www.degrunt.net/articles/2008/1/27/game-in-javascript" rel="alternate" type="text/html"/>
    <title>Game in JavaScript</title>
<content type="html">
            &lt;p&gt;I&#8217;m truly aMazed! James Edwards created a &lt;a href='http://www.sitepoint.com/print/art-science-javascript'&gt;maze game&lt;/a&gt; using JavaScript/HTML/CSS and a bunch of images.&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://www.degrunt.net/">
    <author>
      <name>tom</name>
    </author>
    <id>tag:www.degrunt.net,2008-01-15:818</id>
    <published>2008-01-15T20:19:00Z</published>
    <updated>2008-01-15T20:30:14Z</updated>
    <category term="Apple"/>
    <link href="http://www.degrunt.net/articles/2008/1/15/dbvisualizer" rel="alternate" type="text/html"/>
    <title>DBVisualizer</title>
<content type="html">
            &lt;p&gt;After evaluating loads of &lt;span class='caps'&gt;DB GUI&lt;/span&gt; apps for Mac &lt;span class='caps'&gt;OSX&lt;/span&gt;, I&#8217;ve finally made my decision. It seems that DBVisualizer is more than able to fit my needs, allows for data entry/export and creation and altering of tables. It also allows for a uniform view into multiple databases (MySQL/PostgreSQL/etc).
It doesn&#8217;t have a great Mac &lt;span class='caps'&gt;OSX&lt;/span&gt; (Leopard) look &#38; feel, but it&#8217;s not all that bad either! All in all I&#8217;d recommend it!&lt;/p&gt;
          </content>  </entry>
  <entry xml:base="http://www.degrunt.net/">
    <author>
      <name>tom</name>
    </author>
    <id>tag:www.degrunt.net,2008-01-15:817</id>
    <published>2008-01-15T18:46:00Z</published>
    <updated>2008-01-15T18:47:17Z</updated>
    <category term="Apple"/>
    <category term="Rails"/>
    <link href="http://www.degrunt.net/articles/2008/1/15/installing-mysql-gem-on-mac-osx-10-5-leopard" rel="alternate" type="text/html"/>
    <title>Installing MySQL gem on Mac OSX 10.5 (Leopard)</title>
<content type="html">
            &lt;pre&gt;&lt;code&gt;sudo env ARCHFLAGS=&quot;-arch i386&quot; gem install mysql -- --with-mysql-config=/opt/local/bin/mysql_config5&lt;/code&gt;&lt;/pre&gt;
          </content>  </entry>
  <entry xml:base="http://www.degrunt.net/">
    <author>
      <name>tom</name>
    </author>
    <id>tag:www.degrunt.net,2008-01-06:775</id>
    <published>2008-01-06T20:24:00Z</published>
    <updated>2008-01-06T20:39:55Z</updated>
    <category term="Plugin"/>
    <category term="Ruby"/>
    <link href="http://www.degrunt.net/articles/2008/1/6/ruby-units" rel="alternate" type="text/html"/>
    <title>Ruby Units</title>
<content type="html">
            &lt;p&gt;While we&#8217;re at it here&#8217;s also a little info about the brilliant gem &#8220;ruby-units&#8221;, which takes away all the nasty conversion from you.&lt;/p&gt;


	&lt;p&gt;It can be easily installed using the known: &lt;pre&gt;gem install ruby-units&lt;/pre&gt;&lt;/p&gt;


Here&#8217;s some sample code:
&lt;pre&gt;&lt;code class='ruby'&gt;
require 'rubygems'
gem 'ruby-units'
require 'ruby-units'

c = Unit.new(&quot;100cm&quot;) &amp;gt;&amp;gt; &quot;ft&quot; 
puts c.scalar
k = Unit.new(&quot;100&quot;,&quot;kg&quot;) &amp;gt;&amp;gt; &quot;lbs&quot; 
puts k.scalar
&lt;/code&gt;&lt;/pre&gt;
          </content>  </entry>
</feed>
