Vista de Lectura

Hay nuevos artículos disponibles. Pincha para refrescar la página.

Biting Off More Than I Can Chew

Earlier this year, I bought one of those K40-style laser machines that was listed at a ridiculously low price, and it arrived broken. Well, let me qualify that: the laser tube and the power supply work perfectly, but that’s about the best you can say about it.

On first power-up, it made a horrible noise, the Y-axis was jammed, the X-axis was so off-square that it was visibly apparent, and it turned out that as I fixed one of these problems after the other, that it was just the tip of the iceberg. The Y-axis was jammed because the belts were so tight that they made the motor bind. Replacing them, because they were simply too short, got the stage moving, but it didn’t engage the endstops. Fixing those revealed that the motor was stepped wrong, and flipping the pins in the connector finally got it homing in the right direction. Full disassembly and reassembly steps required at each stage here.

The X-axis just needed adjustment, but the opto on its endstop had been completely crushed by a previous failed homing, and I had to desolder and resolder in a new one. (Keep your junkbox well stocked!) With the machine working, it became obvious that the driver board was barely usable. It accelerates horribly jerkily, which makes the motors skip and stall. It had to be run artificially slowly because it couldn’t make the corners. So I put in a new motor controller board that handles Gcode and does legitimate acceleration ramps.

Movement mostly fixed, it was time to align the laser. Of course, the optical path is all messed up, they forgot the o-ring that holds the focusing lens in place, and the thing keeps powering down randomly. This turns out to be because of the aiming red laser pointer, which has a positive case, which is shorting through the single wrap of electrical tape that “insulates” it from the machine’s frame. When this shorts, the motor driver board browns out. Lovely!

Once I was finally able to start aligning the beam, I discovered that the frame is warped out of plane. The simple solution is to take it all apart again and shim it until it’s flat, but I just haven’t had the time yet. I’m not beaten, but it’s been eating up hours after hours on the weekends, and that time is scarce.

I love DIY, and I love taking a machine apart in order to understand it. Once. But I’m now on my tenth or twelfth unmounting of the motion stage, and frankly, it’s no fun any more. It would have been quicker, if maybe not cheaper, to have built this machine entirely from scratch. At least for the moment, I’ve bitten off more than I have time to chew.

This article is part of the Hackaday.com newsletter, delivered every seven days for each of the last 200+ weeks. It also includes our favorite articles from the last seven days that you can see on the web version of the newsletter. Want this type of article to hit your inbox every Friday morning? You should sign up!

Tiny Pogo Robot Gets Wings, Does Flips

Most robots depend on controlled environments, because the real world is hard to get around in. The smaller the robot, the bigger this problem because little wheels (or legs) can take only little steps. One way around that is MIT’s latest one-legged hopping robot, which sports a set of four insect-like wings on its top end and can quickly pogo-hop its way across different terrain with ease.

The four wings provide lift, and steer the robot so that its single leg lands precisely.

The wings aren’t for flying in the usual sense. They provide lift, but also help the tiny device steer itself so that its hops land precisely. Earlier incarnations of one-legged hopping robots (like this one) accomplished this with propellers and electric motors, but traditional motors are a non-starter on a device that weighs less than a paperclip.

Right now, this little winged hopper is not completely self-contained (power and control systems are off-board) but running it as a tethered unit allows researchers to test and evaluate different, minimalistic ways for a machine to move around efficiently. And efficiency is the whole goal of going in this direction.

Certainly tiny flying drones already exist and get about in the real world just fine. But if one wants to shed mass, ditch conventional motors, and reduce cost and power consumption, this tiny winged hopping machine is one way to do it. And it can even carry payloads! The payloads are tiny, of course, but being able to haul around ten times one’s own weight and still function reliably is an impressive feat.

You can watch it in action in the video embedded just below the page break. Once you’ve watched that, we’d like to remind you that novel locomotion isn’t just the domain of hopping robots. Tiny robots with explosive joints is just as wild as it sounds.

Repairing Classic Sound Cards

Sound hardware has been built into PC motherboards for so long now it’s difficult to remember the days when a sound card was an expensive add-on peripheral. By the mid to late 1990s they were affordable and ubiquitous enough to be everywhere, but three decades later some of them are starting to fail. [Necroware] takes us through the repair of a couple of Creative Labs Sound Blaster 16s, which were the card to have back then.

