Jay McGavren's Journal

2007-10-24

Our so-called API...

The method set(String, String, String, Boolean, Integer, Boolean, String, String, String, Boolean, Float, String, String) in the type Foo is not applicable for the arguments (String, String, String, boolean, int, String, String, String, String, boolean, float, String, String)

Grrrrrrr…

Read more...
2007-10-24

For those who doubt the importance of Time Machine...

Just overheard a co-worker saying he has no pictures of his kids prior to age 5 - they were all lost in a hard drive crash. (The backup CDs had disappeared.) I think I have an okay solution with the Subversion repository, but I’m starting to have my doubts.

Fortunately, I am also utilizing the ultimate backup solution - paper. A 2003-2007 family album has already been printed via Snapfish (at an exorbitant time and money cost, but damn, the result looks nice), as well as a large number of 4x6 prints. This is not just for family to look at - I know that sometime, something’s gonna happen to all those digital copies.

I’ve been trying to get a book printed of this blog as well, but no success so far. Blurb.com’s blog slurper is, frankly, crap - I had to export from my site to a wordpress.com account just to use it, it’s slow as hell, there’s no formatting options for auto-population, and they can’t even print a book large enough to capture my whole blog in one go. There was another alternative a year or so ago, but they went out of business. I may just have to stock up on inkjet cartridges. Frustrating.

Read more...
2007-10-24

Those still using DRb...

Make sure the libraries your client will be using are loaded on the server side as well. You’ll save yourself an evening of hair-tearing debugging.

zyps_server is back, and a full-fledged executable now. Running your own classes is horribly broken (you have to use what’s loaded on the server), but if you’re not using DRbUndumped your creatures will operate very fast on the host (because copies are created on the server side). No need to keep your client running, either - just add the objects to the remote environment and terminate, and they’ll live on in the server.

I’ll be showing this off at the next Ruby Users Group, and I’ll encourage everyone to connect and play around. It’ll be interesting to see what people come up with.

Read more...
2007-10-24

Because Im too lazy to load the wp-admin page...

Array

Edit: Whoops - better try that again…

Read more...
2007-10-24

Because I'm too lazy to load the wp-admin page...

This is a test post from my new Ruby script, which talks to WordPress over XML-RPC. Based on a sample from here. And to think I almost used (shudder) Perl.

Why I didn’t find out about this sooner, I don’t know. I’m still not happy with the WordPress documentation.

Read more...