Skip Navigation

Posts
4
Comments
2750
Joined
3 yr. ago

Aussie living in the San Francisco Bay Area.Coding since 1998..NET Foundation member. C# fan https://d.sb/Mastodon: @dan@d.sb

  • If you have enough space for it, just keep it in the PC.

  • While we're changing the calendar, can we rename September through December so they're not off by two?

    Septem, Octo, Novem and Decem are the Latin words for 7, 8, 9 and 10 respectively, but they're actually the 9th, 10th, 11th and 12th months of the year. This is because the Roman calendar was originally only 10 months, but Julius Caesar inserted two new months in the middle, without renaming the last four.

    Maybe the oldest tech debt in existence - the calendar was changed in 45 BC.

  • This. Sunday is part of the weekend, not the weekstart.

  • Practically everyone should know SI, or have at least heard of it before. It's the standard system of measurement used in most of the world. It includes base units for time (seconds), distance (meters), mass (kilograms), electric current (amps), temperature (Kelvin), amount of a substance (mole) and intensity of light (candela), plus a bunch of units derived from these.

    It's practically only the USA that doesn't use some of three units (for example, preferring feet over meters)

    ISO is a standards body. They define a bunch of standards. One of the more well-known ones is ISO 8601, which defines standards for dates and times. It specifies that weeks start on Monday.

  • I see it a lot, too. Reddit's been around for 20 years, so all the good usernames are already taken.

  • Since you're using Hetzner, one option is to get a Hetzner storage box to store the media. 1TB space is $4/month (not sure about EU pricing). You can mount the storage on another system via NFS.

    On-disk cache prevents a "thundering herd" problem when you reboot - an in-memory cache would be empty on rebootz whereas an on-disk cache survives a reboot. Linux handles caching files in RAM automatically.

  • they can be uploaded to S3 (object storage) where it is 10x cheaper to store them

    This is heavily dependent on the VPS. Some of my VPSes are cheaper than object storage would be.

  • RAM is a good idea. You could put the cache in /dev/shm.

    Anything loaded from disk is going to be cached in RAM anyways.

  • A White House staffer erroneously made the post

    I hate it when I erroneously gather source material, produce a video, export it for web, and post it to social media. They must have just hit the wrong button.

  • Even if you build your own thing to communicate with the AC, Home Assistant is still useful since it lets you easily automate things and interact with other devices, and you get a bunch of things included (nice UI, storage of historical data, dashboards, etc). You could build your thing as a Home Assistant integration.

  • Companies are throwing away old hardware (like 8th/9th gen Core i5) that's perfect for running Home Assistant. See if there's an e-waste recycler near you - they might let you buy an old system for a nominal fee.

  • In the context of Debian, "stable" means it doesn't change often. Debian stable doesn't have major version changes within a particular release.

    Unstable has major changes all the time, hence the name.

    I think testing is a good middle ground. Packages are migrated from unstable to testing after ~10 days of being in unstable, if no major bugs are found.

  • Use a page caching plugin that writes HTML files to disk. I don't do a lot with WordPress any more, but my preferred one was WP Super Cache. Then, you need to configure Nginx to serve pages directly from disk if they exist. By doing this, page loads don't need to hit PHP and you effectively get the same performance as if it were a static site.

    See how you go with just that, with no other changes. You shouldn't need FastCGI caching. If you can get most page loads hitting static HTML files, you likely won't need any other optimizations.

    One issue you'll hit is if there's any highly dynamic content on the page, that's generated on the server. You'll need to use JavaScript to load any dynamic bits. Normal article editing is fine, as WordPress will automatically clear related caches on publish.

    For the server, make sure it's located near the region where the majority of your users are located. For 200k monthly hits, I doubt you'd need a machine as powerful as the Hetzner one you mentioned. What are you using currently?

  • This shouldn't be a surprise to anyone... The five eyes (and nine eyes) nations all share data about their residents in the name of "stopping terrorism".

  • If your current setup works well for you, there's no reason to change it.

    You could try Debian in a VM (virtual machine) if you want to. If you're running a desktop environment, GNOME Boxes makes it pretty easy to create VMs. It works even if you don't use GNOME.

    If you want to run it as a headless server (no screen plugged in to it), I'd install Proxmox on the system, and use VMs or LXC containers for everything. Proxmox gives you a web UI to manage VMs and containers.

  • Even if you turned the phone off? It should be secure on a cold boot before entering the password, as nothing is unencrypted yet.

  • You can somewhat avoid the issue of old packages by running the testing version instead of stable, but in that case you should ensure you get security updates from unstable: https://github.com/khimaros/debian-hybrid

    I used to run some systems on Debian testing and never had any issues.

  • Once you're past that, the userbase is smaller than Ubuntu's

    Is it? I feel like there's far more Debian systems in the world, if you include servers.

  • TIL RouterOS supports basic NAS features. Interesting.

  • KDE @lemmy.kde.social

    Spectacle export to SFTP?

  • Selfhosted @lemmy.world

    Lighter weight replacements for Sentry bug logging

  • Selfhosted @lemmy.world

    NAS vs larger server

  • Selfhosted @lemmy.world

    My 10Gbps Home Networking Closet