Dream Bigger, Predict The Future

I’d love to tell you that I’m never wrong, but I’ve been wrong a lot. Remember the Arduino? When it was brand new, I thought it was some silly collection of libraries and a drop-down menu for people who are too lazy to just type out their own #include statements. Needless to say, it launched about a million hacks and brought microcontroller programming into the mainstream. Oops.

Similarly, about fifteen years ago, I saw an educational project out of MIT’s Media Lab. It consisted of a bunch of blocks that had LCD screens on them and would interact with each other when put together. The real hook, though, was that each block had an accelerometer inside, so you could “pour water” out of one block into another, for instance.

At that time, accelerometers were expensive, even in quantities. Even one of these cubes must have cost $100 at the time, much less a whole set. Accelerometers were so expensive that I wouldn’t have thought about incorporating one into a project, much less a dozen, so I ignored them for hacker purposes. Then came the cellphone and economies of scale. Today, even in chip shortage times, they’re readily available for around $2 each, making them useful for exactly this kind of “frivolous” use.

From the Arduino experience, I learned to never underestimate the impact of what seem to me to be “small” conveniences. (And maybe more so, the value of the tremendous common effort from the community.) From the MIT accelerometer story, the moral is that some parts will get drastically cheaper in the future, so you shouldn’t necessarily exclude the cool new sensor from your design repertoire. After all, ten years ago, nobody would have thought that we’d have laser time-of-flight rangefinders for less than a hamburger.

What new components are fantastically useful, or full of potential, that might be cheap enough in the future to make them also worth looking into? Swing by Hackaday tomorrow morning and join in the conversation!

Hackaday Podcast 142: 65 Days Of Airtime, Racecars Staring At The Ceiling, A Pushy White Cane, And Soapy Water Rockets

Hackaday editors Elliot Williams and Mike Szczys flap their gums about all the great hacks of the week. Something as simple as a wheel can be totally revolutionary, as we saw with a white cane mod for the visually impaired which adds an omniwheel that knows where it’s going. We enjoyed the collection of great hacks from all over the community that went into a multi-two-liter water rocket build. You’ll hear Elliot and Mike’s great debate about the origin of comments in computer code. And we spend plenty of time joking around about the worlds longest airplane flight (it was in a tiny Cessna and lasted over two months!)

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 (55 MB)

Continue reading “Hackaday Podcast 142: 65 Days Of Airtime, Racecars Staring At The Ceiling, A Pushy White Cane, And Soapy Water Rockets”

This Week In Security:Use-After-Free For Dummies, WiFi Cracking, And PHP-FPM

In a brilliant write-up, [Stephen Tong] brings us his “Use-After-Free for Dummies“. It’s a surprising tale of a vulnerability that really shouldn’t exist, and a walkthrough of how to complete a capture the flag challenge. The vulnerable binary is running on a Raspberry Pi, which turns out to be very important. It’s a multithreaded application that uses lock-free data sharing, through pair of integers readable by multiple threads. Those ints are declared using the volatile keyword, which is a useful way to tell a compiler not to optimize too heavily, as this value may get changed by another thread.

On an x86 machine, this approach works flawlessly, as all the out-of-order execution features are guaranteed to be globally transparent. Put another way, even if thread one can speed up execution by modifying shared memory ahead of time, the CPU will keep the shared memory changes in the proper order. When that shared memory is controlling concurrent access, it’s really important that ordering happens the way you expect it. What was a surprise to me is that the ARM platform does not provide that global memory ordering. While the out-of-order execution will be transparent to the thread making changes, other threads and processes may observe those actions out of order. An example may help:

volatile int value;
volatile int ready;

// Thread 1
value = 123; // (1)
ready = 1; // (2)

// Thread 2
while (!ready); // (3)
print(value); // (4)

Continue reading “This Week In Security:Use-After-Free For Dummies, WiFi Cracking, And PHP-FPM”

Four More Talks Added To The 2021 Remoticon Lineup

We’ve already unveiled multiple keynote speakers and a slate of fascinating presenters that will be showing off everything from reverse engineering vintage calculators to taking those first tentative steps on your CAD journey for this year’s Remoticon. You’d be forgiven for thinking that’s everything you’ll see at the conference, but there’s still plenty to announce before the two-day virtual event kicks off on November 19th. Normally we’d be promising to make sure you get your money’s worth, but since tickets are completely free, we’re shooting a bit higher than that.

We were blown away by the number of fantastic talk proposals we received during this year’s extended call. Let’s take a look at the next four presenters who will be joining us for the 2021 Hackaday Remoticon on November 19th through the 20th.

Continue reading “Four More Talks Added To The 2021 Remoticon Lineup”

Tech In Plain Sight: Air Conditioning

