unreachable.cloud
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Arthur Besse@lemmy.ml to Programmer Humor@lemmy.mlEnglish ·
edit-2
3 hours ago

Incredible stochastic algorithm, gets more reliable the larger your input, incredibly fast, trivial to implement and deterministic on its inputs

lemmy.ml

message-square
15
fedilink
200

Incredible stochastic algorithm, gets more reliable the larger your input, incredibly fast, trivial to implement and deterministic on its inputs

lemmy.ml

Arthur Besse@lemmy.ml to Programmer Humor@lemmy.mlEnglish ·
edit-2
3 hours ago
message-square
15
fedilink

cross-posted from: https://lemmy.blahaj.zone/post/38950495

https://cosocial.ca/@mhoye/116111505546606451

alert-triangle
You must log in or register to comment.
  • MeetMeAtTheMovies [they/them]@hexbear.net
    link
    fedilink
    English
    arrow-up
    2
    ·
    11 minutes ago

    Warning: unused variable

    Just add it to the pile I guess

  • /home/pineapplelover@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    44 minutes ago

    I’m confused, shouldn’t this be printing false no matter what the input is?

    • Carl [he/him]@hexbear.net
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      17 minutes ago

      that’s the joke, since most numbers aren’t prime, this function is technically highly accurate despite being completely useless.

    • fallaciousBasis@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      29 minutes ago

      You kind of suck at logic…

      • Ænima@lemmy.zip
        link
        fedilink
        arrow-up
        1
        ·
        8 minutes ago

        You sound like my mom!

  • razen@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    2 hours ago

    But when the input is all prime numbers then the accuracy is 0.

    • fallaciousBasis@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      28 minutes ago

      True

    • Arthur Besse@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 hours ago

      The Simpsons character Rainier Wolfcastle on stage with a microphone, on TV, with the caption "THAT'S THE JOKE"

      also btw icymi, this is a post about LLMs

  • Thekingoflorda@lemmy.world
    link
    fedilink
    arrow-up
    9
    ·
    3 hours ago

    It approaches 100% accuracy

  • sepiroth154@feddit.nl
    link
    fedilink
    arrow-up
    15
    ·
    edit-2
    4 hours ago

    You could simplify it even further by removing the int x parameter of the function…

    • obelisk_complex@piefed.ca
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      1
      ·
      4 hours ago

      So elegant! This is too valuable for GitHub, sell this directly to the Saudi government.

  • TomMasz@lemmy.world
    link
    fedilink
    English
    arrow-up
    23
    arrow-down
    1
    ·
    5 hours ago

    95.121% of the time it works everytime.

  • idriss@lemmy.ml
    link
    fedilink
    arrow-up
    22
    arrow-down
    1
    ·
    5 hours ago

    I am screenshoting this so it will be screenshot of a screenshot of a screenshot then post it somewhere else

    • SharkAttak@kbin.melroy.org
      link
      fedilink
      arrow-up
      7
      arrow-down
      1
      ·
      2 hours ago

      Not even adding some watermark? smh

  • lnxtx (xe/xem/xyr)@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    4 hours ago

    But cryptography…

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 348 users / day
  • 955 users / week
  • 1.77K users / month
  • 6.05K users / 6 months
  • 1 local subscriber
  • 41.1K subscribers
  • 1.73K Posts
  • 28.7K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org