In case you haven't come across this already, there's this new service launched on Google Labs called FastFlip. FastFlip allows easily skimming through news articles, which presumably are pre-fetched and cached by google.
As of this writing, FastFlip has partnered with around 39 publishers to deliver this super-fast news browsing facility. This includes publishers like New York Times, BBC News, The Washington Post, Technology Review, Techcrunch etc.
In case you're wondering why these publishers would give away potential ad revenue by allowing Google to serve pre-fetched images, they are are not. Apparently google has a revenue sharing program with these publishers to compensate for this (as you flip through FastFlip pages, it also renders a banner ad to the right)
To make things even more easier, FastFlip supports keyboard shortcuts like left/right arrow key, which improve the overall news-browsing experience.
It would be interesting to see how this model works out once Google opens it up for more publishers, including those who currently aren't customers of google adsense/doubleclick!
Friday, October 9, 2009
Sunday, July 19, 2009
Feynman's Lectures - videos on research.microsoft.com
For those with an interest in Physics, Prof. Richard P Feynman might be a familiar name. A series of lectures that were delivered by Prof. Feynman during his Caltech days were later compiled into a set of books; today these are widely regarded as one of the best introductory set of lectures on physics.
Thanks to the efforts of Microsoft, many of these lectures (a version delivered to students of Cornell) are available online. Apparently, Microsoft Chairman Bill Gates happened to watch these lectures while he was on a vacation, and decided to make them available for the general public. The lectures are hosted on research.microsoft.com, and require Microsoft Silverlight to be installed in order to play them.
Link to the lectures :
http://research.microsoft.com/tuva
A detailed interview with Bill Gates on this effort :
http://news.cnet.com/8301-13860_3-10286732-56.html
Thursday, September 25, 2008
Google Chrome Scrolling Issue
Google chrome is interesting; however one of its weird scrolling bugs has been pushing it back from being a primary browser in my case (in spite of all those one-process-per-tab, fast javascript engine,... features).
Scrolling works fine on a dell laptop where i tested this. However, on a HP laptop, scrolling-up using the touchpad doesn't work. Thankfully, there is a patch available for this issue, albeit not from google itself.

Couple of searches on google groups showed up this url
An independent user has provided a quick fix for the chrome.dll file. I tried it, and so far it works fine. Just thought of sharing this info for the rest of users who've not been able to actively use chrome due to this bug.
Here's what I did to patch this up.
1. Download chrome_patch.zip from the above url.
2. Extract chrome_patch.exe into the same directory where chrome.dll resides.
3. Run chrome_patch.exe
PS:
1. AFAIK this is not an official patch from the chrome team. That said, use at your own risk!
2. The patch website mentions that latest development builds of chrome have fixed this issue; but it is not yet available on official builds.
Wednesday, August 6, 2008
Installing GIT on Windows (msysGit)
GIT is fast evolving revision control software created by Linus Torvalds, the initial developer of Linux. GIT was written to be a replacement to BitKeeper, a proprietary version management system that was initially used during the development of Linux.
Although GIT was originally meant for the Linux platform, ever since it became popular, there have been GIT versions for Windows and OS X as well. This post describes a GIT installation on windows.
The recommended installation on windows(called msysGit) requires Cygwin to be installed on your windows machine. GIT over Cygwin could be slower than GIT on Linux; nevertheless its good enough for those who would like to get a feel of GIT on their windows machines.
Below are the installation and configuration steps
1. Install Cygwin -
http://www.cygwin.com/setup.exe has a setup file of around 500KB which will in turn direct you to mirror sites for the rest of cygwin libraries.
2. Download and Install GIT for windows
http://code.google.com/p/msysgit/downloads/list
The installation asks whether GIT needs to be tightly coupled with your windows machine. I chose the loosely coupled GIT-bash option(this option does not support explorer integration).
3. To start experimenting, you could clone an existing GIT repository (similar to making a new module in CVS). I chose to experiment using a clone of script.aculo.us from github
Here's how you would create a clone
git clone git://github.com/madrobby/scriptaculous.git

