29

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

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

Who let him cultivate immortallity? : https://www.novelupdates.com/series/who-let-him-cultivate-immortality/

It's a parody/satire of all of the tropes common in Cultivation/Xianxia, and it's making me laugh a lot. Though, I think it will be more amusing if you are already familiar with lots of the tropes.

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

Practical Guide to Sorcery (I think it counts as progression fantasy?)

Same here. K8s makes stuff like this so mucb easier, since you can declaratively control traffic flow via NetworkPolicies.

And with cilum you ca use hubble to visualize whay traffic is currently happening, in order to figure out what is actually needed.

I also use Cilium as my host based firewall instead of ufw/firewalld.

https://docs.cilium.io/en/latest/security/host-firewall/

Here is what I did, although it may not be what you want.

I used cockpit, and NetworkManager to convert both of my interfaces into a single bond, named bond0. Then I convert that bond interface into a bridge interface that also has an ip address and network connection, and can be used as a normal ethernet interface (calling that one eth0). Then I create a veth interface, attatch one end of it to eth0, and the other end becomes a usable interface called eth1.

I do this convoluted setup, because openstack (proxmox like software) wants two network interfaces, BUT I only have 100 mb/s per link. By bonding them it lets anything on the host or any vm use a total of 200 mb/s.

As a simpler version of this, if you only have a single interface, you could convert it into a bridge and call that eth0.

Of course, this probably does not work if you want consistent interfaces because you are autoconfiguring interfaces or something like that. But for same named interfaces that you are feeding into software like openstack,docker,proxmox/etc it works.

But what makes canvas soul suckingly tedious? Why do we seem to disagree about canvas UX and UI?

what alternatives are there? I've only actually heard of google classroom, moodle (FOSS) and blackboard? Most people I've met who have tried one of those have liked canvas better.

I'ved used google classroom a bit but it sucks.

Do you use canvas as a teacher/institution?

I've used canvas, but only as a student student, and I really, really like it. The UI is excellent, and I do notice the addition of things like bigbluebutton.

Do you have more info about various shady practices?

Canvas is the best. It's entirely open source, under the agpl license.

https://github.com/instructure/canvas-lms

They have generally been pretty good when it comes to adding features, and security practicws. But sometimes you just lose (to shinyhunters).

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

No, this is kinda right. Memory leaks =/= memory safety. Memory leaks are just when you keep allocating more and more memory, and can be done in any language. If I make accidentally make a list that infinitely grows in python, that's a memory leak.

There are techniques to write code that is mostly free of leaks, which is what he is referring to.

Memory safety, on the other hand, doesn't seem to be mentioned on that page...

I think they have a lemmy account as I first saw them here, although I don't think OP is the site author.

Their javascript "game in less than X lines" stuff is pretty interesting and entertaining but their blogposts are mostly LLM slop. Of course, due to the fact that this article is just basic info, it's not that bad and is pretty accurate. But their more advanced blogposts begin to fall apart and have the LLM hallucinations, outdated info, and inaccuracies.

This video: https://www.youtube.com/watch?v=40SnEd1RWUU has similar information (though a bit less and doesn't cover some things), but presented in the style of a comedy skit type thing.

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

In my testing, zram has much, much better compression than zswap.

The points about LRU inversion, cgroups, and so on are valid, but at the end of the day, I don't really care. I was able to open as many firefox tabs as I wanted with zram, but I could not do so with zswap, and that's what matters to me.

The author of a blogpost is a facebook engineer. Millions of ultra high performance Linux servers are a very different usecase than a single desktop. It's perfectly reasonable for a solution for one to not be appropriate for the other.

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