The Simulated Universe Thought Experiment And Information Entropy

Do we live in a simulation? This is one of those questions which has kept at least part of humanity awake at night, and which has led to a number of successful books and movies being made on the subject, topped perhaps by the blockbuster  movie The Matrix. Yet the traditional interpretation of the ‘simulated universe’ thought experiment is one in which we – including our brains and bodies – are just data zipping about in a hyper-advanced simulation rather than physical brains jacked into a computer. This simulation would have been set up by (presumably) a hyper-advanced species who seem to like to run their own version of The Sims on a Universe-sized scale.

Regardless of the ‘why’, the aspect of this question where at least some scientific inquiry is possible concerns whether or not it would be possible to distinguish anything uniquely simulation-like in our environment that’d give the game away, like a sudden feeling of déjà vu in the world of The Matrix where you can suddenly perceive the fabric of the simulation. However, the major problem which we have to consider when trying to catch a simulation in the act is that to this point we cannot ourselves create even a miniature galaxy and intelligent beings inside it to provide a testable hypothesis.

Beyond popular media like movies and series like Rick & Morty, what do science and philosophy have to say about this oddly controversial subject? According to some, we have already found the smoking gun, while others are decidedly more skeptical.

Continue reading “The Simulated Universe Thought Experiment And Information Entropy”

A Paper Printer For QR Code Menus

Do you miss the days of thumbing through a sticky, laminated booklet to order your food? Sick of restaurants and their frustrating electronic menus? Fear not, for [Guy Dupont] and his QR code menu printer are here to save the day.

Yes, that’s right — it’s a lunchbox-sized printer designed to spit out a paper version of a digital menu. Using a Tiny Code Reader from Useful Sensors, the device can scan a QR code at a restaurant to access its menu. A Seeed Studio XIAO ESP32 takes the link, and then passes it to a remote computer which accesses the menu online and screenshots it. The image is processed with TesseractOCR to extract food items and prices, and the data is then collated into a simple text-only format using ChatGPT. The simplified menu is finally sent to a thermal printer to be spat out on receipt paper for your casual perusal.

[Guy] was inspired to build the project after hating the experience of using QR code menus in restaurants and bars around town. It’s his latest project that solves an everyday problem, it makes a great sequel to his smart jeans that tell you when your fly is down.

Continue reading “A Paper Printer For QR Code Menus”

This Machine Has Lost Its Marbles

The astonishing variety of ways to tell the time which have appeared on these pages over the years provides a showcase of the talents and ingenuity of our community. Many clocks use designs we are familiar with, but every now and then along comes a clock that rings something new. So it is with [Ivan Miranda]’s latest work — a digital clock that shows the time with a dot matrix made of marbles. So far he’s published only part one of what will become a series. There’s technically no clock yet, but as it stands it’s enough of a marble machine to be a worthy project in its own right.

In the video below we see him solving the problems of creating free-running marble transport and handling via a conveyor belt, and solving such unexpected problems as cleanly releasing them from the belt, holding a row of marbles with a solenoid, and catching errant marbles that bounce free of the machine. The result is a rather pretty marble machine that makes an endless cascade of falling marbles on a curved track. We’re guessing that future videos will deal with the assembly of lines for the dot matrix display, such that the figures of the clock will be formed from black and white marbles, so this is a series to watch out for.

We’ve seen [Ivan]’s work in the past, not least for his giant 3D printer.

Continue reading “This Machine Has Lost Its Marbles”

Booting The Raspberry Pi 5 With An NVMe SSD

The Raspberry Pi has come a long way since its humble origins, adding faster processors and better interfaces with each new generation. Now, the Raspberry Pi 5 has a lovely new PCIe port right on board, and [Jeff Geerling] has gone right ahead and slammed in an NVMe SSD as a boot drive.

[Jeff] explains that to use an NVMe to boot, you first have to modify /boot/config.txt to enable PCIe and modify the Raspberry Pi’s boot order. Once the bootloader is appropriately configured, you can boot straight off an SSD with Raspberry Pi OS installed. To get the operating system on to an NVMe drive, he recommends cloning an existing boot volume from a microSD install.

