Category archives: Snaking

Discussions of programming, particularly of programming Python RSS

RSS feed of Snaking

nVidia, package cudnn for Ubuntu already

It's half-way through 2016 and to get Tensor Flow installed on Ubuntu 16.04 one has to register for an nVidia developer's program? Here's a hint, current LTS for Ubuntu installing a widely-used AI library should require (in total):

apt-get install tensorflow tensorflow-gpu

Seriously, why make installing a widely used library a ...

Continue reading

mcastsocket broken out into its own project

I use multicast a lot in my work, and I almost always wind up using my branch of PyZeroconf's mcastsocket module... and that's not cleanly pip installable, so I've now broken out the mcastsocket module into its own project. Changes with this release:

  • implements (IPv4-only) single-source-multicast support
  • should work cleanly on python ...

Continue reading

Going to try AppVeyor for building releases

Got hard-stalled trying to get the laptop configured for building all of the various versions of Python to get the binary packages released. So I think I'll try using AppVeyor to build the releases. It's free for OS projects, and it would be nice not to have to pay attention to the compiler ...

Continue reading

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