The above clone created a directory called "scriptaculous" with a local copy of script.aculo.us code. There's also this special folder .git which has GIT metadata/history for the project.

Saved modifications in the GIT repository are called "commits".
"git show" displays information about the latest commit.
Commits are uniquely identified using a SHA1 hashed value of the file's contents (In the above example - a71412...bf94a4)
"git branch" lists all branches in the project. In the below example there's just one master branch.

4. Creating a test GIT project
a. Configure GIT using the .gitconfig file
b. Create and initialize a GIT repository
c. Add files and commit
For an in-depth reference on using GIT see http://www.kernel.org/pub/software/scm/git/docs/user-manual.html
Although GIT was originally meant for the Linux platform, ever since it became popular, there have been GIT versions for Windows and OS X as well. This post describes a GIT installation on windows.
The recommended installation on windows(called msysGit) requires Cygwin to be installed on your windows machine. GIT over Cygwin could be slower than GIT on Linux; nevertheless its good enough for those who would like to get a feel of GIT on their windows machines.
Below are the installation and configuration steps
1. Install Cygwin -
http://www.cygwin.com/setup.exe has a setup file of around 500KB which will in turn direct you to mirror sites for the rest of cygwin libraries.
2. Download and Install GIT for windows
http://code.google.com/p/msysgit/downloads/list
The installation asks whether GIT needs to be tightly coupled with your windows machine. I chose the loosely coupled GIT-bash option(this option does not support explorer integration).
3. To start experimenting, you could clone an existing GIT repository (similar to making a new module in CVS). I chose to experiment using a clone of script.aculo.us from github
Here's how you would create a clone
git clone git://github.com/madrobby/scriptaculous.git
The above clone created a directory called "scriptaculous" with a local copy of script.aculo.us code. There's also this special folder .git which has GIT metadata/history for the project.
Saved modifications in the GIT repository are called "commits".
"git show" displays information about the latest commit.
Commits are uniquely identified using a SHA1 hashed value of the file's contents (In the above example - a71412...bf94a4)
"git branch" lists all branches in the project. In the below example there's just one master branch.
4. Creating a test GIT project
a. Configure GIT using the .gitconfig file
b. Create and initialize a GIT repository
c. Add files and commit
For an in-depth reference on using GIT see http://www.kernel.org/pub/software/scm/git/docs/user-manual.html
Thursday, July 31, 2008
Stock Charting/Technical Analysis Tool
Its been a long time since I've made a post, and so I decided to put up something different from a usual post. This post is about a stock charting tool that I developed during my "stock-market days" (the meaning of that might require another post ;-). 5 years back, the stock market suddenly started appearing quite attractive to me. After studying the subject for some time, I decided to explore the path of Technical Analysis. Reading books like Edwards and Magee's Technical Analysis of Stock Trends was a great motivator at that time.
Having chosen the path of technical analysis, one of the important missing factors was a tool which would help in plotting price charts and technical indicators/overlays. Yahoo! finance was a good tool, but then, I felt it would be more convenient to use a desktop chart plotter (maybe I need to thank my erstwhile slow-internet-connection for that!). There were other commercial softwares available in the market; however I didn't want to miss the thrill of developing it. So I wrote this little program that would fetch price/volume data from NSE's website and plot charts/technical indicators.
In this post I'm attaching the source code for this little program. Its written in Perl and uses the Tk module for graphics stuff and LWP for fetching data from NSE.
The program supports features like
1. Creating your own portfolio of stocks (although it just supports one portfolio currently :)
2. Sync-ing with latest price data from NSE. Although this is currently tied to NSE, it wouldn't be too difficult to map to it to another data source. (in fact my first data source was a different website; but after they stopped providing data feeds, I had to switch to NSE)
3. Price and Volume charts
4. MACD chart (MACD variables are currently fixed at 4,6,12)
5. Simple Moving Average - 5,10,20 days averaging (probably my short-term trading influenced these numbers :)
6. Exponential Moving Average - 6, 12 days
7. CandleStick charting
9. Adjustment for Stock Splits
The source code for this program is available here under the GPL license. Hopefully someone starting to build a similar tool will find this useful!
Update Sep 18: A friend of mine reported that NSE has apparently changed the data feed format. So, for those of you who'd like to get a preview of Elevetrica.pl before the formats are sync'd up, here's a sample zip file for the data that would be fetched in with the older format.
Labels:
charting,
Software,
stock markets,
technical analysis
Sunday, March 2, 2008
The Pursuit of Happ(y)ness
Just finished watching The Pursuit of Happyness
for the N-th time today (N would probably be between 10-15). After having watched the movie I just went into the wikipedia article which talks about the main character - Chistopher Gardner - the person who's real life story inspired this movie. In the movie, Will Smith plays the role of Christopher Gardner, an aspiring stock broker, who wants to make it to the top despite all of those factors which try to push him down.
Its a wonderful movie and Id' really recommend it; and if you've already watched it, the rest of this post will make more sense...
The wikipedia article briefly mentions that at the end of the movie, the "real" Chris Gardner appears in a cameo role. This is during the last scene, when Chris(the actor) just secures his dream job at Dean Witter and is walking down the street with his son. Just then, the real Christopher Gardner passes by them, just as another stranger walking through the streets. In this beautiful shot, the real Chris and the actor Chris(read as Will Smith) look at each other and acknowledge their presence and move on. Here are the actual screenshots from the movie (images reproduced here just for informational purposes! All copyrights vested with the original owners)


