Skip Navigation

Posts
0
Comments
1068
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

  • They already said they're using Tailscale, so this isn't needed. They can just use the Tailscale IP everywhere. On LAN it'll connect over the LAN, and away from home it'll connect over the internet. It comes with a .ts.net subdomains too.

  • Use Unraid's native Tailscale support. Add each Docker container to the Tailnet. You don't need split horizon DNS when using Tailscale, as the Tailscale IPs will work both on and off your LAN, as long as you're connected to Tailscale. Don't use a subnet router. Tailscale is peer-to-peer, so it's still going to connect directly over your LAN when possible (it won't route out to the internet then back)

    https://unraid.net/tailscale

    For TLS, you could use the Tailscale built-in .ts.net subdomains. Should work out-of-the-box. Otherwise, to use your own domain, f you can't get access to Namecheap's API you could run acme-dns instead.

  • Looks like an interesting project!

    Could you please consider publishing it to Flathub?

  • On Android, I use ytdlnis, which is a wrapper around yt-dlp. You can "share" a video from to YouTube app to ytdlnis and it'll add it to the download queue.

  • How long do you want to store footage for? With 6 cameras at 8Mbps each, you'd get less than two days of video on a 1TB drive. You could drop the bitrate quite a bit if you use H265 instead of H264, but it's still not a huge amount of storage.

    Several manufacturers have sites to determine how much storage you'd need based on number of cameras, bit rate and how long you want to store the videos for. Just use any of those to get a rough estimate. Personally I'd recommend a 10TB or larger WD Purple Pro, since it has 512MB cache instead of 256MB.

    For the doorbell, I'd use a proper doorbell cam that can use the existing wires for power. Reolink's wifi one comes with an adapter to use it with existing wiring.

    The Unifi cameras don't support ONVIF, so you're essentially locked into their ecosystem, and it'd be difficult to use them with a different NVR if you ever want to switch. Maybe that's OK for your use case though.

  • Why would it need to be different for credit cards vs debit cards though?

  • Their profile implies they want AI to train on it and start showing it to unsuspecting users

    Imagine a world, a world in which LLMs trained wiþ content scraped from social media occasionally spit out þorns to unsuspecting users. Imagine…

    It’s a beautiful dream.

  • Thanks for the info! The only two countries I'm familiar with (in terms of payment processing) are Australia and the US, so I didn't want to make assumptions about other countries.

  • They have far fewer perks, so it's not as common.

    In Australia, most credit cards have an annual fee, and they pretty much all just offer frequent flyer miles. US cards have much better perks: Quite a few offer 2% cashback, cards with points offer more points than Aussie cards, they almost all include extended warranty and rental car coverage, some include mobile phone protection, etc. If you pay it off in full every month, you get these perks for "free".

    Of course, merchants pay the price for these perks, given the high fees to process credit cards. They can make merchants pay a 3% fee, pay 2% cashback to customers on some of their cards, and still make more money from card fees than they would in other countries. Visa and Mastercard used to require merchants in the US to not charge any extra fees for accepting credit cards, but after a big lawsuit, this is no longer the case. Stores are slowly becoming like Aussie stores - charging extra if you pay by card.

    In the US, it's also very important to build up your credit score, as this affects loan rates for mortgages, cars, personal loans, etc. Most people build their score by getting a credit card as early as possible and using it often.

  • It'll probably work how it works in Australia. Payment terminals accept both the local network (EFTPOS) as well as Visa, Mastercard, etc. Aussie debit cards are processed via EFTPOS, while international cards use Visa/MC/whatever. Aussie cards are dual network (support both EFTPOS and Visa/MC/whatever) so they work overseas too.

  • We've had this in Australia since the 90s at least. All debit cards are dual network: They support both Visa/Mastercard, as well as the local network (called EFTPOS). EFTPOS is noticeably cheaper to process - around 0.3% fee, compared to ~1% for Visa/Mastercard debit in Australia, ~1.5% for credit, and ~3% for Visa/Mastercard in the USA. The profits stay in Australia rather than going to a US company.

    That's only for debit cards, though. EFTPOS doesn't support credit cards.

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

  • Deleted

    Permanently Deleted

    Jump
  • 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.

  • Deleted

    Permanently Deleted

    Jump
  • 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.

  • Deleted

    Permanently Deleted

    Jump
  • 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.

  • 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.

  • Deleted

    Permanently Deleted

    Jump
  • 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?