Author archives: Mike

RSS feed of Mike

Sometimes a day evaporates with nothing to show for it (Oh, and Cinemon seems to be leaking *faster* now)


Spent much of the day staring at PySNMP code looking for something (anything!) that would make it faster without necessitating a bulk rewrite in C. Then gave in and started looking at what would be necessary to use net-snmp as an encoder/decoder for TwistedSNMP.

A few hours of tracking down and copying the various structures ...

Continue reading

PyOpenGL is just about ready for a release (Two or three bugs fixed, as well as a setup fix for Linux machines)


As I promised various users, spent much of the free time on the weekend on PyOpenGL, basically just working through the list of outstanding bugs. Nothing spectacular or new, just making things work the way they should.

Anyway, it's ready for a new release, but I don't want to be doing the release this late ...

Continue reading

New release of PyDispatcher available (Fixes 2 memory leaks)


While testing some memory-leak bug-fixes for PyOpenGL I discovered a memory leak in OpenGLContext. With a lot of tracking I found out that the leak was from Dispatcher.

Now, you may not care about that (I'm speaking to Bryan and Tim here), but Dispatcher is also used in Cinemon (which you will recall is currently ...

Continue reading

Hypothesis as I lie here wondering (About losing a beautiful woman's name so easily...)


The hypothesis goes like this:
The two forms of memory, "lossless" and "lossy" have complementary function. Lossless memory tends to produce individuals who are more concrete (because they can recall random data associated with individual objects/situations), less creative and less abstract, while lossy memory tends to produce those who are better at synthesis, creativity and ...

Continue reading

Oh yes, the party (Since you didn't ask...)


Met quite a few people. Shane brought... well... lots of people, including two ladies he'd met at a Second Cup. Very interesting both, one is a postmodern philosopher, but with a reasonable (read agreeing with me ;) ) perspective on the overall utility of the ideology. The other is a cultural anthropologist.

Both quite charming ...

Continue reading

How to affect change in the world (Zen and the art of making the world a better place)


Had another conversation tonight that involved someone having bought into the competitive model of society. This is the area of thought that is often described as "right wing", and includes Rand and Smith's "Guiding Hand".

It builds from the idea that the only way to accomplish anything is through force, with force including coercion. With ...

Continue reading

Don't seem to be firing on all cylinders (Can't seem to figure out how to make the statistics fast enough to be usable...)


For each group (say 50 groups), for each field (6 fields), for each modem in each group (2500 down to 4 or 5), collect the min, max, mean, and total. Problem is, even summarising 1 field for a 500 modem group is taking a long time (i.e. a second or more).

I'm obviously just doing ...

Continue reading

No panacea in max repetitions (But difficult to really tell what with the CMTS's changing)


Gather Bryan's been reconfiguring the demo instance to run against the larger CMTS (now scanning 2500 modems), so I don't know if there was any change in processing load between the limited and unlimited queries. Going to leave the changes in-place because it seems very likely that they will have a positive effect and no ...

Continue reading

Cleanliness is next to leak-less-ness (Or rather much-slower-leakish-ness...)


Well, the memory leak (whatever it is) is down to about 50MB/day. That's still not going to work in a production environment, but it's slow enough that the demo can run for about 11 days (well, make it 10, it needs some ram available for actually interacting with users). It's also slow enough that the ...

Continue reading

New TwistedSNMP available (Allowing you to pass maxRepetitions into your Get Bulk requests)


I haven't had a chance to test this theory yet, but it makes so much sense...

When doing get bulk requests (which are done once for each modem on all non-intensive scans in Cinemon), the default behaviour for an agent is to encode 255 records for each requested field. That is, if you are requesting ...

Continue reading