News for hackers. Stuff that matters.
Re:Embedded PDF viewer in Firefox 81 supports filling forms by mtzet on Tuesday September 22, 2020 @12:01PM (#24556116)
Well maybe. We don't know if pi is a normal number.
Re:Embedded PDF viewer in Firefox 81 supports filling forms by poizan42 on Wednesday September 23, 2020 @10:20AM (#24567368)
Actually it only needs to be a disjunctive (or rich) number which is a weaker condition.

We don't know whether pi is that either for any integer base.

Re:Embedded PDF viewer in Firefox 81 supports filling forms by SteveGoob on Tuesday September 22, 2020 @12:40PM (#24556671)
> We don't know if pi is a normal number.

Sure we do. There are plenty of proofs out there that pi is an irrational number.

Re:Embedded PDF viewer in Firefox 81 supports filling forms by andreareina on Tuesday September 22, 2020 @12:43PM (#24556713)
Irrational does not imply normal. For example, 1.01001000100001... is irrational but it's certainly not normal.
Re:Embedded PDF viewer in Firefox 81 supports filling forms by x3c on Tuesday September 22, 2020 @02:54PM (#24558395)
Technically, 1.01001000100001... can be normal depending on what ... stands for. :)
Re:Embedded PDF viewer in Firefox 81 supports filling forms by bscphil on Tuesday September 22, 2020 @06:08PM (#24560547)
Well, obviously. But presumably the ... is meant to imply that this is the summation of 1/(10^(x(x+3)/2)).
Re:Embedded PDF viewer in Firefox 81 supports filling forms by coddle-hark on Tuesday September 22, 2020 @03:55PM (#24559075)
Or what 1 or 0 or . stands for.
Re:Embedded PDF viewer in Firefox 81 supports filling forms by landryl on Tuesday September 22, 2020 @03:27PM (#24558732)
Actually I'd argue the example you provided is normal, as long as you authorise a particular encoding where every number n you're looking for is encoded as a string of n zeros.

It's then trivial to see that every number you can think of is encoded in there, and therefore any data, piece of music or movie that ever existed.

(I'm not sure we're allowed to fiddle with the encoding, but since we allow ourselves to represent a piece of music into a number, we're already talking about encoding anyway, so it doesn't seem like cheating to me...)

Re:Embedded PDF viewer in Firefox 81 supports filling forms by enedil on Tuesday September 22, 2020 @03:36PM (#24558860)
Normality of a number is with respect to number bases, so your trick with encoding is invalid. Otherwise, every computable number could be considered normal - take an algorithm for generating of it, supply a random string (this is the encoding), disregard the random string, and you have a perfectly valid normal representation of your number. So it is cheating.
Re:Embedded PDF viewer in Firefox 81 supports filling forms by NieDzejkob on Wednesday September 23, 2020 @07:41AM (#24565800)
I agree that normality is a specific formalized concept, but you could always require that an encoding function like this is injective.
Re:Embedded PDF viewer in Firefox 81 supports filling forms by dheera on Tuesday September 22, 2020 @04:29PM (#24559493)
Encoding doesn't count. Normality is a very specific mathematical concept: https://en.wikipedia.org/wiki/Normal_number

Also, 1.01001000100001... is a good example of a number that is both irrational and transcendental but not normal.

Re:Embedded PDF viewer in Firefox 81 supports filling forms by jimktrains2 on Tuesday September 22, 2020 @02:50PM (#24558354)
Normal in this sense means that all the frequency of all digits approaches a uniform distribution as the length of the sample increases towards infinity. Basically if we could see "all of" π and count all the 0s, 1s 2s, 3s, &c to 9 all the counts would be equal.
Re:Embedded PDF viewer in Firefox 81 supports filling forms by gugagore on Tuesday September 22, 2020 @03:26PM (#24558721)
That on its own can't be right, because 0.12345678901234.....

According to wikipédia, you gave a definition for "simply normal", and for normal numbers the distribution of any sequence of digits is uniform. So 00, 01, ..., 99 each occur uniformally too.

Re:Embedded PDF viewer in Firefox 81 supports filling forms by enedil on Tuesday September 22, 2020 @03:37PM (#24558870)
Moreover you need to consider it with regards to all other bases than 10 too.