One of the primary reasons you might want to do this is speed. NVMe drives are generally a significant cut above even the best microSD cards, both in speed and reliability. [Jeff] also notes that you can use an NVMe SSD through a PCIe switch on the Pi 5 if you so desire, but you can’t currently boot with this configuration.

It’s a great feature to have on the Pi 5, and it follows on from the earlier implementation on the Raspberry Pi Compute Module 4. Video after the break.

Continue reading “Booting The Raspberry Pi 5 With An NVMe SSD”

That Coin Toss Isn’t Actually 50/50

A coin flip is considered by many to be the perfect 50/50 random event, even though — being an event subject to Newtonian physics — the results are in fact anything but random. But that’s okay, because what we really want when we flip a coin is an unpredictable but fair outcome. But what if that’s not actually what happens?

There’s new research claiming that coin tosses demonstrate a slight but measurable bias toward landing on the same side they started. At least, this is true of coin flips done in a particular (but common) way. Coins flipped with the thumb and caught in the hand land with the same side facing up 50.8 percent of the time.

The new research builds on earlier work proposing that because of human anatomy, when a human flips a coin with their thumb, the motion introduces a slight off-axis tilt that biases the results. Some people do it less (biasing the results less) and some do it more, but while the impact is small it is measurable. As long as the coin is caught in the hand, anyway. Allowing the coin to fall on surfaces introduces outside variables.

Therefore, one can gain a slight advantage in coin flips by looking at which side is facing up, and calling that same side. Remember that the flipping method used must be that of flipping the coin with the thumb, and catching it with the hand. The type of coin does not matter.

Does this mean a coin flip isn’t fair? Not really. Just allow the coin to fall on a surface instead of catching it in the hand, or simply conceal which side is “up” when the coin is called. It’s one more thing that invites us all to ask just how random is random, anyway?

Upgraded Toy Guitar Plays Music

Getting the finishing details on a Halloween costume completed is the key to impressing friends and strangers alike on the trick-or-treat rounds. Especially when it comes to things like props, these details can push a good Halloween costume to great with the right touches. [Jonathan]’s friend’s daughter will be well ahead of the game thanks to these additions to a toy guitar which is part of her costume this year.

The toy guitar as it was when it arrived had the capability to play a few lackluster sound effects. The goal here was to get it to play a much more impressive set of songs instead, and to make a couple upgrades along the way as well. To that end, [Jonathan] started by dismantling the toy and investigating the PCBs for potential reuse. He decided to keep the buttons in the neck of the guitar despite their non-standard wiring configuration, but toss out the main board in favor of an ESP32. The ESP32 is tasked with reading the buttons, playing a corresponding song loaded on an SD card, and handling the digital to analog conversion when sending it out to be played on the speaker.

The project doesn’t stop there, though. [Jonathan] also did some custom mixing for the songs to account for the lack of stereo sound and a working volume knob, plus he used the ESP32’s wireless capabilities to set the guitar up as a local file server so that songs can be sent to and from the device without any wires. He also released the source code on the project’s GitHub page for anyone looking to use any parts of this project. Don’t forget there’s a Halloween contest going on right now, so be sure to submit the final version of projects like these there!

Continue reading “Upgraded Toy Guitar Plays Music”

A Nicer Controller For Cheap Power Supply Modules

These days, you can get all kinds of cheap power supply modules off a variety of online vendors. A lot of examples from brands like Juntek and Drok often have pretty poor interfaces though, with a couple of tactile buttons and a simple 7-segment display. [rin67630] decided to whip up a better controller with a much more informative display.

The controller is designed to work with programmable buck converter modules like the DPS3806, Buck3603, and BST900. It’s based on a TTGO ESP32 with an integrated color TFT LCD. It displays voltage at the input and output, the same for current, along with current setpoints. It also allows for control of a fan and charge cycles if so desired, and it has the ability to fetch time from an NTP server for proper scheduling.  There’s also a web interface complete with graphs for really diving down into the nitty-gritty. Future plans include adding an MPPT solar charging capability.

If you’ve ever wanted a cheap power supply module with really low-level control and rich data display, this could be just what you need. Meanwhile, you’ve got your own neat power supply in the works, don’t hesitate to drop us a line.