The stranger who walks past Will Smith and the boy is the real Christopher Gardner whose story inspired the The Pursuit of Happyness!
Its a wonderful movie and Id' really recommend it; and if you've already watched it, the rest of this post will make more sense...
The wikipedia article briefly mentions that at the end of the movie, the "real" Chris Gardner appears in a cameo role. This is during the last scene, when Chris(the actor) just secures his dream job at Dean Witter and is walking down the street with his son. Just then, the real Christopher Gardner passes by them, just as another stranger walking through the streets. In this beautiful shot, the real Chris and the actor Chris(read as Will Smith) look at each other and acknowledge their presence and move on. Here are the actual screenshots from the movie (images reproduced here just for informational purposes! All copyrights vested with the original owners)


The stranger who walks past Will Smith and the boy is the real Christopher Gardner whose story inspired the The Pursuit of Happyness!
Sunday, December 23, 2007
Review - The Dip by Seth Godin
I just completed reading Seth Godin's "The Dip"
. This short and sweet book has a unique message in it and here's a little post about this small-yet-beautiful book.
The book talks about 3 kinds of lifecycle patterns that can be found in almost everything we experience/do. These three patterns - The Dip, Cul-De-Sac and Cliff - are key to understanding and evaluating the effectiveness of what we do. Successful projects are characterized by the "Dip" pattern, whereas the rest go with the "Cul-De-Sac"/"Cliff" patterns.
So what is the "Dip"? The author defines Dip as "the long slog between starting something and mastering it". The Dip curve looks somewhat like the graph below. The initial part of the curve shoots up pretty quick; but after that comes a downtrend which lasts for a longer duration compared to the initial upward movement. Once the Dip is over, the curve resumes its uptrend.

