Recent content by sysprog1

  1. sysprog1

    Do old CRT and O-scopes degrade to emit harmful X Rays?

    No, It means that they're made with enough lead in the glass to ensure that instead of passing x-rays, they block them. Yes, 40% is not atypical, although closer to 30% would be closer to average, but higher than 40% would be common in the parts of the tube near the element. The lead is bound...
  2. sysprog1

    Help me build my server with a laptop that has a broken screen

    I think Linux Mint is a good choice for those machine specs ##-## it's built from ubuntu and other debian with stability and backward compatibility prioritized more than latest features, and it's lightweight ##-## For the deployment platform, and for self-hosting in general, you could try...
  3. sysprog1

    Help me build my server with a laptop that has a broken screen

    That machine has VGA and HDMI ports, whereby to connect to an external monitor ##-## if the port isn't damaged, it should become active during the boot sequence; if not automatically on, fn F7 should toggle it on. You could try booting from the DVD player using a linux .iso live DVD, and from...
  4. sysprog1

    Undergrad Please Explain (actually explain) The Monty Hall Problem

    I think that this is an entertaining explanation for people who already understand that the game favors switchers over stickers, 2/3 to 1/3; however, for those who don't, it's maybe a little overly indirect:
  5. sysprog1

    Undergrad Please Explain (actually explain) The Monty Hall Problem

    It's not 50%. Among car-door pickers (1/3 of contestants), all stickers win, all switchers lose; Among goat-door pickers (2/3 of contestants), all switchers win, all stickers lose. You can't know in advance which kind of picker you are, whether you're a car-door picker or a goat-door picker...
  6. sysprog1

    Undergrad Please Explain (actually explain) The Monty Hall Problem

    What's behind each door does not change, and the collective chance of the non-selected doors (that's (n-1)/n, in the case of 100 doors, that's 99/100) does not change, but opening the non-selected non-car doors causes that 99/100 chance to be aggregated into and distributed over fewer doors...
  7. 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)...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. 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...
  15. 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,