Bicycle Gets Turn Signals And Brake Lights For Added Safety

Traveling by bicycle can be a fun and exciting mode of transportation, and can also save a ton of money compared to driving a car. There are plenty of places around the world where a bicycle is the primary mode of transportation for a significant percentage of the population, but there are many more places that are designed entirely for cars with little thought given to anyone else. For anyone riding a bike, especially for people living in these car-dominated areas, additional safety measures like this LED array are often necessary.

The light array was created by [Estudio Roble] for traveling around his city. The design is based on the Adafruit Circuit Playground Express, which sits directly in the middle of the light fixture. Surrounding it is a diamond-shaped strip of LEDs within an additional ring. The light uses a bright blue color for normal driving, but is programmed to turn red when the accelerometer in the dev board detects braking. There are also integrated turn signals which operate similarly to motorcycle turn signals. The signal is sent wirelessly between the handlebar switch to the lights.

The device itself clips onto any backpack, and since the controller is wireless there are no wires to connect every time a rider gets on their bike. It’s quite an improvement over the complete lack of lighting on most bikes. If you’ve read this far, you need to check out this bicycle headlight which uses a projector to display information directly in the path of travel.

Continue reading “Bicycle Gets Turn Signals And Brake Lights For Added Safety”

The laser driver's internals, showing the custom PCB, the PSU, connectors and the interlocks.

Laser Driver Design Keeps Safety First

[Les] from [Les’ Lab] has designed a driver for laser diodes up to 10 watts, and decided to show us how it operates, tells us what we should keep in mind when designing such a driver, and talks about laser safety in general. This design is an adjustable current regulator based on the LM350A, able to provide up to 10 watts of power at about 2 volts – which is what his diode needs. Such obscure requirements aren’t easily fulfilled by commonly available PSUs, which is why a custom design was called for.

He tells us how he approached improving stability of the current regulation circuit, the PCB design requirements, and planning user interface for such a driver. However, that’s just part of the battle – regulating the current properly is important, but reducing the potential for accidental injuries even more so. Thus, he talks extensively about designing the driver circuit with safety in mind – using various kinds of interlocks, like a latching relay circuit to prevent it from powering up as soon as power is applied.

Continue reading “Laser Driver Design Keeps Safety First”

The White House Memory Safety Appeal Is A Security Red Herring

In the Holy Programming Language Wars, the lingua franca of system programming – also known as C – is often lambasted for being unsecure, error-prone, and plagued with more types of behavior that are undefined than ones that are defined by the C standards. Many programming languages were said to be ‘C killers’, yet C is still alive today. That didn’t stop the US White House’s Office of the National Cyber Director (ONCD) from putting out a report in which both C and C++ got lambasted for being ‘unsafe’ when it came to memory management.

The full report (PDF) is pretty light on technical details, while citing only blog posts by Microsoft and Google as its ‘expert sources’. The claim that memory safety issues are the primary cause of CVEs is not substantiated, or at least ignores the severity of CVEs when looking at the CISA statistics for active exploits. Beyond this call for ‘memory safety’, the report then goes on to effectively call for more testing and validation, while kicking in doors that were opened back in the 1970s already with the Steelman requirements and the High Order Language Working Group (HOLWG) of 1975.

What truly is the impact and factual basis of the ONCD report?

Continue reading “The White House Memory Safety Appeal Is A Security Red Herring”

How Airplanes Mostly Stopped Flying Into Terrain And Other Safety Improvements

We have all heard the statistics on how safe air travel is, with more people dying and getting injured on their way to and from the airport than while traveling by airplane. Things weren’t always this way, of course. Throughout the early days of commercial air travel and well into the 1980s there were many crashes that served as harsh lessons on basic air safety. The most tragic ones are probably those with a human cause, whether it was due to improper maintenance or pilot error, as we generally assume that we have a human element in the chain of events explicitly to prevent tragedies like these.

Among the worst pilot errors we find the phenomenon of controlled flight into terrain (CFIT), which usually sees the pilot losing track of his bearings due to a variety of reasons before a usually high-speed and fatal crash. When it comes to keeping airplanes off the ground until they’re at their destination, here ground proximity warning systems (GPWS) and successors have added a layer of safety, along with stall warnings and other automatic warning signals provided by the avionics.

With the recent passing of C. Donald Bateman – who has been credited with designing the GPWS – it seems like a good time to appreciate the technology that makes flying into the relatively safe experience that it is today.

Continue reading “How Airplanes Mostly Stopped Flying Into Terrain And Other Safety Improvements”

The UK Online Safety Bill Becomes Law, What Does It Mean?

We’ve previously reported from the UK about the Online Safety Bill, a piece of internet safety legislation that contains several concerning provisions relating to online privacy and encryption. UK laws enter the statutes by royal assent after being approved by Parliament, so with the signature of the King, it has now become the law of the land as the Online Safety Act 2023. Now that it’s beyond amendment, it’s time to take stock for a minute: what does it mean for internet users, both in the UK and beyond its shores? Continue reading “The UK Online Safety Bill Becomes Law, What Does It Mean?”

Screwdrivers And Nuclear Safety: The Demon Core

Harry Daghlian and Louis Slotin were two of many people who worked on the Manhattan Project. They might not be household names, but we believe they are the poster children for safety procedures. And not in a good way.

Harry Daghlian (CC-BY-SA 3.0, Arnold Dion)

Slotin assembled the core of the “Gadget” — the plutonium test device at the Trinity test in 1945. He was no stranger to working in a lab with nuclear materials. It stands to reason that if you are making something as dangerous as a nuclear bomb, it is probably hazardous work. But you probably get used to it, like some of us get used to working around high voltage or deadly chemicals.

Making nuclear material is hard and even more so back then. But the Project had made a third plutonium core — one was detonated at Trinity, the other over Nagasaki, and the final core was meant to go into a proposed second bomb that was not produced.

The cores were two hemispheres of plutonium and gallium. The gallium allowed the material to be hot-pressed into spherical shapes. Unlike the first two cores, however, the third one — one that would later earn the nickname “the demon core” — had a ring around the flat surfaces to contain nuclear flux during implosion. The spheres are not terribly dangerous unless they become supercritical, which would lead to a prompt critical event. Then, they would release large amounts of neutrons. The bombs, for example, would force the two halves together violently. You could also add more nuclear material or reflect neutrons back into the material.

Continue reading “Screwdrivers And Nuclear Safety: The Demon Core”

Modernizing C Arrays For Greater Memory Safety

Lately, there has been a push for people to stop using programming languages that don’t promote memory safety. But as we still haven’t seen the death of some languages that were born in the early 1960s, we don’t think there will be much success in replacing the tremendous amount of software that uses said “unsafe” languages.

That doesn’t mean it’s a hopeless cause, though. [Kees Cook] recently posted how modern C99 compilers offer features to help create safer arrays, and he outlines how you can take advantage of these features. Turns out, it is generally easy to do, and if you get errors, they probably point out unexpected behavior in your original code, so that’s a plus.

We don’t think there’s anything wrong with C and C++ if you use them as you should. Electrical outlets are useful until you stick a fork in one. So don’t stick a fork in one. We really liked the recent headline we saw from [Sarah Butcher]: “If you can’t write safe C++ code, it’s because you can’t write C++.” [Cook’s] post makes a similar argument.  C has advanced quite a bit and the fact that 30-year-old code doesn’t use these new features isn’t a good excuse to give up on C.

Continue reading “Modernizing C Arrays For Greater Memory Safety”