• 106 Posts
  • 19 Comments
Joined 2 years ago
cake
Cake day: May 17th, 2023

help-circle












  • Gollum@feddit.deOPtoProgrammer Humor@programming.devMe after I got fired
    link
    fedilink
    arrow-up
    110
    arrow-down
    1
    ·
    edit-2
    11 months ago

    The C standard library function int rand(void) returns a pseudo random integer between 0 and RAND_MAX (which should be at least 2^15, depending on the actual implementation).

    Depending on the distribution of the pseudo random numbers, it will be true for over > 99% of its applications.

    Source: trust me bro, and C++ reference

    Furthermore, there is no integer between 0 and 1, but I guess you mean a real number between 0 and 1.




















  • Gollum@feddit.deOPtoLord of the memes@midwest.socialAn innocent baby
    link
    fedilink
    English
    arrow-up
    23
    ·
    edit-2
    1 year ago

    There is evidence in the Hobbit that he eats young orcs. While your orcs do not imply that they are babies, there is another hint in the Books:

    ‘Then why didn’t he track Bilbo further?’ asked Frodo. ‘Why didn’t he come to the Shire?’  ‘Ah,’ said Gandalf, 'now we come to it. I think Gollum tried to. He set out and came back westward, as far as the Great River. But then he turned aside. He was not daunted by the distance, I am sure. No, something else drew him away. So my friends think, those that hunted him for me. 'The Wood-elves tracked him first, an easy task for them, for his trail was still fresh then. Through Mirkwood and back again it led them, though they never caught him. The wood was full of the rumor of him, dreadful tales even among beasts and birds. The Woodmen said that there was some new terror abroad, a ghost that drank blood. It climbed trees to find nests; it crept into holes to find the young; it slipped through windows to find cradles.

    I guess with a little bit of imagination, it’s not that unlikely that he had eaten the babies of the woodmen of Mirkwood.

    On top of this, he had a discussion with Sam about the best way to cook rabbits, and Gollum said:

    They are young, they are tender, they are nice. Eat them, eat them!

    So he likes his rabbits young! Which seems to be a preference of him.

    But he definitely wanted to eat Bilbo. :D