Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)R
Posts
23
Comments
1504
Joined
3 yr. ago

I take my shitposts very seriously.

  • The most useful is probably cat /proc/meminfo. The first couple of lines tell you everything you need to know.

    • MemTotal is the total useful memory.
    • MemFree is how much memory is not used by anything.
    • Cached is memory used by various caches, e.g. ZFS. This memory can be reallocated.
    • MemAvailable is how much memory can be allocated, i.e. MemFree + Cached.
  • Wherefore?

  • Some people, for reasons I can only speculate on, don't like speaking in first person singular. In most cases that I've seen, they use "we". I don't necessarily agree with the practice from a linguistic perspective, the English language is already a garbage fire as it is without introducing more ambivalent speech... but then I also want to go back to using "thou" for second person singular, so I'm probably not qualified to speak on the matter.

  • F stab

    Jump
  • "It's just one goto, what's the worst that could happen?"

  • Even if Galaxy is running under Wine:

    • It's a package manager. It handles downloading files and updates, installation and patching, and verification.
    • It integrates various GOG services, like cloud storage for save files.
    • It can set environment variables and pass arguments to launched games.

    Besides, a Linux-native port doesn't need to package anything. It can simply mark Wine/Proton and various compatibility solutions as dependencies. Lutris, for example, is still a great utility even if it doesn't use the packaged Wine versions: all it really needs to do is execute some program in the correct runtime environment with the correct arguments.

  • Two-day suspension.

  • "Everything is a file" means that many of the system's components are represented as abstractions in the filesystem. It's simply an API that allows reading from and writing to it by integrating into the hierarchical file structure.

    If you take a look inside /sys, you will find a fuckton of files, but they don't represent data stored on a mass storage medium. Instead, the directory contains a mounted sysfs filesystem that contains file-like representations of various parts and properties of the system. For example, you can read them like a file by running cat /sys/block/sda/queue/rotational to check if the sda block device is a spinning disk (1) or solid-state storage (0). Or you can write to them like a file by running echo 1 > /sys/block/sda/devices/delete to command sda's driver to detach the device. Similarly, /proc contains a mounted procfs filesystem that presents information about running processes as file-like entries; /dev contains a mounted devfs that points to various devices; and /tmp and /run contain tmpfs mounts for temporary storage in volatile memory (RAM or swap).

    Windows uses various other APIs (like the Component Object Model and others) to accomplish the same that are not necessarily tied into the filesystem.

  • It follows the same convention as most programming languages that expose the argument list. Python's sys.argv has the program name at index 0 and the first argument at index 1. C's char **argv does the same: index 0 is the program name, index 1 is the first argument. So it stands to reason that Zsh's $0 should be the program name and $1 should be the first argument...

    ...which, by the way, is exactly what Bash does as well.

  • When someone kicks you in the nuts, I hope you remember that it's actually your fault for having nuts in the first place and not avoiding people who possess legs capable of kicking.

  • And that means they don't get to enjoy it if they started watching it later? This post has no value beyond ruining the suspense.

  • One day time-out. Both of you. If you want to toss shit at each other, take it to Twitter.

  • That isn't incorrect, but it's not as important as people make it out to be. Linux isn't certified as POSIX-conformant either.

    People are way too stuck on POSIX regarding Fish specifically, but in shell scripting, POSIX compliance boils down to "can it run a pure sh script". Bash is compliant. Zsh is partially compliant and needs to set an option to emulate sh. Fish uses a different syntax and is not compliant; if that is a problem, don't execute sh scripts in Fish.

    POSIX compliance for shell scripts was important in the 80s and 90s when the #! directive wasn't as commonly implemented and every script might be executed by the user's $SHELL instead. That is no longer the case as virtually every Unix-like system's program loader supports #!.

  • It's every person's responsibility to make sure their mom's (or dad's (or other parental figure's)) vibrator runs only secure, trusted software!

  • rule

    Jump
  • You're two tubes with a wet sponge between them.

  • Exactly which flavours of Markdown are targeted/required by this specification?

  • Linux Gaming @lemmy.world

    Factorio's Linux-native adventures (FFF #408, 2024-04-26)

    www.factorio.com /blog/post/fff-408
  • Dullsters @dullsters.net

    It's 1am and one of my NAS hard drives is doing the death rattle.

  • Explain Like I'm Five @lemmy.world

    ELI5: what is a quantum state?

  • AssholeDesign @lemmy.world

    This may be useful.

  • linuxmemes @lemmy.world

    The pak was definitely not flat.

  • Showerthoughts @lemmy.world

    At some point, kids watching older cartoons will no longer understand why putting a thermometer under a desk lamp was a way to skip school.

  • 196 @lemmy.blahaj.zone

    Happiest man in Revachol

  • 196 @lemmy.blahaj.zone

    Decoy jeans!

  • linuxmemes @lemmy.world

    All hail the mighty butt.

  • Showerthoughts @lemmy.world

    Twitter's blue check mark is the modern equivalent of a dunce cap.

  • 196 @lemmy.blahaj.zone

    PEGI is a pissing joke.

  • You can't park there, mate @feddit.uk

    You can't shunt there, mate

  • Science Memes @mander.xyz

    Personally I prefer NASA's pronunciation, which is "charon".

  • TenForward: Where Every Vulcan Knows Your Name @lemmy.world

    The best we can hope for is a few cameo appearances from the Good Timeline.

  • Ask Lemmy @lemmy.world

    Favorite colors are lame. What is your favorite color gradient?

  • Mildly Infuriating @lemmy.world

    Youtube's web UX team is a joke.

  • Dad Jokes @lemmy.world

    Not all construction jobs are equally engaging.

  • linuxmemes @lemmy.world

    I tried sudo for Windows and was left thoroughly blue-balled.

  • Asklemmy @lemmy.ml

    How do you manage your headphone cables?

  • 196 @lemmy.blahaj.zone

    In an alternate universe, where Sharlayan would not keep its counsel.