<?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>Space Babies</title>
	<atom:link href="http://www.spacebabies.nl/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.spacebabies.nl</link>
	<description>extraterrestrialicious web apps</description>
	<lastBuildDate>Tue, 08 May 2012 15:02:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Working life is the best thing</title>
		<link>http://www.spacebabies.nl/2012/04/20/working-life-is-the-best-thing/</link>
		<comments>http://www.spacebabies.nl/2012/04/20/working-life-is-the-best-thing/#comments</comments>
		<pubDate>Fri, 20 Apr 2012 19:33:30 +0000</pubDate>
		<dc:creator>joost</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.spacebabies.nl/?p=1906</guid>
		<description><![CDATA[We&#8217;ve been led to believe going to work is awful. It pervades popular culture. Radio DJs, people around you, conversations at random places. Weekends are where it&#8217;s at; work days are boooooring. What a load of crap. Working life is the fucking best thing. I have never enjoyed myself more. A typical day for me would [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve been led to believe going to work is awful. It pervades popular culture. Radio DJs, people around you, conversations at random places. Weekends are where it&#8217;s at; work days are boooooring.</p>
<p>What a load of crap.</p>
<p>Working life is the fucking best thing. I have never enjoyed myself more.</p>
<p>A typical day for me would be hard at work coding for (hopefully) eight hours straight. Yes, that is actually true. Open the door, get continuous tests going and start smashing the key board. I like this. So that right there is a fun day for me, something I can do day after day after day.</p>
<p>And it gets even better.</p>
<p>I am lucky enough to share an office with a <a href="http://www.swirlstudio.nl/">dude</a> who likes electronic dance music. So <del>often</del> always we will have something like <a href="http://friskyradio.com/">Frisky Radio</a> on, pretty loud, actually drowning out conversation. Give me progressive beats for eight hours straight and I am a happy man. An espresso machine is five steps away. We are in the middle of Amsterdam (and I do mean in the actual city center). Organic lunch.</p>
<p>Before this I shared a big office in a vacant property. That was also amazing. Before that I worked in a loft. Before that, at home. And always I am having so much fun I can just giggle all the time. So every time I hear &#8220;thank God it&#8217;s Friday/weekend&#8221; or whatever that mystifies me. To me there is no drop in life quality during the week. It&#8217;s the same, just with other people and other music.</p>
<p>If you dread going to work, really think hard and try to change that. Because really, every day of your life can be the best fucking day ever.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.spacebabies.nl/2012/04/20/working-life-is-the-best-thing/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Changing more than one commit message in git</title>
		<link>http://www.spacebabies.nl/2012/03/22/changing-more-than-one-commit-message-in-git/</link>
		<comments>http://www.spacebabies.nl/2012/03/22/changing-more-than-one-commit-message-in-git/#comments</comments>
		<pubDate>Thu, 22 Mar 2012 15:08:56 +0000</pubDate>
		<dc:creator>joost</dc:creator>
				<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://www.spacebabies.nl/?p=1902</guid>
		<description><![CDATA[Okay, there are a ton of tutorials about this subject online, but none of them are quite as succinct as mine. Also, most are fairly out of date or just plain wrong. So mostly for my future self here is the best way to update a bunch of commit messages in git after you&#8217;re committed [...]]]></description>
			<content:encoded><![CDATA[<p>Okay, there are a ton of tutorials about this subject online, but none of them are quite as succinct as mine. Also, most are fairly out of date or just plain wrong. So mostly for my future self here is the best way to update a bunch of commit messages in git after you&#8217;re committed them.</p>
<p>Say you want to change the last three commit messages.</p>
<pre>git rebase -i HEAD~3</pre>
<p>Then change &#8216;pick&#8217; to &#8216;reword&#8217; and save the file. What you are saving is actually a script which will run your $EDITOR for every commit message. Nothing else is changed, just the commit message. Your repo is automatically rebased and updated.</p>
<p>As always when changing history, you will likely run into trouble if you have already pushed to a remote repository.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.spacebabies.nl/2012/03/22/changing-more-than-one-commit-message-in-git/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Yo dawg, I heard you liked NoSQL&#8230;</title>
		<link>http://www.spacebabies.nl/2012/03/06/yo-dawg-i-heard-you-liked-nosql/</link>
		<comments>http://www.spacebabies.nl/2012/03/06/yo-dawg-i-heard-you-liked-nosql/#comments</comments>
		<pubDate>Tue, 06 Mar 2012 20:41:56 +0000</pubDate>
		<dc:creator>joost</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://www.spacebabies.nl/?p=1896</guid>
		<description><![CDATA[so I put No SQL in your SQL! Or something along those lines. My point: some concepts in NoSQL are easy to implement in SQL. I&#8217;ve been using the Rails 3.2 store method like a crazy person (*) and gotten great results. Imagine this: you wish to store a bunch of social media URLs in your [...]]]></description>
			<content:encoded><![CDATA[<p>so I put No SQL in your SQL! Or something along those lines. My point: some concepts in NoSQL are easy to implement in SQL. I&#8217;ve been using the Rails 3.2 <a href="http://api.rubyonrails.org/classes/ActiveRecord/Store.html">store</a> method like a crazy person (*) and gotten great results.</p>
<p><span id="more-1896"></span>Imagine this: you wish to store a bunch of social media URLs in your every day relational database. You nor I nor your visitors particularly care that these URLs are reusable elsewhere. Solution: serialize those bad boys into a text column and call it a day!</p>
<pre>class Person &lt; ActiveRecord::Base
  store :social, accessors: [:twitter, :facebook, :youtube]
end</pre>
<p>Now you can just store those URLs as if they were attributes on your model. It&#8217;s not important if you store zero, one or more. You can even store URLs you have no accessors for! Just like those NoSQL kids.</p>
<p>If even works great in the view since you usually wish to hide some markup in case there is nothing social happening:</p>
<pre>- unless @person.social.empty?
  %section.social
    ... render those social links</pre>
<p><small>* actually once, just then.</small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.spacebabies.nl/2012/03/06/yo-dawg-i-heard-you-liked-nosql/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The daily WTF</title>
		<link>http://www.spacebabies.nl/2012/02/15/the-daily-wtf/</link>
		<comments>http://www.spacebabies.nl/2012/02/15/the-daily-wtf/#comments</comments>
		<pubDate>Wed, 15 Feb 2012 20:05:44 +0000</pubDate>
		<dc:creator>joost</dc:creator>
				<category><![CDATA[rants]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.spacebabies.nl/?p=1891</guid>
		<description><![CDATA[Don&#8217;t do this: if starts_at &#60; starts_at.at_beginning_of_day + 6.hours # do something end do this: if starts_at.hour &#60; 6 # do something easier to understand end]]></description>
			<content:encoded><![CDATA[<p>Don&#8217;t do this:</p>
<pre>if starts_at &lt; starts_at.at_beginning_of_day + 6.hours
  # do something
end</pre>
<p>do this:</p>
<pre>if starts_at.hour &lt; 6
  # do something easier to understand
end</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.spacebabies.nl/2012/02/15/the-daily-wtf/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Twelve minutes of your time</title>
		<link>http://www.spacebabies.nl/2012/01/18/twelve-minutes-of-your-time/</link>
		<comments>http://www.spacebabies.nl/2012/01/18/twelve-minutes-of-your-time/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 21:50:03 +0000</pubDate>
		<dc:creator>joost</dc:creator>
				<category><![CDATA[politics]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[SOPA]]></category>

		<guid isPermaLink="false">http://www.spacebabies.nl/?p=1877</guid>
		<description><![CDATA[Please spend twelve minutes of your time and watch this video. It is a very important video to watch, certainly one of the most significant videos of this decade, maybe further back than that. It explains a new proposed law in the US called SOPA and it explains very, very well why technology people and [...]]]></description>
			<content:encoded><![CDATA[<p>Please spend twelve minutes of your time and <a href="http://www.ted.com/talks/defend_our_freedom_to_share_or_why_sopa_is_a_bad_idea.html">watch this video</a>. It is a very important video to watch, certainly one of the most significant videos of this decade, maybe further back than that. It explains a new proposed law in the US called SOPA and it explains very, very well why technology people and companies are opposed to this law.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.spacebabies.nl/2012/01/18/twelve-minutes-of-your-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using a bit field and scopes like a boss</title>
		<link>http://www.spacebabies.nl/2012/01/18/using-a-bit-field-and-scopes-like-a-boss/</link>
		<comments>http://www.spacebabies.nl/2012/01/18/using-a-bit-field-and-scopes-like-a-boss/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 09:56:49 +0000</pubDate>
		<dc:creator>joost</dc:creator>
				<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://www.spacebabies.nl/?p=1875</guid>
		<description><![CDATA[I&#8217;m a big fan of FlagShihTzu. It allows me to combine a number of boolean attributes into one database column, saving a number of columns, indexes and a whole load of complexity. Today I even solved how to utilize the flags from a related model inside a scope. Yes, that feels pretty good. Here&#8217;s my [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m a big fan of <a href="https://github.com/xing/flag_shih_tzu">FlagShihTzu</a>. It allows me to combine a number of boolean attributes into one database column, saving a number of columns, indexes and a whole load of complexity. Today I even solved how to utilize the flags from a related model inside a scope. Yes, that feels pretty good.</p>
<p><span id="more-1875"></span></p>
<p>Here&#8217;s my use case: I need to fetch child models but only those that have certain flags set on the parent. Here&#8217;s how you would do this using a simple boolean:</p>
<pre>class Child
  scope :visible, include(:parent).where(visible: true)
end</pre>
<p>However, this does not work immediately since FlagShihTzu stores any number of fields inside one column. After a little digging around in the source code I discovered that the conditions are exposed, allowing me to use them:</p>
<pre>class Child
  scope :visible, include(:parent).where(Parent.visible_condition)
end</pre>
<p>So easy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.spacebabies.nl/2012/01/18/using-a-bit-field-and-scopes-like-a-boss/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Z@ppelin iPad app&#8217;s massive success</title>
		<link>http://www.spacebabies.nl/2011/12/27/zppelin-ipad-apps-massive-success/</link>
		<comments>http://www.spacebabies.nl/2011/12/27/zppelin-ipad-apps-massive-success/#comments</comments>
		<pubDate>Tue, 27 Dec 2011 12:57:23 +0000</pubDate>
		<dc:creator>joost</dc:creator>
				<category><![CDATA[rails]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.spacebabies.nl/?p=1870</guid>
		<description><![CDATA[I&#8217;ve been lucky enough to to be involved in the Z@ppelin iPad app as the back-end programmer. The app has seen tremendous success and is one of the most popular (if not the most popular) apps from the Dutch public broadcasters. The idea behind the app is simple: provide a safe environment for young children [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.spacebabies.nl/wp-content/uploads/2011/12/Schermafbeelding-2011-12-27-om-13.58.03.png"><img class="alignright size-full wp-image-1872" title="Schermafbeelding 2011-12-27 om 13.58.03" src="http://www.spacebabies.nl/wp-content/uploads/2011/12/Schermafbeelding-2011-12-27-om-13.58.03.png" alt="" width="185" height="185" /></a>I&#8217;ve been lucky enough to to be involved in the <a href="http://itunes.apple.com/nl/app/z-ppelin/id428263410?mt=8">Z@ppelin iPad app</a> as the back-end programmer. The app has seen tremendous success and is one of the most popular (if not the most popular) apps from the Dutch public broadcasters.</p>
<p><span id="more-1870"></span></p>
<p>The idea behind the app is simple: provide a safe environment for young children (age 2-6) to play, watch, learn and discover. It features content from television, games such as memory, a drawing tool and sing-a-long songs. The app mostly follows the <a href="http://www.zappelin.nl/">website</a>, but is adapted for touch screens.</p>
<p>I have young children and they keep coming back to this app again and again. We can also see this in the visitor stats. In fact the Z@ppelin team, including myself, was quite surprised when we received a call from the hosting team that we were causing a massive load on their servers. Since then I added a huge amount of caching and CDN speedups and now we&#8217;re fine.</p>
<p>Some numbers:</p>
<ul>
<li>100.000+ downloads in 10 months time</li>
<li>60.000 children use the app every month</li>
<li>6 million pageviews per month on average</li>
</ul>
<p>I did the back end in Ruby on Rails using JSON. The app itself was coded by <a href="http://www.noodlewerk.com/">Noodlewerk</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.spacebabies.nl/2011/12/27/zppelin-ipad-apps-massive-success/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Unlocking education, for growth without limits</title>
		<link>http://www.spacebabies.nl/2011/12/07/unlocking-education-for-growth-without-limits/</link>
		<comments>http://www.spacebabies.nl/2011/12/07/unlocking-education-for-growth-without-limits/#comments</comments>
		<pubDate>Wed, 07 Dec 2011 09:05:48 +0000</pubDate>
		<dc:creator>joost</dc:creator>
				<category><![CDATA[politics]]></category>
		<category><![CDATA[rants]]></category>

		<guid isPermaLink="false">http://www.spacebabies.nl/?p=1867</guid>
		<description><![CDATA[Recently a new movement has sprang up in the Netherlands pushing education towards Open Source. In education, proprietary software is the norm. I think that&#8217;s bad since this locks children into using a particular vendor&#8217;s software basically for ever. Unlocking Education aims to change this and I fully support their work. They want to enable [...]]]></description>
			<content:encoded><![CDATA[<p>Recently a new movement has sprang up in the Netherlands pushing education towards Open Source. In education, <a href="http://www.edri.org/edrigram/number9.22/unlocking-education-netherlands">proprietary software is the norm</a>. I think that&#8217;s bad since this locks children into using a particular vendor&#8217;s software basically for ever. <a href="http://fsfe.org/campaigns/nledu/nledu.en.html">Unlocking Education</a> aims to change this and I fully support their work.</p>
<p><span id="more-1867"></span>They want to enable all citizens to have free access to education and all other publicly-funded institutions, both online and offline, by pushing for a mandatory use of Open Standards and a guaranteed platform-independent access to all online environments. This allows students and parents to use Free Software, and in that way being able to tap into their potential for growth and personal development.</p>
<p>To me it&#8217;s a no-brainer but apparently the minister is not supportive of the idea. This is the same minister that is telling us parents to &#8216;spend more time with our children, discussing, tutoring, helping out at school&#8217; while she spent zero time on her own children, and had a fucking nanny doing that. I have to wonder how lying thugs like that can come to rule us. Oh wait, politics.</p>
<p>A few sane members of parliament are pushing back, but I think that&#8217;s not enough. <a href="http://www.edri.org/edrigram/number9.22/unlocking-education-netherlands">A to-do list has been published</a>, and I will cross off a few items of my own. If you can help, please consider it!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.spacebabies.nl/2011/12/07/unlocking-education-for-growth-without-limits/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Relaunched: GO Magazine</title>
		<link>http://www.spacebabies.nl/2011/09/28/relaunched-go-magazine/</link>
		<comments>http://www.spacebabies.nl/2011/09/28/relaunched-go-magazine/#comments</comments>
		<pubDate>Wed, 28 Sep 2011 12:19:33 +0000</pubDate>
		<dc:creator>joost</dc:creator>
				<category><![CDATA[dance]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://www.spacebabies.nl/?p=1862</guid>
		<description><![CDATA[I must be getting old and nostalgic. The past weeks I have been relaunching projects from my past, and GO Magazine is the first one to come online. Truth be told I am quite pleased with it. First the technical background. This website was created by me and I both wrote articles and programmed the [...]]]></description>
			<content:encoded><![CDATA[<p>I must be getting old and nostalgic. The past weeks I have been relaunching projects from my past, and <a href="http://www.gomagazine.nl/">GO Magazine</a> is the first one to come online. Truth be told I am quite pleased with it.</p>
<p><span id="more-1862"></span><a href="http://www.gomagazine.nl/"><img class="aligncenter size-large wp-image-1863" title="Schermafbeelding 2011-09-28 om 14.18.59" src="http://www.spacebabies.nl/wp-content/uploads/2011/09/Schermafbeelding-2011-09-28-om-14.18.59-1024x819.png" alt="" width="584" height="467" /></a>First the technical background. This website was created by me and I both wrote articles and programmed the website. Back in 2000 I did this in plain HTML, then jumped on J2EE. Looking back that was a nightmare. When Rails hit the scene in 2005 (I think) I ported everything to Rails and have been using that ever since.</p>
<p>In fact GO Magazine has been running every Rails version from 0.9-something until now. In recent years the website has been defunct and completely stagnant. <strong>Until now!</strong></p>
<p>After a quick website design contest using <a href="http://freelancer.com/">freelancer.com</a>, which was eventually won by <a href="http://webdeezine.com/">Webdeezine</a> from Serbia, I had <a title="SliceCraft" href="http://www.slicecraft.nl/">SliceCraft</a> do the HTML5 front-end. This all went very smoothly.</p>
<p>I coded the back-end in Rails 3.1 using the awesome asset pipeline. What does that mean? Well, it&#8217;s the Rails solution for all the CSS and javascript files that make up a modern web site. The asset pipeline makes sure all these little files are grouped together, so they can be pushed into your browser in the least amount of time possible. And when you visit <a href="http://www.gomagazine.nl/">www.gomagazine.nl</a> you can see exactly that. There is only one CSS file and only one Javascript file visible to you, but actually there are lots of different files in the back end. Last but not least SliceCraft did their magic and made sure the HTML is squeeky clean. Check the source to see what I mean, it&#8217;s beautiful.</p>
<p>With this massive refresh, GO Magazine can continue showing all the articles written by me and my friends, when we were heavily into electronic music and DJ culture. Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.spacebabies.nl/2011/09/28/relaunched-go-magazine/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>DigiNotar&#8217;s criminal negligence</title>
		<link>http://www.spacebabies.nl/2011/09/05/diginotas-criminal-negligence/</link>
		<comments>http://www.spacebabies.nl/2011/09/05/diginotas-criminal-negligence/#comments</comments>
		<pubDate>Mon, 05 Sep 2011 20:54:04 +0000</pubDate>
		<dc:creator>joost</dc:creator>
				<category><![CDATA[rants]]></category>

		<guid isPermaLink="false">http://www.spacebabies.nl/?p=1847</guid>
		<description><![CDATA[You might have heard about DigiNotar, a Dutch company (owned by Vasco Data Security) that sold security (SSL) certificates used on the internet. They were hacked in a big way. They were so hacked, that all their certificates are now declared un-safe everywhere in the world. How did this happen? Dutch security firm Fox-IT investigated and [...]]]></description>
			<content:encoded><![CDATA[<p>You might have heard about DigiNotar, a Dutch company (<a href="http://www.vasco.com/">owned by Vasco Data Security</a>) that sold security (SSL) certificates used on the internet. They were hacked in a big way. They were so hacked, that all their certificates are now declared un-safe everywhere in the world.</p>
<p><span id="more-1847"></span>How did this happen?</p>
<p>Dutch security firm <a href="http://www.fox-it.com/">Fox-IT</a> investigated and the results are shocking. Since this news is <a href="http://www.nu.nl/internet/2607758/diginotar-negeerde-misbruik-en-was-slecht-beveiligd.html">mostly in Dutch</a> I might do you a favor by translating:</p>
<ul>
<li>DigiNotar noticed &#8220;something wrong&#8221; on 19 July 2011 but did nothing</li>
<li>DigiNotar detected actual use of hacked certificates on 28 July 2011 but did nothing</li>
<li>They saw this traffic coming <a href="http://www.youtube.com/watch?v=wZsWoSxxwVY">mostly from Iran</a>. And did nothing.</li>
<li>The certificate signing infrastructure was accessible from the network (!)</li>
<li>Anyone, <em>yes even regular users without security clearance</em>, had access to the signing infrastructure (!!)</li>
<li>Our government&#8217;s SSL infrastructure was also available in this fashion (contrary to every agreement made)</li>
<li>No anti-virus software anywhere. And of course they&#8217;re a Windows shop</li>
<li>No intrusion detection at all</li>
<li>No paper-trail logging in place</li>
<li>Easy to guess passwords were used by administrators</li>
<li>Copies of certificates were stored. <em>Copies! Were stored! By DigiNotar!! On a non-secure LAN! </em><strong>OMFG</strong></li>
</ul>
<div>This has nothing to do with sloppiness. DigiNotar and it&#8217;s parent company Vasco Data Security have been criminally negligent and should be prosecuted. Luckily, the State&#8217;s Attorney has opened an investigation.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.spacebabies.nl/2011/09/05/diginotas-criminal-negligence/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

