Vista de Lectura

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

Break Me Off a Piece of That Open Source Serial Adapter

We know, you’ve already got a USB to serial adapter. Probably several of them, in fact. But that doesn’t mean you couldn’t use one more — especially when it’s as as cleverly designed as this one from [Anders Nielsen].

The first thing you notice about this adapter, and the big departure from the ones that are likely littering your parts bin, is that it terminates in a full-size male DSUB9 connector. With the ability to be directly plugged into a RS-232 port, this adapter will certainly catch the eye of retrocomputer enthusiasts. With a clever arrangement of jumpers, you can even reconfigure the RX and TX lines to be straight-through or cross over as needed.

But if you’re working with something that doesn’t have a literal serial port, no worries. All of the lines coming from the CH340G chip are broken out to a header so you can connect it up to whatever device you’re working with via jumpers.

In fact, if you’re really sure you’ll never need that RS232 feature, the PCB is even designed in such a way that you can simply snap it off. Admittedly it might seem a little odd to get a device like this if you didn’t want that capability. But once broken off, it’s not like the components go to waste. [Anders] has designed the board in such a way that if you flip it over and install a right-angle header, you can use the RS232 segment on a breadboard.

But the list of features doesn’t stop there. There’s also a 3.3 V regulator on board that you can use to power external circuits, as well as breakouts for the data lines in the USB-C connector. In keeping with the theme of the device, that part of the PCB can also be snapped off if you want to use it elsewhere.

Most folks probably’ won’t need all the capabilities offered by this particular serial adapter, and that’s fine. We’re still happy that it’s out in the wild and available for the community to use and adapt as an open source project.

Going Digital: Teaching a TI-84 Handwriting Recognition

close up of a TI-84 Plus CE running custom software

You wouldn’t typically associate graphing calculators with artificial intelligence, but hacker [KermMartian] recently made it happen. The innovative project involved running a neural network directly on a TI-84 Plus CE to recognize handwritten digits. By using the MNIST dataset, a well-known collection of handwritten numbers, the calculator could identify digits in just 18 seconds. If you want to learn how, check out his full video on it here.

The project began with a proof of concept: running a convolutional neural network (CNN) on the calculator’s limited hardware, a TI-84 Plus CE with only 256 KB of memory and a 48 MHz processor. Despite these constraints, the neural network could train and make predictions. The key to success: optimizing the code, leveraging the calculator’s C programming tools, and offloading the heavy lifting to a computer for training. Once trained, the network could be transferred to the calculator for real-time inference. Not only did it run the digits from MNIST, but it also accepted input from a USB mouse, letting [KermMartian] draw digits directly on the screen.

While the calculator’s limited resources mean it can’t train the network in real-time, this project is a proof that, with enough ingenuity, even a small device can be used for something as complex as AI. It’s not just about power; it’s about resourcefulness. If you’re into unconventional projects, this is one for the books.

Pi’s Evil Twin Goes for Infinity

Most people know about the numerical constant pi (or π, if you prefer). But did you know that pi has an evil twin represented by the symbol ϖ? As [John Carlos Baez] explains, it and its related functions are related to the lemniscate as pi relates to circles. What’s a lemniscate? That’s the proper name for the infinity sign (∞).

[John] shows how many of the same formulas for pi also work for the lemniscate constant (the name for ϖ). Some  (as John calls them) “mutant” trig functions use the pi-like constant.

Mathematically, a circle is a point (the center) with a curve that describes x2+y2=r2. The lemniscate is a particular instance of a Cassini oval where r2=cos2θ. We all know the circumference of a circle—basically, the perimeter—is 2π; the perimeter of the lemniscate is 2ϖ.

Why does any of this matter? Well, [John] shows how it connects to elliptic curves and the Gauss constant.

Like pi, the lemniscate constant probably never ends, but it is roughly 2.622057. Will this be useful in your next project? Probably not. Will it help you win some bar bets? Maybe.

Then again, if you are bored calculating more digits of pi, here’s something new to try. Not that you need that many digits.

