Ask Hackaday: Drone Swarms Replace Fireworks; Where Are The Hackers?

Your mom always warned you that those fireworks could put an eye out. However, the hottest new thing in fireworks displays is not pyrotechnic at all. Instead, a swarm of coordinated drones take to the sky with different lighting effects. This makes some pretty amazing shows possible, granting full control of direction, color, and luminosity of each light source in a mid-air display. It also has the side benefit of being safer — could this be the beginning of the end for fireworks accident videos blazing their way across social media platforms?

For an idea of what’s possible with drone swarm displays, check out the amazing pictures found on this site (machine translation) that show off the 3D effects quite well. Note that although it appears the camera is moving during many of these, the swam itself could be rotated relative to a stationary viewer for a similar effect.

What I couldn’t find was much going on here in the hobby space. Granted, in the United States, restrictive drone laws might hamper your ability to do things like this. But it seems that in a purely technical terms this wouldn’t be super hard to do — at least for simple designs. Besides, there must be some way to do this in US airspace since drone performances have been at the Super Bowl, Los Angeles, New York, Miami, and Folsom, CA.

So if the regulations were sorted, what would it take to build a swarm of your own performing drones?

Continue reading “Ask Hackaday: Drone Swarms Replace Fireworks; Where Are The Hackers?”

Linux Fu: WSL Tricks Blur The Windows/Linux Line

We have to admit, we have an odd fascination with WSL — the Windows subsystem for Linux. On the one hand, it gives us more options on Windows 10 for running the software we love. On the other hand, we wonder why we aren’t just running Linux. Sometimes it is because our cool laptop doesn’t work well on Linux. Other times we are using someone else’s computer that we aren’t allowed to reload or dual boot. Still, as long as we have to use Windows, we are glad to have WSL. A recent blog post by [Hanselman] shows some very cool tricks for using WSL that make it even better.

Exploring WSL

Did you know you can use WSL to run Linux commands in a Windows command shell? For example, you have a long directory and you want to run grep:

dir c:\archive\* | wsl grep -i hackaday

Of course, from bash you could access the same directory:

ls /mnt/c/archive | grep -i hackaday

Continue reading “Linux Fu: WSL Tricks Blur The Windows/Linux Line”

Hackaday Links Column Banner

Hackaday Links: December 22, 2019

It’s hard to believe it, but the Raspberry Pi has been on the market for only seven years now. The single-board computer has become so entrenched in the hobby electronics scene that it’s hard to imagine life without it, or what we did before it came along. And with the recent announcement that the 30 millionth Raspberry Pi was recently manufactured, now we have some clarity on the scale of its success. Just roll that number around in your head for a bit – that’s one Pi for every nine or so people in the USA. Some of the other facts and figures in the linked article boggle the mind too, like Eben Upton figured they’d only ever sell about 10,000 units, or that the factory in Wales where most Pis are made can assemble 15,000 units a day.

Speaking of manufacturing, have you ever considered what goes into getting a small-scale manufactured product ready for shipping? The good folks over at Gigatron know all about the joys of kitting, and have put together an interesting un-unboxing video for their flagship TTL-only retro computer. It’s a nice riff on the unboxing videos that are somehow popular on YouTube these days, and shows just how much effort they put into getting a Gigatron out the door. All told, it takes about an hour to ship each unit, and the care put into the process is evident. We especially like the part where all the chips are placed into antistatic foam in the same orientation they’ll be on the completed board. Nice touch.

Last time we checked in on the Lulzbot saga, the open source 3D printer manufacturer had been saved from complete liquidation by a company named FAME 3D. Now we’re getting the first solid details about where things go from here. Not only will thirteen of the remaining Lulzbot employees be staying on, but FAME 3D plans to hire 50 new employees to get operations back up as quickly as possible. The catch? The “F” in FAME 3D stands for Fargo, North Dakota, where Fargo Additive Manufacturing Equipment 3D is based. So Lulzbot will be moving north from Loveland, Colorado in the coming months.

For the last few years, adventure travelers making the pilgrimage to Shenzhen to scour the electronics markets have stuffed a copy of Andrew “Bunnie” Huang’s The Essential Guide to Electronics in Shenzhen into their soon-to-be-overflowing backpacks. The book is a goldmine of insider information, stuffed with maps and translation tables critical for navigating a different culture with no local language skills. Bunnie’s book has only been available in dead-tree format and now that all but the last few copies have been sold, he decided to make a web version available for free. We’d have to think a tablet or phone would be a bit harder to use in the heat of negotiation than the nice spiral-bound design of the print copy, but the fact that the insider information will now be widely available probably makes this a net positive.

And finally, if you’ve ever nearly been run over by an EV or hybrid silently backing out of a parking space, you’ll no doubt appreciate attempts to legislate some sort of audible presence to these vehicles. But what exactly should an electric vehicle be made to sound like? Volkswagen has begun to address that question, and while you can certainly read through the fluff in their press release, all you really need to do is listen to the sample. We’ve got to say that they pretty much nailed what a car of the future should sound like. Although they might have missed a real opportunity here.

Hackaday Podcast 047: Prusa Controversy, Bottle Organ Breakdown, PCBs Bending Backwards, And Listen To Your LED

Hackaday editors Mike Szczys and Elliot Williams get together for the 47th and final Hackaday Podcast of 2019. We dive into the removable appendix on Prusa’s new “Buddy” control board, get excited over the world’s largest grid-backup battery, and commiserate about the folly of designing enclosures as an afterthought. There’s some great research into which threaded-inserts perform best for 3D-printed parts, how LEDs everywhere should be broadcasting data, and an acoustic organ that’s one-ups the traditional jug band.

