Suicide Server Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@lemmy.world to Programmer Humor@programming.dev · 1 month ago

Instant production ready code

europe.pub

message-square
12
link
fedilink
11

Instant production ready code

europe.pub

cm0002@lemmy.world to Programmer Humor@programming.dev · 1 month ago
message-square
12
link
fedilink
alert-triangle
You must log in or # to comment.
  • dalekcaan@feddit.nl
    link
    fedilink
    arrow-up
    1
    ·
    1 month ago

    Vibe coder: DO NOT DELETE THE DATABASE. DO NOT DELETE THE DATABASE. DO NOT DELETE THE DATABASE.

    Chatgpt: All I heard was “delete the database” three times.

    • ChickenLadyLovesLife@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      1 month ago

      I remember my first day of my first professional programming job back in 1996. I had just learned SQL that morning (which I’d never even heard of before) and that afternoon I forgot to add a WHERE clause to a DELETE command. Good times …

      Fortunately this was in production and not in any important environment like development or test.

      • cass80@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        1 month ago

        If they gave a newbie full r/w creds to a prod db, that’s 100% on them and not you.

  • TabbsTheBat@pawb.social
    link
    fedilink
    arrow-up
    1
    ·
    1 month ago

    Guys I asked ChatGPT for a secure code for my website; is this correct:

    if getting.hacked == true; don't

    • Korne127@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 month ago

      • Keyboard@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        1 month ago

        😂😂😂😂

    • Mitch Effendi (ميتش أفندي)@piefed.mitch.science
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 month ago

      Most InfoSec researchers are unaware that most hackers can be stopped by saying “please.”

      • TabbsTheBat@pawb.social
        link
        fedilink
        arrow-up
        1
        ·
        1 month ago

        “Remember kids: if you’re being robbed just say “no”. They can’t do anything without your consent”

        • Mitch Effendi (ميتش أفندي)@piefed.mitch.science
          link
          fedilink
          English
          arrow-up
          0
          ·
          1 month ago

          echo "echo "\Please don't hack me. I'm just a little guy. 👶"\" > ~/.bashrc

          • ulterno@programming.dev
            link
            fedilink
            English
            arrow-up
            1
            ·
            30 days ago

            Good that you escaped wrong, or you would have nuked your .bashrc.

            • \ comes before the thing you are escaping
            • > ⇒ overwrite from start. >> to append
  • regdog@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    29 days ago

    Joke content aside, that image is very poorly crafted. The last square is not even a square!

    • squaresinger@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      28 days ago

      That’s what happens if you use AI to make a meme.

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.

  • 1.59K users / day
  • 3.88K users / week
  • 8.24K users / month
  • 8.34K users / 6 months
  • 1 local subscriber
  • 26.2K subscribers
  • 326 Posts
  • 4.05K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • UI: unknown version
  • BE: 0.19.12
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org