Jay McGavren's Journal

2007-06-19

I’m flailing. I have a change where I’d have to write twice as much unit test code as actual code, so I skipped the unit test, and now I’m flailing: ordering my son’s birthday cake, catching up on my RSS feeds, posting to my journal, anything but actually writing the code. It’s like taking twice as long to cross a bridge because there’s no handrail.

Lesson: always write the unit test first, even if it’s ugly and inefficient. You’ll save yourself time later. .

Read more...
2007-06-19

Damn, Parallels is only $80. Being able to switch live between OSX, Windows and Linux would solve a lot of problems for me. (Of course, it might also create new ones; I’m already stretched pretty thin maintaining my work, desktop and laptop configs.)

Was waiting for WWDC to see if they announced Mac mini upgrades. Instead they announced Time Machine, which looks like the backup/versioning solution I’ve really been waiting for. (Subversion works, but it ain’t transparent.) .

Read more...
2007-06-18

Our last calendar update made it such that reminders are off by default. I turned mine on, but when someone else schedules the meeting I can be pretty much assured it’s off. No reminder means I won’t be at the meeting, which means embarassment in front of my boss. Not acceptable.

Fortunately, Ruby’s OLE bindings made a workaround easy. I pass the output of this script to my “alert” program and set the whole thing up as a scheduled task. If there are future meetings with no reminder, I’ll have a warning sitting on my desktop as soon as I log in.

Read more...
2007-06-13

Purty colors...

TrailsView I was having problems over the weekend with my more-modular GTK view, but I got things figured out. A little more tweaking got me color and even trail widths.

Now all that remains is movement logic, which doesn’t even need to be part of the main libraries. (API users will pass control Procs in when they create their game objects.)

Read more...
2007-06-13

Another blog-by-email attempt...

I really want this blog-by-mail feature working, but multiple others have the same problem and it still hasn’t been address. So I’m implementing the suggestion here:http://wordpress.org/support/topic/83483….And hopefully this post will have a body.Edit: Yay, it works!  (Except for that annoying period at the end.  I’ll have to look for a real fix.)

Read more...