Image Processing with Convolution Functions

We’ve been working with convolution functions in my AI class and I’ve written a nifty little program in PHP to run convolutions of arbitrary 3×3 kernels on gifs, pngs, and jpegs. You can try it out here. Be warned that the page has no stylesheet. I got immersed in the JQuery/AJAX/PHP coding and forgot to make the page look nice. In the end I decided that it had a cool retro feel to it and kept it. Continue reading

Posted in Algorithms, JavaScript, PHP | Leave a comment

Contributing to WordPress

I’ve been making some contributions to WordPress.org for my Open Source Software course. I’ve been helping out with the upcoming release of version 3.3 scheduled for the end of November. I’ll use this post to talk about some of the tickets I’ve been working on. Continue reading

Posted in JavaScript, Open Source, WordPress | Leave a comment

More adversarial search, Tic-Tac-Toe and Othello

For my midterm project in the Artificial Intelligence course I applied the adversarial search program in Lisp that I started here to Tic-Tac-Toe and Othello. Continue reading

Posted in Algorithms, Lisp | Leave a comment

Hard boiled eggs and the magic of shell scripts

The fridge in the Science building at Marlboro College occasionally contains hard boiled eggs which can be obtained for 50ยข a piece. I say “occasionally” but sadly it would be more accurate to say “when Allison remembers to bring them”. It occurred to me one day as I emailed her to remind her that I was doing something rather inefficient. I remembered that I now live in a dorm with a nice kitchen. I could purchase my own eggs for about $2 a dozen (a 66% savings) and boil them myself. I finally got to town to buy eggs and today I have boiled a dozen eggs. Just as the water was about to boil I realized I did not have an egg timer, so I made one. Continue reading

Posted in Shell Scripts | Leave a comment

Alias fun and key bindings in zsh

I use my terminal for everything. I use a program called Visor that keeps me a keystroke away from my terminal at all times. It is for this reason that I spend a considerable portion of my time customizing my shell. I use zsh because it has some great features like considerably more helpful and customizable tab completion, and my personal favorite autocd. Continue reading

Posted in Shell Scripts, ZSH | Leave a comment