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.
  • 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
    #69

    I think it’s great and I’ve been working with it for 6 years. Many issues were resolved over time. We didn’t even have hooks back when I started! Those were dark times. And the new compiler helps with memoization.

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

      React Native

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

        this is like when I built that web server in x86 assembly lol.

        I 1 Reply Last reply
        21
        • harbard@fedia.ioH [email protected]

          this is like when I built that web server in x86 assembly lol.

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

          I bet that thing was fast!

          A F A 3 Replies Last reply
          6
          • 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
            #73

            I moved from Visual Basic (3 no less!) to C because I needed to optimize the performance of a software synthesis (like, sound synthesis) application I was developing at the time (mid-1990s). It boggles my mind to this day how much fucking work you had to do just to create a simple window in C. It instantly made clear why UIs at the time were so bad and I went back to Visual Basic for the UI with a compiled C DLL to do the heavy lifting.

            There's no excuse for why UIs are still so bad today.

            L 1 Reply Last reply
            34
            • S [email protected]

              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"...

              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
              #74

              I spent a good fraction of my career taking over and trying to fix code bases that my company refused to scrap and replace outright because they didn't want to admit their worthlessness. Complete rewrites would have taken maybe a tenth of the time I spent.

              My favorite thing to encounter (which was nearly universal) was the phenomenon of a young programmer fresh out of college encountering SQL for the first time, deciding he hated it, and writing a huge mess of code to handle auto-generating the necessary SQL. I remember taking over one C# application that had classes named "AND.cs" and "OR.cs" which just took a String as a parameter and returned that String with " AND " and " OR " appended to it, respectively. In about an hour, I replaced three months of this guy's work that had bottlenecked the project with like five SQL statements.

              It's insane to think what the civil engineering world would be like if it had the career structure of the software world.

              L S G 3 Replies Last reply
              8
              • maven@lemmy.zipM [email protected]
                This post did not contain any content.
                mitm0@lemmy.worldM This user is from outside of this forum
                mitm0@lemmy.worldM This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #75

                I'm still waiting for the day we get a proper alternative to JavaScript.

                If I had to make one, it would have a Bash-like syntax

                1 Reply Last reply
                0
                • R [email protected]

                  Oh stop it. Are you saying you don't enjoy pressing the "Back" button in your browser, but staying on the same page. Therefore breaking the page so you refresh and lose whatever the fuck you were doing? /s

                  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
                  #76

                  Yea let's go back to index.php and the 5 second load time for every clicked button

                  1 Reply Last reply
                  0
                  • W [email protected]

                    Oh man. You should see the source code for IOS (the Cisco one not Apple).

                    Spent 5 years working on it out of college. I think it's the most cursed code base you can imagine.

                    Not necessarily because of the massive struct defs everywhere. They are kinda needed when you're running an entire OS as basically a set of interacting Linux processes pretending to be an OS.

                    At some point Cisco realized they could not compete without putting a Linux kernel as their base. So they basically just copy and pasted the old code written in the early 90s for the IOS and put it into a set Linux processes.

                    To be clear. It's not just the front end. They didn't really change the code much from the old IOS. Its a cluster fuck of interprocess communication hacks that probably seemed like a good idea at the time.

                    It is a massive pain in the ass to code because you're basically doing everything on the Linux kernel and then frustratingly have to write the CLIs for IOS just so Cisco can continue to sell their proprietary OS with some of the most unnecessary hardware locks. Massive learning curve for any new engineer.

                    Literally, no one on the entire switching team knew how to send a message from a specific process to the IOS process. I had been assigned something that needed it. So I somehow figured it out and was "the guy" for that for the time I spent there.

                    Fuck. I'm gonna start ranting more if I go any further. But yeah, sometimes you need a massive struct because some idiot decided that forcing a closed source CLI on the market is a good idea for profits.

                    Definitely not a good idea for coding. But you learn quickly that no one actually cares about good code in this industry. There is no time for it. There is no reason for it. Just spit out garbage until it works and your manager won't care.

                    If you want clean code. Go write an open source project or a personal project.

                    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
                    #77

                    I used to work for Cisco but I can't say what it's like internally. Not because of an NDA but because I literally have no idea. I worked for a much smaller competitor of theirs that they acquired, obviously just to remove a competitor from the marketplace. We were all allowed to work remotely but given nothing at all to do for six months and then everybody (except the executives, of course) was laid off.

                    W 1 Reply Last reply
                    9
                    • maven@lemmy.zipM [email protected]
                      This post did not contain any content.
                      snekmuffin@lemmy.dbzer0.comS This user is from outside of this forum
                      snekmuffin@lemmy.dbzer0.comS This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #78

                      can your React do that?? didn't fackin think so dabs mockingly

                      Y 1 Reply Last reply
                      4
                      • C [email protected]

                        I moved from Visual Basic (3 no less!) to C because I needed to optimize the performance of a software synthesis (like, sound synthesis) application I was developing at the time (mid-1990s). It boggles my mind to this day how much fucking work you had to do just to create a simple window in C. It instantly made clear why UIs at the time were so bad and I went back to Visual Basic for the UI with a compiled C DLL to do the heavy lifting.

                        There's no excuse for why UIs are still so bad today.

                        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
                        #79

                        The "excuse" is more or less the 20 or so replacements that have been made and died. I think Microsoft alone is responsible for 5 over the life of Windows.

                        We've more or less kinda settled on HTML only because it's already wide spread. But it's not perfect so more standards for the standards pile. Don't worry, react will end up buried by the next thing on the pile eventually.

                        C 1 Reply Last reply
                        26
                        • C [email protected]

                          I spent a good fraction of my career taking over and trying to fix code bases that my company refused to scrap and replace outright because they didn't want to admit their worthlessness. Complete rewrites would have taken maybe a tenth of the time I spent.

                          My favorite thing to encounter (which was nearly universal) was the phenomenon of a young programmer fresh out of college encountering SQL for the first time, deciding he hated it, and writing a huge mess of code to handle auto-generating the necessary SQL. I remember taking over one C# application that had classes named "AND.cs" and "OR.cs" which just took a String as a parameter and returned that String with " AND " and " OR " appended to it, respectively. In about an hour, I replaced three months of this guy's work that had bottlenecked the project with like five SQL statements.

                          It's insane to think what the civil engineering world would be like if it had the career structure of the software world.

                          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
                          #80

                          First thing I tell my interns: "The guys that made that database are smarter than you, they got PhD's for the algorithms the database uses. You are going to use SQL properly, and query properly, because the database will always do it better than your python code."

                          C A 2 Replies Last reply
                          6
                          • L [email protected]

                            The "excuse" is more or less the 20 or so replacements that have been made and died. I think Microsoft alone is responsible for 5 over the life of Windows.

                            We've more or less kinda settled on HTML only because it's already wide spread. But it's not perfect so more standards for the standards pile. Don't worry, react will end up buried by the next thing on the pile eventually.

                            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
                            #81

                            We’ve more or less kinda settled on HTML

                            It's funny, one of the modern UI glitches that I hate the most is when a long bit of text is just truncated with ellipses instead of the whole thing being shown and you have to hold the mouse over to get it in a tooltip, or shudder actually click on the thing. HTML is great at word-wrapping and allowing the whole UI to "flow" with variable heights and widths as necessary - and yet that is never allowed to happen in apps.

                            1 Reply Last reply
                            17
                            • L [email protected]

                              First thing I tell my interns: "The guys that made that database are smarter than you, they got PhD's for the algorithms the database uses. You are going to use SQL properly, and query properly, because the database will always do it better than your python code."

                              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
                              #82

                              Job interviewer: "What's the best sorting algorithm for {whatever}?"
                              Me: "The SORT BY clause in SQL."

                              1 Reply Last reply
                              5
                              • blackmist@feddit.ukB [email protected]

                                There used to be a UI library on the Amiga called MUI.

                                It used a bunch of C macros to let you define the window and all the controls. Was honestly pretty good considering it was like 30 years ago.

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

                                It was a pleasure to work with!

                                blackmist@feddit.ukB 1 Reply Last reply
                                1
                                • C [email protected]

                                  I spent a good fraction of my career taking over and trying to fix code bases that my company refused to scrap and replace outright because they didn't want to admit their worthlessness. Complete rewrites would have taken maybe a tenth of the time I spent.

                                  My favorite thing to encounter (which was nearly universal) was the phenomenon of a young programmer fresh out of college encountering SQL for the first time, deciding he hated it, and writing a huge mess of code to handle auto-generating the necessary SQL. I remember taking over one C# application that had classes named "AND.cs" and "OR.cs" which just took a String as a parameter and returned that String with " AND " and " OR " appended to it, respectively. In about an hour, I replaced three months of this guy's work that had bottlenecked the project with like five SQL statements.

                                  It's insane to think what the civil engineering world would be like if it had the career structure of the software world.

                                  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]
                                  #84

                                  Jesus Fucking Christ.

                                  I've done a lot of SQL/Database type work as well, and yep, I've been the person learning their insane spider web of db structures, and then either trying to enforce some kind of actual defined standards going forward, or in some instances, succeeding at restrucuring the dbs, transitioning them, and convincing corporate that this actually needed to be done.

                                  It's insane to think what the civil engineering world would be like if it had the career structure of the software world.

                                  Points at understaffed ATC tower, collapsing bridge that hasn't been even evaluated in a decade, general state of roadway disrepair and constant re-repair, also the new highway/overpass/lane expansion being built to 'solve traffic' despite doing that literally never working

                                  1 Reply Last reply
                                  6
                                  • A This user is from outside of this forum
                                    A This user is from outside of this forum
                                    [email protected]
                                    wrote on last edited by
                                    #85

                                    1 Reply Last reply
                                    28
                                    • I [email protected]

                                      I bet that thing was fast!

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

                                      I mean, just because you implemented something in a low level lang, it doesn't mean you're gonna have the fastest implementation. Even in high level langs, there's usually heavy optimization involved in things that are done all the time (e.g. web servers)

                                      1 Reply Last reply
                                      9
                                      • snekmuffin@lemmy.dbzer0.comS [email protected]

                                        can your React do that?? didn't fackin think so dabs mockingly

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

                                        How I love mista azozin...

                                        1 Reply Last reply
                                        4
                                        • C [email protected]

                                          I spent a good fraction of my career taking over and trying to fix code bases that my company refused to scrap and replace outright because they didn't want to admit their worthlessness. Complete rewrites would have taken maybe a tenth of the time I spent.

                                          My favorite thing to encounter (which was nearly universal) was the phenomenon of a young programmer fresh out of college encountering SQL for the first time, deciding he hated it, and writing a huge mess of code to handle auto-generating the necessary SQL. I remember taking over one C# application that had classes named "AND.cs" and "OR.cs" which just took a String as a parameter and returned that String with " AND " and " OR " appended to it, respectively. In about an hour, I replaced three months of this guy's work that had bottlenecked the project with like five SQL statements.

                                          It's insane to think what the civil engineering world would be like if it had the career structure of the software world.

                                          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
                                          #88

                                          Holy shit, have we worked with the same guy?

                                          C 1 Reply Last reply
                                          1
                                          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