Holiday Jukebox Gets ESP32, Home Assistant Support

If we’ve learned anything over the years, it’s that the only thing hardware hackers love more than a device festooned with buttons is one that’s covered in LEDs — so it’s no surprise that this “Mr Christmas” jukebox caught the eye of [Roberts Retro]. But while the holiday gadget might have been mildly entertaining in its stock configuration, he quickly realized that what it really needed was an ESP32 retrofit. After all, what good are all those buttons and LEDs if you can’t bend them to your will?

For the first half of the video, [Robert] treats us to a detailed teardown of the device, which as you might imagine, is largely hollow inside. This gave him plenty of room to graft in new hardware, which is really the best gift any of us could hope to find under the tree. In addition to the ESP32 development board, the jukebox also received a number of WS2812B addressable RGB LEDs, and a DFPlayer module to handle music playback.

With all the buttons wired up to inputs on the ESP32, [Robert] can reconfigure the jukebox to do pretty much whatever he wants with just changes to the software. In the video, he demonstrates how the buttons can be used to trigger the playback of individual songs stored on the DFPlayer’s SD card, which essentially replicates it’s stock functionality. A few lines of changed code later, those same buttons can be used to control devices via Home Assistant.

To get into the holiday spirit, [Roberts Retro] shows off the completed jukebox controlling his ESP-enabled LEGO train set — another of his festive upgrades that we covered back in 2022.

A Twenty-Segment Display, Artistically

We all know and love the humble seven-segment display, right? And if you want to make characters as well as numbers, you can do an okay job with sixteen segments off the shelf. But if you want something more art-deco, you’ll probably want to roll your own. Or at least, [Ben] did, and you can find his designs up on GitHub.

Taking inspiration from [Posy]’s epic investigation of segmented displays, [Ben] sat down with a sketchpad and created his own 20-segment font that displays numbers and letters with some strange, but frankly lovely, segment shapes. There is no center line, so letters like “T” and numbers like “1” are a little skewed, but we think it’s charming.

We’ve seen about a bazillion takes on the seven-segment idea over the years here. Most recently, we fell in love with this 21-segment beauty, but honestly the original eight(!) segment patent version is charming as well. Anyway, picking a favorite segmented display at Hackaday is like picking your favorite child, if you have a few hundred children. We love them all.

Thanks [Aaron] for the tip!

Keeping Track of Old Computer Manuals with the Manx Catalog

An unfortunate reality of pre-1990s computer systems is that any manuals and documentation that came with them likely only existed on paper. That’s not to say there aren’t scanned-in (PDF) copies of those documents floating around, but with few of these scans being indexable by search engines like Google and Duck Duck Go, they can be rather tricky to find. That’s where the Manx catalog website seeks to make life easier. According to its stats, it knows about 22,060 manuals (9,992 online) across 61 websites, with a focus on minicomputers and mainframes.

The code behind Manx is GPL 2.0 licensed and available on GitHub, which is where any issues can be filed too. While not a new project by any stretch of the imagination, it’s yet another useful tool to find a non-OCR-ed scan of the programming or user manual for an obscure system. As noted in a recent Hacker News thread, the ‘online’ part of the above listed statistics means that for manuals where no online copy is known, you get a placeholder message. Using the Bitsavers website along with Archive.org may still be the most pertinent way to hunt down that elusive manual, with the Manx website recommending 1000bit for microcomputer manuals.

Have you used the Manx catalog, or any of the other archiving websites? What have been your experiences with them? Let us know in the comments.

The Mystery of the Messed-Up Hammond X5

[Filip] got his hands on a sweet old Hammond X5 organ, but it had one crucial problem: only half of the keys worked. Each and every C#, D, D#, E, F, and F# would not play, up and down the keyboard, although the other notes in between sounded just fine.

Those of you with an esoteric knowledge of older electric organs will be saying “it’s a busted top-octave generator chip”, and you’re right. One of the TOGs worked, and the other didn’t. [Filip] rolled his own top-octave generator with a Pico, in Python no less, and the old beauty roared to life once more.

