Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 11048 11049 [11050] 11051 11052 ... 11067

Author Topic: Things that made you go "WTF?" today o_O  (Read 15111540 times)

Egan_BW

  • Bay Watcher
  • Not for lack of capacity.
    • View Profile
Re: Things that made you go "WTF?" today o_O
« Reply #165735 on: November 01, 2024, 04:21:24 pm »

Another nice one: if you pick a positive integer at random, what's the probability that it's prime?
Zero, because there's an infinite chance that your chosen integer will be infinite, and infinity can't be prime because it's not a number!
[trollface]
Logged
Anything is possible with wisdom, forethought, and moderation. All things in short supply.

heydude6

  • Bay Watcher
    • View Profile
Re: Things that made you go "WTF?" today o_O
« Reply #165736 on: November 01, 2024, 06:04:46 pm »

Prime number theorem states the ratio of primes to composites, so the answer to your question is whatever that equation spits out. Sadly, the math is too complicated for me to read and understand.
Logged
Lets use the ancient naval art of training war parrots. No one will realize they have been boarded by space war parrots until it is to late!
You can fake being able to run on water. You can't fake looking cool when you break your foot on a door and hit your head on the floor.

McTraveller

  • Bay Watcher
  • This text isn't very personal.
    • View Profile
Re: Things that made you go "WTF?" today o_O
« Reply #165737 on: November 01, 2024, 06:17:46 pm »

I recently learned about n-adic numbers, and learned that infinities are just beyond normal comprehension.

Like how a number represented in base 10 as an infinite sequence of 9s is provably equal to -1, because if you add 1 to it, you end up with an infinite sequence of 0s. If you don't like that thought experiment you can do the thing like you do for repeating decimals; if m = ...9999999, then 10m = ....9999990, so m-10m = 9, so m(1-10)=9, so -9m = 9, so m = -1.
Logged
This product contains deoxyribonucleic acid which is known to the State of California to cause cancer, reproductive harm, and other health issues.

pisskop

  • Bay Watcher
  • Too old and stubborn to get a new avatar
    • View Profile
Re: Things that made you go "WTF?" today o_O
« Reply #165738 on: November 01, 2024, 06:23:09 pm »

Unreal numbers, man
Logged
Pisskop's Reblancing Mod - A C:DDA Mod to make life a little (lot) more brutal!
drealmerz7 - pk was supreme pick for traitor too I think, and because of how it all is and pk is he is just feeding into the trollfucking so well.
PKs DF Mod!

hector13

  • Bay Watcher
  • It’s shite being Scottish
    • View Profile
Re: Things that made you go "WTF?" today o_O
« Reply #165739 on: November 01, 2024, 06:33:24 pm »

I feel I should apologize for introducing mathematics to the wtf thread.
Logged
Look, we need to raise a psychopath who will murder God, we have no time to be spending on cooking.

If you struggle with your mental health, please seek help.

Starver

  • Bay Watcher
    • View Profile
Re: Things that made you go "WTF?" today o_O
« Reply #165740 on: November 01, 2024, 09:21:51 pm »

I feel I should apologize for introducing mathematics to the wtf thread.
It's a product of the additional power to divide us, 'cos the take-away from this is that we should just get real, log the sin and reciprocate with an equivalently base expression of vulgar irrationality.
Logged

Mathel

  • Bay Watcher
  • A weird guy.
    • View Profile
Re: Things that made you go "WTF?" today o_O
« Reply #165741 on: November 02, 2024, 02:49:23 am »

About the monkeys typing the word "bananas", it would actually be 9 separate keystrokes. Because in order for it to be a word, it has to have a space on each end. But the spaces can each be achieved through 3 different characters, those being LINE FEED, TAB, and SPACE.

Another issue is though, that they used the population of chimpazees. They should have taken the population of all monkeys, not just one species of apes.
Logged
The shield beats the sword.
Urge to drink milk while eating steak wrapped with bacon rising...
Outer planes are not subject to any laws of physics that would prevent them from doing their job.
Better than the heavenly host eating your soul.

Frumple

  • Bay Watcher
  • The Prettiest Kyuuki
    • View Profile
Re: Things that made you go "WTF?" today o_O
« Reply #165742 on: November 02, 2024, 07:28:51 am »

About the monkeys typing the word "bananas", it would actually be 9 separate keystrokes. Because in order for it to be a word, it has to have a space on each end
lodhavemercybutnoneodatistruahaha
Logged
Ask not!
What your country can hump for you.
Ask!
What you can hump for your country.

Starver

  • Bay Watcher
    • View Profile
Re: Things that made you go "WTF?" today o_O
« Reply #165743 on: November 02, 2024, 01:29:39 pm »

About the monkeys typing the word "bananas", it would actually be 9 separate keystrokes. Because in order for it to be a word, it has to have a space on each end. But the spaces can each be achieved through 3 different characters, those being LINE FEED, TAB, and SPACE.
(Parentheses) "Quotes" :Other; ¿Hey? OrPresumeACamelCaseVariation.

Quote
Another issue is though, that they used the population of chimpazees. They should have taken the population of all monkeys, not just one species of apes.
Possibly bononononobos can type "banananananas" easier. (In both cases, easier to start than to stop!)


