Non blocking UI in CPU intensive JavaScript apps
Posted by Joel Alenchery Labels: Concurrency, javascript, UISo this is what a mobile post looks like ;)
The man who got the common man to associate 'cool' and 'awesome' with tech, who could drive the world to believe that anything the company touched could turn to the gold standard by which all other products would hence forth be compared to, the last true showman of the silicon valley steps down as CEO of the largest company on the planet - The 'i'Conic Steve Jobs.
I have never owned a mac my self. The only apple device I have ever owned is a ipod touch first generation (still can feel the excitement I felt when I first got it ). His vision and imagination and drive no doubt helped apple reach the heights apple has reached today. But I think more than that it was his showmanship on stage that inspired people. His 'reality distortion field' as some call it was amazing. Its the passion with which he spoke about his new products that made people stand up and be in awe. He could make a great product become 'insanely awesome'! and make you believe that owning that product he is showcasing will change your life. Which other person have you known to show the products back as passionately as he talks about the front. That's how much attention to detail went into each apple product I have never missed a apple key note that Mr Jobs gave post 2005 (thats when I had a fast enough internet connection to stream the keynotes) . Is really sad that I might not get to see any more of those exciting presentations anymore. I wish I could borrow some of that energy and passion.
And here is another amazing asset he had - clarity of thought ..
“Remembering that I’ll be dead soon is the most important tool I’ve ever encountered to help me make the big choices in life. Because almost everything — all external expectations, all pride, all fear of embarrassment or failure – these things just fall away in the face of death, leaving only what is truly important. Remembering that you are going to die is the best way I know to avoid the trap of thinking you have something to lose. You are already naked. There is no reason not to follow your heart.”
Steve Jobs, Stanford commencement speech, June 2005
I wish his the best of health. and I hope he still gets to do things he is so passionate about in his new role. God bless him. Thank you Mr Jobs for making geeks cool.
You know how you start out to do something and end up learning something completely different. One of those rare moments happened yesterday. I had finally gotten fed up of the stupid login screen that my reliance broadband connection throws at me after every 20 minutes of inactivity. So based on something that my friend Mihir (taurius1) gave me I headed out into the brave new world of scripts. A lill fiddling around and asking the mighty Google yielded some neat lill scripts and that too in python :) I was a happy camper.
Then comes the time to test it all out and I hit my first road block. I have conveniently forgotten my login credentials for the broadband service. DAYMN ! But wait I have it stored in my browser. Which is why I could log in and surf all this while. So I did indeed have my password but it was hiding from me in plain sight behind those pesky lill asteriks. There had to be some way I could have a peek behind em to get to my real password. Asked almighty Google a solution to this and it threw this nifty lill jewel my way:
document.getElementById('password').type='text';
And Volaaa! I Has Password! woot! What I had essentially done is change the password field into a text field. Since the text field does not mask its contents with asterisks I could now see my password. Which now lead me to think I could write a generic script which if I pasted in the browsers address bar would seek out all those pesky lill asterisks. ~Evil Grin~
So after a lill bit of tweaking and a quick run though the closure compiler me has this to off to the world.
Enjoy stealing unsuspecting stored password that innocently were left unattended on a pc .. MUHUHAHAHAHA ! oh wait I have a couple of those on my pc .. ~Quickly wipes em out using CCleaner~
Which reminds me that I still haven't written that script I initailly started to write. Gets back to learning Python.
PS: image taken from here

You see it wasn't just the laziness part it was more coz most of these thoughts that I think I should blog about happen during my daily commute to work. That's probably the time I am most wasted and have time to think of things. Some of these thoughts occasinally might be amusing enough to be bloged about ;-) so here I have these thoughts and think ill get home and soo write a post. But the drudgery of public transport in Mumbai just sucks not just ur phone /mp3 players battery but ur very life energy too! So by the time I get home all I really wanna do is get some food and hit the sack. And if I ever do conjure up the power to write something in asleep half way through which kinda explains the unfinished posts.
I may have found a way to take me out of thy cycle. Thanks to a decent mobile phone (a lg optimus one) with full Internet and a nifty lill blogging platform called posterous, I don't have to wait till I get home. I can type out my thoughts right then and there. It feels nice to be sitting in vashi station and typing this out as I wait for a train which is taking forever to arrive. Although I must point out that virtual keyboards on full touch screen phones kinda suck at prolonged text entry. My fingers feel tired.
Till my next post.
Cheerios...









