Revisiting Using AI Coding Assistants: You’re Holding It Wrong Edition

After scathing accusations of skimping on due diligence, as well as other feedback to my article on trying to use an ‘AI coding assistant’ for the first time, the only rational, academic response is to lick one’s wounds following a particularly bruising peer review and try to address the raised issues. Reality after all does not care about one’s feelings, and there may be more to this AI assistant technology that can be coaxed out with a more in-depth look.

To this end I’ll do my best to try and work through each raised point, criticism and accusation, to see what I – and perhaps others – can learn of this endeavor. Said points include the use of the wrong frontend – i.e. Copilot – and the wrong model – being Claude Haiku 4.5 – as well as the egregious flaw on my end of ‘prompting wrong’.

For the sake of due diligence the best frontend and models will be investigated for particular tasks, with finally the verbal minefield of ‘prompt engineering’ examined for industry-standard approaches.

Continue reading “Revisiting Using AI Coding Assistants: You’re Holding It Wrong Edition”

Ask Hackaday: How Do You Feel About Electronic Shelf Labels?

Unless you’ve spent the last few years locked indoors and had all of your goods delivered to you — a not entirely implausible situation, given our audience — you’ve likely noticed the growing popularity of electronic shelf labels (ESLs). They’ve been a common sight in grocery stores like Aldi for some time, and major retailers such as Walmart and Home Depot have been expanding their use of the technology.

On the surface, it makes perfect sense. With electronic ink displays, you can create a price tag that looks enough like a paper label that the customer’s experience isn’t really any different, but the retailer doesn’t have to send somebody out to update the prices. Sure, the upfront cost is higher than a roll of sticky paper, but theoretically, the ESLs should pay for themselves thanks to the reduced labor costs.

It’s the sort of high-tech solution to a common problem that one of us would have come up with. If this were a decade ago, we wouldn’t have been surprised to see something like this get entered into the Hackaday Prize. It might have even won.

Now that the technology is becoming commonplace, there’s even more reason for hardware hackers to be interested in it. Since most of these tags will show whatever image you beam over to them via radio or infrared, we’ve seen a number of projects that repurpose second-hand tags as convenient data displays.

Rather than showing the price of milk, they can show the current price of Bitcoin. Or maybe you’d like to stick them up all over the house to display the weather forecast and your family calendar. They’ve been repurposed as badges at hacker cons, and at least one industrious hacker has used a discarded ESL to show an alert whenever a new episode of the Hackaday Podcast drops.

But not everyone is happy about ESLs. Recently, the United Food and Commercial Workers (UFCW) International Union released the results of a poll showing that most American consumers are opposed to ESLs, citing concerns that the technology would ultimately lead to higher prices.

Continue reading “Ask Hackaday: How Do You Feel About Electronic Shelf Labels?”

Know Your Food: Cheesemaking

There’s a thing that people who grew up on farms all share: a connection with food production that isn’t some mystical rose-tinted woo from a TV chef, but instead a practical general knowledge from being there on the ground. A glance at a crop in a field and you immediately recognise what it is, if it’s ploughing time you’ll know the soil type, and there’s always either too little, or too much rain. For a given foodstuff you’ll know far too much about where it came from, because if your dad wasn’t involved in its production, the chances are someone he knew was. You take this for granted, after all doesn’t everyone have this general knowledge? Seemingly not.

Hackaday is not a cooking channel, but I know we’re all interested here in how things are made. Shouldn’t that also extend to what we eat? It’s fashionable to follow a back-to-nature line that all commercial foodstuffs are somehow over-processed junk, but without the requisite knowledge you’re flying blind there. To know both how common foodstuffs should be made, as well as how they are made industrially, should be an essential for everyone.

Continue reading “Know Your Food: Cheesemaking”

Hunting Submarines Via Gravity Is A Tough Errand

Among so many other technological advances, the Cold War saw the advent of the ballistic missile submarine. The concept was simple—pack enough nuclear warheads to destroy a small civilization into a compact metal tube, and then hide it underwater. The oceans would act as a cloak for your fleet of world-enders, and keep your enemies forever on their toes. A terrifying machine that could both start and end a war with the push of a button.

