<?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"
	>

<channel>
	<title>Webreakstuff Labs</title>
	<atom:link href="http://labs.webreakstuff.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://labs.webreakstuff.com</link>
	<description>A blog about development, inspiration and experiments.</description>
	<pubDate>Sat, 18 Oct 2008 13:24:05 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Backing up a Mac without Time Machine</title>
		<link>http://labs.webreakstuff.com/2008/10/18/backing-up-a-mac-without-time-machine/</link>
		<comments>http://labs.webreakstuff.com/2008/10/18/backing-up-a-mac-without-time-machine/#comments</comments>
		<pubDate>Sat, 18 Oct 2008 13:24:05 +0000</pubDate>
		<dc:creator>Fred Oliveira</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[apple]]></category>

		<category><![CDATA[backup]]></category>

		<category><![CDATA[leopard]]></category>

		<category><![CDATA[productivity]]></category>

		<category><![CDATA[rsync]]></category>

		<category><![CDATA[time machine]]></category>

		<category><![CDATA[timemachine]]></category>

		<guid isPermaLink="false">http://labs.webreakstuff.com/?p=12</guid>
		<description><![CDATA[If you&#8217;re on Leopard chances are you use (or have considered using) Time Machine to backup and restore your mac. I&#8217;m not a huge fan of that, though. Time Machine keeps insisting in taking up all the space in the backup device, which is dumb if you&#8217;re using that same device for other stuff (i.e: [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re on Leopard chances are you use (or have considered using) Time Machine to backup and restore your mac. I&#8217;m not a huge fan of that, though. Time Machine keeps insisting in taking up all the space in the backup device, which is dumb if you&#8217;re using that same device for other stuff (i.e: an iTunes library). So I have been doing my backups with good old rsync. </p>
<p>Keep in mind that this method does <em>not</em> do the fancy going back in time, or is even a full backup of the hard-drive. Chances are that you probably don&#8217;t need those anyway. If things do go sour, I normally prefer to start with a clean base system and reinstall essential apps and then copy things (like documents and preferences) over from my backup.</p>
<p>I&#8217;m going to assume that you know your way around a unix system and can use the Terminal on your mac. If you don&#8217;t, leave a comment if you have any questions. Also, these instructions assume you&#8217;re backing up to a locally mounted volume, but since rsync is so flexible, you can backup to almost any computer on your LAN or the internet. </p>
<pre><code>rsync -avzE --quiet --exclude-from=.exclude ~/ /Volumes/vultures/Backups</code></pre>
<p>I&#8217;m using the -E parameter to include extended attributes from OSX with the backup as well - this is useful when backing up a mac. Also, I use the &#8211;quiet option because I really don&#8217;t need the output. If you&#8217;re the verbose kind, use -P (which does the same as &#8211;progress and &#8211;partial) to see the whole thing go through. </p>
<p>I also give rsync an exclude file where I list directories and file name patterns that I want to ignore when backing up. This is mainly so rsync doesn&#8217;t backup my iTunes music library, Movies, Downloads or spotlight indexes. Those are the things that I really don&#8217;t need. You&#8217;ll likely have to finetune this file for your own setup, but it should be pretty easy (and when it&#8217;s not, refer to the examples on rsync&#8217;s man page). Here&#8217;s my own exclude file (.exclude on my home directory):</p>
<pre><code>/Music/
/Movies/
.DS_Store/
/Downloads/
/Documents/Virtual Machines/
*/.Trash</code></pre>
<p>With that out of the way, there&#8217;s a few obvious ways to improve this backup scheme. One of those is to make rsync keep several backups, or to automate the backing up process using cron. I&#8217;ll leave that to your own exploring, but keep in mind that this may be a lot better than Time Machine if you just need the safety of knowing you&#8217;re all backed up without the pain of having a hard drive fully dedicated to it. </p>
<p>Do you backup some other way? Do share your thoughts in the comments!</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.webreakstuff.com/2008/10/18/backing-up-a-mac-without-time-machine/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Rabble and Kellan on XMPP PubSub</title>
		<link>http://labs.webreakstuff.com/2008/07/24/rabble-and-kellan-on-xmpp-pubsub/</link>
		<comments>http://labs.webreakstuff.com/2008/07/24/rabble-and-kellan-on-xmpp-pubsub/#comments</comments>
		<pubDate>Thu, 24 Jul 2008 01:49:19 +0000</pubDate>
		<dc:creator>Fred Oliveira</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[development]]></category>

		<category><![CDATA[flickr]]></category>

		<category><![CDATA[polling]]></category>

		<category><![CDATA[pubsub]]></category>

		<category><![CDATA[push]]></category>

		<category><![CDATA[rest]]></category>

		<category><![CDATA[xmpp]]></category>

		<guid isPermaLink="false">http://labs.webreakstuff.com/?p=11</guid>
		<description><![CDATA[Evan (now at ENTP) and Kellan Elliot-McCrea of Flickr gave what appears to have been (judging by the slides below) an awesome presentation at OSCON today on going beyond rest with XMPP PubSub. This is a topic quite dear to my heart because one of the services we&#8217;ve been toying with (unfortunately left in the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://anarchogeek.com">Evan</a> (now at ENTP) and <a href="http://laughingmeme.org">Kellan Elliot-McCrea</a> of Flickr gave what appears to have been (judging by the slides below) an awesome presentation at OSCON today on going beyond rest with XMPP PubSub. This is a topic quite dear to my heart because one of the services we&#8217;ve been toying with (unfortunately left in the backburner for a bit while we work on other stuff) is knee deep in this stuff. If this is your cup of tea, check out these slides:</p>
<p><object style="margin:0px" width="425" height="355"><param name="movie" value="http://static.slideshare.net/swf/ssplayer2.swf?doc=beyond-rest-narrative-1216853401785467-9"/><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slideshare.net/swf/ssplayer2.swf?doc=beyond-rest-narrative-1216853401785467-9" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://labs.webreakstuff.com/2008/07/24/rabble-and-kellan-on-xmpp-pubsub/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Sproutcore (podcast)</title>
		<link>http://labs.webreakstuff.com/2008/06/24/sproutcore-podcast/</link>
		<comments>http://labs.webreakstuff.com/2008/06/24/sproutcore-podcast/#comments</comments>
		<pubDate>Tue, 24 Jun 2008 03:40:12 +0000</pubDate>
		<dc:creator>Fred Oliveira</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[apple]]></category>

		<category><![CDATA[development]]></category>

		<category><![CDATA[framework]]></category>

		<category><![CDATA[javascript]]></category>

		<category><![CDATA[podcast]]></category>

		<category><![CDATA[sproutcore]]></category>

		<guid isPermaLink="false">http://labs.webreakstuff.com/?p=10</guid>
		<description><![CDATA[If you haven&#8217;t heard of sproutcore in the last few weeks, you&#8217;ve been reading the wrong kind of blog. Sproutcure is a Javascript-based framework that allows developers to build applications easily. The twist is it is also the framework used by Apple on their MobileMe offering, which is bound to get some people to download [...]]]></description>
			<content:encoded><![CDATA[<p>If you haven&#8217;t heard of sproutcore in the last few weeks, you&#8217;ve been reading the wrong kind of blog. Sproutcure is a Javascript-based framework that allows developers to build applications easily. The twist is it is also the framework used by Apple on their <a href="http://apple.com/mobileme">MobileMe</a> offering, which is bound to get some people to download and give it a try to try and rub in some of that Cupertino goodness <em>(I totally did it)</em>.</p>
<p>Anyway, Dion delivers again by scoring an interview with the Sproutcore developer that goes into a bit of detail about the why&#8217;s and how&#8217;s of the framework itself. You should <a href="http://ajaxian.com/archives/audible-ajax-episode-27-sproutcore-with-charles-jolley">go have a listen</a> if javascript, thick clients or building <em>(oh beautiful)</em> web-based applications is your kind of game.</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.webreakstuff.com/2008/06/24/sproutcore-podcast/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Firefox 3 for developers</title>
		<link>http://labs.webreakstuff.com/2008/06/18/firefox-3/</link>
		<comments>http://labs.webreakstuff.com/2008/06/18/firefox-3/#comments</comments>
		<pubDate>Wed, 18 Jun 2008 12:41:59 +0000</pubDate>
		<dc:creator>Tiago Pinto</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[development]]></category>

		<category><![CDATA[extensions]]></category>

		<category><![CDATA[firebug]]></category>

		<category><![CDATA[firefox]]></category>

		<category><![CDATA[mac]]></category>

		<category><![CDATA[yslow]]></category>

		<guid isPermaLink="false">http://labs.webreakstuff.com/?p=9</guid>
		<description><![CDATA[The latest major version of Firefox has just been launched and to celebrate (and try and get into the Guinness Book of World Records), yesterday was download day.
I don&#8217;t know about other platforms, but I can tell you my story of love and hate with Firefox on the Mac: Firefox 2 has always been on [...]]]></description>
			<content:encoded><![CDATA[<p>The latest major version of Firefox has just been launched and to celebrate (and try and get into the Guinness Book of World Records), yesterday was <a href="http://www.spreadfirefox.com/en-US/worldrecord/">download day</a>.</p>
<p>I don&#8217;t know about other platforms, but I can tell you my story of love and hate with Firefox on the Mac: Firefox 2 has always been on my computer, even though I was using Safari for its speed, stability and OS integration. Now I&#8217;m going back: Firefox 3 is a lot faster and stable, not to mention I can go back to using proper keyboard shortcuts (something Safari lacks, particularly for tab controls).</p>
<p>Being a web developer, the browser is a key tool in the work I do every day. Along with Firefox 3, there are a bunch of useful extensions you can install to work on the web. The next few paragraphs highlight some of those.</p>
<h2>Tools of the trade</h2>
<p>- <strong>Firebug</strong> is a swiss-army knife that allows you to: inspect specific nodes on a page, change the code and css of the page on the fly, test Javascript code in a console and see network debug information for each request. <a href="http://getfirebug.com/releases/">Get Firebug from the project&#8217;s page.</a> (I&#8217;m using the 1.2 beta and loving it).</p>
<p>- <strong>Yahoo!&#8217;s YSlow</strong> relies on Firebug and highlights potential problems with your page, app or service, as well as tips on how to solve them. If you&#8217;ve read &#8220;Building scalable websites&#8221;, this is the tool that <em>goes with</em> the book. Learn more about the project and download it <a href="http://developer.yahoo.com/yslow/">here</a>.</p>
<p>- <strong>Live HTTP Headers</strong> let&#8217;s you see the headers exchanged between your browser and the web server for each request on a given session (i.e.: html, images, CSS files, etc&#8230;). <a href="https://addons.mozilla.org/en-US/firefox/addon/3829">Get it here</a></p>
<p>- <strong>Tamper data</strong> is what you need if you want to mess around forms after being submitted but just before being POSTed to the server. <a href="http://tamperdata.mozdev.org/">Give it a spin</a> if you&#8217;re into tampering your requests.</p>
<p>- <strong>Web Developer</strong> used to be the <em>de facto</em> extension when developing for the web. It has been replaced with Firebug&#8217;s features but if all that you want is outline certain elements or resize the window, this may still be the right tool for you. You can download it <a href="https://addons.mozilla.org/en-US/firefox/addon/60">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.webreakstuff.com/2008/06/18/firefox-3/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Learnings from Twitter + Stamen</title>
		<link>http://labs.webreakstuff.com/2008/06/14/learnings-from-twitter-and-stamen/</link>
		<comments>http://labs.webreakstuff.com/2008/06/14/learnings-from-twitter-and-stamen/#comments</comments>
		<pubDate>Sat, 14 Jun 2008 13:20:08 +0000</pubDate>
		<dc:creator>Fred Oliveira</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[api]]></category>

		<category><![CDATA[development]]></category>

		<category><![CDATA[gnip]]></category>

		<category><![CDATA[json]]></category>

		<category><![CDATA[oauth]]></category>

		<category><![CDATA[stamen]]></category>

		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://labs.webreakstuff.com/?p=7</guid>
		<description><![CDATA[If you&#8217;re in the mood for a little bit of inspiration, here&#8217;s a pretty good presentation from Alex Payne (of Twitter) and Mike Migurski (of Stamen) on designing APIs (and designing on top of APIs). It&#8217;s probably material you&#8217;ve read or seen elsewhere - there&#8217;s no groundbreaking theory of everything in these slides -, but [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re in the mood for a little bit of inspiration, here&#8217;s a pretty good presentation from Alex Payne (of Twitter) and Mike Migurski (of Stamen) on designing APIs (and designing on top of APIs). It&#8217;s probably material you&#8217;ve read or seen elsewhere - there&#8217;s no groundbreaking theory of everything in these slides -, but it does pack quite a few things to make note of.</p>
<p><object style="margin:0px" width="425" height="355"><param name="movie" value="http://static.slideshare.net/swf/ssplayer2.swf?doc=preso-1208985232644502-9"/><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slideshare.net/swf/ssplayer2.swf?doc=preso-1208985232644502-9" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object></p>
<p>Enjoy your weekend!</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.webreakstuff.com/2008/06/14/learnings-from-twitter-and-stamen/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Large Hadron Collider</title>
		<link>http://labs.webreakstuff.com/2008/06/10/large-hadron-collider/</link>
		<comments>http://labs.webreakstuff.com/2008/06/10/large-hadron-collider/#comments</comments>
		<pubDate>Tue, 10 Jun 2008 21:30:15 +0000</pubDate>
		<dc:creator>Fred Oliveira</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[bigbang]]></category>

		<category><![CDATA[cern]]></category>

		<category><![CDATA[lhc]]></category>

		<category><![CDATA[physics]]></category>

		<category><![CDATA[xkcd]]></category>

		<guid isPermaLink="false">http://labs.webreakstuff.com/?p=6</guid>
		<description><![CDATA[They flip the switch (to turn the LHC on, that is) in about a month - which is scary in a Half-Life Unforseen Consequences kind of way. If you don&#8217;t know what the LHC is, check out this page for information on the project. And cross your fingers.

]]></description>
			<content:encoded><![CDATA[<p>They flip the switch (to turn the LHC on, that is) in about a month - which is scary in a Half-Life Unforseen Consequences kind of way. If you don&#8217;t know what the LHC is, check out <a href="http://public.web.cern.ch/public/en/LHC/WhyLHC-en.html">this page</a> for information on the project. And cross your fingers.</p>
<p><img src="http://imgs.xkcd.com/comics/large_hadron_collider.png" alt="" class="" width="500px" /></p>
]]></content:encoded>
			<wfw:commentRss>http://labs.webreakstuff.com/2008/06/10/large-hadron-collider/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Objective-J, Capuccino and you</title>
		<link>http://labs.webreakstuff.com/2008/06/09/objective-j-capuccino-and-you/</link>
		<comments>http://labs.webreakstuff.com/2008/06/09/objective-j-capuccino-and-you/#comments</comments>
		<pubDate>Mon, 09 Jun 2008 00:58:17 +0000</pubDate>
		<dc:creator>Fred Oliveira</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[280north]]></category>

		<category><![CDATA[capuccino]]></category>

		<category><![CDATA[cocoa]]></category>

		<category><![CDATA[development]]></category>

		<category><![CDATA[javascript]]></category>

		<category><![CDATA[objectivec]]></category>

		<category><![CDATA[objectivej]]></category>

		<guid isPermaLink="false">http://labs.webreakstuff.com/?p=5</guid>
		<description><![CDATA[There&#8217;s some crazy weird people out there. People who have code chops so hardcore that they implement languages and  on top of other languages. People like the 280North guys who ported Objective-C and Cocoa into Javascript in the shape of Objective-J and Capuccino. I noticed something was odd when I was trying to figure [...]]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s some <del datetime="2008-06-09T00:47:38+00:00">crazy</del> weird people out there. People who have code chops so <em>hardcore</em> that they implement languages and  on top of other languages. People like the 280North guys who ported Objective-C and Cocoa into Javascript in the shape of Objective-J and Capuccino. I noticed something was odd when I was trying to figure out why <a href="http://280slides.com">280Slides</a> wouldn&#8217;t load on Firefox, and opened Firebug only to see a bunch of .J files being loaded and a piece of superglue <a href="http://280slides.com/Editor/1212807849/Frameworks/Objective-J/Objective-J.js">called Objective-J.js</a>. I knew <em>something</em> was up, but didn&#8217;t have much time to investigate.</p>
<pre>
- (CPData)dataOfType:(CPString)aType error:({CPError})anError
{
    var dictionary = [CPDictionary dictionary],
        data = [CPData dataWithString:@""],
        archiver = [[CPKeyedArchiver alloc] initForWritingWithMutableData:data];
</pre>
<p>Luckily my friend Dion over at Ajaxian did, and scored an <a href="http://ajaxian.com/archives/an-interview-with-280-north-on-objective-j-and-cappuccino">interview with the 280North guys</a> about Objective-J, Cocoa and Capuccino. It&#8217;s a pretty interesting listen (it&#8217;s a podcast), so make time for it if you enjoy this kind of brain-munching runtime-porting stuff. Now you do have to excuse me while I wrap my head around all these brackets in my browser window.</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.webreakstuff.com/2008/06/09/objective-j-capuccino-and-you/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Engine Yard Express</title>
		<link>http://labs.webreakstuff.com/2008/06/08/engine-yard-express/</link>
		<comments>http://labs.webreakstuff.com/2008/06/08/engine-yard-express/#comments</comments>
		<pubDate>Sun, 08 Jun 2008 23:50:00 +0000</pubDate>
		<dc:creator>Fred Oliveira</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[development]]></category>

		<category><![CDATA[engineyard]]></category>

		<category><![CDATA[hosting]]></category>

		<category><![CDATA[rails]]></category>

		<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">http://labs.webreakstuff.com/?p=4</guid>
		<description><![CDATA[We&#8217;re big Engine Yard fans. We also happen to be their clients (both Goplan and Totspot run on their platform), which makes a lot of sense, because they&#8217;re a fantastic Ruby on Rails host. So we were pretty happy about their release of Engine Yard Express, a VMware image that simulates their slice environment, so [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;re big Engine Yard fans. We also happen to be their clients (both <a href="http://goplan.info">Goplan</a> and <a href="http://totspot.com">Totspot</a> run on their platform), which makes a lot of sense, because they&#8217;re a fantastic Ruby on Rails host. So we were pretty happy about their release of <a href="http://express.engineyard.com/">Engine Yard Express</a>, a VMware image that simulates their slice environment, so that we can test out our setups locally before moving them into their infrastructure. </p>
<p>It&#8217;s pretty helpful stuff if you happen to be offline often when working on things you want to test out in an environment that resembles your final production infrastructure. I&#8217;m telling you, these EY guys know their stuff.</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.webreakstuff.com/2008/06/08/engine-yard-express/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Yay! And there was light.</title>
		<link>http://labs.webreakstuff.com/2008/05/23/yay-and-there-was-light/</link>
		<comments>http://labs.webreakstuff.com/2008/05/23/yay-and-there-was-light/#comments</comments>
		<pubDate>Fri, 23 May 2008 13:12:41 +0000</pubDate>
		<dc:creator>Fred Oliveira</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[introduction]]></category>

		<category><![CDATA[labs]]></category>

		<category><![CDATA[webreakstuff]]></category>

		<guid isPermaLink="false">http://labs.webreakstuff.com/?p=3</guid>
		<description><![CDATA[Welcome to Webreakstuff Labs, our development and experimental blog. Unlike our serious blog, this is not about any particular topic. The Labs blog is about whatever is inspiring us, things we&#8217;re building (for fun or profit) and the occasional random chit-chat. It&#8217;s more of a raw feed of inspiration and geeky commentary about the things [...]]]></description>
			<content:encoded><![CDATA[<p>Welcome to Webreakstuff Labs, our development and experimental blog. Unlike our <a href="http://blog.webreakstuff.com">serious blog</a>, this is not about any particular topic. The Labs blog is about whatever is inspiring us, things we&#8217;re building (for fun <em>or</em> profit) and the occasional random chit-chat. It&#8217;s more of a raw feed of inspiration and geeky commentary about the things we care about like Ruby, Rails, Processing, Data, Visualization, and Experimental design. Do subscribe, you&#8217;ll have fun.</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.webreakstuff.com/2008/05/23/yay-and-there-was-light/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