The initial part of the curve reminds me of what Paulo Coeho refers to as as "Beginner's Luck" in his book "The Alchemist". When you start out with something thats really in alignment with what destiny wants you to be doing, there is an initial push and encouragement from the rest of the world. Its as though the universe wants you to get there - so when you start out in search of your destiny, the rest of the world (knowingly/unknowingly) tries to help you out. But then, soon you realize that the initial uptrend is over, and a stage comes where everything seems to be going against your progress. Now thats the "Dip" - the stage where the strong and persevering hold-on while the rest quit. Those who stick on, finally move onto a stage where their patience gets rewarded.
This Dip pattern actually works in favor of persevering people - because while they hang on, the rest of their competition is waning away - thereby making way for the final winner.
The other two curves - Cul-De-Sac and Cliff are essentially long-term-failure curves. In the case of Cul-De-Sac (French for 'Dead-End'), the curve is a flat line. Thats as though it has hit a dead-end and cannot move upward. People who stick around with this curve generally fail to make any progress and remain where they are. The third curve - Cliff - is a more dangerous kind. This curve looks more like the Cul-De-Sac - the only difference being that, after a certain stage, the curve falls down all of a sudden.
Both the Cul-De-Sac and Cliff are curves which don't really hold any long term prospects, and hence the author suggests that the best strategy in these cases is to quit. He dispels the popular Vince Lombardi quote - "Winners never Quit and Quitters never Win" - and goes on to explain that quitting at the right time is the key to success for people going through a Cul-De-Sac or Cliff. By quitting non-useful pursuits, the time and effort spent on these can be redirected to something better.
The book also talks about the concept underlying whats known as "Zipf's Law". The essence of this concept is that people or companies who occupy the first position are in general much ahead of those behind them. Its like the progression - 1, 1/2, 1/3, ... 1/n. The difference between the first and second is quite high compared to that between the rest of them. Hence, being in the first position has a distinctive advantage over the rest.
This book is about quitting being an averager and rising to the top, by focusing on what you do best. Its not a "How-to-get-there" kind of book - rather its one which makes you think about how important it's to pursue one's ultimate goal without being distracted by temporary failures or maybe even successes!
More information on this book may be found here
The book talks about 3 kinds of lifecycle patterns that can be found in almost everything we experience/do. These three patterns - The Dip, Cul-De-Sac and Cliff - are key to understanding and evaluating the effectiveness of what we do. Successful projects are characterized by the "Dip" pattern, whereas the rest go with the "Cul-De-Sac"/"Cliff" patterns.
So what is the "Dip"? The author defines Dip as "the long slog between starting something and mastering it". The Dip curve looks somewhat like the graph below. The initial part of the curve shoots up pretty quick; but after that comes a downtrend which lasts for a longer duration compared to the initial upward movement. Once the Dip is over, the curve resumes its uptrend.
The initial part of the curve reminds me of what Paulo Coeho refers to as as "Beginner's Luck" in his book "The Alchemist". When you start out with something thats really in alignment with what destiny wants you to be doing, there is an initial push and encouragement from the rest of the world. Its as though the universe wants you to get there - so when you start out in search of your destiny, the rest of the world (knowingly/unknowingly) tries to help you out. But then, soon you realize that the initial uptrend is over, and a stage comes where everything seems to be going against your progress. Now thats the "Dip" - the stage where the strong and persevering hold-on while the rest quit. Those who stick on, finally move onto a stage where their patience gets rewarded.
This Dip pattern actually works in favor of persevering people - because while they hang on, the rest of their competition is waning away - thereby making way for the final winner.
The other two curves - Cul-De-Sac and Cliff are essentially long-term-failure curves. In the case of Cul-De-Sac (French for 'Dead-End'), the curve is a flat line. Thats as though it has hit a dead-end and cannot move upward. People who stick around with this curve generally fail to make any progress and remain where they are. The third curve - Cliff - is a more dangerous kind. This curve looks more like the Cul-De-Sac - the only difference being that, after a certain stage, the curve falls down all of a sudden.
Both the Cul-De-Sac and Cliff are curves which don't really hold any long term prospects, and hence the author suggests that the best strategy in these cases is to quit. He dispels the popular Vince Lombardi quote - "Winners never Quit and Quitters never Win" - and goes on to explain that quitting at the right time is the key to success for people going through a Cul-De-Sac or Cliff. By quitting non-useful pursuits, the time and effort spent on these can be redirected to something better.
The book also talks about the concept underlying whats known as "Zipf's Law". The essence of this concept is that people or companies who occupy the first position are in general much ahead of those behind them. Its like the progression - 1, 1/2, 1/3, ... 1/n. The difference between the first and second is quite high compared to that between the rest of them. Hence, being in the first position has a distinctive advantage over the rest.
This book is about quitting being an averager and rising to the top, by focusing on what you do best. Its not a "How-to-get-there" kind of book - rather its one which makes you think about how important it's to pursue one's ultimate goal without being distracted by temporary failures or maybe even successes!
More information on this book may be found here
Subscribe to:
Posts (Atom)
