300 spartan apples


November 28th

myspace music player code

I've been writing a lot of useless code lately! This one is for all you fans out there, and also for people who want to add a Flash / xpsf Mp3 player for their profile page. To add the player, simply select your favourite artist, and copy the HTML code. The player will _automagically_ start playing _full_ songs by your artist! This is how it will look like:


Ok, so here you go!

Select an artist:

Copy this code into your myspace profile:

How this works: Your favourite artist is first searched for on Seeqpod. Then, the Yahoo/Webjay XSPF player is used to play the searched flahs m3p songs. The beauty is that you (or I) don't have to host or worry about any file uploads, etc, so it's all painless!

November 19th

forced humor

So it turns out that my friend(for the sake of anonymity, let’s call him friend) has his status message set to “rm -fr leisure”, implying he is very busy. Here’s my latest chat with him:

arnab: fyi
friend: ?
arnab: it’s actually “rm -rf”
arnab: and not -fr
arnab: r = recursive , f = force
friend: really?
arnab: this way the force is recursive
friend: i thought that order of options is well.. optional
arnab: so filles are deleted much more forcefully
arnab: :D
friend: dude, u are having me on
arnab: sorry, couldnt resist


November 14th

kiss and tell

An excerpt from an interview with the KISS guy:

Every little college kid, every freshly-scrubbed little kid’s face should have been sued off the face of the earth. They should have taken their houses and cars and nipped it right there in the beginning. Those kids are putting 100,000 to a million people out of work. How can you pick on them? They’ve got freckles. That’s a crook. He may as well be wearing a bandit’s mask.

Doesn’t affect me. But imagine being a new band with dreams of getting on stage and putting out your own record. Forget it.

But some artist like Radiohead and Trent Reznor are trying to find a new business model.
That doesn’t count. You can’t pick on one person as an exception. And that’s not a business model that works. I open a store and say “Come on in and pay whatever you want.” Are you on f*cking crack? Do you really believe that’s a business model that works?

So what if music just becomes free and artists make their living off of touring and merchandise?
Well therein lies the most stupid mistake anybody can make. The most important part is the music. Without that, why would you care? Even the idea that you’re considering giving the music away for free makes it easier to give it away for free. The only reason why gold is expensive is because we all agree that it is. There’s no real use for it, except we all agree and abide by the idea that gold costs a certain amount per ounce. As soon as you give people the choice to deviate from it, you have chaos and anarchy. And that’s what going on.


November 9th

24 in 1994

Jack Bauer and gang at their intense best in the world of pagers, dot matrix printers and AOL:


November 6th

mario theme on tesla coils

This is almost straight out of an xkcd comic!


October 31st


A carved pumpkin I saw in my neighborhood:

Get it? Pumpkin PIE!



Slow day. Here’s some soothing but weird music to counter the blankness:


October 26th

stephen colbert owns Facebook!

Stephen T Colbert, the host of the Colbert Report and the guy who’s making Man of the Year a true story just rocked Facebook. The social network has this feature where you create a group, and ask other people to join it. The group can be about an agenda, a common peeve, of even a friend’s mother.

Growth is usually viral, people usually learn about a group by reading about it in their newsfeed. The last 10 days have seen one of the fastest growing groups in Facebook history, attracting some press coverage. The 1 million strong for Colbert group is the craziest internet phenomenon I’ve seen in a while.

As the group neared its 1 million mark, I thought it would be a good idea to monitor the growth of the group over the next few hours. With some scripting jiggery-pokery, I was able to record the size of the group every 30 seconds, from 6:30pm yesterday, to 8:30am today morning, which is when I woke up and killed the script.

So here it is, the data, visualized. Presenting to you, the growth of “1,000,000 strong for Colbert”:

Notice how the growth unsurprisingly curves off as people go to bed at 1am EST (or 11am PST), and begins growing again at 6am.

To provide a complete picture, I also threw in the overall growth data over the days:


October 25th

deep thoughts

From a Wise man’s weblog

Evil, am I ?

How do you recognize that point when you have stopped being a caring person and have become an insensitive prick?

When do people start perceiving you as something you are not? And why?

What is right and what is wrong? And do I get to decide it?

In the most recessed part of your soul, there’s an asshole residing. Waiting to take over your life at the slightest of slip-ups.

Even if you do realize this, can you do something about it?

When do you start becoming arrogant? Are you?

Where has that innocence gone? Where?

Why have we started caring so much? Like our life depended on it.

Do I hate you? Nah.

Do you hate me? I am sure you have every reason to.

I thought I was good. Now, I am not so sure.

No, I am not looking for pity. No, I am not regretful of who I am. It’s about self-discovery. To look at your dark side and not be fettered. No, I am not going to change anything. I can’t. Nobody can change oneself. No, you can’t. Don’t even try.

Am I evil? I think so.