Sinatra course at RubyLearning announced!

25 02 2009

For a lot of people, Ruby became almost equivalent to Rails, but this doesn’t mean that Rubyists can’t choose from a wider selection of web frameworks. One of them is the microframework Sinatra, for which RubyLearning will start a course on March 21st. Registration is open now, the price is a reasonable US$3 for the first 15 people to sign up, US$4 for the next 25 and finally US$5 for everyone after that. Yours truly will also be a mentor for this course and would be happy to see some of you there!


Some quick Ruby tips

09 02 2009

Good news for OS X users: Priit Haamer provides documentation for Ruby 1.9 and Rails as dictionaries for Dictionary.app, which makes them searchable by Spotlight (Ruby documentation, Rails documentation!)

There also was a nice discussion over the last few days on Ruby’s Most Underused Keyword, which is quite an interesting read (make sure you don’t skip the comments).

Last but not least I want to point out isitruby19.com, a website that tests gems for their compatibility with the newest Ruby release.


Loads of links

10 12 2005

I haven’t blogged for quite some time now, so I decided I could at least entertain you with one of my semi-regular link dumps until I’m motivated enough to write a proper entry again…

Ruby

RadRails: From a rather recent mail on ruby-talk I learned about RadRails, an IDE for (who would’ve guessd) Ruby on Rails which was built using the Eclipse RCP. Unfortunately I didn’t have too much time to play with it yet, but so far it seems to be quite nice and if you’re into Rails you maybe should have a look at this project.

eigenclass: Recently RedHanded kept talking about Mauricio Fernandez’ new blog called “eigenclass”, which talks about a lot of really interesting and advanced Ruby stuff. Definitely an interesting read for every serious Ruby programmer and everyone who wants to become one.

try ruby!: As I found out on poignant-stiffs why is at it again, which means there’s something cool coming up. Despite not involving cartoon foxes or chunky bacon, try ruby is still a really neat project, giving you the opportunity to interactively test Ruby from within your web browser. There’s also a little tutorial, so this site may very well become the first stop to send Nubies to…

Disobey

The Hacktivist: Instead of summing up what the Hacktivist is all about, I’ll just give you the self-description of the project: “The Hacktivist is dedicated to examining the theory and practice of hacktivism and electronic civil disobedience while contributing to the evolution of hacktivism by promoting constructive debate, effective direct action, and creative solutions to complex problems in order to facilitate positive change.“ – Involve yourself!

The World’s Most Populated Countries: Sometimes a new look on things helps changing your perspective in a positive way. That’s why it’s important to take a minute or two to think about this map of the Earth, where all the countries got resized in relation to their population.

Church of the Flying Spaghetti Monster: This comes from an open letter to the Kansas school board: “ I am writing you with much concern after having read of your hearing to decide whether the alternative theory of Intelligent Design should be taught along with the theory of Evolution. [...] Let us remember that there are multiple theories of Intelligent Design. I and many others around the world are of the strong belief that the universe was created by a Flying Spaghetti Monster. It was He who created all that we see and all that we feel. We feel strongly that the overwhelming scientific evidence pointing towards evolutionary processes is nothing but a coincidence, put in place by Him“. Ramen!

Do you believe?

Relax

Unintentionally sexual comic book covers: Part 1: If you know The Best Page In The Universe you either love or hate Maddox. No matter to which group you belong, check out this collection of unintentionally sexual comic book covers and have a good laugh! (via hoodwink.d onslaught)

The Website Development Process: Learn everything important there is to know about the process of developing a professional website from platic figurines. (via BoingBoing)

Squidoo: The developers of Squidoo thought that “Everyone’s an expert on something”, so they decided to give all of us the opportunity to share our knowledge in the form of “lenses”. For all of you who are to lazy to look at the FAQ to find out what a lense is, here’s the answer: “ A lens is one person’s (lensmaster’s) view on a topic he cares about. More specifically, a lens is a single web page filled with information and links that point to other web pages, to continually updated RSS feeds, or to relevant advertising. It’s a place to start, not finish. “. Interesting concept, and there are some pretty cool lenses already. (via teemow).

Setting Orange, The Aftermath 53, 3171 YOLD


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!