dan

joined 2 years ago
[–] dan@upvote.au 10 points 1 week ago* (last edited 1 week ago)

This can happen regardless of language.

The actual issue is that they should be canarying changes. Push them to a small percentage of servers, and ensure nothing bad happens before pushing them more broadly. At my workplace, config changes are automatically tested on one server, then an entire rack, then an entire cluster, before fully rolling out. The rollout process watches the core logs for things like elevated HTTP 5xx errors.

[–] dan@upvote.au 26 points 1 week ago* (last edited 1 week ago)

Did you read the article? It wasn't taken down by the number of bots, but by the number of columns:

In this specific instance, the Bot Management system has a limit on the number of machine learning features that can be used at runtime. Currently that limit is set to 200, well above our current use of ~60 features. Again, the limit exists because for performance reasons we preallocate memory for the features.

When the bad file with more than 200 features was propagated to our servers, this limit was hit — resulting in the system panicking.

They had some code to get a list of the database columns in the schema, but it accidentally wasn't filtering by database name. This worked fine initially because the database user only had access to one DB. When the user was granted access to another DB, it started seeing way more columns than it expected.

[–] dan@upvote.au 61 points 1 week ago (8 children)

When are people going to realise that routing a huge chunk of the internet through one private company is a bad idea? The entire point of the internet is that it's a decentralized network of networks.

[–] dan@upvote.au 1 points 2 weeks ago (2 children)

Try install a web server like Nginx. I think the Raspberry Pi OS is based on Debian, so sudo apt install nginx should work. Then hit the Pi's address (no port number needed) and it should show a default page.

[–] dan@upvote.au 2 points 2 weeks ago

Phones sometimes will ignore your local DNS (if any) and still use whatever the vendor hardcoded.

For what it's worth, this is mostly for security reasons - they're using DNS-over-HTTPS so that the DNS requests are encrypted.

[–] dan@upvote.au 4 points 2 weeks ago (4 children)

If you're using the app on the phones, try the website instead?

Is it just Nextcloud having issues? Can you access other services on the Pi from the phones?

[–] dan@upvote.au 4 points 2 weeks ago (1 children)

Your ps output doesn't show systemd as running. The only output is the grep command itself.

[–] dan@upvote.au 24 points 2 weeks ago* (last edited 2 weeks ago)

If you want to play files over SMB, you can just open the SMB mount in the file explorer and double click it. On Windows you can mount it as a network drive (like V: for videos) so even non-technical users understand it. I don't understand how mpv is easier for that use case.

With systems like Jellyfin and Plex, you can (and should!) turn off transcoding when streaming at home. The only times you should enable transcoding are when:

  1. You're away from home on a slow internet connection (or your home internet has slow upload speed); or
  2. You're streaming to a less powerful device that can't handle the full bitrate of the video.

Transcoding is very useful, because otherwise you'd need multiple copies of the same movie to handle different environments. Transcoding can dynamically adjust the bitrate based on the connection speed.

[–] dan@upvote.au 1 points 3 weeks ago

I'll have to try them the next time I'm in Australia.

[–] dan@upvote.au 5 points 3 weeks ago* (last edited 3 weeks ago)

The Aldi ones in the USA have the catchy name of "Aussie-style chocolate coated wafer cookies"

...which somehow isn't as bad as the name of the Trader Joe's ones: "Aussie-style chocolate creme sandwich cookies coated in chocolate"

They're both manufactured in the Netherlands.

Not quite as good as legit Tim Tams, but they're 85% of the way there at half the price of legit Tim Tams imported from Australia.

[–] dan@upvote.au 3 points 3 weeks ago

You can find them at World Market, but like most of the food at World Market, it's overpriced. Some Target and Walmart stores have Tim Tams, or at least the ones where I am in Northern California. There's a Fijian grocery store near me that has a bunch of Aussie things too.

My wife and I usually just bring some back with us when we visit Australia. We're both Australian so we try to go back every so often to see friends and family.

[–] dan@upvote.au 11 points 3 weeks ago* (last edited 3 weeks ago) (12 children)

Penguins are horrible. Not worth the calories.

I live in the USA now, and you can buy Tim Tams here, but Trader Joe's and Aldi both have store brand imitation Tim Tams too. Even those are better than Penguins. They're not exactly like Tim Tams, but they're pretty close.

view more: ‹ prev next ›