Today I learned: Python’s concurrency-safe queue structures have a hard limit of 32,768 items. I totally did not deadlock a piece of code by not paying attention to that, why do you ask?
So THAT’S why my first programming teacher made me learn the first 16 powers of two by heart.
-
-
When I was in High school (which was a looooong time ago), one of our teachers had us chanting "two to the tenth is ten twenty four" and insisted we would need to know that. He was right!
-
We also chanted "The log base ten of the number x is the power of ten that gives you x". Which saved my bacon a few times when it had been a while since I used logarithms and suddenly had to know them. He was goofy, but a great teacher.
Kraj razgovora
Novi razgovor -
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.