Community Rallies Behind Youtube-dl After DMCA Takedown

At this point, you’ve likely heard that the GitHub repository for youtube-dl was recently removed in response to a DMCA takedown notice filed by the Recording Industry Association of America (RIAA). As the name implies, this popular Python program allowed users to produce local copies of audio and video that had been uploaded to YouTube and other content hosting sites. It’s a critical tool for digital archivists, people with slow or unreliable Internet connections, and more than a few Hackaday writers.

It will probably come as no surprise to hear that the DMCA takedown and subsequent removal of the youtube-dl repository has utterly failed to contain the spread of the program. In fact, you could easily argue that it’s done the opposite. The developers could never have afforded the amount of publicity the project is currently enjoying, and as the code is licensed as public domain, users are free to share it however they see fit. This is one genie that absolutely won’t be going back into its bottle.

In true hacker spirit, we’ve started to see some rather inventive ways of spreading the outlawed tool. A Twitter user by the name of [GalacticFurball] came up with a way to convert the program into a pair of densely packed rainbow images that can be shared online. After downloading the PNG files, a command-line ImageMagick incantation turns the images into a compressed tarball of the source code. A similar trick was one of the ways used to distribute the DeCSS DVD decryption code back in 2000; though unfortunately, we doubt anyone is going to get the ~14,000 lines of Python code that makes up youtube-dl printed up on any t-shirts.

Screenshot of the Tweet sharing YouTube-dl repository as two images

It’s worth noting that GitHub has officially distanced themselves from the RIAA’s position. The company was forced to remove the repo when they received the DMCA takedown notice, but CEO Nat Friedman dropped into the project’s IRC channel with a promise that efforts were being made to rectify the situation as quickly as possible. In a recent interview with TorrentFreak, Friedman said the removal of youtube-dl from GitHub was at odds with the company’s own internal archival efforts and financial support for the Internet Archive.

But as it turns out, some changes will be necessary before the repository can be brought back online. While there’s certainly some debate to be had about the overall validity of the RIAA’s claim, it isn’t completely without merit. As pointed out in the DMCA notice, the project made use of several automated tests that ran the code against copyrighted works from artists such as Taylor Swift and Justin Timberlake. While these were admittedly very poor choices to use as official test cases, the RIAA’s assertion that the entire project exists solely to download copyrighted music has no basis in reality.

[Ed Note: This is only about GitHub. You can still get the code directly from the source.]

Engine Trouble Delays SpaceX’s Return To The ISS

A crewed mission to the International Space Station that was set to depart from Kennedy Space Center on Halloween has been pushed back at least several weeks as NASA and SpaceX investigate an issue with the company’s Merlin rocket engine. But the problem in question wasn’t actually discovered on the booster that’s slated to carry the four new crew members up to the orbiting outpost. This story starts back on October 2nd, when the computer aboard a Falcon 9 set to carry a next-generation GPS III satellite into orbit for the US Space Force shut down the engines with just two seconds to go before liftoff.

The fact that SpaceX and NASA have decided to push back the launch of a different Falcon 9 is a clear indication that the issue isn’t limited to just one specific booster, and must be a problem with the design or construction of the Merlin engine itself. While both entities have been relatively tight lipped about the current situation, a Tweet from CEO Elon Musk made just hours after the GPS III abort hinted the problem was with the engine’s gas generator:

As we’ve discussed previously, the Merlin is what’s known as an “open cycle” rocket engine. In this classical design, which dates back to the German V-2 of WWII, the exhaust from what’s essentially a smaller and less efficient rocket engine is used to spin a turbine and generate the power required to pump the propellants into the main combustion chamber. Higher than expected pressure in the gas generator could lead to a catastrophic failure of the turbine it drives, so it’s no surprise that the Falcon 9’s onboard systems determined an abort was in order.

Grounding an entire fleet of rockets because a potentially serious fault has been discovered in one of them is a rational precaution, and has been done many times before. Engineers need time to investigate the issue and determine if changes must be made on the rest of the vehicles before they can safely return to flight. But that’s where things get interesting in this case.

SpaceX hasn’t grounded their entire fleet of Falcon 9 rockets. In fact, the company has flown several of them since the October 2nd launch abort. So why are only some of these boosters stuck in their hangers, while others are continuing to fly their scheduled missions?

Continue reading “Engine Trouble Delays SpaceX’s Return To The ISS”

