Saturday, March 22, 2008

Another One Bites The Dust

Couple of days back I was looking for a song to download and given how good my esnips' hack(s) have worked in the recent past, I searched for the song on ensips and found out that esnips now uses a flash player rather than the WMP plugin; and for some reasons my bookmarklet didn't work. Well, like any good netizen I searched online for some other way of downloading the audio from esnips and found this greasemonkey script (standard disclaimer: the script is obfuscated so there's no way to tell if it does more than just letting you download the song, so use it at your own discretion); which does the job. By the way, the Process Explorer way of finding the mp3 in your temporary files still works on IE, for some reasons I couldn't find any mp3s in the process monitor list when I used Fx.

Saturday, March 08, 2008

It's a beautiful day

sometimes you want to write/share a lot of stuff; you're tired of keeping it all inside your head but then you ask yourself how does it matter? The ones who care will already know somehow; as to how you feel and why and they'll understand...

Saturday, February 23, 2008

Gmail crash on Firefox

In case you've been bugged with frequent gmail crashes on fx (9 out of 10 times for me), you can safely assume it to be some extension not gelling well with the big G; or at least that was the case for me. Finding out the real culprit was a bit tricky though: I disabled AdBlock+ on gmail, uninstalled YSlow and Firebug without any luck, in the end, the less pesky HTML Validator turned out to be the problem, disabling HTML Validator for gmail has fixed it for now.

Thursday, February 21, 2008

Spammy Yummy!

Another one of those spam hatred posts; didn't check my gmail a/c for three days and now I see 165 spam messages: I have no inclination to sift through them even though there might be few false positives. At least, with my gmail I was very careful with posting it on public forums; heck I would try to use mailinator.com to register to public forums in case I really had to register but the darn Google Newsgroups didn't let me use any other a/c except Google to post to their forums (there are some disadvantages of using SSO after all); so now my gmail email is open to spammers to harvest, and I guess the monsoon was really good this year cause the harvesting seems to be going on in full swing!).
Digressing a little; I believe there are two ways your email is spammed: 1) It's somewhere on a public facing site so is harvested by bots/spammers (2) You provide your email address to a site and they sell it off to harvesters. For (1) if you indeed have to make your email address public there's not much you can do; except use throw-away email addresses like mailinator.
2) If you have your own email provider with a default catch-all email a/c then it's easy; create unique email addresses for every site that you are registering with; for instance my registration email address could be sachiniscool.ameritrade@example.com for the Ameritrade site and sachiniscool.match@example.com for Match.com site; this way at least once I start getting spammed I know who sold my email address (and perhaps create Junk filters). Unfortunately; this doesn't work for majority of people; who don't have their own email provider. I think it would be great if public email providers like Yahoo, Google & MS etc. supported some kind of "catch-all" functionality with the email addresses that they provide, something like if I prefix or suffix my actual email address with some text and a delimiter; the mail would still be forwarded to my real email address for e.g. sachin#ameritrade@live.com (here # is the delimiter and ameritrade is the suffix) should fwd mails to sachinATlive.com and then I would have to way to know in case ameritrade ever sells my email to some spammers.

Saturday, February 02, 2008

Driftwood

I've been noticing that I have become quite infrequent with my posting off-late; but once you haven't been doing anything really worthwhile for some time it's a little tough to be posting regularly without sounding redundant! Anyway, after a long hiatus (7 months to be precise); I again have a day job: it's the same run-off-the-mill stuff that I've been doing all through these years: it's not that I didn't know that this job isn't going to be any different from the older ones before I took it; it's just that I felt I gotta be doing something(!) and since even 7 months of break didn't really help me in figuring out what I wanted out of my life, the best was to get a job which would at least keep my motor running! The ironic bit about this job is first thing that they do is send me back to the states for few weeks; a place I didn't really want to return back to and the biggest irony being I have my return on 8th of March (if you've been a regular to my blog; you will know the significance of this day in my life). This is my first trip to the west coast so maybe I will spend time trying to see places nearby: I see the towering (literally & metaphorically) Space Needle from my hotel: got to go to the top; have plans to visit the Woodland Zoo & hopefully if they still have Orca Watching this time of year; try to sight few Orcas. Visited the Aquarium today which I think is passable (the boston one is any day better); but then perhaps; all these places wouldn't really appeal to me without having someone to share the experiences with!

