Lazy-calculated Integer Sizes Deprecated

So there's a bit of code in PyOpenGL that is now producing deprecation warnings. In essence, we have a type that is a "run-time lookup" integer. So when you have an element that is of unknown size, you lookup that value via some function. That function is often OpenGL-context-dependent. As of latest Numpy that ...

Continue reading

Java Jokes

So I ran across a snippet of code today in a Java codebase:

additionalCommands.add(new XYZAdminClientMenuItemAdditionalCommand(START_COMMAND, "Start Cluster"));
additionalCommands.add(new XYZAdminClientMenuItemAdditionalCommand(STOP_COMMAND,  "Stop Cluster"));
additionalCommands.add(new XYZAdminClientMenuItemAdditionalCommand(MON_COMMAND, "Start Monitor the Cluster"));

which, to any Python programmer looks like someone is pulling your leg.

Here's a Java version that doesn ...

Continue reading

Embrace the Singularity: Sunday Bahen 1180

Presentation is shaping up nicely. I'm still way-over on slides (71), but that's normal for me at this stage. I'll do some ruthless cutting as I start into full read-throughs. The biggest thing that's shown up in reviews so far is that probably 15 of the slides are fodder for an ...

Continue reading

Has it really been 18 years since I did Java?

I've definitely had to touch Java in the intervening years, but the last big Java project I can remember working on was in 1997. And that was a VR Mutech that we ripped out and replaced with C++ and Javascript ASAP. Java code always seems somewhat like someone is pulling my leg...

  • You wrote ...

Continue reading

That point where you wish you'd asked for an hour

There's a point in every presentation where you realize "I should have asked for an hour (or 8)"... that's about 1/2 way through in my experience, it's where you've filled the work-table with a thousand items, taking each bullet point you wanted to cover and expanding it to full-lecture size ...

Continue reading

Kubuntu 15.10 seems fine so far

So I pulled the upgrade switch on the (Dell Inspiron) laptop on Friday. It trundled for almost the whole day doing the upgrade, then rebooted to a black-and-totally-unresponsive screen, with no way to switch to virtual consoles... I did a hard-reboot, booted to recovery console and reinstalled the fglrx (proprietary AMD) drivers, then rebooted... and ...

Continue reading

Finally moving to Django migrations

So it has taken far too long to get this done. As our migration operations were tightly coupled to South migrations, South was holding us back for far too long. Today I've pretty-much finished the migration. I wound up embedding a virtualenv inside the firmware for each product that has stub packages, the south ...

Continue reading

Multiple "output" parameters in PyOpenGL

So Moisés has been sending me bug-fix patches for PyOpenGL, and todays (actually Sunday's) pointed out that the multiple-return-parameter case was plainly broken in the PyOpenGL wrapper code. Basically the code would only return the *last* parameter which was setOutput()'d so that the low-level wrappers would return somewhat pointless values rather than ...

Continue reading

Yearly archives