A DNA-Based Computer Calculates Square Roots Up To 900

While DNA-based computing may not be taking over silicon quite so soon, there is progress in the works. In a paper published by Small, researchers from the University of Rochester demonstrate a molecular computing system capable of calculating square roots of integers up to 900. The computer is built from synthetic biochemical logic gates using hybridization, a process where two strands of DNA join to form double-stranded DNA, and strand displacement reactions.

DNA-based circuits have already been shown to implement complex logic functions, but most existing circuits prior to the recent paper were unable to calculate square root operations. This required 4-bit binary numbers – the new prototype implements a 10-bit square root logic circuit, operating up to the decimal integer 900.

The computer uses 32 strands of DNA for storing and processing information. The process uses three modules, starting off with encoding a number on the DNA. Each combination is attached to a florescent marker, which changes signal during hybridization in the second module. The process for calculating the square root controls the signals, with the results deducted from the final color according to a threshold set in the third module.

We’re beginning to see the end of Moore’s Law approaching, with companies like Intel and AMD struggling to shrink transistors 10 nm wide. Nevertheless, with DNA molecules still about 10 time smaller than the best transistors today and DNA computing systems continuing to gain in sophistication, biochemical circuits could potentially be holding solutions to increasing the speed of computing beyond silicon computing.

Take Security Up A Notch By Adding LEDs

All computers are vulnerable to attacks by viruses or black hats, but there are lots of steps that can be taken to reduce risk. At the extreme end of the spectrum is having an “air-gapped” computer that doesn’t connect to a network at all, but this isn’t a guarantee that it won’t get attacked. Even transferring files to the computer with a USB drive can be risky under certain circumstances, but thanks to some LED lights that [Robert Fisk] has on his drive, this attack vector can at least be monitored.

Using a USB drive with a single LED that illuminates during a read OR write operation is fairly common, but since it’s possible to transfer malware unknowingly via USB drives, one that has a separate LED specifically for writing operations will help alert a user to any write operations that might be trying to fly under the radar. A recent article by [Bruce Schneier] pointed out this flaw in USB drives, and [Robert] was up to the challenge. His build returns more control to the user by showing them when their drive is accessed and in what way, which can also be used to discover unique quirks of one’s chosen operating system.

[Robert] is pretty familiar with USB drives and their ups and downs as well. A few years ago he built a USB firewall that was able to decrease the likelihood of BadUSB-type attacks. Be careful going down the rabbit hole of device security, though, or you will start seeing potential attacks hidden almost everywhere.

Hackaday Links Column Banner

Hackaday Links: January 12, 2020

Nothing ruffles feathers more reliably than a software company announcing changes to its licensing terms. And so it goes with AutoDesk, who recently announced that Eagle would no longer be available as a standalone product and would now be bundled with Fusion 360. It looks like there’s still a free option for personal use, which is good even if it limits designs to two schematic sheets, two board layers, and 80 cm² board area. And perhaps this means there will be a Linux version of Fusion 360 too.

With the Y2K bug now twenty years in the rearview mirror, it’s entertaining to look back at that time and all the hype that surrounded it. Usually we talk about the effort that went into fixing vulnerable systems, but do we ever talk about the recipes of Y2K? The Advent of Computing podcast recently did an episode that gives a great background of the Y2K bug, plus discusses what people were planning to do for food after the bug detonated all the world’s nukes when the new millennium rolled around. Pantries stocked with canned goods, wood stoves to cook on and keep warm by when the powerplants all self-destructed on January 1 – it was all part of the vibe at the time.

We suppose when you put 60 birds into orbit at a time, it doesn’t take long to make a sizable impact on the planet’s constellation of satellites. Still, it came as a surprise that SpaceX was able to claim the title of world’s largest commercial satellite constellation after just three Starlink launches. We guess the operative term is “commercial” here, since some governments probably have far more satellites in service than the 182 Starlinks that have been launched so far. That’s a far cry from the 11,000 plus eventually predicted to form the Starlink constellation, but it’s already having an impact.

As a proud Idahoan, I feel personally triggered by what’s billed as the world’s first smart potato. True, I live in the part of the state with the trees and the bears, not the spuds, but still, it’s right there on our license plates. While clearly tongue-in-cheek, the Smart Potato pokes fun of our official State Vegetable, which I find beyond the pale. Seems like anything can be crowdfunded these days.

Speaking of which, check out Kohler’s Alex-connected smart toilet. For a mere $7,000 you can have a toilet that does everything a regular, boring old toilet does, but with lights. In fairness, the value of a good bidet can’t be overstated, but the ability to talk to your toilet and have it talk back seems a little on the iffy side. Perhaps teaming it up with the Charmin Poop-Bot, a self-balancing robot that connects to your phone and brings you a roll of toilet paper if you find yourself without a square to spare.

And finally, drummer Neil Peart died this week at the far-too-young age of 67. While there’s probably a fair number of Rush fans in the core hackaday demographic, there’s no hack or other tie-ins here. I’m just sad about it and wanted to share the news.

