Archive for the “Programming” category

Science Links of the Week

by Marshall on February 17, 2007

Programmable Water – An MIT student creates logic gates that switch with the power of water. NetLogo – A programmable modeling environment Earth’s Hum – Earth’s Hum is explained by scientists as being caused by waves in the oceans. If (…)

Read the rest of this entry »

How NOT to Write Read-Only Properties

by Marshall on January 12, 2007

The other day I spent a good 45 minutes fixing a defect at work. A major portion of the time was spent trying to figure out why an object I was modifying wasn’t keeping a value for one of it’s (…)

Read the rest of this entry »

Four Fours

by Marshall on December 6, 2006

I just found out about a little math game called Four Fours. Basically what you try to do is try to represent integers using only the number 4 and a few common mathematical operators, for example: 0 = 4 – (…)

Read the rest of this entry »

Need the Inverse Square Root of a Number, Fast?

by Marshall on December 1, 2006

Quake 3 has a the following bit of code to calculate the inverse square of an integer. The i = 0x5f3759df – (i >> 1); is the most curious part of the function, and apparently is has to do with (…)

Read the rest of this entry »

Civil Netizen

by Marshall on November 27, 2006

A while back I had an idea for a web app whereby users would upload files to a server and the app would spit out a download key. Third party’s could then download the files only if they had the (…)

Read the rest of this entry »

LOTD

by Marshall on November 13, 2006

Firebug — “FireBug lets you explore the far corners of the DOM by keyboard or mouse. All of the tools you need to poke, prod, and monitor your JavaScript, CSS, HTML and Ajax are brought together into one seamless experience, (…)

Read the rest of this entry »

MythMusic, Mac OS X, and iTunes

by Marshall on November 7, 2006

Tonight I set out to sync my iTunes library up with MythTV. I have been wanting to create some playlists on the Myth box, but I find the playlist “editor” (if you can even call it that) for MythMusic just (…)

Read the rest of this entry »