The Future Of Diesel Is On Shaky Ground

Diesel is a fuel that has had a mixed history, with varying levels of take-up by consumers around the world. In the world of transport, diesel engines have offered better fuel economy and torque than comparable gasoline engines. Particularly popular in Europe, diesel established a strong consumer base in both small commuter cars as well as heavy vehicles such as trucks and buses.

Despite this, the tide is turning, and for the average motorist, diesel’s days may be numbered. Why is this the case, and what are the potential alternatives vying for diesel’s crown?

Plenty of Pros, but Plenty of Cons

Diesel remains a fuel with a varied uptake around the world. It has enjoyed great popularity in Europe in small commuter cars.

Diesel is a hydrocarbon fuel with several advantages over gasoline. Its lack of volatility makes it workable to use in a compression-ignition mode, and diesel engines can be run with lean fuel-air ratios. It also has a higher volumetric energy density than gasoline, and thanks to low volatility, diesel engines can run at significantly higher compression ratios without risking detonation. These benefits allow diesel engines to produce significantly more torque than similarly sized gasoline engines, and they can offer fuel economy gains in excess of 15%.

Unfortunately, diesel also comes with its fair share of drawbacks. Diesel engines are typically poor when it comes to power to weight ratio, as their high compression ratio and torque output demands heavier materials in their construction. The major bugbear of the diesel engine, however, is its emissions. Despite greater fuel efficiency, carbon dioxide output from a diesel engine is often far worse than that of a comparable gas motor. Additionally, their lean-burning nature leads to production of high levels of oxides of nitrogen (NOx), which have major negative environmental effects. There’s also the problem of particulate pollution, which is responsible for respiratory harm in humans. Diesel automobiles rank significantly worse than gasoline vehicles in all these areas. It’s begun to cause figurative headaches for the industry, and literal headaches for the public. Continue reading “The Future Of Diesel Is On Shaky Ground”

FIDO2: The Dream Of Password-Free Authentication On The WWW

Of all the things which are annoying about the modern World Wide Web, the need to create and remember countless passwords is on the top of most people’s lists. From dozens of passwords for everything from social media sites to shopping, company, and productivity-related platforms like Github, a large part of our day is spent dealing with passwords.

While one can totally use a password manager to streamline the process, this does not absolve you from having to maintain this list and ensure you never lose access to it, while simultaneously making sure credentials for the password manager are never compromised. The promise of password-less methods of authentication is that of a world where one’s identity is proven without hassle, and cannot ever be stolen, because it relies on biometrics and hardware tokens instead of an easily copied password.

The FIDO2 project promises Web Authentication that means never entering a password into a website again. But like everything, it comes with some strings attached. In this article, we’ll take a look at how FIDO2 plans to work and how that contrasts with the state of security in general.

Continue reading “FIDO2: The Dream Of Password-Free Authentication On The WWW”

Solar System Wars: Walmart Versus Tesla

It seems like hardly a day goes by that doesn’t see some news story splashed across our feeds that has something to do with Elon Musk and one or another of his myriad companies. The news is often spectacular and the coverage deservedly laudatory, as when Space X nails another double landing of its boosters after a successful trip to space. But all too often, it’s Elon’s baby Tesla that makes headlines, and usually of the kind that gives media relations people ulcers.

The PR team on the automotive side of Tesla can take a bit of a breather now, though. This time it’s Elon’s solar power venture, Tesla Energy Operations, that’s taking the heat. Literally — they’ve been sued by Walmart for rooftop solar installations that have burst into flames atop several of the retail giant’s stores. While thankfully no lives have been lost and no major injuries were reported, Walmart is understandably miffed at the turn of events, leading to the litigation.

Walmart isn’t alone in their exposure to potential Tesla solar problems, so it’s worth a look to see what exactly happened with these installations, why they failed, and what we as hackers can learn from the situation. As we’ll see, it all boils down to taking electrical work very seriously and adhering to standards designed to keep everyone safe, even when they just seem like a nuisance.

Continue reading “Solar System Wars: Walmart Versus Tesla”

Tool Rolls, The Fabric Design Challenge That Can Tidy Up Any Workshop

You’ve designed PCBs. You’ve cut, drilled, Dremeled, and blow-torched various objects into project enclosurehood. You’ve dreamed up some object in three dimensions and marveled as the machine stacked up strings of hot plastic, making that object come to life one line of g-code at a time. But have you ever felt the near-limitless freedom of designing in fabric?

I don’t have to tell you how satisfying it is to make something with your hands, especially something that will get a lot of use. When it comes to that sweet cross between satisfaction and utility, fabric is as rewarding as any other medium. You might think that designing in fabric is difficult, but let’s just say that it is not intuitive. Fabric is just like anything else — mysterious until you start learning about it. The ability to design and implement in fabric won’t solve all your problems, but it sure is a useful tool for the box.

