<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-18090646</id><updated>2024-11-20T01:03:19.753+05:30</updated><category term="life"/><category term="recommendations"/><category term="work"/><category term="Rails"/><category term="Ruby"/><category term="humour"/><category term="links"/><category term="programming"/><category term="Ubuntu"/><category term="can never understand that shit"/><category term="Javascript"/><category term="Metal"/><category term="Music"/><category term="MySQL"/><category term="News"/><category term="Technology"/><category term="Xubuntu"/><category term="code"/><category term="movies"/><category term="Death Metal"/><category term="Destiny"/><category term="Linux"/><category term="Lyrics"/><category term="gifts"/><category term="rants"/><category term="windows"/><category term="Books"/><category term="C"/><category term="CSS"/><category term="Exams"/><category term="SMS"/><category term="Web"/><category term="applications"/><category term="awesome"/><category term="chronicles"/><category term="random"/><category term="sunday"/><category term="thoughtworks"/><category term="Accept"/><category term="ActionMailer"/><category term="Apple"/><category term="Behemoth"/><category term="BitTorrent"/><category term="BookEazy"/><category term="C++"/><category term="College"/><category term="DKU-2"/><category term="Documentation"/><category term="Enslaved"/><category term="FLEX"/><category term="Fire"/><category term="Freedom"/><category term="GMail"/><category term="Gnokii"/><category term="HTML"/><category term="Iron Maiden"/><category term="Maggots"/><category term="Monday"/><category term="Nokia 6230"/><category term="Operating Systems"/><category term="Pearls before Swine"/><category term="Problems"/><category term="Progress"/><category term="Reading"/><category term="RegularExpressions"/><category term="Scaling"/><category term="Slipknot"/><category term="Submissions"/><category term="UDF"/><category term="USB"/><category term="Venom"/><category term="Victory"/><category term="Web Spider"/><category term="Will Ferrell"/><category term="Wish List"/><category term="amiss"/><category term="articles"/><category term="barcamp"/><category term="birthday"/><category term="blog"/><category term="breakfast"/><category term="crashandburn"/><category term="downgrading"/><category term="fanboyness"/><category term="file"/><category term="gangsta"/><category term="git"/><category term="gizoogle"/><category term="goodshitidid"/><category term="home"/><category term="idea"/><category term="idiocy"/><category term="ireallyhateproprietaryshit"/><category term="iwasanassholetothisguy"/><category term="killyoursaturday"/><category term="lfie"/><category term="life gifts"/><category term="lolcat"/><category term="malware"/><category term="manowar"/><category term="metaprogramming"/><category term="mistakes"/><category term="mobile"/><category term="old school"/><category term="peace and love"/><category term="performance"/><category term="pics"/><category term="pune"/><category term="quirks"/><category term="quotes"/><category term="results"/><category term="revelations"/><category term="safety"/><category term="shot glasses"/><category term="sickness"/><category term="skype"/><category term="smartness"/><category term="software"/><category term="sort"/><category term="sportsmanship"/><category term="stringio"/><category term="test"/><category term="xml"/><title type='text'>ask the manowar fan</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://siddharthdawara.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://siddharthdawara.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Sid</name><uri>http://www.blogger.com/profile/03868737528539861655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://img.photobucket.com/albums/v208/ace_sids/PunkBaby.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>329</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-18090646.post-7969358886313906846</id><published>2010-02-23T16:15:00.003+05:30</published><updated>2010-02-23T16:16:40.039+05:30</updated><title type='text'>We know own this!</title><content type='html'>I know own and wrote &lt;a href=&quot;http://www.whatismygoogleranking.com&quot;&gt;What is my Google Ranking?&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Awesome possumness!&lt;br /&gt;&lt;br /&gt;It&#39;s just a simple enough tool that tells you your Google page ranking for a set of words. US, UK, whatever suits your jazz music.</content><link rel='replies' type='application/atom+xml' href='http://siddharthdawara.blogspot.com/feeds/7969358886313906846/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/18090646/7969358886313906846?isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/7969358886313906846'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/7969358886313906846'/><link rel='alternate' type='text/html' href='http://siddharthdawara.blogspot.com/2010/02/we-know-own-this.html' title='We know own this!'/><author><name>Sid</name><uri>http://www.blogger.com/profile/03868737528539861655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://img.photobucket.com/albums/v208/ace_sids/PunkBaby.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18090646.post-5592525544846706815</id><published>2009-06-25T16:55:00.002+05:30</published><updated>2009-06-25T16:58:46.743+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="code"/><category scheme="http://www.blogger.com/atom/ns#" term="Ruby"/><category scheme="http://www.blogger.com/atom/ns#" term="xml"/><title type='text'>Efficient XML generation in Ruby (RAILS)</title><content type='html'>&lt;pre name=&quot;code&quot; class=&quot;ruby&quot;&gt;  &lt;br /&gt;#!/usr/bin/env ruby&lt;br /&gt;require File.dirname(__FILE__) + &#39;/../config/environment&#39;&lt;br /&gt;before_time = Time.now&lt;br /&gt;config = Rails::Configuration.new&lt;br /&gt;db_config = config.database_configuration[RAILS_ENV]&lt;br /&gt;{&lt;br /&gt;:table=&gt;&quot;statement&quot;&lt;br /&gt;}.each do |table, statement|&lt;br /&gt;  system(%{cd #{RAILS_ROOT}/public &amp;&amp; mysql -u #{db_config[&quot;username&quot;]} -h #{db_config[&quot;host&quot;]} -p#{db_config[&quot;password&quot;]} #{db_config[&quot;database&quot;]} -e &#39;#{statement}&#39; --xml &gt; #{table}.xml})&lt;br /&gt;end&lt;br /&gt;after_time = Time.now&lt;br /&gt;puts &quot;Took: #{after_time - before_time}&quot;&lt;br /&gt;&lt;/pre&gt;  &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So awesome, I am.</content><link rel='replies' type='application/atom+xml' href='http://siddharthdawara.blogspot.com/feeds/5592525544846706815/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/18090646/5592525544846706815?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/5592525544846706815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/5592525544846706815'/><link rel='alternate' type='text/html' href='http://siddharthdawara.blogspot.com/2009/06/efficient-xml-generation-in-ruby-rails.html' title='Efficient XML generation in Ruby (RAILS)'/><author><name>Sid</name><uri>http://www.blogger.com/profile/03868737528539861655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://img.photobucket.com/albums/v208/ace_sids/PunkBaby.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18090646.post-8330496411222401563</id><published>2009-06-17T16:55:00.001+05:30</published><updated>2009-06-17T16:56:32.525+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="life"/><category scheme="http://www.blogger.com/atom/ns#" term="shot glasses"/><title type='text'>I just bought these</title><content type='html'>&lt;a href=&quot;http://www.find-me-a-gift.co.uk/12-gauge-shot-glass.html&quot;&gt;12 gauge shot glasses&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Oh yeah! Addition to the things I don&#39;t need but love to spend money on.</content><link rel='replies' type='application/atom+xml' href='http://siddharthdawara.blogspot.com/feeds/8330496411222401563/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/18090646/8330496411222401563?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/8330496411222401563'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/8330496411222401563'/><link rel='alternate' type='text/html' href='http://siddharthdawara.blogspot.com/2009/06/i-just-bought-these.html' title='I just bought these'/><author><name>Sid</name><uri>http://www.blogger.com/profile/03868737528539861655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://img.photobucket.com/albums/v208/ace_sids/PunkBaby.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18090646.post-697005206734810196</id><published>2009-04-16T17:47:00.001+05:30</published><updated>2009-04-16T17:47:33.279+05:30</updated><title type='text'>I love these phones</title><content type='html'>&lt;div class=&quot;omio_content&quot;&gt;&lt;a href=&#39;http://www.omio.com/phones/blackberry/6710&#39; class=&#39;omio_widget_title&#39; target=&#39;_blank&#39;&gt;BlackBerry 6710&lt;/a&gt; Vs. &lt;a href=&#39;http://www.omio.com/phones/blackberry/6210&#39; class=&#39;omio_widget_title&#39; target=&#39;_blank&#39;&gt;BlackBerry 6210&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;      &lt;div&gt;&lt;iframe id=&#39;omio_phones_comparison_widget&#39; src=&#39;http://widgets.omio.com/widget/compare-phones/blackberry_6710%2Bblackberry_6210&#39; border: &#39;0&#39; frameBorder=&#39;0&#39; width=&#39;450&#39; height=&#39;1900&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;br /&gt;    &lt;style type=&quot;text/css&quot; media=&quot;screen&quot;&gt;&lt;br /&gt;   .omio_content {font-family:arial,sans-serif;color:#666666;font-size:0.9em;}&lt;br /&gt;   a.omio_widget_title {color:#666666;text-decoration:none;font-weight:bold;}&lt;br /&gt;   a.omio_widget_title:hover {color:#666666;text-decoration:underline;}&lt;br /&gt;    &lt;/style&gt;</content><link rel='replies' type='application/atom+xml' href='http://siddharthdawara.blogspot.com/feeds/697005206734810196/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/18090646/697005206734810196?isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/697005206734810196'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/697005206734810196'/><link rel='alternate' type='text/html' href='http://siddharthdawara.blogspot.com/2009/04/i-love-these-phones.html' title='I love these phones'/><author><name>Sid</name><uri>http://www.blogger.com/profile/03868737528539861655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://img.photobucket.com/albums/v208/ace_sids/PunkBaby.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18090646.post-2512700115757810983</id><published>2008-12-28T15:04:00.002+05:30</published><updated>2008-12-28T15:07:25.552+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="links"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="recommendations"/><title type='text'>How to use bash aliases</title><content type='html'>&lt;a href=&#39;http://geocities.com/siddharth_dawara/bash/bash_aliases&#39;&gt;How To Use Bash Aliases&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I am awesome.</content><link rel='replies' type='application/atom+xml' href='http://siddharthdawara.blogspot.com/feeds/2512700115757810983/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/18090646/2512700115757810983?isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/2512700115757810983'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/2512700115757810983'/><link rel='alternate' type='text/html' href='http://siddharthdawara.blogspot.com/2008/12/how-to-use-bash-aliases.html' title='How to use bash aliases'/><author><name>Sid</name><uri>http://www.blogger.com/profile/03868737528539861655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://img.photobucket.com/albums/v208/ace_sids/PunkBaby.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18090646.post-58423777655889927</id><published>2008-12-24T12:48:00.003+05:30</published><updated>2008-12-24T13:02:20.397+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="links"/><category scheme="http://www.blogger.com/atom/ns#" term="News"/><category scheme="http://www.blogger.com/atom/ns#" term="Rails"/><category scheme="http://www.blogger.com/atom/ns#" term="recommendations"/><title type='text'>Rails &lt;3 Merb ... or Rails 3 meets Merb 2</title><content type='html'>I&#39;ll let Yehuda explain the whole deal to you, &lt;a href=&quot;http://yehudakatz.com/2008/12/23/rails-and-merb-merge/&quot;&gt;how Rails 3 and Merb 2 will be the same.&lt;/a&gt; Why? Well, he&#39;s also doing it and I&#39;m a nice guy dude, give credit where it is due.&lt;br /&gt;&lt;br /&gt;What does that mean though?&lt;br /&gt;&lt;br /&gt;I&#39;ll quote qwantz here, &quot;like ants combining to form the shape of a giant ant&quot;&lt;br /&gt;&lt;br /&gt;&lt;img height=&quot;400&quot; src=&quot;http://img.photobucket.com/albums/v208/ace_sids/comic2-1391.png&quot; /&gt;&lt;br /&gt;&lt;br /&gt;I hope everyone feels as positively as I do about this.</content><link rel='replies' type='application/atom+xml' href='http://siddharthdawara.blogspot.com/feeds/58423777655889927/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/18090646/58423777655889927?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/58423777655889927'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/58423777655889927'/><link rel='alternate' type='text/html' href='http://siddharthdawara.blogspot.com/2008/12/rails-3-merb-or-rails-3-meets-merb-2.html' title='Rails &lt;3 Merb ... or Rails 3 meets Merb 2'/><author><name>Sid</name><uri>http://www.blogger.com/profile/03868737528539861655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://img.photobucket.com/albums/v208/ace_sids/PunkBaby.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18090646.post-6479045645353378217</id><published>2008-11-30T02:32:00.001+05:30</published><updated>2008-11-30T02:34:58.216+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="links"/><category scheme="http://www.blogger.com/atom/ns#" term="recommendations"/><title type='text'>I&#39;ve always wanted this</title><content type='html'>So I got myself a tumblr. It&#39;s at &lt;a href=&#39;http://batsysid.tumblr.com&#39;&gt;http://batsysid.tumblr.com&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I&#39;m sorry if this appears twice in your RSS feed, fucking Mac blogger widget is being such a bitch.</content><link rel='replies' type='application/atom+xml' href='http://siddharthdawara.blogspot.com/feeds/6479045645353378217/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/18090646/6479045645353378217?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/6479045645353378217'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/6479045645353378217'/><link rel='alternate' type='text/html' href='http://siddharthdawara.blogspot.com/2008/11/ive-always-wanted-this_30.html' title='I&#39;ve always wanted this'/><author><name>Sid</name><uri>http://www.blogger.com/profile/03868737528539861655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://img.photobucket.com/albums/v208/ace_sids/PunkBaby.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18090646.post-889032825284882237</id><published>2008-11-17T13:43:00.002+05:30</published><updated>2008-11-17T13:47:25.059+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="git"/><category scheme="http://www.blogger.com/atom/ns#" term="links"/><title type='text'>Git: You are in the middle of a conflicted merge and the interwebz awesomeness answer</title><content type='html'>&lt;a href=&quot;http://anarchogeek.com/2008/8/1/git-you-are-in-the-middle-of-a-conflicted-merge&quot;&gt;Thank you for the answer Mr. anarchogeek to &quot;you are in the middle of a conflicted merge&quot;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&quot;Your heart is a river that flows from your chest&lt;br /&gt;Through every organ&lt;br /&gt;Your brain is the dam&lt;br /&gt;And i am the fish who can&#39;t reach the cord.&quot;&lt;br /&gt;Death cab for cutie - Lightness</content><link rel='replies' type='application/atom+xml' href='http://siddharthdawara.blogspot.com/feeds/889032825284882237/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/18090646/889032825284882237?isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/889032825284882237'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/889032825284882237'/><link rel='alternate' type='text/html' href='http://siddharthdawara.blogspot.com/2008/11/git-you-are-in-middle-of-conflicted.html' title='Git: You are in the middle of a conflicted merge and the interwebz awesomeness answer'/><author><name>Sid</name><uri>http://www.blogger.com/profile/03868737528539861655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://img.photobucket.com/albums/v208/ace_sids/PunkBaby.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18090646.post-79400977064168237</id><published>2008-11-08T15:08:00.001+05:30</published><updated>2008-11-08T15:23:27.091+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="awesome"/><category scheme="http://www.blogger.com/atom/ns#" term="life"/><category scheme="http://www.blogger.com/atom/ns#" term="pics"/><category scheme="http://www.blogger.com/atom/ns#" term="recommendations"/><title type='text'>There&#39;s this awesome ninja/ninjitsu shop in Mumbai. It was closed when I was there though :(</title><content type='html'>&lt;img src=&quot;http://img.photobucket.com/albums/v208/ace_sids/Image041.jpg&quot; height=800 width=600 /&gt;&lt;br /&gt;&lt;img src=&quot;http://img.photobucket.com/albums/v208/ace_sids/Image050.jpg&quot; height=800 width=600 /&gt;</content><link rel='replies' type='application/atom+xml' href='http://siddharthdawara.blogspot.com/feeds/79400977064168237/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/18090646/79400977064168237?isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/79400977064168237'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/79400977064168237'/><link rel='alternate' type='text/html' href='http://siddharthdawara.blogspot.com/2008/11/theres-this-awesome-ninjaninjitsu-shop.html' title='There&#39;s this awesome ninja/ninjitsu shop in Mumbai. It was closed when I was there though :('/><author><name>Sid</name><uri>http://www.blogger.com/profile/03868737528539861655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://img.photobucket.com/albums/v208/ace_sids/PunkBaby.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18090646.post-5263333880388009310</id><published>2008-10-24T19:31:00.002+05:30</published><updated>2008-10-24T19:34:39.212+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Rails"/><category scheme="http://www.blogger.com/atom/ns#" term="recommendations"/><title type='text'>Rails 2.2 thread safe. This is big fucking news, I shit you not.</title><content type='html'>&lt;a href=&quot;http://m.onkey.org/2008/10/23/thread-safety-for-your-rails&quot;&gt;Rails 2.2 thread safe.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Oh man, this should be awesome.&lt;br /&gt;&lt;br /&gt;Of course it only helps in certain situations, this will not guarantee your app running on steroids.&lt;br /&gt;&lt;br /&gt;Shit like MERB might though.</content><link rel='replies' type='application/atom+xml' href='http://siddharthdawara.blogspot.com/feeds/5263333880388009310/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/18090646/5263333880388009310?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/5263333880388009310'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/5263333880388009310'/><link rel='alternate' type='text/html' href='http://siddharthdawara.blogspot.com/2008/10/rails-22-thread-safe-this-is-big.html' title='Rails 2.2 thread safe. This is big fucking news, I shit you not.'/><author><name>Sid</name><uri>http://www.blogger.com/profile/03868737528539861655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://img.photobucket.com/albums/v208/ace_sids/PunkBaby.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18090646.post-1428494085611431377</id><published>2008-10-23T20:49:00.000+05:30</published><updated>2008-10-23T20:51:02.519+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="awesome"/><category scheme="http://www.blogger.com/atom/ns#" term="Death Metal"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><category scheme="http://www.blogger.com/atom/ns#" term="recommendations"/><category scheme="http://www.blogger.com/atom/ns#" term="Ruby"/><title type='text'>Crazy heavy metal album art changing into my wallpaper</title><content type='html'>&lt;object width=&quot;425&quot; height=&quot;344&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/xhzQT3hucAE&amp;hl=en&amp;fs=1&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;&gt;&lt;/param&gt;&lt;embed src=&quot;http://www.youtube.com/v/xhzQT3hucAE&amp;hl=en&amp;fs=1&quot; type=&quot;application/x-shockwave-flash&quot; allowfullscreen=&quot;true&quot; width=&quot;425&quot; height=&quot;344&quot;&gt;&lt;/embed&gt;&lt;/object&gt;</content><link rel='replies' type='application/atom+xml' href='http://siddharthdawara.blogspot.com/feeds/1428494085611431377/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/18090646/1428494085611431377?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/1428494085611431377'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/1428494085611431377'/><link rel='alternate' type='text/html' href='http://siddharthdawara.blogspot.com/2008/10/crazy-heavy-metal-album-art-changing.html' title='Crazy heavy metal album art changing into my wallpaper'/><author><name>Sid</name><uri>http://www.blogger.com/profile/03868737528539861655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://img.photobucket.com/albums/v208/ace_sids/PunkBaby.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18090646.post-4238276267206452280</id><published>2008-10-22T09:23:00.001+05:30</published><updated>2008-10-22T09:25:05.116+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSS"/><category scheme="http://www.blogger.com/atom/ns#" term="News"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><category scheme="http://www.blogger.com/atom/ns#" term="recommendations"/><title type='text'>Peppy CSS Selectors?</title><content type='html'>&lt;a href=&quot;http://ajaxian.com/archives/peppy-css3-selector-engine&quot;&gt;Peppy CSS Selectors&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Faster than a speeding bullet.&lt;br /&gt;&lt;br /&gt;More cross-browser than Superman?</content><link rel='replies' type='application/atom+xml' href='http://siddharthdawara.blogspot.com/feeds/4238276267206452280/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/18090646/4238276267206452280?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/4238276267206452280'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/4238276267206452280'/><link rel='alternate' type='text/html' href='http://siddharthdawara.blogspot.com/2008/10/peppy-css-selectors.html' title='Peppy CSS Selectors?'/><author><name>Sid</name><uri>http://www.blogger.com/profile/03868737528539861655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://img.photobucket.com/albums/v208/ace_sids/PunkBaby.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18090646.post-4371581532714860699</id><published>2008-10-21T17:17:00.002+05:30</published><updated>2008-10-21T17:21:45.260+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Lyrics"/><category scheme="http://www.blogger.com/atom/ns#" term="Metal"/><category scheme="http://www.blogger.com/atom/ns#" term="recommendations"/><title type='text'>Transylvanian Transmissions</title><content type='html'>This idea is sufficiently plausible in an attempt to account&lt;br /&gt;For the phenomenon &lt;br /&gt;The sickness and the sentence of blood. &lt;br /&gt;I could no longer strubble, &lt;br /&gt;Every moment threatened to be the last - there was pain, &lt;br /&gt;Dizziness and profuse bleeding at the pores, &lt;br /&gt;How is this possible&lt;br /&gt;The transmission was transfusing&lt;br /&gt;In a moment the sober eye of reason would detect a vibration in the flesh. &lt;br /&gt;Creeping, incoherent,&lt;br /&gt;Bearing no mark of a human hand&lt;br /&gt;&lt;br /&gt;The vision comes and goes,&lt;br /&gt;But tonight I saw very clearly.&lt;br /&gt;The vision comes and goes,&lt;br /&gt;But tonight I saw very clearly.&lt;br /&gt;Very deeply.</content><link rel='replies' type='application/atom+xml' href='http://siddharthdawara.blogspot.com/feeds/4371581532714860699/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/18090646/4371581532714860699?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/4371581532714860699'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/4371581532714860699'/><link rel='alternate' type='text/html' href='http://siddharthdawara.blogspot.com/2008/10/transylvanian-transmissions.html' title='Transylvanian Transmissions'/><author><name>Sid</name><uri>http://www.blogger.com/profile/03868737528539861655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://img.photobucket.com/albums/v208/ace_sids/PunkBaby.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18090646.post-3341753272772190595</id><published>2008-10-13T20:53:00.003+05:30</published><updated>2008-10-13T21:02:44.865+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Ruby"/><title type='text'>I wrote a small parsing DSL</title><content type='html'>I got sick of re-writing the crawl login again and again, and I don&#39;t like using the attribute CSS selectors [attr=value] &lt;br /&gt;&lt;br /&gt;So I wrote this.&lt;br /&gt;&lt;br /&gt;&lt;pre name=&#39;code&#39; class=&#39;ruby&#39;&gt;&lt;br /&gt;require &#39;rubygems&#39;&lt;br /&gt;require &#39;open-uri&#39;&lt;br /&gt;require &#39;net/http&#39;&lt;br /&gt;require &#39;hpricot&#39;&lt;br /&gt;&lt;br /&gt;class Rule&lt;br /&gt;  attr_accessor :tag, :callback&lt;br /&gt;  def initialize(tag, &amp;callback)&lt;br /&gt;    @tag = tag&lt;br /&gt;    @callback = callback&lt;br /&gt;    @preconditions = []&lt;br /&gt;  end&lt;br /&gt;  &lt;br /&gt;  def all_ok?(tag)&lt;br /&gt;    @preconditions.each do |condition|&lt;br /&gt;      return false unless condition.call(tag)&lt;br /&gt;    end  &lt;br /&gt;    true&lt;br /&gt;  end&lt;br /&gt;&lt;br /&gt;  def with(condition, &amp;callback)&lt;br /&gt;    @preconditions &lt;&lt; condition&lt;br /&gt;    self.callback = callback   &lt;br /&gt;    self&lt;br /&gt;  end&lt;br /&gt;  &lt;br /&gt;  def with(attribute, value, &amp;callback)&lt;br /&gt;    @preconditions &lt;&lt; lambda {|tag| tag.attributes[attribute.to_s].include?(value)}&lt;br /&gt;    self.callback = callback   &lt;br /&gt;    self&lt;br /&gt;  end&lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;class Farser&lt;br /&gt;  def initialize(source)&lt;br /&gt;    @source = Hpricot(open(source))&lt;br /&gt;    @rules = []&lt;br /&gt;  end&lt;br /&gt;  &lt;br /&gt;  def find(tag, &amp;callback)&lt;br /&gt;    rule = Rule.new(tag, &amp;callback)&lt;br /&gt;    @rules &lt;&lt; rule &lt;br /&gt;    rule   &lt;br /&gt;  end&lt;br /&gt;  &lt;br /&gt;  def farse&lt;br /&gt;    @rules.each do |rule|&lt;br /&gt;      @source.search(rule.tag) do |found|&lt;br /&gt;        next unless rule.all_ok?(found)&lt;br /&gt;        rule.callback.call(found)&lt;br /&gt;      end&lt;br /&gt;    end    &lt;br /&gt;  end  &lt;br /&gt;  &lt;br /&gt;  def self.fetch(from, to)&lt;br /&gt;    uri = URI.parse(from)&lt;br /&gt;    return if File.exists?(to)&lt;br /&gt;    File.open(to, &quot;wb&quot;) do |f|&lt;br /&gt;      Net::HTTP.start(uri.host) { |http|&lt;br /&gt;        resp = http.get(uri.path)&lt;br /&gt;        f.write(resp.body)&lt;br /&gt;      }&lt;br /&gt;    end&lt;br /&gt;  end&lt;br /&gt;end&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;The usage is pretty simple&lt;br /&gt;&lt;br /&gt;&lt;pre name=&#39;code&#39; class=&#39;ruby&#39;&gt;&lt;br /&gt;farser = Farser.new(&quot;http://something.com&quot;)&lt;br /&gt;farser.find(&quot;a&quot;).with(:href, &#39;index&#39;).with(:name, &#39;someone&#39;) do |index_link| &lt;br /&gt;end&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;No error handling and super duper method chaining.&lt;br /&gt;&lt;br /&gt;I love it!</content><link rel='replies' type='application/atom+xml' href='http://siddharthdawara.blogspot.com/feeds/3341753272772190595/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/18090646/3341753272772190595?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/3341753272772190595'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/3341753272772190595'/><link rel='alternate' type='text/html' href='http://siddharthdawara.blogspot.com/2008/10/i-wrote-small-parsing-dsl.html' title='I wrote a small parsing DSL'/><author><name>Sid</name><uri>http://www.blogger.com/profile/03868737528539861655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://img.photobucket.com/albums/v208/ace_sids/PunkBaby.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18090646.post-3960130568082949547</id><published>2008-10-12T17:08:00.005+05:30</published><updated>2008-10-12T17:25:15.016+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSS"/><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><category scheme="http://www.blogger.com/atom/ns#" term="Javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="recommendations"/><category scheme="http://www.blogger.com/atom/ns#" term="test"/><title type='text'>SyntaxHighlighter, post code to your blog and make it look pretty!</title><content type='html'>In my efforts to further make my blog prettier, I&#39;m trying out this plugin called &lt;a href=&quot;http://code.google.com/p/syntaxhighlighter/&quot;&gt;SyntaxHighlighter&lt;/a&gt; It&#39;s all Javascript and CSS and a little flash, but that&#39;s ok. &lt;br /&gt;&lt;br /&gt;&lt;pre name=&quot;code&quot; class=&quot;ruby&quot;&gt;traits.each {|trait| trait.spread_awesome}&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;There&#39;s a nice &lt;a href=&quot;http://blog.gpowered.net/2007/07/howto-post-code.html&quot;&gt;how to use SyntaxHighlighter to post code to blogger and wordpress&lt;/a&gt; here.</content><link rel='replies' type='application/atom+xml' href='http://siddharthdawara.blogspot.com/feeds/3960130568082949547/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/18090646/3960130568082949547?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/3960130568082949547'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/3960130568082949547'/><link rel='alternate' type='text/html' href='http://siddharthdawara.blogspot.com/2008/10/syntaxhighlighter-test-you-should-be.html' title='SyntaxHighlighter, post code to your blog and make it look pretty!'/><author><name>Sid</name><uri>http://www.blogger.com/profile/03868737528539861655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://img.photobucket.com/albums/v208/ace_sids/PunkBaby.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18090646.post-4728947306218074477</id><published>2008-10-12T12:21:00.001+05:30</published><updated>2008-10-12T12:23:30.493+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="recommendations"/><category scheme="http://www.blogger.com/atom/ns#" term="windows"/><title type='text'>Electric Sheep is bloody awesome</title><content type='html'>&lt;a href=&quot;http://electricsheep.org/&quot;&gt;Electric Sheep&lt;/a&gt; seriously rocks my socks. I wish I was on a Mac, cuz I&#39;ve seen how pretty it is on that, but on my sweet little Dell on Windows, it&#39;s still pretty awesome.&lt;br /&gt;&lt;br /&gt;I wonder why they called it that though.&lt;br /&gt;&lt;br /&gt;Weird.&lt;br /&gt;&lt;br /&gt;&quot;Mother,&lt;br /&gt;Tell your children not to walk my way&quot;&lt;br /&gt;Danzig - Mother.</content><link rel='replies' type='application/atom+xml' href='http://siddharthdawara.blogspot.com/feeds/4728947306218074477/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/18090646/4728947306218074477?isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/4728947306218074477'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/4728947306218074477'/><link rel='alternate' type='text/html' href='http://siddharthdawara.blogspot.com/2008/10/electric-sheep-is-bloody-awesome.html' title='Electric Sheep is bloody awesome'/><author><name>Sid</name><uri>http://www.blogger.com/profile/03868737528539861655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://img.photobucket.com/albums/v208/ace_sids/PunkBaby.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18090646.post-8360903099007354311</id><published>2008-10-10T15:59:00.004+05:30</published><updated>2008-10-10T16:12:05.255+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Death Metal"/><category scheme="http://www.blogger.com/atom/ns#" term="recommendations"/><title type='text'>Danzig</title><content type='html'>&lt;a href=&quot;http://www.lyricsfreak.com/d/danzig/her+black+wings_20036076.html&quot;&gt;Her Black Wings&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;http://www.lyricsdownload.com/danzig-devils-plaything-lyrics.html&quot;&gt;Devil&#39;s Plaything&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;http://www.sing365.com/music/lyric.nsf/777-lyrics-Danzig/30DA9F0EC4C5AA45482568B60009D319&quot;&gt;777&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;http://www.lyricsfreak.com/d/danzig/going+down+to+die_20036108.html&quot;&gt;Going Down To Die&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://img.photobucket.com/albums/v208/ace_sids/gdoo.jpg&quot; /&gt;&lt;br /&gt;&lt;img src=&quot;http://img.photobucket.com/albums/v208/ace_sids/Danzig.jpg&quot; /&gt;&lt;br /&gt;&lt;img with=400 height=400 src=&quot;http://img.photobucket.com/albums/v208/ace_sids/logo_danzig1.jpg&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&quot;See she comes,&lt;br /&gt;Blacker than pitch&quot;&lt;br /&gt;Danzig - Her Black Wings</content><link rel='replies' type='application/atom+xml' href='http://siddharthdawara.blogspot.com/feeds/8360903099007354311/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/18090646/8360903099007354311?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/8360903099007354311'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/8360903099007354311'/><link rel='alternate' type='text/html' href='http://siddharthdawara.blogspot.com/2008/10/danzig.html' title='Danzig'/><author><name>Sid</name><uri>http://www.blogger.com/profile/03868737528539861655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://img.photobucket.com/albums/v208/ace_sids/PunkBaby.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18090646.post-4626213269528208267</id><published>2008-10-01T11:34:00.003+05:30</published><updated>2008-10-10T16:10:12.123+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="life"/><title type='text'>My Word.</title><content type='html'>Al Pacino in &lt;a href=&quot;http://www.imdb.com/title/tt0086250/quotes&quot;&gt;Scarface&lt;/a&gt; said, &quot;I never fucked anybody over in my life didn&#39;t have it coming to them. You got that? All I have in this world is my balls and my word and I don&#39;t break them for no one.&quot;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://img.photobucket.com/albums/v208/ace_sids/MV5BMTkzNzg5NTA0Ml5BMl5BanBnXkFtZTc.jpg&quot; /&gt;&lt;br /&gt;&lt;br /&gt;Al Pacino in &lt;a href=&quot;http://www.imdb.com/title/tt0140352/quotes&quot;&gt;The Insider&lt;/a&gt; said, &quot;I never left a source hang out to dry, ever! Abandoned! Not &#39;till right fucking now. When I came on this job I came with my word intact. I&#39;m gonna leave with my word intact. Fuck the rules of the game! &quot;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://img.photobucket.com/albums/v208/ace_sids/MV5BMjA1MDQ1MjMyOV5BMl5BanBnXkFtZTc.jpg&quot; /&gt;&lt;br /&gt;&lt;br /&gt;As you can see Al Pacino is trying to make a point.&lt;br /&gt;&lt;br /&gt;You&#39;re integrity is all you&#39;re born with. What you do with it, in you&#39;re whole life is what people remember about you. &lt;br /&gt;&lt;br /&gt;My mother will never forget the fact that I lied to her about not studying for an exam when I was 5. Does that make me a bad person, I hope not. Does that make me a liar, definitely not. That just makes me someone who lied really terribly when I was 5.&lt;br /&gt;&lt;br /&gt;I had a Principal in school. Mr Roberts. He&#39;d say, &quot;The thing with lies is, they have very short legs. They run very very fast, but they get caught very soon.&quot;&lt;br /&gt;&lt;br /&gt;My Dad says, &quot;The thing with lies is. You need to keep stock of who you lied to about what. The thing with the truth is, it&#39;s just so much easier.&quot;&lt;br /&gt;&lt;br /&gt;Now, I have &lt;a href=&quot;http://siddharthdawara.blogspot.com/2008/01/decisions-and-choices.html&quot;&gt;lied before&lt;/a&gt;. But it was always for the right reasons, or selfishness or vanity. Why am I saying all this today? Am I confused about something? ells yes!&lt;br /&gt;&lt;br /&gt;The Oracle in &lt;a href=&quot;http://www.imdb.com/title/tt0234215/quotes&quot;&gt;The Matrix Reloaded&lt;/a&gt; says, &quot;No, you&#39;ve already made the choice. Now you have to understand it.&quot;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://img.photobucket.com/albums/v208/ace_sids/MV5BMTIzMzM3Nzg0N15BMl5BanBnXkFtZTc.jpg&quot; /&gt;&lt;br /&gt;&lt;br /&gt;What that means is I am trying to understand a part of myself. One that says my balls and word don&#39;t break for no one.&lt;br /&gt;&lt;br /&gt;And while I&#39;m at it, I&#39;ll solve world hunger and poverty and terrorism.</content><link rel='replies' type='application/atom+xml' href='http://siddharthdawara.blogspot.com/feeds/4626213269528208267/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/18090646/4626213269528208267?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/4626213269528208267'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/4626213269528208267'/><link rel='alternate' type='text/html' href='http://siddharthdawara.blogspot.com/2008/10/my-word.html' title='My Word.'/><author><name>Sid</name><uri>http://www.blogger.com/profile/03868737528539861655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://img.photobucket.com/albums/v208/ace_sids/PunkBaby.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18090646.post-6552423874404813507</id><published>2008-09-29T18:53:00.001+05:30</published><updated>2008-09-29T18:54:19.369+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="blog"/><category scheme="http://www.blogger.com/atom/ns#" term="recommendations"/><title type='text'>My new feed</title><content type='html'>I switched to feedburner. Because I feel really important this way, when I know how many people are stalking me.&lt;br /&gt;&lt;br /&gt;Awesome cool &lt;a href=&quot;http://feeds.feedburner.com/askthemanowarfan&quot;&gt;ask the manowar fan feed&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://siddharthdawara.blogspot.com/feeds/6552423874404813507/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/18090646/6552423874404813507?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/6552423874404813507'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/6552423874404813507'/><link rel='alternate' type='text/html' href='http://siddharthdawara.blogspot.com/2008/09/my-new-feed.html' title='My new feed'/><author><name>Sid</name><uri>http://www.blogger.com/profile/03868737528539861655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://img.photobucket.com/albums/v208/ace_sids/PunkBaby.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18090646.post-2842300344541070253</id><published>2008-09-29T10:59:00.003+05:30</published><updated>2008-09-29T11:06:43.394+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="can never understand that shit"/><category scheme="http://www.blogger.com/atom/ns#" term="life"/><title type='text'>Such a lonely day. And it&#39;s mine.</title><content type='html'>&quot;If I just stay in bed, and pull the covers around me; if I just unplug the phone, if I don&#39;t answer the mail, then whatever bad news is waiting for me can&#39;t get to me. If I can just sleep, and then just sleep some more, then I won&#39;t have to deal with it. Not now. I can&#39;t deal with it now. Maybe it&#39;ll go away on its own. Maybe I&#39;ll die and I won&#39;t ever have to deal with it&quot;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.wilshipley.com/blog/2005/05/on-being-crazy.html&quot;&gt;Call me fishmeal: On being crazy&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&quot;The most lonliest day in my life.&lt;br /&gt;Such a lonely day.&lt;br /&gt;Shouln&#39;t exist.&quot;&lt;br /&gt;System Of A Down - Lonely Day</content><link rel='replies' type='application/atom+xml' href='http://siddharthdawara.blogspot.com/feeds/2842300344541070253/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/18090646/2842300344541070253?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/2842300344541070253'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/2842300344541070253'/><link rel='alternate' type='text/html' href='http://siddharthdawara.blogspot.com/2008/09/such-lonely-day-and-its-mine.html' title='Such a lonely day. And it&#39;s mine.'/><author><name>Sid</name><uri>http://www.blogger.com/profile/03868737528539861655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://img.photobucket.com/albums/v208/ace_sids/PunkBaby.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18090646.post-5857151472944267506</id><published>2008-09-26T17:01:00.003+05:30</published><updated>2008-09-26T17:06:30.168+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="can never understand that shit"/><category scheme="http://www.blogger.com/atom/ns#" term="humour"/><category scheme="http://www.blogger.com/atom/ns#" term="life"/><title type='text'>The conflict of the mind</title><content type='html'>On the one hand we have:&lt;br /&gt;&lt;br /&gt;&quot;Freedom, urge, faith - and deeper he falls&lt;br /&gt;Hatred, rage, fear - the stronger denial&lt;br /&gt;Anger, heat, lust - the higher he climbs&quot;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.darklyrics.com/lyrics/satyricon/nowdiabolical.html#5&quot;&gt;Satyricon - The rite of our cross.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And it is my right to my own cross. &lt;br /&gt;&lt;br /&gt;&quot;Life&#39;s no ordeal if you come to terms,&lt;br /&gt;Reject the system dictating the norms&lt;br /&gt;&lt;br /&gt;From dehumanization to arms production,&lt;br /&gt;To hasten the nation towards its destruction&lt;br /&gt;Power, power, the law of the land,&lt;br /&gt;Those living for death will die by their own hand&quot;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.azlyrics.com/lyrics/aperfectcircle/annihilation.html&quot;&gt;A perfect circle - Annhilation.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Let me be the man that you hate for always being right, on THIS day.</content><link rel='replies' type='application/atom+xml' href='http://siddharthdawara.blogspot.com/feeds/5857151472944267506/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/18090646/5857151472944267506?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/5857151472944267506'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/5857151472944267506'/><link rel='alternate' type='text/html' href='http://siddharthdawara.blogspot.com/2008/09/conflict-of-mind.html' title='The conflict of the mind'/><author><name>Sid</name><uri>http://www.blogger.com/profile/03868737528539861655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://img.photobucket.com/albums/v208/ace_sids/PunkBaby.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18090646.post-6000710154280746418</id><published>2008-09-23T14:01:00.002+05:30</published><updated>2008-09-23T14:05:54.887+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="recommendations"/><title type='text'>Pimp the Moto Rokr E8</title><content type='html'>So if it&#39;s news to you that I bought a Moto Rokr E8, then dude, you don&#39;t know me at all now do you?!&lt;br /&gt;&lt;br /&gt;Apps I can&#39;t do without:&lt;br /&gt;&lt;br /&gt;1. GMail mobile app. Dude, that shit is fast!&lt;br /&gt;2. Opera Mini. Dude, that is seriously fast! Can&#39;t do without Facebook now can I?&lt;br /&gt;3. Google Maps. I get lost a lot.&lt;br /&gt;4. Flickr uploader. For all the photos you take!&lt;br /&gt;&lt;br /&gt;I will update that list with more as I discover them!</content><link rel='replies' type='application/atom+xml' href='http://siddharthdawara.blogspot.com/feeds/6000710154280746418/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/18090646/6000710154280746418?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/6000710154280746418'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/6000710154280746418'/><link rel='alternate' type='text/html' href='http://siddharthdawara.blogspot.com/2008/09/pimp-moto-rokr-e8.html' title='Pimp the Moto Rokr E8'/><author><name>Sid</name><uri>http://www.blogger.com/profile/03868737528539861655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://img.photobucket.com/albums/v208/ace_sids/PunkBaby.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18090646.post-3171535029410017501</id><published>2008-09-19T09:54:00.003+05:30</published><updated>2008-09-19T09:59:19.648+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="mobile"/><category scheme="http://www.blogger.com/atom/ns#" term="recommendations"/><category scheme="http://www.blogger.com/atom/ns#" term="Technology"/><title type='text'>The opera mini is awesome</title><content type='html'>Everyone in the whole wide world should use the new &lt;a href=&quot;http://www.operamini.com/&quot;&gt;Opera mini&lt;/a&gt; browser on their cellphones.&lt;br /&gt;&lt;br /&gt;Why? Because it&#39;s super fast, super-cool, speed dial bookmarks rule! And it&#39;s actually really really fast for some reason.&lt;br /&gt;&lt;br /&gt;No, I mean it man. &lt;br /&gt;&lt;br /&gt;I haven&#39;t tried flash on it yet, but so far kickass!&lt;br /&gt;&lt;br /&gt;Opera mini = Jack Bauer = Chuck Norris.&lt;br /&gt;&lt;br /&gt;&quot;There&#39;re millions of lives at stake, and millions of people will die if you don&#39;t do what I say, NOW! Dammit, NOW!&quot;&lt;br /&gt;Jack Bauer - Every single episode of 24</content><link rel='replies' type='application/atom+xml' href='http://siddharthdawara.blogspot.com/feeds/3171535029410017501/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/18090646/3171535029410017501?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/3171535029410017501'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/3171535029410017501'/><link rel='alternate' type='text/html' href='http://siddharthdawara.blogspot.com/2008/09/opera-mini-is-awesome.html' title='The opera mini is awesome'/><author><name>Sid</name><uri>http://www.blogger.com/profile/03868737528539861655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://img.photobucket.com/albums/v208/ace_sids/PunkBaby.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18090646.post-6974299531903906446</id><published>2008-09-13T10:54:00.003+05:30</published><updated>2008-10-12T17:27:24.077+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Rails"/><category scheme="http://www.blogger.com/atom/ns#" term="recommendations"/><title type='text'>Rails before_save and validations</title><content type='html'>In Rails you ought to look at before_save as your slightly bad ass friend, who you won&#39;t give control of your assets to.&lt;br /&gt;&lt;br /&gt;You might think that&#39;s a bad analogy. When in fact it&#39;s not. Bear with me.&lt;br /&gt;&lt;br /&gt;Truth/Sane part of analogy:&lt;br /&gt;&lt;br /&gt; Don&#39;t modify your objects in an before_save hook. In any way, small string manipulation, prepend a dollar sign. Any of that, in any way. Of course, this argument is only valid if you&#39;re going to add validations on that object on those fields.&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;br /&gt;&lt;pre name=&#39;code&#39; class=&#39;Ruby&#39;&gt;&lt;br /&gt;class Thing&lt;br /&gt;before_save :underscore_most_special&lt;br /&gt;&lt;br /&gt;private&lt;br /&gt;&lt;br /&gt;def underscore_most_special&lt;br /&gt; name.gsub!(/[-_/]/, &#39;_&#39;)&lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;end&lt;br /&gt;&lt;/pre&gt;   &lt;br /&gt;&lt;br /&gt;This is all cool right, well let&#39;s say now you throw in a validation.&lt;br /&gt;&lt;br /&gt;&lt;pre name=&#39;code&#39; class=&#39;Ruby&#39;&gt;&lt;br /&gt;class Thing&lt;br /&gt;&lt;br /&gt;before_save :underscore_most_special&lt;br /&gt;validates_uniqueness_of :name&lt;br /&gt;&lt;br /&gt;private&lt;br /&gt;&lt;br /&gt;def underscore_most_special&lt;br /&gt; name.gsub!(/[-_/]/, &#39;_&#39;)&lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;end&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;   &lt;br /&gt;&lt;pre name=&#39;code&#39; class=&#39;Ruby&#39;&gt;&lt;br /&gt;class ThingTest&lt;br /&gt;&lt;br /&gt;def test_name_should_be_unique&lt;br /&gt; Thing.create!(:name=&gt;&quot;rambo&quot;)&lt;br /&gt; assert_equal false, Thing.new(:name=&gt;&quot;rambo&quot;).valid?&lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;end&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Of course this test will pass, what test won&#39;t pass on the other hand which I didn&#39;t write on the first go is.&lt;br /&gt;&lt;br /&gt;&lt;pre name=&#39;code&#39; class=&#39;Ruby&#39;&gt;&lt;br /&gt;def test_name_should_be_unique&lt;br /&gt; Thing.create!(:name=&gt;&quot;rambo-the-dude&quot;)&lt;br /&gt; assert_equal false, Thing.new(:name=&gt;&quot;rambo-the-dude&quot;).valid?&lt;br /&gt;end&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Any guesses why?&lt;br /&gt;&lt;br /&gt;The thing that&#39;s saved is saved with underscores, and the thing that&#39;s wants to get saved is being compared with hyphens. Later on get&#39;s saved with underscores. And you end up with duplicates.&lt;br /&gt;&lt;br /&gt;So what&#39;s the solution. Don&#39;t use those AR hooks? Hell no, hooks are awesome! Use before_validates.</content><link rel='replies' type='application/atom+xml' href='http://siddharthdawara.blogspot.com/feeds/6974299531903906446/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/18090646/6974299531903906446?isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/6974299531903906446'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/6974299531903906446'/><link rel='alternate' type='text/html' href='http://siddharthdawara.blogspot.com/2008/09/rails-beforesave-and-validations.html' title='Rails before_save and validations'/><author><name>Sid</name><uri>http://www.blogger.com/profile/03868737528539861655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://img.photobucket.com/albums/v208/ace_sids/PunkBaby.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-18090646.post-4176339076674638597</id><published>2008-09-12T12:47:00.001+05:30</published><updated>2008-09-12T12:47:15.218+05:30</updated><title type='text'>I was asked to be part of this uber-cool coterie</title><content type='html'>&lt;div xmlns=&#39;http://www.w3.org/1999/xhtml&#39;&gt;Email I got:&lt;br/&gt;&lt;br/&gt;No, we don&#39;t wear goggles in the night. We don&#39;t claim we can play the&lt;br /&gt;guitar when we can&#39;t. We do not listen to &#39;cool&#39; music like Himesh&lt;br /&gt;Reshammiya. We don&#39;t speak English in a fake American accent. We don&#39;t&lt;br /&gt;even ape the Paris Hiltons and the Brad Pitts of this world...&lt;br/&gt;&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;Oh yeah! We happen to have IQ level more than 120. We think that one should just try to be herself/himself.&lt;br/&gt;&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;Talking about something more than films and girls/boys is our forte. We&lt;br /&gt;have something more than corny jokes to offer as humor and we can hold&lt;br /&gt;a meaningful conversation for more than 5 mins.&lt;br/&gt;&lt;br /&gt;And we don&#39;t believe in spending half our day in beauty parlor. We have&lt;br /&gt;better things to do than to waste our time on &#39;loveship&#39; and&lt;br /&gt;&#39;frandship&#39;. High heels and ill fitting cool dress is a strict no no.&lt;br/&gt;&lt;br /&gt;Rash bike driving and puking on the road is not our style. We don&#39;t flaunt what we got.. Jeez!&lt;br/&gt;&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;No! we are not cool, for my friend &quot;Uncool is Cool&quot;&lt;br/&gt;&lt;br/&gt;xxxx&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;Now, I don&#39;t know how to reply. Some responses come to mind:&lt;br/&gt;&lt;br/&gt;1. I stopped using Orkut, because well, I was shamed into it by Facebook. But I have a small place in my heart for Orkut and those cheesy poems they sent out when you did their crush thing. Heeheh!&lt;br/&gt;&lt;br/&gt;2. Dude. Being uncool is not cool. It&#39;s actually uncool. It&#39;s what uncool people tell themselves man. Shit, I thought you knew :(&lt;br/&gt;&lt;br/&gt;3. Rash bike driving may not be my style but come on man &quot;frandship&quot; ... goggles at night ... puking on the road! It&#39;s almost like you were there watching the whole time :)&lt;br/&gt;&lt;br/&gt;Love in uncoolness,&lt;br/&gt;Sid.&lt;br/&gt;&lt;br/&gt;Ah, the good days.&lt;br/&gt;&lt;br/&gt;PS: I do use words like coterie. All the time dude, in all my conversation. Or ubiquitously. &lt;br/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://siddharthdawara.blogspot.com/feeds/4176339076674638597/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/18090646/4176339076674638597?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/4176339076674638597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/18090646/posts/default/4176339076674638597'/><link rel='alternate' type='text/html' href='http://siddharthdawara.blogspot.com/2008/09/i-was-asked-to-be-part-of-this-uber.html' title='I was asked to be part of this uber-cool coterie'/><author><name>Sid</name><uri>http://www.blogger.com/profile/03868737528539861655</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://img.photobucket.com/albums/v208/ace_sids/PunkBaby.jpg'/></author><thr:total>0</thr:total></entry></feed>