Well usually I sleep, play the boyfriend role, and/or drink.
I've just been getting over a cold and I have Buckleys to thank for that. I also have to thank that drug for keeping me awake tonight. No way I'm going to get any sleep with my heart racing.
At least I'm feeling better
Now to business. My friend made an interesting blog post in wihe. The Colorado Avalanche (NHL) stadium is hosting a poll on what song to play for each home victory. Being a Canuck fan, I want have a say in that. (Well my friend does too but I'm the one who made the difference.) Apparantly whenever you refresh THIS page, the vote still gets counted. This leads to an endless supply of votes.
I first started off with the manual way. I calculated that it took around 120 clicks to increment the % for the song (it started as 7% and there was a total of around 25000 votes).
Then I ask some friends in europe (since it's morning for them) to lend me a hand. We got to 17%. I realised I would have to go to drastic measures.
I made a small flash program that runs this script 6 times in a second:
I ran this for 40 minutes (I was trying to sleep but couldn't so I got up and checked the progress). The total number of votes is now 52886 and the song went from 17% to 40%. WOOT!
So that's what I accomplished tonight; messing with other people's stuff
PS - Colorado just got OWNED by the Vancouver Canucks!!!
I've just been getting over a cold and I have Buckleys to thank for that. I also have to thank that drug for keeping me awake tonight. No way I'm going to get any sleep with my heart racing.
At least I'm feeling better

Now to business. My friend made an interesting blog post in wihe. The Colorado Avalanche (NHL) stadium is hosting a poll on what song to play for each home victory. Being a Canuck fan, I want have a say in that. (Well my friend does too but I'm the one who made the difference.) Apparantly whenever you refresh THIS page, the vote still gets counted. This leads to an endless supply of votes.
I first started off with the manual way. I calculated that it took around 120 clicks to increment the % for the song (it started as 7% and there was a total of around 25000 votes).
Then I ask some friends in europe (since it's morning for them) to lend me a hand. We got to 17%. I realised I would have to go to drastic measures.
I made a small flash program that runs this script 6 times in a second:
Code:
getURL("http://www.coloradoavalanche.com/fanconnect/SongResults.asp?AID=853&QID=213", _parent); gotoAndPlay(1);
So that's what I accomplished tonight; messing with other people's stuff

PS - Colorado just got OWNED by the Vancouver Canucks!!!
Comment