Bufferbloat, The Internet, And How To Fix It

There’s a dreaded disease that’s plagued Internet Service Providers for years. OK, there’s probably several diseases, but today we’re talking about bufferbloat. What it is, how to test for it, and finally what you can do about it. Oh, and a huge shout-out to all the folks working on this problem. Many programmers and engineers, like Vint Cerf, Dave Taht, Jim Gettys, and many more have cracked this nut for our collective benefit.

When your computer sends a TCP/IP packet to another host on the Internet, that packet routes through your computer, through the network card, through a switch, through your router, through an ISP modem, through a couple ISP routers, and then finally through some very large routers on its way to the datacenter. Or maybe through that convoluted chain of devices in reverse, to arrive at another desktop. It’s amazing that the whole thing works at all, really. Each of those hops represents another place for things to go wrong. And if something really goes wrong, you know it right away. Pages suddenly won’t load. Your VoIP calls get cut off, or have drop-outs. It’s pretty easy to spot a broken connection, even if finding and fixing it isn’t so trivial.

That’s an obvious problem. What if you have a non-obvious problem? Sites load, but just a little slower than it seems like they used to. You know how to use a command line, so you try a ping test. Huh, 15.0 ms off to Google.com. Let it run for a hundred packets, and essentially no packet loss. But something’s just not right. When someone else is streaming a movie, or a machine is pushing a backup up to a remote server, it all falls apart. That’s bufferbloat, and it’s actually really easy to do a simple test to detect it. Run a speed test, and run a ping test while your connection is being saturated. If your latency under load goes through the roof, you likely have bufferbloat. There are even a few of the big speed test sites that now offer bufferbloat tests. But first, some history. Continue reading “Bufferbloat, The Internet, And How To Fix It”

Coils In The Road Could Charge EVs While Driving

One of the primary issues with EVs is that you need to pull over and stop to get a charge. If there isn’t a high-speed DC charger available, this can mean waiting for hours while your battery tops up.

It’s been the major bugbear of electric vehicles since they started hitting the road in real numbers. However, a new wireless charging setup could allow you to juice up on the go.

Electric Highways

Over the years, many proposals have been made to power or charge electric vehicles as they drive down the road. Many are similar to the way we commonly charge phones these days, using inductive power transfer via magnetic coils. The theory is simple. Power is delivered to coils in the roadway, and then picked up via induction by a coil on the moving vehicle.

Taking these ideas from concept into reality is difficult, though. When it comes to charging an electric vehicle, huge power levels are required, in the range of tens to hundreds of kilowatts. And, while a phone can sit neatly on top of a charging pad, EVs typically require a fair bit of ground clearance for safely navigating the road. Plus, since cars move at quite a rapid pace, an inductive charging system that could handle this dynamic condition would require huge numbers of coils buried repeatedly into the road bed. Continue reading “Coils In The Road Could Charge EVs While Driving”

Why Do Brits Drink Warm Beer?

Traveling through mainland Europe on a British passport leads you to several predictable conversations. There’s Marmite of course, then all the fun of the Brexit fair, and finally on a more serious note, beer. You see, I didn’t know this, but after decades of quaffing fine ales, I’m told we do it wrong because we drink our beer warm. “Warm?”, I say, thinking of a cooling glass of my local Old Hooky which is anything but warm when served in an Oxfordshire village pub, to receive the reply that they drink their beers cold. A bit of international deciphering later it emerges that “warm” is what I’d refer to as “cold”, or in fact “room temperature”, while “cold” in their parlance means “refrigerated”, or as I’d say it: “Too cold to taste anything”. Mild humour aside there’s clearly something afoot, so it’s time to get to the bottom of all this. Continue reading “Why Do Brits Drink Warm Beer?”

Microsoft’s New Simulator Helps Train Drone AIs

Testing any kind of project in the real world is expensive. You have to haul people and equipment around, which costs money, and if you break anything, you have to pay for that too! Simulation tends to come first. Making mistakes in a simulation is much cheaper, and the lessons learned can later be verified in the real world. If you want to learn to fly a quadcopter, the best thing to do is get some time behind the sticks of a simulator before you even purchase anything with physical whirly blades.

