Hackaday Links Column Banner

Hackaday Links: May 12, 2024

Don’t pack your bags for the trip to exoplanet K2-18b quite yet — it turns out that the James Webb Space Telescope may not have detected signs of life there after all. Last year, astronomers reported the possible presence of dimethyl sulfide there, a gas that (at least on Earth) is generally associated with phytoplankton in the ocean. Webb used its infrared spectrometer instruments to look at the light from the planet’s star, a red dwarf about 111 light-years away, as it passed through the hydrogen-rich atmosphere. The finding was sort of incidental to the discovery of much stronger signals for methane and carbon dioxide, but it turns out that the DMS signal might have just been overlap from the methane signal. It’s too bad, because K2-18b seems to be somewhat Earth-like, if you can get over the lack of oxygen and the average temperature just below freezing. So, maybe not a great place to visit, but it would be nice to see if life, uh, found a way anywhere else in the universe.

Attention Fortran fans: your favorite language isn’t quite dead yet. In fact, it cracked the top ten on one recent survey, perhaps on the strength of its numerical and scientific applications. The “Programming Community Index” is perhaps a bit subjective, since it’s based on things like Google searches for references to particular languages. It’s no surprise then that Python tops such a list, but it’s still interesting that there’s enough interest in a 67-year-old programming language to make it onto the list. We’d probably not advise building a career around Fortran, but you never know.

Continue reading “Hackaday Links: May 12, 2024”

Ask Hackaday: Do You Calibrate Your Instruments?

Like many of you, I have a bench full of electronic instruments. The newest is my Rigol oscilloscope, only a few years old, while the oldest is probably my RF signal generator that dates from some time in the early 1950s. Some of those instruments have been with me for decades, and have been crucial in the gestation of countless projects.

If I follow the manufacturer’s recommendations then just like that PAT tester I should have them calibrated frequently. This process involves sending them off to a specialised lab where their readings are compared to a standard and they are adjusted accordingly, and when they return I know I can trust their readings. It’s important if you work in an industry where everything must be verified, for example I’m certain the folks down the road at Airbus use meticulously calibrated instruments when making assemblies for their aircraft, because there is no room for error in a safety critical application at 20000 feet.

But on my bench? Not so much, nobody is likely to face danger if my frequency counter has drifted by a few Hz. Continue reading “Ask Hackaday: Do You Calibrate Your Instruments?”

The Great Green Wall: Africa’s Ambitious Attempt To Fight Desertification

As our climate changes, we fear that warmer temperatures and drier conditions could make life hard for us. In most locations, it’s a future concern that feels uncomfortably near, but for some locations, it’s already very real. Take the Sahara desert, for example, and the degraded landscapes to the south in the Sahel. These arid regions are so dry that they struggle to support life at all, and temperatures there are rising faster than almost anywhere else on the planet.

In the face of this escalating threat, one of the most visionary initiatives underway is the Great Green Wall of Africa. It’s a mega-sized project that aims to restore life to barren terrain.

Continue reading “The Great Green Wall: Africa’s Ambitious Attempt To Fight Desertification”

Displays We Love Hacking: LVDS And EDP

There are times when tiny displays no longer cut it. Whether you want to build a tablet or reuse some laptop displays, you will eventually deal with LVDS and eDP displays. To be more exact, these are displays that want you to use either LVDS or eDP signaling to send a picture.

Of the two, LVDS is the older standard for connecting displays, and eDP is the newer one. In fact, eDP has mostly replaced LVDS for things like laptop and tablet displays. Nevertheless, you will still encounter both of these in the wild, so let’s start with LVDS.

The name “LVDS” actually comes from the LVDS signaling standard (Low-Voltage Differential Signaling), which is a fairly generic data transfer standard over differential pairs, just like RS485. Using LVDS signaling for embedded display purposes is covered by a separate standard called FPD-Link, and when people say “LVDS”, what they’re actually talking about is FPD-Link. In this article, I will also use LVDS while actually talking about FPD-Link. Barely anyone uses FPD-Link except some datasheets, and I’ll use “LVDS” because that’s what people actually use. It’s just that you deserve to know the distinction so that you’re not confused when someone mentions LVDS when talking about, say, industrial machinery.

