0x9e3779b6
Joined 4 years ago
Joined 4 years ago
the code quality on very mission critical path powering “half the internets” could’ve been better.
I’m not sure if Lua LSP / linting tools would’ve caught the issue (I also never used Lua myself), but tools and methods exist to test mission critical dynamically typed code.
The company with genuinely impressive concentration of talent was expected to think about fuzzing this legacy crap somehow.
As for `.unwrap()` related incident: normally code like this should never pass the review.
You just (almost) never unwrap in production code.
I’d start with code quality tooling but more important - the related processes before even thinking about the architecture changes.
Changing architecture in global sense which, in general has served for years with 99.99(9)% uptime is not obviously smart thing to do.
Architecture is doing great, it’s just impact which has been devastating because of the scale.
Everyone makes errors and it’s fine, but there are ways not to roll shit in prod (reference to famous meme pic where bugs do that).
It comes a disappointment for me that SedonaDB hasn’t adopted a similar approach.
Apache stack provides everything needed, but for small things I would not prefer SQL exactly
It’s effectively a multi-tenant interface.
I also used individual acc but on corp e-mail, previously.
You could generate a new multi-use CC in your vibe-bank app (as Revolut), buy burner (e) sim for sms (5 eur in NL); then rewrite all requests at your mitm proxy to substitute a device id to one, not derived from your machine.
But same device id, same phone could be perfectly legitimate use case: you registered on corp e-mail then you changed your work place, using the same machine.
or you lost access to your e-mail (what a pity)
But to get good use of it, someone should compose proper requests to ClickHouse or whatever they use, for logs, build some logic to run as a service or web hook to detect duplicates with a pipeline to act on it.
And a good percentage of flags wouldn’t have been ToC violations.
That’s a bad vibe, can you imagine how much trial and error prompting it requires?..
They can’t vibe the way though the claude code bugs alone, on time!