Raspberry Pi And The Story Of SD Card Corruption

Tales of Raspberry Pi SD card corruption are available online by the fistful, and are definitely a constant in Pi-adjacent communities. It’s apparent that some kind of problems tend to arise when a Raspberry Pi meets an SD card – which sounds quite ironic, since an SD card is the official and recommended way of booting a Pi. What is up with all of that?

I can start with a history lesson. Back when Raspberry Pi launched in 2012 – which is now 10 years ago – there were SD card controller driver problems, which makes sense given the wide variety of SD cards available out there. They were verifiably fixed one by one at some point in time, as debugging goes, their impact decreased and bugs with individual cards got smoothed over. This is how the “Pi SD card corruption” meme was originally born; however, if the problems were to end there, so would the meme. Yet, tales of broken SD cards plague us to this day – way less severe than they were in the beginning, but pronounced enough that you’ll see people encounter them every now and then.

Over the years, a devoted base of Pi SD card haters has grown. Their demand has been simple – Raspberry Pi has to get an ability to boot from something else, in large part because of corruption reasons, but also undeniably because of speed and capacity/cost limitations of SD cards. Thanks to their demands and work, we’ve seen a series of projects grow from unofficial efforts and hacks into officially supported Raspberry Pi abilities – USB boot being initially more of a workaround but now something you can enable out of the box, SSD-equipped Pi enclosures becoming more of a norm, and now, NVMe boot appearing on the horizon. Every few years, we get a new way to boot a Pi. Continue reading “Raspberry Pi And The Story Of SD Card Corruption”

Grid Batteries On Wheels: The Complicated Logistics Of Vehicle-Grid Integration

At its core, the concept of vehicle-grid integration (VGI) – also called Vehicle To Grid (V2G) – seems a simple one. Instead of a unidirectional charger for battery-electric vehicles (BEVs), a bidirectional charger would be used. This way, whenever the BEV is connected to such a charger, power could be withdrawn from the car’s battery for use on the local electrical grid whenever there’s demand.

Many of the complications with VGI have already been discussed, including the increased wear that this puts on a BEV’s battery, the need for an inherently mobile machine to be plugged into a charger, and the risk of needing one’s BEV and finding its battery to be nearly depleted. Here the cheerful marketing from Nissan and that from commercial initiatives such as Vehicle to Grid Britain makes it sound like it’s a no-brainer once those pesky details can be worked out.

In parallel with the world of glossy marketing leaflets, researchers have been investigating VGI as a potential option for grid-level energy storage. These studies produce a far less optimistic picture that puts the entire concept of VGI into question.

Continue reading “Grid Batteries On Wheels: The Complicated Logistics Of Vehicle-Grid Integration”

The Invisible Battlefields Of The Russia-Ukraine War

Early in the morning of February 24th, Dr. Jeffrey Lewis, a professor at California’s Middlebury Institute of International Studies watched Russia’s invasion of Ukraine unfold in realtime with troop movements overlaid atop high-resolution satellite imagery. This wasn’t privileged information — anybody with an internet connection could access it, if they knew where to look. He was watching a traffic jam on Google Maps slowly inch towards and across the Russia-Ukraine border.

As he watched the invasion begin along with the rest of the world, another, less-visible facet of the emerging war was beginning to unfold on an ill-defined online battlefield. Digital espionage, social media and online surveillance have become indispensable instruments in the tool chest of a modern army, and both sides of the conflict have been putting these tools to use. Combined with civilian access to information unlike the world has ever seen before, this promises to be a war like no other.

Modern Cyberwarfare

The first casualties in the online component of the war have been websites. Two weeks ago, before the invasion began en masse, Russian cyberwarfare agents launched distributed denial of service (DDoS) attacks against Ukrainian government and financial websites. Subsequent attacks have temporarily downed the websites of Ukraine’s Security Service, Ministry of Foreign Affairs, and government. A DDoS attack is a relatively straightforward way to quickly take a server offline. A network of internet-connected devices, either owned by the aggressor or infected with malware, floods a target with request, as if millions of users hit “refresh” on the same website at the same time, repeatedly. The goal is to overwhelm the server such that it isn’t able to keep up and stops replying to legitimate requests, like a user trying to access a website. Russia denied involvement with the attacks, but US and UK intelligence services have evidence they believe implicates Moscow. Continue reading “The Invisible Battlefields Of The Russia-Ukraine War”

