codeslower.com Savor Your Code.

A Haskell Surprise!

My friend Joshua Siler, founder of HiringThing, recently wrote up an article about their homepage's "Buttons with a Surprise." It looked too cool, so I asked him to make a version for me. You can see the results on the homepage for my Haskell Cheatsheet. Move your mouse near some of the PDF links and watch the Haskell logo appear like magic!

Of course, I couldn't ...

Using the draggable property in ExtJS

ExtJS, from Sencha, Inc., is an open-source JavaScript framework for creating client-side MVC-structured applications with rich and interactive user interfaces. Recently I prototyped a UI which included docked panels that the user could re-arrange by dragging. I struggled quite a bit to figure out how ExtJS "wanted" me to implement this feature and I hope that, by sharing what I learned, it will be easier for anyone else ...

ICFP 2009 Programming Contest - WIP

From the department of possibly bad ideas, I'm posting my continuing work on this year's ICFP programming challenge. Feel free to follow along on my contest diary. You can even get the source, but I don't make any promises about it working. If you want to jump in feel free to drop me a line!

Update: Syntax Coloring in Intellipad

I previously posted a sample showing how to create a plugin for Intellipad (shipped with the Microsoft "Oslo" SDK) which would support syntax coloring and error highlighting for files written in your own Mg-defined language. That sample worked with the previous release of the SDK. Now that the January 2009 release has come out, the sample needs a few minor updates.

The code for the updated sample is ...

My Oslo Christmas List

Oslo arrived just in time for Halloween, and it brought many more treats than tricks. Now that I've had some time to play with M, Mg, Intellipad, and the rest, I've got a list I'd like to see Santa bring. I've spent the most time with Mg (also known as "MGrammar"), so I'll focus on it.

For those who aren't familiar, a ...