The video below is a relaxed look at typical problems afflicting second-hand cards with uncertain pasts. There’s a broken PCB trace on the first one, which receives a neat repair. The second one has a lot more wrong with it though, and reveals some surprises. We would have found the dead 74 series chips, but we’re not so sure we’d have immediately suspected a resistor network as the culprit.

Watching these cards become sought-after in the 2020s is a little painful for those of us who were there at the time, because it’s certain we won’t be the only ones who cleared out a pile of old ISA cards back in the 2000s. If you find one today and don’t have an ISA slot, worry not, because you can still interface it via your LPC bus.

Tracing the #!: How the Linux Kernel Handles the Shebang

One of the delights in Bash, zsh, or whichever shell tickles your fancy in your OSS distribution of choice, is the ease of which you can use scripts. These can be shell scripts, or use the Perl, Python or another interpreter, as defined by the shebang (#!) at the beginning of the script. This signature is followed by the path to the interpreter, which can be /bin/sh for maximum compatibility across OSes, but how does this actually work? As [Bruno Croci] found while digging into this question, it is not the shell that interprets the shebang, but the kernel.

It’s easy enough to find out the basic execution sequence using strace after you run an executable shell script with said shebang in place. The first point is in execve, a syscall that gets one straight into the Linux kernel (fs/exec.c). Here the ‘binary program’ is analyzed for its executable format, which for the shell script gets us to binfmt_script.c. Incidentally the binfmt_misc.c source file provides an interesting detour as it concerns magic byte sequences to do something similar as a shebang.

As a bonus [Bruno] also digs into the difference between executing a script with shebang or running it in a shell (e.g. sh script.sh), before wrapping up with a look at where the execute permission on a shebang-ed shell script is checked.

Creating a Somatosensory Pathway From Human Stem Cells

Human biology is very much like that of other mammals, and yet so very different in areas where it matters. One of these being human neurology, with aspects like the human brain and the somatosensory pathways (i.e. touch etc.) being not only hard to study in non-human animal analogs, but also (genetically) different enough that a human test subject is required. Over the past years the use of human organoids have come into use, which are (parts of) organs grown from human pluripotent stem cells and thus allow for ethical human experimentation.

For studying aspects like the somatosensory pathways, multiple of such organoids must be combined, with recently [Ji-il Kim] et al. as published in Nature demonstrating the creation of a so-called assembloid. This four-part assembloid contains somatosensory, spinal, thalamic and cortical organoids, covering the entirety of such a pathway from e.g. one’s skin to the brain’s cortex where the sensory information is received.

Such assembloids are – much like organoids – extremely useful for not only studying biological and biochemical processes, but also to research diseases and disorders, including tactile deficits as previously studied in mouse models by e.g. [Lauren L. Orefice] et al. caused by certain genetic mutations in Mecp2 and other genes, as well as genes like SCN9A that can cause clinical absence of pain perception.

Using these assembloids the development of these pathways can be studied in great detail and therapies developed and tested.

Gemini 2.0 + Robotics = Slam Dunk?

A humanoid robot packs a lunch bag in the kitchen

Over on the Google blog [Joel Meares] explains how Google built the new family of Gemini Robotics models.

The bi-arm ALOHA robot equipped with Gemini 2.0 software can take general instructions and then respond dynamically to its environment as it carries out its tasks. This family of robots aims to be highly dexterous, interactive, and general-purpose by applying the sort of non-task-specific training methods that have worked so well with LLMs, and applying them to robot tasks.

There are two things we here at Hackaday are wondering. Is there anything a robot will never do? And just how cherry-picked are these examples in the slick video? Let us know what you think in the comments!

A Mouse, No Hands!

There are some ideas which someone somewhere has to try. Take [Uri Tuchman]’s foot mouse. It’s a computer mouse for foot operation, but it’s not just a functional block. Instead it’s an ornate inlaid-wood-and-brass affair in the style of a very fancy piece of antique footwear.

The innards of an ordinary USB mouse are placed in something best described as a wooden platform heel, upon which is placed a brass sole with a couple of sections at the front to activate the buttons with the user’s toes. The standout feature is the decoration. With engraving on the brass and inlaid marquetry on the wood, it definitely doesn’t look like any computer peripheral we’ve seen.

The build video is below the break, and we’re treated to all the processes sped up. At the end he uses it in a basic art package and in a piloting game, with varying degrees of succes. We’re guessing it would take a lot of practice to gain a level of dexterity with this thing, but we salute him for being the one who tries it.

This has to be the fanciest peripheral we’ve ever seen, but surprisingly it’s not the first foot mouse we’ve brought you.

cap — A modern, lightning-quick PoW captcha

cap — A modern, lightning-quick PoW captcha

hi everyone!

i’ve been working on Cap, an open-source proof-of-work CAPTCHA alternative, for quite a while — and i think it’s finally at a point where i think it’s ready.

Cap is tiny. the entire widget is just 12kb (minified and brotli’d), making it about 250x smaller than hCaptcha. it’s also completely private: no tracking, no fingerprinting, no data collection.

you can self-host it and tweak pretty much everything — the backend, the frontend, or just use CSS variables if you want something quick. it plays nicely in all kinds of environments too: use it invisibly in the background, have it float until needed, or run it standalone via Docker if you’re not using JS.

everything is open source, licensed under AGPL-3.0, with no enterprise tiers or premium gates. just a clean, fast, and privacy-friendly CAPTCHA.

give it a try and let me know what you think :)

