Only valid in PHP?
People want a yes or no so they can generate their own hallucinated string based on it. The returned string is just trying to get ahead of that.
Sometimes.
In those cases, “there isn’t a yes/no answer to your question because…”
I ask my jrs simple yes/no questions all the time.
Did you open a PR? Does it pass the CI pipeline? Did you write a test for scenario X?
I’m here to help you, but my time is unfortunately limited. If it takes half of our available time just to drag out of you where you’re at we’re all worse off for it.
I like doing the reverse.
Like if someone asks me if I want A or B, and I’ll say yes.
Logically, as long as I want one of those things, the answer is “true”
… People hate taking to me.
Call your mother, she’d love a chat.
I should. We’ve been estranged for nearly a decade. I should just do it to be an annoying prick.
Are you sure?
65
“Are you Kolanaki?”
“Y-E-S.”
declare function permission(): 'allow' | 'deny' | 'always'
“True”!
!! “True”
“1”
I wish I could say I have never seen that one…
That’s when you just shake your head and say True, True.
So you return a list of booleans?
Like LLMs
“JAVA solves this problem by …”
- RIT in the fall, 2001
At work, I have a very knowledgeable colleague who is quite the Linux nerd. I have been moved into their department and I feel like they never had the chance to share all of their accumulated knowledge with someone, so they kinda dump it onto me and every little question has the chance to become a lecture. I am very thankful for it though, because I get learn a ton but sometimes you just wanna get a bool, without learning kernel internals that are absolutely not related to the question
I feel this. I’ve found that a good response in those circumstances is to say “sorry, can we put a pin in this? I feel like I don’t have the capacity to properly process what you’re telling me right now, so I’d rather we resume this conversation at a later point. Thanks for helping me figure out [bool question] though.”
It’s a useful response if one genuinely is interested to learn, but not at that moment.
Fukin tru tho
They’re not giving you a string, but an error.
The only thing worse than that is emailing them a simple boolean question and then your phone rings.
That’s a closure
Sounds like you should respond to that with a 400 Bad Request
The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).
Valid alternatives: 307 temp redirect to mailbox, 402 payment required to endure such pain or the classic 418. I’d go with the 418.
.
What even are you?
Someone completely incapable of coming up with a witty comment when it’s my time to shine.
A teapot
I might go with a 403 how dare you!
That’s a good one as well. 406, absolutely not acceptable, Sir!
Id ho with
415 Unsupported Media Type
or
426 Upgrade Required
because it’s clearly the wrong protocolx402 … charge for your time.
When you aren’t feeling that async energy but you still get a callback.
I didn’t even register a callback. How the hell did code start randomly executing from here?
“What’s the error message?”
“I don’t know, isn’t that your job to figure out?”
"No sir/ma’am/other honorific
My job is to figure out what the error message means and how to repair it."
Sometimes my thoughts have bonus content. =3