31

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

25
29
submitted 3 weeks ago* (last edited 3 weeks 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

[-] moonpiedumplings@programming.dev 83 points 1 month ago

https://www.riotgames.com/en/news/vanguard-security-update-motherboard

I am so deeply annoyed that

  1. Vanguard demands this level of control over user systems

  2. Vanguard seems to be the only entity handling a threat vector most people simply ignore. I suspect not even crowdstrike and the like could handle malicious pci devices. Well, vanguard can't either, it's just a cat and mouse game. But they are definitely trying in an area where most seem to have given up, but it's absurd that it's a fucking game anticheat that's doing this.

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.

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

It's easy. Mumble. Or the thing you used probably still works.

But you see, people never actually seek a discord alternative. They want a discord alternative that includes all the features in one app that is also federated, AND end to end encrypted, and each one makes things vastly more technically challenging and resource intensive and then you want them together.

A little secret: Matrix is much, much easier to host if you disable encryption and federation. Federation to many servers is the main performance killer, and "failed to decrypt message" will all disappear if you disable encryption.

3

0patch provides "micropatches", that replace running windows code in place, fixing security issues rapidly without requiring an update/reboot.

I really want something like them for an upcoming cybersecurity competition, specifcally patches for the zerologin and eternalblue vulnerabilities.

Unfortunately, 0patch does want a credit card for the free trial, which makes it unfeasible for us to use.

Any alternatives?

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

Docker compose's don't really need to be maintained though. As long as the app doesn't need new components old docker composes should work.

EDIT: Oops, it does look like spacebarchat's docker images have last been updated over 2 years ago:

https://hub.docker.com/r/spacebarchat/server

EDIT2: Although this is outdated, I think their github repo has an action to autobuild docker images on pushes. Still investigating.

EDIT3: Okay, they don't seem to be actually ran.

But using nix to build a docker image is pretty cool.

EDIT4: Oh shit, the docker image build workflows were added just 2 hours ago. Of course they haven't been ran!

Docker support soon, probably.

EDIT5: the workflow ran, but it looks like it's private for now.

349

Has anyone tried this? It's discord reverse engineered.

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

1000006617

There are many, I think. Like what other people have mentioned, sometimes the new standard is just better on all metrics.

Another common example is when someone creates something as a passion project, rather than expecting it to get used widely. It's especially frustrating for me when I see people denigrate projects like those, criticizing it for a lack of practicality...

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

https://www.youtube.com/watch?v=46MQ1ZMZ-l4

This is a trailer for NBA 2k20, that shows more gambling content than actual gameplay.

The top comment is:

Hey 2k, theres a basketball minigame in your gambling simulator, can you fix it please?…

[-] moonpiedumplings@programming.dev 46 points 2 years ago

https://isevenapi.xyz

For example: https://api.isevenapi.xyz/api/iseven/7

{
"ad": "FOR SALE - collection of old people call 253-555-7212", "iseven": false 
}

Not exactly like the title.

[-] moonpiedumplings@programming.dev 41 points 2 years ago

Not infinite ram. I'd say double ram, plus there is a noticable, but quick delay when switching to an application that was compressed by ram. But it's much, much faster than switching to an app that was swapped to disk.

Cachyos (arch based distro) does this hy default.

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

Termux recently got moved off of the play store (kinda), and is now only available on f-droid/github, because Google was further locking down what they allowed on their store.

And in addition to that, they recently added a restriction in later versions of Android: "Child process limit". Although this limit used to not there, when enabled, it prevents users from truly running arbitrary linux programs, like via termux.

Although the child process limit can still be disabled in developer options, it doesn't bode well for how flexible base android in the future will be, since many times corpos like Google move stuff into the "secret" options before eventually removing that dial all together.

TLDR: Termux has been, and is a thing... for now.

Also, I want to shout out winlator. It uses a linux proot, similator to termux, and has box64 and wine inside that proot that people can use to play games. I tested with Gungeon, and it even has controller support and performance, which is really impressive.

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

Aw yeah! This is where my knowledge of absurdly good but extremely niche games comes in. I think I'll make multiple replies to this comment.

Chronosphere

Think enter the gungeon combined with superhot, but simplified a lot. It's a turn based bullet hell, and an excellent arcade game playable in the browser.

EDIT: I'd also like to take this oppurtunity to talk about flashpoint. Flashpoint is a massive archive of basically every flash game and animation, and you can even play them again.

However, in addition to flash projects, I also noticed that flashpoint also archives HTML/HTML5 games... but only a subset of them. Although flashpoint's primary purpose still is as a flash archive, it can also be used as a curated list of HTML5 games.

Here is a website that lets you search the flashpoint database

[-] moonpiedumplings@programming.dev 34 points 2 years ago

https://forgejo.org/compare-to-gitea/

I dunno, some of these are a pretty big deal, in particular:

Gitea repeatedly makes choices that leave Gitea admins exposed to known vulnerabilities during extended periods of time. For instance Gitea spent resources to undergo a SOC2 security audit for its SaaS offering while critical vulnerabilities demanded a new release. Advance notice of security releases is for customers only.

Gitea is developed on github, whereas forgejo is developed on and by codeberg, who use it as their main forge (also mentioned on that page). Someone dogfooding gives me more confidence in the software.

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

where does diagonal fall?

[-] moonpiedumplings@programming.dev 41 points 2 years ago

The issue people have with snaps isn't the containerization or the bundles, but the proprietary backend. There is no way to point the snaps at a different store other than the one canonical controls. Canonicals forcing snaps on people pisses a lot of people off because it's a blatant power grab, an attempt to get people dependent on something they have control over in a microsoft-esque move. Flatpaks and docker don't have that issue.

view more: next ›

moonpiedumplings

joined 2 years ago