lemmy.onlylans.io
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@lemmy.world to Programmer Humor@programming.dev · 2 days ago

Instant production ready code

europe.pub

message-square
22
fedilink
496

Instant production ready code

europe.pub

cm0002@lemmy.world to Programmer Humor@programming.dev · 2 days ago
message-square
22
fedilink
  • TabbsTheBat@pawb.social
    link
    fedilink
    arrow-up
    91
    ·
    2 days 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
      97
      ·
      2 days ago

      • Keyboard@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        23 hours ago

        😂😂😂😂

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

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

      • TabbsTheBat@pawb.social
        link
        fedilink
        arrow-up
        24
        ·
        2 days 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
          23
          ·
          2 days ago

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

          • ulterno@programming.dev
            link
            fedilink
            English
            arrow-up
            1
            ·
            12 hours 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
            • Mitch Effendi (ميتش أفندي)@piefed.mitch.science
              link
              fedilink
              English
              arrow-up
              2
              ·
              6 hours ago

              You don’t have to explain that kind of stuff, you know. I understand the notion, but, I promise you, it is immaterial to the joke I was making on this shitposting forum.

    • henfredemars@infosec.pub
      link
      fedilink
      English
      arrow-up
      19
      ·
      2 days ago

      The explicit comparison to true makes it even better.

    • prole@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      9
      ·
      edit-2
      2 days ago

      I don’t know, I don’t know how to code.

      But I just asked Chat GPT and it said yeah.

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: [email protected]

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.

  • 2.18K users / day
  • 4.88K users / week
  • 8.69K users / month
  • 20K users / 6 months
  • 1 local subscriber
  • 25.6K subscribers
  • 1.64K Posts
  • 60.5K 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