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?”

2022 Hackaday Supercon Tickets On Sale Now

Did I tell you about the time that [Spetku] turned the schwag bottle into a Jacob’s Ladder?
Supercon Tickets go on sale right now! And the true-believer tickets usually sell out fast, so if you’re as excited about the thought of a real-life Supercon as we are, get yours now for a healthy discount.

We might be biased, but Supercon is our favorite conference of the year. Smaller than most and hardware-focused, you really can’t beat the signal/noise ratio of the crowd in attendance and the talks on the stage. People bring their projects, their great ideas, and their big dreams with them. And we have a cool badge to boot. It’s Hackaday, but in real life. And you should join us!

The conference starts on Friday Nov. 4th with registration, a mellow afternoon of badge-hacking, and a party to kick things off right. Saturday and Sunday are the main show, with a hacker village in the alley, workshops aplenty, and of course all of the talks. It’s only a weekend, but it’s one you’ll keep going back to in your mind for the whole year.

The Nitty Gritty Details

One hundred (100) True-believer Tickets are on sale now for $128 apiece, or until Aug. 29th. We call them True-believer Tickets because we haven’t even finished the call for proposals yet, much less selected the talks, but trust us, it’s going to be a good slate. (In past years, the True-believer tickets have sold out in as little as a day, so don’t sleep on this!) After that, regular admission is $256.

Of course, there’s always a back door if you want to sneak in for free. In our opinion, the coolest way to attend a conference is to give a talk, and you’ll get a complimentary ticket to boot! And even if you don’t get selected, we’ll give everyone who submits a serious talk proposal a ticket at the discounted price, so don’t hesitate. Volunteers also get in free, and we’ll be putting out the call on Aug 29th.

No matter how you get yourself a ticket, get one, and get to Supercon. We’re excited to see you in person again!

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”