check it out on github

submitted by /u/Moist_Brick2073
[link] [comments]

I love wireguard but I hate the command line, so I made my own web UI for installing and managing it

I got really frustrated with setting up the wireguard software on my server so I made a basic python script to automate basically the entire process from install to downloading the client config.

I've put everything here in case anyone wants an easy way to install and manage wireguard.

https://github.com/seabee33/wireguard_helper

Currently it runs a temporary local web server so you can:

  • Install wireguard, ufw and iptables
  • 1 click button to port forward on your local machine
  • create server keys
  • create and manage client keys and config files

I really liked the idea of openVPN and the web UI but I really didn't like the limitations of the free verion.

Anyway, please let me know if it works for you and if you run into any problems :)

Also, this is my first real programming project so all feedback is welcome!

submitted by /u/seabee_33
[link] [comments]

Proxmox VE / BS / MG - no-subscription setup without all the nags: popup, repo warnings, dashboards

Proxmox VE / BS / MG - no-subscription setup without all the nags: popup, repo warnings, dashboards

Version 0.2 now released: added support of PMG and removes ALL no-subscription related marketing annoyances in the GUI. Idempotent patching with grafecul failure mode, UI elements (JavaScript) only. Tested with latest version of each PVE / PBS / PMG. 100% BASH script based.

  • free-pmx-no-subscription Download / install post with user level documentation (incl. manual pages)

  • Companion post explaining how the tool compares with other solutions technically and how to audit the Debian package archive

  • GitHub repo with single-command self-build

Feedback is very welcome in the GitHub repo issues.

submitted by /u/esiy0676
[link] [comments]

Vexa v0.2: Open-Source Transcription API: Self-Hostable Alternative to Otter/Fireflies/Recall

Hi r/selfhosted, I'm Dmitry, founder of Vexa. Many of us are uncomfortable sending sensitive meeting recordings/transcripts to third-party cloud services like Otter.ai, Fireflies, Fathom, or using closed-source APIs like Recall.ai due to privacy, compliance, or data control concerns.

We're building Vexa as an open-source (Apache 2.0) infrastructure layer specifically to address this. It's designed from the ground up with self-hosting in mind, allowing you to keep all meeting data entirely within your own control.What's Vexa v0.2?We just launched v0.2, focusing on the core API functionality:

  • Simple API: Programmatically send a bot to Google Meet.

  • Real-Time Transcripts: Get live, multilingual transcripts streamed back via the API.

Self-Hosting & Current Status:While the easiest way to test the API functionality right now is via our free Cloud Beta, the entire stack is open source and designed for self-deployment. It uses a microservice architecture (details and deployment steps are in DEPLOYMENT.md in the GitHub repo).

You can run it yourself today if you're comfortable deploying containerized services.

We'd love feedback from the self-hosting community, especially on:

  • Use cases where self-hosted transcription is critical.

  • Thoughts on the microservice architecture for self-hosting.

  • Challenges you've faced with cloud transcription tools.

