

no you didn’t get the job
but the CEO position is yours if you want
no you didn’t get the job
but the CEO position is yours if you want
It depends on the context. If it’s an URL that is easy to guess and reflects user-created content, your system is leaking information about their users if it returns 403. The example that comes to mind is GitHub returning 404s for both nonexisting and private repos when the authenticated user doesn’t have access to it.
implementation without design
and to just send “Bad request” when it’s a good request - does not make sense
That’s when you use a 5xx status, then. The client doesn’t care how many other services you reach out to in order to fulfill their request. A 5xx code also covers failures in other parts of the system.
A 2xx means success to its requester. If you have an error in step 6 out of 13 that breaks the resource action, you shouldn’t be returning a success.
You might argue what to return and what kind of information to include in the response (like tracking numbers), but it shouldn’t be a 2xx and I don’t see how a misleading 200 would be more helpful than a 400 bad request.
That’s not what HTTP errors are about, HTTP is a high level application protocol and its errors are supposed to be around access to resources, the underlying QUIC or TCP will handle most lower level networking nuances.
Also, 5xx errors are not about incorrect inputs, that’s 4xx.
hey, at least it’s not a 200 with { "error": "Bad request" }
if this is real, that’s the kind of people who should be worried about being replaced by an ai
it’s also Claude
lmao
I have the typeface, but didn’t know that was an option at all
https://typeof.net/Iosevka/customizer
there are many fonts that I mostly like, but then there’s just one or a couple letters like g
or l
vs I
that don’t align with my preference and ruins it to use as a daily driver.
That’s an interesting project.
I’ll add to anyone who doesn’t already know it, that most people not using something like Pijul probably should be using a noreply email for git commits to prevent the spam, and that GitHub and potentially others already have it:
github-user@users.noreply.github.com
I think for development processes not centered around emails this is a must have.
hey, at least it’s a --force-with-lease, we’re not animals
Plot twist: Dave had cheat sheets for previous projects glued to the ceiling
Quillpad has an interface like Google Keep - which for mobile it’s one of the best ones out there IMO. It’s also markdown-based, local-first, open source, gluten-free, vegan, etc
What does a staff engineer do? Engineers staff?
drops rubber duck
and if they want to go fancy and cheap, suggest excel.
We do it like that too. Most meetings are not useful at all (no blockers), but at least we don’t waste more than 15-20 minutes
but when something goes wrong it’s on you, so you can wear that hat too
flake8-simplify has a bunch of rules like that for Python, most of which may be automatically fixed if you’re using something like ruff, so you never have to spend time actually fixing it.