So what's the word? RUBY!

18 11 2005

This week I finally had a little more time to work on Gentoo related things again, so I commited some overdue packages to the tree.

The action started on Tuesday, when I commited the 20+ ebuilds from ruby-gnome-0.14.1 (mostly version bumps plus a few new packages like ruby-gtkmozembed). Quite a lot of users have been waiting for this, as the previous version we had in the tree (0.12.0) didn’t play nicely with GTK+ 2.8/GNOME 2.12. This problems are now sorted, so that quite a few bugs could be closed and marked fixed. :-)

And then George released Nitro 0.25.0 yesterday, which found its way into the tree only hours later. This has mainly to do with the fact that I already had everything in place from the 0.24.0 release, which I then never commited because George said that there soon will be a release focussed on bug fixes and code clean-up. Apparently this has worked out nicely, so go ahaed, emerge Nitro and play around with it, I’m sure you’ll like it.

In the evening we had our montly Viennese Gentoo users meetup, which as always was really funny. I came home pretty late and my head still hurts, but it definitely was among the most entertaining evenings in the last few weeks. Thanks guys!

Boomtime, The Aftermath 30, 3171 YOLD


Ruby: All your web are belong to us

06 11 2005

When it comes to Ruby, I’ve recently mostly been blogging about Nitro, which I think will be a really great framework for writing web applications once it matures a little more. For the next version (0.25.0) the developers plan to concentrate on bug fixing, code cleanup and refactoring, as well as documentation. The current development version – which following my suggestion is now called Glycerin – can be fetched from a Darcs repository, so there shouldn’t be anything stopping you from valuable contributions! ;-)

Ok, after my usual Nitro evangelism, it’s time to finally talk about the other excellent web framework Ruby has to offer: Ruby on Rails. I haven’t used it for quite some time now, but when I got bored a few days ago, I decided to once again start playing around with it. I’ve done some googling and found some nice articles, so here’s my suggested reading list for the aspiring Rails programmer (please note that this list doesn’t include docs from the official site, because they’re easy enough to find):

1. MVC: The Most Vexing Conundrum: Befrore you do anything with Rails, head over to Amy Hoy’s blog, and read her explanation of MVC, the design pattern Rails is following. I think it’s really important to wrap your head around the underlying principles of a framework before you start to use it, so make sure you really understand what Amy’s trying to tell you.

2. Rolling with Ruby on Rails: Once you got the basic principles, it’s time to visit ONLamp to read Curt Hibbs nice introductory article. It doesn’t really go into much detail, but I’m sure it will wet your appetite…

3. Really Getting Started in Rails: Now that you’re rolling with Rails, it’s time to go back to Amy’s site. There you’ll find this nice article that is meant as an addition to the previously mentioned “Rolling with Ruby on Rails”, explaining some of the whys and hows Curt had to leave out to keep his text short and to the point.

4. Rolling with Ruby on Rails, Part 2: Do you start to see a pattern here? Correct, it’s Curt’s turn again. In the second part of his introductory Rails article, he finishes off the cookbook application from the first part, before giving pointers to some of the more interesting features of Rails, like caching, transactions, testing, generators and so on.

5. Four Days on Rails: Now that you should have a basic understanding of how Rails works, you should definitely check out this excellent HOWTO by John McCreesh: “It’s about 40 pages formatted for double-sided printing on A4, and by the time you’ve read it, you should have a useful toolbox of Rails techniques and a good idea of where to look on the web for more information“.

If you take your time to carefully read this stuff, you should be pretty much up to speed in Rails development in less than a week! Don’t be passive while reading the articles, but start writing you own little app and constantly improve it while you learn. Once you feel comfortable with the basic principles, you can read some of the more advanced stuff, like Ajax on Rails, REST on Rails, Ajaxariffic Autocomplete with Scriptaculous or the Rails articles why the lucky stuff publishes on RedHanded. Have fun!


Look who's back...

29 10 2005

Seems like I haven’t had a post on Planet for quite some time now, which may have to do with he fact that I’m officially away in October… However, there are times when I just don’t want to learn for that frigging exam, so here’s a little status update on my Gentoo work:


  • *Gentoo/ALT documentation: Since we will soon start to recruit Arch Testers for the Gentoo/ALT project, I converted our old docs to handbook format, moved them around and wrote some new things. This led to the not-quite-finished Gentoo/ALT Contributor’s Guide, which is intended to be the one place where people interested in our project should find all the necessary information. I’ll still need a few more hours to fix typos and check other docs for now deprecated URLs, but other than that it’s fairly complete, so I hope it’s useful to you!

  • *Gentoo/ALT Arch Testers: As mentioned above the Gentoo/ALT project will recruit Arch Testers soon. Somehow Flameeyes managed to convince me to become the operational lead for our ATs, and hparker already brought me up to speed on what that task involves. As I think that good documentation is really important before we start bringing anyone on board, I first want to finish the new handbook before recruiting begins. Once we are actually starting to look for fresh blood, you’ll find announcements in the usual locations (GWN, gentoo-dev, here).

  • *Nitro: Yesterday George released version 0.24.0 of his really nice web application framework! There are lots of cool new features, like a complete reworked annotation/property system, support for KirbyBase, SCGI support, experimental HTTP streaming support, improved scaffolding and lots of other great stuff! Seeing how busy George has been, I thought that the ebuilds for all Nitro related packages deserve some extra love, like moving the DBMS use flags to the og ebuild instead of the nitro one (where they really belong, in case someone wants to use og without Nitro), as well as adding some extra useflags. Given that I already commited cmdparse, KirbyBase and an updated version of Facets to CVS, it shouldn’t take much longer until an “emerge nitro” will get you the new and shiny 0.24.0!

  • *MySQL upgrade guide: Lately there has been quite a lot of feedback on the MySQL upgrade guide vivo and I have written. Please rest assured that we’re trying to update the doc accordingly ASAP. Unfortunately last time I checked days still don’t have more than a measly 24 hours, and this guide isn’t exactly top of my priority list…