I’m always amazed that technology can totally wipe out industries. Sure, some people make a living making horseshoes, for example, but the demand for them is way down compared to what it would have been when horses were the normal mode of transportation. But even so, people still make horseshoes. But think about the ice harvesting business. Never heard of it? Turns out, before refrigeration, there was a huge business of moving ice from where it naturally occurred to other places and storing it, usually underground with a lot of insulation. As far as I know, that business — including the neighborhood ice man — is totally gone now except for some historical exhibitions. We take refrigeration and air conditioning for granted, but it hasn’t been that long ago that ice was a luxury and your own reprieve from the heat was a fan.

Early Cooling

The story starts a little earlier than you might expect. In the 1840s, physician John Gorrie was concerned about “the evils of high temperature.” His hospital in Florida imported ice using the aforementioned ice trade and it wasn’t cheap nor was it very effective.

Undeterred, he developed a machine that used a horse, a waterwheel, steam, or wind power to drive a compressor to create ice. He got a patent in 1851 but it failed to catch on before his financial backer died. In fact, Oliver Evans had the idea in 1805 but never built a working machine. Jacob Perkins patented the first compression cooler in 1834, again with little practical use.

When U.S. President Garfield was shot, Navy engineers built a cooling box using cloths soaked in ice water to cool the president’s hospital room by 20 degrees. Since the mortally wounded president survived 80 days after the shooting, we presume he appreciated the comfort.

Continue reading “Tech In Plain Sight: Air Conditioning”

VCF East 2021: Novasaur TTL Computer Sets The Bar

There was certainly no shortage of unique computers on display at the 2021 Vintage Computer Festival East; that’s sort of the point. But even with the InfoAge Science and History Museum packed to the rafters with weird and wonderful computing devices stretching back to the very beginning of the digital age, Alastair Hewitt’s Novasaur was still something of an oddity.

In fact, unless you knew what it was ahead of time, you might not even recognize it as a computer. Certainly not a contemporary one, anyway. There’s nothing inside its Polycase ZN-40 enclosure that looks like a modern CPU, a bank of RAM, or a storage device. Those experienced with vintage machines would likely recognize the tight rows of Advanced Schottky TTL chips as the makings of some sort of computer that predates the 8-bit microprocessor, but its single 200 mm x 125 mm (8 in x 5 in) board seems far too small when compared to the 1970s machines that would have utilized such technology. So what is it?

Inspired by projects such as the Gigatron, Alastair describes the Novasaur as a “full-featured personal computer” built using pre-1980 components. In his design, 22 individual ICs stand in for the computer’s CPU, and another 12 are responsible for a graphics subsystem that can push text and bitmapped images out over VGA at up to 416 x 240. It has 512 K RAM,  256 K ROM, and is able to emulate the Intel 8080 fast enough to run CP/M and even play some early 80s PC games.

Continue reading “VCF East 2021: Novasaur TTL Computer Sets The Bar”

Wearable soft robot grippers

Soft Robotics Hack Chat

Join us on Wednesday, October 27 at noon Pacific for the Soft Robotics Hack Chat with Ali Shtarbanov!

By this point in technological history, we’ve all been pretty well trained in how to think about robots. Designs vary wildly, but to achieve their goals, most robots have one thing in common: they’re rigid. Whether it’s a robot arm slinging a spot welder on an assembly line or a robot dog on patrol, they’re largely made of stiff, strong, materials that, more often than not, are powered by electric motors of some sort.

But just because that’s the general design palette for robotics doesn’t mean there aren’t other ways. Robots, especially those that are intended to be used in close association with humans, can often benefit from being a little more flexible. And that’s where the field of soft robotics shines. Rather than a skeleton of machined aluminum and powerful electric actuators, these robots tend more toward silicone rubber construction with pneumatic activation. Some soft robots are even compliant and safe enough to be wearable, giving humans the ability to do things they never could before, or perhaps restoring functions that have been lost to the ravages of entropy.

Soft robotics is a fascinating field with the potential to really revolutionize things like wearables and collaborative robotics. To help us understand a little more about what’s going on in this space, we’re pleased to welcome Ali Shtarbanov to the Hack Chat. Ali is a Ph.D. student at MIT’s famed Media Lab, where he studies Human-Computer Interaction. He’s particularly interested in making soft robotics as fast and easy to prototype as traditional robotics have become, and to this end, he invented FlowIO, an open-source platform for pneumatic control. We’ll use this as a jumping-off point to discuss the whole field of soft robotics, especially where it is now and where Ali sees it going in the future.

join-hack-chatOur Hack Chats are live community events in the Hackaday.io Hack Chat group messaging. This week we’ll be sitting down on Wednesday, October 27 at 12:00 PM Pacific time. If time zones have you tied up, we have a handy time zone converter.