Last two days

Jun 23, 2006 03:35

Bad foreverdirt, I have all of re: Your Brains memorised and I can't sleep because it keeps running through my brain and I start giggling.

Yesterday was a day in which I seemed bent on spending talking to people. After wychwood came and dropped some books off and I gave her back the ones I had, we ended up chatting for a while. This was then followed by an hourlong conversation with N from the office. Such a very productive day :) I did help two people though with coding problems. It's nice to know I know something.

wychwood didn't like the Honor Harrington books by David Weber but then, I also liked the the Elizabeth Moon ones a lot less than she did. It just shows how different people can be. One of the reasons I suspect, however, is that Moon writes more character driven sci-fi with some lovely character interaction wheras Weber goes to town on background and backdrop. I know which I find more important and I suspect I can guess which one wychwood finds more important ;)

Today I stayed at home and got down to serious coding along with trips to the local shops and laundry. Sometimes I like working at home. When it works, it's nice to have work time punctuated by household chores. Today was a middling day, in that I did work, but it didn't necessarily go quickly. Household chores were also punctuated by my housemate being in the way. Doesn't she ever go to work anymore? We're heading for another collision again. I came down after some hard coding and was waiting for her to get out of the way of the sink and I was lost deep in thought and sighed. She took this as some kind of implied criticism of me waiting for her to get out of the way. She asked before throwing a cow, so unpleasantness didn't even start and it shows she's learning. Now, if she could gain about ten years of empathic maturity, then she might be fit to join the rest of the human race again. Anyway, her inability to deal with other people isn't my problem and soon I'll be rid of her. I'm fed up of catering to her and having to be the one who also deals with how the two of us interact.

In terms of work, I've managed to finish my matrix class and write a test suite for it which proves it works! That was yesterday's work. Today's was writing an indexed matrix class (which subclassed the matrix class) and writing a test suite to see if that works. It nearly does, just one function left to untangle. With the test suites proving that the little modules I've written work, it'll be easier to go to code review when the time comes. Teh modular code 0wns code review.

The two classes I've written are going to be used to write some template laying code. There's a stage of the pipeline that Chris wrote where the template laying code is totally geared up to Scorpius X1, so it needs replacing to be more general and if I can write some code that takes the same input and produces the same output, then it'll nicely slot into Chris's pipeline. I can then go about getting some results which I'll present to the group, which is why I'm being so picky about code review. I do worry that my code is C++, not C, because the reviewers might flat out refuse to review it. But if they did, I think they'd be being lazy as LAL, the C library they use for much the same purpose as I'm using C++, does object orientation and templating (the two C++ concepts I've used) the long winded C way. They have no excuse for not understanding the concepts.

Oh, scary thought, the matrix class is 500 lines of code long. I keep thinking 1000 lines of code is a lot. It isn't though, really, is it?

programming, research, housemate

Previous post Next post
Up