70 points

Why would you miss the opportunity to make the web page continue computing pi to as many digits as you feel like scrolling down to expose though

permalink
report
reply
33 points

Whoa. No spoilers for Contact please.

permalink
report
parent
reply
3 points

Turns out that’s not possible because the complexity of computing pi becomes exponentially harder the more digits you add.

permalink
report
parent
reply
40 points
*

That is definitely not true. Pi has been computed to way more digits than would be feasible if it were exponential. Looks to me like it’s O(n log(n)^3) with n=the number of digits, which sounds basically fine for any number of digits any human is going to have the patience to scroll down to.

permalink
report
parent
reply
4 points
*

Okay, maybe exponential is the wrong math term, but my point is, the complexity grows with number of digits. Infinite scrolling is therefore impossible because eventually it will become too slow to keep up with scrolling. You may be right that it may go farther than any human is willing to scroll, but that depends on the human and if they’re on a potato phone.

As far as I know, the current fastest algorithm is the Bailey–Borwein–Plouffe formula, which is O(n log n) to calculate the nth digit (not even the whole number). Infinite scrolling is only possible if we can calculate the nth digit in O(1) time.

permalink
report
parent
reply
8 points

There was a recent post asking what the self-taught among us feel we are missing from our knowledge base. For me, it’s being able to calculate stuff like that for making decisions. I feel like I can spot an equivalence to the travelling salesman problem or to the halting problem a mile away, but anything more subtle is beyond me.

Of course, in this situation, I’d probably just see if I could find a sufficiently large precalculation and just pretend :)

permalink
report
parent
reply
13 points

Why stop at 1 billion?.. Let’s go for a trillion, just because we can.

permalink
report
reply
16 points

we do what we must because we can

permalink
report
parent
reply
4 points

For the good of all of us, except the ones who are dead

permalink
report
parent
reply
4 points

But there’s no sense crying over every mistake

permalink
report
parent
reply
4 points
3 points

Idk how much the original gif weighted, but a gif that’s thousand more than that would be an absolute pain to load.

permalink
report
parent
reply
37 points

I like to use 16, just to be safe.

permalink
report
reply
15 points

A nice, round number.

permalink
report
parent
reply
3 points

Much more round than 17 at least

permalink
report
parent
reply
6 points

It’s a bit far off. You should round down to 3 at the very least.

permalink
report
parent
reply
190 points

Even cooler, at 75 digits you can calculate the circumference of your mom

permalink
report
reply
49 points
*

Joke’s on you, I only needed 69 digits to calculate the circumference of your dad’s cock

permalink
report
parent
reply
2 points
Deleted by creator
permalink
report
reply

Science Memes

!science_memes@mander.xyz

Create post

Welcome to c/science_memes @ Mander.xyz!

A place for majestic STEMLORD peacocking, as well as memes about the realities of working in a lab.



Rules

  1. Don’t throw mud. Behave like an intellectual and remember the human.
  2. Keep it rooted (on topic).
  3. No spam.
  4. Infographics welcome, get schooled.


Research Committee

Other Mander Communities

Science and Research

Biology and Life Sciences

Physical Sciences

Humanities and Social Sciences

Practical and Applied Sciences

Memes

Miscellaneous

Community stats

  • 12K

    Monthly active users

  • 2.8K

    Posts

  • 67K

    Comments