ilogical resteraunt menu - Page 1
Forum section: electronics / general

author: Kerlin
author_rank: Regular Contributor
timestamp: January 26, 2024, 01:21:32 am
content: Went to a pub, wasn't aware my programmers mind was switched on, read the menu .......Fish with chips and salad or vegetables.Some one asked can you get chips with vegetables, I checked again and I saw ....Fish with chips and salad, OR vegetables. so I said no you cant.Because logical complements ( not ) are performed first, logical conjunctions ( and ) are performed next, and logical disjunctions ( or ) are performed next.Cash register operator said Yes you can get chips with vegatables, so menu should read...........Fish with chips, AND salad OR vegetables.DOH, Suddenly realized I was thinking in Boolean without even knowing it and went into an LOL when I realized it.

author: PCB.Wiz
author_rank: Super Contributor
timestamp: January 26, 2024, 01:44:53 am
content: Hehe, just had the same thing happen with a credit card.It was $5, and terminal menu said PIN OR ENTERSo, I did exactly what it said, and just pressed enter.It failed, turns out that really mean PINTHENENTER ( or PINANDENTER)

author: brucehoult
author_rank: Super Contributor
timestamp: January 26, 2024, 01:50:42 am
content: Usually that means in you don't have a PIN then you press ENTER and sign instead.Weirdly, most shops / machines in the USA don't accept PIN verification even when your (foreign) card normally uses one.

author: xrunner
author_rank: Super Contributor
timestamp: January 26, 2024, 01:54:15 am
content: Went to buy some things at Home Depot. At the self checkout I scanned it all and then the option is presented"PAY NOW"I asked the lady monitoring the self checkout "Do you know who NOW is? I'm supposed to pay them, but I can't find anyone named "NOW"

author: Veteran68
author_rank: Frequent Contributor
timestamp: January 26, 2024, 02:00:09 am
content: Quote from: brucehoult on January 26, 2024, 01:50:42 amYeah here in the US we don't use a PIN for a POS credit transaction, only for debit transactions. And a VISA or MC network debit card can (in most places) be run as credit/signature without a PIN, but the PIN is required if you're getting cash back. The annoying thing is different POS terminals handle this differently -- some expect you to hit ENTER to run a debit card as a signature transaction while others expect you to hit X/CANCEL to do so. At new terminals I inevitably hit the wrong thing and have to start over, LOL.

author: T3sl4co1l
author_rank: Super Contributor
timestamp: January 26, 2024, 03:15:46 am
content: Wife: "Can you go down to the store and get a gallon of milk, and if they have eggs, get six?"Her programmer husband returned with six gallons of milk.Tim

author: amyk
author_rank: Super Contributor
timestamp: January 26, 2024, 03:55:36 am
content: That would be much clearer as: Fish with chips and (salad or vegetables) .

author: pickle9000
author_rank: Super Contributor
timestamp: January 26, 2024, 04:09:14 am
content: crap I've done that

author: 5U4GB
author_rank: Super Contributor
timestamp: January 26, 2024, 05:24:04 am
content: Quote from: Kerlin on January 26, 2024, 01:21:32 amDid they also back away from you slightly, and cast warning glances to the other staff?

author: Nominal Animal
author_rank: Super Contributor
timestamp: January 26, 2024, 05:31:40 am
content: Am I the only one who always reads POS (point-of-sales) as piece-of-shit?

author: audiotubes
author_rank: Regular Contributor
timestamp: January 26, 2024, 07:00:36 am
content: Quote from: Nominal Animal on January 26, 2024, 05:31:40 amNo, you're not. POS Technology is very much a thing! I remember when CMOS came out, somebody defined what POS meant, even before point of sale was a glint in anyone's eye.As to the restaurant menu issue, "two from column A and one from column B" is just easier

author: Messtechniker
author_rank: Frequent Contributor
timestamp: January 26, 2024, 07:39:23 am
content: Missus: Could you please go down to the basement and see if there is any white wine?Me: Came back with the answer: "Yes".Missus: I expected you to bring the white wine!Girls and boys will never understand each other. Go figure.

