moonpiedumplings

joined 3 years ago
[–] moonpiedumplings@programming.dev 12 points 1 day ago (2 children)

You are really conflating privacy and security here with this one. Nvidia drivers are proprietary sure, but they aren't phoning home with my daily computer usage habits. On the other hand, the whole point of these kernel level anticheats is to essentially act as spyware, where these companies make money by collecting and selling data.

No, I don't think this would work. This disables bpf for non root users, but the anticheat, if running as root, would still be able to use bpf (bpf is a framework for executing code in the kernel level).

To be clear, this is not a universally good idea. This version of the application, that you manually downloaded, will not receive any updates, including security updates. It may be secure now, but it will quickly become insecure unless you constantly manually update it.

As other commenters have mentioned, usually fixes get "backported", or security critical fixes are selectively taken and applied to the older version of the package. The idea is to keep the system behavior stable so that users don't have to deal with things changing or new bugs, while users also receive automatic security updates.

[–] moonpiedumplings@programming.dev 1 points 2 weeks ago (1 children)

I think the problem is they analyze it by how it appears to work rather than measuring raw numbers. Because honestly, I don't really understand why zram compresses better either.

Because the interactive diagram on that blogpost below "LRU inversion" is interesting, and it's a great example of what should happen, but it's not accurate to my experience. What actually happens, IME, is that 1, 2, 3, 4, 5, 6, , 8, 9, 10, 11, 12 stay in zram forever and never get swapped to disk. Even when I had 8 gb of ram (on the mac mini) I had that experience.

[–] moonpiedumplings@programming.dev 3 points 2 weeks ago (3 children)

I have the same experience. I don't really understand why tbh. I have looked at some of the kernel code but I wasn't able to understand it.

My experience is that zram has vastly more aggressive compression and can compress way more data. Zram will happily sit there and compress 7 gb of data into 1.5 gb, whereas zswap never hits those numbers.

So I disagree with the common takes about swap being needed with zram. Because zram will compress everything that would otherwise be put into swap, into the same amount of space zswap will use to store a fourth of that data, whereas everything else would be put into swap. And because decompressing is faster than swapping, it leads to a smoother experience.

It's very easy, consuming USB tethering support is built into all Linux distros.

You just enable it (on the Android phone), plug it in, and then your computer will detect it as an ethernet connection.

https://wiki.archlinux.org/title/Android_tethering

Android is easy and requires no config on Debian's side. Iphone's require some support, although I think many distros preinstall the needed tools: https://wiki.archlinux.org/title/IPhone_tethering

USB tethering from Linux (or a Linux phone) should be possible as well, via NetworkManager: https://fedoramagazine.org/internet-connection-sharing-networkmanager/

The trick is to get wordpress from debian's repos itself. That way your wordpress is managed by debian and receives automatic security updates.

ssh is probably fine for 99% of things. I use ssh exclusively mostly

The features I load cockpit up for is:

  • easier viewing of systemd/journalctl logs. You can click on services and see logs, search them, and so on.
  • Partitioning a disk. Nothing too crazy, but I can format a disk, wipe them, via the GUI
  • Networking configuration. If you are using networkmanager, cockpit will test the changes, attempt to connect, and then revert the changes if the connection fails (in like 15-30 seconds). This is legitimately insanely useful, I can change the ip address or something, connect via cockpit again, and only have the change stick if it's actually good. (See also, netplan try from the netplan configuration framework.)

Cockpit also offers a GUI for managing virtual machines (via libvirt) or podman contaniers. So someone else might want that, although I don't really use that. (virtual machines can be managed remotely via virt-manager over ssh by connecting to qemu+ssh://user@remote-host/system, I manage podman via the terminal).

[–] moonpiedumplings@programming.dev 7 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

I use cockpit, but via the client. They have a flatpak client that gives you cockpit's features, connects over ssh (and reuses your ssh config), and doesn't require anything to be installed on the host/server you are managing (besides ssh ofc).

[–] moonpiedumplings@programming.dev 2 points 3 weeks ago (4 children)

I think this project requires for your device's wifi card(s) to be simultaneously serving as a wifi hotspot (technical term is Access Point), and be connected to a wifi. Not every device supports this, and I doubt phones do, but you have to check.

Oh I can't read smh my head

[–] moonpiedumplings@programming.dev 1 points 3 weeks ago (2 children)

I'm not sure if this works for OP's usecase. This one doesn't seem come with the ability to connect to cellular networks.

 

TLDR: Touch grass!

 

They also have a website with docs: https://nixmultiverse.com/docs/

The website can also be used to search for specific package versions in nixpkgs, to get the nixpkgs revision: https://nixmultiverse.com/

The above feature is similar to: https://lazamar.co.uk/nix-versions/ or https://www.nixhub.io/ , but using this project is a way easier alternative than searching for an pinning revisions.

 

Pairdop is an open source, browser based, peer to peer file sharing application.

It is cool because it can find other devices on the network. So you open up pairdrop on one computer, and you open pairdop on another, and then you can see the devices and chat with eachother.

But, you also have the options of:

  • Creating a temporary public room for sharing files over the network to another device
  • Permanently pairing devices so that they can access eachother after you close the app

In addition to that, it's a progressive web application, so you can "install", and/or the web page does not need internet to load, firefox will cache it and let you use the app even if you don't have internet.

There is a publicly hosted instance you can try: https://pairdrop.net/

 

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

Swarm simulator is an open source idle game:

https://github.com/swarmsim/swarm

 

Swarm simulator is an open source idle game:

https://github.com/swarmsim/swarm

 

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

 

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.

 

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

view more: next ›