Ion Thrusters: Not Just For TIE Fighters Anymore

Spacecraft rocket engines come in a variety of forms and use a variety of fuels, but most rely on chemical reactions to blast propellants out of a nozzle, with the reaction force driving the spacecraft in the opposite direction. These rockets offer high thrust, but they are relatively fuel inefficient and thus, if you want a large change in velocity, you need to carry a lot of heavy fuel. Getting that fuel into orbit is costly, too!

Ion thrusters, in their various forms, offer an alternative solution – miniscule thrust, but high fuel efficiency. This tiny push won’t get you off the ground on Earth. However, when applied over a great deal of time in the vacuum of space, it can lead to a huge change in velocity, or delta V.

This manner of operation means that an ion thruster and a small mass of fuel can theoretically create a much larger delta-V than chemical rockets, perfect for long-range space missions to Mars and other applications, too. Let’s take a look at how ion thrusters work, and some of their interesting applications in the world of spacecraft!

Continue reading “Ion Thrusters: Not Just For TIE Fighters Anymore”

Researchers Build Neural Networks With Actual Neurons

Neural networks have become a hot topic over the last decade, put to work on jobs from recognizing image content to generating text and even playing video games. However, these artificial neural networks are essentially just piles of maths inside a computer, and while they are capable of great things, the technology hasn’t yet shown the capability to produce genuine intelligence.

Cortical Labs, based down in Melbourne, Australia, has a different approach. Rather than rely solely on silicon, their work involves growing real biological neurons on electrode arrays, allowing them to be interfaced with digital systems. Their latest work has shown promise that these real biological neural networks can be made to learn, according to a pre-print paper that is yet to go through peer review.
Continue reading “Researchers Build Neural Networks With Actual Neurons”

It’s Official! The Raspberry Pi Is Now 10!

In any given field there are epoch-defining moments, those events after which nothing was quite the same as it had been before. It’s been a decade since the launch of the first Raspberry Pi single board computer. This was by no means the first inexpensive computer board, nor was it the first to support the GNU/Linux operating system, but it was among the first to promise a combination of those two. Coupled with support from a crop of British 8-bit alumni meant that from when it first gained publicity in early 2011 it garnered a huge buildup of interest.

We were first teased with a USB stick style prototype, which morphed into a much larger Raspberry Pi alpha board and finally into pre-production boards much closer to the model launched at the end of February ten years ago.

How To Disappoint Every Single British Geek At 6 AM

An array of Pi prototype boards pictured on display at the Cambridge University Computer Laboratory.
An array of Pi prototype boards pictured on display at the Cambridge University Computer Laboratory.

Pedants will claim that the 10th birthday of the Pi is technically not yet upon us because those first Model B boards went on sale on the 29th of February 2012, a leap day. The two distributors, RS and Farnell, were both putting them on sale with the expectation of selling around 10,000 units — a prediction that proved woefully inadequate, with both websites collapsing under the weight of would-be Pi-purchasers within seconds of opening up at 6 AM.

I was ready to order at 6 AM, and was only able to order mine halfway through the day. That short wait would be just the beginning — because they received so many more orders than anticipated, the bulk of the orders weren’t fulfilled until May. Nobody had imagined how wildly successful the Pi boards would become. Continue reading “It’s Official! The Raspberry Pi Is Now 10!”

Big Chemistry: From Gasoline To Wintergreen

Most of us probably have some vivid memories of high school or college chemistry lab, where the principles of the science were demonstrated, and where we all got at least a little practice in experimental methods. Measuring, diluting, precipitating, titrating, all generally conducted under safe conditions using stuff that wasn’t likely to blow up or burn.

But dropwise additions and reaction volumes measured in milliliters are not the stuff upon which to build a global economy that feeds, clothes, and provides for eight billion people. For chemistry to go beyond the lab, it needs to be scaled up, often to a point that’s hard to conceptualize. Big chemistry and big engineering go hand in hand, delivering processes that transform the simplest, most abundant substances into the things that, for better or worse, make life possible.

To get a better idea of how big chemistry does that, we’re going to take a look at one simple molecule that we’ve probably all used at one time or another: the common artificial flavoring wintergreen. It’s an innocuous ingredient in a wide range of foods and medicines, but the infrastructure required to make it and all its precursors is a snapshot of just how important big chemistry really is.

Continue reading “Big Chemistry: From Gasoline To Wintergreen”