Posts

Moo Cards

Image
We're getting a fresh batch of business cards at work c/o Moo Cards and this time can use custom screenshots. Here are some I snapped today which will be on the back of my cards: Yes, that's how good Second Life graphics are these days. I really am that shiny. :)

St. Patrick's Day

Image
I decorated my av in a seasonal fashion: I showed up for a meeting green, and someone didn't "get it". So I had to make the hat.

Paper Satellites

In the Oakley Centre library was a book describing early (so, 1960's) communication satellites. They were simple geometric solids (tetrahedron, cube, octahedron, etc) covered with solar cells, and the book had plans for making paper models (cut, fold, glue). Googling isn't turning anything up. Anyone out there able to find it?

ONERR RESUME and such

I added ONERR GOTO linenum / RESUME / POKE 216,0 support to my Applesoft Interpreter . It turned out to be pretty simple. ONERR sets a handler address. On an exception, check if it's cachable (i.e. the program caused it, it's not the interpreter reporting a bug). If so, store the current execution point and jump to the handler. If the handler calls RESUME, restore the previous execution point. The only wrinkle is that IF...THEN... is considered a single statement, so the IF part needs to be resumed and I was cheating an treating the bit after THEN as a separate statement. I don't twiddle the stack at all, so I'm not positive the behavior there is consistent with a real Apple. This is not a feature I used when I programmed in BASIC. I didn't have very good examples to learn from. Also, initial experiments with RESUME made me wonder "WTF?". For example, consider this: 5 ONERR GOTO 10000 10 INPUT "Open file?";F$ : REM prompt user for file name ...

Catching Up

Nothing big to report, but for posterity I should probably say something... At the end of January, my grandmother (June Fahey) passed away. I'd expected this for a long time... and basically dreaded phone calls from my parents for several years, anticipating the news. On February 8th we flew to Disneyland for the weekend, courtesy of a co-worker who has a small plane. Lovely flight down and back. Caspian enjoyed the Indiana Jones ride (finally tall enough!) but freaked out a bit in line the second time when the spiked roof started to descend. Ah well - we made it through. Will post pictures at some point. Caspian is taking ice skating lessons on Saturday afternoon, and having a great time. He's quite enthusiastic about it. Occasionally, he even listens to his instructor. He's still taking ballet on Mondays, but his yoga mat and clothes got left on a cable car, so Su took him to the dance store... and they came home with tap shoes. He's very excited about them. We...

Why 3D?

I happened to read co-worker Jeffrey Ventrella's page http://www.ventrella.com/Ideas/YawPitchRoll/yaw_pitch_roll.html and the "Why 3" part reminded me... Since (most) humans are trichromats, we've settled on a 3-dimensional color space: RGB for emissive and CMY for reflective, although in school you learn the approximation "blue, red, yellow" as the "primary colors". Our color monitors use RGB (subpixel, phosphor) triads which roughly correspond to the light frequencies that (most) human eyes are sensitive to. Graphics programming is often an attempt to make sure the right R, G and B values are used for each pixel to approximate reality. We also generate other color spaces (HSL, HSB) when convenient, each with three parameters. This might indicate that colors are inherently 3D, as is space. Of course, it's all just hacks upon hacks. Light can come in any frequency, from (infra)red through (ultra)violet, and is typically a mix of many fre...

Best TV Show Ever: Jim Henson's The Storyteller

Go buy a copy of The Storyteller on DVD if you don't have one and watch it (again). Then go and buy a copy of the book .