Category Archives: Ruby

Ruby programming language related content

Google App Engine, JRuby, Sinatra and some fun!

Yesterday I was experimenting with Google App Engine for a little project that I was working on. I literally started from ground zero and could do my thing after a long night. I’m blogging about it to share you the … Continue reading

Posted in GAE, JRuby, Ruby, Sinatra | Tagged , , , , | 23 Comments

2011 and I’m back!

Hey, It has been long time since I opened this page to write something. Actually 2010 was a very busy year. I left ArabCrunch team to join Inquiro, a cool startup focusing on SEO/SEM optimization, where my work completely took … Continue reading

Posted in Python, Ruby | Tagged | 2 Comments

StackOverflow cool Ruby questions 4

Welcome to the fourth post of this series. Just before proceeding to the questions, I would like to mention the great Metaprogramming Ruby: Program Like the Ruby Pros book by Paolo Perrotta, a very good book that explains the metaprogramming … Continue reading

Posted in Ruby, Stackoverflow | Tagged , | 7 Comments

StackOverflow cool Ruby questions 3

Welcome to the third post of this

Posted in Ruby, Stackoverflow | Tagged , | 6 Comments

StackOverflow cool Ruby questions 2

Welcome in this second post of this series. Just before I list the questions of this one, I want to mention 2 things: You can follow StackOverflow tagged Ruby questions on twitter using the user: sof_ruby Some ppl feel shy … Continue reading

Posted in Ruby, Stackoverflow | Tagged , | 8 Comments

StackOverflow cool Ruby questions

I have participated heavily during the last 2 weeks in answering Ruby tagged questions on stackoverflow. That took place mainly after Ryan Bates tweet wishing to see more Ruby developers on stackoverflow. Since then I have enjoyed reading various kinds … Continue reading

Posted in Ruby, Stackoverflow | Tagged , | 10 Comments

Observer and Singleton design patterns in Ruby

This is my first article in http://railsmagazine.com, it was published in issue 3, so basically I’m just republishing it here again. Observer and singleton are two common design patterns that a programmer should be familiar with, however what made me … Continue reading

Posted in Design Patterns, Ruby | Tagged , , , | 13 Comments

Ruby 1.9 Encoding Fun

Ruby 1.9 has a great support for encoding, this post covers that for a big deal, however with this support out of the box, things like this becomes easier, just note the source code is not limited to few types … Continue reading

Posted in Ruby | Tagged , , | 4 Comments

Ruby Currying

Update: This post was updated to show the difference between Currying and Partial Functions. Currying is a concept in Functional Programming that’s enabled by Higher-order functions. It’s best described as: the ability to take a function that accepts n parameters … Continue reading

Posted in Functional Programming, Ruby | Tagged , , | 8 Comments

Ruby and Functional Programming

Ruby is known to support the functional paradigm. This article is going to walk you through the Functional Programming page on WikiPedia, to revise the general concepts of functional programming and to explain how Ruby supports them. According to wikipedia, … Continue reading

Posted in Functional Programming, Ruby | Tagged , | 9 Comments