But what is a top-octave generator, you may ask? For a brief period of time in the early 70s, there were organs that ran on square waves. Because a musical octave is a doubling or halving of frequency, you can create a pitch for every key on the organ if you simply create one octave’s worth of pitches, and divide them all down using something as simple as a binary counter IC. But nobody makes top-octave chips any more.

Back in 2018, [DC Darsen] wrote in asking us if we knew about any DIY top-octave designs, and we put out an Ask Hackaday to see if you all could make a top-octave generator out of a microcontroller. We got a super-optimized code hack in response, and that’s worth checking out in its own right, but we always had the nagging suspicion that a hardware solution was the best solution.

We love how [Filip]’s design leans heavily on the Pico’s programmable input/output hardware modules to get the job done with essentially zero CPU load, allowing him to write in Python and entirely bypassing the cycle-counting and assembly language trickery. The voltage shifters and the switchable jumpers to swap between different top-octave chip types are a nice touch as well. If you have an organ that needs a top-octave chip in 2024, this is the way we’d do it. (And it sounds fantastic.)

Drop has dropped: Beta Release!

 Drop has dropped: Beta Release!

(now we all know why I picked that name lmao)

I'm the lead developer, and we're so excited to present Drop, the game distribution platform, as an open beta!

What is Drop? Drop is an open-source, self-hosted game distribution platform. It's designed offer all the same features of a platform like Steam.

Currently things are in very early stages, but we something that we're happy to say at least works. As this is a first release, I'm expecting a lot of bugs and issues to come up.

Specifically, here's what you can expect from this beta release:

  • Drop instance library management, including importing games and versions, and basic metadata management
  • Simple authentication (username & password), with magic URL invitations
  • Store pages, with basic metadata viewing
  • Clients for both Windows & Linux
  • Downloading & launching of games on both platforms (only native games right now)

Things that have UI but aren't implemented:

  • Games that require a 'setup' executable
  • User libraries (clients currently list all games on the server)
  • Account management

Barebones wiki detailing basic setup and usage: https://wiki.droposs.org/

GitHub release & client downloads (more about this in the wiki): https://github.com/Drop-OSS/drop-app/releases/tag/v0.1.0-beta

Check out the client source code: https://github.com/Drop-OSS/drop-app

Check out the server source code: https://github.com/Drop-OSS/drop

We also have a Discord: https://discord.gg/NHx46XKJWA. As the developer, I understand the issues around having Discord as a primary platform for a community, and am looking into alternatives. In the mean time, feel free to open issues or GitHub discussions, and I will happily chat with you there.

Happy selfhosting!

UI screenshots as requested:

Download queue in the client

Game library (right now not a library, just a list of all games on server)

Admin game management

Admin library management

Importing a game

Game import

Store page for Factorio

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

Introducing RepoFlow: Free Self-Hosted Package Management Made Simple

Introducing RepoFlow: Free Self-Hosted Package Management Made Simple

Website: RepoFlow
Docs: RepoFlow Docs

Hello everyone

I’m excited to officially introduce RepoFlow, a user-friendly and powerful self-hosted package management platform designed to simplify repository management and package hosting.

About a month ago, I posted on this subreddit link, asking for advice on how to handle free self-hosting for personal use. Thanks to your feedback, we’ve decided to:
- No limits for personal self-hosting.
- Every plan includes SSO by default, a feature many of you highlighted as essential.

Key Features

- Support for 8 Package Types
Manage repositories for npm, Docker, Maven, NuGet, Go, Helm, RPM, PyPI and more are coming soon!

- Easy to manage repositories
The homepage is your repository page, making navigation straightforward and intuitive.

Home Page

- View Packages with Ease
Easily explore package details, view ReadMe files, and copy installation commands

https://preview.redd.it/36q0buh38z8e1.png?width=3456&format=png&auto=webp&s=c74232845ebb98824cfeb28257d160cbdda2e10e

- Smart Search (Optional)
You can connect RepoFlow to ElasticSearch or OpenSearch for enhanced package search, but the
default search experience is already great

