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.

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”

This Artist Drags His Feet Across Sand And Snow

You may have seen Simon Beck’s work a few years back. The snow artist, known for creating large-scale works of art with nothing but snowshoes, has been creating geometrically inspired fractals and mathematical forms for years. An orienteer and map-maker by day, he typically plans out his works in advance and chooses sites based on their flat terrain. The lack of slopes prevents skiers from traversing the area beforehand and helps with measuring the lines needed to create the drawing.

He starts off by measuring the distance he has to be from the center by using a compass and walking in a straight line towards a point in the distance, making curves based on relative position to other lines. Once the primary lines are made, he measures points along the way using pace counting and joins secondary lines by connecting the points. The lines are generally walked three times to solidify them before filling in the shaded areas. The results are mesmerizing.

He has since expanded to sand art, using the same techniques that gained him fame in ski resorts and national parks on the sandy shores. Unfortunately, tidal patterns, seaweed, and beach debris make it slightly harder to achieve pristine conditions, but he has managed to create some impressive works of art nonetheless.

Continue reading “This Artist Drags His Feet Across Sand And Snow”

An Arduino-Based Flute Playing Machine

It’s one thing to be able to transcribe music from a flute, and it’s another to be able to make a flute play pre-written music. The latter is what [Abhilash Patel] decided to pursue in the flute player machine, an Arduino-based project that uses an air flow mechanism and PVC pipes to control the notes produced by a makeshift flute. It’s currently able to play 17 notes, just over two octaves starting from the lowest frequency of E.

In order to play songs, the tones have to either be directly coded and uploaded to the Arduino, composed with a random note generator, or detected from a microphone. While a real flute can be used for the machine, [Patel] uses a PVC flute, constructed with some knowledge of flute playing.

The resonant frequency is based on the effective length, hole sizes, and pipe diameter, so it is fairly difficult to correctly tune a homemade flute. Nevertheless, calculating the length as c/2f where c is the speed of sound (~345 m/s) and f is the frequency of the note can help with identifying the location of the holes. [Patel] cut the PVC pipe and sealed off one end, drilling a blowing hole at 1.5 x the pipe diameter. After playing the flute, the end of the pipe was filled until the frequency exactly matched the desired note.

The hole covering uses cuttings of pipe attached to a cable connecting to a servo. The motors are isolated inside a box to keep the wires clear and area all able to be powered with 5 V. As for the software, the code is primarily used to control when the fan is blowing and which holes are covered to produce a note.

Listen to the flute play “My Heart Will Go On” from Titanic in the video below. Now the next step might just be making the flute playing machine automatically play sheet music – imagine the possibilities!

Continue reading “An Arduino-Based Flute Playing Machine”

Building A Real Wooden Table Saw

A table saw is one of those tools that aren’t strictly necessary to have, but immensely helpful if you do happen to have one around. The folks at [I Build It] have made a three part series that features a homemade table saw build, so you can finally get around to adding one to your makerspace.

The build uses a real table saw arbor and is made from Baltic birch plywood and solid wood, with some plastic sheets for the trunnions and top. The blade is housed in a blade lift made out wooden panels with a pivot point and slot for the lift mechanism. Bearings allow the blade the freedom of movement, while a curved cutout allows it to stay flat against the wall of the slot while the blade lift mechanism moves.

Meanwhile a reused motor from a previous table saw is dusted, cleaned, and rewired to run in reverse. While most table saws only need two trunnions, a third is used for supporting the motor, since it has to move with the lift and tilt. Once the lift/tilt mechanism is complete, the frame for the table saw is more straightforward, with many steps involving clamping, measuring, cutting, fitting, and painting the assembly. For the final few steps, a switched is mounted outside the table saw in a small box that connected to the power supply and motor, as well as a shop vac for handling dust collection from the saw. While the enclosure isn’t a metal box, as long as the connections are secured properly the wires shouldn’t come loose.

If you want to see other examples of homemade table saws, check out this teeny tiny saw and this kid-friendly table saw build.

Continue reading “Building A Real Wooden Table Saw”

This Ugly Christmas Sweater Can Set You On Fire

While Christmas may have just passed, there’s just enough time left in winter to justify wearing your ugly Christmas sweaters for a few more days. If you’re not one of the lucky ones with an old sweater from Grandma, you can still turn your least favorite sweater into the most epic flame-throwing Christmas sweater there ever was.

[JAIRUS OF ALL], maker of explosive and other dangerous ideas, came up with a DIY ugly Christmas sweater that shoots flames on command. In order to produce the flame-throwing effect, he uses piping from a fish tank airline hose with a T connector attached to one end and epoxied to the middle of the sweater. The piping runs down the sweater to a can of butane fuel that he can control from the nozzle. Once the fuel is being released, he uses a lighter to initiate the flames from the sweater.

The flames are quite impressive, so definitely use caution if you intend to replicate this build in any way. It would be helpful to have a friend with a CO2 fire extinguisher nearby as well.

For a less life-threatening build, fellow builder [Price] created a Christmas tree-themed sweater lined with LEDs and USB-powered figurines, connected to a power supply in his pocket.

Continue reading “This Ugly Christmas Sweater Can Set You On Fire”

Building A Low-Tech Website For Energy Efficiency

In an age of flashy jQuery scripts and bulky JavaScript front-end frameworks, loading a “lite” website is like a breath of fresh air. When most of us think of lightweight sites, though, our mind goes to old-style pure HTML and CSS sites or the intentionally barebones websites of developers and academics. Low-tech Magazine, an intentionally low-tech and solar-powered website, manages to incorporate both modern web aesthetics and low-tech efficiency in one go.

Rather than hosting the site on data centers – even those running on renewable power sources – they have a self-hosted site that is run on solar power, causing the site to occasionally go off-line. Their model contrasts with the cloud computing model, which allows more energy efficiency at the user-side while increasing energy expense at data centers. Each page on the blog declares the page size, with an average page weight of 0.77 MB, less than half of the average page size of the top 500,000 most popular blogs in June 2018.

Some of the major choices that have limited the size of the website include building a static site as opposed to a dynamic site, “dithering” images, sparing a logo, staying with default typefaces, and eliminating all third-party tracking, advertising services, and cookies. Their GitHub repository details the front-end decisions  including using unicode characters for the site’s logo rather than embedding an SVG. While the latter may be scalable and lightweight in format it requires distribution to the end-user, which can involve a zipped package with eps, ai, png, and jpeg files in order to ensure the user is able to load the image.

As for the image dithering, the technique allows the website to maintain its characteristic appearance while still minimizing image quality and size. Luckily for Low-tech Magazine, the theme of the magazine allows for black and white images, suitable for dithering. Image sprites are also helpful for minimizing server requests by combining multiple small images into one. Storage-wise, the combined image will take up less memory and only load once.

There are also a few extraneous features that emphasize the website’s infrastructure. The background color indicates the capacity of the solar-charged battery for the website’s server, while other stats about the server’s location (time, sky conditions, forecast) also help with making the website availability in the near future more visible. Who knows, with the greater conscience on environmental impact, this may be a new trend in web design.