author: babysitter
author_rank: Frequent Contributor
timestamp: January 26, 2024, 08:01:34 am
content: Hey guys, you know Borat or Ali G or Brüno?The actor has a brother.The actorsbrother developed a questionaire with a evaluation procedure.You should consider trying it.Edit: bold text marks change.Clarified that its the actors brother, not the brother of the brother of the actor.This edit itself might be related to the topic.

author: harerod
author_rank: Frequent Contributor
timestamp: January 26, 2024, 07:56:04 pm
content: Quote from: Nominal Animal onTodayat 06:31:40I think audiotubes will enjoy this story:A couple of months ago I attended a wedding reception and this MBA lady was introduced to me by the groom. She explained that her work was related to POS (much more ambiguous the way she expressed herself in German). Well, I bit my tongue and let it go. Sure as heck it turned out that this lady was seated right next to me. A couple of hours later we did some pleasant smalltalk at the table, when I couldn't keep myself from saying "I prefer people to define TLA's before using them with newcomers. Say, for example, in linguistics POS stands for part of speech, but often I see it used for piece of shit. However I assume that you meant point of sales?" After that I had to explain the TLA TLA. Not to be unkind, she took my quip quite gracefully.

author: DavidAlfa
author_rank: Super Contributor
timestamp: January 27, 2024, 03:45:01 am
content: Why did you put yourself at risk for some vegetables?"Pizza"is much safer, just avoid the pinneapple, Italians said enough is enough, people is getting stabbed with sharp broken pasta.

author: nctnico
author_rank: Super Contributor
timestamp: January 27, 2024, 01:16:29 pm
content: Sometimes I'm outright cruel. A while ago a cassier at a hardware store asked me 'are you in our system yet?' I answered: 'no, I'm standing right here'.Another one I like to pull out is when people tell me they are looking in their computer. I typically point out that looking at the screen will be more helpfullQuote from: Mechatrommer on January 27, 2024, 05:59:59 amIn most restaurants you can order whatever you like as they charge for extra side dishes. Only on very rare occasions you'll be told you have to make a choice.

author: IDEngineer
author_rank: Super Contributor
timestamp: January 27, 2024, 01:31:34 pm
content: At the Post Office, when they display the "does your parcel contain any hazardous materials" prompt, the YES button is green and the NO button is red.Guess what happens.

author: xrunner
author_rank: Super Contributor
timestamp: January 27, 2024, 02:30:03 pm
content: Was walking around a local hospital while waiting on my mom to finish her appointment with a doctor in another building some years ago. Occasionally they would have tables set up to promote awareness of different health issues with pamphlets and such things to give away.One time they had a table with these things and two ladies behind it to talk to people. The table had a sign that said -Fall PreventionI thought about it for a second and said the following to the ladies -"I know you have good intentions, but there is no way to prevent Fall. It is caused by the orbit of the Earth and the tilt of its axis. You cannot in any way prevent Fall."One of the ladies thought about what I said and giggled a bit.The other one ... well let's just say she was not amused.

author: Nominal Animal
author_rank: Super Contributor
timestamp: January 27, 2024, 02:43:17 pm
content: It's not the Fall that is nasty; it's the cold hard that hits you when it ends.

author: NorthGuy
author_rank: Super Contributor
timestamp: January 27, 2024, 06:21:43 pm
content: Quote from: amyk on January 26, 2024, 03:55:36 amIf you really a programmer you would think of them as bit flags and the whole expression would be quite different from the naive restaurant approachCode:fish | chips | (choice ? salad : vagetables)

author: electr_peter
author_rank: Unknown
timestamp: January 27, 2024, 08:33:46 pm
content: Even logical orders can be confusing

author: IDEngineer
author_rank: Super Contributor
timestamp: January 27, 2024, 09:27:06 pm
content: Copious use of parentheses resolves questions of precedence, even for those people who don't know the rules. Or those compilers that don't follow the set of rules you think they do.

