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 @Gators1
      last edited by A Former User

      @Gators1 about 40% of the work I’ve been doing for the last year and a half is optimizing horrendous code.

      The first one I was tasked with was an app that was taking 6+ minutes to load in production. It was a hella stressful task because I’d never done that kind of programming before so it was pretty much learning a new language and the dev tools. The business were fed up with dealing with other outsourced IT resources that were in over their head so I came into it with time pressure and no goodwill left.

      Anyway, I got it down to a few seconds so it paid off and is probably one of the reasons why I’ve still got work there.

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

        @Gators1 said in The OFFICIAL programming thread:

        I blame Hog.

        Bryan Cockfield  /  Jul 2, 2023

        Computer Speed Gains Erased By Modern Software

        Computer Speed Gains Erased By Modern Software

        [Julio] has an older computer sitting on a desk, and recorded a quick video with it showing how fast this computer can do seemingly simple things, like open default Windows applications including t…

        Pretty simple, cost of programming goes down with automated gen tools and no incentive to optimize and hardware horsepower can make your shit product tolerable.

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

          ChatGPT just leveled up big time...

          alt text

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

            alt text

            7s27jj hosted at ImgBB

            7s27jj hosted at ImgBB

            Image 7s27jj hosted on ImgBB

            GTFO

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

              This should help all you programmers log into your favorite apps . . .

              cabbage.jpeg

              "laissez les bons temps rouler!"

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

                This made me laugh. In 2012, someone wrote an example for the smallest possible window manager you could write. If you don’t know what a window manager is, think the part of Windows that does the actual windows. Anyway, he did it in only 50 lines of C code. It is barely usable but works as a proof of concept and the author hasn’t touched it since.

                Then 8 years later, someone raises an issue on the GitHub repo reporting that, when using this window manager, right-click in Firefox is broken:

                Right mouse click in web browser · Issue #8 · mackstann/tinywm

                Right mouse click in web browser · Issue #8 · mackstann/tinywm

                Hello! Thank you for tinywm. I would like to share that the Right mouse click in web browser is not working (chromium, firefox,...). There is a little popup that last less than 0.5 sec and it vanis...

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

                  Oops

                  Thousands of images on Docker Hub leak auth secrets, private keys

                  Thousands of images on Docker Hub leak auth secrets, private keys

                  Researchers at the RWTH Aachen University in Germany published a study revealing that tens of thousands of container images hosted on Docker Hub contain confidential secrets, exposing software, online platforms, and users to a massive attack surface.

                  alt text

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

                    Tits?

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

                      Passwordz

                      alt text

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

                        Boring

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

                          Could be passwordz to porn collections?

                          alt text

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

                            Reminds me, I read yesterday that the guy is who was responsible for Mali’s top level domain “.ml” is some guy in Europe who had a ten year contract for it that finished yesterday. Over ten years he has gotten thousands of emails meant for US military email addresses that end in “.mil”. Since his contract finished yesterday, now the government of Mali are going to be getting them.

                            https://www.msn.com/en-us/news/technology/millions-of-sensitive-us-military-emails-were-reportedly-sent-to-mali-due-to-a-typo/ar-AA1dYPQL

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

                              “This private method you wrote that I’ve just went ahead and made public doesn’t work the way I want it to when I call it from outside of the class”

                              Are you fucking kidding me? The reason it was private to begin with was that it has baked in assumptions about how it is used from within the owner class that you aren’t even using. That’s the whole fucking purpose of visibility to begin with - to signify what can be safely reused / called from outside of the class and what can’t.

                              /rant

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

                                @Hog said in The OFFICIAL programming thread:

                                “This private method you wrote that I’ve just went ahead and made public doesn’t work the way I want it to when I call it from outside of the class”

                                Are you fucking kidding me? The reason it was private to begin with was that it has baked in assumptions about how it is used from within the owner class that you aren’t even using. That’s the whole fucking purpose of visibility to begin with - to signify what can be safely reused / called from outside of the class and what can’t.

                                /rant

                                Coworker or random internet idiot?

                                alt text

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

                                  @Gators1 said in The OFFICIAL programming thread:

                                  @Hog said in The OFFICIAL programming thread:

                                  “This private method you wrote that I’ve just went ahead and made public doesn’t work the way I want it to when I call it from outside of the class”

                                  Are you fucking kidding me? The reason it was private to begin with was that it has baked in assumptions about how it is used from within the owner class that you aren’t even using. That’s the whole fucking purpose of visibility to begin with - to signify what can be safely reused / called from outside of the class and what can’t.

                                  /rant

                                  Coworker or random internet idiot?

                                  An coworker provided by one of the big management services companies.

                                  I wouldn’t have been so pissed but he changed code I’ve written that I’m still responsible for (ie it hasn’t been through QA yet) and it was a really dumb and reckless change. Encapsulation and visibility is like Object Oriented programming 101.

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

                                    @Hog said in The OFFICIAL programming thread:

                                    @Gators1 said in The OFFICIAL programming thread:

                                    @Hog said in The OFFICIAL programming thread:

                                    “This private method you wrote that I’ve just went ahead and made public doesn’t work the way I want it to when I call it from outside of the class”

                                    Are you fucking kidding me? The reason it was private to begin with was that it has baked in assumptions about how it is used from within the owner class that you aren’t even using. That’s the whole fucking purpose of visibility to begin with - to signify what can be safely reused / called from outside of the class and what can’t.

                                    /rant

                                    Coworker or random internet idiot?

                                    An coworker provided by one of the big management services companies.

                                    I wouldn’t have been so pissed but he changed code I’ve written that I’m still responsible for (ie it hasn’t been through QA yet) and it was a really dumb and reckless change. Encapsulation and visibility is like Object Oriented programming 101.

                                    Even i know that and I have never written a class in my life.

                                    alt text

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

                                      @Gators1 would you move to Hyderabad and take an Indian salary? We’re hiring.

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

                                        @Hog said in The OFFICIAL programming thread:

                                        @Gators1 would you move to Hyderabad and take an Indian salary? We’re hiring.

                                        That explains it. Working with offshore has made me racis against Indians.

                                        alt text

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

                                          @Gators1 said in The OFFICIAL programming thread:

                                          @Hog said in The OFFICIAL programming thread:

                                          @Gators1 said in The OFFICIAL programming thread:

                                          @Hog said in The OFFICIAL programming thread:

                                          “This private method you wrote that I’ve just went ahead and made public doesn’t work the way I want it to when I call it from outside of the class”

                                          Are you fucking kidding me? The reason it was private to begin with was that it has baked in assumptions about how it is used from within the owner class that you aren’t even using. That’s the whole fucking purpose of visibility to begin with - to signify what can be safely reused / called from outside of the class and what can’t.

                                          /rant

                                          Coworker or random internet idiot?

                                          An coworker provided by one of the big management services companies.

                                          I wouldn’t have been so pissed but he changed code I’ve written that I’m still responsible for (ie it hasn’t been through QA yet) and it was a really dumb and reckless change. Encapsulation and visibility is like Object Oriented programming 101.

                                          Even i know that and I have never written a class in my life.

                                          So you admit you have no class.

                                          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
                                          • KilemallK
                                            Kilemall Careful, railroad agent @Gators1
                                            last edited by

                                            @Gators1 said in The OFFICIAL programming thread:

                                            @Hog said in The OFFICIAL programming thread:

                                            @Gators1 would you move to Hyderabad and take an Indian salary? We’re hiring.

                                            That explains it. Working with offshore has made me racis against Indians.

                                            Been working with Indian outsource since the 90s. Some are very good, most are overspecialized and thus useless outside of the one thing they do. It’s mostly programming by human wave attack.

                                            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
                                            • First post
                                              Last post