this post was submitted on 26 Mar 2026
967 points (99.5% liked)
Science Memes
19644 readers
1760 users here now
Welcome to c/science_memes @ Mander.xyz!
A place for majestic STEMLORD peacocking, as well as memes about the realities of working in a lab.

Rules
- Don't throw mud. Behave like an intellectual and remember the human.
- Keep it rooted (on topic).
- No spam.
- Infographics welcome, get schooled.
This is a science community. We use the Dawkins definition of meme.
Research Committee
Other Mander Communities
Science and Research
Biology and Life Sciences
- !abiogenesis@mander.xyz
- !animal-behavior@mander.xyz
- !anthropology@mander.xyz
- !arachnology@mander.xyz
- !balconygardening@slrpnk.net
- !biodiversity@mander.xyz
- !biology@mander.xyz
- !biophysics@mander.xyz
- !botany@mander.xyz
- !ecology@mander.xyz
- !entomology@mander.xyz
- !fermentation@mander.xyz
- !herpetology@mander.xyz
- !houseplants@mander.xyz
- !medicine@mander.xyz
- !microscopy@mander.xyz
- !mycology@mander.xyz
- !nudibranchs@mander.xyz
- !nutrition@mander.xyz
- !palaeoecology@mander.xyz
- !palaeontology@mander.xyz
- !photosynthesis@mander.xyz
- !plantid@mander.xyz
- !plants@mander.xyz
- !reptiles and amphibians@mander.xyz
Physical Sciences
- !astronomy@mander.xyz
- !chemistry@mander.xyz
- !earthscience@mander.xyz
- !geography@mander.xyz
- !geospatial@mander.xyz
- !nuclear@mander.xyz
- !physics@mander.xyz
- !quantum-computing@mander.xyz
- !spectroscopy@mander.xyz
Humanities and Social Sciences
Practical and Applied Sciences
- !exercise-and sports-science@mander.xyz
- !gardening@mander.xyz
- !self sufficiency@mander.xyz
- !soilscience@slrpnk.net
- !terrariums@mander.xyz
- !timelapse@mander.xyz
Memes
Miscellaneous
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Fun fact: This is not actually much different from the process of testing which foods trigger your IBS. After keeping the low FODMAPs diet, wherein you initially remove all possible triggers, you then test them one by one to see which ones you have specifically.
With food intolerance you are better off cutting down to just meat (presuming you aren't morally opposed to eating meat) then adding things back in gradually
The only trouble is going on any low carbohydrate diet takes weeks to adapt to, so though you'd be symptom free from your food intolerances you'd have keto adaptation symptoms
This is me. Turns out basically everything gives me dhiarrea.
Is your username inspired by this?
It is indeed!
I feel like a binary search method would work too
A Binary search requires a ordered data set. Something like "if you react to X, you will also react to any X+1, X+2... X+n. Food is not ordered, you cant know if you react badly to bell peper because you reacted badly to whole grain wheat.
Can't you easily reduce this to a compatible problem though?
Let's say you have the set of foods you suspect: red blue green yellow brown purple
You construct an ordered set from this by making the elements sets of foods such that each set is the one to its left plus any one more entry, the leftmost set is the empty one, and the rightmost is the one containing all your suspects:
{}, {red}, {red, blue}, {red, blue, green} .... {red, blue, green, yellow, brown}, {red, blue, green, yellow, brown, purple}
Now a check operation means eating the elements in the current set, if you get sick you go half way to the left border and update the right one, if you don't get sick you go half way to the right border and update the left one.
You should end up with the smallest set that makes you sick. Subtract the set to the left of it and you have the food that makes you sick left over.
Yes, you can reduce it much faster assuming one food doesn't contaminate random other foods and it's not a workplace hygiene thing.
You could also ask for a bowl, dressing on the side, take it home, try the tuna, 12h try the dressing, 12h try the veggies.
Not necessarily, but searching a data set that’s not ordered relies on an assumption that there’s a single thing you’re looking for.
If there are 10 ingredients, you get sick and you only take half next time, you need to be able to assume that there’s one set of 5 that doesn’t get you sick and one that does, and so on until you get down to the last ingredient.
It’s a good way to e.g. quickly find the right breaker in the box, because for each device/ socket there’s just one breaker that’s responsible, so flipping half of them gives you an actionable result
No, it's very different.
When you have multiple allergies/intolerances, starting at zero and then adding one thing at a time is a lot more efficient than removing one thing at a time.
Removing one thing at a time will create many false negatives, where you remove a hit but don't notice because you left another hit behind.
That's not binary search.
Correct. I didn't reply to the binary search post.