RbMU, a better way to learn Ruby
"The students on this list have all shown they can ship clean code under tight deadlines while maintaining a balance between learning new things and getting things done."
- Modeling complex business logic
- Integration with third party software libraries and/or web services
- Practical application of high level software design principles
- Contribution to community projects
- Background job processing. We were asked to build a demo app that made use of background jobs. As I already had experience with DelayedJob, I chose to work with Resque, and I built a simple Rails app that integrates with Last.fm and Flickr, so you enter the name of a music band and it fetches its albums, similar bands, and photos from Flickr, using a Resque background queue. https://github.com/jaimeiniesta/s6-e1
- Experimenting with Ripper. Ruby has a standard library called Ripper, which aims at converting Ruby syntax into s-expressions. This library is quite obscure and has not yet been very explored, so we were asked to conduct some experiment with it. What I did was a Ruby file comparator, an script that, given two Ruby files, would convert them to their simplified structure and tell if they are the same. https://github.com/jaimeiniesta/s6-e3
- Community Service Project. Although the web and apps of the RbMU is mainly built by Jordan Byron and Gregory Brown, it also receives a lot of contributions by its students (and anyone who wants to help, as it's open source). My humble contribution was the the alumni list filtering by year, course, and recent alumni. http://university.rubymendicant.com/alumni/recent.html
- Challenge Project: Tower Defense Game. Greg gave us a prototype of a tower defense game, a basic but working demo where you have a board with different kinds of tiles, and pieces for towers, monsters, etc. Our goal was to study the codes and make something more solid, make it grow and add new features. New kinds of towers, monsters, maybe a nice interface. Again, we were the ones proposing what to do. The trick here, was that the code was not documented and we had to study all this code before thinking about what could be improved. We all left this one for the end as it looked so complicated, but on the last days I had a nice meeting over IRC with Ginny Hendry and we did a dissection of the code, following it and understanding how it all was working. It was a good experience. https://github.com/rmu/s6-e2
How to generate a static version of a website using nanoc and nokogiri
"nanoc is a tool that runs on your local computer and compiles documents written in formats such as Markdown, Textile, Haml… into a static web site consisting of simple HTML files, ready for uploading to any web server".
"Nokogiri (鋸) is an HTML, XML, SAX, and Reader parser. Among Nokogiri’s many features is the ability to search documents via XPath or CSS3 selectors."
- sitemap, which can be a local XML file or a remote XML file on a server
- root_url, which is a string indicating the original root URL
- extract_id, which is a string telling the id of the DOM element from where the contents should be grabbed
Interviewed on Spanish Rails podcast
Ruby on Rails has a large community of developers in Spain, which is growing day by day thanks in part to initiatives like Rails Hispano, a new Spanish podcast about Ruby on Rails.
Having fun with 37signals Draft
Draft, the first 37signals app for the iPad lets you draw quick sketches and wireframes, using only your fingers. It's great, you only have two inks, white and red, and an eraser. Why more?
You can also send your drawings to Campfire or by email. This is a great tool to quickly express your ideas, and I find that it's also very relaxing, just sit on the sofa and draw like a kid! There goes my first piece of art. This is the Guy With The Curved Scrollbar Hat:And, here's my second masterpiece, the Bloody Mosquito:
Even my 5 months old son has been able to make a great piece of abstract work. :PIf you're not on an iPad you can try a clone of this app that runs on a browser. It's really great, offers you 4 inks (although maybe with 2 is enough), but lacks an eraser (which could be easily implemented with a black ink as does 37signals).
But of course, drawing with your fingers is so much better than with a mouse. Go try Draft on an iPad!
hashtag_retweet_bot
hashtag_retweet_bot is a ruby bot that retweets all twits tagged by a certain hashtag. It's ideal for conferences, meetup groups, communities, etc. As an example, let's say you want to retweet every twit found with the hashtag #icecream every 5 minutes (300 seconds). This ruby gem will let you do it as easily as running:hashtag_retweet_bot icecream 300
This bot was born as a little script for the Scotland On Rails 2008 conference. We saw it in action there and as it was nice and useful, so we forked it to adapt it to our needs at the EuRuKo 2009 conference.
The Agile Samurai
I've just finished reading The Agile Samurai (better said, the first 17 chapters that have been written as this book is still on beta), and I would like to share it with you as I think it's a nice book to read.To be honest, I expected a bit more from a book with such a strong title, but I see that this book was intented for people who want to get a general idea of what the Agile developing world is like.
So, if you're already into Agile lands, you'll surely find it a fun book to read but it won't teach you anything you didn't already know; if you're new into Agile, it will show you a whole new land. You should definitely read it in this case.
This book covers topics like project inception, planning, creating agile teams, comunication, story cards, burn-down charts, test-driven development, and more.



