Junk I Bought: My PSU Just Won’t Do

I have an Acer monitor that I’ve owned for around 15 years, and thanks to my having paid extra at the time for the model sporting a DVI socket for HDMI compatibility it still finds a place as one of my desktop monitors. It has a power brick that supplies it with 1 2V at 4.5 A, and over the years this has developed an annoying whine. Something’s loose in the magnetics, and I really should replace it. So off to AliExpress I went, and dropped in an order for a 12 V, 5 A power brick.

It’s No Heavyweight

A PSU brick, marked as 12V 5A
So far so good…

These units are pretty standard, a box about 130 mm by 60 mm with an IEC socket at one end and a trailing cable at the other for the low voltage. I’ve had enough of them pass through my hands over the years to know what to expect, so I was dismayed to find when I received my PSU that it was suspiciously light. 86 g compared to the around 250 g I’d expect, so I began to smell a rat. Time for a teardown, and a descent into the world of small switch-mode mains power supplies.

Normally it should be easier to break into Fort Knox than to crack open a mains power supply, because for safety they are ultrasonic welded together. The few times I’ve done it have required some Dremel time and a bit of swearing, so when this case turned out to open fairly easily by levering with a screwdriver it was evident this wasn’t a high-quality item. Sure enough my suspicions were confirmed, for there inside was a much smaller board. It’s clear this isn’t a 5 A power supply, so just what have I received? Continue reading “Junk I Bought: My PSU Just Won’t Do”

Making The Case For COBOL

Perhaps rather unexpectedly, on the 14th of March this year the GCC mailing list received an announcement regarding the release of the first ever COBOL front-end for the GCC compiler. For the uninitiated, COBOL saw its first release in 1959, making it with 63 years one of the oldest programming language that is still in regular use. The reason for its persistence is mostly due to its focus from the beginning as a transaction-oriented, domain specific language (DSL).

Its acronym stands for Common Business-Oriented Language, which clearly references the domain it targets. Even with the current COBOL 2014 standard, it is still essentially the same primarily transaction-oriented language, while adding support for structured, procedural and object-oriented programming styles. Deriving most of its core from Admiral Grace Hopper‘s FLOW-MATIC  language, it allows for efficiently describing business logic as one would encounter at financial institutions or businesses, in clear English.

Unlike the older GnuCOBOL project – which translates COBOL to C – the new GCC-COBOL front-end project does away with  that intermediate step, and directly compiles COBOL source code into binary code. All of which may raise the question of why an entire man-year was invested in this effort for a language which has been declared ‘dead’ for  probably at least half its 63-year existence.

Does it make sense to learn or even use COBOL today? Do we need a new COBOL compiler?

Continue reading “Making The Case For COBOL”

Hackaday Links Column Banner

Hackaday Links: May 29, 2022

It looks like the ongoing semiconductor shortage isn’t getting any better, and if the recent spate of computer thefts from semi trucks is any indication, it’s only going to get worse. Thieves seem to be targeting the Freightliner Cascadia, probably the most popular heavy freight truck on the road in North America today, with “smash and grab” thefts targeting the CPC4, or Common Powertrain Control module. These modules are sitting ducks — they’re easy to locate and remove, the chip shortage has made legit modules nearly unobtanium from dealers, and the truck won’t run without them. That’s driven the black market price for a CPC up to $8,000 or more, making them a tempting target. And it’s not only individual trucks parked in truck stop lots that are being hit; gangs are breaking into trucking company lots and bricking dozens of trucks in short order. So the supply chain problem which started the semiconductor shortage caused the module shortage, which drives the thieves to steal modules and take trucks off the road, which only worsens the supply chain shortage that started the whole thing. Nice positive feedback loop.

Continue reading “Hackaday Links: May 29, 2022”

Vintage Pro Audio Hack Chat Gets In The Groove

Despite the fact that we’ve been doing them for years now, it’s still hard to predict how a Hack Chat will go. There’s no question it will be an hour of interesting discussion of course, that much is a given. But the dynamics of the conversation can range from a rigid Q&A, which isn’t exactly unexpected when you’ve only got a limited amount of time with a subject matter expert, to a freewheeling hangout with a group of people who all happen to be interested in the same thing.

This week’s Vintage Pro Audio Hack Chat with Frank Olson definitely took the latter approach. The allotted hour flew by in a blink, with so many anecdotes and ideas flying back and forth that at times it was tricky to follow. But no worries, with the Chat transcript to pore over, we can make sure none of that accrued first-hand knowledge goes to waste.

