Generally, one opens a web browser or an app to use YouTube. However, if you’re looking to just listen to the audio, you can actually do that right from the terminal. You just need Shellbeats from [lalo-space].
Shellbeats is primarily intended for playing music from YouTube, and is well equipped for this task. It allows searching YouTube directly from the terminal, as well as streaming tracks or entire playlists from the command line interface. You can also make and edit playlists from within the tool, and even download the whole lot as MP3s if so desired. It’s all keyboard-operated and nicely lightweight. The overall experience isn’t dissimilar from operating a simple LCD-based MP3 player from 20 years ago.
There’s plenty of other fun stuff you can do in the terminal, too, as we’ve explored previously. If you’re working on your own media player hacks, be sure to notify us on the tipsline!
You’ve probably heard — we’re currently experiencing very high RAM prices due mostly to increased demand from AI data centers.
If you’ve been priced out of new RAM you are going to want to get as much value out of the RAM you already have as possible, and that’s where today’s hack comes in: if you’re on a Debian system read about ZRam for how to install and configure zram-tools to enable and manage the Linux kernel facilities that enable compressed RAM by integrating with the swap-enabled virtual memory system. We’ve seen it done with the Raspberry Pi, and the concept is the same.
Ubuntu users should check out systemd-zram-generator instead, and be aware that zram might already be installed and configured by default on your Ubuntu Desktop system.
If you’re interested in the history of in-kernel memory compression LWN.net has an old article covering the technology as it was gestating back in 2013: In-kernel Memory Compression. For those trying to get a grip on what has happened with RAM prices in recent history, a good place to track memory prices is memory.net and if you swing by you can see that a lot of RAM has gone up as much as four times in the last three or four months.
If you have any tips or hacks for memory compression on other platforms we would love to hear from you in the comments section!
Go back a couple of generations, and rather than a laptop or a luggable, the office accessory of choice was a portable typewriter. As the 20th century wore on, the typewriter became electric before eventually being eclipsed by luggable and laptop computers. On YouTube, [Prototype] is turning back the clock, by turning an old Smith-Corona electric typewriter into a luggable computer– with a stretch goal of still being able to type.
Yeah, just gutting the typewriter and shoving an SBC inside wasn’t ambitious enough for [Prototype]: his goal is a working typewriter and an x86 gaming PC. To facilitate this, he guts the Smith-Corona keyboard, and 3D-prints a new top plate to add a little more vertical space in the old typewriter. The new top does recreate the original layout and the Corona switches get printed adapters to fit them to mechanical switches [Prototype] is using with a vibe-coded Arduino. Why one would bother with ChatGPT when QMK is right there, we could not say, but feel free to skip 6:20 to 15:00 if you’re watching the video but want to avoid that side quest.
Unfortunately, the “get the keyboard working” side-quest is either faked or deferred to video part II, which has not been posted yet. In this video he demonstrates that he can actuate a single hammer with a servo, but that’s a far cry from a working typewriter so, we’re really hoping he comes through on that promise in Part Two. Even if the build stops with just one hammer, that would give the tactile sound-and-feel that other builds turn to solenoids for. Squeezing a small-form-factor motherboard and graphics card into the old Smith-Corona is also going to be an interesting challenge. It’s certainly going to be a step up from using the keyboard as a terminal.
Not everyone will write their own optimizing compiler from scratch, but those who do sometimes roll into it during the course of ever-growing project scope creep. People like [Michael Moroz], who wrote up a long and detailed article on the why and how. Specifically, a ‘small library’ involving a few matrix operations for a Unity-based project turned into a static optimizing tensor compiler, called TensorFrost, with a Python front-end and a shader-like syntax, all of which is available on GitHub.
The Python-based front-end implements low-level NumPy-like operations, with development still ongoing. As for why Yet Another Tensor Library had be developed, the reasons were that most of existing libraries are heavily focused on machine learning tasks and scale poorly otherwise, dynamic control flow is hard to implement, and the requirement of writing custom kernels in e.g. CUDA.
Above all [Michael] wanted to use a high-level language instead of pure shader code, and have something that can output graphical data in real-time. Taking the gamble, and leaning on LLVM for some parts, there is now a functional implementation, albeit with still a lot of work ahead.
Need a plastic mesh in a custom pattern? 3D print it, no problem. But what if one needs a curved plastic mesh? That’s considerably harder to 3D print, but [Uncle Jessy]’s figured out a simple approach: 3D print the mesh flat, then break out a mold and a heat gun.
Of course, there are a few gotchas, but [Uncle Jessy] shares his tips for getting the most reliable results. The important part is to design and 3D print a mold that represents the final desired shape. Then print the mesh, and fit it into a frame. Heat things up with a heat gun, and press into the mold to deform the mesh while it’s still soft. It’s much easier seen than explained, so take a few moments to check out the video, embedded below the page break.
Custom eye inserts become a breeze.
Because the plastic in a mesh is so thin, [Uncle Jessy] says to keep the heat low and slow. The goal is to have the mesh stretch and deform, not melt.
Speaking of heat, when thermoforming, one usually needs to make the mold out of heat-resistant material. But the thermal mass of a mesh is so small that it really doesn’t matter much — there just isn’t enough heat trapped in the mesh to really damage a mold. As long as the mold is reasonably dense, there’s no need to go overboard with making it heat resistant.
The whole process takes a little practice, but since the meshes are so fast to print and use so little plastic it’s easy to experiment a little.
As for the meshes themselves, a simple way to print a mesh is just to print a disc with no top or bottom layers, only infill. Set the infill pattern to honeycomb, for example, for an easy hexagon mesh. We’ve seen a variant of this “exposed infill” idea used to create a desiccant container, and using it to print a mesh pattern easily is a neat trick, too.
Why might one need to reshape a mesh into a curve? Perhaps to custom-fit a costume piece, or make custom eye inserts for masks, as shown here. In any case, it’s a good technique to keep in the back of one’s mind, and if you put it to good use, drop us a tip!
If you’re ordering pizza these days, you’re probably using a smartphone app or perhaps still making a regular old phone call. If you’re creative and a little bit tricky, though, you can order pizza right from your Sega Dreamcast. You just need to jump through a few hoops, as demonstrated by [Delux] and [The Dreamcast Junkyard] in the recent past.
You used to be able to order pizza on the Dreamcast natively, all the way back in 1999. However, the modern Domino’s website doesn’t really work on the ancient Dreamcast browser anymore. The simple fact is that web technology has advanced a long way in the last couple of decades, and Sega didn’t exactly spend a lot of time maintaining a browser on a console that died mere months after its rivals hit the market.
Thus, to place a pizza order on the Dreamcast these days, you need to work within its limitations. [Delux] uses the Dreamcast with the Broadband Adapter to access a PC on the local network via the XDP web browser. That PC is hosting Web Rendering Proxy, a tool which converts complicated modern websites into something a simpler machine can parse. From there, it’s a matter of connecting to the Domino’s website, and slowly clicking through the online ordering pages. Between the proxy delay, the Dreamcast’s glacial processing speed, and the clunky Domino’s ordering interface, it takes ages. Never before has adding coupons felt like such a hassle. Still, after 15 minutes of fuss, the order is completed… and a short time later, a hot fresh pizza arrives.
What filament is strongest? The real answer is “it depends”, but sometimes you have a simple question and you just want a simple answer. Like, which material makes the best 3D printed wrench? [My Tech Fun] printed a bunch of options to find out — including some expensive filaments — and got some interesting insights in the process.
His setup is simple: he printed a bunch of 13 mm open-end wrenches, and tested each one to failure by cranking on a clamped digital torque meter until the wrench failed by breaking, or skipping.
[My Tech Fun] tested a total of eighteen filaments, from regular basic PLA, PETG, ABS and ASA, and a variety of carbon fiber-infused filaments including PPA-CF. TPU is included for fun, and there’s also a wrench printed with continuous carbon fiber, which requires a special printer. More on that in a moment. First, let’s get to the results!
PETG wrench reinforced with continuous carbon fiber. The result is extremely stiff compared to without.
Unsurprisingly, TPU fared the worst at 0.8 nM which is roughly “unscrewing the cap of a water bottle” territory. Top performers included the wrench printed with continuous carbon fiber reinforcement (failing at 3.7 nM) and a couple printed in expensive PPA-CF (high-temperature nylon filament with carbon fiber) topped the list at 4.3 nM. Everything else landed somewhere in between, with plain PLA surprisingly outperforming some CF blends.
The continuous carbon fiber wrench was printed on a FibreSeeker printer, which reinforces a print with solid fibers embedded into the plastic instead of chopped particles, and such prints are noticeably more resistant to bending. Check out our earlier coverage for a closer look at what the FibreSeeker does.
This is a good time to mention that the wrench 3D model used is not at all optimized for best results with 3D printing. But that’s okay; this is really about the filaments, not the wrench.
The wrench model is just a way to test things in a familiar and highly visual, relatable way. You can see each one in action in the video below, and seeing [My Tech Fun] turn the wrenches gives a very good idea of just how much force is involved, with a relatable display of just how strong the different filaments are.