Author archives: Mike
Oh, another moment of Gentoo magic (Things that get set up in the night...)
Written by
on
in
Snaking.
I've mentioned the "magic" feeling that sometimes pops out of the emerge system on Gentoo. Last night it happened again. I realised I hadn't emerged any cron daemon yet, so I stopped the emerge -U world, quickly emerged vixie-cron, then restarted the world emerge.
Having done that, I settled down to my normal pattern of ...!-->!-->
Interfaces seem to get in the way when refactoring (But that could just be because I'm so close to them...)
Written by
on
in
Snaking.
Much of yesterday was taken up fixing a design flaw in the EFT server. In essence, I'd modelled transactions as abstract objects to which messages should be attached. That's fine, but it's overkill for what we're actually doing, and makes everything rather slow.
The solution was to make the messages themselves model the transactions. That ...!-->!-->
Faith-leaping in moving onto new server (Typing "emerge -U world" is an act of trust for one violated...)
Written by
on
in
Snaking.
I'm back to the point where I can trust Gentoo again. I was burned badly by that whole "setting -march and building world turns the entire machine to chutney" thing. Still, just an hour or so ago I once again made the leap of faith and emerged the world for the new server.
A very productive 11 hours (Sure, it's ugly, but it's working...)
Written by
on
in
Snaking.
Moved a long way forward on Cinemon this evening. The two data-importers are now working with in-memory models of the geographic entities (instead of database-based ones). Reduces load times to a second or two. Haven't got the hierarchy importer actually kicking-off the watchers or spitting back a cleaned up version of the file, but that ...
Almost have Gentoo setup mastered (After what, 7 or 8 iterations?)
Written by
on
in
Snaking.
So, after giving up in disgust on the PyOpenGL 2.1 work, I decided that I was in the mood for something fairly mechanical. Since the Athlon (original Athlon, not XP, not 64) has been sitting unused since I built the Athlon64, I decided to install Gentoo on it and get started on building an IMAP ...
Python's C-api mechanism is just horrible (More #defines than the original)
Written by
on
in
Snaking.
Giving up on PyOpenGL for the night. Creating a C-level API for a Python module requires either manually maintaining huge vtables, or somehow modelling the whole set. I've been trying to go with modelling the functions in Python, and that just isn't working, it's too awkward to modify the parts that need modification.
Don't know ...!-->!-->
A day with PyOpenGL (At last)
Written by
on
in
Snaking.
Spending the day working on PyOpenGL. So far a couple of significant bugs and one setup problem fixed. Now starting work on the 2.1.0 branch again.
One of my major goals for 2.1.0 is to make the wrappers more flexible wrt which Numpy versions (if any) are loaded, and potentially to allow for substituting Numarray ...!-->!-->
UU tonight (Suppose I should put in an appearance...)
Written by
on
in
Snaking.
Was intending to skip it and spend the night working on Cinemon, but I suppose actually talking with Bryan would be a good thing too. Still frustrated with Twisted's documentation. Took a quick break to work on a Job Jar item for the web-checker program.
It's so much easier to work when you have an ...!-->!-->
Twisted needs docstrings!!! (When your primary API docs are auto-generated, you *must* put in docstrings)
Written by
on
in
Snaking.
Frustrating couple of hours here trying to get Twisted to either use a serial port or a TCP port to test the EFT server. Mostly it's frustrating because the API documentation doesn't tell you what methods are doing, what they return, what their arguments should be, how to deal with the results to accomplish common ...
Cinemon gets code back from common applications... (Or, my day in slogging...)
Written by
on
in
Snaking.
I've been working on other projects for a couple of weeks now, ripping pieces of Cinemon's application framework out and using them for the other projects as I go. Today I took my "day off" to try to move Cinemon forward.
Most of the day was spent working on the hierarchy-importer. That moved forward quite ...!-->!-->