Jay McGavren's Journal

How a Head First author spends his days off

View on GitHub
2008-04-11

Baby Izzy

Isabella McGavren - Day One

Introducing my niece Isabella (as photographed by my Dad).

Read more...
2008-04-10

Because I can't remember anything unless Google Calendar reminds me...

> Tooth fairy duty > > Thu Apr 10 10pm – 11pm > (Timezone: Mountain Time - Arizona) > > Calendar: > > More event details

Read more...
2008-04-09

I'm gonna be an uncle (again)!

Well, I’m sort of an uncle now, but that’s Diana’s stepbrother’s kids. (Who are cute as heck, but still…) Being uncle to my brother’s daughter is a lot more direct.

Good luck, Glen and April! Send pictures ASAP!

Read more...
2008-04-09

I hate JAXB.

My code:

primaryPayment.setPaymentCode(paymentCode);
primaryPayment.setStart(convertDate(new Date()));
primaryPayment.setEnd(convertDate(endOfTime()));
primaryPayment.setSun(true);
primaryPayment.setMon(true);
primaryPayment.setTue(true);
primaryPayment.setWeds(true);
primaryPayment.setThur(true);
primaryPayment.setFri(true);
primaryPayment.setSat(true);

My result:

<ns2:GuaranteePayment
  End="9999-12-31"
  Fri="true"
  Mon="true"
  PaymentCode="5"
  Sat="true"
  Start="2008-04-09"
  Sun="true"
  Thur="true"
  Tue="true"
  Type="GuaranteePolicy"
  Weds="true"
>

Wasn’t XML supposed to be at least sort-of human readable?

Read more...
2008-04-09

Josh Pang just published a site… Check out the skater in the 3D models.

Argh… When I am king I will start a game company and hire all my friends. Here’s the roster:

-Josh: Lead artist -Chihiro: Lead 2D artist -Nate: Design -Eric: Website design (duh) -Jeremy: Motion capture (and QA) -Joe: PR -Diana: Testing -Lenny: Lead developer (hey, I’m king and CEO, and he’ll grow into the position)

People don’t do this in the real world because they would lose their friendships, marriage, and children after the first crunch. But we’re in my fantasy, so it will all work out.

Read more...
2008-04-04

configure make make install

Got Ruby running on the dev Solaris box at work. Couldn’t install to home, as my disk quota there is miniscule, but there’s a tools area where we can basically put anything we want, so that’s where it went. Gems are running, and Rails would be too if I could get the Informix library compiled. (I guess only the 64-bit SDK is installed, and I need 32-bit.)

Working in rSpec proper is a much nicer and more stable experience than using the story runner, that’s for sure. I’ll revisit stories once the API stabilizes and is properly documented.

Read more...
2008-04-02

And they took my red Swingline...

I asked a co-worker who got relocated to a new area how he was liking it. He said “the cubes are a foot smaller”.

I’d be annoyed too, but he sounded like it had really ruined his day.

Read more...
2008-04-02

I know that an analyst isn’t going to be able to discuss projects on the same technical level as the nerds she’s working with. But we’ve got one whose understanding is so poor, she can only speak in generalizations like this:

“What should I label your task as?” “Can I mark items 15-19 complete?” “Is everyone in the meeting in agreement?”

I thought it was just her, but then in this morning’s meeting a program manager (who I thought was more knowledgeable) was doing the same thing. Is this really adding value to the discussion?

Read more...
2008-04-01

Wow - let me see if I’ve got this straight. I’m being asked to tear apart multiple systems to change a client number “because the client is very superstitious and his numbers must start in the 800 series.”

If this guy’s complaining about this, what’s next? Storing all his records on paper because he has a fear of databases?

There’s this concept of “firing the customer” floating around, and I think this would have been a good time to employ it. Of course by now, I’m sure there are signed contracts and it’s too late.

Edit: A co-worker just pointed out this seems like an April Fool’s joke. I don’t think it is, since the e-mail chain started yesterday, but someone is in serious trouble if it is.

Read more...
2008-03-29

Client, server, client environment, server environment...

OK, here’s part of what I’m thinking…

#Ensure server is authority on object movement by default.
def test_server_movement_authority
	@server.start
	@client.connect
	@client_environment << @object
	server_object = find_matching_object(@object, @server_environment)
	#Move client object one way, server object another.
	@object.vector.pitch = 90
	server_object.vector.pitch = 180
	#Interact.
	@server_environment.interact
	#Ensure client location/vector matches server's anyway.
	assert_equal(@object.vector, server_object.vector)
	assert_equal(@object.location, server_object.location)
end

Basically the client runs its own environment to keep things looking smooth, but when the server finally gets back in touch with it (and it could be several seconds), any location and vector the server sends gets blown away on the client. (It won’t send all of them, just those within a given update area.)

Read more...
Copyright © Jay McGavren.