Jetson Emulator Gives Students A Free AI Lesson

With the Jetson Nano, NVIDIA has done a fantastic job of bringing GPU-accelerated machine learning to the masses. For less than the cost of a used graphics card, you get a turn-key Linux computer that’s ready and able to handle whatever AI code you throw at it. But if you’re trying to set up a lab for 30 students, the cost of even relatively affordable development boards can really add up.

Spoiler: These things don’t exist.

Which is why [Tea Vui Huang] has developed jetson-emulator. This Python library provides a work-alike environment to NVIDIA’s own “Hello AI World” tutorials designed for the Jetson family of devices, with one big difference: you don’t need the actual hardware. In fact, it doesn’t matter what kind of computer you’ve got; with this library, anything that can run Python 3.7.9 or better can take you through NVIDIA’s getting started tutorial.

So what’s the trick? Well, if you haven’t guessed already, it’s all fake. Obviously it can’t actually run GPU-accelerated code without a GPU, so the library [Tea] has developed simply pretends. It provides virtual images and even “live” camera feeds to which randomly generated objects have been assigned.

The original NVIDIA functions have been rewritten to work with these feeds, so when you call something like net.Classify(img) against one of them you’ll get a report of what faux objects were detected. The output will look just like it would if you were running on a real Jetson, down to providing fictitious dimensions and positions for the bounding boxes.

If you’re a hacker looking to dive into machine learning and computer vision, you’d be better off getting a $59 Jetson Nano and a webcam. But if you’re putting together a workshop that shows a dozen people the basics of NVIDIA’s AI workflow, jetson-emulator will allow everyone in attendance to run code and get results back regardless of what they’ve got under the hood.

Battery Swap Gives Nissan LEAF New Lease On Life

It’s often said that one of the advantages of owning an electric vehicle is reduced maintenance costs, and for the most part, that’s true. That is, until the vehicle’s battery pack starts to show its age. Then you might be on the hook for a repair bill comparable to swapping out the engine on your old gas-burner. Depending on the age of the vehicle at that point, you might find yourself in the market for a new ride.

But in his latest video, [Daniel Öster] demonstrates that you can replace the battery in a modern electric vehicle without breaking the bank. While it’s not exactly an easy job, he manages to swap the pack in his 2012 Nissan LEAF from the comfort of his own garage using common tools and with the vehicle up on jack stands. The old battery wasn’t completely shot, so he was even able to recoup some of his costs by selling it; bringing the total price of the operation to approximately €2,122 ($2,500 USD).

Splicing on a new diagnostic connector.

While that wouldn’t be a bad deal even for a simple swap, the operation was actually an upgrade. The car was originally sold with a 24 kWh battery, but [Daniel] has replaced it with a 30 kWh pack intended for the 2017 LEAF. His car now has a greater range than it did the day it rolled off the assembly line, though as you might expect, the installation was more complex than it would have been with a contemporary battery.

[Daniel] has produced a kit that has all the adapters required to perform your own battery upgrade, including a module that translates the diagnostic signals from the newer battery into something the older vehicle can understand. With all the electrical bits simplified, all you’ve got to worry about is drilling the new battery mounting holes in the frame.

The battery pack is truly the heart and soul of an electric car, so its no surprise that mechanics and hackers alike are eager to learn as much about them as possible. They’ll have their work cut out for them, as the technology is only going to get more advanced with time.

Continue reading “Battery Swap Gives Nissan LEAF New Lease On Life”

Digital Preservation For Old Batteries

The times they are a-changin’. It used to be that no household was complete without a drawer filled with an assortment of different sizes and types of batteries, but today more and more of our gadgets are using integrated rechargeable cells. Whether or not that’s necessarily an improvement is probably up for debate, but the fact of the matter is that some of these old batteries are becoming harder to find as time goes on.

Which is why [Stephen Arsenault] wants to preserve as many of them as possible. Not in some kind of physical battery museum (though that does sound like the sort of place we’d like to visit), but digitally in the form of 3D models and spec sheets. The idea being that if you find yourself in need of an oddball, say the PRAM battery for a Macintosh SE/30, you could devise your own stand-in with a printed shell.

The rather brilliantly named Battery Backups project currently takes the form of a Thingiverse Group, which allows other alkaline aficionados to submit their own digitized cells. The cells that [Stephen] has modeled so far include not only the STL files for 3D printing, but the CAD source files in several different flavors so you can import them into your tool of choice.

