• 0 Posts
  • 15 Comments
Joined 3 years ago
cake
Cake day: June 18th, 2023

help-circle


  • Nice!

    https://github.com/kristapsdz/openrsync

    This is an implementation of rsync with a BSD (ISC) license. It’s compatible with a modern rsync (3.1.3 is used for testing, but any supporting protocol 27 will do), but accepts only a subset of rsync’s command-line arguments.

    But also:

    The actual work of porting is matching the security features provided by OpenBSD’s pledge(2) and unveil(2). These are critical elements to the functionality of the system. Without them, your system accepts arbitrary data from the public network.

    rsync has specific running modes for the super-user. It also pumps arbitrary data from the network onto your file-system. openrsync is about 10 000 lines of C code: do you trust me not to make mistakes?



  • Rao’s low revenue word choice matters here. He said “exceeding $5 billion” and not “nearly $6 billion,” not “approaching $6 billion.”

    In a filing where Anthropic was trying to impress a federal court with its commercial scale, Rao is expected to use the biggest number he can. “Exceeding $5 billion” tells you his real figure is much closer to $5 billion than to $6.

    Look, I have a genAI aversion as much as anyone on this community. But…

    Is that what was stated in a federal court arguably true? I think so. Trying to define what someone is “expected” to achieve with a statement and using that as some kind of proof? That’s too rich for my taste.









  • I have a service that pings the server:

    cat <<EOF | sudo tee /etc/systemd/system/ping-smb.service
    [Unit]
    Description=Blocks until pinging 192.168.1.10 succeeds
    After=network-online.target
    StartLimitIntervalSec=0
    
    [Service]
    Type=oneshot
    ExecStart=ping -c1 192.168.1.10
    Restart=on-failure
    RestartSec=1
    
    [Install]
    WantedBy=multi-user.target
    EOF
    
    sudo systemctl enable ping-smb.service
    

    And then I make the fstab entry depend on it:

    x-systemd.requires=ping-smb.service