Recent content by sysprog1

  1. sysprog1

    Undergrad Please Explain (actually explain) The Monty Hall Problem

    if there are 100 doors, then you have only 1% chance of having picked the car door when you are offered the option to switch, and if you haven't picked the car door (99% chance), then switching wins (every time), but if you have picked the car door (1% chance), then switching loses (every time)...
  2. sysprog1

    Undergrad Please Explain (actually explain) The Monty Hall Problem

    If you didn't pick the prize door, switching wins; if switching loses; you picked the prize door: ~prize-door ##\rightarrow## (switch ##\rightarrow## win) switch ##\rightarrow## (~win ##\rightarrow## prize-door) Whether you picked the prize door or not is established when you pick a door...
  3. sysprog1

    Undergrad Please Explain (actually explain) The Monty Hall Problem

    Right ##-## if you always switch, then whenever you first pick the prize door (1/3 of the turns), you lose (by switching from the winner); and whenever you first pick one or the other of the non-prize doors (2/3 of the turns), you win (by switching to the winner (the other loser having been...
  4. sysprog1

    Undergrad Please Explain (actually explain) The Monty Hall Problem

    Monty doesn't open the door with the car, and he doesn't open the contestant's selected door. So he always opens a non-car non-selected door. The only new thing the contestant learns from Monty opening a door is which door he opened; whether the remaining non-selected non-opened door was...
  5. sysprog1

    Undergrad Please Explain (actually explain) The Monty Hall Problem

    After the random 1 in 3 car placement and the random 1 in 3 contestant door selection the code need check no further than whether the selected door has a car behind it when selected (3/9=1/3 chance), and whether the contestant switched: all car-holders who switch lose; all others who switch win...
  6. sysprog1

    Likable AI Christmas Art

    It seems to me incongruous and disrespectful that she capitalizes on the commercial cachet of non-secular Christmas carols with explicit Christ references edited out. Presumably they are so-redacted because singing the songs with the Christ words left in would not be acceptable to her as a...
  7. sysprog1

    High School A Mind-Boggling Number Comparison

    Got me there ##-## at first I thought, typo? (presumably yes, for an actual number of books in an actual library ##-## either ##{({10^{10}})}^6## or ##10^{({10^6})}## is way too big) ##-## but ##10 \times 10^6## (##=10^7##, or 10,000,000 = ten million, is a goodly number of books for a very...
  8. sysprog1

    Learning data structures and algorithms in different programming languages

    I found this book very helpful in my student days -- its content is still comp-sci foundational, and by it the applicability of graph theory to computer programming of/or/and data structures is clearly shown...
  9. sysprog1

    Learning data structures and algorithms in different programming languages

    The rosettacode.org site has many sample programming tasks/problems and it shows solutions implemented for each of them in dozens of languages,
  10. sysprog1

    COBOL and MUSKateers

    The IBM System/360 had a date format with 2 digits for the year. IBM Systems Reference Library IBM System/360 Operating System Control Program Services Changing to a 4-digit year genuinely was necessary for disambiguation, and all the mainframe software vendors had Y2K-compliant editions of...
  11. sysprog1

    How did ‘concern’ semantically shift to mean ‘commercial enterprise' ?

    The Oxford Dictionary of English Etymology is not prohibitively expensive: new on Amazon: https://amazon.com/Oxford-Dictionary-English-Etymology/dp/0198611129?tag=pfamazon01-20 in very good condition on Alibris: https://alibris.com/search/books/isbn/9780198611127?qwork=4942312
  12. sysprog1

    A positive term needed for ongoing (alien) sleeplessness

    Perhaps 'Formicians' -- Formicidae, the ant family, as far as we know are the only insects that never sleep.