• 0 Posts
  • 5 Comments
Joined 1 year ago
cake
Cake day: June 10th, 2023

help-circle

  • Really enjoyed the read. Thanks for sharing. I’m surprised by the random page implementation.

    Usually in a database each record has an integer primary key. The keys would be assigned sequentially as pages are created. Then the “random page” function could select a random integer between zero and the largest page index. If that index isn’t used (because the page was deleted), you could either try again with a new random number or then march up to the next non empty index.




  • bool@lemm.eetoMemes@lemmy.mlNever
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    3
    ·
    1 year ago

    Yeah, came here to say that too. There are lots of goofy pictures of Bush. His goofy smile after dodging the shoe is classic. The man deserves to be mocked. The moment Bush was told about 9/11 while reading to kids was not in good taste.