• 96 Posts
  • 46 Comments
Joined 1 year 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
    8 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



  • I really like this app and I use it a lot, but I certainly need a lot more features before I am willing to pay for it:

    • upload of images in comments and the text section of a post
    • screenshot function like Apollo had
    • proper in app linking of Lemmy links (Lemmy links shouldn’t be opened in the browser)
    • open in App if the browser is on a Lemmy instance
    • videos should be played in the app that’s a huge one for me, especially peer tube videos
    • give me the possibility to directly upload a video to a peer tube instance of my choice, directly in creating a post.

    I experienced a few crashes and lags here and there.

    But I will definitely buy a few apps if they get more features. Btw. I don’t think theming is so important, it’s more like a nice to have.