Author archives: Mike

RSS feed of Mike

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

Abstractions and Drowning in Them

Have been spending a lot of quality time with Dojo this weekend, and it's making me think about abstractions again.  The pattern seems to repeat itself again and again; you dive into a deep pool of someone else's abstractions, you spend days working out all the little undocumented assumptions and missing pieces, eventually you get ...

Continue reading

Yay, 3D and Suspend Working Again

So, the trivial difference that I hadn't realized I'd changed: I apparently enabled "effects" for KDE, which turns on Compiz.  With that enabled the Lenovo W500 laptop would die on resume.  With it turned off, resume works with the proprietary driver and I still have the 3D acceleration for PyOpenGL hacking (when I get a ...

Continue reading

Happy (Belated) Solstice!

Used to be that I'd have a party every Solstice and Equinox.  Somehow it just slipped past this year.  Still, I did eventually remember it, so happy Solstice everybody.  Enjoy the longer days, enjoy the time with family and friends, enjoy just being.