It's possible to use curl and make it pretend it is contacting a domain when it is actually contacting an ip address.

That way the reverse proxy can still do it's thing.

[-] moonpiedumplings@programming.dev 1 points 3 hours ago* (last edited 3 hours ago)

It can interface with ldap, but it cannot act as an ldap provider.

[-] moonpiedumplings@programming.dev 3 points 16 hours ago

Keycloak only really acts as an OIDC/SAML provider. Whereas Authentik can do OIDC, SAML, LDAP, and more in a single app. It's just extremely rich.

I really like it because it has invites, which are extremely nice if you really want that form of fast onboarding.

[-] moonpiedumplings@programming.dev 1 points 16 hours ago

Authentik is really feature rich, supporting the most out of any other provider.

The 3 killer features to me from authentik are:

  • OIDC
  • LDAP
  • Invites

Of course there are more. But software that does all 3 of those is rare, and I was frustrated trying to find them.

To play devil's advocate, Authentik is very big and unwieldy in some ways. If you only need OIDC for your family, then maybe pocket id or void auth may be more suitable.

[-] moonpiedumplings@programming.dev 1 points 16 hours ago

Specifically RADIUS with eap-tls auth for WiFi

You can run authentik as an LDAP server and then federate a seperate server that supports RADIUS eap-tls as federated to that. So if you are willing to run an additional software that connects to LDAP, you can make it do basically anything.

[-] moonpiedumplings@programming.dev 3 points 19 hours ago

Does it work from behind the rathole?

[-] moonpiedumplings@programming.dev 2 points 19 hours ago

Finally found this post after a few minutes of searching:

I came across this: https://github.com/cloudbase/garm , which is gitea (probably compatible with forgejo) actions using Incus containers/virtual machines, or on kubernetes directly.

It looks like it's possible to create an alternate implementation of the forgejo actions runner, which doesn't uses different methods of execution.

26

This is bad, but I don't really care.

On iOS, all browsers are forced to use the safari/webkit browser engine, which simply isn't as modern in terms of security as actual firefox. There is a reason this bug only affects firefox on iOS, and that's probably why.

Blame Apple. Not Mozilla.

[-] moonpiedumplings@programming.dev 3 points 4 days ago* (last edited 4 days ago)

Simple solution:

