Monday, December 17, 2007
Javascript, Settlers of Cataan and Randomness
In order to track what the rolls were, I wrote a dice roller. Its very simple javascript code and users javascript's built in random function to roll "dice". The nice thing is that it keeps track of dice rolls and can plot the aggregate distribution of rolls as well as rolls over time. Check it out here (or even better, use it in your next settlers game!!)
http://keeda.stanford.edu/~radoshi/dice/
This was my first javascript program ever and I have to admit that I was pretty impressed with how easy it was to write something like this in a language that I had never touched. I was even more impressed with MochiKit and PlotKit - the two libraries that allow me to generate the spiffy charts. Another advantage of writing client side javascript: Visit the page once and you have the "application" in your cache - no more server communication required for endless hours of settlers play.
Tuesday, November 27, 2007
Sunday, November 18, 2007
Airport Express
Now I really cannot wait for Andy to get the Apple TV.
Friday, October 19, 2007
Waiting for the snow...
There is a point in time, every year, that I stumble upon youtube snowboarding videos - and at that point, I just *cannot* wait for snow.
Wednesday, October 17, 2007
Thursday, September 13, 2007
The Big Move
I'm done with Seattle. For the moment, at least. Now in ... Sunnyvale. Woot. Kinda. But lots of wooting for finally making it back to the Bay Area. Will start working again, after my 3 week hiatus. 3 weeks is definitely not enough vacation.
Tuesday, September 4, 2007
Mountain goat surprise
We saw a bunch of mountain goats on a short hike to Hidden Lake. The goats were interesting - not scared of people at all. All they did was stand and pose for all the tourists clicking away. We walked back to the parking lot at the end of the day to find a whole herd of bighorn sheep hanging out by the cars. People were literally driving upto the sheep and taking pictures in their face. Apparently the sheep didn't care.
Montana
Got back from a trip to Glacier National Park in Montana. This is the quintessential picture that will always remind me of the trip and the Park. So much of the Park is similar to this - large, nay, huge mountains alongside pretty lakes. Definitely a place worth visiting.
Welcome
Welcome to ::rushabh:: redux. Thanks for following the link from wherever; if you are adding things to your blogreader, please add this and retire the redefine blog.
Why?
I'm tired of Movable Type. Its comment system is something that I have to fight in order to get it functional without spam and I refuse to fight all my battles; I'd rather have someone else fight them for me. In this case blogger. Yay!
Sure - I lose offline writing, but I'm sure there are alternatives for blogger. If not, I can write one over the weekend. Not worried.
Having a blog that works, without headaches or spam? Priceless.
(Not really, but at free, I can't complain!)