<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet href="/templates/default/atom.css" type="text/css" ?>

<feed 
   xmlns="http://www.w3.org/2005/Atom"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <link href="http://citizen428.net/feeds/atom10.xml" rel="self" title="citizen428.blog()" type="application/atom+xml" />
    <link href="http://citizen428.net/"                        rel="alternate"    title="citizen428.blog()" type="text/html" />
    <link href="http://citizen428.net/rss.php?version=2.0"     rel="alternate"    title="citizen428.blog()" type="application/rss+xml" />
    <title type="html">citizen428.blog()</title>
    <subtitle type="html">Too old to bother, too young to care...</subtitle>
    <icon>http://citizen428.net/templates/default/img/s9y_banner_small.png</icon>
    <id>http://citizen428.net/</id>
    <updated>2010-03-03T15:41:05Z</updated>
    <generator uri="http://www.s9y.org/" version="1.4.1">Serendipity 1.4.1 - http://www.s9y.org/</generator>
    <dc:language>en</dc:language>

    <entry>
        <link href="http://citizen428.net/archives/420-Move-EC2-AMIs-between-regions.html" rel="alternate" title="Move EC2 AMIs between regions" />
        <author>
            <name>citizen428</name>
                    </author>
    
        <published>2010-03-03T15:24:05Z</published>
        <updated>2010-03-03T15:41:05Z</updated>
        <wfw:comment>http://citizen428.net/wfwcomment.php?cid=420</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://citizen428.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=420</wfw:commentRss>
    
    
        <id>http://citizen428.net/archives/420-guid.html</id>
        <title type="html">Move EC2 AMIs between regions</title>
        <content type="xhtml" xml:base="http://citizen428.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                	<p>Today I spent some time figuring out how to move <a href="http://citizen428.net/exit.php?url_id=4750&amp;entry_id=420" title="http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/index.html?creating-an-ami-ebs.html"  onmouseover="window.status='http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/index.html?creating-an-ami-ebs.html';return true;" onmouseout="window.status='';return true;">EBS-backed AMIs</a> between different EC2 regions. To save you the effort, here&#8217;s a quick summary:<br />
<ul><br />
<li> create a volume from the snapshot backing the AMI</li><br />
<li> attach this volume to a running instance and mount it</li><br />
<li> create a new volume in the target region</li><br />
<li> attach to a running instance, format and mount</li><br />
<li> in the source region, connect to your instance</li><br />
<li> rsync (over ssh, so no messing with security groups) the mounted volume to the target volume</li><br />
<li> once the rsync is done, create a snapshot in the target region</li><br />
<li> register this snapsho as new <span class="caps">AMI</span> with <a href="http://citizen428.net/exit.php?url_id=4751&amp;entry_id=420" title="http://docs.amazonwebservices.com/AmazonEC2/dg/2007-01-03/CLTRG-register.html"  onmouseover="window.status='http://docs.amazonwebservices.com/AmazonEC2/dg/2007-01-03/CLTRG-register.html';return true;" onmouseout="window.status='';return true;">ec2-register</a></li><br />
</ul></p>

	<p>Not rocket science, but definitely not as good as just being able to share your own AMIs between regions&#8230; </p> 
            </div>
        </content>
        <dc:subject>aws</dc:subject>

    </entry>
    <entry>
        <link href="http://citizen428.net/archives/418-Plot-EC2-instance-usage-with-Clojure-and-Incanter.html" rel="alternate" title="Plot EC2 instance usage with Clojure and Incanter" />
        <author>
            <name>citizen428</name>
                    </author>
    
        <published>2010-02-25T23:46:29Z</published>
        <updated>2010-03-04T07:03:52Z</updated>
        <wfw:comment>http://citizen428.net/wfwcomment.php?cid=418</wfw:comment>
    
        <slash:comments>1</slash:comments>
        <wfw:commentRss>http://citizen428.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=418</wfw:commentRss>
    
    
        <id>http://citizen428.net/archives/418-guid.html</id>
        <title type="html">Plot EC2 instance usage with Clojure and Incanter</title>
        <content type="xhtml" xml:base="http://citizen428.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                	<p>Have you ever wondered which instance types you use most when dealing with Amazon&#8217;s EC2? I have, so I came up with a short Clojure/<a href="http://citizen428.net/exit.php?url_id=4749&amp;entry_id=418" title="http://incanter.org"  onmouseover="window.status='http://incanter.org';return true;" onmouseout="window.status='';return true;">Incanter</a> program to plot a nice chart like this:<br />
<br />

<img src="http://twitpic.com/show/thumb/15byfe.png" width="150" height="150" alt="EC2 usage plotted by #incanter (@liebke) on Twitpic" border="1"><br />

<a href="http://citizen428.net/exit.php?url_id=4746&amp;entry_id=418"  onmouseover="window.status='http://twitpic.com/15byfe';return true;" onmouseout="window.status='';return true;" title="EC2 usage plotted by incanter">(full size image)</a></p>

	<p>Here&#8217;s the code, if you have any feedback please leave a comment, this was the first time I used Incanter.</p>

	<p><script src="http://gist.github.com/315191.js?file=parse-ec2-report.clj"></script> </p> 
            </div>
        </content>
        <dc:subject>aws</dc:subject>
