Ask Hackaday: What Do You Do When You Can’t Solder?

Ah, soldering. It’s great for sticking surface mount parts to a PCB, and it’s really great for holding component legs in a plated through-hole. It also does a pretty great job of holding two spliced wires together.

With that said, it can be a bit of a fussy process. There are all manner of YouTube videos and image tutorials on the “properest” way to achieve this job. Maybe it’s the classic Lineman’s Splice, maybe it’s some NASA-approved method, or maybe it’s one of those ridiculous ones where you braid all the copper strands together, solder it all up, and then realize you’ve forgotten to put the heat shrink on first.

Sure, soldering’s all well and good. But what about some of the other ways to join a pair of wires?

Continue reading “Ask Hackaday: What Do You Do When You Can’t Solder?”

The Trans-Harmonium Is A Strange Kind Of Radio-Musical Instrument

Pianos use little hammers striking taut strings to make tones. The Mellotron used lots of individual tape mechanisms. Meanwhile, the Trans-Harmonium from [Emily Francisco] uses an altogether more curious method of generating sound — each key on this keyboard instrument turns on a functional clock radio.

Electrically, there’s not a whole lot going on. The clock radios have their speaker lines cut, which are then rejoined by pressing their relevant key on the keyboard. As per [Emily]’s instructions for displaying the piece, it’s intended that the radio corresponding to C be tuned in to a local classical station. Keys A, B, D, E, F, and G are then to be tuned to other local stations, while the sharps and flats are to be tuned to the spaces in between, providing a dodgy mix of static and almost-there music and conversation.

It’s an interesting art piece that, no matter how well you play it, will probably not net you a Grammy Award. That would be missing the point, though, as it’s more a piece about “Collecting Fragments of Time,” a broader art project of which this piece is a part.

We do love a good art piece, especially those that repurpose old hardware to great aesthetic achievement.

Continue reading “The Trans-Harmonium Is A Strange Kind Of Radio-Musical Instrument”

LED Art Project Is Geometrically Beautiful

There is no shortage of companies on the Internet willing to sell you expensive glowing things to stick on your walls. Many hackers prefer to make their own however, and [Chris] is no exception. His LED wall art is neat, tidy, and stylish, all at once.

Wanting a geometric design, [Chris] decided to have his layout designed by a random number generator. He created his own tool that would generate a design using preset segment lengths arranged in a random fashion. Once he found a layout that worked for him, he designed a set of plastic adapters that would let him connect pre-cut lengths of aluminium channel together so he could assemble his design.

With the frame complete, he then laid the LED strips into the channels, after mapping out how he would connect the full circuit of addressable LED strips. He enlisted a Raspberry Pi Zero W as the brains of the operation, responsible for commanding the strips to light in the colors of his desire.

In a nice aesthetic touch, he sanded the whole frame and painted it a uniform grey color. This hid the joins between the 3D-printed parts and the aluminium channels, and gave it a more finished look. He also went to the trouble of graphing out the locations of the various LEDs in the frame, and used this data as the basis for animations that race between points on the frame. It’s somehow more compelling than the usual simple color fades and flashes of typical commercial products.

It’s a tidy build, and a level more artful than some of the off-the-shelf products out there. For his investment of time and money, [Chris] has netted an excellent piece of wall art in the process.

ThunderScan: The Wild 1980s Product That Turned A Printer Into A Scanner

Back in the 1980s, printers were expensive things. Scanners were rare, particularly for the home market, because home computers could barely handle basic graphics anyway. Back in these halcyon days, an obscure company called Thunderware built a device to convert the former into the latter. It was known as the Thunderscan, and was a scanning head built for the Apple ImageWriter dot matrix printer. Weird enough already, but this device hides some weird secrets in its design.

The actual scanning method was simple enough; the device mounted a carriage to the printer head of the ImageWriter. In that carriage was an optical reflective sensor which was scanned across a page horizontally while it was fed through the printer. So far, so normal.

