saving the day for thirsty students

The place where I work has a refrigerator in the kitchen. The water dispenser in the door is wonky and before yesterday, it wouldn’t turn off automatically. Perhaps at one time, there was a spring which makes that tab want to stay forward but it was broken a long time ago. Most new students were initiated to this when they accidentally spilled at least a cup of water on the floor.

dispenser

So of course, I decided to fix it using the 3D printer at work. This was made more difficult since I hadn’t brought a digital caliper with me nor a ruler. I used earlier-printed parts to measure the tab (since I did know their dimensions) and then went to work.

Autodesk Fusion 360

The first step was to design the part in a CAD program. Imagine this then fitting over the tab with the extended “spring” resting against the back panel of the refrigerator. I had to plan in the amount of force required as well as that necessary to keep the part from sliding off as well as the internal play required to fit this over the tab.

Screen Shot 2018-06-30 at 8.35.33 AM

FlashPrint

Next, it was necessary to “slice” the model file into a toolpath file for the printer, a set of instructions which it needs to create the part. I used PLA filament since it’s easy to work with and decided to orient the part sideways on the bed so that the spring part wouldn’t be an overhang (which sometimes causes problems). This meant that the printer at the end would need to bridge the two walls it had created with a 5mm gap between them.

Flashforge Creator Pro

I transferred the toolpath file to the printer and got it going, noting the time. I made some guesstimates about when it would finish and it was done about five minutes after my shift completed. It bridged that 5mm gap without a problem, finishing the “roof” at the top.

While it was still hot, I put the part in place on the refrigerator and it fit, working perfectly and solving the problem. Use a glass to push against the tab, water dispenses. Release and the water stops. No more huge spills on the floor as a result.

Refrigerator

logistics for the black pearl lcd theme

I decided to add more to the earlier Black Pearl Conky theme for my 3D printer’s TFT screen. It turned out to be a lot easier to do since I’d just finished a new module for OctoPrint.

octo-client:  A node-based module for directly talking to OctoPrint to gather raw information.

octo-conky:  A Conky script for returning that information in a pleasing way.

The new information is there after the “Black Pearl v1.0.1” line where it pulls the version and temperature from the printer.

IMG_0037

Aliencon

What’s a bit disappointing about Aliencon—at least in the San Diego 2018 version of it—is that not a lot of time is spent making any constructive plans regarding disclosure, for example. It seems like the entire alien talkspace is relegated to discussing the idea that only in ancient times might we have been host to them here on planet Earth. Personally, I’m one of those crazies who might suggest that they’re still here.

That said, I was able to get a photo-op with David Duchovny, star of the long-running X-Files series. He was quite pleased that I wore his concert shirt for the occasion. So it wasn’t a total bust.

Duchovny

on the mad exodus from github.com

If you don’t code for a living, you probably didn’t hear about the US7.5B deal in which Microsoft is now purchasing github.com. For the rest of us, this is big news.

GitHub Inc. is a web-based hosting service for version control of software using git. They offer both private repositories and free accounts (which are commonly used to host open-source software projects). With its 28 million public repositories, it’s the largest host of source code in the world.

Github’s competitors are reporting record numbers of customers moving their repositories away from the now Microsoft-owned provider.

What Microsoft now controls

Presumably, Microsoft now controls both Atom and Electron, two extremely powerful platforms in the coding space. The former is a great code editor and the latter is the underlying executable program which allows others to code in JavaScript to create a very usable desktop/GUI application.

Microsoft also now control the revenue stream. Each private repository costs $7/month or $9/month, depending upon whether its personal- or business-related.

Microsoft now apparently has access to the code in those private repositories. Just imagine what their competitors must be thinking, now that Microsoft has a copy of their internal project code to include any secret ideas those competitors have been working on.

Alternatives

We’ve all been lulled by github’s ease-of-use, it’s free nature and such. We haven’t even considered alternatives before now, to be honest. The specter of this new playing field means that we must look at our options.

Gogs.io is an open-source option for hosting your own github-like service.

Gogs

Over the last three days, I’ve now setup my own private, internal Gogs service called gitjs.io. Since I own the domain name I may later push this into the cloud but for now, it’s running on one of my computers here at home.

After the initial hurdles to get OSX to startup the Gogs service on a privileged port (http/80) and to automatically start upon bootup, I must say that I love it.

It’s a full-featured github-like experience throughout with all the screens you’d expect. You can create users, organizational levels and do the things you did over on github.

The command line git program interacts with the service as expected. The underlying code creates a global repository folder to stores everything much the same way that github might.

Screen Shot 2018-06-09 at 6.38.00 PM

The Future of Source Control

I don’t need a crystal ball to suggest that Microsoft’s purchase is going to be a game-changer for open source. The world of open source is the very antonym of what Microsoft stands for.

I would suggest that anyone and everyone with a github account highly consider the immediate need to move your code elsewhere. Microsoft has a long history of buying up competitive technologies only to starve them of air over time. In fact, internally Microsoft used the term “starve them of air” to describe how they would ruin a competitor’s advantage in the market.

It’s time to take your code and run.