Microsoft Claims 20 Second Qubits

While it might seem that your computer malfunctions every few minutes, the reality is that modern computers are usually quite robust. Not so much for quantum computers, where qubit life is often measured in milliseconds. Now, the company claims to have qubits that last for about 20 seconds.

For example, Microsoft’s Majorana 1 quantum chip, which, incidentally, was mired in controversy, provided 8 qubits that were stable very briefly. This second-generation chip provides 12 qubits that average 20-second lifespans.

Continue reading “Microsoft Claims 20 Second Qubits”

If You Want To Hack Me, Come In Through The Speaker

Some security hacks require someone to have physical access to your computer. In many cases, that’s easy to mitigate. Other attack vectors can put you at risk from anywhere via the network. That’s what firewalls are for. But there is an in-between risk where an attacker just has to be “around” your computer. [Rasmus Moorats] found out that a Creative Sound Blaster sound bar could open up just such an attack.

[Rasmus] was poking around the firmware just to write custom software to control it. The possibility of an attack was just an accidental find.

The soundbar connects to USB, but it also has Bluetooth, which, for some reason, is always on. There’s an app that can communicate with the speaker using BLE, and Creative has a special protocol to control it. The same protocol works on USB or Bluetooth, but with an important difference.

Continue reading “If You Want To Hack Me, Come In Through The Speaker”

Linux Fu: Fake Webcams, GUI Edition

Previously, I looked at using the Linux video loopback system from the command line. The basic trick was simple enough: capture video from a real camera, process it with something like ffmpeg, and write the result to a fake camera device via the v4l2loopback device. Then a browser, or any camera-enabled software, sees the fake camera as if it were real. This allows you to manipulate video before sending it to the rest of the world.

That works, and for those of us who like command lines, it’s easy enough to execute. But not everyone loves the command line. In the comments, there was another obvious answer: use OBS Studio.

While OBS is excellent, it is also a bit like using a laser to chop a carrot. If you already use OBS, fine. If you only want to crop a webcam, add an effect, mirror an image, or feed a virtual camera, it can feel like a lot. If you must have a GUI, you can try Webcamoid, which sits somewhere between a simple webcam viewer and a full video production system.

Webcamoid gives you a GUI for selecting a camera, applying effects, and sending the result to a virtual camera. Conceptually, it is much closer to the command-line loopback setup from the previous post than to OBS. You are still building a pipeline from input camera to output camera, but now you can do much of it with buttons and menus instead of shell commands.

That’s in theory, of course. Implementing Webcamoid turned out to be quite the exercise. Granted, this probably varies depending on where you install software. If your distro has a clean working copy of Webcamoid and its dependencies, good for you. For everyone else, keep reading.

Continue reading “Linux Fu: Fake Webcams, GUI Edition”

Linux Fu: Taming Strace

While many operating systems seem to try to prevent you from peeking under the hood, Unix and Linux positively encourage it. One great tool that we’ve looked at before is strace. Using this tool, you can see details about every system call a program makes. As you might imagine, for any significant program, the output from strace can be huge.

While I’m not always a fan of GUIs, this is one of those cases where making the data easier to browse is a great idea. Enter strace-tui, a text-based GUI for strace from [Rodrigodd]. The program can parse output from strace or manage the strace execution itself, and either way, display the data in a useful way.

I started out looking at [janestreet’s] strace_ui, but the OCaml setup was throwing errors for me, so I just gave up. The strace-tui installs like many Rust programs, using cargo, and it went smoothly.

Continue reading “Linux Fu: Taming Strace”

Poking Around With JTAG On A Guitar Amp

You would think a guitar amplifier would be a straightforward piece of analog electronics. But, of course, these days, everything has firmware, including [mforney]’s Yamaha THR10c. The service manual showed both a UART and JTAG header on the schematic, so as many of us would, he took that as a challenge.

Of course, the production board doesn’t have headers for these ports, but that’s not a real problem. The serial port seemed quiet, but the JTAG port was more productive. This revealed two binary images: a bootloader and the main firmware. Once you have the code, it is a straightforward, if not laborious, process to reverse engineer what the code does.

The next step is to figure out how to load new firmware. You can see in the post that this was done, and custom features sprang into life with custom-patched firmware.

We never get tired of seeing people dig into consumer devices like this. Things like JTAG and the wide availability of JTAG tools have made it easier but no less fun. Of course, there are even more features [mforney] has in mind, but now that’s just a matter of coding.

How To Let Everyone Keep A Secret

Someone calls you at work and says, “Don’t tell anyone, but…” If you are like most people, there are one or two people you will pass it along to with the same admonishment. In fact, they are probably repeating it from someone else, and you are on their list of two people. So for really big secrets, you need a way to spread the secret out so that no one has any real information about the secret, but a certain number of people together can decode it. As [neeaj] explains in a recent post about Shamir’s Secret Sharing, [Adi Shamir] (the S in RSA encryption) devised a way to do this very well in 1979, and the core concept is very easy to understand.

The explanation works with geometry. The equation for a line is y=mx+b, where m is the slope and b is the y-intercept (that is, where the line touches the y-axis when X is 0. An infinite number of lines cross the Y axis at, for example, 10. The line y=3x+10 does, and so does the line y=-1.41x+10. You can’t guess the b value from just the slope, because any slope will satisfy the equation.

Continue reading “How To Let Everyone Keep A Secret”

Attack Of The Atomic Oxygen

While designing anything for operation in space has its challenges, there is at least one thing that is more of a problem for objects in Earth orbit than for deep-space probes: atomic oxygen. We like oxygen because we need it to live, but it is also highly reactive as a single atom. Luckily, on Earth, most of what we breathe is O2. [Space Daily] talks about the challenges of the International Space Station dealing with the “space weather” of atomic oxygen in low Earth orbit.

Part of the problem is that even when we know better, we tend to think of the atmosphere coming to an abrupt end and space being a hard vacuum. But in reality, the atmosphere gradually dissipates, and at “only” 400 km above the Earth, the Space Station is really flying through a very thin atmosphere.

To compound the problem, this is above the ozone layer, so the Sun’s UV light rips O2 into single oxygen atoms. Over time, these free oxygen atoms can affect many parts of a spacecraft exposed to them. Engineers first noticed that materials recovered from spacecraft had more damage and changes to material properties on the pieces facing the direction of travel. NASA has spent years testing different materials by mounting trays of different material samples outside the ISS.

Carbon-based polymers take a big hit from atomic oxygen exposure. Polymide film is frequently used, but it erodes with exposure. Carbon composites also lose mass. Other materials change in other ways. For example, an optical surface may roughen with exposure.

The usual answer is to over-design for mission objectives or to cover certain polymers with coatings like silicon dioxide or aluminum oxide, which are not as reactive to free oxygen. For a long-duration mission like the ISS, you may have to pay special attention to the materials in use. Very low satellites also need special care, as there is more oxygen in lower orbits.

There are other effects, too, such as extreme thermal cycles, debris strikes, and other indignities that space-traveling materials must withstand. But in deep space, atomic oxygen is a rare issue. Until, at least, we go somewhere else that has a lot of oxygen.