Category archives: Snaking
Discussions of programming, particularly of programming Python
PyCon.ca talk on Mistakes in Life/AI is up
Written by
on
in
Snaking.
PyCon Canada running Nov 12-15th 2016
Written by
on
in
Snaking.
PyCon Canada is going to happen in downtown Toronto. The conference is Nov 12-13th and then two days of sprints. The call for proposals is up and you have until the end of August to get your talk/tutorial proposals in. PyCon Canada is a pleasant conference with lots of friendly people, not as overwhelming ...
nVidia, package cudnn for Ubuntu already
Written by
on
in
Snaking,
Tuxedo.
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 PITA? It's only useful ...
mcastsocket broken out into its own project
Written by
on
in
Snaking.
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 3.5 (it may ...
Embrace the Singularity Talk is Up
Written by
on
in
Design Theory,
Snaking.
My talk from PyCon.ca is now up, you can watch it here:
Let's Encrypt Tomorrow
Written by
on
in
Snaking,
Tuxedo.
Just a reminder, as of tomorrow Let's Encrypt should be in public Beta (i.e. *every* public-facing server you create from tomorrow on should have SSL-by-default).
PyCaribbean Wow, That's Tempting
Written by
on
in
Snaking.
Chatting about Python in the warmth and Sunshine in February sounds awesome. If you're interested in speaking, you've got a week to get those proposals in (November 20th). Flights seem to be around $600 to $800 per person from Toronto. More details on the PyCaribbean site.
Going to try AppVeyor for building releases
Written by
on
in
Snaking.
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 setups any ...
Lazy-calculated Integer Sizes Deprecated
Written by
on
in
Snaking.
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's now ...
Java Jokes
Written by
on
in
Knight Errant,
Snaking.
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't seem quite so crazy to a Python programmer:
protected static ...