Robot astronaut gazing at the moon

NASA’s New Moon Missions Are Happening Really Soon

NASA first landed a human on the moon back in 1969, and last achieved the feat in December 1972. In the intervening years, there have been few other missions to Earth’s primary natural satellite. A smattering of uncrewed craft have crashed into the surface, while a mere handful of missions have achieved a soft landing, with none successful from 1976 to 2013.

However, NASA aims to resume missions to the lunar surface, albeit in an uncrewed capacity at this stage. And you won’t have to wait very long, either. The world’s premier space agency aims to once again fly to the Moon beginning in February 2022.

Continue reading “NASA’s New Moon Missions Are Happening Really Soon”

Linux Fu: Automatic Header File Generation

I’ve tried a lot of the “newer” languages and, somehow, I’m always happiest when I go back to C++ or even C. However, there is one thing that gets a little on my nerves when I go back: the need to have header files with a declaration and then a separate file with almost the same information duplicated. I constantly make a change and forget to update the header, and many other languages take care of that for you. So I went looking for a way to automate things. Sure, some IDEs will automatically insert declarations but I’ve never been very happy with those for a variety of reasons. I wanted something lightweight that I could use in lots of different toolsets.

I found an older tool, however, that does a pretty good job, although there are a few limitations. The tool seems to be a little obscure, so I thought I’d show you what makeheaders — part of the Fossil software configuration management system. The program dates back to 1993 when [Dwayne Richard Hipp] — the same guy that wrote SQLite — created it for his own use. It isn’t very complex — the whole thing lives in one fairly large C source file but it can scan a directory and create header files for everything. In some cases, you won’t need to make big changes to your source code, but if you are willing, there are several things you can do.

Continue reading “Linux Fu: Automatic Header File Generation”

A close-up view of surface-mount components on a circuit board

Smaller Is Sometimes Better: Why Electronic Components Are So Tiny

Perhaps the second most famous law in electronics after Ohm’s law is Moore’s law: the number of transistors that can be made on an integrated circuit doubles every two years or so. Since the physical size of chips remains roughly the same, this implies that the individual transistors become smaller over time. We’ve come to expect new generations of chips with a smaller feature size to come along at a regular pace, but what exactly is the point of making things smaller? And does smaller always mean better?

Smaller Size Means Better Performance

Over the past century, electronic engineering has improved massively. In the 1920s, a state-of-the-art AM radio contained several vacuum tubes, a few enormous inductors, capacitors and resistors, several dozen meters of wire to act as an antenna, and a big bank of batteries to power the whole thing. Today, you can listen to a dozen music streaming services on a device that fits in your pocket and can do a gazillion more things. But miniaturization is not just done for ease of carrying: it is absolutely necessary to achieve the performance we’ve come to expect of our devices today. Continue reading “Smaller Is Sometimes Better: Why Electronic Components Are So Tiny”

Weird Al’s Monster Battlestation Is Now Just A Reasonably Fast PC

Wanna be hackers? Code crackers? Slackers. If the vintage computing community ever chooses an official anthem, count my vote for It’s All About The Pentiums by “Weird Al” Yankovic. More than twenty years after its release, this track and its music video (with Drew Carey!) are still just as enjoyable as they ever were, with the track’s stinging barbs and computing references somehow only improving over time.

In the track, Weird Al takes on the role of ‘king of the nerds’ with his rock star-esque portrayal of a nameless personal computing legend, someone who de-fragments their hard drive “for thrills” and upgrades their system “at least twice a day”. The lyrics are a real goldmine for anyone that is a fan of 1990s computing, but what stands out to me is the absurd hardware that Weird Al’s character claims to own.

Absurd by 1990s standards, maybe. Not so much anymore. Even with the ongoing chip shortage and other logistic shortfalls, everyone now has the opportunity to start cruising cyberspace like Weird Al and truly become the “king of the spreadsheets”. However, would it have even been possible to reach these lofty computing goals at the time of the parody’s release? Let’s check out both of these threads.

Continue reading “Weird Al’s Monster Battlestation Is Now Just A Reasonably Fast PC”

Keep Calm And Hack On: The Philosophy Of Calm Technology

So much smart-tech is really kind of dumb. Gadgets intended to simplify our lives turn out to complicate them. It often takes too many “clicks” to accomplish simple tasks, and they end up demanding our attention. Our “better mousetraps” end up kludgy messes that are brittle instead of elegant and robust.

The answer might not be faster or newer technology, but a 30-year-old philosophy. Some great thinkers at Xerox PARC, the place where, among other things, the computer mouse was invented, developed principles they called Calm Technology.

Continue reading “Keep Calm And Hack On: The Philosophy Of Calm Technology”

30 Days Of Terror: The Logistics Of Launching The James Webb Space Telescope

Back during the 2019 Superconference in Pasadena, I had the chance to go to Northrop Grumman’s Redondo Beach campus to get a look at the James Webb Space Telescope. There is the high-bay class 10,000+ cleanroom in building M8, my wife and I along with fellow space nerd Tom Nardi got a chance to look upon what is likely the most expensive single object ever made. The $10 billion dollar space observatory was undergoing what we thought were its final tests before being packaged up and sent on its way to its forever home at the L2 Lagrange point.

Sadly, thanks to technical difficulties and the COVID-19 pandemic, it would be another two years before JWST was actually ready to ship — not a new story for the project, Mike Szczys toured the same facility back in 2015. But the good news is that it finally has shipped, taking the very, very slow first steps on its journey to space.

Both the terrestrial leg of the trip and the trip through 1.5 million kilometers of space are fraught with peril, of a different kind, of course, but still with plenty of chances for mission-impacting events. Here’s a look at what the priceless and long-awaited observatory will face along the way, and how its minders will endure the “30 days of terror” that lie ahead.

Continue reading “30 Days Of Terror: The Logistics Of Launching The James Webb Space Telescope”

Magnesium: Where It Comes From And Why We’re Running Out

Okay, we’re not running out. We actually have tons of the stuff. But there is a global supply chain crisis. Most of the world’s magnesium is processed in China and several months ago, they just… stopped. In an effort to hit energy consumption quotas, the government of the city of Yulin (where most of the country’s magnesium production takes place) ordered 70% of the smelters to shut down entirely, and the remainder to slash their output by 50%. So, while magnesium remains one of the most abundant elements on the planet, we’re readily running out of processed metal that we can use in manufacturing.

Nikon camera body
The magnesium-alloy body of a Nikon d850. Courtesy of Nikon

But, how do we actually use magnesium in manufacturing anyway? Well, some things are just made from it. It can be mixed with other elements to be made into strong, lightweight alloys that are readily machined and cast. These alloys make up all manner of stuff from race car wheels to camera bodies (and the chassis of the laptop I’m typing this article on). These more direct uses aside, there’s another, larger draw for magnesium that isn’t immediately apparent: aluminum production.

But wait, aluminum, like magnesium is an element. So why would we need magnesium to make it? Rest assured, there’s no alchemy involved- just alloying. Much like magnesium, aluminum is rarely used in its raw form — it’s mixed with other elements to give it desirable properties such as high strength, ductility, toughness, etc. And, as you may have already guessed, most of these alloys require magnesium. Now we’re beginning to paint a larger, scarier picture (and we just missed Halloween!) — a disruption to the world’s aluminum supply.

Continue reading “Magnesium: Where It Comes From And Why We’re Running Out”