Latest Blog Things
Text Transformer
February 11, 2018
Text Transformer is a general-purpose text transformation utility. Basically it allows
you to quickly apply a series of regular rexpression "replace" functions on an input text.
It's something I've always wanted for tedious tasks like refactoring code,
getting datasets into the right format, etc.
It comes with a few example "preset" functions, and I'm hoping to add some more.
Enjoy!
Text Transformer
Ulam Spiral
July 4, 2016
Check out this visualization I made of the Ulam Spiral.
The Ulam Spiral is a structure for visualizing prime number distributions — basically you just write all the whole
numbers in a spiral, and if you circle or highlight the prime numbers, you'll see some interesting patterns.
I definitely enjoyed this challenge, and learned a bit about prime numbers!
Go Rulesheet
May 29, 2016
I recently became interested in the game Go—mostly because of attention to
and the success of Google's Alpha Go—but when learning to play the game,
I had a hard time finding a concise rule sheet or guide, so I put one together based on
the American Go Association's rules and other sources.
The goal was to make it printer-friendly, so the below file is two pages, which you can print
front-back on a single sheet of paper and then throw in with your game board!
Go rulesheet (pdf)
Google Custom Search Arrows
May 17, 2015
I wrote a JavaScript module that adds "next" and "previous" navigation arrows to Google Custom Search Engine search results.
View on Github
Root Beer Float: Notepad++ Theme
March 9, 2014
So I decided to make a theme for the Notepad++ text editor.
Notepad++ has been my favorite editor for a long time, and so far I've always used the default color scheme. But last week
I decided to take a stab at creating a new theme, and here it is!
Download Root Beer Float theme on Github
Sudoku Solver in XSLT 1.0
February 25, 2012
I actually did this project in November 2010. I wanted to see if it was possible
to write a sudoku-solving “program” in XSLT 1.0. Apparently it is!
I'm nowhere near an expert with XSLT, so I'm sure there are better ways to do this.
Performance is pretty decent though, if you have an XSLT-capable browser (you probably do),
then you should find the examples will be solved in about 1 second.
Here you can see it solving some example puzzles I found on
WebSudoku.com.
Example Puzzle 1
Example Puzzle 2
Example Puzzle 3
View source code for Sudoko Solver XSLT
Random Chess
February 5, 2012
I started on a Javascript project this past winter break called Random Chess,
and now it's ready for release.
Check it out!