author: coppice
author_rank: Super Contributor
timestamp: January 27, 2024, 09:35:11 pm
content: Quote from: Messtechniker on January 26, 2024, 07:39:23 amThere is a class of person for whom this goesMissus: Could you please go down to the basement and see if there is any white wine?Me: If there is, how much should I bring backMissus: <annoyed rant, because she hadn't thought things through this far, and was hoping someone else would resolve key details>

author: coppice
author_rank: Super Contributor
timestamp: January 27, 2024, 09:40:27 pm
content: Quote from: IDEngineer on January 27, 2024, 09:27:06 pmWould that really be parentheses, or brackets? Others on this forum make fine distinctions, even though various dictionaries can't agree on the precise meaning of the - various - words (which) can  used {to} describe this effect.

author: IDEngineer
author_rank: Super Contributor
timestamp: January 27, 2024, 10:56:41 pm
content: I meant parentheses, the curved ones, not brackets nor braces. Parentheses are generally the characters used by C and Pascal and their many derivatives, which together represent the largest percentage of present day programming languages, in expressions involving math or logic. Brackets are more commonly used for array indexing and braces for initializing functions, arrays, etc.I'm sure there are many exceptions and for the intent of this thread we don't need to make a big deal out of that.

author: Nominal Animal
author_rank: Super Contributor
timestamp: January 28, 2024, 05:48:12 am
content: In human text, square brackets are often used within quotes to indicate uppercase/lowecase initial change (when around a single letter), replace or clarify indirect and implicit references, or to add clarifications like  (to indicate an error in the original). In general, it specifies a difference to the exact original.For example, if I said "I like apples. I know it is said that eating one a day keeps the dogtor away.", one can quote me precisely using "t is said that eating one  a day keeps the dogtor  away."You can find this in several style guides, I believe.

author: IDEngineer
author_rank: Super Contributor
timestamp: January 28, 2024, 11:13:05 am
content: Completely agree, for regular writing! But I thought the context here was software.

author: cv007
author_rank: Frequent Contributor
timestamp: January 28, 2024, 02:38:07 pm
content: QuoteYou created the same menu- your fellow lawyers will still read it wrong, and the normal person who had no problem before will now be thoroughly confused.A simple word swap would probably satisfy anyone-Fish and chips with salad or vegetables

author: xrunner
author_rank: Super Contributor
timestamp: January 28, 2024, 03:04:22 pm
content: Quote from: cv007 on January 28, 2024, 02:38:07 pmPeople are already brain-trained to know what type of "variable" the foods in a menu areIf you think of programming, then menu "variables" in people minds are these typesmain_mealside_dishdrinkdessertSo we have these variables already set up in people's wetware (brain) and the brain knows what to do with them when a menu is read -main_meal fishAndChips;side_dish salad, vegetables;drink coke, tea, water;So when they seeFish and chips with salad or vegetablesThey know what the variable types are already and can decode it easily.It decodes to -main_meal + (side_dish || side dish);Sortof like that. It's already set up in the brain (for most people).

author: coppice
author_rank: Super Contributor
timestamp: January 28, 2024, 03:12:03 pm
content: Quote from: xrunner on January 28, 2024, 03:04:22 pmAmericans have been trained to think "entre" on a menu doesn't mean the starters.

author: Simon
author_rank: Unknown
timestamp: January 29, 2024, 07:27:54 am
content: Quote from: IDEngineer on January 27, 2024, 01:31:34 pmYea, it's like power switches, red is off and green is on. The safe state, green should be off.

author: Halcyon
author_rank: Unknown
timestamp: January 29, 2024, 09:08:18 am
content: Quote from: Simon on January 29, 2024, 07:27:54 amI get confused with the red and green status LEDs on those magnetic door locks you often see above glass doors.Does green mean locked or unlocked? If green, what if unlocked is undesirable, does that mean green=bad?