Both LVDS and eDP run at pretty high frequencies – they’re commonly used for color displays with pretty large resolutions, so speed can no longer be a constraint. eDP, as a successor technology, is a fair bit more capable, but LVDS doesn’t pull punches either – if you want to make a 1024 x 768 color LCD panel work, you will use LVDS, sometimes parallel RGB – at this point, SPI just won’t cut it. There’s a lot of overlap – and that’s because LVDS is basically parallel RGB, but serialized and put onto diffpairs. Let me show you how that happened, and why it’s cool.

Continue reading “Displays We Love Hacking: LVDS And EDP”

Your Open-Source Client Options In The Non-Mastodon Fediverse

When things started getting iffy over at Twitter, Mastodon rose as a popular alternative to the traditional microblogging platfrom. In contrast to the walled gardens of other social media channels, it uses an open protocol that runs on distributed servers that loosely join together, forming the “Fediverse”.

The beauty of the Fediverse isn’t just in its server structure, though. It’s also in the variety of clients available for accessing the network. Where Twitter is now super-strict about which apps can hook into the network, the Fediverse welcomes all comers to the platform! And although Mastodon is certainly the largest player, it’s absolutely not the only elephant in the room.

Today, we’ll look at a bunch of alternative clients for the platform, ranging from mobile apps to web clients. They offer unique features and interfaces that cater to different user preferences and needs. We’ll look at the most notable examples—each of which brings a different flavor to your Fediverse experience.

Continue reading “Your Open-Source Client Options In The Non-Mastodon Fediverse”

Retrotechtacular: How Not To Use Hand Tools

Whatever you’re doing with your hand tools, by the US Army’s lights, you’re probably doing it wrong. That seems to be the “Green Machine’s” attitude on pliers and screwdrivers, at least, the main stars of this 1943 War Department training film on the horrors of tool abuse.

As kitschy as the film might be, they weren’t wrong. That’s especially true about the dreaded slip-joint pliers, which seem to find their way onto everyone’s list of unloved tools and are shown being used for their true purpose — turning nuts and bolt heads from hexagons into circles. Once that gore is wrapped up, we’re treated to the proper uses of pliers, including the fascinating Bernard-style parallel jaw pliers. We can recall these beauties kicking around the bottom of Dad’s tool kit and being entranced by the mechanism used to keep the jaws parallel and amplify the force applied. Sadly, those pliers are long gone now; Tubalcain did a great review of these pliers a few years back if you need a refresher.

A selection of screwdrivers gets the same treatment, complete with dire warnings against using them as prybars and chisels. Also against the Army Way is using the wrong size screwdriver for the job, lest you strip the head of the screw or break the tool itself. It has to be said that the Plomb Tool Company of Los Angeles, which produced the film, made some fantastic-looking screwdrivers back in the day. The square shanks on some of those straight screwdrivers are enormous, and the wooden handles look so much more comfortable than the greebled-up plastic nonsense manufacturers seem to favor these days. Also interesting is the reference to the new-fangled Phillips screw, not to mention the appearance of a Yankee-style spiral ratcheting screwdriver, another of Dad’s prized acquisitions that thankfully is still around to this day.

What strikes us about these military training films is how many of them were produced. No subject seemed too mundane to get a training film made about it, and so many were made that one is left wondering how there was any time left for soldiering after watching all these films. But really, it’s not much different today, when we routinely pull up a random YouTube video to get a quick visual demo of how to do something we’ve never tried before. The medium may have changed, but visual learning is still a thing.

Continue reading “Retrotechtacular: How Not To Use Hand Tools”

Retrogadgets: The Ageia PhysX Card

Old computers meant for big jobs often had an external unit to crunch data in specific ways. A computer doing weather prediction, for example, might have an SIMD (single instruction multiple data) vector unit that could multiply a bunch of numbers by a constant in one swoop. These days, there are many computers crunching physics equations so you can play your favorite high-end computer game. Instead of vector processors, we have video cards. These cards have many processing units that can execute “kernels” or small programs on large groups of data at once.

Awkward Years

However, there was that awkward in-between stage when personal computers needed fast physics simulation, but it wasn’t feasible to put array processing and video graphics on the same board. Around 2006, a company called Ageia produced the PhysX card, which promised to give PCs the ability to do sophisticated physics simulations without relying on a video card.

Keep in mind that when this was built, multi-core CPUs were an expensive oddity and games were struggling to manage everything they needed to with limited memory and compute resources. The PhysX card was a “PPU” or Physics Processor Unit and used the PCI bus. Like many companies, Ageia made the chips and expected other companies — notably Asus — to make the actual board you’d plug into your computer.

Continue reading “Retrogadgets: The Ageia PhysX Card”