<dc:subject>clojure</dc:subject>
<dc:subject>programming</dc:subject>

    </entry>
    <entry>
        <link href="http://citizen428.net/archives/417-Comprehensive-list-of-cloud-related-links.html" rel="alternate" title="Comprehensive list of cloud-related links" />
        <author>
            <name>citizen428</name>
                    </author>
    
        <published>2010-02-25T10:34:55Z</published>
        <updated>2010-02-25T10:34:55Z</updated>
        <wfw:comment>http://citizen428.net/wfwcomment.php?cid=417</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://citizen428.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=417</wfw:commentRss>
    
    
        <id>http://citizen428.net/archives/417-guid.html</id>
        <title type="html">Comprehensive list of cloud-related links</title>
        <content type="xhtml" xml:base="http://citizen428.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                	<p>Lately a lot of my working time is spent on cloud technologies, most notably the <a href="http://citizen428.net/exit.php?url_id=4744&amp;entry_id=417" title="http://aws.amazon.com/"  onmouseover="window.status='http://aws.amazon.com/';return true;" onmouseout="window.status='';return true;">Amazon Web Services</a>. In recent month I compiled a rather comprehensive list of cloud-related links which I now decided to share with you all. </p>

	<p><a href="http://citizen428.net/exit.php?url_id=4745&amp;entry_id=417" title="http://gist.github.com/314445"  onmouseover="window.status='http://gist.github.com/314445';return true;" onmouseout="window.status='';return true;">Cloud Links</a></p>

	<p>It&#8217;s just a markdown file copied into a Gist, so if you want to add any links just fork away! <img src="http://citizen428.net/templates/default/img/emoticons/smile.png" alt=":-)" style="display: inline; vertical-align: bottom;" class="emoticon" /> </p> 
            </div>
        </content>
        <dc:subject>cloud</dc:subject>
<dc:subject>links</dc:subject>
<dc:subject>work</dc:subject>

    </entry>
    <entry>
        <link href="http://citizen428.net/archives/415-Major-changes-in-ClojureX.html" rel="alternate" title="Major changes in ClojureX" />
        <author>
            <name>citizen428</name>
                    </author>
    
        <published>2010-02-21T16:21:00Z</published>
        <updated>2010-02-22T09:38:54Z</updated>
        <wfw:comment>http://citizen428.net/wfwcomment.php?cid=415</wfw:comment>
    
        <slash:comments>1</slash:comments>
        <wfw:commentRss>http://citizen428.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=415</wfw:commentRss>
    
    
        <id>http://citizen428.net/archives/415-guid.html</id>
        <title type="html">Major changes in ClojureX</title>
        <content type="xhtml" xml:base="http://citizen428.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                	<p>When ClojureX was started it tried to be everything for everybody. Not only did it checkout and compile the git HEADs of clojure, clojure-contrib and jline, it also (optionally) downloaded packages for Clojure support in TextMate or Emacs, configured and installed them. This has two obvious drawbacks. First off, people end up downloading stuff they don&#8217;t need. With current disk sizes and connection speeds that&#8217;s probably not much of a problem, but some users may still find annoying. More importantly though it was hard to keep up with the upstream changes, e.g. clojure-contrib&#8217;s recent switch to Maven. </p>

	<p>So now instead of trying to provide a one-size-fits-all solution I&#8217;m taking a totally different approach: from now on ClojureX will only contain the most recent <strong>stable</strong> releases of clojure, clojure-contrib and jline, as well as a very full-featured clj script:</p>

	<p><script src="http://gist.github.com/310392.js?file=ClojureX+help"></script></p>

	<p>I know that this potentially makes ClojureX less useful to some people, but I do believe that it&#8217;s one of the fastest and most painless ways to set up a Clojure development environment. </p> 
            </div>
        </content>
        <dc:subject>clojure</dc:subject>
<dc:subject>mac</dc:subject>
<dc:subject>programming</dc:subject>

    </entry>
    <entry>
        <link href="http://citizen428.net/archives/414-OpenSolaris-cheat-sheet.html" rel="alternate" title="OpenSolaris cheat sheet" />
        <author>
            <name>citizen428</name>
                    </author>
    
        <published>2010-01-26T18:37:45Z</published>
        <updated>2010-01-26T18:43:53Z</updated>
        <wfw:comment>http://citizen428.net/wfwcomment.php?cid=414</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://citizen428.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=414</wfw:commentRss>
    
    
        <id>http://citizen428.net/archives/414-guid.html</id>
        <title type="html">OpenSolaris cheat sheet</title>
        <content type="xhtml" xml:base="http://citizen428.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                	<p>I&#8217;ve always been a big fan of the handy little utility <a href="http://citizen428.net/exit.php?url_id=4742&amp;entry_id=414" title="http://cheat.errtheblog.com"  onmouseover="window.status='http://cheat.errtheblog.com';return true;" onmouseout="window.status='';return true;">cheat</a> and recently became interested in <a href="http://citizen428.net/exit.php?url_id=4743&amp;entry_id=414" title="http://hub.opensolaris.org/bin/view/Main/"  onmouseover="window.status='http://hub.opensolaris.org/bin/view/Main/';return true;" onmouseout="window.status='';return true;">OpenSolaris</a> (which btw runs fine on my Thinkpad x200s), so I did the obvious and created an OpenSolaris cheat sheet:</p>

	<p>http://cheat.errtheblog.com/s/open_solaris</p>

	<p>It&#8217;s still missing information regarding <span class="caps">ZFS</span>, but I guess I&#8217;ll eventually add that too. And who knows, maybe I even get motivated enough for a nicely formatted Latex version&#8230; </p> 
            </div>
        </content>
        <dc:subject>opensolaris</dc:subject>