DIY Ionizer Clears The Air On A Budget

Have you ever had a good, deep breath of the air near a waterfall, or perhaps after a thunderstorm? That unmistakably fresh smell is due to ionized air, specifically negative ions, and many are the claims concerning their health benefits. A minor industry has sprung up to capitalize on the interest in ionized air, and while [Amaldev] wanted to clean up the Mumbai air coming into his home, he didn’t want to pay a lot for a commercial unit. So he built his own air ionizer for only about $10.

When [Amaldev] dropped this in the Hackaday tip line, he indicated that he’d been taking some heat for the design from Instagram followers. We imagine a fair number of the complaints stem from the cluster of sewing needles that bristle from one end of the PCB and are raised to 6,000 volts by a fifteen-stage Cockcroft-Walton multiplier. That’s sure to raise eyebrows, or possible the hair on one’s head if you happen to brush by the emitters. Or perhaps [Amaldev]’s critics are dubious about the benefits of ionized air; indeed, some commenters on the video below seem to think that the smoke in the closed jar was not precipitated by the ion stream as [Amaldev] claims, but rather somehow was settled by heat or some other trickery.

Neither of those bothers us as much as the direct 230-volt mains connection, though. We’d have preferred to see at least an isolation transformer in there, or perhaps a battery-powered flyback circuit to supply the input to that multiplier. Still, the lesson on cascade multipliers was welcome, and we found the smoke-clearing power of ionized air pretty amazing.

Continue reading “DIY Ionizer Clears The Air On A Budget”

Awakening A Dragon From Its Slumber

For all the retrocomputing fun and games we encounter in our community, there are a few classic microcomputers that rarely receive any attention. Usually this is because they didn’t sell well and not many have survived, or were simply underwhelming machines that haven’t gathered a huge following today. One that arguably falls within both camps is the Dragon 32, a machine best known in those pre-Raspberry Pi days for being the only home computer manufactured in Wales, and for being nearly compatible with the Tandy Color Computer due to both machines’ designs coming from the same Motorola data sheet. Repeat restorer of retrocomputers, [Drygol], has given a Dragon 32 the full restoration and upgrade treatment, offering us a rare chance to take a look at this computer.

The Dragon arrived with a pile of contemporary books and software, but no power supply. A significant modification was made to the internal PSU board then to allow it to work with an Amiga unit, and the black-on-green Dragon text came up on the TV screen. Recapping and a replacement for a faulty op-amp fixed poor video quality, then it was time for a 64K memory upgrade with some neatly done bodge-wiring. Finally there’s a repair to the very period-looking analogue joystick, and a home-made interface for the more common Atari/Amiga style sticks.

The Dragon may be only a footnote in the history of 8-bit home computing, but with its good expandability and decent quality keyboard it perhaps deserved to reach more homes than it did. This appears to be the first time a Dragon has featured here, though its Tandy CoCo cousin has made it into a few stories.

Maze Solving Via Text Editing

Linux scripters usually know about sed — the stream editor. It has a simple job: transform text as it whizzes from input to output. So if you wanted to solve a maze, this wouldn’t be the tool you’d think to use, right? Well, if you were [xsot], you’d disagree.

You build a maze using spaces for empty space and # for walls. There’s an S to mark the start position and an E to mark the end. Of course, the maze can also contain newlines. The sed script does an amazing job of solving the problem.

Continue reading “Maze Solving Via Text Editing”

Generating Beetles From Public Domain Images

Ever since [Ian Goodfellow] and his colleagues invented the generative adversarial network (GAN) in 2014, hundreds of projects, from style transfers to poetry generators, have been produced using the concept of contesting neural networks. Unlike traditional neural networks, GANs can generate new data that fits statistically within the same set as the training set.

[Bernat Cuni], the one-man design team behind [cunicode] came up with the idea to generate beetles using this technique. Inspired by material published on Machine Learning for Artists, he decided to deploy some visual experiments with zoological illustrations. The training data was found from a public domain book hosted at archive.org, found through the Biodiversity Heritage Library. A combination of OpenCV and ImageMagick helped with individually extracting illustrations to squared images.

[Cuni] then ran a DCGAN with the data set, generating the first set of quasi-beetles after some tinkering with epochs and settings. After the failed first experiment, he went with StyleGAN, setting up a machine at PaperSpace with 1 GPU and running the training for >3 days on 128 px images. The results were much better, but fairly small and the cost of running the machine was quite expensive (>€125).

Given the success of the previous experiment, he decided to transfer over to Google CoLab, using their 12 hours of K80 GPU per run for free to generate some more beetles. With the intent on producing more HD beetles, he used Runway trained on 1024 px beetles, discovering much better results after 3000 steps. The model was moved over to Google CoLab to produce HD outputs.

He has since continued to experiment with the beetles, producing some confusing generated images and fun collectibles.

Continue reading “Generating Beetles From Public Domain Images”