Friday, December 21, 2007

whatnext.com

Nahh, this is not a review of some new web 2.0 company but a question that I've been asking myself for last few years. It's been more than 6 months now since I quit my day job and decided I needed some time to introspect and find out what I really want to achieve in my life; maybe; try to find out something new which helps me get my motivation and focus back. Sometimes, when you are part of a circus and have been running around in circles; it's best to get away from it all and get a view from outside. The fact is I still haven't started missing having a day job; but then I guess it's high time I find something that gives the satisfaction that has been missing for so long! It's not that I've been doing absolutely nothing for last 6 months, I now have some new found interests like plants, trees, wild-life (something, which made me visit Jim Corbett National Park) and photography (no, I still don't have a DSLR) and have learned few more things the hard-way like; losing your wallet is not fun! Unfortunately; all these interests don't give me any cash inflow and don't help me in paying my bills. The only issue is I don't want to get back to living pay-check by pay-check. In the good ole' days I didn't really care about my job and job satisfaction; I had something more beautiful and special to keep me motivated and happy. Now, since the ole' days are a thing of the past; I need to be a little more judgmental in what I do with my professional life. I know how I would love to live my life but then; only some of us get to decide how they want to live their lives; rest of us just have to be a part of those decisions.

Wednesday, October 31, 2007

Varanasi

I generally don't do any travelogues but since I haven't been up to much off-late (read, absolutely nothing) and had a chance to visit Varanasi, I felt I should scribble my thoughts on the travel and the city in general. I always had the wish to visit Varanasi as I had never been there before; it's one of the oldest continually populated cities of the world & as Mark Twain put it:

Varanasi is older than history, older than tradition, older even than legend, and looks twice as old as all of them put together.

I guess the biggest charm of Varanasi are the river Ganges , the ghats (steps to the river), the temples and the yogis (some real; some fake)! The first thing that I noticed after (while) arriving at Varanasi was the chaos of the city: the amount of traffic in the narrow lanes is simply killing! I don't know how local people have gotten used to so much of traffic; there's no dirth of locals and add to that the huge hoards of tourist who visit the city every day! I was also a bit surprised by the number of tourists from foreign country who flock this city; perhaps; Varanasi and its glimpse of (very) old indian history intrigue people from far off land. Ghats are again full of people but have some kind of calmness about them, maybe it's due to the calm Ganges that flows alongside the entire city. A morning walk along the ghats and exploring the ganges on a boat during the evening (along with the aarti on the dashashvedh ghat at 6:30) are something that I would recommend any would-be-visitor. All in all, a nice trip with some good experiences and memories of the holiest city in Hinduism. Would I recommend a visit to this city? sure, yes; you need to visit Varanasi once no matter where you are from but just keep in mind it might be a little shocking to begin with.

There are a lot more places that I need to go next in India, hopefully am gonna cover them all one by one. After my visit, I don't think I could have agreed with Mark Twain more!


By the way, the photo pile was not done using Picasa; more on that in some other post

Wednesday, October 17, 2007

School days

Many moons ago, when I was still flirting with GW Basic et al in school, we had a computer teacher; who would always come up with what we used to call "crazy" problems. I don't think most of her students had enough brain powers then; to write those programs (and I doubt, most of them; including myself; have the requisite brain powers even now)! One problem which always has bugged me is this:
Given a positive integer, find the series of lower integers which add up to it. Here's an example:
assume the given positive integer is 5, so the series of lower integers will be:
  • 1+1+1+1+1
  • 1+1+1+2
  • 1+1+3
  • 4+1
  • 2+2+1
  • 3+2
  • 1+4
