Update: I removed the source code from the blog post. You can now find it on my github account. Most Hadoop tutorials use the wordcount application as a demo application. And while this might be a good demo application, it is not particularly helpful. So i wanted to think of an idea for a more useful application to use on a cluster. My first thought was trying to implement the famous Sieve of Eratosthenes.
My last twitter was “Its after midnight and i just finished my first MapReduce application. Next up, blogging about it.” Well now its time to blog about it. And share some code…won’t that be fun? So I’ve always wanted to do some distributed programming or parallel programming(technically not the same, but aim at solving similar problems), but the barrier of entry was always too high and the learning curve a bit steep.
As a follow-up on I am getting Ruby-fied, Ruby’s not ready - glyphobet • ???????? • ???????? does a much better job at going over Ruby’s faults. Ruby on Rails is not discussed except to say that it and Pylons are very similar, but i tend to agree that a lot of the different web frameworks out there are quite similar because they all include what is needed of a modern framework.
I still get a lot of searches and hits on my “Mytube” page as well as some inquires by mail…which tells me two things. One is that people still do not fully understand how to fully use flex and the other is that RIAs are pretty popular these days. To help people who come searching for this, let me shine some light on the matter. I’ll do so in the form of bullet points to speed up the process.
My birthday was uneventful this time(it was in October). Partly because it wasn’t the best of times for a celebration and partly because i had a lot on my mind. So like every year, i decided on some new year’s resolutions. I make mine on my birthday so it is my new year and not everybody else’s. One of my resolution was a stronger commitment to my ideals and convictions. I already try to do my part in advocacy and evangelism, and so decided to put my money where my mouth is(sort of).
I read today about Microsoft releasing the source code of the .Net class libraries and i have to say that it is an excellent move on their part. In an earlier post, i argued why i think that all frameworks should be open sourced and i still believe that. In fact, it is because of this that i started cutting down on using .Net programming for any of my work.
A year ago, i decided to replace my mobile phone. The battery had terrible durability and this was the second one that i replace. So i decided to bite the bullet and replace the phone. I spent a little time doing some research to know what types of phones are available locally and was quickly saddened by the alternatives. You see, i wanted a phone that would do more than make calls.
Taken from page 170 of State of Africa book. This quote talks about some African countries right after their independence between the 60s and 80s(1960-1980) or so. But what really surprised me is how accurately it describes the current and former Lebanese politicians. The problems with these African countries was the destructive influence that the former colonization forces had on them. It isn’t the only reason, but at that time period, it was the most influential.
Working on several different projects and juggling around many different ideas in your head can get pretty tiring and will affect your ability to be creative. Your head gets taxed with keeping all of this information concurrently and thus this gets in the way of actually considering each idea separately and acting upon it. To put it simply, if your mind keeps on buzzing with ideas, you won’t be able to get any work done.
A few months ago, i bought the book Leaving MicroSoft to Change the Worldand on a flu episode with a fever that lasted two days, i got to finish it. Now, i read a lot of books. And over time, i got to quickly notice good books from bad books. And ever more, i get to know great books from “books you buy to balance your shelf” books. I try to buy only good books and strive to get all the great ones.