Nature Vs Nurture In Beethoven’s Genome

When it comes to famous musicians, Beethoven is likely to hit most top ten charts. Researchers recently peered into his genome to see if they could predict his talent by DNA alone.

Using a previously-identified polygenetic index (PGI) for musical talent, which finds the propensity of certain genes to influence a given trait after a genome-wide association study (GWAS), the researchers were able to compare samples of Beethoven’s DNA to that of two separate population studies with known musical achievement data.

Much to the relief of those who saw Gattaca as a cautionary tale, the scientists found that Beethoven scored only around the tenth percentile for the ability to keep a beat according to his genetic markers. According to the researchers, using genetic markers to predict abilities of an individual can lead to incorrect conclusions, despite their usefulness for group level analyses.

Curious about more musical science? How about reconstructing “Another Brick in The Wall (Part I)” from brainwaves or building a Square Laser Harp?

This Week In Security: The Time Kernel.org Was Backdoored And Other Stories

Researchers at Eset have published a huge report on the Ebury malware/botnet (pdf), and one of the high profile targets of this campaign was part of the kernel.org infrastructure. So on one hand, this isn’t new news, as the initial infection happened back in 2011, and was reported then. On the other hand, according to the new Eset report, four kernel.org servers were infected, with two of them possibly compromised for as long as two years. That compromise apparently included credential stealing or password cracking.

The Ebury attackers seem to gain initial access through credential stuffing — a huge list of previously captured credentials are tried one at a time. However, once the malware has a foothold in the network, a combination of automated and manual steps are taken to move laterally. The most obvious is to grab any private SSH keys from that system, and try using them to access other machines on the local network. Ebury also replaces a system library that gets called as a part of sshd, libkeyutils.so. This puts it in a position to quietly capture credentials.

For a targeted attack against a more important target, the people behind Ebury seem to go hands-on-keyboard, using techniques like Man-in-the-Middle attacks against SSH logins on the local network using ARP spoofing. In this case, someone was doing something nasty.

And that doesn’t even start to cover the actual payload. That’s nasty too, hooking into Apache to sniff for usernames and passwords in HTTP/S traffic, redirecting links to malicious sites, and more. And of course, the boring things you might expect, like sending spam, mining for Bitcoin, etc. Ebury isn’t exactly easy to notice, either, since it includes a rootkit module that hooks into system functions to hide itself. Thankfully there are a couple of ways to get a clean shell to look for the malware, like using systemd-run or launching a local shell on the system console.

And the multi-million dollar question: Who was behind this? Sadly we don’t know. A single arrest was made in 2014, and recovered files implicated another Russian citizen, but the latest work indicates this was yet another stolen identity. The rest of the actors behind Ebury have gone to great lengths to remain behind the curtain.

Continue reading “This Week In Security: The Time Kernel.org Was Backdoored And Other Stories”

Betta Aims To Bring Wire EDM To The Desktop

Just as practical nuclear fusion has been “only 20 years away” for the last 80 years or so, the promise of electrical discharge machining (EDM) in the home shop seems to always be just around the corner. It’s hard to understand why this is so — EDM is electrically and mechanically more complicated than traditional subtractive manufacturing techniques, so a plug-and-play EDM setup seems always just out of reach.

Or perhaps not, if this 3D printed 4-axis wire EDM machine catches on. It comes to us from [John] at Rack Robotics and is built around the Powercore EDM power supply that we’ve previously featured. Since wire EDM is a process that requires the workpiece to be completely immersed in a dielectric solution, the machine, dubbed “Betta,” is designed to fit inside a 10-gallon aquarium — get it?

A lot of thought went into keeping costs down. for example, rather than use expensive sealed motors, [John] engineered the double CoreXY platform to keep the motors out of the water bath using long drive shafts and sealed bearings. The wire handling mechanism is also quite simple, at least compared to commercial WEDM machines, and uses standard brass EDM wire. The video below shows the machine going to town of everything from aluminum to steel, with fantastic results on thin or thick stock.

While Rack Robotics is going to be offering complete kits, they’re also planning on open-sourcing all the build files. We’re eager to see where this leads, and if people will latch onto EDM with the same gusto they did with 3D printing.

Continue reading “Betta Aims To Bring Wire EDM To The Desktop”

Running Four Brushless Motors With A Single Pi Pico

Sometimes, you have to drive four motors, and you need to do so with a certain level of control. You could throw a lot of parts at the problem, but you don’t necessarily have to. As [Shaun Crampton] demonstrates, you can run four brushless DC motors with a single Pi Pico.

