Chelsea finally managing to break the jinx of Champions League Semifinal.
Beating Bayern Munich 1-1 (4-3 on penalties). Didier Drogba scored the last penalty to take Chelsea through.
A cousin gifted me a harmonica, and my mama/uncle played an old song hai apna dil toh awara. And I was caught – how could’ve I missed playing this song on a guitar, besides trying to play it on harmonica / mouth organ.
This sweet song just rolls in the key of G, with simple 3 major chords in it, Gmaj, Dmaj and Cmaj
G D Hai apanaa dil, to aawaaraa, C G Naa jaane kis pe aayegaa. G D Hai apanaa dil, to aawaaraa, C G Naa jaane kis pe aayegaa. Verse 1: G Haseenon ne bulayaa, gale se bhee lagaya, D C G Bahut samajhaya, yahi naa samajhaa, G Haseenon ne bulayaa, gale se bhee lagaya, D C G Bahut samajhaya, yahi naa samajhaa, G D Bahut bholaa hain bechaaraa, C G Na jaane kis pe aayegaa. G D Hai apanaa dil, to aawaaraa, C G Naa jaane kis pe aayegaa. Verse 2: G Ajab hay deewana, na dwar na thikana, D C G Zameen se begana, falak se judaa. G Ajab hay deewana, na dwar na thikana, D C G Zameen se begana, falak se judaa. G D Ye ek toota hua tara, C G Na jaane kis pe aayegaa. G D Hai apanaa dil, to aawaaraa, C G Naa jaane kis pe aayegaa. Verse 3: G Zamana dekhaa sara, hain sab kaa sahara, D C G Ye dil hi humara, hua na kise ka, G Zamana dekhaa sara, hain sab kaa sahara, D C G Ye dil hi humara, hua na kise ka, G D Safar mein hain ye banjara, C G Naa jaane kis pe aayegaa. G D Hai apanaa dil, to aawaaraa, C G Naa jaane kis pe aayegaa. Verse 4: G Hua jo kabhi raazi, to mila naheen kaazi, D C G Janhaa pe lagi baazi, waheen pe hara, G Hua jo kabhi raazi, to mila naheen kaazi, D C G Janhaa pe lagi baazi, waheen pe hara, G D Zaamane bhar ka naakara, C G Naa jaane kis pe aayegaa. G D Hai apanaa dil, to aawaaraa, C G Naa jaane kis pe aayegaa.
The pattern is Down, Up, Down, Down, Down. In the verse and in the chords, the last chord – G is just struck once (down) to end the pattern of G D C G.
Adnetworks like Chitika who rely a lot on search engines and search queries to target their ads will have to rethink on their strategies.
With the merge of the current Aurora branch of Firefox into release, all search traffic to Google would go via SSL. Which means adnetworks doing search targeting could lose about 20% of their search traffic, as Google might stop sending search referrer URLs.
Enabling HTTPS for these searches shields our users from network infrastructure that may be gathering data about the users or modifying/censoring their search results. Additionally, using HTTPS helps providers like Google remove information from the referrer string. While Google users may expect Google to know what they are searching for, Firefox users may not be aware these search terms are often transmitted to sites they visit when they click on items in the search results; enabling HTTPS search helps sites like Google strip this infortmation from the HTTP referrer string, putting the user better in control of when and to whom their interests are shared.
MTNL Triband (the govt. body) has finally taken a que from online advertising opportunities, and seem to have enabled Google AdSense.
The page incorporates Sponsored links block by Google, followed by organic listing. It doesn’t leave any real-estate to waste, stacking in as many direct ads possible.
Guhagar and Velneshwar was “pending” since our last Malvan-Goa Bike ride. Many events had passed by which halted our progress towards it. But finally on 27th Apr 2012 was engraved for the start of the tour.
I messaged Manas @4.30 just to check if he is awake, and he called back, “जलदी निकल सकते हैं क्या ?” And we pre-poned our start-time to 0500 hrs instead of 0530. Ride to Guhagar was kind of disappointing with Kashedi Ghat “closed” for construction. 3 days of maintenance work. It had to align with our riding date !!? We took a big de-tour through unknown roads and relatively bad roads if compared to the winding corners of Kashedi ghat
After being back on NH17, we were quick to reach Velneshwar via Chiplun-naka – Modka Agar – Velneshwar by about 1215. The road from Modka Agar to Velneshwar was horrible to say the least, 18km of ride out of which 15km was under construction with pebbles, gravel, tar – but no road and the rest with pot-hole laden hell.
Velneshwar beach, however was a paradise, similar to Ganpatipule’s decent from the top of the hill, for Velneshwar, we start climbing another of “n” hills after Palshet village, and then come down to Velneshwar. It has just about 2kms of beach, but it was breezy and reminded us straight of Agonda beach in Goa.
The next day we spent our time roaming north of Velneshwar, Gopalgadh, Dabhol power project, Guhagar beach. Due to our lazy-planning we had to cover the 18km worth of hell-road times! we could’ve checked out of Velneshwer the 2nd morning, and then stayed somewhere in Guhagar.
On our return trip, we didn’t want “no-Kashedi” experience, but also wanted turning, climbing, descending roads. Manas suggested we take a huge de-tour to Mumbai via Satara! Which would then cover the awesome Kumbharli ghat.
Our final bike route looking something like this –
Welneshwar Guhaghar Bike Ride Apr 2012 |
We both were not of the religious type, but we did visit the Velneshwar temple in the night where there wasn’t a single soul, tranquil hear the crickets, the westerly cool breeze coming from the sea and us
Node.js is also used as an extremely efficient Webserver, so why not leverage the efficiency for a typical adserving web-beacon logging.
The node service has to do the following
Select through a list of available connection providers available for node.js through npm
Here you have 2 options, either read a file and output the buffer like below
... var img = fs.readFileSync('./log.gif'); res.writeHead(200, {'Content-Type': 'image/gif' }); res.end(img, 'binary'); ...
or you can read the content of the small file into a buffer, convert to a hexadecimal string, and save hexadecimal string as a javascript variable, and then at runtime convert the hex to a buffer and flush out the buffer as image/[type].
This shall greatly help remove all the file IO while serving the images.
to read the image as a buffer,
fs = require('fs'); imgBuffer = fs.readFileSync('1x1.gif'); // Convert the buffer to hex imgHex = imgBuffer.toString('hex');
Following sample code can then be added to the beacon script
//The hex string can now be directly added to the beacon script, simply as .. var imgHex = '47494638396101000100800000dbdfef00000021f90401000000002c00000000010001000002024401003b'; // Then at runtime convert the hex back to a buffer imgBuffer = new Buffer(imgHex, 'hex'); // This buffer can directly sent on the HTTP response stream response.end(imgBuffer, 'binary');
The following gist is a complete integration for serving with the HTTP Server
You have a perfect git branch model, neatly dividing code between the release and the development or trunk branch. Now suddenly you realise that you need to use the file from the other branch. But you can’t merge the branch for that sake !! WTF !
git checkout !! help !
$ git checkout <other-branch-name>/<commit-hash> -- path/to/the/file
You can now checkout the branch’s HEAD or that hash’s state of the file into your current working directory. You can now play with your file, add, commit. Done !
After a long wait post Lavasa Bike Ride, another was due. I remembered my old trek of Tringalwadi where we had a soulfull swim in the Tringalwadi dam. The date was set, 25 Feb 2012.
We had a cold water swim on a super-hot sunny day in the Tringalwadi dam. On our return back, had our lunch around 1.15pm @ the Greenland restaurant near Igatpuri on NH3. The timing was more to protect ourselves from the heat.
Next stop was the Bhatsa Reservoir, however being a “protected” dam, we couldn’t really enjoy its waters 🙁
Tringalwadi Dam Bike Ride |
As I updated my website, migrating from Drupal to WordPress, a welcome news followed in the evening when Swansea beating Manchester City 1-0. The female assistant to the referee, Sian Massey, gladly judging Micah Richards for an offside. United had a rough time taking over WBA, but ensuring a relatively comfortable 2-0.