TDWTF Plays Trivia
-
Did we exhaust three thousand questions or something?
@error feature request: seed your RNG properly.
-
@Gąska said in TDWTF Plays Trivia:
Did we exhaust three thousand questions or something?
@error feature request: seed your RNG properly.
Not mine. Web service chooses the questions.
-
@error said in TDWTF Plays Trivia:
@Gąska said in TDWTF Plays Trivia:
Did we exhaust three thousand questions or something?
@error feature request: seed your RNG properly.
Not mine. Web service chooses the questions.
And I choose the random numbers.
-
@error Also, what is going on that the bot asks new questions when nobody tried yet? Was it restarted or is it a feature for when nobody is answering the last question in the last few hours?
-
@JBert said in TDWTF Plays Trivia:
@error Also, what is going on that the bot asks new questions when nobody tried yet? Was it restarted or is it a feature for when nobody is answering the last question in the last few hours?
Usually means I patched the bot and it restarted.
-
@error said in TDWTF Plays Trivia:
@JBert said in TDWTF Plays Trivia:
@error Also, what is going on that the bot asks new questions when nobody tried yet? Was it restarted or is it a feature for when nobody is answering the last question in the last few hours?
Usually means I patched the bot and it restarted.
To clarify: I have it running in dev mode, so webpack is watching the filesystem for code changes, and as soon as I save a file, it gets compiled and reloaded.
If a file depends on that file, it also gets reloaded, or - more commonly - if I save a file with an error in it, everything gets reloaded.
The games save state and restore state in the non-error case, so usually you don't see anything happen. I patch the bot between dozens and hundreds of times a day.
Filed under: I take "move fast and break stuff" quite literally.
-
@Gąska said in TDWTF Plays Trivia:
Did we exhaust three thousand questions or something?
@error feature request: seed your RNG properly.
The chance not to pull duplicates when pulling K times from a collection of N is
n!/(n^k(n-k)!)
@error_bot wolfram n!/(n^k(n-k)!)
-
Wolfram|Alpha said:
Input
Result
Values
Plots
Alternate form
Root
Series expansion at n = 0
Series expansion at n = ∞
Derivative
-
@PleegWat The web service actually treats the questions like a deck of cards, discarding used ones from the pile. The problem is the "full reload" scenario above results in a fresh deck.
-
History
What disease crippled President Franklin D. Roosevelt and led him to help the nation find a cure?
A. HIVB. MeningitisC. PolioD. Cancer
-
-
C:\Users\error\Documents\src\error-bot\dist\webpack:\src\modules\trivia.tsx:443
let { guessed, correct, answers } = roundContext;
^
TypeError: Cannot destructure propertyguessed
of 'undefined' or 'null'.
-
History
What disease crippled President Franklin D. Roosevelt and led him to help the nation find a cure?
A. PolioB. MeningitisC. HIVD. Cancer
-
-
History
What disease crippled President Franklin D. Roosevelt and led him to help the nation find a cure?
A. PolioB. MeningitisC. HIVD. Cancer
@error provided the correct answer: A!
-
Entertainment: Television
In the TV show "Cheers", Sam Malone was a former relief pitcher for which baseball team?
A. New York MetsB. Baltimore OriolesC. Boston Red SoxD. Milwaukee Brewers
-
History
What disease crippled President Franklin D. Roosevelt and led him to help the nation find a cure?
A. PolioB. HIVC. MeningitisD. Cancer
-
-
History
What disease crippled President Franklin D. Roosevelt and led him to help the nation find a cure?
A. PolioB. HIVC. MeningitisD. Cancer
@error provided the correct answer: A!
-
Entertainment: Television
In the TV show "Cheers", Sam Malone was a former relief pitcher for which baseball team?
A. Boston Red SoxB. New York MetsC. Baltimore OriolesD. Milwaukee Brewers
-
@error said in TDWTF Plays Trivia:
C:\Users\error\Documents\src\error-bot\dist\webpack:\src\modules\trivia.tsx:443
let { guessed, correct, answers } = roundContext;
^
TypeError: Cannot destructure propertyguessed
of 'undefined' or 'null'.Did I break @error_bot?
-
@Atazhaia said in TDWTF Plays Trivia:
@error said in TDWTF Plays Trivia:
C:\Users\error\Documents\src\error-bot\dist\webpack:\src\modules\trivia.tsx:443
let { guessed, correct, answers } = roundContext;
^
TypeError: Cannot destructure propertyguessed
of 'undefined' or 'null'.Did I break @error_bot?
Nope, I did. And it should work now.
-
?
-
Entertainment: Television
In the TV show "Cheers", Sam Malone was a former relief pitcher for which baseball team?
A. Boston Red SoxB. New York MetsC. Baltimore OriolesD. Milwaukee Brewers
D is incorrect. Try again later.Lockouts
djls45 is locked out for 2 rounds or 1 hour.
-
-
Entertainment: Television
In the TV show "Cheers", Sam Malone was a former relief pitcher for which baseball team?
A. Boston Red SoxB. New York MetsC. Baltimore OriolesD. Milwaukee Brewers
@jinpa provided the correct answer: A!
-
Entertainment: Video Games
What was the character Kirby originally going to be named?
A. DededeB. Prince PuffC. Waddle DeeD. Popopo
-
@error_bot B
?
-
Entertainment: Video Games
What was the character Kirby originally going to be named?
A. DededeB. Prince PuffC. Waddle DeeD. Popopo
B is incorrect. Try again later.Lockouts
djls45 is locked out for 2 rounds or 1 hour.
-
-
Entertainment: Video Games
What was the character Kirby originally going to be named?
A. DededeB. Prince PuffC. Waddle DeeD. Popopo
@izzion provided the correct answer: D!
-
Entertainment: Books
How many books are in the Chronicles of Narnia series?
A. 8B. 7C. 6D. 5
-
-
Entertainment: Books
How many books are in the Chronicles of Narnia series?
A. 8B. 7C. 6D. 5
@izzion provided the correct answer: B!
-
History
What was William Frederick Cody better known as?
A. Billy the KidB. Buffalo BillC. Wild Bill HickokD. Pawnee Bill
-
-
History
What was William Frederick Cody better known as?
A. Billy the KidB. Buffalo BillC. Wild Bill HickokD. Pawnee Bill
A is incorrect. Try again later.Lockouts
izzion is locked out for 2 rounds or 1 hour.
-
-
History
What was William Frederick Cody better known as?
A. Billy the KidB. Buffalo BillC. Wild Bill HickokD. Pawnee Bill
@error provided the correct answer: B!Lockouts
izzion is locked out for 2 rounds or 52 minutes, 12 seconds.
-
Science: Computers
What does GHz stand for?
A. GigahatzB. GigahertzC. GigahetzD. GigahotzLockouts
izzion is locked out for 1 round or 52 minutes, 6 seconds.
-
-
Science: Computers
What does GHz stand for?
A. GigahatzB. GigahertzC. GigahetzD. Gigahotz
@jinpa provided the correct answer: B!Lockouts
izzion is locked out for 1 round or 46 minutes, 55 seconds.
-
History
Which of the following ancient peoples was NOT classified as Hellenic (Greek)?
A. DoriansB. IoniansC. AchaeansD. Illyrians
-
-
History
Which of the following ancient peoples was NOT classified as Hellenic (Greek)?
A. DoriansB. IoniansC. AchaeansD. Illyrians
@djls45 provided the correct answer: D!
-
Science & Nature
What is the scientific name of the knee cap?
A. PatellaB. FemurC. Foramen MagnumD. Scapula
-
-
Science & Nature
What is the scientific name of the knee cap?
A. PatellaB. FemurC. Foramen MagnumD. Scapula
D is incorrect. Try again later.Lockouts
Tsaukpaetra is locked out for 2 rounds or 1 hour.
-
-
Science & Nature
What is the scientific name of the knee cap?
A. PatellaB. FemurC. Foramen MagnumD. Scapula
@djls45 provided the correct answer: A!Lockouts
Tsaukpaetra is locked out for 2 rounds or 59 minutes, 52 seconds.