It’s Snake, In A QR Code, But Smaller

We’re not sure that many of you have recognised the need in your life for an x86 machine code program encoded into a QR code, but following on from someone else work [donno2048] has created a super-tiny Snake clone in assembly which comes in at only 85 bytes long. It fits far better in a QR code than the previous effort, but perhaps more useful is a web page demo which runs an in-browser DOS compatibility library. We followed the compilation instructions and got it running on our Manjaro installation, with the result of a somewhat unplayable but recognisable Snake, we’re guessing because it was written for a slower platform. The web version is more usable, and allows us to investigate its operation more thoroughly.

To achieve a working game in so little code is an impressive feat, and since we found different keys responded on machines with different keyboards we’re curious how it does its keyboard input. Also we think it has the Snake bug where turning back on yourself means instant game over. We would be interested to hear the views in the comments of readers who know something about x86 assembly, to help explain these points.

MIT Cracks The Concrete Capacitor

It’s a story we’ve heard so many times over the years: breathless reporting of a new scientific breakthrough that will deliver limitless power, energy storage, or whichever other of humanity’s problems needs solving today. Sadly, they so often fail to make the jump into our daily lives because the reporting glosses over some exotic material that costs a fortune or because there’s a huge issue elsewhere in their makeup. There’s a story from MIT that might just be the real thing, though, as a team from that university claim to have made a viable supercapacitor from materials as simple as cement, carbon black, and a salt solution. Continue reading “MIT Cracks The Concrete Capacitor”

“Room Temperature Superconductor” LK-99, Just Maybe It Could Be Real

To have been alive over the last five decades is to have seen superconductors progress from only possible at near-absolute-zero temperatures, to around the temperature of liquid nitrogen in the 1980s and ’90s, and inching slowly higher as ever more exotic substances are made and subjected to demanding conditions. Now there’s a new kid on the block with an astounding claim of room-temperature and pressure superconductivity, something that has been a Holy Grail for physicists over many years.

LK-99 is a lead-copper-phosphate compound developed by a team from Korea University in Seoul. Its announcement was met with skepticism from the scientific community and the first attempts to replicate it proved unsuccessful, but now a team at Huazhong University of Science and Technology in China claim to have also made LK-99 samples that levitate under a magnetic field at room temperature and pressure. This is corroborated by simulation studies that back up the Korean assertions about the crystal structure of LK-99, so maybe, just maybe, room temperature and pressure superconductors might at last be with us.

Floating on a magnetic field is cool as anything, but what are the benefits of such a material? By removing electrical resistance and noise from the equation they hold the promise of lossless power generation and conversion along with higher-performance electronics both analogue and digital, which would revolutionize what we have come to expect from electronics. Of course we’re excited about them and we think you should be too, but perhaps we’ll wait for more labs to verify LK-99 before we celebrate too much. After all, if it proves over-optimistic, it wouldn’t be the first time.

Jenny’s Daily Drivers: FreeBSD 13.2

Last month I started a series in which I try out different operating systems with the aim of using them for my everyday work, and my pick was Slackware 15, the latest version of the first Linux distro I tried back in the mid 1990s. I’ll be back with more Linux-based operating systems in due course, but the whole point of this series is to roam as far and wide as possible and try every reasonable OS I can. Thus today I’m making the obvious first sideways step and trying a BSD-based operating system. These are uncharted waters for me and there was a substantial choice to be made as to which one, so after reading around the subject I settled on FreeBSD as it seemed the most accessible.

First, A Bit Of Context

A PC with the FreeBSD boot screen
Success! My first sight of a working FreeBSD installation.

Most readers will be aware that the BSD operating systems trace their heritage in a direct line back to the original AT&T UNIX, while GNU/Linux is a pretty good UNIX clone originating with Linus Torvalds in the early 1990s and Richard Stallman’s GNU project from the 1980s onwards. This means that for Linux users there’s a difference in language to get used to.

