A Programming Language To Express Programming Frustration

Programming can be a frustrating endeavor. Certainly we’ve all had moments, such as forgetting punctuation in C or messing up whitespace in Python. Even worse, an altogether familiar experience is making a single change to a program that should have resulted in a small improvement but instead breaks the program. Now, though, there’s a programming language that can put these frustrations directly into the code itself into a cathartic, frustration-relieving syntax. The language is called AHHH and it’s quite a scream.

While it may not look like it on the surface, the language is Turing complete and can be used just like any other programming language. The only difference is that there are only 16 commands in this language which are all variants of strings of four capital- or lower-case-H characters. The character “A” in the command “AHHH” starts the program, and from there virtually anything can be coded as a long, seemingly unending scream. The programming language is loosely related to COW which uses various “moos” to create programs instead of screams, and of course is also distantly related to brainfuck which was an esoteric programming language created in order to have the smallest possible compiler.

We can’t really recommend that beginner programmers start to learn this language instead of something more practical like Python, esoteric languages like these can teach us a lot about the way that computers work. This language, for example, lets you code in pixels instead of characters. Others are more for fun such as this language which turns your code into an ’80s rock ballad.

Thanks to [Kyle F] for the tip!

Modern Features In Classic Radio

As consumer electronics companies chase profits on tighter and tighter margins, it seems like quality is continually harder to find for most average consumer-grade products. Luckily, we don’t have to hunt through product reviews to find well-built merchandise since we have the benefit of survivorship bias to help us identify quality products from the past that have already withstood the test of time. [Tom] has forever been fond of this particular Sony TV/radio combo from the ’70s so he finally found one and set about modernizing it in a few key ways.

Among the modifications to this 1978 Sony FX-300 include the addition of a modern color display, Bluetooth, an upgraded FM radio, and a microphone. At the center of all of this new hardware is a Teensy 4 which [Tom] has found to be quite powerful and has enough capabilities to process the audio that’s being played in order to make visual representations of the sound on the screen. He also implemented a bitcrusher filter and integrated it into the controls on the original hardware. He’s using an optimized version of this library to cram all of that processing ability into such a small chip, and the integration of all this new hardware is so polished that it looks like it could be an original Sony stereo from the modern era.

While some may complain about restomod-type builds like this, we don’t really see any need to be arbitrarily or absolutely faithful to bygone eras even if the original hardware was working properly in the first place. What works is taking the proven technology of the past and augmenting it with modern features to enjoy the best of both worlds. Much like this hi-fi stereo which blends the styles and technology of the 90s with that of the 60s in an equally impressive way.

Guitar Pickguard Adds MIDI Capabilities

For a standard that has been in use since the 1980s, MIDI is still one of the most dominant forces on the musical scene even today. It’s fast, flexible, and offers a standard recognized industry-wide over many different types of electronic instruments. Even things which aren’t instruments can be turned into musical devices like the infamous banana keyboard via the magic of MIDI, and it also allows augmentation of standard instruments with other capabilities like this guitar with a MIDI interface built into the pick guard.

[Ezra] is the creator of this unique musical instrument which adds quite a few capabilities to his guitar. The setup is fairly straightforward: twelve wires run to the pick guard which are set up as capacitive sensors and correspond with a note on the chromatic scale. Instead of using touchpads, using wires allows him to bend away the “notes” that he doesn’t need for any particular piece of music. The wires are tied back to an Adafruit Feather 32u4 microcontroller behind the neck of the guitar which also has a few selectors for changing the way that the device creates tones. He can set the interface to emit single notes or continuously play notes, change the style, can change their octave, and plenty of other features as well.

One of the goals of this project was to increase a guitar player’s versatility when doing live performances, and we would have to agree that this gives a musician a much wider range of abilities without otherwise needing a lot of complex or expensive equipment on stage. We’ve seen a few other MIDI-based builds focused on live performances lately, too, like this one which allows a band to stay in sync with each other.

Continue reading “Guitar Pickguard Adds MIDI Capabilities” →

Bass Guitar Gets Shapeshifting Pickups

Electric guitars were the hip new thing back in the mid-century. The electrification of the common and portable guitar opened up a lot of avenues in terms of sound and technique. Specifically, the use of the pickup, an electromagnetic device which converts the vibrations of the guitar strings into electrical signals, increased the number of ways that a musician can alter the guitar’s sound on-the-fly. Some guitars have several rows of pickups which can be used in any number of ways, but this custom guitar has a single pickup which can be moved around the guitar’s body instead.

[Breno] was gifted this Dolphin bass guitar to start learning after years of playing a regular guitar, and while they aren’t known for high-quality instruments this guitar seemed to play and sound well enough to attempt this modification. First, a hole had to be cut all the way through the guitar’s body in order to accommodate the build. The pickup for this guitar is then mounted on two rods which allow it to move in various positions along the strings, and a second set of adjustments can be made to bring the pickups closer or further away from the strings. Some additional custom circuitry was added to control it and also to handle the volume and tone knobs, and while this was being added [Breno] and his friend [Arthur] decided this would be a great time to build some effects into the guitar’s now-custom electronics as well.

