lemmy.dudeami.win
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
JPDev@programming.dev to Programmer Humor@programming.dev · 1 year ago

The Perfect Solution

programming.dev

message-square
19
fedilink
5

The Perfect Solution

programming.dev

JPDev@programming.dev to Programmer Humor@programming.dev · 1 year ago
message-square
19
fedilink
alert-triangle
You must log in or register to comment.
  • Speiser0@feddit.de
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    Processors might no longer get twice as fast every few years, but now we can use the power of servers to write software that runs even slower.

    • coloredgrayscale@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      We can add caching so numbers that have been checked once can be quickly looked up from an inMemory database.

  • doctorcrimson@lemmy.today
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    “Is this number even?”

    “yes of no”

    “Invalid Response, please answer with yes of no”

    “yes of no”

    "Invalid Response,…

  • lurch (he/him)@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    “… yes or no…”

    • SzethFriendOfNimi@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      1 year ago

      Lexicon origin of Seven of Nine identified

  • noctisatrae@beehaw.org
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Why are you leaking your API key?

    • nick@midwest.social
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      *OUR api key

      • noctisatrae@beehaw.org
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        “Thanks mate, now I can just use it too”

  • Kata1yst@kbin.social
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Rofl. I just imagine OP furiously updating LinkedIn with “AI Programmer”.

  • Corbin@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Don’t use OpenAI’s outdated tools. Also, don’t rely on prompt engineering to force the output to conform. Instead, use a local LLM and something like jsonformer or parserllm which can provably output well-formed/parseable text.

  • rimjob_rainer@discuss.tchncs.de
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    yes of no

    Not even valid json but compiler doesn’t complain

  • Endorkend@kbin.social
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Have to say, this is not the most convoluted way of testing a simple thing I’ve seen in my years, not by a long shot.

  • Arete@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    Key seems valid. I’ll check all the integers for you to see how accurate it is.

    • coloredgrayscale@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      While you’re at it, also test

      • one
      • three fifty
      • 69 nice
      • 6.9
      • 4,20
      • null (it’s German for zero)
      • pie (and pi)
      • cake
      • fruits
      • One million three hundred (wonder if it gets confused by “one” and “three”)
  • Rosco@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    Probably not a good idea to show your API key to everyone…

    • voracitude@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      What do you mean? I just see asterisks.

  • beckerist@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    I wonder if that key works…

    • ohlaph@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      It does.

      • GBU_28@lemm.ee
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 year ago

        Rip

Programmer Humor@programming.dev

programmer_humor@programming.dev

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: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

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

  • 104 users / day
  • 3.61K users / week
  • 8.98K users / month
  • 19.8K users / 6 months
  • 1 local subscriber
  • 24.7K subscribers
  • 1.37K Posts
  • 43.3K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org