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

1000162689

Sorry for no transcript :(

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

I use KDE as my desktop. KDE is installable on any distro, although you probably want a distro with a newer version of it like Fedora or Opensuse. On KDE, these two shortcuts do what you would expect them to do.

Win + V opens up a clipboard manager by default:

I actually like this clipboard manager better than the Windows default clipboard manager, because it lets me search, edit, or star items so they can be found quickly from the "starred only tab". The amount of items kept is also configurable, and it keeps way more items than the Windows clipboard manager.

Windows + Shift + S opens Spectacle (KDE's screenshot utility) by default. It has some basic editing features, but one feature about it I like is there is an option to upload the screenshot directly to imgur for easy sharing.

For RDP, I recommend using Remmina to connect to machines via RDP. It supports shared clipboard, but also shared filesystem and some other nice stuff. You can save connections and their options to easily connect again later.

Remmina is a mature program that is available in the repositories of most Linux distros.

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

Well, I run a one node cluster...

But yes, I did use ceph via rook-ceph, because Openstack (a locally hosted AWS alternative), at least the Kubernetes version, wanted a ceph "cluster" to store stuff on.

Longhorn is much easier. Although again, my "cluster" was one node. I deployed it because I wanted snapshots.

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

I like to use more uncommon tools (it often bites me afterward but it’s funnier this way

I know the feeling.

How about this: https://docs.xcp-ng.org/installation/install-xcp-ng/#9-networking

Try setting a static ip address on xcp-ng itself, during the install phase. (this was how devices got onto networks before dhcp). You'll have to make sure it doesn't conflict with anything else on the network.

Kubernetes makes distributed storage easy.

Basically, all the components get deployed for you, since that's part of what kubernetes is good at.

And then, services/containers can provision storage by requesting storage via making a "claim" and whatever distributed storage providee you have gives it to you.

https://sso.tax/

It's unfortunately common, even though it probably shouldn't be.

They don't have to support it. It's more that the database they are connecting to supports HA, and/or both are using shared storage. So when one container dies, kubernetes restarts another container on another node with the same shared storage attached.

Docker is often configured to automatically restart containers when a container dies, just in case it's a one off bug or something like that, and kubernetes is like a more resilient version of that.

You can do oidc with the proxmox ui itself.

I use oidc with Incus, which is a fork of lxd and a similar software to proxmox, it can run vm's and lxd containers.

Ah, I see.

A quick search leads me here: https://discourse.nixos.org/t/nix-on-windows/1113/105

which you might have seen before. It is a very long post, but some people mention having achieved what you want.

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

~~Multiple options:~~

~~Use flake-utils: https://github.com/numtide/flake-utils#example~~

~~Create a helper function: https://ayats.org/blog/no-flake-utils (what I do)~~

~~flake-parts: https://ayats.org/blog/no-flake-utils#option-a-flake-just-for-yourself , https://github.com/hercules-ci/flake-parts~~

~~But this is one of the things I find annoying af about nix flakes. Reproducibility is a spectrum, and I think focusing on "purity" over being able to easily ship it to multiple architectures, or not being able to use the GPU is a step too far on that spectrum for the vast majority of usecases. I can understand why scientific computing or anything that needs absolute precision might want it, but most people only just want the same versions of packages installed in their development environment.~~

EDIT: whoops forget everything I said, you are asking for cross compiliation of a dev env to Windows. Nix doesn't support Windows. It only supports linux. You can't make a nix dev shell that works on windows.

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

No. Telegram is not end to end encrypted, by default. Their encryption is only in certain versions of the app. And finally, it's a custom protocol that has never been seriously audited.

Signal doesn't claim they don't share, they claim they can't share the private messages, which is true because it's open source and we can see how the encryption works, and we also know that signa's encryption is always on.

Edit: well, I guess is private messages refers only to "secret" chats encrypted by telegrams end to end encryption, and assuming that their custom encryption isn't backdoored then yes, I guess this claim is true.

But telegram chats are not "secret" by default. It must be explicitly enabled per chat.

43

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

524
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 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.

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