Skip Navigation

Posts
7
Comments
3,387
Joined
2 yr. ago

  • I used number 5 throughout high school and university and they always served me well. Sometimes I thought about trying the fancier ones with gel grips, but old reliable BIC was always there for me. I trusted the BIC. In a world of uncertainty, the BIC will never let you down (or run around and desert you)

  • Permanently Deleted

    Jump
  • They push the VM images, but there's a Docker container available too.

  • You can't hard link across drives, so it's not possible to use hard links if the OP wants torrents and media to be on two separate drives.

  • PyCharm is cross-platform, so you can use it on Linux.

  • Most VPNs support Wireguard, which is built in to Linux. If your VPN provider doesn't have a Linux app, you can usually usually download a Wireguard config file from them and use it on Linux. You can import a WireGuard config into NetworkManager using a command like:

     
        
    sudo nmcli connection import type wireguard file /tmp/example.conf
    
      

    Then it should appear in the network list in KDE / GNOME / whatever other desktop environment you're using.

  • It's worth buying games on GOG instead of Steam where possible. Games on GOG are DRM-free, so you can download the installer and keep a backup of it, and it'll work indefinitely.

    Some games on Steam are DRM-free, but Steam doesn't provide a way to download a standalone installer like GOG does.

  • That's true and I hate it. I miss the older days of the internet when protocols were mostly open and people were more focused on collaboration and interoperability.

  • IMO cars that have their own infotainment system should also allow Android Auto and Apple CarPlay. Give the user a choice. Collect metrics about how many people use Android Auto / CarPlay vs the native infotainment system. Maybe survey people who use Android Auto or CarPlay often to see what they think is missing from the native infotainment system. Iterate. Get people to use the native infotainment because it's better, not because you force them to.

    I've got a BMW iX and the in-built map is very good, but I like knowing that I can switch to Android Auto if I encounter issues with it.

  • Permanently Deleted

    Jump
  • I didn't realise they do tours every Friday at 1pm. I'll have to visit some time!

    I really hope the lawsuits don't kill the Internet Archive. It's an important resource.

  • Win win

    Jump
  • Yeah, CTP. I never drove or owned a car in Australia so I'm glad I got it right haha. I lived in Melbourne and used public transport all my life. I didn't learn to drive until I moved to the USA.

  • Win win

    Jump
  • being for profit companies

    I think the approach in Australia is a bit better - bodily injury coverage is provided by the state and is part of the registration fee for the car.

    It's not perfect and only covers injuries to people, and does not cover repairing cars (you need to get separate insurance from an insurer for that) but it's a good first step I guess. It means that as long as your car is registered, medical costs for both you and anyone you hit are covered.

  • Throwing exceptions is fine since errors are an exceptional circumstance (not expected during normal use of the app), and you probably want errors to follow a different code path so that they can be logged, alerts triggered if needed, etc.

  • This is basically the difference between HTTP 4xx and 5xx error codes. 4xx means the client did something wrong (invalid request, tried to load something that doesn't exist, doesn't have access), whereas 5xx means the request was OK but something broke on the server.

  • Permanently Deleted

    Jump
  • thousands of times a second

    Modify your Nginx (or whatever web server you use) config to rate limit requests to dynamic pages, and cache them. For Nginx, you'd use either fastcgi_cache or proxy_cache depending on how the site is configured. Even if the pages change a lot, a cache with a short TTL (say 1 minute) can still help reduce load quite a bit while not letting them get too outdated.

    Static content (and cached content) shouldn't cause issues even if requested thousands of times per second. Following best practices like pre-compressing content using gzip, Brotli, and zstd helps a lot, too :)

    Of course, this advice is just for "unintentional" DDoS attacks, not intentionally malicious ones. Those are often much larger and need different protection - often some protection on the network or load balancer before it even hits the server.

  • NFS should work well enough on high latency connections - it was designed back when it was fairly uncommon to connect to a server over dial-up.

    It's definitely possible that SFTP is more optimized than NFS though.

  • humans function without LIDAR

    The point of a self-driving car is to be better than a human, and see things that humans don't see (like obstacles that are obscured by fog or rain)

  • Snapshots let you very easily revert back to an older snapshot. They're relatively fast and lightweight.

    You should have offsite backups too. Snapshots won't help if your computer catches fire, gets stolen, etc. Rsync is okay, but has a bunch of downsides:

    • It only gives you a single copy.
    • If the source data gets corrupted, the backup copy will also get corrupted.
    • It's not safe from ransomware since the client has full write access to the rsync backup (and thus malicious code could delete the backup).

    A backup solution like Borgbackup + borgmatic or restic is a better solution and solves the above issues:

    • You can easily take daily backups - all the data is deduplicated so it won't take much more space (assuming you're not changing every file every day).
    • Multiple backups means that if newer data is corrupted, you can just pull files from an older backup.
    • Borgmatic has an append-only mode that only allows a client to add new data to a backup, and not delete any old data. This prevents the client from being able to erase the backups
  • The only BYDs available in the USA are busses, trucks and forklifts. No cars unfortunately. Same with all the other Chinese brands like MG - none of them are available in the USA.

    Most of the Japanese, South Korean, and German EV brands are available in the USA, in addition to American brands of course. Ford, Kia, Hyundai, VW, BMW, Audi, Cadillac, Chevy, Dodge, Genesis, Honda, and probably others I'm forgetting.