Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Programmer Humor
  3. AI cannot replace humans spiteful spirit

AI cannot replace humans spiteful spirit

Scheduled Pinned Locked Moved Programmer Humor
programmerhumor
98 Posts 67 Posters 2 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D [email protected]

    Speaking of coding out of spite, is nobody going to mention that his C code features a struct with over 20 fields in it?

    F This user is from outside of this forum
    F This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #24

    That's the State struct. Globally accessible, I'd bet

    1 Reply Last reply
    6
    • deegeese@sopuli.xyzD [email protected]

      A definition so broad as to be useless.

      Is it a UI when someone calls memcpy to move data from a file to a screen buffer?

      xthexder@l.sw0.comX This user is from outside of this forum
      xthexder@l.sw0.comX This user is from outside of this forum
      [email protected]
      wrote on last edited by [email protected]
      #25

      I'm going to go with no, since that step is not transferring data to a human, it's transferring it internally within the computer.
      UI can refer to either the medium, such as a visual display, speaker system, or keyboard, and it can also refer to a specific layout of information (like the Qwerty layout, or a webpage layout).
      I wouldn't consider the USB protocol UI just because it can transmit HID Events, only the keyboard or mouse as a whole is UI.
      You could almost call HID events UI, but I'd still argue they're more of a computer-device interface than a human-device interface

      1 Reply Last reply
      0
      • W [email protected]

        That's not uncommon, is it?

        Q This user is from outside of this forum
        Q This user is from outside of this forum
        [email protected]
        wrote on last edited by [email protected]
        #26

        Not really, but I'd probably try to organize those into sub structures where it made sense. A data structure holding the UI state and FFT data all flat is kinda messy imo since it becomes unclear what is actually required where.

        G W D 3 Replies Last reply
        9
        • Q [email protected]

          Not really, but I'd probably try to organize those into sub structures where it made sense. A data structure holding the UI state and FFT data all flat is kinda messy imo since it becomes unclear what is actually required where.

          G This user is from outside of this forum
          G This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #27

          You can tell there ought to be substructures because he used comments to label the different groups. That's a code smell right there.

          1 Reply Last reply
          20
          • M [email protected]

            What's this dude talking about?! Everyone knows no one hates React like people who code in React πŸ˜‚ No one is gonna get pissed off watching this.

            G This user is from outside of this forum
            G This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #28

            Do React devs really hate React?

            C L C 3 Replies Last reply
            4
            • A [email protected]

              React is a Javascript based web development programming language developed by Facebook to make pages run faster and better. I learned it as part of a MERN stack full web development course.

              G This user is from outside of this forum
              G This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #29

              to make pages run faster and better.

              Huh, well that's a funny way of saying "break the model of web page as document and fuck up the entire web!"

              C R 2 Replies Last reply
              21
              • Q [email protected]

                Not really, but I'd probably try to organize those into sub structures where it made sense. A data structure holding the UI state and FFT data all flat is kinda messy imo since it becomes unclear what is actually required where.

                W This user is from outside of this forum
                W This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #30

                Yeah that's what I usually do, as long as it's passed by reference there isn't anything too bad here.

                1 Reply Last reply
                1
                • G [email protected]

                  to make pages run faster and better.

                  Huh, well that's a funny way of saying "break the model of web page as document and fuck up the entire web!"

                  C This user is from outside of this forum
                  C This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #31

                  Yeah because documents are limiting and we want to do stuff that executables can do but with a better distribution model.

                  G 1 Reply Last reply
                  11
                  • G [email protected]

                    Do React devs really hate React?

                    C This user is from outside of this forum
                    C This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #32

                    Isn’t the adage that you either have haters or no users?

                    1 Reply Last reply
                    16
                    • maven@lemmy.zipM [email protected]
                      This post did not contain any content.
                      C This user is from outside of this forum
                      C This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #33

                      Umm this is just being retro. Like using a film camera.

                      01189998819991197253@infosec.pub0 1 Reply Last reply
                      13
                      • deegeese@sopuli.xyzD [email protected]

                        A definition so broad as to be useless.

                        Is it a UI when someone calls memcpy to move data from a file to a screen buffer?

                        bytejunk@lemmy.worldB This user is from outside of this forum
                        bytejunk@lemmy.worldB This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #34

                        This isn't hard, you're just trying to make it to be.

                        Memcpy from a file to a screen buffer is as much a UI as pouring water in a pot is a soup.

                        1 Reply Last reply
                        3
                        • S [email protected]

                          What's React?

                          B This user is from outside of this forum
                          B This user is from outside of this forum
                          [email protected]
                          wrote on last edited by
                          #35

                          React is what powers your Windows Start Menu.

                          camr_on@lemmy.worldC 1 Reply Last reply
                          21
                          • D [email protected]

                            Speaking of coding out of spite, is nobody going to mention that his C code features a struct with over 20 fields in it?

                            C This user is from outside of this forum
                            C This user is from outside of this forum
                            [email protected]
                            wrote on last edited by
                            #36

                            Sometimes you can't not have a god class (struct in this case). When doing UI specifically, I always end up with one.

                            You can try using encapsulation to reduce the amount of fields technically, but in the end it's the same amount of information in a single god class.

                            1 Reply Last reply
                            33
                            • A [email protected]

                              React is a Javascript based web development programming language developed by Facebook to make pages run faster and better. I learned it as part of a MERN stack full web development course.

                              L This user is from outside of this forum
                              L This user is from outside of this forum
                              [email protected]
                              wrote on last edited by
                              #37

                              On the other hand React Native is a JavaScript based development language developed by Facebook to make applications run slower and worse.

                              1 Reply Last reply
                              5
                              • R [email protected]

                                Spite coding is almost the original coding.

                                S This user is from outside of this forum
                                S This user is from outside of this forum
                                [email protected]
                                wrote on last edited by [email protected]
                                #38

                                I have definitely gone into a rageful fugue state and woken up a week later after reworking an entire code base from being an inconsistent mess of slop...

                                ...into actually having a common library of functions instead of just rewriting slightly different versions of them 8 times, having those functions only actually instantiated for necesarry classes...

                                ...rewriting every variable name and function name to an actually consistent and intelligible naming scheme...

                                ... and finally, moving a whole bunch of shit out of some kind of global 'think' type loop that doesn't actually need to be called or checked every goddamned micro second.

                                Done that more than once actually.

                                Never look inside 'baby's first video game mod' code, unless you have healthy blood pressure.

                                But uh yeah, spite, hatred, and anger are indeed powerful motivators for making good code, lol.

                                ... so many idiots just jam everything into a global, called every tick loop, and then claim that it just can't be optimized, because "the game engine just can't handle it"...

                                rustyshackleford@programming.devR C 2 Replies Last reply
                                19
                                • deegeese@sopuli.xyzD [email protected]

                                  A definition so broad as to be useless.

                                  Is it a UI when someone calls memcpy to move data from a file to a screen buffer?

                                  S This user is from outside of this forum
                                  S This user is from outside of this forum
                                  [email protected]
                                  wrote on last edited by
                                  #39

                                  Not it isn't.

                                  A command line literally is a UI.

                                  You seem to be confusing GUI and UI?

                                  deegeese@sopuli.xyzD 1 Reply Last reply
                                  7
                                  • S [email protected]

                                    Not it isn't.

                                    A command line literally is a UI.

                                    You seem to be confusing GUI and UI?

                                    deegeese@sopuli.xyzD This user is from outside of this forum
                                    deegeese@sopuli.xyzD This user is from outside of this forum
                                    [email protected]
                                    wrote on last edited by
                                    #40

                                    You seem to be confusing C stdlib with a CLI?

                                    1 Reply Last reply
                                    0
                                    • maven@lemmy.zipM [email protected]
                                      This post did not contain any content.
                                      V This user is from outside of this forum
                                      V This user is from outside of this forum
                                      [email protected]
                                      wrote on last edited by
                                      #41

                                      Lakh views? πŸ€”

                                      C 1 Reply Last reply
                                      1
                                      • meme_historian@lemmy.dbzer0.comM [email protected]

                                        I see your pitiful vibe coding and raise you...
                                        SPITE CODING πŸ‘Ώ

                                        Z This user is from outside of this forum
                                        Z This user is from outside of this forum
                                        [email protected]
                                        wrote on last edited by
                                        #42

                                        I prefer the term "spite-driven development".

                                        I wrote an SDL replacement but worse after SDL refused to work with audio streams for me even after a week of googling, it took me the same amount to get it work with WASAPI directly as looking up audio streams, instead of the many easymp3playback.dll type solution. Another one week was making ALSA working. At least it's in D, so I have an easier time with development.

                                        I also almost was involved with a YanSim clone development called "Love Letter: My True Feelings", but shit just started to hit the fan (character designer just left), so I decided to not get involved as a coder.

                                        1 Reply Last reply
                                        7
                                        • G [email protected]

                                          Do React devs really hate React?

                                          L This user is from outside of this forum
                                          L This user is from outside of this forum
                                          [email protected]
                                          wrote on last edited by [email protected]
                                          #43

                                          I don't, but it can be really annoying when I accidentally fall for a common trap that I supposedly know how to avoid after all these years! Gah.

                                          1 Reply Last reply
                                          2
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups