Posts

Nostalgia

Just found a few videos of my Alma Mater http://www.youtube.com/watch?v=EWtO2D-O9c4&NR=1 http://www.youtube.com/watch?v=nK0BRZG2sdk http://www.youtube.com/watch?v=EWtO2D-O9c4&feature=related http://www.youtube.com/watch?v=IJ5nOgLTKJE&feature=related

Fixed Schedule Productivity

Just read this article  Here are a few good points I liked: Choose a Fixed schedule for everything  (e.g. Work 9 - 6.30, Family / Fun / etc: 6.30 to 11.30, Sleep 11.30 - 7.30) Serialize your projects. Keep n project queues (optimally n is between 2 and 3) and start working on the top project for every queue. Learn to refuse: I know it's tough, but it only helps.. Batch and habitatize:  Start early.

Speaking at PyCON 2010

Yay!! I will be speaking at Pycon 2010, one of the biggest conference on Python. Here is my abstract http://us.pycon.org/2010/conference/talks/?search=Lolapps In the coming weeks, I will blog more about each topic in detail..Stay tuned..
Bay Bridge Construction video.

Outcome vs Activity

http://gigaom.com/2007/06/06/outcomes-vs-activity/
A quick solution to producer consumer problem. I am sure this can be improved..(and might even have bugs).. using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; namespace Algorithms { class ProducerConsumer { private static Queue<int> buffer = new Queue<int>(); static AutoResetEvent producerEvent = new AutoResetEvent(false); static AutoResetEvent consumerEvent = new AutoResetEvent(false); public static void Producer() { while (true) { lock(buffer) { if (buffer.Count == 0) { buffer.Enqueue(1); Console.WriteLine( Thread.CurrentThread.Name + "has produced"); consumerEvent.Set(); } } } } public static void Consumer() { while(true) { lock(buffer) { if (buffer.Count == 1) { buffer.Dequeue(); Console.WriteLine( Thread.CurrentThread.Name + "has consumed"); } } ...

Obama's Inaugural Speech

- Barack Obama was sworn in as the 44th president of the United States and the nation's first African-American president Tuesday. This is a transcript of his prepared speech. (Reference CNN) My fellow citizens:I stand here today humbled by the task before us, grateful for the trust you have bestowed, mindful of the sacrifices borne by our ancestors. I thank President Bush for his service to our nation, as well as the generosity and cooperation he has shown throughout this transition. Forty-four Americans have now taken the presidential oath. The words have been spoken during rising tides of prosperity and the still waters of peace. Yet, every so often, the oath is taken amidst gathering clouds and raging storms. At these moments, America has carried on not simply because of the skill or vision of those in high office, but because We the People have remained faithful to the ideals of our forebearers, and true to our founding documents. So it has been. So it must be with this generat...