The Bag of Holding

Profile
Bellevue, WA
A bipolar guy in a pressure-cooker industry
1,455 comments
44 followers
628 entries
Advertisement
ApochPiQ
June 12, 2008
Brain Giblets Volume IV
For this edition of my series Brain Giblets, I'd like to share a little debugging technique that has served me excessively well over the years.

The great thing about this technique is that it is literally applicable to any situation - regardless of what debugging tools you have available, or even wh…
404 views
ApochPiQ
May 20, 2008
Now I am the master
Further progress on the laser-R2-D2 mod project. I mounted the laser and toggle switch successfully, and rebuilt the R2 unit more or less successfully. It still works properly (woohoo!) but the head has lost its full range of motion, and the laser stopped firing after a few particularly nasty head-…
405 views
ApochPiQ
May 07, 2008
Giblets round 3 - redux
If you haven't already, take a moment to read the Brain giblets round 3 entry, including the comments.

The idea was brought up of using comments rather than actual function call stubs, and then exploiting IDE tools like global find or Visual Studio's Task List to locate and flesh out those comments …
450 views
ApochPiQ
April 30, 2008
Brain giblets round 3
Observation: There are two basic ways to handle planned future functionality in your code. For example, suppose you are adding scripting language bindings to a partially finished engine. The engine currently does not have sound effect support, but it will soon. Your choices are fairly simple:

  • Don't …
407 views
ApochPiQ
April 30, 2008
More giblets
Observation: It is tempting to let your software fail in messy ways. For example, consider a case where a fatal exception is thrown from your code. This exception is displayed to the user along with some possibly-useful debugging information.

Now, suppose that there is a certain situation in which t…
379 views
ApochPiQ
April 28, 2008
Brain giblets
I was coding away earlier, innocent as can be, when I suddenly was struck by an errant thought. After scolding it for interrupting my blissfully thought-free coding session, I took a closer look at it.

Turns out it was a fairly deep and important truth. In fact, I nearly came over here to write a jo…
413 views
ApochPiQ
April 21, 2008
More electronic bugger-about-ery
Today I quadrupled my chances of getting terminal cancer.

This may sound like a difficult feat, but in all honesty it was pretty simple: I just held a soldering iron to a lump of plastic for a while. The toxic fumes still tinge the ambience of my flat, and I now have a dull headache.

Still, I conside…
484 views
Advertisement
ApochPiQ
April 20, 2008
Igor, fetch me a brain!
I finally got motivated to start working on the R2D2 droid project again. I had a couple of ideas, and ended up picking a fairly simple one to start out with: I'm going to give R2D2 a laser eye, Terminator style.

Being a total electronic toy geek, I naturally have a few laser pointers laying around.…
495 views
ApochPiQ
April 18, 2008
Well, crap.
I knew it had to happen eventually... but now that it has, I'm kicking myself for the choices I made.

Some of the old-timers around here may recall the old Freon raytracer project that I worked on several years ago. The goal was to develop a software reference implementation of a hardware raytracing…
405 views
ApochPiQ
April 17, 2008
OCD progress
I finally sorted out the combination of connections needed to get the on-chip debugger working for the microcontroller. I have no idea what I'm doing differently now than before, but I can run the IDE and step through code in the ROM at will.

This means that I finally have some serious potential for…
348 views
Advertisement

Popular Blogs

shawnhar
Generalist
101 Entries
13 Followers
klg71
Generalist
53 Entries
1 Followers
ApochPiQ
Generalist
628 Entries
44 Followers
15 Entries
13 Followers
johnhattan
Programmer
1,277 Entries
50 Followers
Advertisement