Category Archives: Programming

Easy JavaScript Colour Gradients

RainbowVis-JS is JavaScript library I wrote for colour data visualization. Easily map numbers to a smooth-transitioning colour legend. Mappings Default 0 -> #ff0000 10 -> #ff4d00 20 -> #ff9900 30 -> #ffe500 40 -> #ccff00 50 -> #80ff00 60 -> … Continue reading

Posted in Development, Programming | Tagged , , | Leave a comment

Make Perl regex script faster using grep

Perl’s implementation of regular expressions performs much worse than grep’s implementation of regular expressions (i.e., Thompson NFA). Time to match a?nan against an I needed to write a Perl script to process numerous large log files, and Perl’s regex matching … Continue reading

Posted in Development, Programming | Tagged , , , , | Leave a comment

How to Do Well in School

Taking Tests When taking tests, answer the easy questions first. When I was little, I thought that all tests were intelligence tests, and that you had to write your final answer to the current question before proceeding to the next … Continue reading

Posted in Programming | Tagged , , , , | 1 Comment

Emacs Extension: Binary-search-inspired movement

Moving forward and backward word-by-word is inefficient, so I thought it would be useful to reduce the distance between your cursor and your desired position on the line using something like binary search. If you load this emacs extension (in … Continue reading

Posted in Programming | Tagged , | Leave a comment

WordPress Plugins: ShushThatNoise and HumansNotBots

I wrote two WordPress Plugins, and both of them are available for download. The first one (ShushThatNoise) is for bloggers who want to reduce comment noise without “censoring”/deleting undesirable comments. It’s a better alternative to disemvoweling, in my opinion. The … Continue reading

Posted in Development, Programming | Tagged , , , , , , , , , , , | Leave a comment