<dc:subject>tips</dc:subject>

    </entry>
    <entry>
        <link href="http://citizen428.net/archives/413-Scary-Ruby.html" rel="alternate" title="Scary Ruby" />
        <author>
            <name>citizen428</name>
                    </author>
    
        <published>2010-01-12T22:40:33Z</published>
        <updated>2010-01-12T22:40:33Z</updated>
        <wfw:comment>http://citizen428.net/wfwcomment.php?cid=413</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://citizen428.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=413</wfw:commentRss>
    
    
        <id>http://citizen428.net/archives/413-guid.html</id>
        <title type="html">Scary Ruby</title>
        <content type="xhtml" xml:base="http://citizen428.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                	<p>We all know that Ruby&#8217;s a flexible beast, but just how much you can bend it is almost scary. How about inheriting from a class randomly chosen at runtime? Sure, no problem:<br />
<script src="http://gist.github.com/275701.js?file=gistfile1.rb"></script></p>

	<p>I dare you to find a use case for this <img src="http://citizen428.net/templates/default/img/emoticons/wink.png" alt=";-)" style="display: inline; vertical-align: bottom;" class="emoticon" /></p>

	<p>And in case random isn&#8217;t good enough for you, why not have the user choose the superclass for you?</p>

	<p><script src="http://gist.github.com/275701.js?file=gistfile2.rb"></script> </p> 
            </div>
        </content>
        <dc:subject>programming</dc:subject>
<dc:subject>ruby</dc:subject>

    </entry>
    <entry>
        <link href="http://citizen428.net/archives/412-Bored-Dont-worry,-heres-a-new-programming-language....html" rel="alternate" title="Bored? Don't worry, here's a new programming language..." />
        <author>
            <name>citizen428</name>
                    </author>
    
        <published>2010-01-11T18:55:23Z</published>
        <updated>2010-01-11T19:15:19Z</updated>
        <wfw:comment>http://citizen428.net/wfwcomment.php?cid=412</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://citizen428.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=412</wfw:commentRss>
    
    
        <id>http://citizen428.net/archives/412-guid.html</id>
        <title type="html">Bored? Don't worry, here's a new programming language...</title>
        <content type="xhtml" xml:base="http://citizen428.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                	<p>Recently &#8211; for various degrees of recent that is &#8211; people really seem to be into programming language design and development. You&#8217;ve probably all heard about <a href="http://citizen428.net/exit.php?url_id=4734&amp;entry_id=412" title="http://www.scala-lang.org/"  onmouseover="window.status='http://www.scala-lang.org/';return true;" onmouseout="window.status='';return true;">Scala</a>, <a href="http://citizen428.net/exit.php?url_id=4735&amp;entry_id=412" title="http://clojure.org/"  onmouseover="window.status='http://clojure.org/';return true;" onmouseout="window.status='';return true;">Clojure</a> and <a href="http://citizen428.net/exit.php?url_id=4736&amp;entry_id=412" title="http://golang.org/"  onmouseover="window.status='http://golang.org/';return true;" onmouseout="window.status='';return true;">Go</a> already, but here are some more new languages which may be new to you (descriptions taken from the projects&#8217; websites):</p>