https://preview.redd.it/6r15lzcc8z8e1.png?width=3456&format=png&auto=webp&s=1a31eda568801206562d29682361580b3fa472bb

- Built-In SSO
Single Sign-On is included by default

- Integrated Documentation
The documentation is embedded directly into the platform, ensuring you always have the right
version of the docs relevant to your deployment.

You can also try our free cloud plan if you'd like to explore RepoFlow quickly before setting up your self-hosted instance.

I’d love to hear your thoughts and feedback.
Happy Holidays! 🎉

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

PdfDing - Now with editing functionalities

Hi r/selfhosted,

I am the developer of PdfDing. As this feature was requested quite often I wanted to inform you that it is now possible to edit PDFs by adding annotations, highlighting and drawings. You can find the repo here.

I also got the feedback that organizing PDFs with simple tags does not work for many people. It is now possible to organize PDFs with multi-level tags. I hope this will improve the user experience.

If you like PdfDing I would be really happy over a star on GitHub. As the project is open source, if anyone wants to contribute you are welcome to do so!

submitted by /u/Mindless-View-3071
[link] [comments]

Have you ever let something mess with your pride in self-hosting?

I recently set up and deployed an app called Babybuddy for our new baby. It was helpful at the beginning, and I thought it would be great for my family.

However, a friend of my wife suggested trying a paid app called Napper, which has more features than Babybuddy. At first, I was hesitant to pay for the annual subscription because I want to avoid extra costs and make the most of my own resources. To be honest, this situation affected my pride in self-hosting.

I felt frustrated and wondered why my wife didn’t see the effort I put into Babybuddy. Then I realized something important: not every issue is worth fighting over. Just because I find an app useful doesn't mean it meets our family's needs, and that’s okay. Self-hosting is a hobby for me, but it may not matter to everyone else.

This experience taught me to focus on what works best for our family instead of just what interests me. It's fine to enjoy setting up systems but understanding when to prioritize our family's well-being is crucial.

Does anyone else struggle with this balance? How do you manage self-hosting and family life?

Have you ever affected your self-hosting pride before?

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

The Azuracast on Windows via Docker plunge - do it

I'm a Windows PC and that means I'm scared of many things in the real world. That's kind of a joke - Linux and command line interfaces do intimidate me even when there are step by step procedures on websites; the warm blanket feel of the Ctrl+Z saftynet in windowed applications cannot be over stated. But I wanted to host a random playlist that wasn't strictly on IceCast or some equal.

Azuracast seemed to tick all the boxes but requires Docker (new to me) and Ubuntu (very alien to me) as Windows installations or else paid options exist and this is just a hobby station, so paying for squat is out the window. I'm a voice actor and want to use Entertainment-as-Resume so folks have examples to listen to. I thought that was a clever use of the service but the steps involved made me a coward.

