pixelscience

joined 1 year ago
[–] [email protected] 1 points 5 months ago* (last edited 5 months ago)

Put it in ChatGPT, just for fun...

To find the probability of drawing 7 or more face cards (which includes Jacks, Queens, Kings, and Aces) from 8 random cards, we first need to recognize that in a standard deck of 52 cards, there are 16 face cards (4 each of Jacks, Queens, Kings, and Aces) and 36 non-face cards.

We need to calculate the probabilities of two cases:

  1. Drawing exactly 7 face cards and 1 non-face card.
  2. Drawing 8 face cards.

For both, we can use the hypergeometric distribution. The general formula for the hypergeometric probability is:

[ P(X = k) = \frac{{\binom{K}{k} \binom{N-K}{n-k}}}{{\binom{N}{n}}} ]

Where:

  • ( N ) is the total number of items (cards in the deck, 52),
  • ( K ) is the total number of items of one type (face cards, 16),
  • ( n ) is the number of items to be drawn (8),
  • ( k ) is the number of items of one type to be drawn.

For 7 face cards: [ P(X = 7) = \frac{{\binom{16}{7} \binom{36}{1}}}{{\binom{52}{8}}} ]

For 8 face cards: [ P(X = 8) = \frac{{\binom{16}{8} \binom{36}{0}}}{{\binom{52}{8}}} ]

We will calculate these probabilities to get the final answer.

The probability of drawing 7 or more face cards (Jacks, Queens, Kings, Aces) from 8 random playing cards is approximately 0.0564%, or about 1 in 1772. This is a rare event given the small proportion of face cards in a standard deck.

[–] [email protected] 4 points 5 months ago

I grew up in Georgia, and when I was in elementary school, my mom had a friend with a couple older boys who lived in California. Every year, when they would grow out of their clothes, I would get a giant box of the coolest California clothes like Op and Quicksilver. I used to think I was so cool in school.

[–] [email protected] 2 points 7 months ago* (last edited 7 months ago) (1 children)

It was the vending machine underground or in some tunnel in Monkey Island 2. It's been a while since I played through that one again.

[–] [email protected] 3 points 7 months ago (3 children)

Oh yeah, my Dad was a cheapskate. No way he was going to pay for a 1 900 number lol.

Yep, on the ScummVM. I've played through all the Lucas arts games. I remember where I got stuck on Monkey Island and felt so dumb when I figured out what I wasn't doing.

[–] [email protected] 5 points 7 months ago* (last edited 7 months ago) (7 children)

I remember playing this with my Dad. We got to some point in the later game and got stuck and couldn't continue. Same thing happened with Monkey Island.

Back before the internet, we didn't really have any way to get help. There was probably a number you could call, but I can't remember.

[–] [email protected] 18 points 7 months ago* (last edited 7 months ago) (3 children)

Most people had a hard enough time telling the difference between man made fact and fiction, now they have to tell the difference between AI fact and fiction on top.

[–] [email protected] 3 points 7 months ago (2 children)

Typing abusive is a trigger for them.

[–] [email protected] 5 points 7 months ago* (last edited 7 months ago)

I've generally had good luck with hardware and things just worked under linux. But one day I upgraded a few machines on my network to 2.5G ethernet. Several already had the ports, but my little NUC NAS box didn't, so I installed a 2.5G usb ethernet dongle. No matter what I did, I couldn't get it to work. It would show up and NM would act like it was up and there were no errors or anything, but it just wouldn't actually function.

Eventually, I found out that it has a built in USB data partition that contains the drivers for windows. The card was coming up as a usb disk first when the hardware was assigned and not a network card which it should have been.

I had to write a blacklist the usb modules first, which I had done before, but I had to also write a udev rule to automatically add the network card and driver on boot. It wasn't that difficult to actually do, but I had just never had to do anything with udev rules before. Took me a good three days of troubleshooting to finally get everything to work correctly on boot.

ACTION=="add", ATTRS{idVendor}=="20f4", ATTRS{idProduct}=="e02c", RUN+="/sbin/modprobe r8152" RUN+="/bin/sh -c 'echo 20f4 e02c > /sys/bus/usb/drivers/r8152/new_id'"

[–] [email protected] 6 points 7 months ago

Not on my Galaxy S23+ from Google Fi

[–] [email protected] 35 points 7 months ago* (last edited 7 months ago)

Thou must taketh thy Lord's load!

[–] [email protected] 1 points 7 months ago

Not really. It'll be fine. An amp that puts out 25W per speak will blow those speakers if you turn it up to max volume on a good reciever.

[–] [email protected] 2 points 7 months ago

"Now what they know about the banana and mayonnaise?"

view more: next ›