Archive for October, 2008

Free CS courses online

Posted in Uncategorized with tags on October 21, 2008 by Bartosz Radaczyński

I’ve just stumbled upon this really nice data structures and algorithms course. This is a really nice looking one. Does anyone have some other good online courses links?

Ruby vs Python

Posted in languages with tags , , on October 14, 2008 by Bartosz Radaczyński

For a while now I’ve been looking for a thorough comparison of the two (I know that Ruby has blocks, believe you me). I finally found one here. Another extremely interesting thing is the speed comparison of various programs written in both. As it seems (at least for now), Python is about 3 times faster than ruby (not to mention psyco). On the other hand, ruby 1.9 is supposedly faster (benchmark is not supporting this 😦). Yeah, I know that the processor cycles are cheaper than developer’s brain cycles (and it is true), but since coding in Python is about as productive as it is in Ruby, and the code can run three times faster, why not use python?

Elixir (and sqlalchemy) models validations

Posted in web development with tags , , on October 13, 2008 by Bartosz Radaczyński

For those of you that miss rails-like validations in  pylons –  there is a solution. Current version is available from the cheeseshop:

easy_install sqlalchemy_elixir_validations

and then follow the description.

Rails 2 tutorial

Posted in web development with tags , , , on October 9, 2008 by Bartosz Radaczyński

While playing around with rails (not that it the first time when I come across rails) I’ve come across a great tutorial for rails 2.0.

By the way, a short checklist for the rails developers:

  1. netbeans (on amd64 linux there is a problem with jvm -> solution), with the debugger (there is also a bug on linux -> solution)
  2. rails  api docs
  3. the aforementioned tutorial

Muza [pl]

Posted in Uncategorized with tags on October 3, 2008 by Bartosz Radaczyński

Dopiero niedawno odkryłem (ech, człowiek to jest zacofany jednak), że nie potrzeba mieć terabajtów muzyki na HD, wystarczy, dla chętnych moja lista ulubionych.

First bitbucket fork

Posted in web development with tags , , on October 3, 2008 by Bartosz Radaczyński

For a while now I’ve been trying to get around to use a dvcs (distributed version control system). I’ve somehow convinced myself that git is great (cool name and rails guys use it and so on), I even created a gihthub account, but somehow could not find the time to check it out… And eventually I took the mercurial for a test drive. It is written in python and, as Mike Orr said, there is probably no python project that uses git instead of mercurial, so there it was – mercurial. There’s a great tutorial for mercurial over here. And as it turns out, dvcs rock! You don’t need a server, easy branching and merging, which encourages code experimenting. And after an hour or two you can just merge the final working version and noone will know that you had sixty two gazillion of broken versions in your local repo. This is really cool! It’s like svn on steroids.

At the same time Graham Higgins sent me a link to his project shabti, which is a bit too much for what I need right now. For a while now I’ve been playing around with pylons and I really missed the scaffoldingm so I created that for shabti. The code and a tutorial are here.