Oddly enough, the same goes for AI. Microsoft built a simulation product to aid the development of artificial intelligence systems for drones by the name of Project AirSim. It aims to provide a comprehensive environment for the testing of drone AI systems, making development faster, cheaper, and more practical.

Continue reading “Microsoft’s New Simulator Helps Train Drone AIs”

What Goes Into A Hacker Camp

Long-time readers of Hackaday will know that we attend quite a few events, including summer hacker camps. Here in Europe this year there are two large events, the British Electromagnetic Field, and the Dutch MCH, or May Contain Hackers. These events are put together by volunteers from within the community, and as part of the MCH setup I noticed they needed drivers for their off-site logistics. I have a licence to drive medium-sized trucks in Europe so it seemed like a perfect fit. I traveled early on the first set-up day to the Dutch city of Utrecht, and found myself behind the wheel of a large Volkswagen box van. My brief career as a trucker had begun!

An Empty Field Of Dreams

A field with a few tents and a blue sky
The tents stand in isolation at the end of day one.

The Netherlands is a relatively small country and the MCH site at Zeewolde is roughly in its centre, so while the traffic could be heavy the distances weren’t large by American or even British standards. There were however a wide variety of loads waiting for me and my fellow driver, and a few obstacles such as the hottest days of the year and angry Dutch farmers blockading the roads. If you’re interested in the logistics behind a large hacker camp then our journeys provided an insight that maybe wandering around the field doesn’t quite deliver.

Arriving on site on the first day gives a perspective on how much of the infrastructure comes from specialist contractors and thus isn’t delivered by the hackers. Articulated trucks from the marquee company were disgorging the main tents, with their crews expertly assembling them in record time. The toilets and showers were arriving as self-contained hook lift container units, and yet more contractors were delivering fencing or tables and chairs. I can add the power infrastructure to this list, but due I’m told to delays at another event this wasn’t on site on the first day. Continue reading “What Goes Into A Hacker Camp”

AI Creates Your Spreadsheets, Sometimes

We’ve been interested in looking at how AI can process things other than silly images. That’s why the “Free AI Bot that Generates the Excel Formula for Any Problem” caught our eye. Based on GPT-3, it supposedly transforms your problem description into a formula suitable for Excel or Google Sheets.

Our first prompt didn’t work out very well. But that was sort of our fault. When they say “Excel formula” they mean that quite literally. So trying to describe the actual result you want in terms of columns or rows seems to be beyond it. Not realizing that, we asked:

If the sum of column H is greater than 50, multiply column A by 0.33

And got:

=IF(SUM(H:H)>50,A*0.33,0)

A Better Try

Which is close, but not really how anyone even mildly proficient with Excel would interpret that request. But that’s not fair. It really needs to be a y=f(x) sort of problem, we suppose.

Continue reading “AI Creates Your Spreadsheets, Sometimes”

Martian Successes Reshape Sample Return Plans

For as long as humans have been sending probes to Mars, there’s been a desire to return rock, soil, and atmosphere samples back to Earth for more detailed analysis. But the physics of such a mission are particularly demanding — a vehicle that could land on the Martian surface, collect samples, and then launch itself back into orbit for the return to Earth would be massive and prohibitively expensive with our current technology.

Mars sample return tube

Instead, NASA and their international partners have been working to distribute the cost and complexity of the mission among several different vehicles. In fact, the first phase of the program is well underway.

The Perseverance rover has been collecting samples and storing them in 15 cm (6 inch) titanium tubes since it landed on the Red Planet in February of 2021. Considerable progress has also been made on the Mars Ascent Vehicle (MAV) which will carry the samples from the surface and into orbit around the planet, where they will eventually be picked up by yet another vehicle which will ultimately return them to Earth.

But there’s still some large gaps in the overall plan. Chief among them is how the samples are to be transferred into the MAV. Previously, the European Space Agency (ESA) was to contribute a small “fetch rover” which would collect the sample tubes dropped by Perseverance and bring them to the MAV launch site.

But in a recent press release, NASA has announced that those plans have changed significantly, thanks at least in part to the incredible success of the agency’s current Mars missions.

Continue reading “Martian Successes Reshape Sample Return Plans”