<ul>
<li><a href="http://citizen428.net/exit.php?url_id=4737&amp;entry_id=412" title="http://code.google.com/p/anic/"  onmouseover="window.status='http://code.google.com/p/anic/';return true;" onmouseout="window.status='';return true;">ANI</a>, <i>the experimental, high-performance, statically-safe, fully implicitly parallel, object-oriented, general-purpose dataflow programming language.</i></li>
<li><a href="http://citizen428.net/exit.php?url_id=4738&amp;entry_id=412" title="http://jashkenas.github.com/coffee-script/"  onmouseover="window.status='http://jashkenas.github.com/coffee-script/';return true;" onmouseout="window.status='';return true;">CoffeeScript</a> <i>is a little language that compiles into JavaScript. [...] it compiles into clean JavaScript (the good parts) that can use existing JavaScript libraries seamlessly, and passes through JSLint without warnings. The compiled output is quite readable — pretty-printed, with comments preserved intact.</i></li>
<li><a href="http://citizen428.net/exit.php?url_id=4739&amp;entry_id=412" title="http://www.factorcode.org/"  onmouseover="window.status='http://www.factorcode.org/';return true;" onmouseout="window.status='';return true;">Factor</a> <i>is a concatenative programming language where references to dynamically-typed values are passed between words (functions) on a stack. [It] is expressive, fast, supports interactive development and has a full-featured library. </i></li>
<li><a href="http://citizen428.net/exit.php?url_id=4740&amp;entry_id=412" title="http://ooc-lang.org/"  onmouseover="window.status='http://ooc-lang.org/';return true;" onmouseout="window.status='';return true;">ooc</a>, <i>a modern, object-oriented, functional-ish, high-level, low-level, sexy programming language. It&#8217;s translated to pure C with a source-to-source compiler. It strives to be powerful, modular, extensible, portable, yet simple and fast.</i></li>
<li><a href="http://citizen428.net/exit.php?url_id=4741&amp;entry_id=412" title="http://mth.github.com/yeti/"  onmouseover="window.status='http://mth.github.com/yeti/';return true;" onmouseout="window.status='';return true;">Yeti</a>, <i>ML style functional programming language, that runs on the <span class="caps">JVM</span>.</i></li>
</ul>

  
            </div>
        </content>
        <dc:subject>programming</dc:subject>

    </entry>
    <entry>
        <link href="http://citizen428.net/archives/410-2009-Reading-list.html" rel="alternate" title="2009 Reading list" />
        <author>
            <name>citizen428</name>
                    </author>
    
        <published>2010-01-02T12:47:26Z</published>
        <updated>2010-01-02T13:11:35Z</updated>
        <wfw:comment>http://citizen428.net/wfwcomment.php?cid=410</wfw:comment>
    
        <slash:comments>2</slash:comments>
        <wfw:commentRss>http://citizen428.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=410</wfw:commentRss>
    
    
        <id>http://citizen428.net/archives/410-guid.html</id>
        <title type="html">2009 Reading list</title>
        <content type="xhtml" xml:base="http://citizen428.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                	<p>Here&#8217;s what I read in 2009, in the order I read them:</p>

	<p><b>Brick Lane</b>: Monica Ali<br />
<b>Die Angst des Tormanns beim Elfmeter</b>: Peter Handke<br />
<b>Soweto Stories</b>: Miriam Tzali<br />
<b>The Eighth Day</b>: John Case<br />
<b>A Language in Common</b>: Marion Molteno<br />
<b>The Lover</b>: A. B. Yehoshua<br />
<b>Everything Is Illuminated</b>: Jonathan Safran Foer<br />
<b>Ali Smith&#8217;s Supersonic 70s</b>: Ali Smith<br />
<b>Die Memoiren des Rodriguez Fazantas</b>: Helge Schneider<br />
<b>German Amok</b>: Feridun Zaimoglu<br />
<b>Imaginings of Sand</b>: Andre Brink<br />
<b>Leinwand</b>: Feridun Zaimoglu<br />
<b>Bitter Fruit</b>: Achmat Dangor<br />
<b>Die Betrogene</b>: Thomas Mann<br />
<b>The Crow Road</b>: Iain Banks<br />
<b>The White Tiger</b>: Aravind Adiga<br />
<b>Kali: Eine Vorwintergeschichte</b>: Peter Handke<br />
<b>The Icarus Girl</b>: Helen Oyeyemi<br />
<b>Der Hund aus Terracotta</b>: Andrea Camilleri<br />
<b>Ansichten eines Clowns</b>: Heinrich BÃ¶ll<br />
<b>Lust</b>: Elfriede Jelinek<br />
<b>Transmission</b>: Hari Kunzru<br />
<b>Zwölf Gramm Glück</b>: Feridun Zaimoglu<br />
<b>Hokkaido Highway Blues</b>: Will Ferguson<br />
<b>Never Let Me Go</b>: Kazuo Ishiguro<br />
<b>Lunar Park</b>: Bret Easton Ellis<br />
<b>The Burial Brothers</b>: Simon Mayle<br />
<b>Ruby in Practice</b>: Jeremy McAnally<br />
<b>An der Arche um Acht</b>: Ulrich Hub<br />
<b>Ubik</b>: Philip Kindred Dick<br />
<b>A Loyal Character Dancer</b>: Qiu Xiaolong<br />
<b>Bartleby The Scrivener</b>: Herman Melville<br />
<b>2 B R 0 2 B</b>: Kurt Vonnegut<br />
<b>Handbuch des Kriegers des Lichts</b>: Paulo Coelho<br />
<b>The Well-Grounded Rubyist</b>: David A. Black<br />
<b>The Accidental</b>: Ali Smith<br />
<b>Rice Boy</b>: Evan Dahm<br />
<b>South Africa: The Rise and Fall of Apartheid</b>: Nancy L. Clark<br />
<b>Squeak by Example</b>: Andrew P. Black<br />
<b>Rabbit, Run</b>: John Updike<br />
<b>Heartland</b>: Joey Goebel<br />
<b>Guards! Guards!</b>: Terry Pratchett<br />
<b>Die Girls von Riad</b>: Rajaa Alsanea<br />
<b>Angela&#8217;s Ashes</b>: Frank McCourt<br />
<b>Verblendung</b>: Stieg Larsson<br />
<b>Der Tote im Sumida</b>: Sujata Massey<br />
<b>Crime</b>: Irvine Welsh<br />
<b>Interesting Times</b>: Terry Pratchett<br />
<b>Sacred Games</b>: Vikram Chandra<br />
<b>The God of Small Things</b>: Arundhati Roy<br />
<b>Programming Clojure</b>: Stuart Halloway<br />
<b>Armageddon</b>: Leon Uris<br />
<b>Small Gods</b>: Terry Pratchett<br />
<b>The Dice Man</b>: Luke Rhinehart<br />
<b>Verdammnis</b>: Stieg Larsson<br />
<b>Oranges Are Not the Only Fruit</b>: Jeanette Winterson<br />
<b>Vergebung</b>: Stieg Larsson<br />
<b>JavaScript: The Good Parts</b>: Douglas Crockford<br />
<b>Going Postal</b>: Terry Pratchett</p>

	<p>Started in 2009 but not finished:<br />