More seriously, this is all part of the "What actual parameters are they using?" question that I have. For example, if you did something like...
Code: (In Perl, but not actually tested for thinkos or typos) [Select]
while ($folio_text=~s/[^$valid]+//msg) {} # Strip any input not considered valid to actualy match
while ($chimp_text=~s/[^$valid]+//msg) {} # Strip anything not considered valid for match
&same($folio_text,$chimp_text) || next; # mismatch?
say "Yay!" && last; # success!
...then you could have it so that $valid="a-zA-Z" or $valid="\\w\\s" or $valid="\\p{ASCII}", but then they'd give totally different magnitudes when seeking emperical answers for how unlikely (or lengthy a wait) it would be for (a selection of) chimp texts to match the target folio text. (Equivalent for shielding off any 'awkward' keys on a mechanical typewriter.) Even more so if you also lc() or uc() it whilst pre-processing the string streams.

Logged

MaxTheFox

  • Bay Watcher
  • Лишь одна дорожка да на всей земле
    • View Profile
Re: Things that made you go "WTF?" today o_O
« Reply #165744 on: November 02, 2024, 07:30:15 pm »

Prime number theorem states the ratio of primes to composites, so the answer to your question is whatever that equation spits out. Sadly, the math is too complicated for me to read and understand.
You can switch to Simple English in the language menu for complex technical articles to get a quick run-down. https://simple.wikipedia.org/wiki/Prime_number_theorem

Quote from: The whole article
The prime number theorem is a theorem from number theory. Prime numbers are not distributed evenly across the number range. The theorem formalizes the idea that the probability of hitting a prime number between 1 and a given number becomes smaller, as numbers grow. This probability is about n/ln(n), where ln(n) is the natural logarithm function. This means that the probability of hitting a prime number with 2n digits is about half as likely than with n digits. For example, among the positive integers of at most 1000 digits, about one in 2300 is prime (ln 101000 ≈ 2302.6), whereas among positive integers of at most 2000 digits, about one in 4600 is prime (ln 102000 ≈ 4605.2). In other words, the average gap between consecutive prime numbers among the first N integers is roughly ln(N).[1]

Fifteen-year old Carl Friedrich Gauss suspected that there was a link between prime numbers and logarithms in 1793. Adrien-Marie Legendre also suspected such a link in 1798. Jacques Hadamard and Charles-Jean de La Vallée Poussin proved the prime number theorem in 1896, over a century after Gauss.
Logged
Woe to those who make unjust laws, to those who issue oppressive decrees, to deprive the poor of their rights and withhold justice from the oppressed of my people, making widows their prey and robbing the fatherless. What will you do on the day of reckoning, when disaster comes from afar?

NJW2000

  • Bay Watcher
  • You know me. What do I know?
    • View Profile
Re: Things that made you go "WTF?" today o_O
« Reply #165745 on: November 03, 2024, 05:47:44 am »

Another nice one: if you pick a positive integer at random, what's the probability that it's prime?
Zero, because there's an infinite chance that your chosen integer will be infinite, and infinity can't be prime because it's not a number!
[trollface]
This gave me a small headache, which I assume was the intention.


Prime number theorem states the ratio of primes to composites, so the answer to your question is whatever that equation spits out. Sadly, the math is too complicated for me to read and understand.
This is a pretty good answer. The theorem in question tells you that for a big enough number N, the proportion of primes under N tends to be close to1/log(N). As N tends to infinity, 1/log(N) approaches 0, so the chance of picking a prime at random from all integers is 0.

Was this roughly your thought process?

You’re not exactly wrong - this is definitely AN answer. But you’re not exactly right either.

You’d be just as right if you’d said 0.5, in fact.
« Last Edit: November 03, 2024, 11:05:07 am by NJW2000 »
Logged
One wheel short of a wagon

MaxTheFox

  • Bay Watcher
  • Лишь одна дорожка да на всей земле
    • View Profile
Re: Things that made you go "WTF?" today o_O
« Reply #165746 on: November 03, 2024, 07:35:16 am »

Actually, in statistics there is the concept of "almost all" or "almost none".

Say you have an infinite set A where there are an infinite amount of 1s but, say one or two or a thousand 2s. Intuition says that you have zero probability of picking a 2 if you randomly picked an element. But actually you have an almost zero probability of picking a 2. So, 0 for practical purposes but for some mathematical functions the distinction matters.

Mathematicians are a pedantic bunch.
Logged
Woe to those who make unjust laws, to those who issue oppressive decrees, to deprive the poor of their rights and withhold justice from the oppressed of my people, making widows their prey and robbing the fatherless. What will you do on the day of reckoning, when disaster comes from afar?

pisskop

  • Bay Watcher
  • Too old and stubborn to get a new avatar
    • View Profile
Re: Things that made you go "WTF?" today o_O
« Reply #165747 on: November 03, 2024, 09:13:13 am »

So what I'm getting out of all this is that somewhere in between my grade 7 algebra II and Quantum Statistics there is a useful application of math?
Logged
Pisskop's Reblancing Mod - A C:DDA Mod to make life a little (lot) more brutal!
drealmerz7 - pk was supreme pick for traitor too I think, and because of how it all is and pk is he is just feeding into the trollfucking so well.
PKs DF Mod!

Eschar

  • Bay Watcher
  • hello
    • View Profile
Re: Things that made you go "WTF?" today o_O
« Reply #165748 on: November 03, 2024, 10:34:34 am »

Another nice one: if you pick a positive integer at random, what's the probability that it's prime?
Zero, because there's an infinite chance that your chosen integer will be infinite, and infinity can't be prime because it's not a number!
[trollface]

There's zero chance of your chosen integer being infinity because it's not an integer
Logged

Starver

  • Bay Watcher
    • View Profile
Re: Things that made you go "WTF?" today o_O
« Reply #165749 on: November 03, 2024, 12:06:22 pm »

There's zero chance of your chosen integer being infinity because it's not an integer
Indeed. It's a fruit, even though people usually tend to treat it as a vegetable.
Logged
Pages: 1 ... 11048 11049 [11050] 11051 11052 ... 11067