xk3's recent activity

  1. Comment on What programming/technical projects have you been working on? in ~comp

    xk3
    Link
    I started work on a small CLI to make Syncthing easier to configure. It's pretty fun! I can now launch multiple Syncthing instances on the same computer and get them talking to each other (just to...

    I started work on a small CLI to make Syncthing easier to configure. It's pretty fun!

    I can now launch multiple Syncthing instances on the same computer and get them talking to each other (just to verify and experiment with Syncthing behavior):

    def test_w_r_r():
        with SyncthingCluster(["w", "r", "r"]) as cluster:
            cluster.wait_for_connection()
            w, r1, r2 = cluster
    
            r2.stop()
    
            fstree.write({"test.txt": "hello world"}, w.local / cluster.folder_id)
            fstree.check({"test.txt": "hello world"}, r1.local / cluster.folder_id)
    
            # let's check that r2 can get a file from r1
            w.stop()
            r2.start()
    
            fstree.check({"test.txt": "hello world"}, r2.local / cluster.folder_id)
    

    This test starts one node with a "sendonly" folder configuration and shares it with two other nodes which use the folder in "receiveonly" configuration

    2 votes
  2. Comment on NFS at 40 – Remembering the Sun Microsystems Network File System in ~comp

    xk3
    (edited )
    Link Parent
    Looks neat! I wonder how performance will compare. It will be a game changer for Windows! SSHFS is definitely compatible with Tailscale. Just change the above: What=backup: To your tailnet address...

    Looks neat! I wonder how performance will compare. It will be a game changer for Windows!

    SSHFS is definitely compatible with Tailscale. Just change the above:

    What=backup:
    

    To your tailnet address

    What=hostname.my-tailscale.ts.net:/home/user/subfolder
    
    1 vote
  3. Comment on NFS at 40 – Remembering the Sun Microsystems Network File System in ~comp

    xk3
    (edited )
    Link Parent
    Performance is closer than you might think: https://blog.ja-ke.tech/2019/08/27/nas-performance-sshfs-nfs-smb.html Personally, I like sshfs because it is pretty much set it and forget it. I can be...

    Performance is closer than you might think: https://blog.ja-ke.tech/2019/08/27/nas-performance-sshfs-nfs-smb.html

    Personally, I like sshfs because it is pretty much set it and forget it. I can be anywhere in the world and I can securely connect to it.

    $ cat ~/.config/systemd/user/net-backup.mount
    [Unit]
    Description=SSHFS backup
    After=network-online.target
    Before=remote-fs.target
    
    [Mount]
    What=backup:
    Where=/net/backup
    Type=fuse.sshfs
    Options=_netdev,nodev,nosuid,noatime,follow_symlinks,dirsync,ServerAliveInterval=10,reconnect,delay_connect,max_conns=15
    
    [Install]
    WantedBy=default.target
    
    systemctl --user enable --now net-backup.mount
    

    The only weird quirk is that systemd requires that the .mount file be named exactly the same as the mountpoint; eg. /net/backup becomes net-backup.mount

    The only other caveat, is that eza --git --long /net/backup hangs for a long time. I'm not really sure why... eza --git /net/backup works fast. eza --long /net/backup works fast. So that's weird. But other applications that I've used don't have this problem. I can stream 16 720p videos at the same time in mpv from the other side of the planet without any hiccups but eza --git --long makes it shudder...

    4 votes
  4. Comment on Heilung - Tenet (2022) in ~music

    xk3
    Link
    This song is a "musical palindrome". Here is the reverse version: https://youtu.be/YWjGXl9L8VM

    This song is a "musical palindrome". Here is the reverse version: https://youtu.be/YWjGXl9L8VM

    2 votes
  5. Comment on Mike Jittlov's Animato: Fashionation / Time Tripper / The Wizard of Speed And Time (1977 - 1979) in ~movies

    xk3
    Link Parent
    Woah! Didn't know this was made into a feature-length film. Thanks for sharing the link

    Woah! Didn't know this was made into a feature-length film. Thanks for sharing the link

    1 vote
  6. Comment on Mike Jittlov's Animato: Fashionation / Time Tripper / The Wizard of Speed And Time (1977 - 1979) in ~movies

    xk3
    (edited )
    Link
    Three short films. Really amazing animation. High concept stuff! If you enjoyed this, also check out the "Mickey Mania" short

    Three short films. Really amazing animation. High concept stuff!

    If you enjoyed this, also check out the "Mickey Mania" short

  7. Comment on Subsync is a stellar program that should have an active maintainer in ~tech

    xk3
    (edited )
    Link
    How does it compare to Subtitle Edit? In my experience most subtitles are simply time-shifted and can be adjusted via keyboard shortcuts. For example, in mpv: ctrl+LEFT sub-step -1 # change...

    How does it compare to Subtitle Edit?

    In my experience most subtitles are simply time-shifted and can be adjusted via keyboard shortcuts. For example, in mpv:

    ctrl+LEFT sub-step -1  # change subtitle timing such that the previous subtitle is displayed
    ctrl+RIGHT sub-step 1  # change subtitle timing such that the next subtitle is displayed
    
    alt+up    add sub-delay -0.1
    alt+down  add sub-delay +0.1
    ctrl+DOWN set sub-delay 0 # reset subtitle delay
    

    If you're dealing with different fps like PAL subtitles on NTSC, this can often help:

    ctrl+shift+LEFT add sub-speed +0.001
    ctrl+shift+DOWN set sub-speed 1
    ctrl+shift+RIGHT add sub-speed -0.001
    

    I empathize with you. It's difficult to see software that you rely on stop being maintained. Given the nature of the tool, it will probably keep working for a long time without any changes. But it looks like there are also a lot of other options too.

    4 votes
  8. Comment on Vantage - So Right (2015) in ~music

  9. Comment on The Stonecutter (1960) in ~humanities

    xk3
    Link
    I found this video while reading about Hofstadter's strange loop

    "The Stonecutter" is based on an old Japanese folk tale.

    "The late Gerald McDermott made this, his first commercial film at the age of 19, an extremely complex animation short featuring approximately 2000 animation cels presented in six minutes. The production was handled by an uncredited Harrison Engle, later noted as a documentary filmmaker. Influenced by Klee and Matisse, McDermott used silk-screen as well as traditional painting techniques in crafting ethnographic folk tale animation shorts. With films that are startling in intensity, and majestic in execution, McDermott is clearly one of the outstanding film animators of his generation, despite having an output consisting solely of only five films, all of which are under 12 minutes in length. After retiring from film animation at the age of 32, McDermott began producing animated children’s books, eventually becoming one of the world’s best-known authors of books for young readers, winning numerous awards in the process. More about McDermott at http://www.afana.org/mcdermott.htm" from http://archive.org/

    I found this video while reading about Hofstadter's strange loop

    4 votes
  10. Comment on Sloan - Money City Maniacs (1998) in ~music

    xk3
    Link
    A lot of great songs here! Simple lyrics sometimes but great sound: Autobiography, I Can Feel It, G Turns to D, Live Forever...

    A lot of great songs here! Simple lyrics sometimes but great sound: Autobiography, I Can Feel It, G Turns to D, Live Forever...

    2 votes
  11. Comment on What programming/technical projects have you been working on? in ~comp

    xk3
    Link Parent
    Yes. It looks like it is somewhat buggy in general: https://github.com/sindresorhus/pure/issues/366 https://old.reddit.com/r/swaywm/comments/eyhvql/solved_gpg2_pinentry_delay/...
    2 votes