Off-and-on trying out an account over at @tal@oleo.cafe due to scraping bots bogging down lemmy.today to the point of near-unusability.

  • 17 Posts
  • 3.55K Comments
Joined 2 years ago
cake
Cake day: October 4th, 2023

help-circle


  • I don’t think I’ve ever dreamed of being murdered in any way.

    Though memories of dreams tend to be pretty spotty unless someone wakes up during REM sleep, the “mode” of sleep where we do most of our dreaming, so there’s probably a lot of dreams that we’ve had that we just don’t remember.

    searches

    https://www.mattioli1885journals.com/index.php/actabiomedica/article/view/11218

    In the course of their studies, medical researchers have demonstrated that about 80% patients, woken up at their Rapid Eye Movement (REM) sleep phase, can remember their own dreams, whereas, in clinical practice, young adults can remember their dreams on their awakenings only once or twice a week.

    https://en.wikipedia.org/wiki/Rapid_eye_movement_sleep#cite_note-Solms_1997-42

    Rapid eye movement sleep (REM) has since its discovery been closely associated with dreaming. Waking up sleepers during a REM phase is a common experimental method for obtaining dream reports; 80% of people can give some kind of dream report under these circumstances.[42]: 10, 34 [15] Sleepers awakened from REM tend to give longer, more narrative descriptions of the dreams they were experiencing, and to estimate the duration of their dreams as longer.[16][43] Lucid dreams are reported far more often in REM sleep.[44] (In fact these could be considered a hybrid state combining essential elements of REM sleep and waking consciousness.)[16] The mental events which occur during REM most commonly have dream hallmarks including narrative structure, convincingness (e.g., experiential resemblance to waking life), and incorporation of instinctual themes.[16] Sometimes, they include elements of the dreamer’s recent experience taken directly from episodic memory.[8] By one estimate, 80% of dreams occur during REM.[45]



  • According to fastfetch my GPU is “mesa llvmpipe”.

    Assuming that this is Linux, I’d check lspci, to cut software out of the question. If that can’t see it, then the kernel isn’t talking to the card.

    In general, lshw is a good command to know. It’s not the most-efficient thing, but it’ll dump pretty much everything about your system to text that you can search through, without you needing to learn where the kernel puts information under /sys or the specific utilities that dump information about a subsystem.






  • I mean, it’s telling you to update the Address Library mod. If Fallout 4 gets an update, it may take them a bit, but they should roll it out.

    https://www.nexusmods.com/fallout4/mods/47327

    You probably want the current version of that. If Fallout 4 just updated, then you may need to wait for it to be updated.

    That thing is required to know where in memory other mods need to fiddle to do stuff outside of the APIs that Bethesda provides, so it’s extremely dependent on the version of Fallout 4 — basically, it being updated means that all the other mods can rely on it knowing what the relevant addresses are and don’t have to be updated themselves. If Fallout 4 gets updated, you’re probably going to need to update it.

    EDIT: Some people who run heavily-modded Fallout just buy the thing via GOG to avoid Steam pushing updates entirely, so that they don’t have a window where an update comes out but relevant mods haven’t been updated. You can prevent Steam from doing updates via breaking the update mechanism, but as of 2026, Steam normally updates games automatically, and GOG’s mode of operation is to only update manually.

    My own view is that the real issue is that Bethesda really should (a) expose some of the stuff that Address Library provides via supported APIs to mods, so that Address Library isn’t necessary, and (b) should use Steam’s beta branch functionality to establish a “stable” branch for people running mods to have an option for. Not really what Steam intends the feature for, but there isn’t really a better way to both permit updates and deal with the “mod authors need time to update their mods” issue in 2026 in Steam.

    EDIT2: I don’t think that you can directly blame Bethesda for Fallout 4 updates breaking compatibility there, aside from maybe not providing APIs for some stuff that mods would like to do so that they don’t need Address Library. Address Library is twiddling values in memory. It’d be unreasonable for Bethesda to commit to having a fixed memory layout across versions; no game developer is likely going to do that.


  • Depends pretty wildly on what you like.

    Some things that I do:

    I never want automatic locking — I always lock my machine manually when leaving it, with Super-\ (Super normally being the Windows key). I also want my monitor to power off after a few seconds in that mode, and then wake back up if I start typing. I also want to use a black screen rather than swaylock’s default white.

    in my ~/.config/sway/config:

    set $mod Mod4
    
    # Handle session-locking triggered by stuff like loginctl lock-session
    exec_always swayidle -w \
                 lock 'myscreensaver.sh'
    
    # Bind Super-backslash to trigger a session lock
    bindsym $mod+backslash exec "loginctl lock-session""
    

    in ~/bin/myscreensaver.sh:

    #!/bin/bash
    # Script that handles things necessary to "lock" the system when I'm away
    
    # Pause any music that mpd is playing
    mpc pause
    
    swayidle \
        timeout 5 'swaymsg "output * dpms off"' \
        resume 'swaymsg "output * dpms on"' &
    swaylock -c 000000
    kill %1
    

    By default, X11 (and Wayland, apparently, though I’ve spent less time looking at Wayland’s APIs) don’t “store” clipboard state – they just facilitate transferring copied data from one application to another application where it’s being pasted. This means that if one copies data in one application and then closes that application, the clipboard contents go away. I don’t really like this behavior. One way to avoid it is to use a “clipboard manager” — a piece of software that saves a copy of the data itself. If you install clipman and wl-clipboard, you can do this:

    In ~/.config/sway/config:

    # Make clipboard persist after application termination
    exec_always flock -n $XDG_RUNTIME_DIR/$WAYLAND_DISPLAY-wl-paste wl-paste --watch clipman store
    

    I want to get notifications when my laptop battery is low. Install poweralertd, and then in ~/.config/sway/config:

    # Power notification support
    exec_always flock -n $XDG_RUNTIME_DIR/$WAYLAND_DISPLAY-poweralertd poweralertd
    

    I don’t use it that much, but Sway has a “scratchpad”, where one can stuff a window that one is working with. With this, I send the current window there with Super-Shift-minus then make it pop back up as a floating window with Super-minus:

    # Scratchpad
    bindsym $mod+shift+minus move window to scratchpad
    bindsym $mod+minus scratchpad show
    

    I have a mute button on my laptop’s keyboard. I make that mute the default PipeWire sound sink. In ~/.config/sway/config:

    bindsym XF86AudioMute exec "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
    

    I swap Caps Lock and left Control. This is how traditional Unix keyboards worked, and is generally more-friendly if you are using the Control key a lot more than Caps Lock. I’d consider this almost a precondition to use emacs without making your left pinky miserable. In ~/.config/sway/config:

    input "type:keyboard" {
          xkb_options ctrl:swapcaps,compose:menu,compose:ralt
    }
    

    That also sets my menu key (on my desktop) and right Alt key (on my laptop, which doesn’t have a menu key) to be Compose. That way I can do things like type “ö” by hitting Compose o and then the double-quote key, or an em-dash (“—”) with Compose hyphen hyphen hyphen.

    I don’t like keeping my mouse pointer visible unless I’m actually moving it. In my ~/.config/sway/config, this will hide it after three seconds:

    # Hide mouse cursor after a period of inactivity.
    seat seat0 hide_cursor 3000
    

    I like to have a way to, using the keyboard, hide the latest notification shown by swaync, the default Sway notification manager. In ~/.config/sway/config:

    bindsym $mod+grave exec "swaync-client --hide-latest"
    

    Then Super-backtick will hide the most recent notification to show up.


  • One thing that I’ve found that I like is having my waybar not normally visible. When I need to glance at the bar, I can just hold the Sway modifier key to make it temporarily show up.

    in ~/.config/sway/config:

    bar {
        swaybar_command waybar
        mode hide
    }
    

    More screen space for whatever I’m actually doing. If something is so critical that it needs to grab my attention (e.g. battery low on a laptop) then I have it set up to send a message to the notification manager.


  • Not what you asked, but regardless of whatever else you’re doing, I would take any really critical data you need, encrypt it, put it on a laptop or other portable device, and bring it with you. Trying to throw together some last-minute setup that you rely on and can’t easily resolve remotely is asking for trouble.

    Another fallback option, if you have a friend who you trust and can call and ask them to type stuff in – give 'em a key before you go and call 'em and ask 'em to type whatever you need if you get into trouble.


  • I don’t think that there’s a lot that I could recommend, because almost everything that you’d want to do would depend heavily on your particular situation.

    Note that you probably can get the display replaced for less than the cost of a new laptop, but it sounds like you guys already bought a new one, so…shrugs.


  • I found it when searching how to make gifs in Linux.

    So, the files there — at least some, if not all — are WebP, not GIF. Which is probably generally desirable, as for most content, WebP is going to provide better compression and visual quality.

    (I’m assuming that you’re talking about animated video files.)

    EDIT: Actually, WebM would probably be preferable to WebP for video.

    goes to benchmark a video snippet

    $ yt-dlp 'https://www.youtube.com/watch?v=_5lENnRGei8&pp=ygUJc3VycHJpc2Vk'
    $ ffmpeg -i Boy\ Surprises\ Childhood\ Best\ Friend\ Dressed\ As\ FedEx\ Driver\ \[_5lENnRGei8\].mkv out.webm
    $ ffmpeg -i Boy\ Surprises\ Childhood\ Best\ Friend\ Dressed\ As\ FedEx\ Driver\ \[_5lENnRGei8\].mkv out.webp
    $ ffmpeg -i Boy\ Surprises\ Childhood\ Best\ Friend\ Dressed\ As\ FedEx\ Driver\ \[_5lENnRGei8\].mkv out.gif
    $ ls -Ss1h out.*
    497M out.gif
     95M out.webp
     18M out.webm
    $
    

  • Of course, another option is for people to dramatically curb their use of social media, or at a minimum, regularly delete posts after a set time threshold.

    Deletion won’t deal with someone seriously-interested in harvesting stuff, because they can log it as it becomes available. And curbing use isn’t ideal.

    I mentioned before the possibility of poisoning data, like, sporadically adding some incorrect information about oneself into one’s comments. Ideally something that doesn’t impact the meaning of the comments, but would cause a computer to associate one with someone else.

    There are some other issues. My guess is that it’s probably possible to fingerprint someone to a substantial degree by the phrasing that they use. One mole in the counterintelligence portion of the FBI, Robert Hanssen, was found because on two occasions he used the unusual phrase “the purple-pissing Japanese”.

    FBI investigators later made progress during an operation where they paid disaffected Russian intelligence officers to deliver information on moles. They paid $7 million to KGB agent Aleksander Shcherbakov[48] who had access to a file on “B”. While it did not contain Hanssen’s name, among the information was an audiotape of a July 21, 1986, conversation between “B” and KGB agent Aleksander Fefelov.[49] FBI agent Michael Waguespack recognized the voice in the tape, but could not remember who it was from. Rifling through the rest of the files, they found notes of the mole using a quote from George S. Patton’s speech to the Third Army about “the purple-pissing Japanese”.[50] FBI analyst Bob King remembered Hanssen using that same quote. Waguespack listened to the tape again and recognized the voice as Hanssen’s. With the mole finally identified, locations, dates, and cases were matched with Hanssen’s activities during the period. Two fingerprints collected from a trash bag in the file were analyzed and proved to be Hanssen’s.[51][52][53]

    That might be defeated by passing text through something like an LLM to rewrite it. So, for example, to take a snippet of my above comment:

    Respond with the following text rephrased sentence by sentence, concisely written as a British computer scientist might write it:

    Deletion won’t deal with someone seriously-interested in harvesting stuff, because they can log it as it becomes available. And curbing use isn’t ideal.

    I mentioned before the possibility of poisoning data, like, sporadically adding some incorrect information about oneself into one’s comments. Ideally something that doesn’t impact the meaning of the comments, but would cause a computer to associate one with someone else.

    I get:

    The deletion of data alone will not prevent a determined party from gathering information, as they may simply record the information as it becomes available prior to its deletion. Moreover, restricting usage is not an ideal solution to the problem at hand.

    I previously mentioned the possibility of introducing deliberate errors or misinformation into one’s own data, such as periodically inserting inaccurate details about oneself within comments. The goal would be to include information that does not significantly alter the meaning of the comment, but which would cause automated systems to incorrectly associate that individual with another person.

    That might work. One would have to check the comment to make sure that it doesn’t mangle the thing to the point that it is incorrect, but it might defeat profiling based on phrasing peculiarities of a given person, especially if many users used a similar “profile” for comment re-writing.

    A second problem is that one’s interests are probably something of a fingerprint. It might be possible to use separate accounts related to separate interests — for example, instead of having one account, having an account per community or similar. That does undermine the ability to use reputation generated elsewhere (“Oh, user X has been providing helpful information for five years over in community X, so they’re likely to also be doing so in community Y”), which kind of degrades online communities, but it’s better than just dropping pseudonymity and going 4chan-style fully anonymous and completely losing reputation.




  • Note that on current, systemd-based systems, one probably wants sudo journalctl -kb to show kernel messages for the current boot.

    dmesg reads from the in-memory kernel ring buffer. That can be desirable in some cases, but as the name suggests, the “ring buffer” is a “ring” — it has a finite amount of space and eventually, the old stuff gets overwritten by the new stuff. The idea is that a userspace logging daemon, like journald (or syslogd on most older systems) has time to pull the data from the ring buffer out to (potentially much larger) log files on disk.

    journalctl will also post-process the output to do things like convert the time-from-boot to a wall clock time, which is generally more useful for correlating with other things.