Posts

Featured Post

The Math You Need to Start Understanding LLMs

Image
Once you peel back the hype and mysticism, large language models (LLMs) are a fascinating application of statistical models, effectively what you get when you dial a basic auto-complete model up to eleven. In order to analyze a mind-boggling amount of text and produce meaningful auto-completion results quite a bit of math is involved, with a recent three-part article series by [Giles] going through the basics of inference , being the prediction step using a trained model. The text is encoded in the LLM’s vector space as token IDs, each token being a text fragment that has some probability of following another ID, such as when cats may be found on desks, as in the above photo by [Giles]. With inference multiple of such IDs are retrieved in a vector from which in successive steps a sentence can be pieced together. These so-called logits are detailed in the first article in the series, with the second article focusing on vocabulary space and embedding, as well as the matrix operati...

Teardown of a Shahed-136 Gimbaled Camera

Image
The remains of a gimbal camera after its drone was shot down. (Credit: Le labo de Michel, YouTube) The Iranian Shahed-136’s basic design has seen many changes and additions since Russia began using them, with some featuring interesting payloads such as cameras in a gimbal, making these drones useful for tasks like surveillance. Recently [Michel] got his hands one one such camera that was recovered from a shot-down drone in Ukraine, providing the opportunity for an in-depth look at what hardware is in these cameras. The teardown thus covers the gimbal mechanism itself as well as the electronics and camera. First up is an Artix-7 FPGA-based board, followed by the range finder assembly. Unsurprisingly the camera feed handling is performed by an Hi3519 SoC, as this appears to be the off-the-shelf option you find all over on AliExpress and similar sites. There’s also an Artix-7 FPGA-based board here, which presumably performs some machine vision tasks or similar. Continuing t...

Sunlight Powered, Sunlight Readable: Solar Case for Nook Simple Touch

Image
When life gives you lemons, you make lemonade. What if life gives you a pile of old e-book readers? Well, when [spiritplumber] got box of old Nook Simple Touch devices, he decided to design solar-powered cases to help boost the old batteries. It makes perfect sense to us: sunlight readable screen, sunlight chargeable battery. It looks like he’s got a pair of panels built into the 3D printed case. He recommends using any TP4056-based charger, and tying into the battery test points, not  the 5 V supply. It won’t hurt anything if you do, apparently, but the device will think it’s plugged in an refuse to turn off the WiFi. That’s no big deal when you’ve got a continental power grid on the other end of the cable, but charging from a small panel on the back of the case doesn’t always give you enough juice to waste on unneeded radio activity. Especially indoors — these panels are apparently big enough to trickle-charge the device under artificial lig...

A Shortwave Sensor to Monitor the Ionosphere

Image
The ionosphere is of great importance to shortwave radio transmissions, since it allows radio waves to be refracted and reflected over the horizon, and it’s therefore unfortunate that the height and thickness of the ionosphere depends on the time of day or night, weather, season, and the solar cycle. To get a better idea of current transmission conditions, [mircemk] built this shortwave propagation monitor . The monitor provides a basic measure of ionosphere conditions by measuring the strength of received shortwave signals: if the conditions for transmission are good, it should receive a relatively high level of existing signals, and a weak signal if conditions are bad. It has an external antenna connected to a signal strength indicator circuit based on the CA3089, which amplifies signals in the 1-40 MHz range and outputs a smoothed voltage indicating the RF energy in this range. The output signal can be read by any voltmeter, in this case an Arduino Nano with an OLED display. Assum...

True-Spectrum Photography with Structural Color

Image
Although modern cameras can, with skill and good conditions, produce photographs nearly indistinguishable from the original scene, this fidelity relies on the limitations of human vision. According to the trichromatic theory, humans perceive light as a mixture of three colors, which can be recorded and represented by cameras, displays, and color printing; a spectrometer, however, can detect a clear distance between the three colors present in a photograph and the wide range of spectra in the original scene. By contrast, one of the earliest color photography methods, Lippmann plates , captured not just true color, but true spectra. A Lippmann plate, as [Jon Hilty] details , starts with a layer of photographic gel containing extremely fine silver halide crystals over the back of a glass plate. This layer is placed on top of a mirror, traditionally a mercury bath, and put in the camera. When light passes through the emulsion and reflects off the mirror, it interferes with incoming light...

ReactOS Gets Unified Installer Image and a New Storage Stack

Image
Although the ReactOS project is in no rush to dethrone Windows as the desktop operating system of choice, this doesn’t mean that some real changes aren’t happening. Most recently two big changes got merged, the first pertaining to the separate boot- and live CD images that are now merged into a single image , and the second being a new PnP-aware ATA storage stack for ATA and AHCI devices, with NT6+ compatibility. Although there is still a separate live CD for now, this first change means that testing and installing ReactOS becomes easier, and that the old-school text-based installer may soon be on its way out as well. Having the new ATA storage stack in place will translate into much better compatibility with real hardware, including the ability to use more hardware to install on and boot from compared to the old UniATA driver. Combined, these two changes should bring the ReactOS installation and usage experience a lot closer to that of Windows, as well as many Linux dis...

Hackaday Links: May 3, 2026

Image
Software that collects public data from the Internet and uses it to provide half-assed answers to your questions might seem like a modern craze, but today we bid farewell to a website that helped pioneer pretend conversations all the way back in 1997 — as of May 1st, Ask Jeeves is no more . Well, technically they dropped the “Jeeves” part back in 2006. Since then it’s just been Ask.com, but as the name implies the idea was more or less the same. Rather than the relatively rigid parameters and keywords required by traditional search engines, you could ask Jeeves questions about the world using natural language. Early advertisements showed the virtual valet answering arbitrary questions like “How many calories in a banana?,” which of course today seems commonplace and utterly unimpressive, but was a pretty wild for the 1990s. It might seem surprising that a site designed from day one to offer a human-like Q&A experience should fold right as such ...