[-] SinTan1729@programming.dev 18 points 2 weeks ago

KDE is great but do give some "better" distros like Fedora, or EndeavourOS (basically Arch) a try. Canonical, the company in control of Ubuntu, is a little bit shady.

[-] SinTan1729@programming.dev 11 points 1 month ago* (last edited 1 month ago)

It literally is. Please get out from under your rock.

[-] SinTan1729@programming.dev 14 points 1 month ago* (last edited 1 month ago)

I mean, you can just install Discover on EndeavourOS if you want.

[-] SinTan1729@programming.dev 17 points 1 month ago* (last edited 1 month ago)

Everyone has listed a lot of reasons, and there's also https://manjarno.pages.dev/ which pretty much sums up all the technical reasons.

I'd just like to add why I switched. I used Manjaro for a couple of years, and suggested it to friends and family for a while. It was fine when it worked. But when it didn't, it was a pain to figure out wtf was wrong. Their forum wasn't helpful, and you can't get help in the Arch forums, because it's just different enough. Also, whenever something broke, their logic was always backwards. Like SSL broke for the 5th time, just roll back your clock guys. It felt like being in an abusive relationship with a distro.

I finally switched to EndeavourOS some 4 years ago, and it's been very smooth ever since. In fact, I've had a good experience with pretty much every distro that I've used long term (e.g. AlmaLinux, Debian, Fedora, and even Ubuntu), except for Manjaro.

[-] SinTan1729@programming.dev 10 points 1 month ago* (last edited 1 month ago)

I like EndeavourOS because it's pretty much vanilla Arch, just with a nice installer. (Although we do now have the archinstall script.) After installation, there's pretty much no difference. Also, I like the logo. I only installed Arch once for the bragging rights lol.

26

cross-posted from: https://programming.dev/post/39212874

I recently migrated my services from rootful docker to rootless podman quadlets. It went smoothly, since nothing I use actually needs to be rootful. Well, except for caddy. It needs to be able to attach to privileged ports 80 and 443.

My current way to bypass it is using HAProxy running as root and forwarding connections using proxy protocol. (Tried to use firewalld but that makes the client IP opaque to caddy.) But that adds an extra layer, which means extra latency. It's perfectly usable, but I'd like to get rid of it, if possible.

I'm willing to run caddy in rootful podman if needed. But from what I understand, that means I can't have it in the same rootless network as my other containers. I really don't wanna open most of my containers' ports, so that's not an option.

