Posts

Featured Post

Open-Source Mid-Drive e-Bike Motor Has Lots of Promise, and Hyphens

Image
[Pedro Neves] has a mid-drive e-bike, but he doesn’t own it — not truly, since he can’t repair the motor unit. For a hacker to be in that position, there are only two options: crack the old one and make it your own, or build your own from scratch. [Pedro] built his own and is open-sourcing it on his website for everyone to play with. Right now, that’s .step files and a BOM, so you’ll need to watch the design/build video on YouTube below to get the full picture. His choice of a motor from an old battery-powered angle grinder is both thrifty and environmentally friendly, so we approve. His goal of 25 km/h seems like a reasonable speed limit, but may still be too fast for some countries’ regulations — so do check the local rules if you’re going to build this. Making the most of 3D-printed components is also a choice that makes the project more accessible, but don’t worry — the bearing surfaces are all metal. That includes the c...

Write 2D and 3D Games in Modern MoonBASIC

Image
One of the major strengths of the BASIC programming languages has always been their no-fuss setup and rich set of commands for operations that would take considerably more work in a bare-bones language like C. MoonBASIC continues this legacy with a BASIC variant optimized for both 2D and 3D game development. Included in the package are Raylib, Box2D, and Jolt, whose functionality is exposed via over 4,200 commands in their respective namespaces. You can also download a whole IDE package based around VS Code, use it on the command line, or add it to an existing VS Code installation. A quick glance at the ‘ getting started ‘ guide gives a pretty good idea of what to expect of MoonBASIC, including a range of custom language additions and support for PBR materials, dynamic lighting, and other modern game engine features. Whether writing a game in BASIC was on your bingo card for this year or not, it might be worth taking a look to see whether it’s your jam. After all,...

Your AI Ham Radio Buddy

Image
AI chatbots are everywhere these days, and they seem to “know” about everything. But while that is a strength, it can sometimes be a weakness because it isn’t laser-focused on one topic. Not so with this Ham-radio-centric chatbot called HamGPT . The service is clearly built on another GPT engine but understands how to retrieve data from common ham radio sources, such as the FCC database, propagation reports, and the like. It didn’t, however, seem to have access to ham radio-related books, magazine articles, or other “static” data that we could tell. You do have to sign up for an account, which includes providing your callsign and location. There is a free tier that allows a limited number of queries per day, so you can try it to see if it is useful for you without subscribing. Here’s a typical session:                 What band will have the best propagation to Japan from my QTH right now? The best band for Japan from your QTH right now is...

Calculator UI Is More Complex Than You Might Think

Image
Calculators are so ubiquitous and so familiar that they are easy to take for granted in many different ways. [lcamtuf] points out one that has probably never occurred to many of us: the user interface for a calculator is an unexpectedly complex thing . The internal logic to support sequential inputs and multiple operators in a way that feels intuitive is a complex thing. Resolving something like 1 + 2 = is pretty straightforward but complexity compounds rapidly after that, with numerous special cases. Let’s imagine one decides to program a simple calculator UI as a weekend project. The development process might look a little like this: User types in 1 + 2 = and the calculator displays 3 . What happens if the user immediately presses - ? No problem, just consider the result of the previous operation as an already-there input. So we’ll have 3 - for this next operation, and wait for more. Unless we should have treated that - as a negative sign for whatever number is c...

Flex Filament Stuck To Your Build Platform? Reach For The Isopropanol

Image
3D printing has been around long enough that everyone’s heard at least one weird trick regarding 3D prints. [Angus] of [Maker’s Muse] puts a few to the test , and came away with one solid tip for releasing TPU from a build platform to which it has unfortunately welded itself. Flexible filaments tend to stick too well to build plates, which is why an interface layer like a thin layer of glue stick is called for. But what if one forgets to apply it before starting a print job? That can result in a print that is well and truly stuck . Peeling flex filament off a textured PEI bed is a bad time, because the print can tear and tends to leave little bits behind. [Angus] heard that applying isopropyl alcohol helps release things in that case, so he gives it a try. Lo and behold, it seems to work! See for yourself at 18:10 in the video and keep it in mind if you end up in a similar situation. The print doesn’t exactly fall off on its own, but it does remain in one piece whi...

Using Solar Air Heating to Dry Clothes

Image
About a month ago, [Greenhill Forge] built a few solar panels to collect energy from the sun. Unlike solar photovoltaics, which turn sunlight directly into electricity, these were designed to gather solar thermal energy with air. These types of panels can gather a tremendous amount of energy for a very low cost, and although the first video only went into the theory of their operation, his latest video actually shows us how to use that energy in a practical way . The video starts by building a new solar panel, using upgraded materials and building methods compared to the previous versions which should improve the efficiency. There’s some data analysis of the performance, but at the end of the video [Greenhill Forge] actually hooks one of these up to a clothes dryer to explore its real-world efficacy. This process involves disconnecting the electric heater, removing one of the blower fans, and building a new flange to accept the heated air from the solar panel. A microcontroller k...

How Octopuses Hacked their Ribosome to Become Smart

Image
A fascinating aspect in evolutionary biology is that of convergent evolution — whereby similar structures and functions evolve independently from each other. The highly advanced nervous system of octopuses is a good example here, displaying levels of intelligence and capabilities far beyond those of other cephalopods and matching that of primates, despite no evolutionary link here. Exactly how octopuses developed this rather unique capability remained a mystery, though recent research by [Rishav Mitra] points at the rather unique ribosomes in these animals. Ribosomes are the molecular machinery at the core of each cell that enable the synthesis of proteins. Due to their highly crucial role, they tend to remain evolutionary unchanged, which makes the big change observed in the octopus (i.e. order Octopoda) in the form of this H88 rRNA break quite remarkable. Common octopus ( Octopus vulgaris ). (Credit: Albert Kok, Wikimedia ) This H88 break increases the accuracy of translate...