Jellie Frontier
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Maven (famous)@lemmy.zip to Programmer Humor@lemmy.ml · 7 months ago

In case Copilot was too much work

lemmy.zip

message-square
9
fedilink
132

In case Copilot was too much work

lemmy.zip

Maven (famous)@lemmy.zip to Programmer Humor@lemmy.ml · 7 months ago
message-square
9
fedilink

cross-posted from: https://lemmy.zip/post/27030131

The full repo: https://github.com/vongaisberg/gpt3_macro

Pros and cons

alert-triangle
You must log in or register to comment.
  • arisunz@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    46
    ·
    7 months ago

    A little nondeterminism during compilation is fun!

    So is drinking bleach, or so I’ve heard.

  • Lovable Sidekick@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    7 months ago

    Create a function that goes into an infinite loop. Then test that function.

  • fossphi@lemm.ee
    link
    fedilink
    English
    arrow-up
    2
    ·
    7 months ago

    Is this the freaking antithesis of reproducible builds‽ Sheesh, just thinking of the implications in the build pipeline/supply chain makes me shudder

    • OsrsNeedsF2P@lemmy.ml
      link
      fedilink
      arrow-up
      3
      ·
      7 months ago

      Just set the temperature to zero, duh

      • Finadil@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        7 months ago

        Looking at the source they thankfully already use a temp of zero, but max tokens is 320. That doesn’t seem like much for code especially since most symbols are a whole token.

    • bountygiver [any]@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      7 months ago

      this is how we end up with lost tech a few decades later

    • Xanthrax@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      7 months ago

      You’d have to consider it somewhat of a black box, which is what people already do.

  • skeesx@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    7 months ago

    Even this hand picked example is wrong as it returns true if num is 1

  • BeigeAgenda@lemmy.ca
    link
    fedilink
    arrow-up
    1
    ·
    7 months ago

    That reminds me of Illiad’s UserFriendly where the non tech guy Stef creates a do_what_i_mean() function, and that goes poorly.

    I would say this AI function generator is a new version of: https://en.m.wikipedia.org/wiki/DWIM

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: !programmerhumor@lemmy.ml

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.

  • 77 users / day
  • 510 users / week
  • 1.75K users / month
  • 6.23K users / 6 months
  • 1 local subscriber
  • 36.9K subscribers
  • 643 Posts
  • 2.11K Comments
  • Modlog
  • mods:
  • cat_programmer@lemmy.ml
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org