So, I'm asking whether any of these three things are possible.

  1. Use firewalld to forward ports to caddy without obscuring the client's IP.
  2. Make rootful caddy share a network with other rootless containers.
  3. Assign privileged ports to caddy somehow, in rootless mode. (I know there's a way to make all these ports unprivileged, but is it possible to only assign these 2 ports as unprivileged?)

Or maybe there's a fourth way that I'm missing. I feel like this is a common enough setup, that there must be a way to do it. Any pointers are appreciated, thanks.

6
submitted 1 month ago* (last edited 1 month ago) by SinTan1729@programming.dev to c/containers@lemmy.world

I recently migrated my services from rootful docker to rootless podman quadlets. It went smoothly, since nothing I use actually needs to be rootful. Well, except for caddy. It needs to be able to attach to privileged ports 80 and 443.

My current way to bypass it is using HAProxy running as root and forwarding connections using proxy protocol. (Tried to use firewalld but that makes the client IP opaque to caddy.) But that adds an extra layer, which means extra latency. It's perfectly usable, but I'd like to get rid of it, if possible.

I'm willing to run caddy in rootful podman if needed. But from what I understand, that means I can't have it in the same rootless network as my other containers. I really don't wanna open most of my containers' ports, so that's not an option.

So, I'm asking whether any of these three things are possible.

  1. Use firewalld to forward ports to caddy without obscuring the client's IP.
  2. Make rootful caddy share a network with other rootless containers.
  3. Assign privileged ports to caddy somehow, in rootless mode. (I know there's a way to make all these ports unprivileged, but is it possible to only assign these 2 ports as unprivileged?)

Or maybe there's a fourth way that I'm missing. I feel like this is a common enough setup, that there must be a way to do it. Any pointers are appreciated, thanks.

[-] SinTan1729@programming.dev 12 points 2 months ago

Forgejo and Codeberg are great (I use both), but only for backups, at least unless you're already well known. For small developers, GitHub is pretty much the only platform that might let others discover your project.

[-] SinTan1729@programming.dev 15 points 2 months ago

I haven't met a single person in the last 5 years who wanted a slimmer phone. Phones are already slim enough. We just want longer battery life.

[-] SinTan1729@programming.dev 13 points 3 months ago

It's just a way to advertise, I think. I've found myself putting more trust in projects written in Rust or Go, than say, JavaScript.

[-] SinTan1729@programming.dev 10 points 3 months ago* (last edited 3 months ago)

I'm already aware of a few small UI oddities. There were quite a few changes in the frontend, so I kind of expect these. Please let me know if you see anything weird. You can comment here, or open a bug report. I expect to do a patch release by tomorrow.

115
submitted 3 months ago* (last edited 3 months ago) by SinTan1729@programming.dev to c/selfhosted@lemmy.world

This release adds the ability to edit existing links, show and download QR codes for easy sharing, and various improvements in the frontend. Check out the release note for a list of all changes.

16
submitted 3 months ago* (last edited 3 months ago) by SinTan1729@programming.dev to c/jellyfin@lemmy.ml

It's mainly meant for episodes where TMDB doesn't have the information on release. I'm using it with a cronjob so that it keep trying until there's metadata available.

[-] SinTan1729@programming.dev 23 points 4 months ago

I develop open-source code. But that never made me one of the “I hate proprietary software or IT giant corporations” types.

Maybe it should've.

[-] SinTan1729@programming.dev 15 points 4 months ago

Also, I hate the name of the column. The frequent mention of the name "Who, Me?" just takes me out.

10
submitted 5 months ago* (last edited 5 months ago) by SinTan1729@programming.dev to c/neovim@programming.dev

I simply want to emulate the effect of -p by default i.e. open all files in tabs when multiple files are supplied. I wrote the following autocommand to make it work.

-- Open files in tabs by default
vim.api.nvim_create_autocmd("VimEnter", {
    callback = function()
        if not vim.opt.diff:get() and #vim.fn.argv() > 1 then
            vim.cmd("tab sball")
            vim.cmd("tabfirst")
        end
    end,
})

But it seems to bork the colorscheme for all but the first tab. It's weird since Running the same commands manually after neovim is loaded works perfectly. I may have something to do with the order in which things are run. Is it possible to run this command as late as possible?

I'm open to alternative approaches that gets the job done.

[-] SinTan1729@programming.dev 19 points 7 months ago* (last edited 7 months ago)

Storage, RAM, CPU usage. I prefer not to have such a large piece of software running for no reason. It might seem silly, but I hate using resources for no reason. I'll rather have 5 lightweight apps running instead of a huge one, of which I'll only use a few parts.

69
submitted 7 months ago* (last edited 7 months ago) by SinTan1729@programming.dev to c/selfhosted@lemmy.world

I thought of this after a recent trip with some friends. We shared the photos when we were still in person. But sometimes we need to share a lot of photos over the internet. In the past, we have used a shared google drive directory for this. But I'd prefer a self-hosted option. There should be some sort of password protection as well (ideally per share, and no need for accounts). One should be able to both access the current files and upload new ones, just like google drive or dropbox.

I currently have FileShelter, which works for 1-to-1 sharing but not for groups. I guess something like ProjectSend would work, but it's too complex for my usecase. I'd prefer something more lightweight since I'll maybe use it once every few months. Also, it should be noob-friendly, and accessible using a browser.

Update: I'm very happy with copyparty. It does what I want, and much much more. I even replaced my older webdav server with it since it provides more granular control over share locations and permissions. Kudos to the developer @tripflag@lemmy.world!

4
submitted 7 months ago* (last edited 7 months ago) by SinTan1729@programming.dev to c/kubernetes@programming.dev

Someone added a PR to an app of mine adding instructions for k8s setup. I do like the idea of providing these instructions, but I don't have any experience with k8s whatsoever. The commits look fine to me, but in case anyone is experienced, I'd appreciate if you can take a look. I don't want to inadvertently add something malicious. Here's a link to the PR: https://github.com/SinTan1729/chhoto-url/pull/48, thanks.

128

A simple selfhosted URL shortener with no unnecessary features. Simplicity and speed are the main foci of this project. The docker image is ~6 MB (compressed), and it uses <5 MB of RAM under regular use.

view more: next ›

SinTan1729

joined 8 months ago