?

Log in

No account? Create an account
2001: a vector arithmetic odyssey - Lindsey Kuper [entries|archive|friends|userinfo]
Lindsey Kuper

[ website | composition.al ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

2001: a vector arithmetic odyssey [Jun. 29th, 2009|03:26 am]
Lindsey Kuper
[Tags|]

Alex oniugnip and I solved scenario 2001, the first problem of the second set of ICFP contest problems! Scoreboard-wise, this puts Team K&R in 200th place of 305 registered teams, with ten hours remaining. It took us until just now to catch up with Jesse jes5199!

We're wrecked and probably going to sleep soon, but I want to show off this thing I did by accident. The black line is supposed to plot the path of a satellite that travels around the orbit shown in red, so, really, it should cover the red line instead of looping all over the map. But instead of plotting that satellite's location with respect to the center of the earth, I accidentally plotted its location with respect to another satellite, which is a moving target (in fact, it's orbiting the earth at a lower altitude). What I got was a pretty Spirograph-esque design.

This is not the science you're looking for.

Things like this are one reason why I'm envious of computer graphics people like Andrew pixelherder. Even their bugs end up looking cool!

Edited to add: Okay, maybe we're not going to sleep soon. Six problems solved, which puts us in 186th place at the moment! We came in something like 174th last year, which makes me want to do "better", even though those numbers have nothing to do with each other.

Edited again: It's now 6:06 a.m. and we're in 120th place with eight problems solved! What we have probably isn't general enough to work for the next set of problems, so, with less than eight hours to go, we might not be able to solve any more. I'm incredibly happy with where we are, though.

LinkReply

Comments:
[User Picture]From: royhuggins
2009-06-29 12:59 pm (UTC)
Did your satellite crash into the Earth? I hope it was over some 3rd-world country with no appreciable GDP.
(Reply) (Thread)
[User Picture]From: lindseykuper
2009-07-02 02:33 am (UTC)
Roy, that is a fantastic article. Thanks.
(Reply) (Parent) (Thread)