Take a look at the links below if you want to follow along, and as always tell us what you think about this episode in the comments!

Take a look at the links below if you want to follow along, and as always, tell us what you think about this episode in the comments!

Direct download (60 MB or so.)

Continue reading “Hackaday Podcast 047: Prusa Controversy, Bottle Organ Breakdown, PCBs Bending Backwards, And Listen To Your LED”

This Week In Security: Unicode, Truecrypt, And NPM Vulnerabilities

Unicode, the wonderful extension to to ASCII that gives us gems like “✈”, “⌨”, and “☕”, has had some unexpected security ramifications. The most common problems with Unicode are visual security issues, like character confusion between letters. For example, the English “M” (U+004D) is indistinguishable from the Cyrillic “М” (U+041C). Can you tell the difference between IBM.com and IBМ.com?

This bug, discovered by [John Gracey] turns the common problem on its head. Properly referred to as a case mapping collision, it’s the story of different Unicode characters getting mapped to the same upper or lowercase equivalent.

'ß'.toLowerCase() === 'SS'.toLowerCase() // true
// Note the Turkish dotless i
'John@Gıthub.com'.toUpperCase() === 'John@Github.com'.toUpperCase()

GitHub stores all email addresses in their lowercase form. When a user sends a password reset, GitHub’s logic worked like this: Take the email address that requested a password reset, convert to lower case, and look up the account that uses the converted email address. That by itself wouldn’t be a problem, but the reset is then sent to the email address that was requested, not the one on file. In retrospect, this is an obvious flaw, but without the presence of Unicode and the possibility of a case mapping collision, would be a perfectly safe practice.

This flaw seems to have been fixed quite some time ago, but was only recently disclosed. It’s also a novel problem affecting Unicode that we haven’t covered. Interestingly, my research has turned up an almost identical problem at Spotify, back in 2013.
Continue reading “This Week In Security: Unicode, Truecrypt, And NPM Vulnerabilities”

atom drawing

What’s An Exciton?

If you read the scientific literature, you see the familiar subatomic particles you learned about in school: protons, neutrons, and electrons. If you are young enough, you see others you probably heard about, too, like quarks and gluons. But recently there has been a lot of buzz about excitons and even some transistor circuits demonstrated that use them. But what is an exciton?

It actually sounds like a subatomic particle, but it is a little more complicated than that. An exciton is a bound state of an electron and an electron hole and is technically a boson. You are probably familiar with the idea of an electron hole from semiconductor physics. Technically, it is a quasiparticle. The reason scientists are interested in the beast is that it can transport energy without transporting net electric charge. That is, the state itself is neutral, but also contains energy. Continue reading “What’s An Exciton?”

Retrotechtacular: Mechanical Arithmetic For The Masses

Last month we carried a piece looking at the development of the 8-bit home computer market through the lens of the British catalogue retailer Argos and their perennial catalogue of dreams. As an aside, we mentioned that the earliest edition from 1975 contained some of the last mechanical calculators on the market, alongside a few early electronic models. This month it’s worth returning to those devices, because though they are largely forgotten now, they were part of the scenery and clutter of a typical office for most of the century.

The Summa's internals, showing the register on the right and the type wheels on the left.
The Summa’s internals, showing the register on the right and the type wheels on the left.

Somewhere in storage I have one of the models featured in the catalogue, an Olivetti Summa Prima. I happened upon it in a dumpster as a teenager looking for broken TVs to scavenge for parts, cut down a pair of typewriter ribbon reels to fit it, and after playing with it for a while added it to my store of random tech ephemera. It’s a compact and stylish desktop unit from about 1970, on its front is a numerical keypad, top is a printer with a holder for a roll of receipt paper and a typewriter-style rubber roller, while on its side is a spring-loaded handle from which it derives its power. It can do simple addition and subtraction in the old British currency units, and operating it is a simple case of punching in a number, pulling the handle, and watching the result spool out on the paper tape. Its register appears to be a set of rotors advanced or retarded by the handle for either addition or subtraction, and its printing is achieved by a set of print bars sliding up to line the correct number with the inked ribbon. For me in 1987 with my LCD Casio Scientific it was an entertaining mechanical curiosity, but for its operators twenty years earlier it must have represented a significant time saving.

The history of mechanical calculators goes back over several hundred years to Blaise Pascal in the 17th century, and over that time they evolved through a series of inventions into surprisingly sophisticated machines that were capable of handling financial complications surprisingly quickly. The Summa was one of the last machines available in great numbers, and even as it was brought to market in the 1960s its manufacturer was also producing one of the first desktop-sized computers. Its price in that 1975 Argos catalogue is hardly cheap but around the same as an electronic equivalent, itself a minor miracle given how many parts it contains and how complex it must have been to manufacture.

We’ve put two Summa Prima videos below the break. T.the first is a contemporary advert for the machine, and the second is a modern introduction to the machine partially narrated by a Brazilian robot, so consider translated subtitles. In that second video you can see something of its internals as the bare mechanism is cranked over for the camera and some of the mechanical complexity of the device becomes very obvious. It might seem odd to pull a obsolete piece of office machinery from a dumpster and hang onto it for three decades, but I’m very glad indeed that a 1980s teenage me did so. You’re probably unlikely to stumble upon one in 2019, but should you do so it’s a device that’s very much worth adding to your collection.

Continue reading “Retrotechtacular: Mechanical Arithmetic For The Masses”