The hilarious part is how the scanner actually delivered data to the Macintosh computer it was hooked up to. It did precisely nothing with the serial data lines at all, these were left for the computer to command the printer. Instead, the output of the analog optical sensor was fed to a voltage-to-frequency converter, which was then hooked up to the handshake/clock-in pin on the serial port.

The scanner software simply looked at the rate at which new characters were becoming available on the serial port as the handshake pin was toggled at various frequencies by the output of the optical sensor. Faster toggling of the pin indicated a darker section of the image, slower corresponded to lighter.

Interestingly, [Andy Hertzfeld] also has his own stories to tell on the development, for which his software contribution seems to have netted him a great sum of royalties over the years. It’s funny to think how mainstream scanners once were; and yet we barely think about them today beyond a few niche uses. Times, they change.

Thanks to [J. Peterson] for the tip!

Some Bacteria Could Have A Rudimentary Form Of Memory

When we think of bacteria, we think of simple single-celled organisms that basically exist to consume resources and reproduce. They don’t think, feel, or remember… or do they? Bacteria don’t have brains, and as far as we know, they’re incapable of thought. But could they react to an experience and recall it later?

New research suggests that some bacteria could have a rudimentary form of memory of their experiences in the environment. They could even pass this memory down across generations via a unique mechanism. Let’s dive into the latest research that is investigating just what bacteria know, and how they happen to know it.

Continue reading “Some Bacteria Could Have A Rudimentary Form Of Memory”

Hilarious Security Flaw In Counter Strike 2 Is Now Patched

Normally, when we talk about video games having bugs, it’s some kind of item duplication glitch or a hilarious failure in the jacket equip code of some tedious first-person-shooter online wardrobe simulator. Counter-Strike 2 has had a more embarrassing faux-pas, however, with a security hole allowing bad actors to theoretically capture the IPs of their fellow players in a server. You won’t believe how this came to happen.

The exploit has already been making its way around the forums, with one [Crouch9706] raising the alarm. It’s all down to the way Counter-Strike 2 renders the names that players have entered in their Steam gaming profiles. In certain menus and other parts of the UI, the game will actually parse HTML in a player’s name. Typically, the way to trigger it is to join a game and vote to kick yourself. This brings up a dialog for other players that shows them your player name and parses the HTML. The only limitation is you only get 32 characters for your HTML.

There’s a nifty little extra trick to this, though, in that you can use this technique to snag another player’s IP. By putting in HTML that links to your own server, you can log any player IPs that connect to the server seeking an image, for example.

Of course, it’s not the biggest risk, with many players being behind ISPs that use CGNAT, making the harvested IPs rather useless. However, this sort of unexpected code injection is really not acceptable from a security standpoint. At the very least, it has the potential to expose players to nasty imagery.

Word on the street (Nitter) is that the exploit has now been patched. Meanwhile, if you’re working on a game that for some mad reason, executes code based on player names or any other such data, consider patching your work ASAP. If you find similar exploits in the wild, don’t hesitate to hit up our tipsline—and notify the developers, too!

Ask Hackaday: Could Rating Airlines Stop Flights From Spreading Diseases?

 

A few weeks ago, I found myself the victim of flights from hell. My first flight was cancelled, leaving me driving home late at night, only to wake again for a red-eye the next morning. That was cancelled as well, with the second replacement delayed by a further hour. All in all I ended up spending a good ten hours extra in the airport surrounded by tired, sick, and coughing individuals, and ended up a full 16 hours late to my destination. On the return, I’d again tangle with delays, and by the weekend’s close, I’d contracted a nasty flu for my trouble.

All this had me riled up and looking for revenge. I had lost hours of my life to these frustrations, and the respiratory havoc claimed a further week of my working life. It had me realizing that we could surely improve the performance and hygiene of our airliners with a simple idea: a website called Flights From Hell.

Continue reading “Ask Hackaday: Could Rating Airlines Stop Flights From Spreading Diseases?”