Monthly Archives: August 2011

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.

Goal Oriented Behavior – July 2009

I stumbled across this while going through old emails. It was originally addressed to Austin Brown. I have not edited it since I found it, it is posted as is from July 2009. Homo Sapiens is, to it’s knowledge, only unique in it’s ability to make value judgments on it’s actions in the world. Many read more »

Facepalm

I could watch this all day. From http://icanhascheezburger.com

Fun with Bash

I freakin love bash. The thing’s amazing, with some ridiculous language constructs that even perl can’t dream of. If the unix philosophy is “one task, one tool,” Bash’s task is glue. I’ve been using it over the past week on a digital forensics case. This is a project that involves examining a dozen production hard read more »

bkvs – Bash Key/Value Store

I like me my associative arrays and key/value stores. They’re really really useful. I wanted one in bash, and tada, Well, I wanted something that could be used between sessions. Tada, the filesystem is a great key/value store.

Unified Augmented Reality

A group I’m active on in Facebook posted a link to a comment on the possibilities of LED contact lenses. Unfortunately, the post’s author barely scratches the surface of what’s possible with the potential applications. Also, the author calls this “Freaky.” Not cool. For a unified approach to augmented reality, I want all the research resources of read more »

Coding Standards

Coding standards are a Good Thing™. When working in a team it is critically important to be able to read code written by other developers, immediately understand what is happening and how they are thinking. Coding standards facilitate this process in two critical ways. One, standards remove the uncertainty of reading a new piece of code. read more »

Page optimized by WP Minify WordPress Plugin