Author archives: Mike

RSS feed of Mike

Open Source Time

I'm not getting anywhere near enough time put into the various Open Source projects I want to work on, let alone time to work on my thesis.  I probably need a few solid weeks just to work on OS, and a few solid years to work on the thesis stuff.  A few weeks might happen ...

Continue reading

Closing in on RunSnakeRun 2.0

I've got the bulk of the features I want to see in RunSnakeRun for the 2.0 release finished now.  There's still some GUI cleanup work to do, and I want to implement some "exploration" features (e.g. up/down buttons and the like).  Still, it does about what I want it to do now.

The new version ...

Continue reading

glHistogram and ARB imaging

The docs for glHistogram clearly say that if the GL_ARB_imaging extension is not supported then glHistogram is not present... except it appears to be present (and even accepts calls), but if I pass GL_HISTOGRAM to glEnable( ) I get an invalid enumerant error.

I'm pretty sure this card *should* support the whole of the imaging ...

Continue reading

Hoping to make Saturday a PyOpenGL day


If all goes as planned, Saturday should be a PyOpenGL hacking day.  Hopefully get 4-5 hours of solid work in, maybe enough to stabilize the OpenGL_accelerate module and try to get a 3.0.0 release candidate out the door.  There's still a problem with the crashing of the list/tuple handler, and there's a half a dozen ...

Continue reading

Neat little feature added to RunSnakeRun

Just roughed in a neat-ish little feature for RunSnakeRun.  Basically it's a hierarchic view of your profile data where the hierarchy is directories/files/functions rather than function-call-record based.  It uses only the "localtime" values from the raw records so that you can see the total time spent in a given package, sub-package, module and the like. ...

Continue reading

Square-map shaping up

Have moved SquareMap into LaunchPad and done a bit of work on making it more wxPythonic and adaptable.  I've also made it handle "empty" space better, so that if you have time spent in local for a given parent it shows up as empty space in the parent.  That's important in RunSnakeRun because you want ...

Continue reading

Profiling looseness...

Have RunSnakeRun imported into LaunchPad now.  I've also implemented a version that uses an enhanced SquareMap so that you can see the hierarchic relationships in the data.  Because of the way cProfile works, you don't see "deep" relationships, that is, while I know that a calls c for 50% of the time, and that c ...

Continue reading

Square-maps in wxPython for RunSnakeRun

Just built a little square map implementation in wxPython.  Eventually will be integrating it into RunSnakeRun to let you see a graphical breakdown of the hotspots in your profile (as you do in KCacheGrind, but this should run easily on any of the major platforms because of wxPython).  I think I'll want to tweak the ...

Continue reading

Javascript's default-global... repressed memories

I used to do ridiculous amounts of Javascript for Holodesk, so I *should* have immediately twigged to this, but it's been 8 years and I've managed to block this particular silliness out.  Say you have a reusable (Dojo) widget where you need to access "this" in a callback.  The callback function will have "this" bound ...

Continue reading