While this was largely a project for [Breno] to understand in greater depth the effect of moving the pickups around an electric guitar, the finished product looks ready to play some live shows. The addition of some extras like the effects really adds some punch to this guitar and it looks to be completely original. The nearest thing we could find is this guitar which uses hot-swappable pickups but even those are mounted in fixed locations.

Keep The Sparks Away With A Plasma Cutting Table

For one-off projects or prototypes it’s not uncommon for us to make do with whatever workspace we have on hand. Using a deck railing as an impromptu sawhorse, for example, is one that might be familiar to anyone who owns a circular saw, but [Daniel] has a slightly different situation. He had been setting up metal workpieces on random chunks of brick in order to use his plasma cutter, but just like the home handyman who gets tired of nicking their deck with a saw, he decided to come up with a more permanent solution and built a custom plasma cutting table.

Plasma cutting has a tendency to throw up a lot of sparks, so most commercial offerings for plasma cutting tables include a water bath to catch all of the debris from the cutting process. [Daniel] builds his table over a metal tub to hold some water for this purpose. The table itself is built out of aluminum and designed to be built without welding even though most people with plasma cutters probably have welders as well. The frame is designed to be exceptionally strong and includes curved slats which add to the strength of the table. The table is also designed to be portable, so the curved slats stay in place when the table is moved.

While this might seem like an average metal table at first glance, the table is actually being designed with a homemade CNC machine in mind which [Daniel] is working on. The CNC plasma cutter needs a sturdy, flat surface and can’t be set up on bricks in the driveway, so this table suits both [Daniel]’s immediate needs to not shower himself in sparks every time he cuts something and also his future CNC machine’s need for a sturdy, flat workspace. We look forward to seeing that build being completed but in the meantime take a look at this motorized plasma cutter which has the beginnings of a CNC machine if in one direction only.

Continue reading “Keep The Sparks Away With A Plasma Cutting Table” →

Smart Ruler Has Many Features

For those of us who remember old ball mice, they were a lot like modern optical mice except that they needed to be cleaned constantly. Having optical mice as a standard way of interacting with a computer is a major improvement over previous eras in computing. With extinction of the ball mouse, there are an uncountable number of cheap optical mice around now which are easy pickings for modern hacking, and this latest project from [Vipul] shows off some of the ways that optical mice can be repurposed by building a digital ruler.

The build seems straightforward on the surface. As the ruler is passed over a surface the device keeps track of exactly how far it has moved, making it an effective and very accurate ruler. To built it, the optical component of a mouse was scavenged and mated directly to a Raspberry Pi Zero W over USB. Originally he intended to use an ESP32 but could not get the USB interface to work. [Vipul] was then able to write some software which can read the information from the mouse’s PCB directly and translate it into human-readable form where it is displayed on a small screen. The entire device is housed in a custom 3D-printed enclosure to wrap everything up, but the build doesn’t stop there though. [Vipul] also leveraged the Bluetooth functionality of the Pi and wrote a smartphone app which can be used to control the ruler as well.

While the device does have some limitations in that it has to make contact with the object being measured across its entire length, there are some situations where we can imagine something like this being extremely useful especially when measuring things that aren’t a straight line. [Vipul] has also made all of the code for this project publicly available for those of us who might have other uses in mind for something like this. We’ve seen optical mice repurposed for all kinds of things in the past, too, including measuring travel distances in autonomous vehicles.

Continue reading “Smart Ruler Has Many Features” →

Play Runescape IRL

Runescape is pushing nearly 21 years old, and while that’s quite a long time for a game to stay active with an engaged userbase, it’s also a long time for people to modify the game in all kinds of colorful ways. For some older games like Team Fortress 2 this means spinning up a bot to ruin servers, but for Runescape the hacks are a little more lighthearted and fun. Like this axe which allows [BigFancyBen] to play Runescape in real life.

This is more of an augmented reality hack which upgrades his normal human interface device from a simple keyboard and mouse to also include this axe. When the axe is manipulated in real life, the in-game axe can be used at the same time. There are a lot of layers to this one but essentially a Switch joycon is connected to the axe to sense motion, which relays the information on axe swings to an API via a Python script. A bot in the game then chops the virtual tree, which is reported back to the API which then reports it back to [BigFancyBen]’s viewscreen which is additionally streamed on Twitch.

While this started off as frustration with the game’s insistence on grinding in order to reach certain objectives, it seems that there are some fun ways of manipulating that game mechanic for the greater good. [BigFancyBen] originally said he would rather go to the gym than “click anymore rooftops”  this is quite the start on the full IRLScape world. Don’t forget that it’s equally possible to take this type of build in the opposite direction and control real-world things from inside a video game.

Continue reading “Play Runescape IRL” →