IIRC, none of her students were able to solve this problem, and I don't think it was even possible in GW Basic, cause most of the series problems generally require recursion (maybe, you can implement recursion in Basic using labels and Go To). Now, that I do know quite a few languages which allow recursions and have more brain powers, I still haven't been able to solve this problem (granted; I never really spent too much time on it). Anyway, I'll take the lazy way out and see if anyone reading this is interested enough in taking this as his/her weekend project.

Wednesday, October 03, 2007

Of butterflies and flowers...


Off-late, I have started taking interest in a bit of gardening and the butterflies that frequent the nectar-flowers; maybe I have just too much of spare time at hands! The baby butterflies seem to have a liking to the purple Zinnia flower, I can almost always see 3-4 butterflies munching on it. The bigger yellow butterflies love a red flower (I don't know the name of the flower plant) that blooms daily and the marsh marigolds. The more colored ones seem to like the Crepe Jasmine, though they don't stay/sit on it for too long. I also read somewhere that butterflies like the Hibiscus family's flowers, but even though I have 3 Hibiscus family plants; I don't see any butterfly sit on its flower for too long.
Maybe, I should plant a lilac (butterfly bush) to attract more and more but then it's gonna be winters soon, so all of 'em gonna disappear anyway.

Sunday, August 05, 2007

In Search Of The Lost Chord

As I play, The Moody Blues on my Zune, I just wondered which of their songs I love the most, so in no particular order, below are my (as of now) top 10 Moody Blues' numbers (most of these songs are post Pinder era and are written by Justin Hayward: someone who's song writing talent is almost unparalleled)!

  1. Your Wildest Dreams: once beneath the stars, the universe was ours; love was all we knew, and all I knew was you...I wonder where you are, I wonder if you think about me; once upon a time, in your wildest dreams... (now you know from where is the title of this blog is inspired).
  2. I Know You're Out There Somewhere: The mist is lifting slowly and I can see the way ahead; I've left behind the empty streets that once inspired my life... (a sequel to Your Wildest Dreams, these two songs always have me thinking which one of these is their best: I am still undecided).
  3. Never Blame The Rainbow For The Rain: Keys of the Kingdom (I recently got hooked onto this song, and I just simply love it).
  4. Love Is On The Run: when your love is on the run, don't waste your time closing doors. you'll be the last to know when love has gone...(by the way, Sur la Mer means "On The Sea" in french).
  5. Never Comes The Day: Think away today, think away tomorrow; never comes the day for my love and me.
  6. Lean On Me: Lean on me; I'll be there whenever you need someone to share; in every prayer, in every dream; you've left somewhere.
  7. Bless The Wings: The more life keeps us apart, the more love will grow...if I could touch you now my darling; and love you once more...if I could hold you, hold you, hold you; I know you'd understand...
  8. For My Lady: my boat sails empty seas; battles oceans filled with tears, at last my port is in view; now that I have found you...oh' I'd give my life so lightly to my gentle lady, give it truly and completely for my lady...
  9. Candle Of Life: something you can't hide, says you're lonely; something deep inside, of you only...
  10. Question: between the silence of mountains and the crashing of the sea, there lies a land I once lived in and she is waiting there for me...

The Bridge Across Forever

