News for hackers. Stuff that matters.
Re:A Bad Trip to Infinity by ironSkillet on Saturday March 25, 2023 @04:20PM (#35306880)
The real numbers (everything on the number line, including things like 1, 0, 4/237, and pi) and the integers have no such correspondence. The reals are an "uncountable" infinity.
Re:A Bad Trip to Infinity by Dylan16807 on Saturday March 25, 2023 @07:54PM (#35308885)
Though it's weirder than that. If you can actually put a number on the number line, then you have a computable number. And those are countable.

Uncountable reals only exist as abstract thought experiments.

Re:A Bad Trip to Infinity by AstixAndBelix on Sunday March 26, 2023 @05:08AM (#35312526)
You are mixing up definitions. Pi is computable, meaning we can calculate one by one its digits, but is not rational. If you can compute a number in a finite time, you can put it om the number line, but the only numbers that can be finitely computed are the rationals which are countable
Re:A Bad Trip to Infinity by Dylan16807 on Sunday March 26, 2023 @01:00PM (#35316685)
You can put pi on a number line just fine, though. You can pick any range of the number line to look at, and determine pi's place to arbitrary precision in finite time.

With "uniformly random real between 0 and 1" you can't do that.

More relevantly to infinities, the program that spits out the digits of pi is finite. We can easily count through all the computable numbers, including every number you can specifically name, albeit in a weird order and with duplicates.

It's not a bijection, but if you have a computable number you can derive a natural number that represents its program, and if you have a natural (or rational) number you can derive a program that computes it.

Re:A Bad Trip to Infinity by Viliam1234 on Tuesday March 28, 2023 @03:16PM (#35346361)
> Uncountable reals only exist as abstract thought experiments.

Technically, sufficiently large natural numbers, such as 10^10^10 also exist only as thought experiments.

Technically, if we require the number to refer to some number of objects, there is such as thing as a largest natural number - it is the number of all particles that exist in the universe. If you add +1 to it, the result of that addition exists only as a thought experiment.

Re:A Bad Trip to Infinity by Dylan16807 on Thursday March 30, 2023 @12:55AM (#35368184)
As natural numbers get huge, they become gradually harder to use. Though no, I wouldn't require a number to represent some physical quantity, as long as the number itself fits in some kind of moderate physical boundary.

But real numbers are wonky right from the start. Picking a single random real out of a range is infeasible.