Author archives: Mike

RSS feed of Mike

Ding dong the leak is dead (The wicked leak, the wicked leak... though it's evil sister the database error is still threatening Dorothy...)


Well, it takes approximately 6 hours, but it does eventually reach a steady state for memory consumption. While waiting for it to stabilize I implemented the device-hierarchy. Unfortunately, I'm now seeing hard-hangs every once in a while on my machine (looks like yet another database-driven problem, as it's occurring just after the hierarchy import completes ...

Continue reading

2-hour test-debug cycles are annoying (Not enough time to do anything significant, not enough to work on another project, but way too much to just sit waiting...)


Been working on the memory-leak problem. Problem is, the system is supposed to "leak" memory for ~ 2 hours as it scans each modem and records it's values. I think I may have solved it 2 hours ago, but I really won't know for another hour or more (even then, the rate of the leak ...

Continue reading

Ah, the wonders of recursive searching (Search-within-a-search just drops in my lap...)


As mentioned last night, today's first order of business was to get seach working. At the moment this is limited to searching for modems. One of the key requirements, however (again, none of this actually laid out in the original spec, we just decided on Friday) is that search be such that you can optionally ...

Continue reading

That's it for tonight (Didn't get the search functions working yet...)


There are 3 user stories I'd like to get done for the demo; modem search, data graphs and at least one of the synthetic hierarchy types (devices). I'm about 1/2 done the search story now. The database-access bug on cmon is still keeping it from completing the requirements (i.e. running the full demo), but the ...

Continue reading

Need to find a way to distract myself (There's not a lot to fire the imagination at the moment...)


I'm considering purchasing an ATI TV Wonder to be able to use MythTV on this machine (we pay ~$50/month for cable TV and watch maybe 3 shows a week at the moment (yes, yes, I should be listening to lectures or something, but I'm out of philosophy lectures, and the music is *really* getting repetitive ...

Continue reading

Hmm, and then the simple things decide to bite you... (Installing matplotlib on Gentoo turns out to be a chore)


Matplotlib (which I was intending to use for plotting the data-value graphs) turns out to be a bit of a pain to install. Looks like it's looking for the "CXX" library as part of the Freetype-wrapper build process, which, it turns out, is actually hard-masked (i.e. -* flag) on Gentoo AMD64.

No idea why this ...

Continue reading

Don't solve all problems that could possibly be... tonight... (Or puzzles that open doorways to hell...)


I'm not in hell at this point in the day, which I attribute to reigning in my natural impulse to solve all problems.

You see, at heart I'm a philosopher/theorist. I am happiest when I am searching for the grand patterns in life, the ones that explain everything. That's a great trait when you're ...

Continue reading

Good day for productivity (But didn't touch the big, evil bug...)


After visiting grams (score: 2 all), I spent a solid 7 hours on Cinemon. Finished approximately 10 todo items. Since Bryan isn't too tense about finishing for Tuesday, I think I'll consider the day finished and try to relax a little (particularly, I need to give my hands some time to rest).

Biggest user stories ...

Continue reading

Not the most productive day in the world (Plus: Twisted, redirect with Nevow Guard to deep-linked page...)


Fixed 3 bugs today, 1 trivial, 1 cosmetic, but important, and 1 a "feature" that was annoying enough to get classified as a bug on Friday. Unfortunately, made 0 headway against the show-stopping bug (the database-failure-on-write one), and only implemented a single trivial todo item (ignoring failures in a particular import).

Need to write up ...

Continue reading

Adapting Nevow's IRequest for Zope Page Templates (TAL) (For those migrating this way...)


Today's little micro-recipe is how to adapt Nevow's IRequest interface to one which is compatible enough with Zope's TAL request objects that you can port templates from Zope into Twisted fairly quickly. Note, this doesn't include the TemplateAdapter class, nor the Cinemon Template class, which make a Template act like a Nevow resource and add ...

Continue reading