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 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
                            • WhoofeW
                              Whoofe Gold
                              last edited by

                              like, how does that even happen though?

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

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

                                @Whoofe said in The OFFICIAL programming thread:

                                like, how does that even happen though?

                                If upgrade==‘Success’
                                Format C:

                                alt text

                                1 Reply Last reply Reply Quote 0
                                • TazzT
                                  Tazz
                                  last edited by

                                  When Windows 95 first came out programmers could hide the Format C: command in a program or icon and it would execute it without any confirmation. There was an emergency patch that came out by the end of the week and Microsoft made all publications promise to keep it quiet for several months. Some Greek TV show demonstrated it months later.

                                  GTFO

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

                                    de229e74-fed5-4d08-809d-3174eda1e8c5-image.png

                                    When will you reveal more details?

                                    Well, my best coders tell me it’s a trillion lines of code so it’s going to take a few years.

                                    tiggerT 1 Reply Last reply Reply Quote 3
                                    • tiggerT
                                      tigger @A Former User
                                      last edited by

                                      @Hog said in The OFFICIAL programming thread:

                                      de229e74-fed5-4d08-809d-3174eda1e8c5-image.png

                                      When will you reveal more details?

                                      Well, my best coders tell me it’s a trillion lines of code so it’s going to take a few years.

                                      Basically he has no idea and no plan. When someone tells him something that seems to make sense, he includes it into his plans.

                                      I guess that isn’t that bad if he would keep his mouth shut until all people are done explaining the world he just put himself in to him.

                                      1 Reply Last reply Reply Quote 0
                                      • TazzT
                                        Tazz
                                        last edited by

                                        image.png

                                        GTFO

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

                                          What kind of ghetto bullshit is this?

                                          Microsoft Excel SUBTOTAL function

                                          Syntax

                                          SUBTOTAL(function_num,ref1,[ref2],…)

                                          The SUBTOTAL function syntax has the following arguments:
                                          Function_num Required. The number 1-11 or 101-111 that specifies the function to use for the subtotal. 1-11 includes manually-hidden rows, while 101-111 excludes them; filtered-out cells are always excluded.

                                          To use this function, you’ve got to look up a chart of codes called “Function numbers” (e.g. 101 for “AVERAGE”, 102 for “COUNT” etc) and enter the number into the formula.

                                          Hey Microsoft, the 1980’s are calling and they want their User Experience back.

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

                                            @Hog said in The OFFICIAL programming thread:

                                            What kind of ghetto bullshit is this?

                                            Microsoft Excel SUBTOTAL function

                                            Syntax

                                            SUBTOTAL(function_num,ref1,[ref2],…)

                                            The SUBTOTAL function syntax has the following arguments:
                                            Function_num Required. The number 1-11 or 101-111 that specifies the function to use for the subtotal. 1-11 includes manually-hidden rows, while 101-111 excludes them; filtered-out cells are always excluded.

                                            To use this function, you’ve got to look up a chart of codes called “Function numbers” (e.g. 101 for “AVERAGE”, 102 for “COUNT” etc) and enter it into the formula.

                                            Hey Microsoft, the 1980’s are calling and they want their User Experience back.

                                            Lots of the functions in excel are from the 1980 as that they left as is for compatibility. If they changed it every update then it would break millions of spreadsheets and users who aren’t that technical would be lost.

                                            alt text

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