A Raspberry Pi 3 with a black Raspberry Pi Camera PCB on top of it, looking at the camera taking this picture. There's a Jolly Wrencher in the background.

Make Your Pi Moonlight As A Security Camera

A decade ago, I was learning Linux through building projects for my own needs. One of the projects was a DIY CCTV system based on a Linux box – specifically, a user-friendly all-in-one package for someone willing to pay for it. I stumbled upon Zoneminder, and those in the know, already can tell what happened – I’ll put it this way, I spent days trying to make it work, and my Linux skills at the time were not nearly enough. Cool software like Motion was available back then, but I wasn’t up to the task of rolling an entire system around it. That said, it wouldn’t be impossible, now, would it?

Five years later, I joined a hackerspace, and eventually found out that its CCTV cameras, while being quite visually prominent, stopped functioning a long time ago. At that point, I was in a position to do something about it, and I built an entire CCTV network around a software package called MotionEye. There’s a lot of value in having working CCTV cameras at a hackerspace – not only does a functioning system solve the “who made the mess that nobody admits to” problem, over the years it also helped us with things like locating safety interlock keys to a lasercutter that were removed during a reorganization, with their temporary location promptly forgotten.

Being able to use MotionEye to quickly create security cameras became quite handy very soon – when I needed it, I could make a simple camera to monitor my bicycle, verify that my neighbours didn’t forget to feed my pets as promised while I was away, and in a certain situation, I could even ensure mine and others’ physical safety with its help. How do you build a useful always-recording camera network in your house, hackerspace or other property? Here’s a simple and powerful software package I’d like to show you today, and it’s called MotionEye.

Continue reading “Make Your Pi Moonlight As A Security Camera”

Linux Fu: Easy VMs

It wasn’t long ago that we looked at easily creating Docker containers from the command line so you could just easily spin up a virtual environment for development. Wouldn’t it be nice if you could do the same for virtual machines? You can. Using Multipass from Canonical, the makers of Ubuntu, you can easily spin up virtual machines under Linux, Mac, or Windows. Granted, most of the virtual machines in question are variations of Ubuntu, but there are some additional images available, and you can create your own.

Once you have it installed, starting up a new Ubuntu instance is trivial. If you have a set configuration, you can even set up predefined setups using a YAML file.

Continue reading “Linux Fu: Easy VMs”

Europe’s Energy Squeeze Pushes Large Hadron Collider To Halt Operations

Energy prices have been in the news more often than not lately, as has war. The two typically go together, as conflicts tend to impact on the supply and trade of fossil fuels.

With Europe short on gas and its citizens contemplating a cold winter, science is feeling the pinch, too. CERN has elected to shut down the Large Hadron Collider early to save electricity.

Continue reading “Europe’s Energy Squeeze Pushes Large Hadron Collider To Halt Operations”

Hackaday Links Column Banner

Hackaday Links: October 30, 2022

Sad news for kids and adults alike as Lego announces the end of the Mindstorms line. The much-wish-listed line of robotics construction toys will be discontinued by the end of this year, nearly a quarter-century after its 1998 introduction, while support for the mobile apps will continue for another couple of years. It’s probably fair to say that Mindstorms launched an entire generation of engineering careers, as it provided a way to quickly prototype ideas that would have been difficult to realize without the snap-fit parts and easily programmed controllers. For our money, that ability to rapidly move from idea to working model was perhaps the strongest argument for using Mindstorms, since it prevented that loss of momentum that so often kills projects. That was before the maker movement, though, and now that servos and microcontrollers are only an Amazon order away and custom plastic structural elements can pop off a 3D printer in a couple of hours, we can see how Mindstorms might no longer be profitable. So maybe it’s a good day to drag out the Mindstorms, or even just that big box of Lego parts, and just sit on the carpet and make something.

Continue reading “Hackaday Links: October 30, 2022”

Hackaday Podcast 191: Researchers Parse Starlink, Switches Sense Muscles, And LFT Plays The Commodordion

This week, Editor-in-Chief Elliot Williams and Staff Writer Dan Maloney get together for a look at everything cool under the hardware-hacking sun.

Think you need to learn how to read nerve impulses to run a prosthetic hand? Think again — try spring-loaded plungers and some Hall effect sensors. What’s Starlink saying? We’re not sure, but if you’re clever enough you can use the radio link for ad hoc global positioning. Historically awful keyboards, pan-and-scan cable weather stations, invisibility cloaks, plumbing fittings for electrical controls — we’ll talk about it all. And if you’ve never heard two Commodore 64s and a stack of old floppies turned into an electronic accordion, you really don’t know what you’re missing.

Download it your own bad self!

Check out the links below if you want to follow along, and as always, tell us what you think about this episode in the comments!

Continue reading “Hackaday Podcast 191: Researchers Parse Starlink, Switches Sense Muscles, And LFT Plays The Commodordion”

This Week In Security: IOS, OpenSSL, And SQLite

Earlier this week, a new release of iOS rolled out, fixing a handful of security issues. One in particular noted it “may have been actively exploited”, and was reported anonymously. This usually means that a vulnerability was discovered in the wild, being used as part of an active campaign. The anonymous credit is interesting, too. An educated guess says that this was a rather targeted attack, and the security company that found it doesn’t want to give away too much information.

Of other interest is the GPU-related fix, credited to [Asahi Lina], the VTuber doing work on porting Linux to the Apple M1/M2 platform, and particularly focusing on GPU drivers. She’s an interesting case, and doing some very impressive work. There does remain the unanswered question of how the Linux Kernel will deal with a pull request coming from a pseudonym. Regardless, get your iOS devices updated.

Continue reading “This Week In Security: IOS, OpenSSL, And SQLite”

Computing Fluidly

Computers come in many forms, depending on your definition. We’ve seen computers and computer gates built out of things as diverse as marbles, relays, and — of course — transistors. However, there are logic gate systems that use a property of moving fluids to form logic gates and a bistable element. That’s all the pieces you need to build a working computer.

It may sound far-fetched, but there have been general-purpose computers built using this technology. It is also used in specialized applications where fluids are already flowing, like shower heads, automotive transmissions, and in places where electronics are prone to misbehave. Many think the field will see a resurgence when we need to build logic at the molecular level for nanotech applications, too.

Basics

In its most basic form, a fluidic gate uses flow as a logic 1 and less flow to be a logic 0. Merging two streams together provides an OR gate. Using a supply stream that you can divert with a control stream provides a NOT function. Given enough inverters and OR gates, you can build everything else.

Continue reading “Computing Fluidly”