Off Topic
    • Categories
    • Tags
    • Users
    • Groups
    • Amazon
    • OT Fundraiser
    • Register
    • Login

    The OFFICIAL programming thread

    Tech
    22
    1.4k
    10.5k
    Loading More Posts
    • 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.
    • ?
      A Former User
      last edited by

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • TazzT
        Tazz
        last edited by

        Screenshot_20221023-220840-646.png

        GTFO

        KilemallK 1 Reply Last reply Reply Quote 5
        • KilemallK
          Kilemall Careful, railroad agent @A Former User
          last edited by

          @Hog said in The OFFICIAL programming thread:

          @Gators1 I probably would have stopped at 15 minutes in Python (the first optimized version) and thought that’s acceptable for a throwaway project and moved on with my life. I can’t imagine running his original code for over a month without stopping to think maybe I could optimize it a little and bring it down to maybe an hour or two instead of waiting all that time for it to finish.

          One big improvement we could do in mainframes at a systems/batch level was optimize buffers and blocking factors. Nowadays just stick DCB=blksize=0 and defaults on buffers and done.

          https://i.imgur.com/hX2CMMZ.jpg

          Never go full Lithu-
          Twain

          No editing is gonna save you now-
          Wingmann

          http://s3.amazonaws.com/rrpa_photos/72217/DSC_2528.JPG

          http://s3.amazonaws.com/rrpa_photos/20416/PTOB 101_resize.jpg

          1 Reply Last reply Reply Quote 0
          • KilemallK
            Kilemall Careful, railroad agent @Tazz
            last edited by

            @Tazz said in The OFFICIAL programming thread:

            Screenshot_20221023-220840-646.png

            Mainframes literally do that with no problem, assuming you don’t jack up basic settings.

            https://i.imgur.com/hX2CMMZ.jpg

            Never go full Lithu-
            Twain

            No editing is gonna save you now-
            Wingmann

            http://s3.amazonaws.com/rrpa_photos/72217/DSC_2528.JPG

            http://s3.amazonaws.com/rrpa_photos/20416/PTOB 101_resize.jpg

            1 Reply Last reply Reply Quote 1
            • ?
              A Former User
              last edited by

              Unless I’m gaming, the second I hear the fan spin up I’m in task manager trying to workout what parasite process is stealing my precious CPU cycles and causing CPU utilization to go over 10%. It is invariably some fucking Microsoft feature that I never asked for and never use.

              1 Reply Last reply Reply Quote 4
              • ?
                A Former User
                last edited by A Former User

                image.png

                This fucking dialog only gives you the option to turn notifications on or be hassled again in a couple of weeks. Where’s my option for “even if our sun has long since died and the universe is on the cusp of heat death, I don’t want to be asked again to turn notifications on”.

                Pushy cunts.

                1 Reply Last reply Reply Quote 3
                • Gators1G
                  Gators1
                  last edited by

                  New Python Coders Be Like...

                  alt text

                  1 Reply Last reply Reply Quote 0
                  • Gators1G
                    Gators1
                    last edited by

                    Dude is pretty funny.

                    Python Code Copiers Be Like...

                    alt text

                    1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User
                      last edited by A Former User

                      yv12zm4ik3y91.jpg

                      Damn. I measure the success of many tasks by how many lines of code I’ve deleted. It’s not uncommon for a pull request of mine to have a negative net lines of code.

                      In addition to the slackers, if they had any, Elon’s fired anyone who frequently refactors and writes short, elegant and performant routines and he’s probably kept the ones that just increase the companies technical debt each year they are employed.

                      Gators1G KilemallK 2 Replies Last reply Reply Quote 4
                      • tiggerT
                        tigger
                        last edited by

                        I don’t think he can really be that stupid…

                        ? JamJ 2 Replies Last reply Reply Quote 0
                        • ?
                          A Former User @tigger
                          last edited by

                          @tigger said in The OFFICIAL programming thread:

                          I don’t think he can really be that stupid…

                          IBM used to do it apparently. But it was decades ago I think.

                          This would be code from a star performer at Twitter according to Elon.

                          console
                              .log(
                                  [
                                      "H",
                                      "e",
                                      "l",
                                      "l",
                                      "o",
                                      " ",
                                      "W",
                                      "o",
                                      "r",
                                      "l",
                                      "d"
                                  ]
                                  .join("")
                              );
                          
                          Gators1G 1 Reply Last reply Reply Quote 1
                          • Gators1G
                            Gators1 @A Former User
                            last edited by

                            @Hog Sounds like BS. I didn’t see anyone report on that other than one TNNish site that said Musk asked them to “print out their code”. Who the fuck prints anymore and definitely you wouldn’t review code that way. That guy’s Twitter is locked too so maybe he got some backlash? Musk has AI engineers at Tesla, software engineers at SpaceX and probably tons at his other companies. He’s also a micromanager so he more than most other people out there would understand the ins and outs of software engineering.

                            I minimize my code as well. Like when I can’t figure out how to do something I get pissed off and put the entire thing in the trash and tell my company that the task is impossible based on the data they collect .

                            alt text

                            1 Reply Last reply Reply Quote 0
                            • Gators1G
                              Gators1 @A Former User
                              last edited by

                              @Hog said in The OFFICIAL programming thread:

                              @tigger said in The OFFICIAL programming thread:

                              I don’t think he can really be that stupid…

                              IBM used to do it apparently. But it was decades ago I think.

                              This would be code from a star performer at Twitter according to Elon.

                              console
                                  .log(
                                      [
                                          "H",
                                          "e",
                                          "l",
                                          "l",
                                          "o",
                                          " ",
                                          "W",
                                          "o",
                                          "r",
                                          "l",
                                          "d"
                                      ]
                                      .join("")
                                  );
                              

                              I had a SQL developer working for me in PR that always wrote his statements in 1 long ass line that went like four or five screens off to the right. I kept yelling at him to format it, but he never did. It was funny too because if I asked him something about his logic, he would know basically exactly how many screens to scroll over to find the bit I asked for.

                              alt text

                              Lob12L 1 Reply Last reply Reply Quote 0
                              • JamJ
                                Jam @tigger
                                last edited by Jam

                                @tigger said in The OFFICIAL programming thread:

                                I don’t think he can really be that stupid…

                                I bet if he were a Trump supporter you wouldn’t have said that!

                                [read the above as tongue-in-cheek]

                                Ah, but . . .

                                https://www.axios.com/2022/11/03/musk-trump-twitter-management-style

                                There are a number of articles circulating comparing ‘Trumpian’ and ‘Muskian’ approaches to style and problem-solving.

                                "laissez les bons temps rouler!"

                                1 Reply Last reply Reply Quote 0
                                • Lob12L
                                  Lob12 @Gators1
                                  last edited by

                                  @Gators1 said in The OFFICIAL programming thread:

                                  @Hog said in The OFFICIAL programming thread:

                                  @tigger said in The OFFICIAL programming thread:

                                  I don’t think he can really be that stupid…

                                  IBM used to do it apparently. But it was decades ago I think.

                                  This would be code from a star performer at Twitter according to Elon.

                                  console
                                      .log(
                                          [
                                              "H",
                                              "e",
                                              "l",
                                              "l",
                                              "o",
                                              " ",
                                              "W",
                                              "o",
                                              "r",
                                              "l",
                                              "d"
                                          ]
                                          .join("")
                                      );
                                  

                                  I had a SQL developer working for me in PR that always wrote his statements in 1 long ass line that went like four or five screens off to the right. I kept yelling at him to format it, but he never did. It was funny too because if I asked him something about his logic, he would know basically exactly how many screens to scroll over to find the bit I asked for.

                                  Maybe he would’ve formatted it if you asked nicely instead of yelling at him!

                                  [IMG] https://image.ibb.co/nhhF0Q/new_sig_lob12.jpg [/IMG]

                                  1 Reply Last reply Reply Quote 0
                                  • Gators1G
                                    Gators1
                                    last edited by

                                    He should have been formatting without me having to ask or yell, but he was a lazy ass millennial. Dude was IMing all day with his womenz and would quickly alt tab back to his IDE when I walked in. I would have got rid of him but my boss loved him for some reason so we subsidized.

                                    alt text

                                    1 Reply Last reply Reply Quote 0
                                    • WhoofeW
                                      Whoofe Gold
                                      last edited by

                                      i remember a game that had the most elegant piece of code in it.

                                      format c:

                                      luckily i didnt log in that day but i sure remember the forums lololol

                                      alt text

                                      alt text

                                      If no set of moral ideas were truer or better than any other, there would be no sense in preferring civilized morality to savage morality, or Christian morality to Nazi morality. In fact, of course, we all do believe that some moralities are better than others . . . . The moment you say that one set of moral ideas can be better than another, you are, in fact, measuring them both by a standard . . . admitting that there is such a thing as a real Right, independent of what people think, and that some people's ideas get nearer to that real Right than others."

                                      KilemallK 1 Reply Last reply Reply Quote 1
                                      • Gators1G
                                        Gators1
                                        last edited by

                                        Yeah, I lucked out too. Imagine the press that would have got if it was a mainstream game like COD or something, not some fringe game that nobody heard of.

                                        alt text

                                        1 Reply Last reply Reply Quote 0
                                        • KilemallK
                                          Kilemall Careful, railroad agent @A Former User
                                          last edited by

                                          @Hog said in The OFFICIAL programming thread:

                                          yv12zm4ik3y91.jpg

                                          Damn. I measure the success of many tasks by how many lines of code I’ve deleted. It’s not uncommon for a pull request of mine to have a negative net lines of code.

                                          In addition to the slackers, if they had any, Elon’s fired anyone who frequently refactors and writes short, elegant and performant routines and he’s probably kept the ones that just increase the companies technical debt each year they are employed.

                                          Wow, I have had reason to doubt Elon’s judgement, but this is a competence thing.

                                          Lines of code can balloon because of inefficiency and inelegance. I want the coder that writes me stuff that runs fast and efficient and safe which is decoupled from number of lines. He’s selecting for bumbly morons for the most part.

                                          This is how Jack Welch ran things at GE and it’s a recipe for backbiting, internal turf fights and in general incentivizing for focus on saving jobs and the wrong metrics. Basically, what’s gotten stupid about corporate governance.

                                          https://i.imgur.com/hX2CMMZ.jpg

                                          Never go full Lithu-
                                          Twain

                                          No editing is gonna save you now-
                                          Wingmann

                                          http://s3.amazonaws.com/rrpa_photos/72217/DSC_2528.JPG

                                          http://s3.amazonaws.com/rrpa_photos/20416/PTOB 101_resize.jpg

                                          1 Reply Last reply Reply Quote 0
                                          • KilemallK
                                            Kilemall Careful, railroad agent @Whoofe
                                            last edited by

                                            @Whoofe said in The OFFICIAL programming thread:

                                            i remember a game that had the most elegant piece of code in it.

                                            format c:

                                            luckily i didnt log in that day but i sure remember the forums lololol

                                            Friend got hit by that. He wasn’t so keen on the game after that but did learn a lesson on not jumping on the latest updates.

                                            https://i.imgur.com/hX2CMMZ.jpg

                                            Never go full Lithu-
                                            Twain

                                            No editing is gonna save you now-
                                            Wingmann

                                            http://s3.amazonaws.com/rrpa_photos/72217/DSC_2528.JPG

                                            http://s3.amazonaws.com/rrpa_photos/20416/PTOB 101_resize.jpg

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post