With error codes, the client can behave more intelligently - maybe show a dialog to request access to the directory, maybe show the list of trade-restricted countries, etc.
With error codes, the client can behave more intelligently - maybe show a dialog to request access to the directory, maybe show the list of trade-restricted countries, etc.
{
"error" : {
"code" : "invalid_filename_characters",
"field" : "filename",
"message" : "filenames cannot contain emoji"
}
}
{
"error" : {
"code" : "invalid_filename_characters",
"field" : "filename",
"message" : "filenames cannot contain emoji"
}
}
And that's how we figured out we needed more CPU resources to prevent nodes from running out of RAM.
And that's how we figured out we needed more CPU resources to prevent nodes from running out of RAM.
1.5x as much as the fast machines.
1.5x as much as the fast machines.
The root of the problem is that traffic is distributed evenly among the machines. So let's say each machine gets 50 new requests every second. Let's say the average request on a fast machine takes 4 seconds to process (remember, this is AI, it ain't fast).
The root of the problem is that traffic is distributed evenly among the machines. So let's say each machine gets 50 new requests every second. Let's say the average request on a fast machine takes 4 seconds to process (remember, this is AI, it ain't fast).
We figured out that the slower machines were the ones consistently running out of RAM. But why?
We figured out that the slower machines were the ones consistently running out of RAM. But why?
But why only some nodes? Were they caused by bad/malicious requests that ballooned RAM usage? Nope.
But why only some nodes? Were they caused by bad/malicious requests that ballooned RAM usage? Nope.
Sure it's "just add xyz to your .env" but inevitably there's a weird error message and you spend an hour investigating, thinking someone introduced a bug.... multiplied by half the dev team, that's a lot of lost effort.
Sure it's "just add xyz to your .env" but inevitably there's a weird error message and you spend an hour investigating, thinking someone introduced a bug.... multiplied by half the dev team, that's a lot of lost effort.
"Have you tried recreating the codespace / docker container / updated your .env file?"
(╯°□°)╯︵ ┻━┻
"Have you tried recreating the codespace / docker container / updated your .env file?"
(╯°□°)╯︵ ┻━┻
Also, basically everyone at my LGS, who are probably less online than me and anyone in this thread, don't care at all about UB one way or another. To them, they're all just cards.
Also, basically everyone at my LGS, who are probably less online than me and anyone in this thread, don't care at all about UB one way or another. To them, they're all just cards.
I loved Clark's vulnerability. That interview with Lois was SUCH a good scene. Clark's exasperation and frustration felt *so relatable*. I think that's the real magic – this was the most relatable Superman I've ever seen.
"PEOPLE WERE GOING TO DIE, LOIS!"
*chef's kiss*
I loved Clark's vulnerability. That interview with Lois was SUCH a good scene. Clark's exasperation and frustration felt *so relatable*. I think that's the real magic – this was the most relatable Superman I've ever seen.
"PEOPLE WERE GOING TO DIE, LOIS!"
*chef's kiss*
Http methods are extraneous for APIs. You have the url as the method name. POST /getFoo and POST /updateFoo are perfectly clear.
Http methods are extraneous for APIs. You have the url as the method name. POST /getFoo and POST /updateFoo are perfectly clear.
Real APIs aren't just CRUD.
It's just like a library's API. There are a bunch of methods (endpoints) and you need to read docs to figure out how to use them.
Real APIs aren't just CRUD.
It's just like a library's API. There are a bunch of methods (endpoints) and you need to read docs to figure out how to use them.