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

                      I’m starting to talk to the AI like it’s a person. Have to roll out a POC using Spark and I don’t know Spark and the guys that should be doing it are dumb as fuck so it’s on me and have been leaning hard on GPT. Threw it some code I couldn’t figure out and it told me my dumb ass had the wrong variable in there. So I was like “my bad GPT” and then it started giving me a pep talk trying to tell me I am not an idiot and everyone does that shit and programming is hard yo. Was kind of funny. It’s pretty cool that it remembers the overall context of the project even though I am asking generic questions about syntax and stuff. When it gives me a response it’s kind of figuring out how I am using it and throws my project variable names in the example. It’s been better than googling, but still makes a bunch of mistakes, but you just have to paste in the error and it usually gets a good answer in a try or two. It’s nowhere near good enough though to do a full program, just fills in the blanks.

                      alt text

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

                        The enshittification of GitHub has begun. This “For you” list is 65% of the start up page:

                        65f75207-4db5-483c-8cca-07a8e94b6d64-image.png

                        There’s no way to disable it.

                        There are literally over 350 million repositories on GitHub. At any given time and depending on what I’m working on, I’m probably interested in 2, maybe 3 max. You can’t get me to “engage” more with GitHub by shoving completely random fucking projects in my face. What’s rune-rs? What about Svelte-js? I’ve never used it, how could I possibly give a shit that they’ve released version 4.1.1?

                        If I sound annoyed, it’s not because I have to click something extra to see anything relevant. It’s that I’m offended that the world including tech is being taken over by utter fucking morons.

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

                          @Hog said in The OFFICIAL programming thread:

                          The enshittification of GitHub has begun. This “For you” list is 65% of the start up page:

                          65f75207-4db5-483c-8cca-07a8e94b6d64-image.png

                          There’s no way to disable it.

                          There are literally over 350 million repositories on GitHub. At any given time and depending on what I’m working on, I’m probably interested in 2, maybe 3 max. You can’t get me to “engage” more with GitHub by shoving completely random fucking projects in my face. What’s rune-rs? What about Svelte-js? I’ve never used it, how I could I possibly give a shit that they’ve released version 4.1.1?

                          If I sound annoyed, it’s not because I have to click something extra to see anything relevant. It’s that I’m offended that the world including tech is being taken over by utter fucking morons.

                          Monetization….

                          The Flying Lizards - Money

                          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
                          • tiggerT
                            tigger @Jam
                            last edited by

                            @Jam said in The OFFICIAL programming thread:

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

                            cabbage.jpeg

                            Here: https://neal.fun/password-game/

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

                              33561d0f-f48b-4f97-bc77-1e2076fe70e8-image.png

                              alt text

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

                                image.png

                                GTFO

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

                                  Not worried about AI taking my job anytime soon.

                                  489ad1f2-e265-4abc-a959-220e401e8df0-image.png

                                  alt text

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

                                    ChatGPT is probably better but I’ve long stopped asking Bard technical questions. I need it to say, “I don’t know” if it doesn’t know something and not just make shit up.

                                    I’ve stopped using it for most questions for that reason actually. It’s worst than useless to me if I don’t know when it’s telling me facts or making stuff up because it just pollutes my head with stuff I’ll believe because it sounds right . There’s a very specific type of question that I’ll have maybe once a week that Bard is good for and where I don’t care if it’s wrong or right.

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

                                      @Gators1 A good example is anything about (human) language usage. Which it should thrive on really given that’s how it was trained.

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

                                        @Hog said in The OFFICIAL programming thread:

                                        @Gators1 A good example is anything about (human) language usage. Which it should thrive on really given that’s how it was trained.

                                        You shouldn’t need AI. You have a great example of perfect English usage being around all of us Americans.

                                        alt text

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

                                          Top 10 Craziest Assembly Language Instructions

                                          OMG! They really are so crayyyyyzeeeee! You won’t believe number 4!!!

                                          Seriously though, despite the YouTuber’s enthusiasm, it’s as dry a topic as it sounds. Dunno why the algo recommended it to me.

                                          I was surprised to learn though that X86 has string processing instructions baked into the silicon. Some of it is quite old too so I dunno how it goes with things like UTF-8 which is pretty much ubiquitous now. If those instructions are obsolete, it’s another argument for RISC.

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

                                            There was a utility program bundled in our app I supported that had a compile date of around 1987 and still worked in 2014. That’s mainframe baybee.

                                            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