<b>Gödel, Escher, Bach</b>: Douglas R. Hofstadter<br />
<b>Brückenkurs Mathematik</b>: Guido Walz</p>

	<p>This list is not taking into account stuff that didn&#8217;t have ISBNs like some eBooks or scientific papers. </p> 
            </div>
        </content>
        <dc:subject>books</dc:subject>
<dc:subject>personal</dc:subject>

    </entry>
    <entry>
        <link href="http://citizen428.net/archives/408-Simple-AWS-scripting-with-boto.html" rel="alternate" title="Simple AWS scripting with boto" />
        <author>
            <name>citizen428</name>
                    </author>
    
        <published>2009-12-28T14:30:00Z</published>
        <updated>2009-12-28T14:39:06Z</updated>
        <wfw:comment>http://citizen428.net/wfwcomment.php?cid=408</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://citizen428.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=408</wfw:commentRss>
    
    
        <id>http://citizen428.net/archives/408-guid.html</id>
        <title type="html">Simple AWS scripting with boto</title>
        <content type="xhtml" xml:base="http://citizen428.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                	<p><a href="http://citizen428.net/exit.php?url_id=4733&amp;entry_id=408" title="http://code.google.com/p/boto/"  onmouseover="window.status='http://code.google.com/p/boto/';return true;" onmouseout="window.status='';return true;">boto</a> is a very nice Python interface to the Amazon Web Services which I can heartily recommend for your cloud scripting needs. Here&#8217;s a quick example program I whipped up around 2 weeks ago (be gentle, I&#8217;m not a Python guy and this is just a throwaway quickie), which will list all your AMIs (excluding public ones), used S3 buckets plus a list of currently running instances with some information like instance type, start time etc. The nice part is that you can connect to any instance via <span class="caps">SSH</span> directly from this lsit which I find more convenient than copy/pasting the public <span class="caps">DNS</span> name from the <span class="caps">AWS</span> console:</p>

	<p><script src="http://gist.github.com/264696.js?file=cloudwtf.py"></script> </p> 
            </div>
        </content>
        <dc:subject>aws</dc:subject>
<dc:subject>cloud</dc:subject>
<dc:subject>programming</dc:subject>
<dc:subject>python</dc:subject>

    </entry>
    <entry>
        <link href="http://citizen428.net/archives/409-Android-and-me.html" rel="alternate" title="Android and me" />
        <author>
            <name>citizen428</name>
                    </author>
    
        <published>2009-12-17T20:15:00Z</published>
        <updated>2009-12-17T22:20:43Z</updated>
        <wfw:comment>http://citizen428.net/wfwcomment.php?cid=409</wfw:comment>
    
        <slash:comments>1</slash:comments>
        <wfw:commentRss>http://citizen428.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=409</wfw:commentRss>
    
    
        <id>http://citizen428.net/archives/409-guid.html</id>
        <title type="html">Android and me</title>
        <content type="xhtml" xml:base="http://citizen428.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                	<p>Last Monday I got an <a href="http://citizen428.net/exit.php?url_id=4724&amp;entry_id=409" title="http://en.wikipedia.org/wiki/Android_(operating_system)"  onmouseover="window.status='http://en.wikipedia.org/wiki/Android_(operating_system)';return true;" onmouseout="window.status='';return true;">Android</a> phone from work (unfortunately A1 still only has the <span class="caps">HTC</span> Magic, but I don&#8217;t want to be ungrateful) and I obviously had to get into the whole community firmware thing and all. Here are some links that I hope are interesting and/or useful:<br />