So this post is for other Windows milk-fed users (even if you don't admit it out loud). You can do it. If self-hosting a playlist like a radio station for free is your goal and you can leave your computer powered on to serve the audio online, try Azuracast. It's fascinating and the backend provides some limited playback controls. There is still a public page that doesn't work for me but I think that's because my shaky fingers made a directory wrong in Ubuntu, but the stream works - through IceCast of all things! - so that's good enough for now.

Though I'm soft on programming and DIY software as most people are, I am always urgently encouraging people like me to TRY diy stuff. Support for some self-hosted applications can be robust, features can rival the biggest for-pay applications and Independence, after all, is often the way to go. So consider this the nudge some might need to get that radio station you've wanted to DJ online. Host your podcast, playlist or favorite local bands. Cheers!

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

What's up with Bitnami's docker images?

I have seen a few projects where they use Bitnami's docker images when an official one already exists. What incentive does a project maintainer have to use Bitnami's images?

For example, the MongoDB image used in RocketChat's compose file is docker.io/bitnami/mongodb and I'm wondering why. I mean why intentionally use something that has telemetry going to someone else? Does Bitnami pay them something?

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

Manager for my collections

Hello,

I am trying to find a self-hostable collection manager. Basically I have quite a few hobbies and just stuff in general that I would like to organize.

I tried Memento on Android and I really liked it. Basically the perfect solution, but it requires monthly subscription to have it synced between devices and get other features... and even then there are bugs with pictures and their offline handling. I refuse to pay that much for glorified database for my stuff. Especially if it malfunctions and I can't safely backup my collections.

I tried Homebox and Koillection, too.
Homebox sucks if you depend on custom fields as you will need to remake them each time per new item.
Koillection is quite good, but I struggled with categorizing - you can make categories, but they are non-clickable and basically useless. You need to use tags and they get cluttered really quickly.

Again, Memento was awesome. You could restrict and tweak each field and it's values. I had like main category, then sub-category and I could see all items on one page and filter it. In Koillection I could use collection and then sub-collections, but that way you can't see all items on one page and it's just messy...

Is there an alternative?

Requirements:

  • photos (with previews in a list)
  • accessible from a phone (I can self-host on my server)
  • templates (custom fields I want will be there when adding new item)
  • categorizing, filtering and searching

The biggest issue seems to be the photos. There are many inventory management software, but they rarely have photo previews per item. Especially big picture previews. One database would function as a database of stuff I own, so when relative wants to gift me they could easily filter and see by picture if I have it already.

I am really desperate. I tried a lot of things and searched around for "Koillection/Homebox alternatives" and couldn't find Memento alternative that isn't subscription based.

Thanks a lot

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

Ganymede v4.0 Release

Ganymede v4.0 Release

Ganymede is a Twitch VOD and live stream archiving platform. It includes advanced channel watching functionality to ensure your favorite streamer's content is preserved. The number one goal of Ganymede is to archive streams in a way that will outlive the application itself, this means friendly file formats and names.

Github: https://github.com/Zibbp/ganymede

v4.0 release notes: https://github.com/Zibbp/ganymede/releases/tag/v4.0.0

The v4.0 release reduced the number of containers required to run Ganymede from 4 to 2. It is now simpler than ever to get started. Other highlights of v4.0 include:

  • Clip archiving
  • Frontend rewrite for better performance
  • Video thumbnail sprites
  • A chat histogram

Watching an archived stream

A full demo video can be found in the README.

Hope you all enjoy, have a great Christmas! 🎄

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

Self hosted simple file share?

I'm fairly new to self hosting so I don't know if there's an obvious answer.

I would like a file sharing webpage that you can create a link and anyone that has that link can download the associated files.

No security other than you must have the link. And I'd like the ability to expire links after so long. Anyone can upload and create a link, etc.

Have any of you come across something like that which is self hostable?

Update: Thanks for all the recommendations. I'll go through them tonight and tomorrow. I appreciate all the knowledge sharing.

FYI: To maybe clarify my use case: I have security cameras at my house. There's one in particular that faces an intersection. I've purposely named it "crashcam" for a reason. Everyone in the neighborhood that has an issue in that intersection will eventually contact me for a video.

I just want to text them a link. If they want to share with law enforcement, they can share the link, etc. I have a Synology server that I usually create a link on, but then months later I have to remember where I put the file and delete it. Years later I have files all over the place that I've linked and shared and then forgot.

I want something easy that will manage itself and be useful to a lot of people.

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

Am I using Traefik the "right way"?

I just switched from Nginx Proxy Manager to Traefik, a probably completely unnecessary move, except for my own DevOps learning I suppose.

Using npm, I would manually configure every ip address and port to a subdomain and domain, whether it be in a docker container or not (like the Home Assistant OS running on a raspberry pi).

In Traefik, I don't have to manually configure anything that's a docker container anymore (except putting labels on them). I'm not sure what the best approach is for non docker web applications, but I have been using the files Provider option and manually putting them into a dynamic-configuration.yml file. Is this the only or "optimal" (subjective, I know) way to do it, or is there something better?

submitted by /u/ottovonbizmarkie
[link] [comments]
❌