Script is hosted on git somewhere. (Doesn't have to be public, you can also pretty easily make git run over a small http or ssh solution). Or you can host a small http server or whatever.

Script runs git pull (or curl or etc). Sets an env variable to declare that git pull has been ran. Then reruns itself. The script sees the env variable and skips the pull/download/update + rerun phase, and carries on.

Also worth looking into, although they are probably overkill:

Ansible, chef, or similar configuration management tools. Chef mostly follows a pull based model. You have a central config somewhere and it pulls it onto machines.

Ansible mostly follows a push based model. You write a "playbook" on your local machine and it is executed on remote (maybe more than one remote machine) over ssh. Ansible is cool because the only thing you need on remote machines is python, which is usually preinstalled.

Both can be inverted however, to do push/pull instead but that'a how they work by default.

Python is pretty easy. I don't know about guix but nix makes it easy to unvendor python dependencies.

Rust and go are basically impossible. Guix is doing some work:

https://guix.gnu.org/en/blog/2025/a-new-rust-packaging-model/

But they are the only people (afaik) who are doing work for rust. Most of the other similar projects (gentoo, debian) have given up.

Go is even worse. I don't know of anything like antioxidant or cargo2guix (linked in article above) but for go.

Just start writing and upload chapters as lemmy posts.

https://en.wikipedia.org/wiki/Web_fiction

It's also possible to transition to an actual book if you want. Huh, the wikipedia page mentions that the martian by andy weir started out as web fiction. Cool.

My favorite pro is league of legends support.

43

I can't find the source code for this, I am posting here to save it to remind myself to search later.

525
This site is so much fun (programming.dev)

Other fun answers:

This site is: https://youraislopbores.me/

This site is a "fake chatgpt" where you can pretend to be chatgpt or ask questions to people pretending to be chatgpt.

31

Phone game that measures how high you can throw your phone into the air...

25
29
submitted 2 months ago* (last edited 2 months ago) by moonpiedumplings@programming.dev to c/linux@programming.dev

It was fairly easy. I used rustic to back up my entire home directory to a USB flash drive.

The trick is to ensure that all applications (except KDE) are closed. Firefox, for example, really hates if you try to actively sync or copy over it's profile directories while it is running.

And then I also nuked my podman user data. (podman system reset). Podman sometimes makes the ownership of it's files weird, but also the container images take up a lot of space that I don't really care about actually backing up. It's okay if those aren't on the new laptop.

Then I backed up to the usb flash drive:

rustic init -r /path/to/repo — this will prompt you for a password

rustic backup -r /path/to/repo /home/moonpie

One cool thing about the backups is that they are deduplicated and compressed. So I backed up 120 gb of data, but it was compressed to 80 gb.

restic snapshots -r /path/to/repo

The snapshots are deduplicated as well. Data that doesn't change between snapshot versions, doesn't take up any extra space.

rustic restore -r /path/to/repo snapshotid /

The / is needed because rustic restores to paths underneath the thing. It gave me a bunch of permission errors about not being able to read stuff not in my home directory, but eventually it restored all of my data.

And then yeah. All my data. Except Wifi passwords, which I had stored as unencrypted for all users, because I didn't like having to unlock the KDE wallet to get to Wifi passwords when connecting. I had (and have) LUKS encryption so I didn't worry about that too much. But it means that data not in my home directory was not copied over.

It was surprisingly smooth, and now I have all my data and firefox profiles and stuff on the new machine.

27

Finally I can doomscroll books

27
submitted 2 months ago* (last edited 2 months ago) by moonpiedumplings@programming.dev to c/linux@programming.dev

As usual, phoronix is full of trolls. I was surprised to see only 17 comments, but perhaps that's because I viewed this very early. A highlight from the first page:

Everyday we stray further from GNU, POSIX, C, X11 and now SysVinit. 80s are over. Party is over. Wake up. It's 2026. Adapt or perish in irrelevance. Future is bright and is inevitable. Long live systemd, Wayland, Rust, Gnome and atomic and immutable distros.

Given the way this covers Systemd, SysV, and AI agents, and the way that I see trolling on the first page, There is a very real chance this could be one of those legendary Phoronix threads that manages to hit the 500 comment limit.

EDIT: more relevant threads: https://www.phoronix.com/linux/systemd

31
Incus 6.22 has been released (discuss.linuxcontainers.org)

Youtube video: https://www.youtube.com/watch?v=xrIFL7wSRw4

I am excited about the changes to incus-migrate that allow for direct importation of a remote qcow2 or vmdk. Although many people distribute vmdk's zipped or in tarballs, but it's still a cool feature.

50
submitted 3 months ago* (last edited 3 months ago) by moonpiedumplings@programming.dev to c/programming@programming.dev

Sample with fibonacci:

⍥◡+9∩1 is the fibonacci in this language

51

Here are some cool examples I was looking at:

https://github.com/zardoy/minecraft-web-client — Minecraft in your browser, complete with connections to servers.

https://github.com/inolen/quakejs — quake 3 in your browser, has multiplayer as well.

Any other good examples? or good lists?

12
submitted 3 months ago* (last edited 3 months ago) by moonpiedumplings@programming.dev to c/linux@programming.dev

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

I noticed in a fairly recent version of KDE, my computer would pretend to be a bluetooth sink when connected to devices like my phone.

This is a really cool feature, and I really like it, because it lets me stream audio from my phone to my computer with no fuss.

However, there is an annoying glitch where the stream stops all of a sudden. The phone keeps playing the music, but I can't hear anything. I've noticed that this seems to have something to do with CPU usage, like when I switch windows rapidly or do something that requires CPU the bluetooth process is dropped. The only reliable way to fix it is to disconnect and reconnect, or wait a minute, and then it works again. Is there any way to fix this more persistently?

I am using CachyOS + KDE right now.

view more: next ›

moonpiedumplings

joined 2 years ago