Skip Navigation
"Do you know how many spells are just recycled incantations?"
  • "I copied this spell from an overflowing stack of tomes. I think it was originally meant to cleanse all living things from religious stonework, but I changed some of the constants now it works as disinfectant."

  • NSFW Removed
    Is it morally wrong for a 18 year-old man to have sex with a 48-year-old woman
  • A minor can't consent, period. Even if they say all the right words. That's what "statutory" means in statutory rape. It is the adult's responsibility to disengage, and to avoid such contact at all times.

    Considering the power dynamic between someone who is legally a child and is restricted in some liberties, and an adult who has far greater liberties, trust, and power, I certainly wouldn't consider it ethical.

  • Would you say Apple is in a slump?
  • For many years now, Apple has been sustaining its quasi-monopoly in the smartphone ecosystem by drip-feeding features that have been part of the baseline for other brands, and having the most hard-core blinkered Apple cultists proselytize about what innovations they (supposedly) represent. This advantage doesn't exist in the silicon or VR markets. They've managed to keep their CPU successful because it's built on existing technology and because of vendor lock-in, but the Vision Pro didn't have the same training wheels and ate shit right at launch.

    In case it isn't obvious, I don't have many positive feelings towards Apple.

  • I still don't get buffers
  • Not exactly. When you select a text and copy it, the two selections will end up containing the same text, but you can write to either selection without affecing the other by using an API, e.g. a website's "copy to clipboard" button, or xclip/wl-copy.

    Clipboard managers with a history feature are an altogether different layer on top of the standard selections. Plasma's clipboard manager only cares about the clipboard selection, and even then, there are exceptions (e.g. copying a password for KeepassXC doesn't save it in the history).

  • I still don't get buffers
  • Yes. X11 replaced X10's obsolete cut buffers (which can be modified by any process) with state-of-the-art selections. There are three selections in X11: a primary, a secondary, and a clipboard.

    In modern desktops, the primary selection is overwritten every time you select some text (including in the terminal), which makes its content very ephemeral. You can paste it with the middle mouse button.

    The secondary selection is generally not used, but it's present in the specification, and you can use xclip -selection secondary to access it. Wayland doesn't seem to have a secondary selection.

    The clipboard selection is what most people understand to be THE clipboard. You have to write to it explicitly (through a keyboard shortcut, API, or CLI tool), and its content persists until it is overwritten, explicitly cleared, or the X server is killed. While the primary and secondary can only contain text, the clipboard can contain many kinds of data.

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

    It's a poor imitation. A mockery of the name. A GUI addict's idea of a CLI tool.

    14
    How do you manage your headphone cables?

    I recently switched from wireless to wired headphones (Samson SR-850, probably the best for the very reasonable price) and my chair's wheels instantly started eating its cable. Right now I'm using a small plastic hook that came with a face mask to keep it off the floor, but I'd like to hear other solutions.

    28
    Small audio output switcher script
    pastebin.com select_audio_sink.py - Pastebin.com

    Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

    I use this in Hyprland to quickly switch between the headphone jack and a USB wireless dongle. Executing the script will show a dialog that lists all available audio sinks, with the active sink selected. It requires pulseaudio or pipewire-pulse for the pactl program, and kdialog for the dialog.

    0
    Unixporn @lemmy.ml rtxn @lemmy.world
    [eww] The physiognomy of window managers.

    I think Starfield's main menu is neat. So I made it into a desktop widget. Files (including the stylized logo) here, wallpaper here.

    I used the Chakra Petch font (AUR: ttf-chakra-petch) for the menu buttons, and Liberation Sans (with some editing in Inkscape) for the logo.

    11
    "Shame on you!" - DT, 2023

    I'm not trying to attack him, but this is pretty funny.

    Context: 11 days ago DT released a video where he called out the people who refer to Linux distributions as "Linux" as opposed to "GNU/Linux". Today he released a video where he did exactly that.

    12
    We don't talk about #3671.

    Only the OGs will remember when Steam would sometimes rm -rf /* your system. https://github.com/ValveSoftware/steam-for-linux/issues/3671

    Template without text: https://img.ifunny.co/images/e31929a1a7bafa7e351e7b7cfaec531d12295fb3643ad444d75f2e979ccd657f_1.jpg

    26
    What happens to images that are uploaded, but never used?

    I recently discovered that you can paste image data from your clipboard to a post or comment field, and it will upload the data and generate an embed link. I assume, since the clipboard is ephemeral, that the data is uploaded and stored on the server immediately.

    What happens then if the embed link is removed and never used, but the file isn't deleted by the user? Does it just sit around in storage, collecting dust and taking up space, or is there some sort of garbage collection that detects unused files? What happens to embedded files if the post/comment where it is embedded gets deleted?

    1
    Unixporn @lemmy.ml rtxn @lemmy.world
    [Qtile] I spent way too much time on this.

    !

    It might not look like anything special, but I spent an embarrassing number of hours on this rice, mostly on the non-graphical user interactions. The layout is a custom master-stack implementation, the groupbox widget is an almost complete reimplementation to support a more flexible styling on multihead systems, the Nvidia GPU monitor widget is completely my own, there are popups and context menus out the ass, and there is a persistence module that saves dynamic data (like layouts and group names) between sessions.

    Tomorrow I'm moving to Wayland and I might not have the patience to get Qtile running again.

    edit: Wallpaper sauce https://www.pixiv.net/en/artworks/89596288

    2
    Advice needed for partitioning a desktop PC

    I originally meant to ask if having /home on a different partition or separate physical device was still warranted, but my ignorance in this matter slowly became apparent.

    This is my current setup:

    • sda is a 240G SATA SSD that only contains the ESP and the root partition.
    • sdb is a 1T SATA SSD entirely dedicated to games and virtual machines.
    • sdc is a 3T SATA spinning rust disk mounted on /home, with a 0.5T partition for Timeshift backups.

    I recently bought a 2T M.2 NVMe SSD. I'd like to retire sda and sdc (i.e. put them in my junk NAS/backup server), and then reinstall the OS on the new NVMe. My ideas for the new setup:

    • I use the entire NVMe drive for ESP and root, no separate /home partition, and mount the 1T SSD as before.
    • I use the entire NVMe for ESP and root, move the games and VMs to the root, and use the 1T SSD as the /home partition.
    • ESP, ~100-200G root partition, and separate /home partition on the NVMe; games stay on the separate SSD.

    The advantages of having /home on a separate device are not lost on me. My question is whether the added complexity is still worth it. I would also like to use LUKS encryption, which I understand to be partition-wide - in which case I'd like to know if there is any significant overhead if I encrypt the root partition. I'm also not opposed to using LVM, but that seems like a little too much for a desktop PC.

    0
    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/)RT
    rtxn @lemmy.world

    I take my shitposts very seriously.

    Posts 11
    Comments 949