author: tom66
author_rank: Super Contributor
timestamp: January 29, 2024, 01:04:29 pm
content: Quote from: Nominal Animal on January 26, 2024, 05:31:40 amBrings a whole new meaning to Windows XP POSedition.

author: electr_peter
author_rank: Unknown
timestamp: January 29, 2024, 04:37:54 pm
content: IMO,"Fish and chips and salad or vegetables"translates to"Fish and chips"AND("salad"OR"vegetables"), i.e. main AND (side OR side)."Fish and chips"is a dish by itself,"and"in the middle is not logical operation - it should be interpreted as a frase from 3 words.

author: Nominal Animal
author_rank: Super Contributor
timestamp: January 29, 2024, 05:03:03 pm
content: "Fish and chips, and salad or vegetables" would be unambiguous, I believe. Poor comma, so neglected.

author: AVGresponding
author_rank: Super Contributor
timestamp: January 29, 2024, 05:08:43 pm
content: Quote from: Nominal Animal on January 29, 2024, 05:03:03 pmIndeed, the Oxford comma is underutilised. Lynne Truss wrote a rather good book about it "Eats, Shoots and Leaves".

author: IDEngineer
author_rank: Super Contributor
timestamp: January 29, 2024, 05:22:03 pm
content: Quote from: Nominal Animal on January 29, 2024, 05:03:03 pmBetter: "Fish and chips, *with* salad or vegetables."Best: "Fish and chips, includes your choice of either salad or vegetables."

author: Hydro
author_rank: Regular Contributor
timestamp: January 30, 2024, 04:33:30 am
content: Quote from: electr_peter on January 29, 2024, 04:37:54 pmBeing a programmer, I know several jokes.First one.The wife says to her programmer husband, “Dear, go to the store andbuy onepiece of sausage.andIFthere are eggs,THENbuy a dozen"The programmer husband returns and bringselevenpieces of sausage.

author: vk6zgo
author_rank: Super Contributor
timestamp: January 30, 2024, 05:06:08 am
content: Quote from: PCB.Wiz on January 26, 2024, 01:44:53 amWhy would you need to enter your PIN if you are buying something worth $5?With normal EFTPOS terminals these days you just touch your card & you are done, up to a particular value when you need your PIN.

author: BradC
author_rank: Super Contributor
timestamp: January 30, 2024, 05:15:32 am
content: Quote from: Halcyon on January 29, 2024, 09:08:18 amGreen is "I'm powered and can detect my armature is sufficiently bonded". Red is "I'm powered and can't detect a good magnetic bond with the armature". Off is "I'm unlocked".Of course being a magnetic bond the strength reduces significantly with distance, so it can still be green but with a compromised bond that a good 'hip and shoulder' will pop.Mag locks suck.

author: Halcyon
author_rank: Unknown
timestamp: January 30, 2024, 05:36:23 am
content: Quote from: BradC on January 30, 2024, 05:15:32 amI'm assuming it's largely model dependant. I've seen examples where the same doorway (with two doors) shows two states while both doors are closed. One door is red, the other is green. Obviously in this case it means one is locked and one is unlocked. Which is which? I couldn't tell you until I try the door and find the one that opens.

author: BradC
author_rank: Super Contributor
timestamp: January 30, 2024, 05:51:08 am
content: Quote from: Halcyon on January 30, 2024, 05:36:23 amThat would be highly unusual. It means one is bonded and the other isn't. Often due to bad fitting seals or just plain lack of maintenance, the door needs a shove to get both sides to bond. To unlock a mag lock, they simply drop power from it. When it powers back up it'll indicate its bond state. Mag locks are often used on double leaf doors which are unsuitable for other locking systems (ie when they often need both leafs open).

author: SiliconWizard
author_rank: Super Contributor
timestamp: January 30, 2024, 06:10:07 am
content: Wondering how some people ever manage to eat.

author: babysitter
author_rank: Frequent Contributor
timestamp: February 01, 2024, 06:23:36 pm
content: Let me just please, check how I can {trigger you] [annoy you} (get youfrustrated}!

