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.
    • Gators1G
      Gators1 @Pakoon
      last edited by

      @Pakoon said in The OFFICIAL programming thread:

      Talking about laptops, I have a new one. And I guess it was about the time I got one. The old MBP is a late 2017 model and I don’t have much confidence it will work fine for long, but I don’t think I would have bough a new one just yet if the battery was in decent condition and M3 chips weren’t available. Now I’ve got to decide what I do with the old laptop, which still works pretty well, except for the battery, and it’s fast enough for many tasks and I would hate to just recycle it. The battery change would cost something like 200€ and I think it would be worth that if the comp would work for another year or two.

      Maybe just display the old one next to the new one to virtue signal to your liberal friends?

      alt text

      PakoonP 1 Reply Last reply Reply Quote 0
      • PakoonP
        Pakoon @Gators1
        last edited by

        @Gators1 said in The OFFICIAL programming thread:

        @Pakoon said in The OFFICIAL programming thread:

        Talking about laptops, I have a new one. And I guess it was about the time I got one. The old MBP is a late 2017 model and I don’t have much confidence it will work fine for long, but I don’t think I would have bough a new one just yet if the battery was in decent condition and M3 chips weren’t available. Now I’ve got to decide what I do with the old laptop, which still works pretty well, except for the battery, and it’s fast enough for many tasks and I would hate to just recycle it. The battery change would cost something like 200€ and I think it would be worth that if the comp would work for another year or two.

        Maybe just display the old one next to the new one to virtue signal to your liberal friends?

        You sound a bit jealous and I don’t know if it’s because you don’t have liberal friends or a new MBP.

        ♙♙♙ Michael Waltz added you to the group.

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

          Why would I want an overpriced commie computer?

          alt text

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

            Old blog I read years ago and just stumbled across again:

            Oct 13, 2017

            We fired our top talent. Best decision we ever made.

            We fired our top talent. Best decision we ever made.

            By Jonathan Solórzano-Hamilton “You will never be able to understand any of what I’ve created. I am Albert F*ing Einstein and you are all monkeys scrabbling in the dirt.” And so our resident genius, our Dr. Jekyll, explosively completed his transform...

            It’s a good read but I’m mostly linking for this line:

            “You will never be able to understand any of what I’ve created. I am Albert F***ing Einstein and you are all monkeys scrabbling in the dirt.”

            Fucking lol. I’d have given anything to have been in that meeting room when he dropped that.

            TLDR; they fired him and a follow up blog said they fired his manager too for allowing the situation to even develop.

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

              @Hog I am saving that one. I would actually love to have a Rick around TBH because I am surrounded by dumbasses that can’t work independently or collaborate.

              alt text

              1 Reply Last reply Reply Quote 1
              • PakoonP
                Pakoon
                last edited by

                I’d like to be Rick.

                ♙♙♙ Michael Waltz added you to the group.

                1 Reply Last reply Reply Quote 0
                • PakoonP
                  Pakoon @Gators1
                  last edited by

                  @Gators1 said in The OFFICIAL programming thread:

                  Why would I want an overpriced commie computer?

                  What do you mean by overpriced?

                  ♙♙♙ Michael Waltz added you to the group.

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

                    @Pakoon said in The OFFICIAL programming thread:

                    @Gators1 said in The OFFICIAL programming thread:

                    Why would I want an overpriced commie computer?

                    What do you mean by overpriced?

                    More expensive than it’s worth. At least you understood the “commie computer” part.

                    alt text

                    PakoonP 1 Reply Last reply Reply Quote 0
                    • PakoonP
                      Pakoon @Gators1
                      last edited by

                      @Gators1 said in The OFFICIAL programming thread:

                      @Pakoon said in The OFFICIAL programming thread:

                      @Gators1 said in The OFFICIAL programming thread:

                      Why would I want an overpriced commie computer?

                      What do you mean by overpriced?

                      More expensive than it’s worth. At least you understood the “commie computer” part.

                      It isn’t really.

                      ♙♙♙ Michael Waltz added you to the group.

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

                        @Pakoon said in The OFFICIAL programming thread:

                        @Gators1 said in The OFFICIAL programming thread:

                        @Pakoon said in The OFFICIAL programming thread:

                        @Gators1 said in The OFFICIAL programming thread:

                        Why would I want an overpriced commie computer?

                        What do you mean by overpriced?

                        More expensive than it’s worth. At least you understood the “commie computer” part.

                        It isn’t really.

                        It is. Stalin owned 5 of them! That’s part of the reason why the USSR was so poor.

                        alt text

                        PakoonP 1 Reply Last reply Reply Quote 0
                        • PakoonP
                          Pakoon @Gators1
                          last edited by

                          @Gators1 said in The OFFICIAL programming thread:

                          @Pakoon said in The OFFICIAL programming thread:

                          @Gators1 said in The OFFICIAL programming thread:

                          @Pakoon said in The OFFICIAL programming thread:

                          @Gators1 said in The OFFICIAL programming thread:

                          Why would I want an overpriced commie computer?

                          What do you mean by overpriced?

                          More expensive than it’s worth. At least you understood the “commie computer” part.

                          It isn’t really.

                          It is. Stalin owned 5 of them!

                          I meant the expensive part. The commie shit is true!

                          ♙♙♙ Michael Waltz added you to the group.

                          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:

                            Old blog I read years ago and just stumbled across again:

                            Oct 13, 2017

                            We fired our top talent. Best decision we ever made.

                            We fired our top talent. Best decision we ever made.

                            By Jonathan Solórzano-Hamilton “You will never be able to understand any of what I’ve created. I am Albert F*ing Einstein and you are all monkeys scrabbling in the dirt.” And so our resident genius, our Dr. Jekyll, explosively completed his transform...

                            It’s a good read but I’m mostly linking for this line:

                            “You will never be able to understand any of what I’ve created. I am Albert F***ing Einstein and you are all monkeys scrabbling in the dirt.”

                            Fucking lol. I’d have given anything to have been in that meeting room when he dropped that.

                            TLDR; they fired him and a follow up blog said they fired his manager too for allowing the situation to even develop.

                            I am in guru situations. One guru strategy is he held onto key techs and parceled out bits, but did keep things ruthlessly simple and easy to maintain.

                            The other guru I fight for simplifying and above all both customer knowledge and descriptive naming standards. I can fix or extend 95% anything he has done if I just know what it is when the customer refers to it.

                            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
                            • TazzT
                              Tazz
                              last edited by

                              Screenshot_20240112_120048_Brave.jpg

                              GTFO

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

                                One great use for ChatGPT is having it write regular expressions for me. I don’t have to weep figuring that shit out anymore.

                                alt text

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

                                  @Gators1 said in The OFFICIAL programming thread:

                                  One great use for ChatGPT is having it write regular expressions for me. I don’t have to weep figuring that shit out anymore.

                                  Good job Jetson.

                                  The Jetsons | Episode 10 | Polish your nail on your own time

                                  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 A Former User

                                    image.png

                                    Working out how to write a regex that reliably does what you want can be painful. Reading and trying to decipher the fucking things months later is the real hell.

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

                                      This should be in every programmer’s toolbox

                                      GitHub - nvbn/thefuck: Magnificent app which corrects your previous console command.

                                      GitHub - nvbn/thefuck: Magnificent app which corrects your previous console command.

                                      Magnificent app which corrects your previous console command. - nvbn/thefuck

                                      alt text

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

                                        @Gators1 said in The OFFICIAL programming thread:

                                        This should be in every programmer’s toolbox

                                        GitHub - nvbn/thefuck: Magnificent app which corrects your previous console command.

                                        GitHub - nvbn/thefuck: Magnificent app which corrects your previous console command.

                                        Magnificent app which corrects your previous console command. - nvbn/thefuck

                                        Jeezus, I dunno whether I want to bring this to the attention of the Unix admins or not.

                                        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
                                        • JamJ
                                          Jam
                                          last edited by Jam

                                          I wonder whether ChatGPT can correct syntax errors in MySQL statements?

                                          One may write statements that are 90% correct, but they don’t work due to one’s not being an expert and their being an overlooked syntax error. We’ve found that even when accessing Oracle MySQL support, the process involves “try this.” Next day when that did not work, “OK, now try this instead.”

                                          I haven’t tried AI for for anything yet, personally. It’s about time to experiment a bit.

                                          I was listening to a report the other day which discussed AI being trained to interpret MRI data and this does seem like a good use. Use of AI in the medical field seems to have been established for reading breast exam tomography, along with a clinician’s opinion, of course. AI has not been permitted to fly solo yet in the medical MRI/CT field for results interpretation. Perhaps Kyle has seen this in action?

                                          "laissez les bons temps rouler!"

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

                                            @Jam ChatGPT can both help you write the sql and help you fix it. If you give it the SQL and tell it “It gave me an ‘FU-666 - Your a dumbass’” error it can often tell you why. Or even if you tell it why the results are wrong it can help fix the logic. It’s often an iterative process though rather than just giving you the right answer at the beginning. Also Github copliot will help you write the code as you are first doing it in VSCODE. You can make a comment in your code and it can autogenerate the whole section or just start typing and it suggests what to type next for the rest of the line or whole SQL, function or whatever you are writing. Copilot has a chat option as well or you can highlight something and hit ctrl-i to get a box where you can tell it what to do contextually in your code.

                                            I have had days where I was tired or braindead and just had the AI write the code and let me run and test it, then iterate until it’s right.

                                            alt text

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