• JackbyDev@programming.dev
    link
    fedilink
    English
    arrow-up
    24
    ·
    4 days ago

    This symbol isn’t needed for spells this long, but it’s considered best practice and other wizards will make fun of me for not including it, even though it isn’t needed.

  • ilinamorato@lemmy.world
    link
    fedilink
    arrow-up
    54
    ·
    5 days ago

    “Oh, dude, you gotta stop using TJ’s Action Rune of Changed Files. That runebook has a backdoor to one of the hells now. Didn’t you see the patch notes?”

    • JackbyDev@programming.dev
      link
      fedilink
      English
      arrow-up
      5
      ·
      4 days ago

      Ugh, look, I get it. I know TJ’s Lesser Action Rune of Changed Files that the Greater version does now, but TJ’s price structure is bullshit and I’m not paying for Greater just because he refuses to “support” us users of Lesser. I don’t even have a damn Portal, much less a Summoning Circle! Why are you so worried about a backdoor to the hells? Unless I connect this sigil to the weave nothing is going to come in or out. This sigil is only for monitoring the moisture content of my garden by way of a spell scroll attached. As we both know, scrolls and sigils use two different elements to communicate. One is gold ink and the other is silver ink. I have to use TJ’s Action Rune of Changed Files to see if the document has changed due to moisture. The scroll cannot directly talk to my watering golem’s receiving crystal.

  • Ethan@programming.dev
    link
    fedilink
    English
    arrow-up
    20
    ·
    edit-2
    3 days ago

    If you’re adding code you don’t understand to a production system you should be fired

    Edit: I assumed it was obvious from context that I’m referring to copy-pasting code from stack overflow or an LLM or whatever without knowing what it does but apparently that needs to be said explicitly.

      • Ethan@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 days ago

        If you are submitting work, you should understand how the code you’re submitting works. Sure, you don’t have to know exactly how the code it calls works, but if you’re submitting code and there’s a block of code and you have no clue how that block works, that’s a problem.

    • perestroika@lemm.ee
      link
      fedilink
      arrow-up
      5
      ·
      4 days ago

      I really like to build from zero, but some things are better copied, no matter if you fully understand them or fall short. :)

      For example, I’m not qualified to check if Hamilton and Euler were correct - I only do as they explained, and later double-check the output against input.

      • Ethan@programming.dev
        link
        fedilink
        English
        arrow-up
        4
        ·
        3 days ago

        I didn’t say never copy and paste. I’m saying when you push a commit you should understand what all the LOC in that commit do (not counting vendored dependencies). If you don’t understand how something works, like crypto (not sure what Hamilton or Euler refers to in this context), ideally you would use a library. If you can’t, you should still understand the code sufficiently well to be able to explain how it implements the underlying algorithm. For example if you’re writing a CRC function you should be able to explain how your function implements the CRC operations, even if you don’t have a clue why those operations work.

      • Jankatarch@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        4 days ago

        No I just read the stack overflow guy’s explanation and the other small comments around and they explain it.

      • Ethan@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 days ago

        Are you seriously trying to equate “I don’t know which instructions this code is using” to “I copied code I don’t understand”? Are you seriously trying to say that someone who doesn’t know how to write x = a + b in assembly doesn’t understand that code?

        • JackbyDev@programming.dev
          link
          fedilink
          English
          arrow-up
          6
          ·
          4 days ago

          No, they’re pointing out that it’s a little silly to expect everyone to understand each and every later of abstraction fully before deploying code.

          • Ethan@programming.dev
            link
            fedilink
            English
            arrow-up
            1
            ·
            edit-2
            3 days ago

            I said you need to understand what the code you wrote (as in, LOC that git blame will blame on you) does. Not that you need to fully understand what the code it calls does. It should be pretty obvious from context that I’m referring to copy-pasting code from stack overflow or an LLM or whatever without knowing what it does.

      • Ethan@programming.dev
        link
        fedilink
        English
        arrow-up
        5
        ·
        3 days ago

        There’s a huge difference between copy-pasting code you don’t understand and using a library with the assumption that the library does what it says on the tin. At the very least there’s a clear boundary between your code and not-your-code.

  • entwine413@lemm.ee
    link
    fedilink
    arrow-up
    6
    ·
    5 days ago

    I’ve often wondered about who discovered arcane symbols/rituals.

    Like, did some prehistoric guy just sit there drawing in the dirt until something happened?

    • Dadifer@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      5 days ago

      The Book of Enoch says that fallen angels named Uzza, Azza and Azael taught humans originally.

      • mmddmm@lemm.ee
        link
        fedilink
        arrow-up
        6
        ·
        5 days ago

        So it’s the original developers that answer the questions in Stack Overflow? Good to know.