Hackaday Links Column Banner

Hackaday Links: October 4, 2020

In case you hadn’t noticed, it was a bad week for system admins. Pennsylvania-based United Health Services, a company that owns and operates hospitals across the US and UK, was hit by a ransomware attack early in the week. The attack, which appears to be the Ryuk ransomware, shut down systems used by hospitals and health care providers to schedule patient visits, report lab results, and do the important job of charting. It’s not clear how much the ransomers want, but given that UHS is a Fortune 500 company, it’s likely a tidy sum.

And as if an entire hospital corporation’s IT infrastructure being taken down isn’t bad enough, how about the multi-state 911 outage that occurred around the same time? Most news reports seemed to blame the outage on an Office 365 outage happening at the same time, but Krebs on Security dug a little deeper and traced the issue back to two companies that provide 911 call routing services. Each of the companies is blaming the other, so nobody is talking about the root cause of the issue. There’s no indication that it was malware or ransomware, though, and the outage was mercifully brief. But it just goes to show how vulnerable our systems have become.

Our final “really bad day at work” story comes from Japan, where a single piece of failed hardware shut down a $6-trillion stock market. The Tokyo Stock Exchange, third-largest bourse in the world, had to be completely shut down early in the trading day Thursday when a shared disk array failed. The device was supposed to automatically failover to a backup unit, but apparently the handoff process failed. This led to cascading failures and blank terminals on the desks of thousands of traders. Exchange officials made the call to shut everything down for the day and bring everything back up carefully. We imagine there are some systems people sweating it out this weekend to figure out what went wrong and how to keep it from happening again.

With our systems apparently becoming increasingly brittle, it might be a good time to take a look at what goes into space-rated operating systems. Ars Technica has a fascinating overview of the real-time OSes used for space probes, where failure is not an option and a few milliseconds error can destroy billions of dollars of hardware. The article focuses on the RTOS VxWorks and goes into detail on the mysterious rebooting error that affected the Mars Pathfinder mission in 1997. Space travel isn’t the same as running a hospital or stock exchange, of course, but there are probably lessons to be learned here.

As if 2020 hasn’t dealt enough previews of various apocalyptic scenarios, here’s what surely must be a sign that the end is nigh: AI-generated PowerPoint slides. For anyone who has ever had to sit through an endless slide deck and wondered who the hell came up with such drivel, the answer may soon be: no one. DeckRobot, a startup company, is building an AI-powered extension to Microsoft Office to automate the production of “company compliant and visually appealing” slide decks. The extension will apparently be trained using “thousands and thousands of real PowerPoint slides”. So, great — AI no longer has to have the keys to the nukes to do us in. It’ll just bore us all to death.

And finally, if you need a bit of a palate-cleanser after all that, please do check out robotic curling. Yes, the sport that everyone loves to make fun of is actually way more complicated than it seems, and getting a robot to launch the stones on the icy playing field is a really complex and interesting problem. The robot — dubbed “Curly”, of course — looks like a souped-up Roomba. After sizing up the playing field with a camera on an extendable boom, it pushes the stone while giving it a gentle spin to ease it into exactly the right spot. Sadly, the wickedly energetic work of the sweepers and their trajectory-altering brooms has not yet been automated, but it’s still pretty cool to watch. But fair warning: you might soon find yourself with a curling habit to support.

Adding Sensors To Improve Your Curling Game? Turns Out It’s Really Hard

Sometimes, a project turns out to be harder than expected at every turn and the plug gets pulled. That was the case with [Chris Fenton]’s efforts to gain insight into his curling game by adding sensors to monitor the movement of curling stones as well as the broom action. Luckily, [Chris] documented his efforts and provided us all with an opportunity to learn. After all, failure is (or should be) an excellent source of learning.

The first piece of hardware was intended to log curling stone motion and use it as a way to measure the performance of the sweepers. [Chris] wanted to stick a simple sensor brick made from a Teensy 3.0 and IMU to a stone and log all the motion-related data. The concept is straightforward, but in practice it wasn’t nearly as simple. The gyro, which measures angular velocity, did a good job of keeping track of the stone’s spin but the accelerometer was a different story. An accelerometer measures how much something is speeding up or slowing down, but it simply wasn’t able to properly sense the gentle and gradual changes in speed that the stone underwent as the ice ahead of it was swept or not swept. In theory a good idea, but in practice it ended up being the wrong tool for the job.

The other approach [Chris] attempted was to make a curling broom with a handle that lit up differently based on how hard one was sweeping. It wasn’t hard to put an LED strip on a broom and light it up based on a load sensor reading, but what ended up sinking this project was the need to do it in a way that didn’t interfere with the broom’s primary function and purpose. Even a mediocre curler applies extremely high forces to a broom when sweeping in a curling game, so not only do the electronics need to be extremely rugged, but the broom’s shaft needs to be able to withstand considerable force. The ideal shaft would be a clear and hollow plastic holding an LED strip with an attachment for the load sensor, but no plastic was up to the task. [Chris] made an aluminum-reinforced shaft, but even that only barely worked.

We’re glad [Chris] shared his findings, and he said the project deserves a more detailed report. We’re looking forward to that, because failure is a great teacher, and we’ve celebrated its learning potential time and again.

The Strange Physics Of Curling

It turns out that curling involves some complex physics. [Destin] of Smarter Every Day has jumped in to find out why scientists on opposite sides of the Atlantic disagree about why curling stones curl.

If you’ve been watching the Olympics, you’ve probably seen some curling, the Scottish sport of competitively pushing stones on ice. As the name implies, curling stones don’t go straight. The thrower pushes them with a bit of rotation, and the stones curve in the direction they are rotating. This is exactly the opposite of what one would expect — try it yourself with an inverted drinking glass on a smooth table.  The glass will curl opposite the direction of rotation. Clockwise spin will result in a curl to the left, counterclockwise in a curl to the right.

The cup makes sense when you think about the asymmetrical friction involved. The cup is slowing down, which means more pressure on the leading edge. The rotating leading edge pushes harder against the table and causes the cup to curl opposite the direction of rotation.

Continue reading “The Strange Physics Of Curling”