Archive for October, 2007
Lock & Load Baby!
October 28th, 2007

From left - Sunanda, Matthias, Nathan, Don (our boss’s boss), me and Chris. Missing from the pic is Shraddha - who i guess is behind the cam
We were up against some guys who could fire upto 15 shots per sec per trigger - sadly enough, our guns could do only 1 shot per tirgger
PS: This was one odd day when Rails was resting in the yard ![]()
Posted in makuchaku in USofA | Comments (0)
Life - past 1 month!
October 28th, 2007
Riding on Rails - day & night!
Get out from the bed in morning thinking about Rails, spend 7-8 hours in the office making the official Rails app better, get back to hotel & then again start working on Rails - this time making your personal project a better place for its potential users, catch a “just enough” 7 hours sleep - before this cycle repeats itself! Even the “loo” has become my workplace
I have cut down heavily on my extra-curricular activities to make this happen - means no movies, no tennis, even no gymming (though I seriously plan to get it back into the schedule), no Unreal Tournament even! Just imagine, I am sitting on a 3MBps fat pipe but still I do not download any entertainment stuff - as compared to those daily downloads (on a mere 512 kbps connection) we used to do in Pune - just 3 months ago! Anything that makes me focus away from my projects - is on hold!
Sometimes, I remember Devizen’s Programming can ruin your life - but I guess, its the way of life. If you choose some, you loose some!
Life always gives you choices… what you reap is what you sow!
Just before I end this post, a moment to remember - when I shot a 9mm Semi automatic and a .38 caliber revolver (150 bullets in all) - something that I could never even imagine in India

Don’t mess with me! - my shooting target pinned outside my cube says that loud and clear! ![]()
Posted in A strong urge to blog..., Life, Startups | Comments (1)
The all american look :)
October 18th, 2007

It all started with a simple cut after 8 long months… and ended with a hairstyle I always wanted to sport ![]()
I’m feeling soo light & airy and…

Posted in A strong urge to blog..., Life, makuchaku in USofA | Comments (5)
Running IE6 on Linux
October 17th, 2007
I had to run an IE only app in office today but didnt wanted to boot into Windows!
Two reasons for that
- I hate Windows
- I have forgotten my login password from past 3 weeks
:D
Ask google on what can be done for the situation & it’ll redirect you to a script called ies4linux. This is one helluva job! It downloads all the required components and installs them too. Only prerequisites to run it are cabextract and wine. Check out this nice tutorial. IE6 was up and running on my Ubuntu box in less than 2 minutes (I am sitting on a fat pipe
)
MTNL’s customer care website is known for its ugliness… this is how it rendered on my FF 2.0.0.6 and the IE6 running on Ubuntu Gutsy Gibbon RC

Firefox 2.0.0.6

IE6 on Ubuntu
Wine has considerably improved over the time. Just last weekend I was trying to install the UT3 Demo Win32 version on my Ubuntu box (after successfully installing DirectX 9) but couldn’t go through as I ran out of disk space. I am all praise for Wine atm!
Posted in It calls for a blog... | Comments (0)
Another login controller…
October 15th, 2007
Since login/logout functionality was so common in almost all rails apps that a gem had to exist for an “out-of-the-box” support - ask google and you’ll soon be reading LoginGenerator. Setting it up using migrations is super easy and once you go through the code, using it is almost as easy.
Upon a successful login, the generated controller sets up a “user” variable in your session which points to a copy of current user object - though you need to add a bit of code to make it function exactly like you want - specially if a user is logged in and he hits /login again, he should get the welcome message, not the login form.
Though very simplistic, LoginGenerator stores the user object inside session - which can lead to data inconsistencies. I’ll be have to be double careful when dealing with rw user objects in the session.
My app’s login/logout/signup functionality was up in just less than 2 hours, without writing (almost)any line of code. Yay!!!
Posted in Rails, Startups | Comments (0)