Not linux distro package managers.

Yes, that is true.

Thought, even this remains problematic because cargo does execute build/compile time scripts, unsandboxed, that can be used to do malicious things, similar to the problems with npm.

[-] moonpiedumplings@programming.dev 11 points 7 hours ago

Rust

Rust is doing pretty poorly right now.

among the 999 most popular crates on crates.io, around 17% contained code that do not match their code repository.

https://kerkour.com/rust-supply-chain-nightmare

Unlike javascript, where at least it is an interpreted language people can audit, you would have to reverse engineer these binaries to figure out what they do.

push whatever you want to an NPM package if you have the author’s login

This is how all language package managers work, unfortunately. The login's security can be improved, via things like 2fa, but it's currently very bad. Having multiple parties use keys to sign packages after reviewing all changes, is a thing unique to distro package managers, and it is why Linux distros are extremely resilient against supply chain attacks.

Yes. Install scripts. But also pypi started enforcing 2fa for package pushes, which helps a lot.

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

No, authentik is always better. There are no unique integrations to Red Hat systems that Keycloak offers that are more capable than Authentik is capable of.

Now, keycloak has a paid version based on it that might have extra features (but probably doesn't, Red Hat usually doesn't enhance the software itself, just deployment/maintainence). And it is easier to justify expenditure to a corporation you are already buying from like Red Hat or AWS, than it is to buy from a new entity. If you've ever interacted with any of the beuracracies, you'll understand that their are almost always considerations in the purchase of the software beyond the quality itself.

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

No, you should use traefik. I use traefik, it's currently the easiest to deploy while supporting all the standard features of both ingress and gateway api in one app. Just try to avoid any features that are specific to traefik.

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

I agree with OP. They're basically asking that you should be allowed to promote open source, freely available solutions to problems people might have.

It's a lot different from an ad since it's ultimately well intentioned. Of course there might be caveats like not actually being open source or doing a rugpull im the future. But, those can be handled.

I'm so tired of people never even having heard of lichess, or linux, or other foss tools because the marketing for windows and chess commis so aggressive. Most people on lemmy may not realize this, since I suspect we have a uniquely high population of adblock users, on a social media platform with no ads. But regular users, even ones who may be using github, sort of live with in that bubble, and only know about xyz tool because they saw an ad or youtube recommended it to them or whatever.

edit: though I do think they were kinda pushy in the issue linked after users told them no in criticized it for being too new. But ultimately, without that issue people wouldn't even know about their project.

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

I don't really like big streamers, I only watch small streamers that read every message. I like to ask questions of experienced users and help less experienced users.

I watch a bunch and find them by tag.

Like here is the linux tag: https://twitch.tv/directory/all/tags/linux

https://twitch.tv/directory/all/tags/cybersecurity

And then the software and gamedev category (categories are how twitch groups games):

https://twitch.tv/directory/category/software-and-game-development/

I usually watch them to the side while I work on personal projects.

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

This doesn't need a software solution. One of the reasons why I like link aggregators (which lemmy is) is because posters can de editorialize post titles, removing clickbait.

Instead of "Linus SLAMS psycho for DARING to suggest C++ in the kernel" the title can be replaced with "Linus explains why C++ is not suitable for the Linux kernel" when they post it.

But people don't really do this, and people get mad at people who do this sometimes.

Of course, then people can inject bias in their titles. But I would rather not have clickbait.

https://automatetheboringstuff.com/

This is a python tutorial book, that focuses on practical usecases that anybody may want, even if it is not for their career.

Python is designed to be easy to learn, and many of the things you learn will be able to translate to other programming languages. So I would say yes.

Not a real auggestion I guess but you can watch people doing software/game dev, cybersecurity, or linux stuff on twitch.

It's live and not educational focuses, so it's entertaining, but I have learned a lot from these streams over the years.

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

I have a VPS which hosts some stuff and I just e2ee all the data. Syncthing sync is e2ee and Joplin sync is e2ee. But lots of services don't support e2ee, or e2ee gets in the way of UX and nice features so we make a tradeoff.

As for LUKS, I guess a good solution is to have a VPS or public device somewhere that shares the encryption key with the server (but only after it gives the correct password) but only to the correct IP address of your server.

The router solution someone mentioned below is similar.

41

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

523
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 1 month ago* (last edited 1 month 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 2 months ago* (last edited 2 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.

17
submitted 3 months ago* (last edited 3 months ago) by moonpiedumplings@programming.dev to c/kde@lemmy.kde.social

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