WoF? Fat quarter? How much is a yard of fabric, anyway?

To prove it, I’m going to take you through the process of designing something in fabric. More specifically, a tool roll. These two words may conjure images of worn, oily leather or canvas, rolled out under the open hood of a car. But the tool roll is a broad, useful concept that easily and efficiently bundles up anything from socket wrenches to BBQ utensils and from soldering irons to knitting needles. Tool rolls are the best in flexible, space-saving storage — especially when custom-designed for your need.

In this case, the tools will be pens, notebooks, and index cards. You know, writer stuff. But the same can just as easily organize your oscilloscope probes. It’s usefully and a great first foray into building things with fabric if this is your first time.

Continue reading “Tool Rolls, The Fabric Design Challenge That Can Tidy Up Any Workshop”

Hams In Space: Gearing Up For The Lunar Gateway

Humanity had barely taken its first tentative steps into space with primitive satellites when amateur radio operators began planning their first satellites. Barely four years after Sputnik’s brief but momentous launch and against all odds, OSCAR 1 was launched as a secondary payload from an Air Force missile taking a spy satellite into orbit. Like Sputnik, OSCAR 1 didn’t do much, but it was a beginning.

Since then, amateur radio has maintained a more or less continuous presence in space. That first OSCAR has been followed by 103 more, and hams have flown on dozens of missions from the Space Shuttle to the ISS, where pretty much everyone is a licensed amateur. And now, as humans prepare once again to journey into deep space via the stepping stone of the proposed Lunar Gateway, amateur radio is planning on going along for the ride.

Continue reading “Hams In Space: Gearing Up For The Lunar Gateway”

Watching The Watchers: The State Of Space Surveillance

By now you’ve almost certainly heard about the recent release of a high-resolution satellite image showing the aftermath of Iran’s failed attempt to launch their Safir liquid fuel rocket. The geopolitical ramifications of Iran developing this type of ballistic missile technology is certainly a newsworthy story in its own right, but in this case, there’s been far more interest in how the picture was taken. Given known variables such as the time and date of the incident and the location of the launch pad, analysts have determined it was likely taken by a classified American KH-11 satellite.

The image is certainly striking, showing a level of detail that far exceeds what’s available through any of the space observation services we as civilians have access to. Estimated to have been taken from a distance of approximately 382 km, the image appears to have a resolution of at least ten centimeters per pixel. Given that the orbit of the satellite in question dips as low as 270 km on its closest approach to the Earth’s surface, it’s likely that the maximum resolution is even higher.

Of course, there are many aspects of the KH-11 satellites that remain highly classified, especially in regards to the latest hardware revisions. But their existence and general design has been common knowledge for decades. Images taken from earlier generation KH-11 satellites were leaked or otherwise released in the 1980s and 1990s, and while the Iranian image is certainly of a higher fidelity, this is not wholly surprising given the intervening decades.

What we know far less about are the orbital surveillance assets that supersede the KH-11. The satellite that took this image, known by its designation USA 224, has been in orbit since 2011. The National Reconnaissance Office (NRO) has launched a number of newer spacecraft since then, with several more slated to be lifted into orbit between now and 2021.

So let’s take a closer look at the KH-11 series of reconnaissance satellites, and compare that to what we can piece together about the next generation or orbital espionage technology that’s already circling overhead might be capable of.

Continue reading “Watching The Watchers: The State Of Space Surveillance”

Lambdas For C — Sort Of

A lot of programming languages these days feature lambda functions, or what I would be just as happy to call anonymous functions. Some people make a big deal out of these but the core idea is very simple. Sometimes you need a little snippet of code that you only need in one place — most commonly, as a callback function to pass another function — so why bother giving it a name? Depending on the language, there can be more to it that, especially if you get into closures and currying.

For example, in Python, the map function takes a function as an argument. Suppose you have a list and you want to capitalize each word in the list. A Python string has a capitalize method and you could write a loop to apply it to each element in the list. However, map and a lambda can do it more concisely:

map(lambda x: x.capitalize(), ['madam','im','adam'])

The anonymous function here takes an argument x and calls the capitalize method on it. The map call ensures that the anonymous function is called once for each item.

Modern C++ has lambda expressions. However, in C you have to define a function by name and pass a pointer — not a huge problem, but it can get messy if you have a lot of callback functions that you use only one time. It’s just hard to think up that many disposable function names. However, if you use gcc, there are some nonstandard C features you can use to get most of what you want out of lambda expressions.

Continue reading “Lambdas For C — Sort Of”