Look Like A Movie Hacker

On the old original Star Trek series, they bought some futuristic salt and pepper shakers to use on an episode. The problem is they didn’t look like salt and pepper shakers, so they used normal ones instead and turned the strange-looking ones into Dr. McCoy’s medical instruments. This demonstrates the value of looking like what you claim to be. So sure, you are a super skillful hacker, but if you are sitting in front of a normal looking computer desktop, how can anyone tell? After all, in the movies, hackers use exotic flashy user interfaces, right? Now thanks to eDEX-UI, you can look like a movie hacker if you use Windows, Linux, or the Mac.

As you might expect, the program isn’t very efficient or practical, but it does actually do something. In addition to a load of system information about the CPU and network, there’s a shell, a file manager, and an onscreen keyboard, too. The app uses Electron and — on Linux — AppImage, but for a toy program like this, that may not be a problem.

Continue reading “Look Like A Movie Hacker” →

Bar Code Adds A Third Dimension

We never really thought about it before, but a traditional barcode or QR code is pretty two dimensional. A 3D barcode sounds like marketing hype but the JAB (Just Another Barcode) system adds a third dimension in the form of color.

Traditional barcodes assume you have a pretty crude sensor, but a color camera now days is no big deal, so why not take advantage? The JAB system specifies two types of symbols: a master symbol and a slave symbol. A master symbol has four finder patterns at the corner. Slave symbols dock to a master or another docked slave.

If you want to create some JABs, there’s a web interface. If you check advanced, you can change the number of colors used, the size of each “module” (colored box), and the width and height of the master symbol. You can also arrange for error correction. The grid that shows the master and slave symbols will allow you to click on any dockable slave location to create more symbols with different attributes.

You can then save the JAB image and use the scan menu item (at the top) to read the code back. It will also read from a camera.

If you are using a color camera and a computer or phone to read barcodes, this probably is something to check out. After all, you are acquiring color data, why not use it?

You might think of the barcode as something modern, but it has a long strange history going back to the 1930s. Early barcodes looked like bullseyes and were actually inspired by Morse code. We wonder how one of these would look on someone’s arm in ink?

PLA Foils Homemade Tachometer

[Integza] built a Tesla turbine and wanted to know how fast it was spinning. However, he didn’t have a tachometer, and didn’t want to buy one. After a false start of trying to analyze the audio to measure the speed, he decided to use a tried-and-true method. Let the wheel break an infrared (IR) optointerruptor and count the spokes of the wheel as they go by. If you know the spacing between the spokes, you can compute the speed. There was only one problem: it didn’t work.

Turns out, PLA is at least somewhat transparent to IR. Knowing that it was a simple matter to fix some tape to the wheel that would block IR and that made things work much better. If you missed the video where he built the turbine, you might want to watch it first.

Continue reading “PLA Foils Homemade Tachometer” →

Tiny Ray Tracer Fits In 64 Bytes

Throughout human history, people try to make the biggest, the fastest, and — sometimes — the smallest. [Hellmood] falls into the latter category and proves it with a 64 byte interactive 3D raycasting application for MSDOS.

Why MSDOS? We suppose why not? The .COM file format is lean, and you can take over everything without a lot of work. If the program were huge, it wouldn’t be very impressive. There are 64 shades of gray which is odd looking these days, however there are versions that use various color palettes and each one fits in 64 bytes or less. There’s even mouse control and you can see the results in the video below.

Continue reading “Tiny Ray Tracer Fits In 64 Bytes” →

Simulating A Speaker

Speakers are one of those components that are simple to use, but difficult to simulate. Most of us have used a simple resistor to do the job. But a speaker’s response is much more complex, and while that might be enough for a simple simulation the fidelity is nowhere near close. [Sourav Gupta] recently shared his technique for modeling speakers and it looks as though it does a credible job.

[Sourav] shows how a simple resistor and an inductor can do the job, but for better fidelity you need more components to model some mechanical effects. The final model has six components which keeps it easy enough to construct but the problem lies in finding the values of those six components. [Sourav] shows how to use the Thiele-Small parameters to solve that problem. Speaker makers provide these as a guide to low frequency performance, and they capture things such as Q, mass, displacement, and other factors that affect the model.

Continue reading “Simulating A Speaker” →

Little Emulators Do 8 Bits At A Time

Have you ever wondered how many, for example, Commodore 64s it would take to equal the processing power in your current PC? This site might not really answer that, but it does show that your machine can easily duplicate all the old 8-bit computers from Commodore, Sinclair, Acorn, and others. By our count, there are 86 emulators on the page, although many of those are a host machine running a particular application such as Forth or Digger.

If you are in the US, you might not recognize all the references to the KC85, this was an East German computer based on a Z80 clone. Very few of these were apparently available for personal purchase, but they were very popular in schools and industry. These were made by Robotron, and there are some other Robotron models on the page, too.

Continue reading “Little Emulators Do 8 Bits At A Time” →

Linux As A Library: Unikernels Are Coming

If you think about it, an operating system kernel is really just a very powerful shared library that offers services to many programs. Of course, it is a very powerful library, but still — its main purpose is to provide services to programs. Your program probably doesn’t use all of the myriad services the kernel provides. Even a typical system might not fully use all the things that are in a typical kernel. Red Hat has a new initiative to bring a technology called unikernels to the forefront. A unikernel is a single application linked with just enough of the kernel for it to execute. As you might expect, this can result in a smaller system and better security.

It can also lead to better performance. The unikernel doesn’t have to maintain devices and services that are not used. Also, the kernel and the application can run in the same privilege ring. That may seem like a security hole, but if you think about it, the only reason a regular kernel runs at a higher privilege is to protect itself from a malicious application modifying the kernel to do something bad to another application. In this case, there is no other application.

Continue reading “Linux As A Library: Unikernels Are Coming” →