<ul><br />
<li><a href="http://citizen428.net/exit.php?url_id=4721&amp;entry_id=409" title="http://developer.htc.com/adp.html"  onmouseover="window.status='http://developer.htc.com/adp.html';return true;" onmouseout="window.status='';return true;">Fastboot for Mac</a> (you have to scroll down a bit)</li><br />
<li><a href="http://citizen428.net/exit.php?url=aHR0cDovL2ZvcnVtLnhkYS1kZXZlbG9wZXJzLmNvbS9zaG93dGhyZWFkLnBocD90PTUyOTAxOT4mIzgyMjA7RW5naW5lZXJpbmcgPHNwYW4gY2xhc3M9&amp;entry_id=409" title="http://forum.xda-developers.com/showthread.php?t=529019&gt;&amp;#8220;Engineering &lt;span class="  onmouseover="window.status='http://forum.xda-developers.com/showthread.php?t=529019&gt;&amp;#8220;Engineering &lt;span class=';return true;" onmouseout="window.status='';return true;"caps">SPL</span> for <span class="caps">HTC</span> Magic</a></li><br />
<li><a href="http://citizen428.net/exit.php?url=aHR0cDovL2ZvcnVtLnhkYS1kZXZlbG9wZXJzLmNvbS9zaG93cG9zdC5waHA/cD00MDI5MzE1JnBvc3Rjb3VudD0x&amp;entry_id=409" title="http://forum.xda-developers.com/showpost.php?p=4029315&amp;postcount=1"  onmouseover="window.status='http://forum.xda-developers.com/showpost.php?p=4029315&amp;postcount=1';return true;" onmouseout="window.status='';return true;">Amon_RA Sapphire Recovery Image</li><br />
<li><a href="http://citizen428.net/exit.php?url_id=4726&amp;entry_id=409" title="http://wiki.smartphonefrance.info/firmware-htcmagic.ashx"  onmouseover="window.status='http://wiki.smartphonefrance.info/firmware-htcmagic.ashx';return true;" onmouseout="window.status='';return true;">Smartphone France Recovery and Firmware Image</a> (nice image, already rooted)</li><br />
<li><a href="http://citizen428.net/exit.php?url_id=4723&amp;entry_id=409" title="http://forum.xda-developers.com/showthread.php?t=556933%26highlight=theofficial%2Brogers"  onmouseover="window.status='http://forum.xda-developers.com/showthread.php?t=556933%26highlight=theofficial%2Brogers';return true;" onmouseout="window.status='';return true;">TheOfficial Rogers ROM</a> (very nice Android 1.5 <span class="caps">ROM</span>, needs root before installing)</li><br />
</ul></p>

	<p>One last word of advice: save your <span class="caps">APN</span> settings before you flash your phone!
 </p> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://citizen428.net/archives/405-happynerds.net-is-online!.html" rel="alternate" title="happynerds.net is online!" />
        <author>
            <name>citizen428</name>
                    </author>
    
        <published>2009-12-13T15:52:29Z</published>
        <updated>2009-12-13T23:01:21Z</updated>
        <wfw:comment>http://citizen428.net/wfwcomment.php?cid=405</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://citizen428.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=405</wfw:commentRss>
    
    
        <id>http://citizen428.net/archives/405-guid.html</id>
        <title type="html">happynerds.net is online!</title>
        <content type="xhtml" xml:base="http://citizen428.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                	<p>In my <a href="http://citizen428.net/exit.php?url_id=4717&amp;entry_id=405" title="http://citizen428.net/archives/404-Fun-with-Sinatra,-Heroku-and-MongoDB.html"  onmouseover="window.status='http://citizen428.net/archives/404-Fun-with-Sinatra,-Heroku-and-MongoDB.html';return true;" onmouseout="window.status='';return true;">previous blog post</a> I mentioned how much fun I have in creating a small web project with Sinatra, Heroku and MongoHQ and today said project finally went online:</p>

	<p><a href="http://citizen428.net/exit.php?url_id=4718&amp;entry_id=405" title="http://www.happynerds.net/"  onmouseover="window.status='http://www.happynerds.net/';return true;" onmouseout="window.status='';return true;">Happynerds &#8211; Programming Links for Kids</a></p>

	<p>If you wonder why I&#8217;m doing this, RailsBridge has a <a href="http://citizen428.net/exit.php?url_id=4719&amp;entry_id=405" title="http://teachingkids.railsbridge.org/"  onmouseover="window.status='http://teachingkids.railsbridge.org/';return true;" onmouseout="window.status='';return true;">good summary</a> on the topic.</p>

  
            </div>
        </content>
        <dc:subject>kids</dc:subject>
<dc:subject>programming</dc:subject>
<dc:subject>webtips</dc:subject>

    </entry>
    <entry>
        <link href="http://citizen428.net/archives/404-Fun-with-Sinatra,-Heroku-and-MongoDB.html" rel="alternate" title="Fun with Sinatra, Heroku and MongoDB" />
        <author>
            <name>citizen428</name>
                    </author>
    
        <published>2009-12-06T11:49:57Z</published>
        <updated>2009-12-13T11:34:34Z</updated>
        <wfw:comment>http://citizen428.net/wfwcomment.php?cid=404</wfw:comment>
    
        <slash:comments>4</slash:comments>
        <wfw:commentRss>http://citizen428.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=404</wfw:commentRss>
    
    
        <id>http://citizen428.net/archives/404-guid.html</id>
        <title type="html">Fun with Sinatra, Heroku and MongoDB</title>
        <content type="xhtml" xml:base="http://citizen428.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                	<p>I&#8217;ve been toying around with the idea for a small website lately, but never actually got around to do it. In an attempt to clear out my personal to do list I finally motivated myself to start yesterday, and I have to say the following combination of tools is not only insanely efficient, but also really fun to work with:<br />
