Posts

To You--Langston Hughes

To sit and dream, to sit and read, To sit and learn about the world Outside our world of here and now- Our problem world- To dream of vast horizons of the soul Through dreams made whole, Unfettered, free-help me! All you who are dreamers,too, Help me to make our world anew. I reach out my dreams to you.

Impossible

Impossible is just a big word thrown around by small men who find it easier to live in the world they’ve been given than to explore the power they have to change it. Impossible is not a fact. It’s an opinion. Impossible is not a declaration. It’s a dare. Impossible is potential. Impossible is temporary. Impossible is nothing.

This is my Fight Song!

Image
Like a small boat On the ocean Sending big waves Into motion Like how a single word Can make a heart open I might only have one match But I can make an explosion This is my fight song (Hey!) Take back my life song (Hey!) Prove I'm alright song (Hey!) My power's turned on Starting right now I'll be strong (I'll be strong) I'll play my fight song And I don't really care if nobody else believes 'Cause I've still got a lot of fight left in me No I've still got a lot of fight left in me
The Man who knows how will always have a job, The man who also knows why will always be his boss! - Ralph Waldo Emerson!

Interesting Quote

A good plan violently executed right now is far better than a perfect plan executed next week. George S. Patton
Here are the slides and video from my pycon talk
Pioneers! O Pioneers! COME, my tan-faced children, Follow well in order, get your weapons ready, Have you your pistols? Have you your sharp-edged axes? Pioneers! O pioneers! For we cannot tarry here, We must march my darlings, we must bear the brunt of danger, We the youthful sinewy races, all the rest on us depend, Pioneers! O pioneers! O you youths, Western youths, So impatient, full of action, full of manly pride and friendship, Plain I see you Western youths, see you tramping with the foremost, Pioneers! O pioneers! Have the elder races halted? Do they droop and end their lesson, wearied over there beyond the seas? We take up the task eternal, and the burden and the lesson, Pioneers! O pioneers! All the past we leave behind, We debouch upon a newer mightier world, varied world, Fresh and strong the world we seize, world of labor and the march, Pioneers! O pioneers! We detachments steady throwing, Down the edges, through the passes, up the mountains steep, Conquering, holding, dari...

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...

ASP.net request lifecycle

IIS gets the request Looks up a script map extension and maps to aspnet_isapi.dll Code hits the worker process (aspnet_wp.exe in IIS5 or w3wp.exe in IIS6) .NET runtime is loaded IsapiRuntime.ProcessRequest () called by non-managed code IsapiWorkerRequest  created once per request HttpRuntime.ProcessRequest () called with Worker Request HttpContext  Object created by passing Worker Request as input HttpApplication.GetApplicationInstance () called with Context to retrieve instance from pool HttpApplication.Init () called to start pipeline event sequence and hook up modules and handlers HttpApplicaton.ProcessRequest  called to start processing Pipeline events fire Handlers are called and  ProcessRequest  method are fired Control returns to pipeline and post request events fire Source: ( http://www.west-wind.com/presentations/howaspnetworks/howaspnetworks.asp )

Obama's victory speech transcript

IF there is anyone out there who still doubts that America is a place where all things are possible; who still wonders if the dream of our founders is alive in our time; who still questions the power of our democracy, tonight is your answer. It's the answer told by lines that stretched around schools and churches in numbers this nation has never seen; by people who waited three hours and four hours, many for the very first time in their lives, because they believed that this time must be different; that their voice could be that difference. It's the answer spoken by young and old, rich and poor, Democrat and Republican, black, white, Latino, Asian, Native American, gay, straight, disabled and not disabled – Americans who sent a message to the world that we have never been a collection of Red States and Blue States: we are, and always will be, the United States of America. It's the answer that led those who have been told for so long by so many to be cynical, and fearful...
Image

"Iknow" English

I just enrolled in the "Erudite Vocabulary" course offered by http://iknow.co.jp . I loved it. Here are some interesting words niggle  - Complain constantly fleer  - Smirk or sneer adumbrate  - outline  kvetch  - complain defalcate  - embezzle
Annoying SearchIndexer.exe!! Tired of that cpu intensive process running on your computer and keeps popping up even if you kill it in the task manager? Try this.. ( Reference ) Disable Search 1. Click on Start button, then select Control Panel -> System and Maintenance -> Administrative Tools, and double click on Services applet. Alternatively, simply type "Services" (without quotes) in Start Search box. 2. If User Account Control asks for permission, click Continue. 3. Locate an service named Windows Search. Right click on Windows Search, and then select Properties on contextual menu. 4. Click on Stop button to stop the indexing service immediately. 5. On the Startup Type dropdown box, select Disabled. 6. Click on OK button.  To re-enable the Windows Seearch, simply change back the Startup Type.  Disable Indexing This method allows users to selectively disable indexing on certain drives which rarely used or searched. However, it may take a long time to apply new a...

Seems like credit grade given in prosper do make sense..!!

Here are a few of my returns from the loan I lend in prosper. Amount @ Rate Bid source Credit grade Principal paid Principal balance Payment status $75.00 @ 11.50% Manual A $1.74 $73.26 Current $50.00 @ 16.44% Manual B $6.57 $43.43 4+ months late In collections $100.00 @ 14.00% Manual A $33.98 $66.02 Current $50.00 @ 12.00% Manual AA $50.00 $0.00 Paid ...