[Shaun] set about developing a brushless motor controller from scratch with the Pico, relying on its PIO hardware and the TI DRV8313 — a handy three phase motor driver. Before he knew it, he was implementing field oriented control (FOC) in MicroPython, only to find that it was a little too slow for proper motor control work. He soon switched to C for the lower overheads, and was readily driving a brushless motor with his own code. Before long, he’d implemented torque limiting and PID speed control. He was even able to optimize things to the point where he had four motors hanging off a single Pi Pico, complete with Hall sensors for feedback.

The full story is well worth reading, as it goes from “Hello, World” all the way to the end of the project. If you’ve never experienced the joy of your own code getting a motor to spin, you might enjoy following in [Shaun’s] footsteps. Files are on GitHub for the curious.

We’ve seen a lot of motor controllers around here, many of which draw heavily from other projects online. It’s a great way to learn the basics of what is a very well established field. Meanwhile, if you’re cooking up your own project in this space, do drop us a line!

Customizable Bird Clock Sings The Hours By

For those looking to build their own clocks, one of the easiest ways to get started is with a pre-built module that uses a simple quartz oscillator and drives a set of hands. This generally doesn’t allow for much design of the clock besides the face, and since [core weaver] was building a clock that plays bird songs, a much more hackable clock driver was needed to interface with the rest of the electronics needed to build this project.

The clock hands for this build are driven by a double stepper motor which controls an hour and minute hand coaxially but independently. Originally an H-bridge circuit was designed for driving each of the hands but they draw so little current in this configuration that they could be driven by the microcontroller directly. A DS3231 clock is used for timekeeping connected to an ATMega128a which controls everything else. At the start of each hour the clock plays a corresponding bird song by communicating with an mp3 module, and a remote control can also be used to play the songs on demand.

Bird clocks are not an uncommon thing to find off the shelf, but this one adds a number of customizations that let it fly above those offerings, including customizing the sounds that play on the hour and adding remote control capabilities, a lithium battery charging circuit, and a number of other creature comforts. If you’re looking for even more unique bird clock designs this binary bird clock might fit the bill.

Continue reading “Customizable Bird Clock Sings The Hours By”

Is The Frequency Domain A Real Place?

When analyzing data, one can use a variety of transformations on the data to massage it into a form that works better to tease out the information one is interested in. One such example is the application of the Fourier transform, which transforms a data set from the time domain into the frequency domain. Yet what is this frequency domain really? After enticing us to follow the white rabbit down a sudden plummet into the intangible question of what is and what is not, [lcamtuf] shows us around aspects of the frequency domain and kin.

One thing about the (discrete) Fourier transform is that it is excellent at analyzing data that consists out of sinewaves, such as audio signals. Yet when using the Fourier transform for square waves, the resulting output is less than useful, almost as if square waves are not real. Similarly, other transforms exist which work great for square waves, but turn everything else into meaningless harmonics. Starting with the discrete cosine transform (DCT), this gets us into Walsh and Hadamard matrices and the Walsh-Hadamard Transform (WHT), and their usage with transforming data from the time into the frequency domain.

Ultimately it would seem that the frequency domain is as real as it needs to be, albeit that its appearance is wholly dependent on the algorithm used to create it, whether this the DFT, DCT, WHT or something else entirely.

MIDI Spoon Piano Is Exactly What You Think It Is

Pianos traditionally had keys made out of ivory, but there’s a great way to avoid that if you want to save the elephants. You can build a keyboard using spoons, as demonstrated by [JCo Audio]. 

The build relies on twelve metal spoons to act as the keys of the instrument. They’re assembled into a wooden base in a manner roughly approximating the white and black keys of a conventional piano keyboard, using 3D-printed inserts to hold them in place. They’re hooked up to a Raspberry Pi Pico via a Pico Touch 2 board, which allows the spoons to be used as capacitive touch pads. Code from [todbot] was then used to take input from the 12 spoons and turn it into MIDI data. From there, hooking the Pi Pico up to a PC running some kind of MIDI synth is enough to make sounds.

It’s a simple build, but a functional one. Plus, it lets you ask your friends if they’d like to hear you play the spoons. The key here is to make a big show of hooking your instrument up to a laptop while explaining you’re not going to play the spoons a la the folk instrument, but you’re going to play a synth instead. Then you should use the spoon keyboard to play emulated spoon samples anyway. It’s called doubling down. Video after the break.

Continue reading “MIDI Spoon Piano Is Exactly What You Think It Is”