What's up with Hatim?

life, musings and rants of a Pakistani software enginering student in Gothenburg, Sweden.

Updating Typo to SVN and hitting roadblock

Posted by hatim Tue, 09 Dec 2008 21:32:00 GMT

Every now and then I decide to update my typo svn to latest version. I have not been able to follow my goals of working on a ruby on rails as vigorously as possible, but atleast I make sure that I keep my self updated to this RoR application to some extent. And looks like there have been some changes happening. First I see alot of rails stuff in the vendor directory.

Secondly I see that there are lots of new changes within the routes in admin. This means that I would need ot put some more routes in my nginx, which basically runs on top of mongrel cluster (thing which manages my rails application)

So as of now my home page is broken, which is not good. I will try to fix it as soon as possible. It seems the error is within typo it's self.

Edit: I have found out that my blog's CMS has shifted its version control from svn to git and is also on latest rails 2.2. As of now I have lost my customizations to the main page. But I think it would be better if I work on moving away from my VPS instead of trying to fix all the nitty gritties in it. I would like to move on to a fully hosted solution instead. Let's see if I can get some sort of front page working for my website.

Posted in | no comments |

Updating Typo to 5.0

Posted by hatim Fri, 11 Jan 2008 04:02:00 GMT

I finally took some time to upgrade my typo installation to latest revision of SVN. After updating the code base I found out that my website had broken. As usual I panikly logged onto irc.freenode on channel #typo. I found neuro` (typo dev) there who told me to 'reke db:migrate'. When that didn't work he told me to get rcov gem. The hosting company which I use manages ruby gems by them selves. so I postd a request for gem. Lucky for me this request was honoured within minutes. I then did a successful db migration. But my blog was still broken. I read some where that It was probably a older dispatch.fcgi is still running. While I was figuring this out, my website came online by it' self.

The reason I switched to typo was to learn ruby and rails (and perhaps work on typo). I need to get my act straight and start coding :)

I found one bug in typo, when sorting posts by dat in manage, it does not sort entries according to the dates visible in view (i suspect it sorts by date of actul post). So perhaps I can start by looking into this bug.

Posted in | no comments |

Reading up on Ruby on Rails

Posted by hatim Thu, 15 Feb 2007 11:59:00 GMT

It's been long since I vowed that one day I will finish up a Ruby on Rails text book (and incorporate it in my personal website). Between my job and watching downloaded tv shows I have been really slacking up on that goal. Not for long as I am planning to finish significat portion of new Agile Web Development with Rails (2nd edition , Dec 2006) by this weekend.

It seems there are tons of books available out there for both Ruby and for RoR, but Agile Development with Rails seems to be the lead book. Fortunately the new edition does cover Rails version 1.2 so I can forget about learning old RoR ways and focus on the latest available stuff. The first chapter points out that this new edition is essentially a whole new book as alot of stuff had to be rewritten.Hopefully this book will let me cover alot of ground, but like any book on a web devlopment platform, it is no where near exhaustive. So it will be a long ride to mastery of rails.

Posted in | no comments |

Finally my own ruby hosting plan and domain name

Posted by hatim Sun, 11 Feb 2007 03:27:00 GMT

I had been contemplating this for a very long time, but its done now. I had bought domain name from GoDaddy.com three months ago and I finally took the time to buy my self a nice hosting plan with a site called RailsPlayGround.com. As the name suggests this site is meant for Ruby on Rails developers to play with their rails applications.

First thing I have done on this site is to Install Typo as my primary blog engine. It would be nice to build my own blog engine one day, but meanwhile I can post my blog entries here and migrate(clean) blog entries from blogger.

Posted in | no comments |


lates.arcsin.se/'), link_to ("Frédéric de Villamil", 'http://fredericdevillamil.com')) %>
Powered by typo