• 24 Posts
  • 17 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
    9 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.deOPtoProgrammer Humor@programming.devWhat is it about?
    link
    fedilink
    arrow-up
    22
    arrow-down
    6
    ·
    1 year ago

    Esteemed Jeena,

    I humbly beseech your indulgence and extend my sincerest apologies for the inconvenience caused by the recurrent cross-posting of content on the esteemed platforms of !programmer_humor@programming.dev and !programmerhumor@lemmy.ml. I am acutely aware of the vexation such redundancy may cause, and it is with the utmost regret that I admit my failure to employ the built-in cross-posting functionality within the esteemed realm of lemmy, which would ensure the display of said content in your esteemed list but once.

    Pray, permit me to express my profound remorse for any distress or disarray this predicament may have occasioned. I implore your benevolence in granting me the opportunity to rectify my missteps and adhere to your esteemed request for the exclusive manifestation of content on a singular occasion within your discerning domain.

    Verily, should you deem it necessary to withdraw your subscription from either platform owing to this grievance, I shall ruefully accept your decision whilst bearing the burden of my own negligence. Nevertheless, I earnestly beseech your forbearance and entreat that you afford me the opportunity to make amends, so as to retain your valued patronage.

    Please accept, dear Sir/Madam, the most sincere apologies of this humble servant and trust in my unwavering commitment to rectify this issue posthaste. Your considerate understanding and magnanimity in this matter would be esteemed beyond measure.

    Yours apologetically and with deepest contrition,

    Gollum