<ul><br />
<li><a href="http://citizen428.net/exit.php?url_id=4708&amp;entry_id=404" title="http://www.sinatrarb.com/"  onmouseover="window.status='http://www.sinatrarb.com/';return true;" onmouseout="window.status='';return true;">Sinatra</a>, <i>&#8220;a <span class="caps">DSL</span> for quickly creating web applications in Ruby with minimal effort&#8221;</i>. I recommend using it in combination with <a href="http://citizen428.net/exit.php?url_id=4709&amp;entry_id=404" title="http://mongrel.rubyforge.org/"  onmouseover="window.status='http://mongrel.rubyforge.org/';return true;" onmouseout="window.status='';return true;">Mongrel</a>, <a href="http://citizen428.net/exit.php?url_id=4710&amp;entry_id=404" title="http://github.com/rtomayko/shotgun"  onmouseover="window.status='http://github.com/rtomayko/shotgun';return true;" onmouseout="window.status='';return true;">Shotgun</a> and <a href="http://citizen428.net/exit.php?url_id=4716&amp;entry_id=404" title="http://haml-lang.com/"  onmouseover="window.status='http://haml-lang.com/';return true;" onmouseout="window.status='';return true;">Haml</a>.</li><br />
<li><a href="http://citizen428.net/exit.php?url_id=4711&amp;entry_id=404" title="http://heroku.com/"  onmouseover="window.status='http://heroku.com/';return true;" onmouseout="window.status='';return true;">Heroku</a>, a Ruby cloud hosting platform. Small sites are for free and Heroku&#8217;s git-based workflow just feels so natural. You can also <a href="http://citizen428.net/exit.php?url_id=4712&amp;entry_id=404" title="http://docs.heroku.com/gems"  onmouseover="window.status='http://docs.heroku.com/gems';return true;" onmouseout="window.status='';return true;">manage your gem dependencies</a> and <a href="http://citizen428.net/exit.php?url_id=4713&amp;entry_id=404" title="http://docs.heroku.com/config-vars"  onmouseover="window.status='http://docs.heroku.com/config-vars';return true;" onmouseout="window.status='';return true;">set up environment variables</a>, which made my life a whole lot easier.</li><br />
<li><a href="http://citizen428.net/exit.php?url_id=4714&amp;entry_id=404" title="http://www.mongodb.org"  onmouseover="window.status='http://www.mongodb.org';return true;" onmouseout="window.status='';return true;">MongoDB</a>, <i>&#8220;a scalable, high-performance, open source, schema-free, document-oriented database&#8221;</i>. In this specific case I used <a href="http://citizen428.net/exit.php?url_id=4715&amp;entry_id=404" title="http://www.mongohq.com/home"  onmouseover="window.status='http://www.mongohq.com/home';return true;" onmouseout="window.status='';return true;">MongoHQ</a> for the database hosting, since they were nice enough to provide me with a beta account. I stored all the connection information for MongoHQ in environment variables as described above:</p>

	<p><script src="http://gist.github.com/250193.js?file=mongohq.rb"></script><br />
</ul></p>

	<p>With this combination I was able to go from zero to mostly finished (I still need to write some of the content and make/steal a stylesheet) in very little time, while actually having fun! Thanks everybody for providing the Ruby community which such awesome tools! <img src="http://citizen428.net/templates/default/img/emoticons/smile.png" alt=":-)" style="display: inline; vertical-align: bottom;" class="emoticon" /> </p> 
            </div>
        </content>
        <dc:subject>heroku</dc:subject>
<dc:subject>mongodb</dc:subject>
<dc:subject>mongohq</dc:subject>
<dc:subject>programming</dc:subject>
<dc:subject>ruby</dc:subject>
<dc:subject>sinatra</dc:subject>

    </entry>
    <entry>
        <link href="http://citizen428.net/archives/402-Gravedigging-why-the-lucky-stiff-Io-Has-A-Very-Clean-Mirror.html" rel="alternate" title="Gravedigging why the lucky stiff: Io Has A Very Clean Mirror" />
        <author>
            <name>citizen428</name>
                    </author>
    
        <published>2009-12-01T20:54:09Z</published>
        <updated>2009-12-01T21:08:17Z</updated>
        <wfw:comment>http://citizen428.net/wfwcomment.php?cid=402</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://citizen428.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=402</wfw:commentRss>
    
    
        <id>http://citizen428.net/archives/402-guid.html</id>
        <title type="html">Gravedigging why the lucky stiff: Io Has A Very Clean Mirror</title>
        <content type="xhtml" xml:base="http://citizen428.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                	<p><a href="http://citizen428.net/exit.php?url_id=4700&amp;entry_id=402" title="http://www.iolanguage.com/"  onmouseover="window.status='http://www.iolanguage.com/';return true;" onmouseout="window.status='';return true;">Io</a> is a small small, prototype-based OO programming language that&#8217;s fun to play with. Unfortunately there&#8217;s not too much information about it out there and quite predictably googling for &#8220;io&#8221; gets you lots of results you are <strong>not</strong> looking for. But today I remembered that <a href="http://citizen428.net/exit.php?url_id=4701&amp;entry_id=402" title="http://en.wikipedia.org/wiki/Why_the_lucky_stiff"  onmouseover="window.status='http://en.wikipedia.org/wiki/Why_the_lucky_stiff';return true;" onmouseout="window.status='';return true;">why</a> once did a nice little article on the language, and thanks to the amazing <a href="http://citizen428.net/exit.php?url_id=4702&amp;entry_id=402" title="http://www.archive.org/"  onmouseover="window.status='http://www.archive.org/';return true;" onmouseout="window.status='';return true;">Internet Archive</a> I actually managed to find it! So with out further ado, here we go:</p>

	<p><a href="http://citizen428.net/exit.php?url_id=4703&amp;entry_id=402" title="http://web.archive.org/web/20080106163631/http://hackety.org/2008/01/05/ioHasAVeryCleanMirror.html"  onmouseover="window.status='http://web.archive.org/web/20080106163631/http://hackety.org/2008/01/05/ioHasAVeryCleanMirror.html';return true;" onmouseout="window.status='';return true;">Io Has A Very Clean Mirror</a> </p> 
            </div>
        </content>
        <dc:subject>io</dc:subject>