Like the efforts to digitally preserve vintage input devices, it’s not immediately clear how many others out there are willing to spend their afternoons modeling up antiquated batteries. But then again, we’ve long since learned not to underestimate the obscure interests of the hacker community.

Cluster Deck Packs Four Pis Into One Portable Package

Parallel computing is a fair complex subject, and something many of us only have limited hands-on experience with. But breaking up tasks into smaller chunks and shuffling them around between different processors, or even entirely different computers, is arguably the future of software development. Looking to get ahead of the game, many people put together their own affordable home clusters to help them learn the ropes.

As part of his work with decentralized cryptocurrency, [Jay Doscher] recently found himself in need of a small research cluster. He determined that the Raspberry Pi 4 would give him the best bang for his buck, so he started work on a small self-contained cluster that could handle four of the single board computers. As we’ve come to expect given his existing body of work, the final result is compact, elegant, and well documented for anyone wishing to follow in his footsteps.

The core unit would make a great desktop cluster.

Outwardly the cluster looks quite a bit like the Mil-Plastic that he developed a few months back, complete with the same ten inch Pimoroni IPS LCD. But the internal design of the 3D printed case has been adjusted to fit four Pis with a unique staggered mounting arrangement that makes a unit considerably more compact than others we’ve seen in the past. In fact, even if you didn’t want to build the whole Cluster Deck as [Jay] calls it, just printing out the “core” itself would be a great way to put together a tidy Pi cluster for your own experimentation.

Thanks to the Power over Ethernet HAT, [Jay] only needed to run a short Ethernet cable between each Pi and the TP-Link five port switch. This largely eliminates the tangle of wires we usually associate with these little Pi clusters, which not only looks a lot cleaner, but makes it easier for the dual Noctua 80 mm to get cool air circulated inside the enclosure. Ultimately, the final product doesn’t really look like a cluster of Raspberry Pis at all. But then, we imagine that was sort of the point.

Of course, a couple of Pis and a network switch is all you really need to play around with parallel computing on everyone’s favorite Linux board. How far you take the concept after that is entirely up to you.

OSIRIS-REx Reaches Out And Touches Asteroid Bennu

After a four year trek through deep space, OSIRIS-REx made history this evening as it became the first NASA spacecraft to try and collect a surface sample from an asteroid (Editor’s note: servers may be down due to the breaking news). Once sensors verify the collected material is safely onboard, the vehicle will begin drifting away from the 490 meter wide Bennu in preparation of its eventual departure and return to Earth. If all goes according to plan, the craft’s conical Sample Return Capsule carrying its precious cargo will renter the atmosphere and land at the Utah Test and Training Range in September of 2023.

OSIRIS-REx with solar panels in “Y-Wing” configuration.

Due to its extremely low gravity and rocky surface, a traditional landing on Bennu was deemed impractical. Instead, OSIRIS-REx performed a daring touch and go maneuver that brought the spacecraft into contact with the surface for just a few seconds.

A camera on the bottom of the vehicle took images every few minutes during the descent and ran them through an onboard system called Natural Feature Tracking (NFT) that autonomously steered it away from dangerous surface features. As a precaution, the solar panels on the OSIRIS-REx were angled backwards in a “Y-Wing” configuration shortly before the descent to help protect them from striking the surface or being damaged by ejected material.

Once the colander-like Touch-And-Go Sample Acquisition Mechanism (TAGSAM) mounted to the end of the spacecraft’s 3.35 meter (11 foot) articulated robotic arm arm made contact with the regolith, pressurized nitrogen was used to kick up material and push it towards storage caches built into the mechanism. With so much riding on the successful collection of surface material, this largely passive system was selected to minimize the possible failures in the critical few seconds that OSIRIS-REx would be in contact with Bennu. Mission planners say it might take until Saturday to determine if a sample was successfully collected, and that the spacecraft has the ability to perform two more attempts if needed.

After its discovery in September 1999, both the Arecibo Observatory and the Goldstone Deep Space Network were used to make radar observations of Bennu to study its shape and size. Calculations have shown it has a cumulative 1 in 2,700 chance of striking the Earth by the year 2199. By mapping the asteroid, studying it at close range, and bringing a geological sample back home, NASA hopes to gain valuable insight on how similar near-Earth objects can be detected and ultimately diverted if needed.