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).
Sometimes, (amongst friends who accept how thoroughly weird I am) I will actually say "XOR" when I want to make my intentions clear. It means that when they give the silly OR answer, I can jokingly chastise them for poor listening. The downside is that they relish the opportunity to give OR answers when I am not sufficiently specific in my question. I reap what I sow ¯_(ツ)_/¯
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.
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.
TypeError:
Type Boolean not used by Reality, please inplort module 'ImaginaryThings' to use type Boolean.
Warning: Use of module 'ImaginaryThings' may produce inconsistent results.
It still can panic/abort and deadlock/wait infinitely long on most fp languages because that's typically implied. And there isn't actually a way around that because computation almost always can fail or block indefinitely - and if you have a total language you can implement waits for billions of years, which for all practical purposes is "infinitely" long on human time scales.
79 Comments
IcedRaktajino@startrek.website · 90 pts · 314d
The only thing worse than that is emailing them a simple boolean question and then your phone rings.
kautau@lemmy.world · 31 pts · 314d
That’s a closure
SatyrSack@quokk.au · 17 pts · 314d
Sounds like you should respond to that with a 400 Bad Request
Atherel@lemmy.dbzer0.com · 8 pts · 314d
Id ho with
415 Unsupported Media Typeor
426 Upgrade Requiredbecause it's clearly the wrong protocolSeductiveTortoise@piefed.social · 5 pts · 314d
Valid alternatives: 307 temp redirect to mailbox, 402 payment required to endure such pain or the classic 418. I'd go with the 418.
418_im_a_teapot@sh.itjust.works · 5 pts · 313d
.
SeductiveTortoise@piefed.social · 1 pts · 313d
What even are you?
entropicdrift@lemmy.sdf.org · 3 pts · 313d
A teapot
418_im_a_teapot@sh.itjust.works · 3 pts · 312d
Someone completely incapable of coming up with a witty comment when it’s my time to shine.
Ebber@lemmings.world · 3 pts · 314d
I might go with a 403 how dare you!
SeductiveTortoise@piefed.social · 2 pts · 314d
That's a good one as well. 406, absolutely not acceptable, Sir!
418_im_a_teapot@sh.itjust.works · 2 pts · 314d
x402 … charge for your time.
caseyweederman@lemmy.ca · 1 pts · 313d
I'm a teapot
Aurenkin@sh.itjust.works · 13 pts · 314d
When you aren't feeling that async energy but you still get a callback.
jaybone@lemmy.zip · 5 pts · 314d
I didn’t even register a callback. How the hell did code start randomly executing from here?
S_H_K@lemmy.dbzer0.com · 1 pts · 314d
And then in the call you end up discussing what to put in the mail for "awareness"
Robyn@lemmy.blahaj.zone · 62 pts · 314d
Similarly it also grinds my gears when I ask an enum question but they return a bool. I gave multiple options and “yes” was not one of them.
Pipster@lemmy.blahaj.zone · 19 pts · 314d
Sounds like a problem in the question. "Yes" is a perfectly valid response to "Do you want eggs or cheese"?
Szyler@lemmy.world · 6 pts · 314d
Include or is the funniest answers when possible. I do it all the time to confuse neurotypicals.
user224@lemmy.sdf.org · 1 pts · 314d
I usually use yes/no for the first condition if it's XOR with 2 options (thus the second yes/no is implied).
schnurrito@discuss.tchncs.de · 1 pts · 313d
Bug in the English language. 🤣
psud@aussie.zone · 2 pts · 313d
It's a feature
rustydrd@sh.itjust.works · 24 pts · 314d
Also bad: When you ask XOR questions, but people think they're funny and give you OR answers instead.
AnarchistArtificer@slrpnk.net · 9 pts · 313d
Sometimes, (amongst friends who accept how thoroughly weird I am) I will actually say "XOR" when I want to make my intentions clear. It means that when they give the silly OR answer, I can jokingly chastise them for poor listening. The downside is that they relish the opportunity to give OR answers when I am not sufficiently specific in my question. I reap what I sow ¯_(ツ)_/¯
DigitalMus@feddit.dk · 5 pts · 314d
Why not both?
mnemonicmonkeys@sh.itjust.works · 5 pts · 313d
Personally, people tend to ask me XOR questions where the answer actually is "both"
pcrazee@feddit.org · 2 pts · 314d
True
onslaught545@lemmy.zip · 23 pts · 314d
My relationship is the opposite. My wife asks me a boolean question but expects a string response.
miked@piefed.social · 2 pts · 313d
I would ask my ex a boolean question and receive an tangential string.
Kyrgizion@lemmy.world · 21 pts · 314d
"What's the error message?"
"I don't know, isn't that your job to figure out?"
Penguin_1024@lemmy.sdf.org · 10 pts · 314d
"No sir/ma'am/other honorific
My job is to figure out what the error message means and how to repair it."
MystikIncarnate@lemmy.ca · 19 pts · 313d
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 talking to me.
MML@sh.itjust.works · 8 pts · 313d
Call your mother, she'd love a chat.
MystikIncarnate@lemmy.ca · 5 pts · 313d
I should. We've been estranged for nearly a decade. I should just do it to be an annoying prick.
Gradually_Adjusting@lemmy.world · 3 pts · 313d
Are you sure?
Hupf@feddit.org · 3 pts · 313d
65
HalfSalesman@lemmy.world · 17 pts · 314d
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.
Windex007@lemmy.world · 5 pts · 314d
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.
fleck@lemmy.world · 15 pts · 314d
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
AnarchistArtificer@slrpnk.net · 4 pts · 313d
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.
capuccino@lemmy.world · 14 pts · 314d
Like LLMs
death_to_carrots@feddit.org · 10 pts · 314d
"Have I done well?"
HTTP status: 200 HTTP data: "{'status': 'error'}"
TheReturnOfPEB@reddthat.com · 9 pts · 314d
the string:
"Yeah, no."
schnurrito@discuss.tchncs.de · 2 pts · 313d
Or maybe "yeah, right"
fibojoly@sh.itjust.works · 9 pts · 313d
"True"!
Clent@lemmy.dbzer0.com · 3 pts · 313d
"1"
fibojoly@sh.itjust.works · 2 pts · 313d
I wish I could say I have never seen that one...
hakunawazo@lemmy.world · 2 pts · 313d
!! "True"
lemmyng@piefed.ca · 7 pts · 314d
I'm throwing a stack trace, alright?
lessthanluigi@lemmy.sdf.org · 7 pts · 314d
Fukin tru tho
peacepath@lemmy.world · 5 pts · 314d
Simple javscript casting, if the string contains at least one char, it means yes ; else it means no.
Valmond@lemmy.world · 3 pts · 314d
The char: "0"
peacepath@lemmy.world · 3 pts · 314d
I think javscrpit caste the strings "0" and "false" to true, yes...
Viking_Hippie@lemmy.dbzer0.com · 5 pts · 314d
When you ask someone a linguistics question and they answer in COBOL
peoplebeproblems@midwest.social · 5 pts · 314d
Is this why a bunch of us senior engineers have been forced into a product owner role?
Because we can somehow deal with string parsing better? Jesus fuck we're doomed
AnarchistArtificer@slrpnk.net · 2 pts · 313d
Yes.
peoplebeproblems@midwest.social · 2 pts · 313d
Jesus fuck we're doomed.
Kolanaki@pawb.social · 5 pts · 313d
"Are you Kolanaki?"
"Y-E-S."
Sunsofold@lemmings.world · 4 pts · 314d
TypeError:
Type Boolean not used by Reality, please inplort module 'ImaginaryThings' to use type Boolean.
Warning: Use of module 'ImaginaryThings' may produce inconsistent results.
bastion@feddit.nl · 2 pts · 313d
I was just about to say that I'd be raising an error, not returning a string.
I see you understand the code well.
teegus@sh.itjust.works · 4 pts · 314d
Kash Patel when asked if trump is in the Epstein files be like
danc4498@lemmy.world · 3 pts · 314d
Or when you ask them to choose an index from an array and they give you their life story instead.
stupidcasey@lemmy.world · 3 pts · 314d
That's when you just shake your head and say True, True.
jaybone@lemmy.zip · 0 pts · 314d
So you return a list of booleans?
stupidcasey@lemmy.world · 1 pts · 313d
True
joyjoy@lemmy.zip · 3 pts · 314d
fishsayhelo@lemmy.ml · 2 pts · 314d
2010 arse meme
danc4498@lemmy.world · 2 pts · 314d
“TrUE”
goatinspace@feddit.org · 2 pts · 314d
tetris11@feddit.uk · 2 pts · 314d
Boolean functions have potentially infinite return states depending on error handling
etc
Subscript5676@lemmy.ca · 6 pts · 314d
Not in my functional language with no nulls :P
wischi@programming.dev · 1 pts · 313d
It still can panic/abort and deadlock/wait infinitely long on most fp languages because that's typically implied. And there isn't actually a way around that because computation almost always can fail or block indefinitely - and if you have a total language you can implement waits for billions of years, which for all practical purposes is "infinitely" long on human time scales.
TheV2@programming.dev · 2 pts · 311d
They're not giving you a string, but an error.
Bakkoda@sh.itjust.works · 2 pts · 314d
"JAVA solves this problem by ..."
knightly@pawb.social · 1 pts · 314d
Sometimes my thoughts have bonus content. =3
PattyMcB@lemmy.world · 1 pts · 314d
Ah, so you know my ex
bier@feddit.nl · 1 pts · 313d
I was just watching this classic video, wich is a great example of the meme
https://youtu.be/thIRJLsnIxY
yagurlreese@lemmy.world · 1 pts · 314d
true || response == "true" 🤣
hemmes@lemmy.world · 1 pts · 314d
It’s just being enumerated!
A_norny_mousse@feddit.org · 1 pts · 314d