Don’t Blink!

Since <blink> and text-decoration: blink; don’t work in Webkit or IE9…

Javascript convert string to number

Most javascript guides recommend the generally standard parseInt and parseFloat methods to convert from a string to a number. Multiplying by 1 works as well, eg 1 * “54″

Leap!

This is what I think of Kierkegaard’s Leap of Faith

Skyrim Alchemy

Skyrim is the shit. The game is friggin amazing. Crafting alone is a worthwhile pursuit- go mine ore, smelt ore, hunt animals, tan hides, build weapons and armor, study enchantments, and enchant weapons and armor, improve enchanted weapons. Full cycle, and when you’re done, you have exactly the gear *you* want. Alchemy? Please, I’ll make read more »

jQuery UI glight

I’ve wanted a different theme than most of what jQuery UI provides for some time. I don’t like the overly rounded corners, the glass effects, and egregious whitespace. I have really liked the recent Light themes Google has been working on, as well as the WordPress Admin theme. I had some time over the weekend, read more »

jQuery Icons

I’m playing around with jQuery UI themes. I need to get icon packs, and it’s a long process to set the colors in themeroller, download the entire theme, extract the icons from the zip file, and put them in the site. wget to the rescue.

Interview with a Conspiracy Theorist

What follows is a conversation I had with a conspiracy theorist on Facebook today. Jen Gross seriously. Tell Eric Cantor: Release the hostages and stop blocking funds for urgently needed disaster relief It’s outrageous to take advantage of the urgent needs of hurricane survivors in order to cut Medicare, Medicaid & Social Security. But that’s read more »

Troubleshooting GCC

As I was working on my strcmp bash builtin, I ran into a few issues with GCC. They should have been obvious fixes, but it seems I needed a lesson in troubleshooting GCC. I posted a question and follow up on Stack Overflow.

Bash strcmp builtin

I needed a way to lexicographically compare strings in a bash script. Unfortunately, test only test string equality. C’s strcmp returns 0 if two strings are equal, or the index of where the strings differ (positive if the character is greater in the first string, negative if the character at that position is greater in read more »

PHP Stack Trace

With the lack of an easy PHP debugger, it seems a lot of web developers think the best way to debug PHP is excessive print and log statements. I am one of those. I plod along with var_dumps and echos. I wanted a stack trace, and so I put this little guy together.

Page optimized by WP Minify WordPress Plugin