Archives 2008

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.

"Wow, what a sale they must be having", I thought

I really do love Toronto.  I've never been anywhere else that has such a riot of cultures all flowing (relatively) smoothly along beside each other.  Faces on the subway are so varied that it seems like a United Nations meeting.  There's every type of restaurant you can imagine and quite a few you wouldn't have ...

Continue reading

Have lost suspend-to-ram functionality on the laptop

Today was the first time I connected a projector to the new laptop.  Good news: worked reasonably well, though we couldn't find the option to tell the laptop to display different values on the projector and the screen.

Bad news: something has changed in the settings such that the laptop can no longer recover from ...

Continue reading

Two Talks at PyCon

Looks like two of my talk proposals for PyCon have been accepted.  One is an intermediate/advanced talk porting your code to OpenGL 3.x, the other an introductory presentation on Profiling/optimization.  Should be fun :) .

Monthly archives

Previous year


Next year