Author archives: Mike C. Fletcher

RSS feed of Mike C. Fletcher

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

Trivial bug in synaptics is so frustrating...

There's a rather annoying bug in the synaptics driver on Linux on the Dell XPS 15 9550. Basically, if you are using one finger to move around and another to click the "button" areas at the bottom of the screen, instead of taking that second finger as "click here", it sometimes interprets the second ...

Continue reading

Dell XPS 15 2016 on Kubuntu 15.10

So I finally got a replacement for the old laptop, which works, but is winding up out-of-RAM basically all the time. This time, instead of going for the cheap inspirons I decided to plunk for a higher-end machine that includes a discreet nVidia card. Installing Ubuntu on it was... not particularly fun. All of the ...

Continue reading

Infrastructure Failures Suck

So this morning every single VirtualBox VM refuses to load. Ever-so-helpful "there was an error" messages. I'm assuming I'm looking at a driver, libc, or similar failure from the dist-upgrade of the host this morning. Yay. This is *not* what I needed to work on this morning.

[Update] a workstation/server reboot (Egads ...

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