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
      last edited by

      AI coding assistants just leveled up, again…

      alt text

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

        So I need to write my code in such a way that even GPT can’t understand it and I’m the only one who knows how to maintain it?

        Challenge accepted.

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

          @Hog said in The OFFICIAL programming thread:

          So I need to write my code in such a way that even GPT can’t understand it and I’m the only one who knows how to maintain it?

          Challenge accepted.

          Given how bad a lot of the code i see is, I wonder where they found enough of the good stuff to make a training set?

          alt text

          1 Reply Last reply Reply Quote 0
          • O
            oyaji @A Former User
            last edited by

            @Hog said in The OFFICIAL programming thread:

            @Gators1 I lasted 30 seconds before it triggered my PTSD from I dunno how many teams meetings I’ve had.

            keep in mind the advice i took to heart years back: the only meetings worth attending are the ones that cannot start without you.

            © 2015 - 2025 oyaji

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

              @oyaji said in The OFFICIAL programming thread:

              @Hog said in The OFFICIAL programming thread:

              @Gators1 I lasted 30 seconds before it triggered my PTSD from I dunno how many teams meetings I’ve had.

              keep in mind the advice i took to heart years back: the only meetings worth attending are the ones that cannot start without you.

              That would probably be half of them. Meetings these days are different to what they used to be. For me at least. They are much more focused, shorter and less formal. Most are scheduled for half an hour but often wrap in 10 to 15 minutes if the reason for the meeting has been addressed. I have more meetings now than I ever had but they are a lot more productive. Maybe it’s just because we are all working remote and spread over several countries. If we were all working in the same office space we’d probably just huddle around someone’s desk for most of them.

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

                Someone in a Hacker News thread mentioned “Kernigan’s Law” which I’d never heard of. I googled it expecting to find something insightful and profound. Instead I got this:

                Screenshot_2023-12-16-13-40-17-39_cbf47468f7ecfbd8ebcc46bf9cc626da.jpg

                I’ve said the same thing in various forms* for decades, dammit. I want to be the first in a field for a change so when I say some stupidly self evident shit, they call it Hog’s Law and put it in text books.

                (* I used to teach coders that, even when you’re coding solo, you’re part of a team. It’s just that that team is distributed through time. So make your code readable and maintainable because that other future team member might be you.)

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

                  @Hog said in The OFFICIAL programming thread:

                  @oyaji said in The OFFICIAL programming thread:

                  @Hog said in The OFFICIAL programming thread:

                  @Gators1 I lasted 30 seconds before it triggered my PTSD from I dunno how many teams meetings I’ve had.

                  keep in mind the advice i took to heart years back: the only meetings worth attending are the ones that cannot start without you.

                  That would probably be half of them. Meetings these days are different to what they used to be. For me at least. They are much more focused, shorter and less formal. Most are scheduled for half an hour but often wrap in 10 to 15 minutes if the reason for the meeting has been addressed. I have more meetings now than I ever had but they are a lot more productive. Maybe it’s just because we are all working remote and spread over several countries. If we were all working in the same office space we’d probably just huddle around someone’s desk for most of them.

                  The technical problem solving huddle is waaay more efficient in person, and a dead letter in IT I suspect.

                  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
                  • ?
                    A Former User @Kilemall
                    last edited by A Former User

                    @Kilemall said in The OFFICIAL programming thread:

                    @Hog said in The OFFICIAL programming thread:

                    @oyaji said in The OFFICIAL programming thread:

                    @Hog said in The OFFICIAL programming thread:

                    @Gators1 I lasted 30 seconds before it triggered my PTSD from I dunno how many teams meetings I’ve had.

                    keep in mind the advice i took to heart years back: the only meetings worth attending are the ones that cannot start without you.

                    That would probably be half of them. Meetings these days are different to what they used to be. For me at least. They are much more focused, shorter and less formal. Most are scheduled for half an hour but often wrap in 10 to 15 minutes if the reason for the meeting has been addressed. I have more meetings now than I ever had but they are a lot more productive. Maybe it’s just because we are all working remote and spread over several countries. If we were all working in the same office space we’d probably just huddle around someone’s desk for most of them.

                    The technical problem solving huddle is waaay more efficient in person, and a dead letter in IT I suspect.

                    Yeah maybe. I’m lucky that the people I work with in an average week are in Sydney, Melbourne, Perth, Singapore, Jakarta and various cities in the Philippines and India so there’s no pressure to get us into the office for efficiency gains (real or imagined).

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

                      I wrote this thing early last year that was probably one of the most challenging greenfield developments I’d ever done (it’s usually only supporting other people’s code that is particularly challenging). I had to learn a bunch of new tech for this thing and I had to rearchitect it twice before I got there. Anyway, when it was done, it was clever, elegant, easy to use, well coded and well documented. I admit that months after it went live, I still read through the docs from time to time just to remember and enjoy what I had created.

                      However, after a recent upgrade, it was discovered that:
                      a) this thing I’d made was now causing intermittent problems with another process.
                      b) the problem that led to the thing even being developed in the first place no longer existed.

                      I more than happily recommended that we just delete the thing I made. I got paid for it, I enjoyed making it and, even though it hadn’t created a single issue before now that required my attention, deleting it means I never have to support it again. It’s like win, win and win.

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

                        Screenshot_20231228_092131_Brave.jpg

                        GTFO

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

                          WIFI is pretty good these days. Or it’s seemed to work out of the box for the hardware I’ve had in the last decade anyway. The only thing I’ve struggled with is the open source Nvidia drivers and I’ve only had to use them in some “pure” open source distributions. It’s an unnecessary headache (to me anyway) since Nvidia provide good Linux support and I don’t give a crap myself that their drivers aren’t open source. Most mainstream / practical Linux distros give you the option of using Nvidia’s drivers on install.

                          It got me thinking though and I asked Bard the following question:

                          Why doesn’t Linux provide a way to wrap Windows hardware drivers with some sort of virtualization technique so that Linux could have full compatibility with Windows drivers?

                          Bard gave a whole bunch of reasons that sounded plausible to me (mostly around complexity, philosophy and performance) but it said my idea was “intriguing” so I’m glad I gave Bard some intellectual stimulation anyway.

                          1 Reply Last reply Reply Quote 5
                          • tiggerT
                            tigger
                            last edited by

                            I have two identical work laptops (X1C v9) and on one of them I have to disable 802.11n for the driver not to crash every 10 minutes…

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

                              @tigger said in The OFFICIAL programming thread:

                              I have two identical work laptops (X1C v9)

                              You have four arms?

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

                                @Hog said in The OFFICIAL programming thread:

                                @tigger said in The OFFICIAL programming thread:

                                I have two identical work laptops (X1C v9)

                                You have four arms?

                                The other one is super secrid sandbox comp.

                                ♙♙♙ Michael Waltz added you to the group.

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

                                  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.

                                  ♙♙♙ Michael Waltz added you to the group.

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

                                    @Hog said in The OFFICIAL programming thread:

                                    @tigger said in The OFFICIAL programming thread:

                                    I have two identical work laptops (X1C v9)

                                    You have four arms?

                                    Not surprising. Everyone is supposed to have at least three arms in Switzerland.

                                    "laissez les bons temps rouler!"

                                    1 Reply Last reply Reply Quote 1
                                    • 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
                                            • First post
                                              Last post