<dc:subject>programming</dc:subject>

    </entry>
    <entry>
        <link href="http://citizen428.net/archives/401-Fun-with-Twitter-and-Ruby.html" rel="alternate" title="Fun with Twitter and Ruby" />
        <author>
            <name>citizen428</name>
                    </author>
    
        <published>2009-11-23T20:50:49Z</published>
        <updated>2009-11-23T22:49:20Z</updated>
        <wfw:comment>http://citizen428.net/wfwcomment.php?cid=401</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://citizen428.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=401</wfw:commentRss>
    
    
        <id>http://citizen428.net/archives/401-guid.html</id>
        <title type="html">Fun with Twitter and Ruby</title>
        <content type="xhtml" xml:base="http://citizen428.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                	<p>I&#8217;m currently toying around with some ideas for Twitter bots etc. so I had a look at some of the available gems out there. Sometimes Ruby makes stuff almost too simple&#8230; <img src="http://citizen428.net/templates/default/img/emoticons/wink.png" alt=";-)" style="display: inline; vertical-align: bottom;" class="emoticon" /> Here are a few nice snippets of what you could do with a couple of minutes time and some Ruby:</p>

	<p><u>Automatically translate all tweets for a given keyword:</u> <br />
<script src="http://gist.github.com/241437.js?file=gistfile1.rb"></script></p>

	<p><u>Daemonize the above:</u><br />
Alternatively you can also follow a userid instead of a keyword and daemonize the whole thing, thus making it super easy to create a bot which posts translations of Matz&#8217;s tweets:</p>

	<p><script src="http://gist.github.com/241437.js?file=gistfile2.rb"></script></p>

	<p>If you put this into a file like transbot.rb,  the command ruby transbot.rb will give you all the regular daemon commands like start, stop, etc.</p>

	<p><u>Ruby is trendy</u><br />
Curious of getting a list of current trends on Twitter, without hashtags? There you go:<br />
<script src="http://gist.github.com/241437.js?file=gistfile3.rb"></script><br />
Combining all these ideas you could easily write a bot that follows the current Twitter trends and posts translations of them in only a couple of lines. <img src="http://citizen428.net/templates/default/img/emoticons/smile.png" alt=":-)" style="display: inline; vertical-align: bottom;" class="emoticon" /> </p> 
            </div>
        </content>
        <dc:subject>programming</dc:subject>
<dc:subject>ruby</dc:subject>
<dc:subject>twitter</dc:subject>

    </entry>
    <entry>
        <link href="http://citizen428.net/archives/400-Fixing-MacPorts-on-Snow-Leopard.html" rel="alternate" title="Fixing MacPorts on Snow Leopard" />
        <author>
            <name>citizen428</name>
                    </author>
    
        <published>2009-10-19T18:41:22Z</published>
        <updated>2009-10-19T18:55:24Z</updated>
        <wfw:comment>http://citizen428.net/wfwcomment.php?cid=400</wfw:comment>
    
        <slash:comments>1</slash:comments>
        <wfw:commentRss>http://citizen428.net/rss.php?version=atom1.0&amp;type=comments&amp;cid=400</wfw:commentRss>
    
    
        <id>http://citizen428.net/archives/400-guid.html</id>
        <title type="html">Fixing MacPorts on Snow Leopard</title>
        <content type="xhtml" xml:base="http://citizen428.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                	<p>After upgrading to Snow Leopard I had quite a bit of trouble with my <a href="http://citizen428.net/exit.php?url_id=4697&amp;entry_id=400" title="http://www.macports.org/"  onmouseover="window.status='http://www.macports.org/';return true;" onmouseout="window.status='';return true;">MacPorts</a> installation, since most builds just failed with configure errors. After the obvious first steps of installing a newer version for SL and making sure I have the most recent XCode, I was a bit stumped until I finally found this site:</p>

	<p><a href="http://citizen428.net/exit.php?url_id=4698&amp;entry_id=400" title="http://trac.macports.org/wiki/Migration"  onmouseover="window.status='http://trac.macports.org/wiki/Migration';return true;" onmouseout="window.status='';return true;">Migrating a MacPorts install to a new major OS version or <span class="caps">CPU</span> architecture</a></p>

	<p>After finding this guide &#8211; which btw really solved my problems &#8211; I felt a bit stupid, but since I didn&#8217;t have to do anything after the Tiger->Leopard upgrade, I really didn&#8217;t expect this.
 </p> 
            </div>
        </content>
        <dc:subject>mac</dc:subject>
<dc:subject>osx</dc:subject>
<dc:subject>tip</dc:subject>

    </entry>

</feed>