Off Topic
    • Categories
    • Tags
    • Users
    • Groups
    • Amazon
    • OT Fundraiser
    • Register
    • Login

    The OFFICIAL programming thread

    Tech
    22
    1.4k
    10.4k
    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

      Sounds like Linux sucks.

      alt text

      1 Reply Last reply Reply Quote 0
      • HogH
        Hog
        last edited by

        Yeah it does. Just not as much as windows.

        1 Reply Last reply Reply Quote 2
        • HogH
          Hog
          last edited by Hog

          I think I’ve got to get out of JavaScript development.

          I have a custom built accounting system that I don’t keep running anywhere because I mostly only use it once year to do my end of year books and taxes. If I do have to look something up or answer a query, I’ve got to set it up again and restore the data from backups. That part isn’t the problem. The problem is that the JavaScript world gives zero fucks about backward compatibility and the word “stable” is like a foreign concept to them. So the one to three times a year I do have to set it up my accounts sytem again, my stomach is in my throat as I figure out what’s been deprecated and can no longer even be fucking downloaded any more from CDNs. I never know if I’m going to have to change one or two lines of code (usually) or completely rewrite some component that doesn’t work anymore.

          Contrast that with something like the Dart language which I’ve been playing with this week: it is backwards compatible to version one, includes a huge amount of stuff in their standard libraries (so that is also backwards compatible) and it means you can find a 7 year old Dart tutorial using similarly aged packages and your code will just fucking work.

          I’m hardly one to be against progress but it’s like the JavaScript world has some shared disease. Whole JavaScript frameworks have come and gone in 7 years and good fucking luck just running code from even a year ago without having to fuck around with fixing breaking changes.

          /rant

          KilemallK Gators1G HogH 3 Replies Last reply Reply Quote 1
          • KilemallK
            Kilemall Careful, railroad agent @Hog
            last edited by

            @Hog said in The OFFICIAL programming thread:

            I think I’ve got to get out of JavaScript development.

            I have a custom built accounting system that I don’t keep running anywhere because I mostly only use it once year to do my end of year books and taxes. If I do have to look something up or answer a query, I’ve got to set it up again and restore the data from backups. That part isn’t the problem. The problem is that the JavaScript world gives zero fucks about backward compatibility and the word “stable” is like a foreign concept to them. So the one to three times a year I do have to set it up my accounts sytem again, my stomach is in my throat as I figure out what’s been deprecated and can no longer even be fucking downloaded any more from CDNs. I never know if I’m going to have to change one or two lines of code (usually) or completely rewrite some component that doesn’t work anymore.

            Contrast that with something like the Dart language which I’ve been playing with this week: it is backwards compatible to version one, includes a huge amount of stuff in their standard libraries (so that is also backwards compatible) and it means you can find a 7 year old Dart tutorial using similarly aged packages and your code will just fucking work.

            I’m hardly one to be against progress but it’s like the JavaScript world has some shared disease. Whole JavaScript frameworks have come and gone in 7 years and good fucking luck just running code from even a year ago without having to fuck around with fixing breaking changes.

            /rant

            Mainframes. Ya.

            We were running compiled code, the term is load module, from 1989. The programmer is dead, we asked.

            I used to have to deal with a coelacanth disk format supporting an ancient concept, basically all print output stored in a dataset for the 1-2 days it’s out there to be referenced. This thing has to literally have been from the moon shot program.

            Basic direct access method - Wikipedia

            JES2 and JES3 is the job resource system IBM mainframes still use, it definitely is an artifact of the moon shot program and still has status/error messages called HASP, literally Houston Aerospace.

            MVS Job Entry Subsystems - Wikipedia

            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

            HogH 1 Reply Last reply Reply Quote 2
            • HogH
              Hog @Kilemall
              last edited by

              @Kilemall said in The OFFICIAL programming thread:

              We were running compiled code, the term is load module, from 1989. The programmer is dead, we asked.

              I feel bad that that made me laugh.

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

                @Hog said in The OFFICIAL programming thread:

                @Kilemall said in The OFFICIAL programming thread:

                We were running compiled code, the term is load module, from 1989. The programmer is dead, we asked.

                I feel bad that that made me laugh.

                It’s the right reaction.

                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 2
                • HogH
                  Hog
                  last edited by Hog

                  @Kilemall Have you seen any promotion or use of AI translation tools for old codebases? I’m definitely not promoting them (my own experience with AI code generation has been less than great - especially on non-trivial stuff), I just keep hearing how they’re going to save us from the massive problem of old COBOL programmers dying off with no one with the skills to replace them.

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

                    @Hog said in The OFFICIAL programming thread:

                    @Kilemall Have you seen any promotion or use of AI translation tools for old codebases? I’m definitely not promoting them (my own experience with AI code generation has been less than great - especially on non-trivial stuff), I just keep hearing how they’re going to save us from massive problem of old COBOL programmers dying off with no one with the skills to replace them.

                    I hear about it, I don’t believe it, just cause there are going to be so many gotchas built into very human code and environmental/tribal assumptions that stuff was written under. Better off using AI to assess it then rewrite into a new codebase with strict structures the AI can reliably dev for.

                    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 2
                    • O
                      oyaji
                      last edited by oyaji

                      When did they start requiring programmers to document their programs and begin accumulating libraries of procedures that other people might pirate in the future?

                      Rightly recognizing the potential for that, I deliberately refused and obfuscated. I know that I was not the only one. Is that why, 50 years later, COBOL is such a mess?

                      To those early programmers, I say “good for you”.

                      © 2015 - 2025 oyaji

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

                        @oyaji said in The OFFICIAL programming thread:

                        When did they start requiring programmers to document their programs, and start building libraries of procedures?

                        Theoretically from the beginning, but many don’t due to time/cost pressures or not wanting to be replaceable.

                        I am sometimes asked to do things that meets management goals not what is best and those won’t be documented.

                        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

                        O 1 Reply Last reply Reply Quote 3
                        • O
                          oyaji @Kilemall
                          last edited by oyaji

                          @Kilemall said in The OFFICIAL programming thread:

                          @oyaji said in The OFFICIAL programming thread:

                          When did they start requiring programmers to document their programs, and start building libraries of procedures?

                          Theoretically from the beginning, but many don’t due to time/cost pressures or not wanting to be replaceable.

                          I am sometimes asked to do things that meets management goals not what is best and those won’t be documented.

                          You know, as an engineer I had to take at least 2 programming languages as part of my curriculum. (I ended up taking more, because I liked it.)

                          The idea was that I should know how to make my own programs in case I ever needed to use a computer. (Pocket calculators were a step up from the slide rules I was taught to use, so this is going back a ways.)

                          So since I wrote programs for my own use, I resented being penalized in my assignments for failing to document. I complained to teachers, who by standing their ground just pissed me off all the more.

                          Weasels and blockheads, the lot of 'em.

                          © 2015 - 2025 oyaji

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

                            @oyaji said in The OFFICIAL programming thread:

                            @Kilemall said in The OFFICIAL programming thread:

                            @oyaji said in The OFFICIAL programming thread:

                            When did they start requiring programmers to document their programs, and start building libraries of procedures?

                            Theoretically from the beginning, but many don’t due to time/cost pressures or not wanting to be replaceable.

                            I am sometimes asked to do things that meets management goals not what is best and those won’t be documented.

                            You know, as an engineer I had to take at least 2 programming languages as part of my curriculum. (I ended up taking more, because I liked it.)

                            The idea was that I should know how to make my own programs in case I ever needed to use a computer. (Pocket calculators were a step up from the slide rules I was taught to use, so this is going back a ways.)

                            So since I wrote programs for my own use, I resented being penalized in my assignments for failing to document. I complained to teachers, who by standing their ground just pissed me off all the more.

                            Weasels and blockheads, the lot of 'em.

                            Dad wrote programs for sims in the 70s, key to at least one patent.

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

                              @Hog said in The OFFICIAL programming thread:

                              I think I’ve got to get out of JavaScript development.

                              I have a custom built accounting system that I don’t keep running anywhere because I mostly only use it once year to do my end of year books and taxes. If I do have to look something up or answer a query, I’ve got to set it up again and restore the data from backups. That part isn’t the problem. The problem is that the JavaScript world gives zero fucks about backward compatibility and the word “stable” is like a foreign concept to them. So the one to three times a year I do have to set it up my accounts sytem again, my stomach is in my throat as I figure out what’s been deprecated and can no longer even be fucking downloaded any more from CDNs. I never know if I’m going to have to change one or two lines of code (usually) or completely rewrite some component that doesn’t work anymore.

                              Contrast that with something like the Dart language which I’ve been playing with this week: it is backwards compatible to version one, includes a huge amount of stuff in their standard libraries (so that is also backwards compatible) and it means you can find a 7 year old Dart tutorial using similarly aged packages and your code will just fucking work.

                              I’m hardly one to be against progress but it’s like the JavaScript world has some shared disease. Whole JavaScript frameworks have come and gone in 7 years and good fucking luck just running code from even a year ago without having to fuck around with fixing breaking changes.

                              /rant

                              If I didn’t already know you want to rewrite the whole thing in a different language because that’s what you do for fun, I would suggest throwing it all in a container. Freeze the java version and dependencies and it keeps running forever.

                              alt text

                              1 Reply Last reply Reply Quote 1
                              • HogH
                                Hog @Hog
                                last edited by Hog

                                @Hog said in The OFFICIAL programming thread:

                                Contrast that with something like the Dart language which I’ve been playing with this week: it is backwards compatible to version one, includes a huge amount of stuff in their standard libraries (so that is also backwards compatible) and it means you can find a 7 year old Dart tutorial using similarly aged packages and your code will just fucking work.

                                That was a brain fart. I was talking about Go in the above, not Dart. I dunno where “Dart” came from since I haven’t touched that in a couple of months. The only thing they have in common is that they are both languages created by Google.

                                Like every language, Go has some warts and weirdness. The use of capatilization to determine privacy for example is a very weird choice. E.g. “position” is a private member, “Position” is public. Had to laugh after stumbling across the below maybe a day after having a similar but less violent reaction to the idea:

                                YT Shorts: Primagen. Golang is great and here’s why I hate it

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

                                  @Hog said in The OFFICIAL programming thread:

                                  @Hog said in The OFFICIAL programming thread:

                                  Contrast that with something like the Dart language which I’ve been playing with this week: it is backwards compatible to version one, includes a huge amount of stuff in their standard libraries (so that is also backwards compatible) and it means you can find a 7 year old Dart tutorial using similarly aged packages and your code will just fucking work.

                                  That was a brain fart. I was talking about Go in the above, not Dart. I dunno where “Dart” came from since I haven’t touched that in a couple of months. The only thing they have in common is that they are both languages created by Google.

                                  Like every language, Go has some warts and weirdness. The use of capatilization to determine privacy for example is a very weird choice. E.g. “position” is a private member, “Position” is public. Had to laugh after stumbling across the below maybe a day after having a similar but less violent reaction to the idea:

                                  YT Shorts: Primagen. Golang is great and here’s why I hate it

                                  Sounds like a UNIX supremacist conceit.

                                  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

                                  HogH 1 Reply Last reply Reply Quote 1
                                  • HogH
                                    Hog @Kilemall
                                    last edited by Hog

                                    @Kilemall said in The OFFICIAL programming thread:

                                    @Hog said in The OFFICIAL programming thread:

                                    @Hog said in The OFFICIAL programming thread:

                                    Contrast that with something like the Dart language which I’ve been playing with this week: it is backwards compatible to version one, includes a huge amount of stuff in their standard libraries (so that is also backwards compatible) and it means you can find a 7 year old Dart tutorial using similarly aged packages and your code will just fucking work.

                                    That was a brain fart. I was talking about Go in the above, not Dart. I dunno where “Dart” came from since I haven’t touched that in a couple of months. The only thing they have in common is that they are both languages created by Google.

                                    Like every language, Go has some warts and weirdness. The use of capatilization to determine privacy for example is a very weird choice. E.g. “position” is a private member, “Position” is public. Had to laugh after stumbling across the below maybe a day after having a similar but less violent reaction to the idea:

                                    YT Shorts: Primagen. Golang is great and here’s why I hate it

                                    Sounds like a UNIX supremacist conceit.

                                    You talking about file paths/names being case-sensitve in *nix when traditionally they weren’t in other operating systems?

                                    I think it’s just a concession to the lazy or slow typists. Instead of typing “pub foo” or “public foo” you get to write “Foo” and save yourself some keystrokes. Golang seems to attract people that are like that - there’s a hella lot of example Go code floating around with one letter variable names for instance.

                                    I’m down with x,y and i,j being used in loops but I would reject any other use of it if I were doing a code review in any other language. Some poor dev shouldn’t have to figure out wtf “m” stands for when they are supporting your program that just fell over in production at 3 am.

                                    1 Reply Last reply Reply Quote 2
                                    • HogH
                                      Hog
                                      last edited by

                                      A 10x faster TypeScript

                                      Was just watching the above (few month old) vid where they announced the rewrite of the TypeScript compiler from JavaScript to Go and are getting a 10x performance increase. They demonstrated how the current TypeScript compiler takes 63 seconds to compile the whole VS Code codebase from scratch whereas the Go version only takes 6 seconds. Whole thing sounds great yadda yadda and I’m sure the 10x speed increase is very welcome but I’m just awestruck how the JavaScript version can compile 1.5 million lines of code in 4,500 files in only 60 seconds which was obviously not the point of the demo.

                                      1 Reply Last reply Reply Quote 2
                                      • HogH
                                        Hog
                                        last edited by Hog

                                        Thought this from the front page of Hacker News today was interesting:

                                        3636e5e4-b553-42f0-93fd-c7a3e064f3b8-image.png

                                        AI World Clocks

                                        It’s a website that, every minute, asks 9 AI models (including GPT5, GPT4) to generate minimal code to show an analog clock with the correct, current time. Since it changes every sixty seconds, I can’t tell what it will look like when you click the link but the couple of times I tried it, only one of the nine clocks was accurate and some were barely recognizable as clocks. Interestingly, the AI model that succeeded in the task one minute failed the next minute and a different, previously failing, AI model succeeded so it wasn’t even possible to say, oh XYZ model is the best.

                                        I asked Gemini if the task limits and overall prompt were fair for testing different AI model’s code generation abilities and Gemini snitched on its friends and said the task was demanding but fair.

                                        HogH 1 Reply Last reply Reply Quote 2
                                        • HogH
                                          Hog @Hog
                                          last edited by Hog

                                          @Hog said in The OFFICIAL programming thread:

                                          it wasn’t even possible to say, oh XYZ model is the best.

                                          Looking at the hacker news comments and also viewing the clocks myself over several minutes, it seems like the Kimi K2 model is the most often correct. It still fails sometimes but not as often as the others. GPT5 or DeepSeek v3.1 might be second.

                                          1 Reply Last reply Reply Quote 0
                                          • HogH
                                            Hog
                                            last edited by Hog

                                            It fascinates me how there is a seemingly infinite number of ways the Qwen 2.5 model can fuck up the task. These are just 7 examples from maybe 12 attempts / minutes:

                                            collage_4x2.jpg

                                            Qwen 2.5 is not a state of the art model by any means but, still. You’d think it would at least fail in the same general step each time and not produce such random results. It’s not like it’s iterating and deliberately trying new approaches. Each time, it has no awareness that it has ever done the task before.

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