<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><description>This is my blog. I’m CS student who loves to hack and play with open source code (especially Ruby and Python)</description><title>Mihai Anca</title><generator>Tumblr (3.0; @ropiku)</generator><link>http://ropiku.tumblr.com/</link><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/ropiku" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item><title>Homebrew</title><description>&lt;p&gt;After a clean install of Snow Leopard I decided not to use &lt;a href="http://www.macports.org/"&gt;MacPorts&lt;/a&gt; but to go with &lt;a href="http://github.com/mxcl/homebrew"&gt;homebrew&lt;/a&gt;. Its main advantages are no duplication (macports installed its own version of ruby, python and other libs) and the path layout: packages are installed into their own prefix (eg. /usr/local/Cellar/wget) and then symlinked into the Homebrew prefix (eg. /usr/local).&lt;/p&gt;
&lt;p&gt;And because all of the formulas are in git, to add one you just fork the project on GitHub, push your formula and make a pull request. Because of that it’s one of the most forked project on GitHub.&lt;/p&gt;
&lt;p&gt;That’s what I did and now you can install Tokyo Cabinet and Tokyo Tyrant &lt;s&gt;from my &lt;/s&gt;&lt;a href="http://github.com/ropiku/homebrew"&gt;&lt;s&gt;fork&lt;/s&gt;&lt;/a&gt;&lt;s&gt; (I hope it will be merged into master soon) &lt;/s&gt;from main repo:&lt;/p&gt;
&lt;pre&gt;brew install tokyo-tyrant&lt;/pre&gt;
&lt;p&gt;(yep, no sudo needed).&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/ropiku?a=EXm1PF9g4LI:Afvjc58xqNw:iIw_lep_4YA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/ropiku?i=EXm1PF9g4LI:Afvjc58xqNw:iIw_lep_4YA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/ropiku?a=EXm1PF9g4LI:Afvjc58xqNw:I9og5sOYxJI"&gt;&lt;img src="http://feeds.feedburner.com/~ff/ropiku?d=I9og5sOYxJI" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/ropiku?a=EXm1PF9g4LI:Afvjc58xqNw:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/ropiku?i=EXm1PF9g4LI:Afvjc58xqNw:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/ropiku/~4/EXm1PF9g4LI" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/ropiku/~3/EXm1PF9g4LI/219057538</link><guid isPermaLink="false">http://ropiku.tumblr.com/post/219057538</guid><pubDate>Wed, 21 Oct 2009 14:39:00 +0100</pubDate><category>ruby</category><category>osx</category><feedburner:origLink>http://ropiku.tumblr.com/post/219057538</feedburner:origLink></item><item><title>Manchester</title><description>&lt;p&gt;&lt;img height="334" width="500" alt="University of Manchester" src="http://farm3.static.flickr.com/2462/4016836547_2e4a267d80.jpg"/&gt;&lt;/p&gt;
&lt;p&gt;It’s been one month since I arrived in Manchester and I really like it. The University is great, I only have 5 courses and 20h per week (and lunch breaks).&lt;/p&gt;
&lt;p&gt;But the thing that I like the most in Manchester are the user groups. I’ve been to &lt;a title="NWRUG" href="http://nwrug.org/"&gt;North West Ruby User Group&lt;/a&gt;, &lt;a href="http://geekup.org/"&gt;GeekUp&lt;/a&gt; and want to go at the next &lt;a href="http://manchester.fsuk.org/blog/"&gt;Manchester Free Software&lt;/a&gt; talk and to &lt;a href="http://groups.google.com/group/python-north-west"&gt;Python North West&lt;/a&gt;. I will probably talk at the next NWRUG meeting so I strongly recommend you come (and maybe make a short talk as well).&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/ropiku?a=_Ko2Poq7NqA:g1QTxCkjO6Q:iIw_lep_4YA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/ropiku?i=_Ko2Poq7NqA:g1QTxCkjO6Q:iIw_lep_4YA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/ropiku?a=_Ko2Poq7NqA:g1QTxCkjO6Q:I9og5sOYxJI"&gt;&lt;img src="http://feeds.feedburner.com/~ff/ropiku?d=I9og5sOYxJI" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/ropiku?a=_Ko2Poq7NqA:g1QTxCkjO6Q:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/ropiku?i=_Ko2Poq7NqA:g1QTxCkjO6Q:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/ropiku/~4/_Ko2Poq7NqA" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/ropiku/~3/_Ko2Poq7NqA/217069421</link><guid isPermaLink="false">http://ropiku.tumblr.com/post/217069421</guid><pubDate>Mon, 19 Oct 2009 11:54:27 +0100</pubDate><feedburner:origLink>http://ropiku.tumblr.com/post/217069421</feedburner:origLink></item><item><title>Since July I have joined the awesome team at uberVU. I really...</title><description>&lt;object width="400" height="336"&gt;&lt;param name="movie" value="http://www.youtube.com/v/HjFzljXLfDM&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/HjFzljXLfDM&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1" type="application/x-shockwave-flash" width="400" height="336" allowFullScreen="true" wmode="transparent"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Since July I have joined the awesome team at uberVU. I really like challenges and their goal to track the whole social media sounded very exciting. During this time I learned a lot of new things (like Python) and discovered how to cope with the amount of new information being generated on the internet.&lt;/p&gt;
&lt;p&gt;This video shows what we have accomplished so far.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.ubervu.com/post/177138569/its-easy-search-for-a-keyword-and-we-can-tell"&gt;ubervu&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;It’s easy. Search for a keyword and we can tell you &lt;b&gt;where are the people discussing that keyword&lt;/b&gt;, &lt;b&gt;how many of them there are&lt;/b&gt; and &lt;b&gt;what are the conversations you should get engaged in&lt;/b&gt;.&lt;br/&gt;&lt;br/&gt;As opposed to buzz tracking technologies that track mentions of your name or brand, our service is oriented around which people are interacting with your content or content about you and whether you are engaging those people or not. This approach turns the tables on buzz tracking by focusing on measuring and growing your community - building relationships and loyalty with people - rather than maximizing mention count without regard to people or relationships.&lt;/blockquote&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/ropiku?a=sVLrgNhU3xM:FQXv259MBJ4:iIw_lep_4YA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/ropiku?i=sVLrgNhU3xM:FQXv259MBJ4:iIw_lep_4YA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/ropiku?a=sVLrgNhU3xM:FQXv259MBJ4:I9og5sOYxJI"&gt;&lt;img src="http://feeds.feedburner.com/~ff/ropiku?d=I9og5sOYxJI" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/ropiku?a=sVLrgNhU3xM:FQXv259MBJ4:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/ropiku?i=sVLrgNhU3xM:FQXv259MBJ4:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/ropiku/~4/sVLrgNhU3xM" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/ropiku/~3/sVLrgNhU3xM/177155991</link><guid isPermaLink="false">http://ropiku.tumblr.com/post/177155991</guid><pubDate>Tue, 01 Sep 2009 16:22:00 +0100</pubDate><feedburner:origLink>http://ropiku.tumblr.com/post/177155991</feedburner:origLink></item><item><title>mr. penumbra’s twenty-four-hour book store</title><description>&lt;a href="http://robinsloan.com/2009/41/"&gt;mr. penumbra’s twenty-four-hour book store&lt;/a&gt;: &lt;p&gt;&lt;a href="http://robinsloan.com/2009/41/"&gt;&lt;img src="http://robinsloan.com/storage/24hr-cover.jpg"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/ropiku?a=TdFc3G_27mA:5psxeV0FG2c:iIw_lep_4YA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/ropiku?i=TdFc3G_27mA:5psxeV0FG2c:iIw_lep_4YA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/ropiku?a=TdFc3G_27mA:5psxeV0FG2c:I9og5sOYxJI"&gt;&lt;img src="http://feeds.feedburner.com/~ff/ropiku?d=I9og5sOYxJI" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/ropiku?a=TdFc3G_27mA:5psxeV0FG2c:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/ropiku?i=TdFc3G_27mA:5psxeV0FG2c:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/ropiku/~4/TdFc3G_27mA" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/ropiku/~3/TdFc3G_27mA/122497330</link><guid isPermaLink="false">http://ropiku.tumblr.com/post/122497330</guid><pubDate>Fri, 12 Jun 2009 20:25:20 +0100</pubDate><feedburner:origLink>http://ropiku.tumblr.com/post/122497330</feedburner:origLink></item><item><title>Google Wave Hackathon at Mountain View</title><description>&lt;p&gt;I wish I was at I/O to get the opportunity to play with Google Wave. I love the idea, and I think it’s limited only by what robots/gadgets makers think of doing with it.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.jaggeree.com/post/115379833/google-wave-hackathon-at-mountain-view"&gt;jaggeree&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;At I/O there were some really interesting Office Hours sessions where you could go and talk to the engineering teams about questions and issues. I wanted to find out a bit more about Wave and so went along to their APIs one. At the end of a really interesting chat an understandably tired Douwe gave me a mysterious looking card and invited me to come up to Mountain View the following day to hack on the Wave APIs… amazing, thank you Douwe.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://farm4.static.flickr.com/3367/3578122169_b455a30f2d.jpg" width="500" height="375"/&gt;&lt;/p&gt;
&lt;p&gt;I liked the ARGy nature of the mysterious tr.im URL on a card with nothing else on it, which lead you to a webpage where you could sign up.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://farm4.static.flickr.com/3349/3578310565_54c23e999a.jpg" width="476" height="500"/&gt;&lt;/p&gt;
&lt;p&gt;And a set of e-mails telling you where to go and how to get into the Waves sandbox. I had a few meetings in the morning in San Francisco I couldn’t miss and was worried it was getting too late to really build stuff when I got to the Hackathon so I spent most of the journey on the Caltrain up there looking through the docs, pulling together some simple ideas I could do in the 2 hours I’d have to code and also writing some very simple guestimate code based on the docs.&lt;/p&gt;
&lt;p&gt;The ARGy nature of the day carried on with fantastic lo-fi handwritten signs telling you where to go which I wished I’d photographed. When I got into the hacking room there were about 50 of us including the Wave team and it was a real honour and pleasure to meet Lars and many of the others who’d made this exciting new thing.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://farm3.static.flickr.com/2479/3578127331_da5215616a.jpg?v=1243697678" width="500" height="375"/&gt;&lt;/p&gt;
&lt;p&gt;Within about an hour or so (glad I already know AppEngine, all Robots are currently implemented in AppEngine) I had the Robot responding to the text properly and then in a little while longer I had the latest 10 stories from &lt;a href="http://www.guardian.co.uk/open-platform"&gt;The Guardian Content API&lt;/a&gt; being pushed into the right Blip within the Wave. We’ll be covering my code over on the &lt;a href="http://www.guardian.co.uk/open-platform/blog"&gt;Open Platform blog&lt;/a&gt; and we’ll put a screencast of it in action there and here soon. I called it Grauniady, partly because of The Guardian’s pet name in the UK of The Grauniad, partly because a naming convention seems to have come out of the Wave team of robots ending in “y” and partly because Lar’s demo of the spell checking was just so amazing, it all seemed appropriate.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://farm4.static.flickr.com/3403/3579121584_8359f595fc.jpg" width="500" height="346"/&gt;&lt;/p&gt;
&lt;p&gt;It was a really amazing day, some fantastic demos from all the developers which ranged from a collaborative drum machine and a piano embedded in a Wave, to a robot from &lt;a href="http://www.twilio.com/"&gt;Twilio&lt;/a&gt; which looked for phone numbers and enabled a call between people, and recorded that call and embedded it in the wave (awesome demo). There were a couple of Robots which behaved like bots and responded to text.&lt;/p&gt;
&lt;p&gt;Apart from the usual laptop/projector hookup mayhem Grauniady performed admirably and worked fine. Thanks to a Tory MP trying to claim for a “&lt;a href="http://browse.guardian.co.uk/search?search=duck+island&amp;sitesearch-radio=guardian&amp;go-guardian=Search"&gt;duck island&lt;/a&gt;” and Anna Pickard’s use of the word “&lt;a href="http://browse.guardian.co.uk/search?search=cockweasel&amp;sitesearch-radio=guardian&amp;go-guardian=Search"&gt;cockweasel&lt;/a&gt;” in The Apprentice live blog I had some good funny examples to show (always good to hear laughter at something other than sketchy code). Obviously I was following &lt;a href="http://twitter.com/simonw"&gt;Simon Willison&lt;/a&gt;’s convention of API demo’s involving animal names.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://farm4.static.flickr.com/3355/3576784791_4270a62006.jpg" width="500" height="281"/&gt;&lt;/p&gt;
&lt;p&gt;thanks to &lt;a href="http://twitter.com/pamelafox"&gt;Pamela Fox&lt;/a&gt; for &lt;a href="http://www.flickr.com/photos/88757125@N00/3576784791/"&gt;image above&lt;/a&gt; and for taking notes of the hacks in a wave.&lt;/p&gt;
&lt;p&gt;Thanks to &lt;a href="http://twitter.com/kevinmarks"&gt;Kevin Marks&lt;/a&gt; for the perfectly timed lift back to Mountain View station (5 minutes later and I’d have been sitting on the platform for an hour). Love the double decker CalTrains, couldn’t stop grinning about them and the day on the way back. Totally memorable. Feel very lucky. Thank you.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://farm4.static.flickr.com/3324/3578933194_c27d9f4cfb.jpg?v=1243697696" width="500" height="375"/&gt;&lt;/p&gt;
&lt;/blockquote&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/ropiku?a=EOItgHishd8:Y_tpcjIfPj0:iIw_lep_4YA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/ropiku?i=EOItgHishd8:Y_tpcjIfPj0:iIw_lep_4YA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/ropiku?a=EOItgHishd8:Y_tpcjIfPj0:I9og5sOYxJI"&gt;&lt;img src="http://feeds.feedburner.com/~ff/ropiku?d=I9og5sOYxJI" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/ropiku?a=EOItgHishd8:Y_tpcjIfPj0:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/ropiku?i=EOItgHishd8:Y_tpcjIfPj0:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/ropiku/~4/EOItgHishd8" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/ropiku/~3/EOItgHishd8/115411318</link><guid isPermaLink="false">http://ropiku.tumblr.com/post/115411318</guid><pubDate>Sat, 30 May 2009 20:02:31 +0100</pubDate><feedburner:origLink>http://ropiku.tumblr.com/post/115411318</feedburner:origLink></item><item><title>Quick jump to folder</title><description>&lt;p&gt;Another script I stole from &lt;a href="http://evil.che.lu/"&gt;evilchelu&lt;/a&gt; is &lt;a href="http://github.com/evilchelu/dotfiles/blob/8832f4b31e8717d849cddd48f9ae835d29ed6107/dotless/bin/chelu/j.sh"&gt;j.sh&lt;/a&gt;. It enables you to quickly jump to a folder that you often access by writing a small part of its name. I use it to quickly cd to my projects or other repositories with &lt;i&gt;“j &lt;a few letters&gt;”&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;To install it save it somewhere (I use a bin/ folder in my home) and add &lt;i&gt;“source &lt;path to j.sh&gt;”&lt;/i&gt; to your &lt;i&gt;.bashrc&lt;/i&gt; or &lt;i&gt;.bash_profile&lt;/i&gt;.&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/ropiku?a=xp6plRuZVs0:zHrHzk8C6yE:iIw_lep_4YA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/ropiku?i=xp6plRuZVs0:zHrHzk8C6yE:iIw_lep_4YA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/ropiku?a=xp6plRuZVs0:zHrHzk8C6yE:I9og5sOYxJI"&gt;&lt;img src="http://feeds.feedburner.com/~ff/ropiku?d=I9og5sOYxJI" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/ropiku?a=xp6plRuZVs0:zHrHzk8C6yE:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/ropiku?i=xp6plRuZVs0:zHrHzk8C6yE:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/ropiku/~4/xp6plRuZVs0" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/ropiku/~3/xp6plRuZVs0/90492399</link><guid isPermaLink="false">http://ropiku.tumblr.com/post/90492399</guid><pubDate>Fri, 27 Mar 2009 23:23:38 +0000</pubDate><feedburner:origLink>http://ropiku.tumblr.com/post/90492399</feedburner:origLink></item><item><title>I'm a ninja</title><description>&lt;a href="http://philosecurity.org/2009/03/23/pirates-and-ninjas-emacs-or-vi"&gt;I'm a ninja&lt;/a&gt;: &lt;p&gt;As I said on &lt;a href="https://twitter.com/ropiku/status/1322493814"&gt;twitter&lt;/a&gt;, I now switched to Vim (MacVim specifically). I am using &lt;a href="http://github.com/evilchelu/dotfiles/tree/master"&gt;evilchelu’s vimrc&lt;/a&gt; which has FuzzyFinder (my favourite TextMate feature). It wasn’t that hard to get productive at acceptable level.&lt;/p&gt;
&lt;p&gt;Any tips and/or recommendation ?&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/ropiku?a=1wboyEWxXlA:ICmg29pH0pQ:iIw_lep_4YA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/ropiku?i=1wboyEWxXlA:ICmg29pH0pQ:iIw_lep_4YA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/ropiku?a=1wboyEWxXlA:ICmg29pH0pQ:I9og5sOYxJI"&gt;&lt;img src="http://feeds.feedburner.com/~ff/ropiku?d=I9og5sOYxJI" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/ropiku?a=1wboyEWxXlA:ICmg29pH0pQ:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/ropiku?i=1wboyEWxXlA:ICmg29pH0pQ:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/ropiku/~4/1wboyEWxXlA" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/ropiku/~3/1wboyEWxXlA/89423811</link><guid isPermaLink="false">http://ropiku.tumblr.com/post/89423811</guid><pubDate>Tue, 24 Mar 2009 18:03:07 +0000</pubDate><feedburner:origLink>http://ropiku.tumblr.com/post/89423811</feedburner:origLink></item><item><title>Videos and podcasts</title><description>&lt;p&gt;I wanted to share with you a list of videos and podcast that I listen to when I have some time.&lt;/p&gt;
&lt;p&gt;About videos I posted earlier with recommended talks. Here’s some courses that I have seen (I got them from iTunes U):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href="http://see.stanford.edu/see/lecturelist.aspx?coll=11f4f422-5670-4b4c-889c-008262e09e4e"&gt;Stanford Programming Abstractions&lt;/a&gt; (&lt;a href="http://deimos3.apple.com/WebObjects/Core.woa/Browse/itunes.stanford.edu.1616924949.01616924952"&gt;iTunes U&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://webcast.berkeley.edu/course_details.php?seriesid=1906978454"&gt;UC Berkeley The Structure and Interpretation of Computer Programs&lt;/a&gt; (&lt;a href="http://deimos3.apple.com/WebObjects/Core.woa/Browse/berkeley.edu.1621506930.01649506475"&gt;iTunes U&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://railslab.newrelic.com/scaling-rails"&gt;Scaling Rails&lt;/a&gt; series&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I listen mostly to Ruby podcasts, to find out the latest news and opinions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href="http://www.railsenvy.com/"&gt;Rails Envy&lt;/a&gt; (I highly recommend this podcast)&lt;/li&gt;
&lt;li&gt;&lt;a href="http://railscasts.com/"&gt;Railscasts&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://podcast.rubyonrails.org/"&gt;Rails podcast&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.rubyology.com/"&gt;Rubyology&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://web20show.com/"&gt;Web 2.0 show&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blog.stackoverflow.com/category/podcasts/"&gt;StackOverflow podcast&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;What do you subscribe to ? Have any informative video that you’d like to share ?&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/ropiku?a=3J8xu2gZB7Y:ItxpWSqP_yo:iIw_lep_4YA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/ropiku?i=3J8xu2gZB7Y:ItxpWSqP_yo:iIw_lep_4YA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/ropiku?a=3J8xu2gZB7Y:ItxpWSqP_yo:I9og5sOYxJI"&gt;&lt;img src="http://feeds.feedburner.com/~ff/ropiku?d=I9og5sOYxJI" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/ropiku?a=3J8xu2gZB7Y:ItxpWSqP_yo:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/ropiku?i=3J8xu2gZB7Y:ItxpWSqP_yo:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/ropiku/~4/3J8xu2gZB7Y" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/ropiku/~3/3J8xu2gZB7Y/84567059</link><guid isPermaLink="false">http://ropiku.tumblr.com/post/84567059</guid><pubDate>Sun, 08 Mar 2009 10:22:30 +0000</pubDate><feedburner:origLink>http://ropiku.tumblr.com/post/84567059</feedburner:origLink></item><item><title>Acts_as_conference videos</title><description>&lt;p&gt;Just saw &lt;a href="http://aac2009.confreaks.com/06-feb-2009-09-00-innovation-in-rails-gregg-pollack-jason-seifer.html"&gt;Innovation in Rails&lt;/a&gt; by Gregg Pollack and Jason Seifer (RailsEnvy guys) where they talked about the new things in the past year in the Ruby and Rails world. Confreaks posted high resolution 720p videos of the conference on their &lt;a href="http://aac2009.confreaks.com/"&gt;site&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Gregg showed how to use a reverse proxy cache to speed up your application. You can find links about the discussed topics on the &lt;a href="http://www.railsenvy.com/aac"&gt;RailsEnvy blog&lt;/a&gt;. Earlier Gregg Pollack also released a series of screencasts about &lt;a href="http://railslab.newrelic.com/scaling-rails"&gt;scaling Rails&lt;/a&gt; debunking the myth that &lt;a href="http://railscantscale.com/"&gt;Rails can’t scale&lt;/a&gt;.&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/ropiku?a=Nsbo5qML"&gt;&lt;img src="http://feeds.feedburner.com/~f/ropiku?i=Nsbo5qML" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/ropiku?a=s5F2R0r3"&gt;&lt;img src="http://feeds.feedburner.com/~f/ropiku?i=s5F2R0r3" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/ropiku/~4/YsuuvgZul5Y" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/ropiku/~3/YsuuvgZul5Y/78563875</link><guid isPermaLink="false">http://ropiku.tumblr.com/post/78563875</guid><pubDate>Sun, 15 Feb 2009 18:03:08 +0000</pubDate><feedburner:origLink>http://ropiku.tumblr.com/post/78563875</feedburner:origLink></item><item><title>Clearance - login with username</title><description>&lt;p&gt;For my Rails projects currently I’m using &lt;a href="http://github.com/thoughtbot/"&gt;Thoughtbot&lt;/a&gt;’s stack (Shoulda, factory_girl) and now I switched to &lt;a href="http://giantrobots.thoughtbot.com/2009/2/9/clearance-rails-authentication-for-developers-who-write-tests"&gt;Clearance&lt;/a&gt;. I love it because it’s tested and it’s easy to extend. One such modification that I need is to allow users to &lt;a href="http://wiki.github.com/thoughtbot/clearance/sign-up-sign-in-with-user-name"&gt;login with username&lt;/a&gt;. I wrote a &lt;a href="http://github.com/ropiku/clearance-username/tree/master"&gt;demo&lt;/a&gt; app and here’s a tutorial on how to do it yourself:&lt;a href="http://wiki.github.com/thoughtbot/clearance/installation"&gt;&lt;br/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;1. &lt;a href="http://wiki.github.com/thoughtbot/clearance/installation"&gt;Install clearance&lt;/a&gt; and run the generator&lt;/p&gt;
&lt;p&gt;2. Test UsersController#new includes a username (or “handle” or whatever) text field&lt;/p&gt;
&lt;p&gt;&lt;i&gt;test/functional/users_controller_test.rb &lt;/i&gt;&lt;/p&gt;
&lt;p&gt;
&lt;script src="http://gist.github.com/62363.js"&gt;&lt;/script&gt;&lt;/p&gt;
&lt;p&gt;And watch it fail:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;test: The public When getting new User view should display username field. &lt;br/&gt;(UsersControllerTest) [/test/functional/users_controller_test.rb:11]:&lt;br/&gt;There must be a username field.&lt;br/&gt;&lt;false&gt; is not true.&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Add the field to &lt;i&gt;app/views/users/_form.html.erb&lt;/i&gt; to fix it (it still won’t pass because the model does not have the username field yet):&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;  &lt;%= form.label :username %&gt;&lt;br/&gt;&lt;br/&gt;  &lt;%= form.text_field :username %&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;3. Create migration to add username:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$ script/generate migration AddUsernameToUsers username:string&lt;br/&gt;&lt;br/&gt;$ rake db:migrate&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;And update the factory &lt;i&gt;test/factories/clearance.rb&lt;/i&gt;:&lt;/p&gt;
&lt;p&gt;
&lt;script src="http://gist.github.com/62351.js"&gt;&lt;/script&gt;&lt;/p&gt;
&lt;p&gt;4. Test the User model to validate presence of username and to allow mass assignment&lt;/p&gt;
&lt;p&gt;&lt;i&gt;test/unit/user_test.rb&lt;/i&gt; should be:&lt;/p&gt;
&lt;p&gt;
&lt;script src="http://gist.github.com/62356.js"&gt;&lt;/script&gt;&lt;/p&gt;
&lt;p&gt;Now the unit tests are failing, to fix them we need to add validations to the &lt;i&gt;User&lt;/i&gt; model and make the &lt;i&gt;username&lt;/i&gt; field accessible:&lt;/p&gt;
&lt;p&gt;
&lt;script src="http://gist.github.com/62361.js"&gt;&lt;/script&gt;&lt;/p&gt;
&lt;p&gt;5. Test SessionsController#create that given a User’s username for the :email value, the User should be signed in&lt;/p&gt;
&lt;p&gt;
&lt;script src="http://gist.github.com/62365.js"&gt;&lt;/script&gt;&lt;/p&gt;
&lt;p&gt;Which fails because we only check email. Add a test for the User#authenticate method so it checks email too:&lt;/p&gt;
&lt;p&gt;
&lt;script src="http://gist.github.com/62367.js"&gt;&lt;/script&gt;&lt;/p&gt;
&lt;p&gt;Add the implementation to the User model and all tests pass:&lt;/p&gt;
&lt;p&gt;
&lt;script src="http://gist.github.com/62368.js"&gt;&lt;/script&gt;&lt;/p&gt;
&lt;p&gt;Please post your suggestions/comments, this post was written at 2am and it may have inacurracies.&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/ropiku?a=vJLfZ9Xa"&gt;&lt;img src="http://feeds.feedburner.com/~f/ropiku?i=vJLfZ9Xa" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/ropiku?a=6yqnihjz"&gt;&lt;img src="http://feeds.feedburner.com/~f/ropiku?i=6yqnihjz" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/ropiku/~4/RC58D2d9oY4" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/ropiku/~3/RC58D2d9oY4/77138388</link><guid isPermaLink="false">http://ropiku.tumblr.com/post/77138388</guid><pubDate>Wed, 11 Feb 2009 23:38:00 +0000</pubDate><category>ruby</category><category>rails</category><category>tutorial</category><feedburner:origLink>http://ropiku.tumblr.com/post/77138388</feedburner:origLink></item><item><title>Valentine's day</title><description>&lt;p&gt;mihai$ date -r 1234567890&lt;br/&gt;
Sat Feb 14 01:31:30 EET 2009&lt;/p&gt;

&lt;p&gt;Translation: The &lt;a href="http://en.wikipedia.org/wiki/Unix_time"&gt;Unix time&lt;/a&gt; will be 1234567890 on this year’s Valentine day (actually just in Europe, in US it will still be Feb 13).&lt;/p&gt;

&lt;p&gt;Update: Somebody made a &lt;a href="http://coolepochcountdown.com/"&gt;countdown&lt;/a&gt;.&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/ropiku?a=GP93nX7z"&gt;&lt;img src="http://feeds.feedburner.com/~f/ropiku?i=GP93nX7z" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/ropiku?a=8sqElhTx"&gt;&lt;img src="http://feeds.feedburner.com/~f/ropiku?i=8sqElhTx" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/ropiku/~4/xkZ2crYgkts" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/ropiku/~3/xkZ2crYgkts/76216278</link><guid isPermaLink="false">http://ropiku.tumblr.com/post/76216278</guid><pubDate>Fri, 06 Feb 2009 19:43:00 +0000</pubDate><feedburner:origLink>http://ropiku.tumblr.com/post/76216278</feedburner:origLink></item><item><title>Just saw a very interesting science talk on TED.com (if you...</title><description>&lt;object width="400" height="294"&gt;&lt;param name="movie" value="http://video.ted.com/assets/player/swf/EmbedPlayer.swf" /&gt;&lt;param name="allowFullScreen" value="true" /&gt;&lt;param name="wmode" value="transparent" /&gt;&lt;param name="bgColor" value="#ffffff" /&gt;&lt;param name="flashvars" value="vu=http://video.ted.com/talks/embed/JillBolteTaylor_2008-embed_high.flv&amp;su=http://images.ted.com/images/ted/tedindex/embed-posters/JillBolteTaylor-2008.embed_thumbnail.jpg&amp;vw=432&amp;vh=240&amp;ap=0&amp;ti=229" /&gt;&lt;embed src="http://video.ted.com/assets/player/swf/EmbedPlayer.swf" pluginspace="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" bgcolor="#ffffff" width="446" height="326" allowfullscreen="true" flashvars="vu=http://video.ted.com/talks/embed/JillBolteTaylor_2008-embed_high.flv&amp;su=http://images.ted.com/images/ted/tedindex/embed-posters/JillBolteTaylor-2008.embed_thumbnail.jpg&amp;vw=432&amp;vh=240&amp;ap=0&amp;ti=229"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Just saw a very interesting science talk on TED.com (if you don’t know about TED, it’s an awsome conference with an equally impressive motto: Ideas worth spreading). It’s about a researcher that had a massive stroke and had the oportunity to conciously self analyze what happens when the brain functions start to fail.&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/ropiku?a=kj4Kd94s"&gt;&lt;img src="http://feeds.feedburner.com/~f/ropiku?i=kj4Kd94s" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/ropiku?a=uF08xHnz"&gt;&lt;img src="http://feeds.feedburner.com/~f/ropiku?i=uF08xHnz" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/ropiku/~4/BWJ9uweuyMg" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/ropiku/~3/BWJ9uweuyMg/75419289</link><guid isPermaLink="false">http://ropiku.tumblr.com/post/75419289</guid><pubDate>Tue, 03 Feb 2009 22:29:00 +0000</pubDate><category>video</category><category>inspiring</category><feedburner:origLink>http://ropiku.tumblr.com/post/75419289</feedburner:origLink></item><item><title>puts "Hello world"</title><description>&lt;p&gt;Trying out tumblr, seems pretty clean for a blog.&lt;/p&gt;
&lt;p&gt;I’ll try and post more often here about what nifty things I hacked or used or about ruby gottchas that I encountered.&lt;/p&gt;
&lt;p&gt;Feel free to comment :)&lt;/p&gt;
&lt;p&gt;And don’t forge to subscribe do the &lt;a href="http://feeds2.feedburner.com/ropiku"&gt;RSS feed&lt;/a&gt;.&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/ropiku?a=1xI7FDHe"&gt;&lt;img src="http://feeds.feedburner.com/~f/ropiku?i=1xI7FDHe" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/ropiku?a=8dHxvxZA"&gt;&lt;img src="http://feeds.feedburner.com/~f/ropiku?i=8dHxvxZA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/ropiku/~4/Xo9p0Z9q-3M" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/ropiku/~3/Xo9p0Z9q-3M/75288570</link><guid isPermaLink="false">http://ropiku.tumblr.com/post/75288570</guid><pubDate>Tue, 03 Feb 2009 11:44:00 +0000</pubDate><feedburner:origLink>http://ropiku.tumblr.com/post/75288570</feedburner:origLink></item></channel></rss>
