On Unix — the progenitor of Linux — there was /bin/sh. It was simple, by comparison to today’s shells, but it allowed you to enter commands and — most importantly — execute lists of commands. In fact, it was a simple programming language that could make decisions, loop, and do other things to allow you to write scripts that were more than just a list of programs to run. However, it wasn’t always the easiest thing to use, so in true Unix fashion, people started writing new shells. In this post, I want to point out a few shells other than the ubiquitous bash, which is one of the successors to the old sh program.
Since the 7th Edition of Unix, sh was actually the Bourne shell, named after its author, Stephen Bourne. It replaced the older Thompson shell written in 1971. That shell had some resemblance to a modern shell, but wasn’t really set up for scripting. It did have the standard syntax for redirection and piping, though. The PWB shell was also an early contender to replace Thompson, but all of those shells have pretty much disappeared.
You probably use bash and, honestly, you’ll probably continue to use bash after reading this post. But there are a few alternatives and for some people, they are worth considering. Also, there are a few special-purpose shells you may very well encounter even if your primary shell is bash.
As part of an investigation into opposition to 5G mobile phone networks in the English town of Glastonbury the BBC reporter [Rory Cellan-Jones] shared details of a so-called 5G protection device that was advertised as casting a bubble of 5G-free space around its owner. This set [The Quackometer] writing, because as part of his probing into the world of snake-oil, he’s bought just such a unit and subjected it to a teardown.
What he has is a plastic project box with a graphic on top, a switch and green LED on the side, and a battery compartment on its rear. Opening the battery compartment reveals a standard 9 V alkaline cell, but the real interest comes when the cover is removed. There is a copper cylinder with a coil of wire round it, though the wires from the coil to the battery have been cut. The active part of the device is simply a battery powering an LED through a switch, as he puts it the device is a £50 ($61) poor quality torch (flashlight). Of more interest is the copper cylinder, which he identifies as a short piece of copper water pipe with two end caps. He doesn’t open it up, leaving us to expect that whatever mystical component deals with the RF must be concealed within it. This is not the usual Hackaday fare, but we know our readers are fascinated by all new technologies and will provide plenty of speculation as to how it might work in the comments.
The BBC story is worth a read to give a little background. If you are a non-Brit and you have heard of Glastonbury it is probably for the famous summer music festival held on a neighbouring farm, but the town is also famous for its connections with Arthurian legend and in recent decades for having become a centre for New Age mysticism. It has also become something of a hotbed of activism against the spread of 5G mobile networks, and has made the news this week because of concerns over the impartiality of a report condemning the technology released by its local government. If you have an interest in the 5G saga then brace yourselves for this document being used to lend a veneer of official credibility.
We’ve spent a while covering 5G issues, and given that some aspects of the story are shaping up to be a gift to technical journalists that keeps on giving, no doubt we’ll bring you more in due course. Devices such as the one featured here could even supplant audiophile products as a source of technical wonderment!
If you haven’t heard from other websites yet, earlier this year a leak of various Nintendo intellectual properties surfaced on the Internet. This included prototype software dating back to the Game Boy, as well as Verilog files for systems up to the Nintendo 64, GameCube and Wii. This leak seems to have originated from a breach in the BroadOn servers, a small hardware company Nintendo had contracted to make, among other things, the China-only iQue Player.
So, that’s the gist of it out of the way, but what does it all mean? What is the iQue Player? Surely now that a company’s goodies are out in the open, enthusiasts can make use of it and improve their projects, right? Well, no. A lot of things prevent that, and there’s more than enough precedent for it that, to the emulation scene, this was just another Tuesday.
The MIT Media Lab’s Open Agriculture Initiative (OpenAg) promised to revolutionize urban farming with their Food Computers: essentially miniature automated gardens that could be installed in racks to maximize growing space. Each unit would be provided with a “Recipe” that allowed it to maintain the ideal environmental conditions for the species it contained, which meant that even the novice gardener to produce a bumper crop no whether they lived in the Arctic Circle or the Sahara.
With such lofty goals, success certainly wasn’t assured. But we still didn’t expect to hear that the program had to be permanently closed after a string of startling accusations came to light. From engaging in scientific dishonesty to setting off a minor ecological disaster, the story just gets worse and worse. Who could have imagined that one day we’d have to report on an open source project having direct ties to Jeffrey Epstein?
Food Computer v3.0
According to reports, MIT Media Lab Director Joichi Ito and OpenAg principal researcher Caleb Harper attempted to secure $1.5 million in funding for the program during a 2017 meeting with the disgraced financier. Epstein apparently wasn’t impressed by what he saw, and no money ever changed hands. Given the information we now have about the project, this might actually be the least surprising part of the story.
It has since come to light that the Food Computers never worked consistently, and indeed never made it past the prototype stage. This despite the fact that Harper claimed that functional units had already been deployed to refugee camps during presentation to potential investors. A scientist working with the project has even come forward with claims that staff were instructed to place plants brought from local garden centers into the prototype Food Computers prior to tours of the lab so visitors would think they had been grown in the devices.
A former researcher working on the OpenAg program, Babak Babakinejad, also went public with his concerns over the environmental impact of dumping waste water from the Food Computers. The lab had a permit to pump nitrogen-infused water into an underground disposal well, but according to Babakinejad, internal testing showed the nitrogen levels in the water would occasionally top 20 times the stated limit. After his concerns were ignored by Harper and other MIT staff, he eventually took his concerns directly to the Massachusetts Department of Environmental Protection which led to an investigation and ultimately a fine of $25K.
We first covered the Open Agriculture Initiative back in 2016, and readers expressed doubts about the concept even then. While we certainly don’t relish making an update like this about a project we’ve featured, it’s an important reminder that honesty and integrity can’t take a backseat to technical achievement.
While production of the Tesla Cybertruck won’t start production until 2021 (at the earliest), you can always try to build your own. Unless you have a really big spare parts drawer, though, it probably won’t be full sized, but you can at least build a model if you have a shop as well-stocked as [Emiel]. He took some time to build a model cybertruck out of a single sheet of aluminum. (Video, embedded below. You might want to turn on subtitles.)
This project is a great example of the fact that some projects that seem simple on the surface require some specialized tools to get just right. To start, the aluminum sheet was cut with a laser to get into the appropriate shape and include details like windows, and the bending points were marked with an engraver to help the bending process along. The one tool that [Emiel] was missing was a brake, but he got great results with a set of metal bending pliers.
Finishing the model didn’t go particularly smoothly, either. He had planned to braze the metal together, but the heat required kept warping the body panels. The solution was to epoxy it together and sand down the excess, and the results are hopefully stronger than brazing would have been since he added a cloth to the epoxy for extra strength. The windows are made from polycarbonate (and didn’t break during the durability test), and we hope that when [Emiel] is ready to put in a motor he uses one of his custom-built electric motors. Continue reading “The Next Best Thing To A Cybertruck”→
It’s said that imitation is the sincerest form of flattery. Sure, there are some who might simply sugarcoat blatant plagiarism with fancy quotes, but there are still cases that come from well-intended, genuine admiration. The Nixie tube with its ember-like glow is a component that definitely gets a lot of such admiration, and being a fond LED enthusiast, [tuenhidiy] saw a perfect opportunity to imitate them with a RGB LED Matrix and build a virtual Nixie clock from it.
What may sound like just displaying images of Nixie tubes on a LED matrix, is actually exactly that. Using the UTFT library and converter, [tuenhidiy] turned pictures of individually lit-up Nixie tube digits into arrays of 16bit RGB values, and shows the current time on an ESP32-controlled 64×64 matrix with them. Providing two different image sizes, you can either place two tubes next to each other, or in a 3×2 arrangement, and of course have plenty of flexibility for future extensions. In the demo video after the break, you can see the two options in action while displaying both the full time, and only the seconds.
Unfortunately, it’s always difficult to judge an LED project through the lens of a camera, especially when looking for the characteristic color of a Nixie tube, but we take [tuenhidiy]’s word that it resembles it a lot better in reality. On the other hand, the pixelated look certainly adds its own charm, so you might as well go completely overboard with the colors — something we’ve seen with a different LED-themed Nixie alternative a little while back.
If you spent the 1970s obsessively browsing through the Radio Shack catalog, you probably remember the DX-160 shortwave receiver. You might have even had one. The radio looked suspiciously like the less expensive Eico of the same era, but it had that amazing-looking bandspread dial, instead of the Eico’s uncalibrated single turn knob number 1 to 10. Finding an exact frequency was an artful process of using both knobs, but [Frank] decided to refit his with a digital frequency display.
Even if you don’t have a DX-160, the techniques [Frank] uses are pretty applicable to old receivers like this. In this case, the radio is a single conversion superhet with a variable frequency oscillator (VFO), so you need only read that frequency and then add or subtract the IF before display. If you can find a place to tap the VFO without perturbing it too much, you should be able to pull the same stunt.