Similar Posts
Playing with data structures in Ruby
Sorting I’ve been trying to sort a mixed array in Ruby the shortest way. Each element of the array by itself is a mixed array of a number and and a hash: a = [ [0, {:a=>”31″, :b=>”21″}], [1, {:a=>”32″, :b=>”11″}], [1, {:a=>”25″, :b=>”19″}], [0, {:a=>”12″, :b=>”10″}] ] #sort by first item of each row (number) a.sort{|x,y|…
Fixing the multiprocessing error while developing for AppEngine
If you are developing for Google AppEngine on Mac, and you have updated python to 2.6.x or higher, you might face this non-sense error over and over: ImportError: No module named _multiprocessing The main reason behind this error is that AppEngine (as of this writing) can’t get along with python versions higher than 2.5.x. Fortunately…
- Archive | Mac | Productivity | Tutorials
Create your own news reader application for free
Many people use RSS news feeds to read the latest updates from their favorite websites synchronized in a single place. It is much more productive than surfing around and reading content surrounded by ads and useless stuff. With the subscription list increasing in number, having a powerful new reader with a good set of features…
Graduate school and the GMAT beast
After moving to Vancouver (yeah baby), one of the things I want to do is to apply for UBC graduate program. No, MBA is not what I have in mind, MIS is a better choice for me. Although I’m still finishing my MSc in SBIT, I think this degree will help me better in accomplishing my goals,…
2 ½ day workweek – Coping with Weekends in the Middle East
The Problem As a part of my work, I’m in direct contact with accounts in Turkey and a number of countries in the Middle East. Being located in Turkey means that I “enjoy” Saturdays and Sundays as my days off, but in UAE, for example, Fridays and Saturdays are holidays. To make the matters more complicated,…