Jay McGavren's Journal

2008-04-21

That's (not) funny...

Was listening to an old Slashdot Review which talks about the difficulty and expense a mechanic was having replacing a headlight on a new HHR. Evidently in their efforts to reduce weight, car makers are often using lighter metals where you would normally expect steel.

Just as I arrived at work, I get a call from my wife - guess what just happened to her new HHR? Well, no, not the headlight - she tore the roof antenna off with the garage door. Hopefully this is a quicker fix than a headlight…

Read more...
2008-04-21

Mainly because of my recent Chipmunk obsession...

humorous pictures
see more crazy cat pics

BTW, I’m gonna call off Zyps physics/collision experimentation for now; I want to get fast/stable networking going in time for Desert Code Camp. I may not even mess with AreaOfInterest until after the camp, it depends what time allows for.

Read more...
2008-04-21

Betrayed!

GMail, how could you? I trusted you!

You take the e-mail I’ve been waiting on for 5 days now, the one I needed to plan life changes around, and you toss it in the spam folder?!

I will never love (a web app) again.

Read more...
2008-04-20

Ugh. Beware The Forbidden Kingdom.

Jet Li and Jackie Chan kicking each others’ asses is marvelous in concept (and in the one scene where it actually happens). Too bad most of the film is devoted to sending the Karate Kid back in time to ancient China. (Gee, wonder why that was missing from the previews?)

The scenes that don’t feature Ralph Macchio’s young clone are epic and beautiful. The scenes that do are too many to ignore.

Read more...
2008-04-19

Philistines...

( 0.000, -0.028)
( 0.000, -0.083)
( 0.000, -0.167)
( 0.000, -0.278)
( 0.000, -0.417)

Jay: Lookit! The Body’s falling!

Diana: It’s green text.

Jay: But it’s falling! There’s gravity! And it’s accelerating over time!

Diana: It’s only falling 5 times.

Jay: I can extend the loop!

[Diana walks out of room, shaking head.]

require 'chipmunk'

include CP

space = Space.new
space.gravity = Vec2.new(0, -100)
radius = 10.0
body = Body.new(10.0, moment_for_circle(15.0, 0.0, radius, Vec2.new(0, 0)))
ball = Shape::Circle.new(body, radius, Vec2.new(0, 0))
space.add_body(body)

5.times do
	space.step(1.0 / 60.0)
	puts body.p
end

Read more...