Once upon a time there was a boy, 18; and like every other boy in his age-group was carefree and aimed to be on top of this world, and that's what his problem was: he was unsure what really being on top of the world meant and felt like. Then, one day he came across a book called "The Bridge Across Forever" by Richard Bach, a book which changed the way he looked at things and changed him forever. From a carefree and someone who paid absolutely no attention to relationships, he was transformed into a boy who started waiting for his own soul-mate; was it the book or the subject that the book covered, which transformed him; or did the book just aided in making him think and acknowledging certain aspects of himself which were buried deep down inside which he had ignored for so long? Soon, he started realizing that "being on the top", is all about way you feel inside; it's all about doing something which makes you feel satisfied; it's about having the feeling of oneness, and calmness from within; it's about joining and completing the missing bits of the thing called life. He learnt from the book and started believing firmly that only things in life that matter are the things that you can share with someone special, he started watching & waiting for that "someone" to come into his life, someone to grow old with; someone who made the journey more beautiful than the final destination. I remember, how he felt "cheated" when he read about Bach and Leslie's divorce, how could soul-mates decide to go their own way? Isn't being soul-mates all about learning and sharing together, and he started doubting the entire idea of soul-mates. Then he realized, soul-mates is not about living together and sharing within this time-space continuum; it's something that transcends both time and space; there is no such place as far away; no such time as too long: overcome distance and all you are left is "here"; overcome time and all you have is "now": And in the middle of Here and Now, it's just "you" and "I" that really matter. So, are soul-mates perfect, and completely compatible? No, if you are perfect there's nothing to share, there's nothing to learn from the "other" person when you are fully compatible, if you don't learn; you stagnate, if you stagnate; you stop exploring a world so beautiful both outside and within…and yes, soul-mates doesn't mean living together; it's about learning from each other; either within this time-space or something which operates outside their realm, the fact is: you may stop loving someone, but you will never stop loving the time when you loved them. Why am I writing all this? Maybe, we teach best what we need to learn the most…but then, everything in this post maybe wrong.

Thursday, August 02, 2007

Future in the stars, stars in my hands