author: Nominal Animal
author_rank: Super Contributor
timestamp: February 01, 2024, 07:07:52 pm
content: Quote from: babysitter on February 01, 2024, 06:23:36 pmWitch is it's?

author: bingo600
author_rank: Super Contributor
timestamp: February 01, 2024, 07:26:32 pm
content: This one makes sense to me

author: SiliconWizard
author_rank: Super Contributor
timestamp: February 01, 2024, 08:23:38 pm
content: That said, it's probably a joke for old chaps. I dare you to find many younger developers that even know what octal is.

author: mendip_discovery
author_rank: Super Contributor
timestamp: February 01, 2024, 08:34:11 pm
content: My choice would be,"Fish and chips, with a side of salad or vegetables."I do love the pedants, I would drive them up the wall with my abuse of the English language. But if you ever went shopping with them in a supermarket going past the "10 items or less" section would have them twitching with annoyance.

author: aargee
author_rank: Frequent Contributor
timestamp: February 01, 2024, 09:08:39 pm
content: There is logic... then there is the English language.

author: Nominal Animal
author_rank: Super Contributor
timestamp: February 01, 2024, 09:26:50 pm
content: Quote from: mendip_discovery on February 01, 2024, 08:34:11 pmI love abusing languages for fun. Dad jokes, puns, mispronunciation when the opportunity strikes, et cetera.You haven't heard true abuse of the English language until you have heard me say "bi'cycle" (for bicycle) in my Finnish Rally English. I also like to pronounce the c in "miscellaneous" as a k. In Finnish, I pronounce "lastenkodinkadulla" as "las tenko dinka dulla".

author: Kerlin
author_rank: Regular Contributor
timestamp: February 01, 2024, 10:58:42 pm
content: Quote from: xrunner on January 28, 2024, 03:04:22 pm

author: harerod
author_rank: Frequent Contributor
timestamp: February 02, 2024, 08:26:05 am
content: Quote from: Nominal Animal on February 01, 2024, 09:26:50 pmNote to myself: as soon as I get bored with Japanese, I'll look into Finnish.

author: Hydro
author_rank: Regular Contributor
timestamp: February 03, 2024, 03:51:20 am
content: Quote from: Hydro on January 30, 2024, 04:33:30 amThe next joke.When a programmer goes to bed, he puts two glasses on the bedside table- one with water - if he wants to drink- and the other is empty - if he does NOT want to drink

author: larrybud
author_rank: Contributor
timestamp: February 04, 2024, 01:41:35 am
content: Quote from: Nominal Animal on January 26, 2024, 05:31:40 amAbout 20 years ago I got a job writing software which gave companies an online presence for bill pay applications. It wasn't THAT popular back then, so we did one off projects. I made a suggestion that we standardize the application (even if it was a "separate" application for each customer), so that our development time was cut way down. We could then just configure a bunch of settings for the particular customer installation. Not exactly a genius idea now, but back then "software as a service" was coming into it's own.Anyway, our "Director of IT" was a moron. She was a terrible boss, zero people skills, lied to customers constantly (one of the reasons I ended up leaving). But it was up to her to give our new product a name....Yes, you guess it, she called it "Point of sales". I said, no way, you are not calling something I wrote "Point of sales". She didn't know why. I said "POS?? You aren't familiar with that term?". She was not.

author: RJSV
author_rank: Super Contributor
timestamp: February 04, 2024, 02:47:22 am
content: My little quirk, TV REMOTE doesn't control the (whole) World:Neighbor's friend looking 'cute', walking by, there. NICE ! Like to check that out again:PRESSED the 'BACK - REWIND button, before I realized the folly...

author: Halcyon
author_rank: Unknown
timestamp: February 04, 2024, 05:45:27 am
content: Quote from: larrybud on February 04, 2024, 01:41:35 amI won't even begin to tell you what "POS" means within the LGBT community.