Thanks for reading! I'll be around to answer questions.

submitted by /u/Aggravating-Gap7783
[link] [comments]

Built a Receipt Scanner for Firefly III

I have been using Firefly III to track my finances for about a year now, and I am a big fan of it so far. But manually entering transactions, especially from cash receipts, is a major pain. My bank's CSV export is also non-existent, so automation has been a pipe dream...

Inspired by the recent "vibecoding" trend, I decided to whip up a web app that lets you snap a photo of your receipt and automatically creates a Firefly III transaction.

How it works:

  • Take a Picture: Use your phone's camera to capture a receipt.
  • The app uses the Google Gemini API to extract key details like date, vendor, amount, etc. (Yes, I know, a cloud service... I'm planning to add support for self-hosted models when I have the time.)
  • It automatically categorizes the receipt into one of your different firefly categories and budgets
  • It automatically pulls your Asset accounts from your Firefly III instance, so you can set a source account for the transaction
  • Review & Edit: You get to review and edit the extracted data before sending it to Firefly III.
  • Add it to your phone's home screen, and it feels like a native app.
  • No authentication. My vision is for this to live on your home network, alongside your Firefly III instance. Secure it with a VPN, and access it that way.

GitHub Repo

Check out the repo for the code and instructions. I've also included a quick demo video showing the whole workflow in action.

I'm definitely open to feedback and contributions. If you're interested in adding support for self-hosted OCR/LLM models, or have other ideas, please feel free to submit a pull request!

Let me know what you think! I'm excited to hear your feedback and see if this is useful to anyone other than myself.

submitted by /u/becutandavid
[link] [comments]

Where to put NGINX

Where to put NGINX

Hey all,

I feel like this should be more obvious.
I shouldn't have waited this long to set up a reverse proxy, but here we are.

Just wondering where in my setup I should put NGINX.

I feel like the answer may be obvious after, but I can't seem to figure it out. Was thinking originally as close to the router as possible... I was originally going to look at setting up a small PC as a router and would have hosted it off that as a VM->Service probably.

My torrent VM does run its own VPN, forgot to put that on there.

Should I just run it as a service on my Debian VM or spin up another one entirely as a standalone, or get the Windows version and run it on the base OS of my server?

Thanks in advance for any input.

submitted by /u/Meiyer1989
[link] [comments]

Downsides to MatterMost

We're considering migrating away from Slack. We have a current team of 15. We've looked at all of the options, trying to figure out if it makes sense to switch.

We tried MatterMost over a year ago but didn't switch at the time for one reason or another.

I had discounted MatterMost recently because I thought that we had to be in the paid version which is more expensive than Slack. Now, as I look at the feature list, it's saying MatterMost supports for free up to 50 users, which is great, but I now can't find the disadvantage to the community version!

Is it push notifications on mobile? There was a major setback and I can't remember what it was at this point. MatterMost was nice, if it's back on the table that would be awesome.

Oh, it could have been screenshare calls not supported on community, but I think that can be worked around using Jitsi, right? So, I don't think that was it. I don't know lol, someone help me out

submitted by /u/abcivilconsulting
[link] [comments]

Backups just saved me

So watchtower auto updated my mariadb that I use on Nextcloud and it destroyed it, by luck I had backups and was able to recover it. The backups weren’t tested so I had luck that it worked + the permissions were all destroyed but with the old files + little work I was able to restore everything.

So a quick heads up people, always have backups because when u don’t expect, your things will break and it might be something important

submitted by /u/Aiko_133
[link] [comments]

This Week in Self-Hosted (11 April 2025)

Happy Friday, r/selfhosted! Linked below is the latest edition of This Week in Self-Hosted, a weekly newsletter recap of the latest activity in self-hosted software and content.

This week's features include:

  • Hoarder's new name change
  • New round of Tailscale funding (cue the enshittification?)
  • Software updates and launches
  • A spotlight on Streamystats -- a self-hosted statistics-tracking platform for Jellyfin
  • A ton of great guides, videos, and content from the community

Thanks, and as usual, feel free to reach out with feedback!


This Week in Self-Hosted (11 April 2025)

submitted by /u/shol-ly
[link] [comments]
❌