At times, there are certain questions for which we can't find the answers by "logical" thinking; "logical" thinking only works on issues that we face with in this physical world, but then there are certain facets of life which are not bound by the time-space continuum; to find answers to those burning questions we need to explore non-newtonian "sciences" which are not bound by time and space. Astrology is one such aspect of meta-science which acts within the realms of ketheric plane, a plane which is more abstract than the emotional-mental plane. In my life, it's been quite often where it looks like some unknown force is driving my life and I am a mere spectator; for instance: relationships...and quite often, when we are not able to find by mere "logical" thinking itself the reason behind it all, we turn to more abstract ways of finding the answers. Human mind has been trained since time immemorial, to only accept answers which are arrived at by using the laws of inference, observation and exclusion. Now, the question comes, why are people scared of meta-physics (or don't believe in it at all)? Is it because, the laws of inference and observation don't behave well within this realm, or is it because we; humans have been told that we all have free will: will to change anything and everything about who we are and where we're headed? Free will is one aspect which arguably doesn't gel that well will all the "predictive" sciences. I strongly believe that though all the meta-physics are great for finding the "challenges" a person might face in this lifetime, they are often not the right way (actually, there is no other way, either) of predicting the future. Why is that so? Remember, meta-sciences operate on the ketheric plane, but the manifestation of those events happen on the physical plane and quite a few things are lost in the translation (free will, anyone?). Does it mean, we can change everything about us, defy everything written in the stars? No, free will only can change the way you allow yourself to percieve those events and their manifestation, life is all about perspective: what a caterpillar calls the end of the world, the master calls a butterfly!

Coming back to the law of relationships as per the stars, the things to look in a natal chart for relationship promise is to look at position and strength (using Ptolemy's dignity) of venus, moon and their aspects with any outer planets.


I have a libran (ruled by venus) ascendant and venus becomes the chart ruler (i.e. venus becomes quite prominent in defining who I am and hence, all things venusians become quite significant to me). Venus is only dignified by face in Aquarius and is conjunct by Sun (Sun: I, the very being, the ego) Since, Sun and venus are conjunct; they are fused together and act as one and now again, who I am is greatly defined by venus (Sun in aquarius being debilitated, I'd say Venus "wins" between the two planets). Also, since Venus is in the fourth house, it means these are aspects of my life which are not very apparent to others, they are buried deep down inside and very few will have a glimpse of this side of me. Now comes the moon; moon is all thing feminine, our emotions, our ability to feel safe in a relationship, our feeling of nurturing and being nurtured. I have moon in scorpio (in fall), in the first house. Having a first house scorpio moon means emotions play a good part in my life: also scorpio moon has this uncanny knack of reliving the painful past, till it conquers all the demons. My moon in scorpio "squares" venus in aquarius: a quite "challenging" aspect, which means these two energies act at cross-purposes to each other, which kind of explains why sometimes, I had this feeling of being "unsafe" in the relationship. Coming to outer planets (uranus to pluto); anytime there is an aspect between the outer planets and the moon or venus, you can expect some drama; how the drama is going to unfolds depends on the kind of aspect: easy (trine, sextile) or challenging (square, opposition, conjunction or inconjunct). I have uranus (planet of surprises and unexpected events) conjunct my moon and squaring my venus. Uranus is a sudden flash of lightning, which seems to strike almost unexpectedly and lead you to completely unchartered waters. Uranus, moon conjunction means there will be quite few sudden interruptions in one's ability to feel safe and so will be one's emotional ups and downs; and uranus-venus square means again sudden and unexpected interruptions in a relationship (you bet!). I have a sextile between neptune and venus, making one very dreamy and imaginative in a relationship: someone who is a true romantic at heart (sextiles are dormant aspects, they need to be activated). I also have a trine between pluto and venus, which means relationships will play a big part in ones "transformation" (since it's a trine: I guess the transformation has to be for the good) and also suggests certain power issues in a relationship. Since, we are it; I also have Chiron (the wounded healer) in my seventh house (house of serious one-one relationships); anywhere you find Chiron in the chart, you can be pretty sure that's one aspect of your life where you will face most of your "lessons", so no doubt, everything that I've learnt in my life has always involved a partner.

Sunday, July 29, 2007

Last Sequel: Mutually Exclusive Radiobuttons in INamingContainer

If you are still bitten by the non-mutually exclusive radiobutton bug; and don't want to go the long way of creating your own custom radiobutton class, here is a quick and dirty way of achieving the same result by some simple javascript. The idea is to walk up the DOM chain on click of the radiobutton and uncheck the other radio buttons. The javascript works great for DataGrid, DataList and GridView controls, controls which spit out the final html as a table; and as with any javascript code, will only work if javascript is enabled; here's a working example and below is the page's source:

Thursday, July 26, 2007

Joke of the day

Once, there was a competition between the police departments of all countries to find out which country's department is the most efficient, the deal was that each police dept goes to the forest and tries to catch a lion, whoever catches the lion in shortest period of time; is the most efficient department of all. First, it's russian police's turn; 2 officers go into the forest and return after 5 mins with a lion tied; everyone is impressed by their efficiency...many other police departments try their luck but none is able to beat the 5 minutes record set by the Russians. Finally, it's the turn of LAPD; LAPD's officers go into the forest in search of the lion; tournament officials wait for their return; first minutes,than hours pass by, but the LAPD officers don't return. The tournament officials start getting worried and they go into the forest in search of the officers, hoping for the best but expecting the worst. Finally, they arrive at the scene where LAPD officers were beating a now half-dead bear; and shouting: "accept, you are lion!".
What's a joke, without any moral? Moral of the joke: You can't fit a square where a circle should be (not unless you are a policeman)! Guess, I would have learnt from this moral, but this has been my problem off-late, I am trying to push myself to start taking interest in things, which I know are not that important to me; trying to convince myself that this is the right thing to do, when I myself know that I am no policeman!

Sunday, July 22, 2007

We never stop working for you

I recently got my Verizon phone a/c disconnected, the customer support rep asked me if I wanted the a/c to be X'fred to somebody else instead of canceling it? And I told her smilingly, was that this number has been really "unlucky", so I don't think anybody would be interested. I remember when I came to the states couple of years back, I blindly chose Verizon as my service provider; not because of their exemplary service but because the in-network calls are free! Now that I think about it, I find it kind of funny how at times: our mind has its own reasoning and rationale behind everything that we do; we don't put any conscious effort in reasoning such things out, they just operate within the realms of our subconscious mind...perhaps, our subconscious mind knows a lot more about what we really yearn for inside.

Wednesday, July 18, 2007

Download Audio from esnips Bookmarklet

In case you are not interested in running a Process Monitor Tool and copying the media file from the temporary internet cache, I wrote a quick and dirty bookmarklet to download the media from within the browser itself. Installation of the bookmarklet is quite easy, make sure that the Bookmarks Toolbar is visible, drag the (below) link to the bookmark toolbar or right click on the link and select "Bookmark This Link" and select "Bookmark Toolbar" in the "Create In" dropdown. Once installed, once you are on a particular media file page on esnips; which you would like to download, just click on the bookmark link.

Fine Print: The bookmarklet is only meant for esnips.com and has only been tested on Firefox, I will try to test it out on IE7; once I log on to Vista sometime tomorrow morning.

The Bookmarklet:
(esnips)Download Media

Edit 7/19:
Tested it out on Vista using both Fx and IE7 and realized that due to the plugin, the media will start playing within the browser itself after using the bookmarklet. You can then either, use "Save Page As" from the file menu or use the below bookmarklet. This bookmarklet will add a "Download Media" link to the page just below the "Tags"; right click on this link and select "Save Target As..." on IE7 or "Save Link As" on Fx.



Doing a "Save Target As.."


The In-Place Bookmarklet:
(esnips)Add Download Link

Tuesday, July 17, 2007

Junk Muzica

You know you have lotsa junk songs on your portable music player, when you delete few of them by mistake and don't remember which ones you deleted. This is what happened to me today, I wanted to delete a playlist which had around 10 songs from my Zune, so I clicked on the playlist in the Zune Player and hit the delete button; the player was "smart" enough to figure out that if you want to delete a playlist, you would also want to delete the songs that are in the playlist and without any confirmation or message of any sorts, it went ahead and even removed the songs from the Zune and also removed the playlist from both my system and the Zune. I still have those songs on my system, but I don't think; I'll be able to figure out which songs were those unless one day I feel like listening to a particular only find it gone missing. I really hate it when software try to outsmart the user, a good software in my mind, is a software which doesn't try to "out-think" the end-user and perform (unwanted) actions on his behalf!

Morning Another Morning

It's been around a month since I left the states forever and came back, and I still haven't figured out what I need to do with my life. Sometimes, I feel I should just let it be, and let life take me where it will. I think the more important question for me is; what is that I want from my life now? What will make me feel happy and satisfied? I guess we all go through this phase in our life, where the same doubts complicate our minds; where we feel kind of run down and burned out...a phase when time flies but life stands still! Maybe, as of now there's nothing that I really love doing (lack of motivation plays a big part in that), and I'll end up bitching irrespective but then, life is not about what should be, or what could be. Sometimes, I wish I could fast forward my life by 10-20 years just to see where I'm headed. At least, one thing I am very sure about, I am gonna get there...where? Who knows, who cares, anyway?

Wednesday, July 11, 2007

Download audio from esnips

Without getting into the moral question about why would you want to download audio from esnips, here's how I've been doing, it's kind of crude but it works.

Tools required:

  • Windows Vista (or any other windows OS).
  • Firefox (or any other browser).
  • Windows Media Player 11 Plugin for Firefox (I guess any browser+plugin combination will work).
  • SysInternal's Microsoft's Process Monitor (or FileMon, if you are using Win XP).

    Steps:

  • Search for the audio on esnips, and click the preferred search result, the song should automatically start playing within the browser.


  • Once the song is being played in the browser via the plugin, start ProcessMonitor (or FileMon).
  • Set the filter in ProcMon to include the browser in the filtered list.


  • Voila! the path to the cached mp3 is there in list, browse to the temporary folder and copy the mp3 to a desired location on your system.

Friday, June 29, 2007

A Question of Balance

Quite a few people; including the ones who care, to the ones who really don't or shouldn't; have asked me what next i.e. what I'm gonna do from now on (this is one question that I've asked myself so often over the last years that I even thought of buying whatnext.com)? I still haven't figured out yet, and I don't want to jump into something in haste which doesn't interest me. All these years, relationship and sustaining the relationship was something which I was (the past tense is not by choice) passionate about, every decision of my life was filtered through my relationship and every thing which didn't matter to the relationship (including my day job) didn't matter to me; I was doing them just because I had to. Now that I have this window period, I want to make sure that I get involved in something which I can feel passionate about, something where I am not just doing it but also enjoying it....hopefully, I will figure out something soon enough.