IKR??

I'm super excited to see his new vid/film!🥳

27
submitted 11 hours ago* (last edited 11 hours ago) by recursive_recursion@programming.dev to c/cybersecurity@sh.itjust.works

Within the first minute of the vid I'm thinking holy shit Zotac!

  • easily googlable private customer and B2B info is publicly available

~~They're gonna have one hell of a class action coming their way~~

Edit:
alright I'm 5mins in and now I'm thinking there might not be a class action anymore but Zotac's information handling is just funny and confusing now

lmao love the quote from Zotac's partner😂:

If I can Google search my own credit memos... what the fuck is this? How can you be this insecure? How can you run a business like this?

It’s a lossless compression algorithm.

if so that's pretty dope!

I've run Arch without swap for many years without issues. The key of course is that you need enough RAM for what you are trying to do with your computer.

There's no reason why a 32GB RAM + 0GB swap system should have more problems than a 16GB RAM + 16GB swap system with the same workload. If anything, the former is going to run much better.

I run a lot of VMs; I typically run 2 at the same time in addition to running other programs in the background, my usecase is more eccentric than most users in the Linux space which is already pretty niche

What is finicky about a swap file?

It's just this:

mkswap -U clear --size 4G --file /swapfile
swapon /swapfile

Done

I'm using BTRFS with LUKS-based Full Disk Encryption, the last time I used swapfiles with BTRFS with FDE it was in 2019 and it was painful to say the least, I rememeber spending several weeks scouring Stack and the Arch forums in order to get it to work properly.

  • usecases and preferences will differ from user to user, so I wouldn't advise assuming a one-size-fits-all solution

If anything it's way easier to create a file in your filesystem than having to (re-)partition your drive to have a swap partition. Much more flexible too if you want to change your swap configuration in the future.

swapfiles are great in that you can resize them at will, however after trying all 3 options I found myself questioning when would I even want to resize swap for a single system, so at a certain point I felt that swapfiles were more of a gimmick cause again you don't really want to depend on swap if can.

  • if you're consistently reaching your physical memory limits, upgrading your ram will most likely be the best bet for both system stability and hardware durability
[-] recursive_recursion@programming.dev 2 points 18 hours ago* (last edited 18 hours ago)

after a quick preliminary search,
a couple of things I've found out:

this might not necessarily be adopted by the mainstream desktop users, due to the nature of zram compressing data in addition to disallowing hibernation

Hibernating to swap on zram is not supported, even when zram is configured with a backing device on permanent storage. logind will protect against trying to hibernate to a swap space on zram.

  • data compression by nature incurs dataloss so there are both pro & con tradeoffs to which should be communicated to the user otherwise they might receive an unnecessary worse user experience:
    • "why is my computer so buggy?"
      • (the system is working as it's coded but not working in they way the user expects it to)
        • this would be unfortunate as they might leave back to Windows or MacOS
    • I could be completely wrong about this, if so please comment or disregard this section entirely

to me atm; zram seems great for server based systems rather than for desktop users' systems


one other method for zram mainstream adoption is to encourage an eccentric system that I'm currently using, which is to have the host system only contain minimal packages to run Virtual Machines:

  • zram compression might be fine as the main services/programs are run within their relevant and/or separated VM containers
    • this simultaneously achieves:
      • Wikipedia - Separation of Concerns
      • enhanced security as the host is further firewalled/bubblewrapped from the guest like Flatpaking/containerization (and malware is less likely to activate due to malicious users being unhelpful in letting their programs run in a VM 😢🤗)
  • hibernation can still be achived by save-stating VMs (VM restoration at will basically achieves hibernation so it doesn't really matter if the host is shutdown so long as all VMs are saved by the user before host shutdown)

sorry for the long comment!
stuff like this interests me the most so I've spent a lot of time in learning and tinkering around🤗

[-] recursive_recursion@programming.dev 11 points 20 hours ago* (last edited 20 hours ago)

definitely agreed on against using swap as memory as much as you can especially since it can needlessly wear out your ssd (m.2 on most if not all on modern systems)

allocating swap is still necessary as it provides features such as:

  • mitigating OOM scenarios (but doesn't prevent them completely)
  • enabling system hibernation(suspend-to-disk)

On my journey to learning Arch Linux I've personally tried:

  • 0 swap: which was pretty awful with constant unexpected system freezes/crashes
  • swap file: finicky but doable
  • swap partition: typical default/ol'reliable

the last two doesn't guarantee 0 problems as user errors such as allocating too much system memory to VMs can cause issues for the host system, but it does tend to mitigate the majority of issues that prevent the perception of system stability in comparison to Windows or Macs

Resources:

this seems like a great idea as it provides proof in writing just in case the stakeholder complains later on about the thing you implemented at their request

5
93
Godot-Rust Now on Crates.io! (godot-rust.github.io)

Just learned about this today :D

586

cross-posted from: https://lemmy.world/post/16996892

pls

10
submitted 1 week ago* (last edited 1 week ago) by recursive_recursion@programming.dev to c/bocchitherock@sopuli.xyz

Warning! MAJOR SPOILERS AHEAD

please give Bocchi the Rock a watch if you haven't before watching this🤗

6
submitted 1 week ago* (last edited 1 week ago) by recursive_recursion@programming.dev to c/vgmusic@lemmy.world

4:07 for divorce @o@

7
15
submitted 1 week ago* (last edited 1 week ago) by recursive_recursion@programming.dev to c/linux@sopuli.xyz
35
8
submitted 2 weeks ago* (last edited 2 weeks ago) by recursive_recursion@programming.dev to c/vgmusic@lemmy.world

apologies if this doesn't fit this community

  • feel free to comment and I can take down this post

thought I'd share here as they're a well known game documentarian that uses these tracks

33
-4
submitted 2 weeks ago* (last edited 2 weeks ago) by recursive_recursion@programming.dev to c/nix@programming.dev

cross-posted from: https://awful.systems/post/1746256

Nix project: ban? What ban?

They invited that guy back. I do have to admit, I admire his inability to read a room.

[-] recursive_recursion@programming.dev 68 points 1 month ago* (last edited 1 month ago)

TL;DR:
Restarting your phone once a week can help improve performance and security.

  • this is the same for routers and it's commonly known as a power refresh
[-] recursive_recursion@programming.dev 102 points 2 months ago

As a software dev who's participated in a couple of game jams and several group projects,

  • I'd say that anyone that claims to be a designer but has no programming experience is typically incompatible with any project
    • and it's due to the disconnect of understanding just how difficult it can be to translate certain design tasks into functional code
[-] recursive_recursion@programming.dev 57 points 6 months ago* (last edited 6 months ago)

RFC, pull request to add git.

Reasoning: Having a built-in versioning system would allow humans to ~~rollback~~ roll back undesirable changes and advancements could be made more easily

please comment or downvote if this is a bad idea

Seriously what the fuck is going on at Intel

How did anyone look at this presentation and think "yeah that looks good to publish"

Intel's gotta get it together and focus on what matters the most: making chips people want to buy because the performance is good for the cost

absolute fools

[-] recursive_recursion@programming.dev 130 points 9 months ago

oh god this reminds me of Japanese man who married Hatsune Miku in hologram form can no longer speak to his wife of four years.

"The doting husband has gained thousands of followers on Instagram by sharing insights into his life with Miku, but things took an unexpected turn during the pandemic when Gatebox announced it was discontinuing its service for Miku."

this is why I have trust issues with proprietary software

view more: next ›

recursive_recursion

joined 11 months ago
MODERATOR OF