Where Linux is a kernel around which distributions are built with different implementations of the userland components, the various BSD operating systems are different operating systems in their own right. Thus we talk about for example Slackware and Debian as different Linux distributions, but by contrast NetBSD and FreeBSD are different operating systems even if they have a shared history. There are BSD distributions such as GhostBSD which use FreeBSD as its core, but it’s a far less common word in this context. So I snagged the FreeBSD 13.2 USB stick file from the torrent, and wrote it to a USB Flash drive. Out with the Hackaday test PC, and on with the show. Continue reading “Jenny’s Daily Drivers: FreeBSD 13.2”

Just How Is Voyager 2 Going To Sort Out Its Dish Then?

Anybody who has set up a satellite TV antenna will tell you that alignment is critical when picking up a signal from space. With a satellite dish it’s a straightforward task to tweak the position, but what happens if the dish in question is out beyond the edge of the Solar System?

We told you a few days ago about this exact issue currently facing Voyager 2, but we’re guessing Hackaday readers will want to know a little bit more about how a 50+ year old spacecraft so far from home can still sort out its antenna. The answer lies in NASA Technical Report 32-1559, Digital Canopus Tracker from 1972, which describes the instrument that notes the position of the star Canopus, which along with that of the Sun it can use to calculate the antenna bearing to reach Earth. The report makes for fascinating reading, as it describes how early-1970s technology was used to spot the star by its specific intensity and then keep it in its sights. It’s an extremely accessible design, as even the part numbers are an older version of the familiar 74 logic.

So somewhere out there in interstellar space beyond the boundary of the Solar System is a card frame full of 74 logic that’s been quietly keeping an eye on a star since the early 1970s, and the engineers from those far-off days at JPL are about to save the bacon of the current generation at NASA with their work. We hope that there are some old guys in Pasadena right now with a spring in their step.

Read our coverage of the story here.

The British Government Is Coming For Your Privacy

The list of bad legislation relating to the topic of encryption and privacy is long and inglorious. Usually, these legislative stinkers only affect those unfortunate enough to live in the country that passed them. Still, one upcoming law from the British government should have us all concerned. The Online Safety Bill started as the usual think-of-the-children stuff, but as the EFF notes, some of its proposed powers have the potential to undermine encryption worldwide.

At issue is the proposal that services with strong encryption incorporate government-sanctioned backdoors to give the spooks free rein to snoop on communications. We imagine that this will be of significant interest to some of the world’s less savoury regimes, a club we can’t honestly say the current UK government doesn’t seem hell-bent on joining. The Bill has had a tumultuous passage through the Lords, the UK upper house, but PM Rishi Sunak’s administration has proved unbending.

If there’s a silver lining to this legislative train wreck, it’s that many of the global tech companies are likely to pull their products from the UK market rather than comply. We understand that UK lawmakers are partial to encrypted online messaging platforms. Thus, there will be poetic justice in their voting once more for a disastrous bill with the unintended consequence of taking away something they rely on.

Header image: DaniKauf, CC BY-SA 3.0.

A Game Boy Camera, Without The Game Boy

We all know the Nintendo Game Boy camera peripheral, and we’ve seen plenty of hacks for it on these pages over the years. We like [Raphael Boichot]’s camera then, as instead of including a Game Boy or emulating one, it talks directly to the sensor from an RP2040. The result is a standalone camera with slightly better quality than the original, and with near-limitless storage and easy retrieval of pictures.

For us the interesting revelation from this project comes in the light it sheds on the sensor module, the Mitsubishi M64282FP, but it’s no slouch as a camera beside that. There are motion sensor and timelapse modes, as well the ability to take high dynamic range pictures, and as if that’s not enough it also has all the tweakable things you’d expect from a “proper” camera. The oldest adage in photography is that the best camera in the world is the one in your hand, and we’d say that this one’s better than a real Game Boy Camera should the once-in-a-lifetime picture come while you’re holding it.

Of course, a better Game Boy camera needs a better lens, right?