Aliette de Bodard ([info]aliettedb) wrote,
@ 2008-04-21 20:53:00
Previous Entry  Add to memories!  Tell a Friend!  Next Entry
Grr...
Spent all day debugging code, only to discover I had
a. transposed an array by accident, so was doing rather unexpected calculations on it
b. filled the array leaving one hole, which was initialised to a random value. Rather unfunny results ensued.
(if you're not a geek, what it boils down to is: I made two silly mistakes that are damn hard to find and fix...)




Received awesome crit of the novel by [info]tlmorganfield, which gave me nifty ideas for tackling the revisions--thanks a lot! I have to force myself NOT to do it right now, as I still have a handful of those crits coming in, and I'd rather not do 15 revision passes.

Tagged myself in a book meme, courtesy of [info]stephanieburgis:
1. Pick up the nearest book.
2. Open to page 123.
3. Find the fifth sentence.
4. Post the next three sentences.
5. Tag five people and post a comment to whoever tagged you once you've posted your three sentences.

Ok, so the nearest book is, rather unsurprisingly, my copy of "Handbook to life in the Aztec world".
p. 123 is "warfare":
This kind of formation was especially effective against similar infantry styles; however, once this battle plan faced the horses of the Spaniards, Aztec troops were unequipped to withstand a cavalry charge.
To make battle formations effective, individuals have to be very conscious of their own physical stances within the formation. Soldiers kept their weight balanced between their left, forward foot and their right foot, which would advance the body as the warrior threw a weapon of any kind.

Boy, taken out of context, this does make for dry reading...
I'm not tagging anyone, but feel free to tag yourself in the comments :)

*off to bake Matthieu a cake for his birthday*


(Post a new comment)


[info]neoguardian
2008-04-21 07:25 pm UTC (link)
That's still not as bad as hunting the same bug for weeks on end. :) I've done similar things to arrays, though...once I was trying to loop through them in a for loop and I was skipping half of it, because I was deleting elements in that loop and incrementing the index at the same time. Heh.

(Reply to this)(Thread)


[info]aliettedb
2008-04-22 05:24 am UTC (link)
Youch. Done that, too. Not very pleasant.
The array thing does sound like a familiar mistake :) (the kind that drives you nut when you try to figure out where the problem is).

(Reply to this)(Parent)


[info]marshall_payne
2008-04-21 08:01 pm UTC (link)
Tell Matthieu I said Happy Bday and that he’s got a great GF, whether she bakes him a cake or not! *G*

(Reply to this)(Thread)


[info]aliettedb
2008-04-22 05:24 am UTC (link)
Thanks, Marshall!
The cake ended up good :)

(Reply to this)(Parent)


[info]snickelish
2008-04-21 11:07 pm UTC (link)
I'm a geek. I understand. :)

(Reply to this)(Thread)


[info]aliettedb
2008-04-22 05:24 am UTC (link)
:)

(Reply to this)(Parent)


[info]stephanieburgis
2008-04-22 07:30 am UTC (link)
I love the contrast between our two research book selections! :) But ohhhh, ouch on the coding issues...Patrick, my dad, and my uncle all work in computer programming, which gives me just enough tangential understanding to cringe in sympathy at your description. Hope it's all fixed soon!

(Reply to this)(Thread)


[info]aliettedb
2008-04-22 06:44 pm UTC (link)
Yeah, it's fun ;) (though I swear, the Aztecs didn't only wage war on their neighbours...).

The code is fixed. Thanks for the good vibes :)

(Reply to this)(Parent)


Create an Account
Forgot your login?
Login w/ OpenID
English • Español • Deutsch • Русский…