Most nation states are populated by humans with the will to live. Thus, there has been a great incentive to find ways to keep tabs on these sunken doombringers. Great efforts have gone into improving sonar and magnetic detection methods over the decades, which are the bread and butter of sub hunting to this day. However, military researchers have also explored the prospect of whether submarines could be detected via their effect on the gravitational field alone.

Continue reading “Hunting Submarines Via Gravity Is A Tough Errand”

Remember When Flash Drives Were Going To Make Your PC Faster?

The 2000s was a decade of great change in the computer industry. The world had grown accustomed to corruptible floppy disks, blue screens of death, and achingly slow load times. In a few short years, all of that would change, as USB drives, better operating systems, and faster processors brought forth a new age of stability and speed.

Amidst this era of upheaval, Microsoft introduced a new technology. It was intended to increase performance on the cheap to a new generation of machines, but it would turn out to be little more than a gimmick that never really caught on. Let’s explore the easily-forgotten legacy of ReadyBoost.

Continue reading “Remember When Flash Drives Were Going To Make Your PC Faster?”

The Email Of The Future In 1986

With so many online messaging services to choose from it’s almost as though the daddy of them all, email, has faded into the background as something you only use for more formal contacts. But it’s still the underpinning of much of the business world’s electronic communication and is likely to stay so for the foreseeable future. The BBC Archive takes us back to a time when email was relatively new, when in 1986 [Lesley Judd] takes a very chunky 1980s laptop on a plane from London to the Netherlands, and sends an email to her colleague at home using a payphone and an acoustic coupler.

There are so many of-their-era quirks in this film it’s difficult to pick, but little things like the aircraft still having smoking and non-smoking areas, there being no sign of a mobile telephone, or the payphone operating in Guilders rather than Euros make it from a different time. Perhaps most interesting though is the email system in use, because this isn’t an internet based service. Instead it’s using Telecom Gold, which was the UK telco BT’s online service offering to businesses, and part of the international Dialcom network. This was a commercial service which  hung on until some time in the 1990s when the Internet finally displaced it.

The British writer L. P. Hartley used the phrase “The past is a foreign country; they do things differently there” as the opening sentence of one of his books, and the film below the break certainly brings that to mind. It’s a time that’s within reach, yet the changes in information technology over even the next decade or so would make the tech depicted not just obsolete but almost unrecognizable. Most of us today could sit at a 1996 laptop and send an email, but few of us would be as immediately at home with Telecom Gold.

It’s still possible to use an acoustic coupler today though.

Continue reading “The Email Of The Future In 1986”

Tech In Plain Sight: The Mechanics Of String Trimmers

My old friend Jeff was always vocally upset that he didn’t come up with the idea of a string trimmer, commonly known as a Weed Eater or Weed Whacker. On the one hand, the idea is totally simple: spin some nylon line and cut grass and other relatively soft things. But, it turns out, that making the device actually usable requires a little bit of mechanical engineering.

Of course, the noisy part is a motor. The motor — driven by an engine, a battery, or a power cord — spins a flexible nylon line fast enough that the line becomes rigid from centrifugal force. That’s not the important part.

The humble spool at the bottom of the trimmer is where decades of mechanical engineering, questionable patents, consumer frustration, and genuine cleverness all meet. The earliest string trimmers were primitive. [George Ballas], who patented the Weed Eater in the early 1970s, reportedly got the idea from the rotating brushes in a car wash. Attach flexible cords to a spinning head, and they become cutting tools. In fact, the prototype used a tin can for the head. Elegant. But once the line wears down — which it does constantly — you need a way to expose fresh line. That turns out to be harder than it sounds.

The Simplest System

The easiest approach is fixed-length line. Some trimmers still work this way. You cut short pieces of heavy line (or buy it precut) and insert them into holes in the head. No spool. No springs. No moving parts.

These systems are rugged and are popular on commercial units designed to survive abuse. They also work well with thicker lines or even plastic blades. But they are annoying because every time the line wears out, you stop working and manually replace it. Spool-based systems became dominant very quickly.

The basic spool idea is straightforward enough. Wind a long nylon filament onto a reel. Some reels have two sections to feed line out on two sides of the rotating head. As the line wears away, feed out more line from the spool. But how do you do that while the thing is spinning at several thousand RPM?

Continue reading “Tech In Plain Sight: The Mechanics Of String Trimmers”