Earlier this month I decided to write my first activity for the OLPC XO laptop since I believe the best way to learn is by doing. Since I have a background in computer games I choose to make a simple game. I decided to write the ever-popular-with-kids game Tic Tac Toe. My […]
Author Archives: david_kw
A cross browser changeCSS function to alter, add, or delete CSS rules
January 26, 2008 – 10:00 am
Last year I needed a function to change CSS rules for one of my projects, so I put together a function called changeCSS() which allowed me to change, add or delete a CSS rule. I looked at various resources and the work was heavily influenced by code from David Flanagan and Shawn Olson. […]
Happy Holidays
December 21, 2007 – 10:20 am
Well I’m off for a vacation for the next few weeks. I have my OLPC and some time so I’m looking forward to messing around with it. Although it is difficult to touch type, so far I love this little thing. It feels so very compact and durable. Unlike my Dell, […]
I Purchased Two OLPC XOs Today
November 12, 2007 – 11:34 am
Well I went ahead and bought two OLPC XO laptop computers today using the OLPC Give One, Get One program. I’ve been following the program since it was first announce when it seemed like a pipe dream. Yes, the price has almost doubled from the goal of $100 but it’s amazing what a […]
Another Curry Function for more Closure Options
October 28, 2007 – 4:21 pm
There are a lot of curry functions examples out there so I decided I’d share mine as well. The code was inspired by a blog posting from Dustin Diaz who was in turn inspired by one from Dan Webb. Those posts can probably do an overall better job of explaining currying […]
Yet another jQuery convert
September 5, 2007 – 9:45 pm
As I’ve mentioned in previous posts, I have been going through a process of reviewing various JavaScript libraries and frameworks. So yesterday I started looking at jQuery. And I have to admit what I saw was impressive. Not that it does anything that other libraries can’t do. But rather that the […]
Chat with Chatkik
August 30, 2007 – 1:38 am
I’ve been working recently with chatkik.com to develop an Ajax chat system. Although there is still a lot of work to do, I received permission to put the current dev version up on my blog for some pre-alpha testing. I know chat isn’t much fun without more than one person in the channel, […]
Python grep Script with Multiple Files
July 29, 2007 – 10:54 am
The other day I was looking for a command-line grep I could use in Windows. There were several options so I picked a python script that I found on Wikipedia (I chose a script since I have a health paranoia about spyware and such).
Overall, the script had enough functionality for my purposes […]
Debugging Ajax PHP with Logging and Firebug
June 3, 2007 – 8:15 am
I was recently trying to debug some Ajax PHP code. I was logging but it was cumbersome trying to look at both the php log file and Javascript logging in Firebug so I started going some searching. I found post from Mika Tuupola about Debugging PHP With Firebug, so I took his advice […]
Enumerating Local Variables in JavaScript
May 7, 2007 – 10:00 am
One day I was trying to do some debugging in browsers other than FireFox (FireBug rocks and is highly recommended). I decided it would be useful if I could enumerate local variables such that I could quickly find and display their values in an alert box. Unfortunately, there didn’t appear to be any […]