So what did we learn during this Chat? Well, it probably won’t come as much of a surprise to find that those who have an opinion on audio gear tend to have a strong opinion on it. Folks were painting with some fairly broad brushes, with particular manufacturers and even whole fields of technology receiving a bit of good-natured ribbing. If your favorite brand or piece of gear gets a specific shout-out, try not to take it too personally — at the end of the day, most in the Chat seemed to agree that sound is so subjective that the right choice is more often than not whatever sounds best to you at the moment.

Which leads directly into Frank’s work with custom microphones. As a musician he knew the sound he was looking for better than anyone, so rather than spend the money on big-name gear, he prefers to build it himself. But the real hook here is their unique construction, with pieces that reimagine design concepts from mid-century commercial equipment using unexpected materials such as thin pieces of walnut cut with a vinyl cutter. Frank explains that the structure of the microphone isn’t as critical these days thanks to the availability of powerful neodymium magnets, which gives the builder more freedom in terms of materials and tools. He says the goal is to inspire others to try building gear from what’s available to them rather than assuming it won’t work because it’s unconventional.

We appreciate Frank, and everyone else, stopping by this week for such a lively and friendly discussion. Let’s be honest, a Chat specifically for folks who want to discuss concepts as personal and nebulous as how they perceive the warmth of sound could have gotten a little heated. But the fact that everyone was able to express their opinions or ask for advice constructively is a real credit to the community.


The Hack Chat is a weekly online chat session hosted by leading experts from all corners of the hardware hacking universe. It’s a great way for hackers connect in a fun and informal way, but if you can’t make it live, these overview posts as well as the transcripts posted to Hackaday.io make sure you don’t miss out.

Hackaday Podcast 170: Poop Shooting Laser, Positron Is A 3D Printer On Its Head, DIY Pulsar Capture, GPS’s Achilles Heel

Join Hackaday Editor-in-Chief Elliot Williams and Managing Editor Tom Nardi for a recap of all the best tips, hacks, and stories of the past week. We start things off with an update on Hackaday’s current slate of contests, followed by an exploration of the cutting edge in 3D printing and printables. Next up we’ll look at two achievements in detection, as commercial off-the-shelf hardware is pushed into service by unusually dedicated hackers to identify both dog poop and deep space pulsars (but not at the same time). We’ll also talk about fancy Samsung cables, homebrew soundcards, the surprising vulnerability of GPS, and the development of ratholes in your cat food.

Direct Download link

Check out the links below if you want to follow along, and as always, tell us what you think about this episode in the comments!

Continue reading “Hackaday Podcast 170: Poop Shooting Laser, Positron Is A 3D Printer On Its Head, DIY Pulsar Capture, GPS’s Achilles Heel”

This Week In Security: Good Faith, Easy Forgery, And I18N

There’s a danger in security research that we’ve discussed a few times before. If you discover a security vulnerability on a production system, and there’s no bug bounty, you’ve likely broken a handful of computer laws. Turn over the flaw you’ve found, and you’re most likely to get a “thank you”, but there’s a tiny chance that you’ll get charged for a computer crime instead. Security research in the US is just a little safer now, as the US Department of Justice has issued a new policy stating that “good-faith security research should not be charged.”

While this is a welcome infection of good sense, it would be even better for such a protection to be codified into law. The other caveat is that this policy only applies to federal cases in the US. Other nations, or even individual states, are free to bring charges. So while this is good news, continue to be careful. There are also some caveats about what counts as good-faith — If a researcher uses a flaw discovery to extort, it’s not good-faith.
Continue reading “This Week In Security: Good Faith, Easy Forgery, And I18N”

Sharing Your Projects With The World: How?

So you just built a super-mega robot project that you want to share with the world. Super! But now you’re faced with an entirely new and different problem: documenting the process for the world to see. It’s enough to drive you back down into the lab.

  • What software should I use to create my project site?
  • How deep down the rabbit hole should I go when it comes to documenting the project?
  • What toppings do I want on my something-to-eat-while-hacking pizza?

We’re not going to get into the age old “pineapple or no pineapple” debate, but it’s important to note that the topic of how to share a project with the world has as many choices as toppings, and just as many opinions. The answer will always be simple: Do what works best for you!

The purpose of this article is to give some options to somebody considering sharing their projects online. There isn’t enough room to talk about every single option available to a hacker, so be sure to fill in your favorite options in the comments below. Let’s dive in!

Continue reading “Sharing Your Projects With The World: How?”