Oil Wells Done Rube-Goldberg Style: Flatrods And Jerk Lines

The news is full of the record low oil price due to the COVID-19-related drop in demand. The benchmark Brent crude dipped below $20 a barrel, while West Texas intermediate entered negative pricing. We’ve all become oil market watchers overnight, and for some of us that’s led down a rabbit hole of browsing to learn a bit about how oil is extracted.

Many of us will have seen offshore oil platforms or nodding pumpjacks, but how many of us outside the industry have much more than a very superficial knowledge of it? Of all the various technologies to provide enlightenment of the curious technologist there’s one curious survivor from the earliest days of the industry that is definitely worth investigation, the jerk line oil well pump. This is a means of powering a reciprocating pump in an oil well not through an individual engine or motor as in the pump jacks, but in a system of rods transmitting power over long distances from a central location by means of reciprocating motion. It’s gloriously simple, which has probably contributed to its survival in a few small-scale oil fields over a century and a half after its invention.

Continue reading “Oil Wells Done Rube-Goldberg Style: Flatrods And Jerk Lines”

Wolfram Physics Project Seeks Theory Of Everything; Is It Revelation Or Overstatement?

Stephen Wolfram, inventor of the Wolfram computational language and the Mathematica software, announced that he may have found a path to the holy grail of physics: A fundamental theory of everything. Even with the subjunctive, this is certainly a powerful statement that should be met with some skepticism.

What is considered a fundamental theory of physics? In our current understanding, there are four fundamental forces in nature: the electromagnetic force, the weak force, the strong force, and gravity. Currently, the description of these forces is divided into two parts: General Relativity (GR), describing the nature of gravity that dominates physics on astronomical scales. Quantum Field Theory (QFT) describes the other three forces and explains all of particle physics. Continue reading “Wolfram Physics Project Seeks Theory Of Everything; Is It Revelation Or Overstatement?”

Using Valgrind To Track Down Known And Unknown Bugs In Your Code

We all know what bugs in code are. We don’t like them when they are in programs we use, and they’re even worse when they are in code which we have written. Clearly, the best code is bug-free, but how do we get there?

This isn’t a new question, of course, just one that has become ever more important as the total number of lines of code (LoC) that run modern day society keeps increasing and which is affecting even hobbyists more and more often now that everything has a microcontroller inside.

Although many of us know the smug satisfaction of watching a full row of green result markers light up across the board after running the unit tests for a project, the painful reality is that you don’t know whether the code really is functionally correct until it runs in an environment that is akin to the production environment.  Yet how can one test an application in this situation?

This is where tools like those contained in the Valgrind suite come into play, allowing us to profile, analyze and otherwise nitpick every single opcode and memory read or write. Let’s take a look, shall we?

Continue reading “Using Valgrind To Track Down Known And Unknown Bugs In Your Code”

NASA Readies New Electric X-Plane For First Flight

Since 1951, NASA (known in those pre-space days as NACA) and the United States Air Force have used the “X” designation for experimental aircraft that push technological boundaries. The best known of these vehicles, such as the X-1 and X-15, were used to study flight at extreme altitude and speed. Several fighter jets got their start as X-planes over the decades, and a number of hypersonic scramjet vehicles have flown under the banner. As such, the X-planes are often thought of as the epitome of speed and maneuverability.

So the X-57 Maxwell, NASA’s first piloted X-plane in two decades, might seem like something of a departure from the blistering performance of its predecessors. It’s not going to fly very fast, it won’t be making any high-G turns, and it certainly won’t be clawing its way through the upper atmosphere. The crew’s flight gear won’t even be anything more exotic than a polo and a pair of shorts. As far as cutting-edge experimental aircraft go, the X-57 is about as laid back as it gets.

But like previous X-planes, the Maxwell will one day be looked back on as a technological milestone of its own. Just as the X-1 helped usher in the era of supersonic flight, the X-57 has been developed so engineers can better understand the unique challenges of piloted electric aircraft. Before they can operate in the public airspace, the performance characteristics and limitations of electric planes must be explored in real-world scenarios. The experiments performed with the X-57 will help guide certification programs and government rule making that needs to be in place before such aircraft can operate on a large scale.

Continue reading “NASA Readies New Electric X-Plane For First Flight”

ReactOS: Dipping A Toe In A Millennium-era Open Source Dream

Do you remember when trying a new OS meant burning a CD? Not merely downloading an ISO and mounting it on a USB drive, but taking a circle of polycarbonate and hoping you didn’t get a buffer underrun as the file you’d spent an entire day downloading was burned onto it. A couple of decades ago that was how we’d take a look at a new Linux distro, and at the time we considered it to be nothing short of incredible that such a thing was possible. One of the ISOs I remember downloading back then was an early version of ReactOS, a project with the lofty aim of creating an open-source equivalent of Windows NT. You might think that in the nearly two decades since then it would have become an irrelevance and its contributors moved on to other work, but no. ReactOS is very much still with us, and indeed has just seen a new release. Version 0.4.13 is the latest in a long line of incremental updates, and remembering those early ReactOS ISOs when I saw their announcement, I thought I’d give it a spin. The result was both a peek at the current state of the project, and a chance to think about the place of a Windows clone in 2020. Continue reading “ReactOS: Dipping A Toe In A Millennium-era Open Source Dream”

Core Devs Say A Fond But Firm Farewell To Python 2

Saying that it was finally time for the community to bid a “fond but firm farewell to Python 2”, core developer Benjamin Peterson marked the release of Python 2.7.18 on April 20th; officially ending support for the 2.x branch of the popular programming language. It was hardly a snap decision. Python 3.0 was released all the way back in December 2008, and it was never a secret that the newer branch was not only incompatible with the earlier version, but that it would eventually superseded it to become the standard.

But migrating the incredible amount of Python code in the wild over to the latest and greatest was easier said than done. Millions upon millions of lines of code used in everything from Linux distributions to virtually every major web service needed to be reviewed and migrated over to Python 3. In many cases the changes were relatively minor, but when code is being used in mission critical applications, even the smallest of changes are often avoided unless it’s absolutely necessary. The voluntary migration took far longer than expected, and the end-of-life (EOL) for Python 2 was pushed back by years to accommodate developers who hadn’t made the necessary changes yet.

Given the somewhat fluid nature of the Python 2 EOL date, it seems fitting that this last final release would come several months after the “official” January 2020 deadline. The intention was for it to coincide with PyCon 2020, but just like so many of the events planned for the first half of the year, the in-person conference had to be canceled in favor of a virtual one due to the COVID-19 epidemic. That might have stymied the celebration somewhat, but the release of Python 2.7.18 will still be looked on as a special moment for everyone involved.

Continue reading “Core Devs Say A Fond But Firm Farewell To Python 2”

The Back And Forth Of Windshield Wipers And Patent Lawsuits

Who among us hasn’t dreamed of having some brainstorm idea, prototyping it, and then have some huge company put it into worldwide production? The problem is, that’s not really as easy as it sounds in most cases. Take the case of Robert Kearns. Never heard of him? You use the result of one of his patents pretty often; Kearns invented the intermittent windshield wiper.

If he had sold the patent to one of the big carmakers, this would be a short article. Not that he didn’t try. But it didn’t go very well and while, in the end, he prevailed, it was a very expensive victory.

Continue reading “The Back And Forth Of Windshield Wipers And Patent Lawsuits”