Haven't checked completely, but seems it's only coded to build for windows :( Not sure how easy would be to make it run on Linux.
iDrive e2 with duplicati and manually to an external SSD with rscyn every so often.
I was planing on asking a friend to setup a server at their home, but I feel somewhat comfortable with the current solution.

How do you structure your models save/load code?
I have in mind two options:
- Code in the class being saved/loaded. The flows for each entity/model are in the same place, so it's easy to just have one file open to see all the functionalities of that class, but this means having more code in a single file.
- Code in a dedicated class (like a factory)
This makes each file smaller, but spreads flows of a single model into different parts of the repo, also because I'm thinking of having a directory/src/models
and another like/src/export
(orserialize
)
What do you guys think?
What's your preferred way to organize the save and load flows?
My question would be, if you're only archiving repos, why do you need a forge?
A simple git clone <repo>
to any your archival directory would be enough to store them, there's no need for you to use a forge software.
Are there any other features of gitea you use?
Yeah, it was $2.5/tb/month, now it's $4.1/tb/month.
Still cheaper than backblaze's $6 which seems the only other option everyone suggests, so it'll have to do for the moment.
I'm assuming you mean updating every service, right?
If you don't need anything new from a service you can just stay on the version you use for as long as you like as long as your services are not public.
You could just install tailscale and connect everything inside the tailnet.
From there you'll just need to update tailscale and probably your firewall, docker, and OS, or when any of the services you use receives a security update.
I've lagged behind several versions of immich because I don't have time to monitor the updates and handle the breaking changes, so I just use a version until I have free time.
Then it's just an afternoon of reading through the breaking changes, updating the docker file and config, and running docker compose pull && docker compose up -d
.
In theory there could be issues in here, that's were your backups come into place, but I've never had any issues.
The rest of the 20+ services I have are just running there, because I don't need anything new from them. Or I can just mindlessly run the same compose commands to update them.
There was only one or two times I had to actually go into some kind of emergency mode because a service suddenly broke and I had to spend a day or two figuring out what happened.
I'd say syncthing is not really a backup solution.
If for some reason something happens to a file on one side, it'll also happen to the file on the other side, so you'll loose your "backup".
Plus, what ensures you your friend won't be going around and snooping or making their own copies of your data.
Use a proper backup software to send your data offsite (restic, borg, duplicati, etc) which will send it encrypted (use a password manager to set a strong and unique password for each backup)
And follow the 3-2-1 rule MangoPenguin mentioned.
Remember, this rule is just for data you can't find anywhere else, so just your photos, your own generated files, databases of the services you self-host, stuff like that. If you really want you could make a backup of hard to find media, but if you already have a torrent file, then don't go doing backup of that media.
What do you mean jellyfin uses the *are suite?
I have Jellyfin with any media in different directories as long as I try to match the format the documents mention.
So, as long as I can get the media in any way I can just put it in any directory and it'll be added to the library.
Is it similar with Odin? Or does it directly fetch the media from where you want to download it?
FreshRSS has been amazing, as you said, other readers have other goals in mind and seems RSS is just an add-on.
On Android's also there are no good clients, I've been using the PWA which is good enough.
There are several extensions for mobile menu improvements, I have Smart Mobile Menu
, Mobile Scroll Menu
and Touch Control
(it works great on Firefox, but not on brave, it's too sensitive there, so YMMV).
There's also ReadingTime
, but there are feeds which don't send the whole body of the post, so you might only see a 1minute read because of that.
The extension AutoTTL
processes the feeds and makes them update only when it's more likely for them to get new items instead of every X minutes configured by FreshRSS.
Still there's a problem when the MaxTTL happens, all feeds are allowed to be updated and you might hit some rate limits, so I developed a rate limiter. Still there's a problem with AutoTTL because how extensions are loaded and with the http code reported by FreshRSS.
I found this project which receive the emails of newsletters and turns them into a RSS feed, I've only used it for one feed and I've only received one entry, not sure if the newsletter is that bad or if the site struggles to receive/show them. Haven't tried something it.
https://github.com/leafac/kill-the-newsletter
There's also this repo linking a lot of sites with feeds, and some sites which don't offer feeds directly are provided via feedburner (which seems it's a Google service and wikipedia says "primarily for monetizing RSS feeds, primarily by inserting targeted advertisements into them"
, so use those at your own discretion)
https://github.com/plenaryapp/awesome-rss-feeds
Just for privacy reasons?
I can decouple the traffic fingerprinting of some sites, like amazon, youtube, reddit, etc.
And because I have a squid proxy router through the vpn set up via a couple of docker containers, I have a firefox container to always send the traffic over the proxy which allows me to easily search for stuff outside and inside the vpn.
Aside from that I also use the proxy to send requests in scripts over the vpn so my real IP doesn't get rate limited.
And what VPNs are actually for: looking for geo-blocked content.
I've always used them as a bookmark, specially now they have lists.
There are projects with tens of thousands of stars but with commits from 2-3 years ago, with only dependabot commits, or with 0 issues but every last closed one is from stalebot because the owner doesn't care to maintain the repo.
Stars are not a way to know if a repo is good.
Maybe you could submit an issue to the repo to include a way to change the format of the saved folders.
(I'm thinking something similar on how immich allows to change some formats)
I'm seeing in my instance the names seem like some sort of timestamp, not sure if the code uses them in a meaningful way, so probably the solution would be to create symlinks with the name of the site or some other format while keeping the timestamp so the rest of the code can still expect it.
I bought this one and it's been wonderful to run +20 services. A few of those are Forgejo (github replacement), Jellyfin (Plex but actually self-hosted), immich (Google Photos replacement), frigate (to process one security camera).
(Only Immich does transcoding, jellyfin already has all my media preprocessed from the GPU of my laptop)
I bought it bare-bone since I already had the RAM and an SSD, plus I wasn't to use windows. During this year I've bought another SSD and a HDD.
I bought it on amazon, but you could buy it from the seller, although I'd recommend amazon to not deal with the import and have an easy return policy.
I'd say it's one thing and better to be tracked only at account level than to be tracked at traffic level.
So you know only your history in the site can be used as opposed to any other form of fingerprinting the sites might use at browser, cookies, or ip level.
Found the issue '-
UFW also blocks traffic between docker and host.
I had to add these rules
undefined
ufw allow proto tcp from 172.16.0.0/12 to 172.16.0.0/12 port 80 ufw allow proto tcp from 172.16.0.0/12 to 172.16.0.0/12 port 443
Same problem.
I tried a few values and the same, ping works but curl doesn't.

How to access host when using gluetun in docker?
I'm having issue making a container running in the network of gluetun to access the host.
In theory there's a variable for this: FIREWALL_OUTBOUND_SUBNETS
https://github.com/qdm12/gluetun-wiki/blob/main/setup/connect-a-lan-device-to-gluetun.md#access-your-lan-through-gluetun
When I include 172.16.0.0/12
I can ping the ip assigned with host-gateway
but I can't curl anything.
The command just stays like this until it timesout
undefined
# curl -vvv 172.17.0.1 * Trying 172.17.0.1:80...
I also tried adding 100.64.0.0/10
to connect to tailscale but is the same response, can ping and timedout curl.
Any other request works properly connected via the VPN configured in gluetun
Do you guys have any idea what I might be missing?
I wonder if Trudeau will make the same move as the Mexican president and tell the actual truth about the meeting.
Why not report it in the repo?
Not sure what'd you consider lightweight, I've been using https://github.com/jhj0517/Whisper-WebUI with fast whisper.
The GPU integration has never worked well for me, but the CPU one works wonders.
You'll have to check if the models offer good results for those languages.
The video in YT and the music played in YTMusic are two different uploads, you can easily get one in YT by checking the YTM URL and getting the ID. So yeah, yt-dlp should get you only the song if you created a playlist with only songs instead of music videos.
Maybe FreshRSS with some extensions?
I saw a recent commit to fire an event when saving a favorite, so probably you can get an extension to send the link to something like archivebox for the pages you favorite.
I've just fiddled with an already created extension, but they seem fairly simple to create your own easily.
Of course you can inject JS so you could make it more complex if you want.

Is there a way to hide dependabot commits in the history of a repo?
I'm trying to see how active a project is, but dependabot spam makes it annoying to find actual commits and to know if those commits are relevant.
There's no need for me to know chai was updated from 5.1.1
to 5.1.2
, I want to see what were the most recent actual features implemented.

Cession de bail tandis processus avec le tribunal
Savez-vous si il y aura des problèmes avec cette situation?
J'ai juste rejeté l'augmentation du loyer pis la compagnie as envoyé le cas au TAL.
Si je fait une cession de bail, le prochain propriétaire auras des problèmes?
Je me demande au cas où cela pourrait effrayer les candidats possibles ou si j'aurai des problèmes.
Je crois aussi que la compagnie pourrait rejeter ces deux processus parce que les deux département sont à eux, c'est ça?
Que me recommandez-vous?
Mon département est 3 1/2, et le outre est 4 1/2, pour seulement ~$30 plus.

Is there any way to save storage on similar images?
So, I'm selfhosting immich, the issue is we tend to take a lot of pictures of the same scene/thing to later pick the best, and well, we can have 5~10 photos which are basically duplicates but not quite.
Some duplicate finding programs put those images at 95% or more similarity.
I'm wondering if there's any way, probably at file system level, for the same images to be compressed together.
Maybe deduplication?
Have any of you guys handled a similar situation?

How to get total rows in mysql if there was no LIMIT
clause?
I was using SQL_CALC_FOUND_ROWS
and SELECT FOUND_ROWS();
But this has been deprecated https://dev.mysql.com/doc/refman/8.0/en/information-functions.html#function_found-rows
The recommended way now is first to query with limit and then again without it selecting count(*)
.
My query is a bit complex and joins a couple of tables with a large number of records, which makes each select take up to 4 seconds, so my process now takes double the time compared to as I just keep using found rows.
How can I go back to just running the select a single time and still getting the total number of rows found without the limit?

How to get a list of launchable activities of all installed apps?
cross-posted from: https://lemmy.pe1uca.dev/post/1512941
I'm trying to configure some NFC tags to automatically open an app, which is easy, just have to type the package name.
But I'm wondering how I can launch the app in a specific activity.Specifically when I search for FitoTrack in my phone I get the option to launch the app directly into the workout I want to track, so I don't have to launch the app, click the FAB, click "Record workout" and then select the workout.
So I want to have a tag which will automatically launch this app into a specific workout.How can I know what's the data I need to put into the tag to do this?
Probably looking at the code will give me the answer, but this won't apply to closed source apps, so is there a way to get all the ways all my installed apps can be launched?

How to get a list of launchable activities of all installed apps?
I'm trying to configure some NFC tags to automatically open an app, which is easy, just have to type the package name.
But I'm wondering how I can launch the app in a specific activity.
Specifically when I search for FitoTrack in my phone I get the option to launch the app directly into the workout I want to track, so I don't have to launch the app, click the FAB, click "Record workout" and then select the workout.
So I want to have a tag which will automatically launch this app into a specific workout.
How can I know what's the data I need to put into the tag to do this?
Probably looking at the code will give me the answer, but this won't apply to closed source apps, so is there a way to get all the ways all my installed apps can be launched?

Any good linux voice changer?
I'm using https://github.com/rhasspy/piper mostly to create some audiobooks and read some posts/news, but the voices available are not always comfortable to listen to.
Do you guys have any recommendation for a voice changer to process these audio files?
Preferably it'll have a CLI so I can include it in my pipeline to process RSS feeds, but I don't mind having to work through an UI.
Bonus points if it can process the audio streams.

Why is my chromecast trying to access other devices in my network?
cross-posted from: https://lemmy.pe1uca.dev/post/1434359
I was trying to debug an issue I have connecting to a NAS, so I was checking the logs of UFW and found out there are a lot of connections being blocked from my chromecast HD (AndroidTV) on different ports via the local IP.
Sometimes I use jellyfin, but that's over tailscale, so there shouldn't be any traffic over local IP, just over tailscale's IP.
But shouldn't have traffic right now since I wasn't using it and didn't have tailscale on.The ports seem random, just sometimes they are tried two times back to back, but afterwards another random port is tried to be accessed.
After seeing this I enabled UFW in my daily machine and the same type of logs showed up.
So, do you guys know what could be happening here?
Why is chromecast trying to access random ports on devices in the same network?

What am I doing with iptables?
I've only used ufw
and just now I had to run this command to fix an issue with docker.
sudo iptables -I INPUT -i docker0 -j ACCEPT
I don't know why I had to run this to make curl
work.
So, what did I exactly just do?
This is behind my house router which already has reject input from wan, so I'm guessing it's fine, right?
I'm asking since the image I'm running at home I was previously running it in a VPS which has a public IP and this makes me wonder if I have something open there without knowing :/
ufw
is configured to deny all incoming, but I learnt docker by passes this if you configure the ports like 8080:8080
instead of 127.0.0.1:8080:8080
. And I confirmed it by accessing the ip and port.

How 0% APR credits make money?
I mean, the price of the product is the same, I'm taking a loan for the duration of the credit but paying no interest?
What's the catch?
I can keep my money making a bit of interest instead of giving it right away and without increasing the price of what I was already planning to buy. When or why wouldn't I choose 0% credits?

How to conduct a software audit?
cross-posted from: https://lemmy.pe1uca.dev/post/1137911
I need to help auditing a project from another team.
I got the pointers on what's expected to be checked, but I don't have like templates for documents for what's expected from an audit report which also means I'm not sure what's the usual process to conduct an internal audit.
I mean I might as well read the whole repo, but maybe that's too much?Any help or pointers on what I need to investigate to get started would be great!

How to conduct a software audit?
I need to help auditing a project from another team.
I got the pointers on what's expected to be checked, but I don't have like templates for documents for what's expected from an audit report which also means I'm not sure what's the usual process to conduct an internal audit.
I mean I might as well read the whole repo, but maybe that's too much?
Any help or pointers on what I need to investigate to get started would be great!

What is the technical explanation to limit size of sdd to connect?
cross-posted from: https://lemmy.pe1uca.dev/post/1136490
I'm checking this mini pc https://www.acemagic.com/products/acemagic-ad08-intel-core-i9-11900h-mini-pc
It says the M2 and SATA ports are limited to 2TB, but I can't imagine why that's the case.
Could there be a limit on the motherboard? On the CPU?
If most likely this is done in software (windows) probably it won't matter since I'm planning to switch to linux.What I want to avoid is buying it and being unable to use an 8TB drive.

What's a good use for an edge TPU?
I started tinkering with frigate and saw the option to use a coral ai device to process the video feeds for object recognition.
So, I started checking a bit more what else could be done with the device, and everything listed in the site is related to human recognition (poses, faces, parts) or voice recognition.
In some part I read stable diffusion or LLMs are not an option since they require a lot of ram which these kind of devices lack.
What other good/interesting uses can these devices have? What are some of your deployed services using these devices for?

Sharing caddy HTTPS certificates
I have a few servers running some services using a custom domain I bought some time ago.
Each server has its own instance of caddy to handle a reverse proxy.
Only one of those servers can actually do the DNS challenge to generate the certificates, so I was manually copying the certificates to each other caddy instance that needed them and using the tls
directive for that domain to read the files.
Just found there are two ways to automate this: shared storage, and on demand certificates.
So here's what I did to make it work with each one, hope someone finds it useful.
Shared storage
This one is in theory straight forward, you just mount a folder which all caddy instances will use.
I went through the route of using sshfs, so I created a user and added acls to allow the local caddy user and the new remote user to write the storage.
undefined
setfacl -Rdm u:caddy:r

What's your approach to email aliases?
I started fiddling with my alias service and started wondering what approach other people might take.
Not necessarily the best option but what do you prefer? What are the pros and cons you see with each option?
Currently I'm using anonaddy and proton, so I have a few options to create aliases.
- The limited shared domain aliases (from my current subscription level)
Probably the only option to not be tracked if it would be unlimited, I'd just have to pay more for the service. - Unlimited aliases with a subdomain of the shared domain
For example: baked6863.addy.io - Unlimited aliases with custom domain.
- Unlimited aliases with subdomain in custom domain.
This is different from the one above since the domain could be used for different things, not dedicated to email. - Catch-all with addy.
The downside I've read is people could spam any random word, and if then disabled the people that had an incorrect alias wouldn't be able to communicate anymore. - Catch-

How to reload an infinite world from any point using WFC?
I started delving into world and dungeon generation with different techniques.
The one I want to try is wave function collapse.
There are several videos and repos explaining and showcasing how it works and how it can be used to generate an infinite world.
One question I have and haven't seen any mention about is, how do I recreate/reload the map from any point other than the original starting one?
So, AFAIK the algorithm start from a few tiles/pixels in a starting position, or picking their position at random, and then can collapse the rest of the map with the set of rules given to the building blocks, but if these starting tiles/pixels are far away after a player saves, then I can only think about having to start from them again to reach the saved point to be able to show the same world which of course could mean a very long loading screen.
Maybe the save can include the current seed, but then it can advance differently when the player goes back, which means the algorit

Use old android tablet for dashboard
I have an old android tablet (and several phones) that I want to use for small applications in my home automation.
For the most part just to show a web page to quickly click something to activate or read the status.
My issue is the OS installed is very old and of course there are no official updates.
Looking for custom roms they are also somewhat old because the age of the devices, and everyone says "don't use the rom of one device into another even if the models are very similar".
So, my question is, what are my options if I can't use a pre-built rom?
Could I keep the same OS and just restrict access to only my internal network?
Not sure if I'm being too paranoid about security risks using these devices to just connect to my services.