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.
    • KilemallK
      Kilemall Careful, railroad agent @A Former User
      last edited by Kilemall

      @Hog said in The OFFICIAL programming thread:

      @Kilemall What Rust really addresses is a more a whole host of failure and attack vectors around memory. Not so much gatekeeping what a legit program can do.

      This is 2019 data but it’s the type of thing Rust was designed to address:

      Microsoft: 70 percent of all security bugs are memory safety issues

      You can code safely in C and C++ but it takes both a lot of experience and immense amount of discipline and I’d be surprised if even the above-average developer had completely memory safe code in any large code base.

      A better explanation of APF authorization…

      What is the authorized program facility?

      Because this security kicks in BEFORE the OS loads, if you screw up the libraries or the LPA you can literally lock the system up to where you cannot bring the system up. This is why you ALWAYS define a rescue LPAR that also has access to the same disks so you can fix the problems and come up without epic IBM assistance.

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

        @Kilemall what kind of FPS does your mainframe get though? Can it play Skyrim?

        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:

          @Kilemall what kind of FPS does your mainframe get though? Can it play Skyrim?

          I wouldn’t run game clients under z/OS but under a Linux LPAR. Not sure how you would get display though, pretty much no such thing as video card to monitor.

          I think they could be awesome game servers with a main game server and VMs that run the players’ machines. They could interact with memory speed interfaces IBM has been working on for years, then you would have a thin client on the player’s machine.

          Bit expensive though.

          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

            Party is almost over. I guess I will take my savings and go be a tuk tuk taxi driver in Cambodia with Hog.

            GitHub Copilot just got promoted to Captain

            alt text

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

              @Gators1

              Gemini tells me there’s no need to fear (just yet).

              The video then discusses the potential impact of Copilot Workspace on programmers. The video argues that Copilot Workspace is a productivity booster for experienced developers but can only build trivial things for the average person. In other words, Copilot Workspace is not going to make programmers obsolete but rather make them more productive.

              The video ends with two reasons to be optimistic about the future of programmers. First, Copilot Workspace requires knowledge of how to read and understand code to use effectively. Second, throughout history, programming has become easier with the invention of new tools, yet the demand for programmers has never declined.

              Seriously though, I hope by the time it’s ready to replace me I’ll have retired anyway. That may be too optimistic. But either way, I think I’ll be far more saddened over the fact that’s it’s made a hobby I love pointless. And, yeah, I could say screw it and just keep coding for the enjoyment of it but if it’s easier to describe the problem in 25 words and have an AI generate it then I won’t be motivated to.

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

                There are some one-off tasks I fire up Powershell for because they are a pain in the arse to do without a dedicated tool and can’t as easily be done in “one” line in a terminal with other languages.

                This is an example:

                Get-Content .\deliveries.csv | ConvertFrom-Csv | ConvertTo-Json | Out-File .\deliveries.json
                

                I find PowerShell ugly to work with for larger scripts (probably no more so than bash), but as a general purpose command line tool it’s brilliant sometimes.

                KilemallK 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:

                  There are some one-off tasks I fire up Powershell for because they are a pain in the arse to do without a dedicated tool and can’t as easily be done in “one” line in a terminal with other languages.

                  This is an example:

                  Get-Content .\deliveries.csv | ConvertFrom-Csv | ConvertTo-Json | Out-File .\deliveries.json
                  

                  I find PowerShell ugly to work with for larger scripts (probably no more so than bash), but as a general purpose command line tool it’s brilliant sometimes.

                  I just implemented a powershell command because our usual utility software has a limit we didn’t know about. It’s stupider then the usual utility but good enough and likely backwards compatible enough to stay working past my retirement.

                  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

                    I inherited a team after a reorg and with that a report that has years of powershell scripts upon scripts added to it to pull data and make charts. It was apparently originally converted from VBA. We have to produce this weekly and it takes one of my people maybe half a week of running scripts and waiting to get it done. Obviously we are going to automate, but trying to dig down into what each thing does and how it gets data is going to be a research project. There are many such kludged together bandaid scripts like that in my company.

                    alt text

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

                      The problem with my job is that the pace of new shit arriving keeps getting faster and faster and the old shit never really goes away. In any given week, I’m supporting applications written in tech that had its origins in the 1980’s through to the 2020’s. That’s 40 years of technical fads, missteps and obsolete crap that somehow I’ve got to keep in my head. I was in a Teams call with another programmer yesterday debugging some weird problem in a language I’ve got decades of experience in but haven’t used much recently and I had to apologize because I’d forgotten how to write some simple statement or other. At night I’m learning the next thing that’s being adopted to increase my chances of being employed in a few months.

                      Green Mile Im Tired Boss GIF

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

                        @Hog said in The OFFICIAL programming thread:

                        The problem with my job is that the pace of new shit arriving keeps getting faster and faster and the old shit never really goes away. In any given week, I’m supporting applications written in tech that had its origins in the 1980’s through to the 2020’s. That’s 40 years of technical fads, missteps and obsolete crap that somehow I’ve got to keep in my head. I was in a Teams call with another programmer yesterday debugging some weird problem in a language I’ve got decades of experience in but haven’t used much recently and I had to apologize because I’d forgotten how to write some simple statement or other. At night I’m learning the next thing that’s being adopted to increase my chances of being employed in a few months.

                        Green Mile Im Tired Boss GIF

                        I feel you. We don’t have different languages, but rely on a lot of libraries with vastly different syntaxes and tooling that’s wildly different. I don’t even bother trying to “learn” it anymore, I just refer to the docs, GPT or copy/paste from stack overflow for about half of what I do. Only the stuff specific to our data I have to hand write and that’s mostly SEEEEEEQUEL. If I have to use Python I get confused because the main Python data libraries Pandas, Dask, Pyspark, Polars and Snowpark all do things differently. A few aren’t that different but then throw in some random syntax change that has me screaming F bombs for an hour or so. Also we have no devops so we have to manage all the infra and learn on the fly how to configure that shit.

                        Also today in our staff meeting my boss started talking about AI and how he wants to stand up shit because customer service is doing a project using AWS help. I am like we have no AI talent on the teams and we have been working a year and a half on your clusterfuck project and have not delivered anything (said in my mind obviously). I did bring up the point and he is still talking about working it into the schedule even though his schedule is more ambitious than the moon landing. Guy is a total nob.

                        alt text

                        Lob12L 1 Reply Last reply Reply Quote 0
                        • Lob12L
                          Lob12 @Gators1
                          last edited by

                          @Gators1 said in The OFFICIAL programming thread:

                          @Hog said in The OFFICIAL programming thread:

                          The problem with my job is that the pace of new shit arriving keeps getting faster and faster and the old shit never really goes away. In any given week, I’m supporting applications written in tech that had its origins in the 1980’s through to the 2020’s. That’s 40 years of technical fads, missteps and obsolete crap that somehow I’ve got to keep in my head. I was in a Teams call with another programmer yesterday debugging some weird problem in a language I’ve got decades of experience in but haven’t used much recently and I had to apologize because I’d forgotten how to write some simple statement or other. At night I’m learning the next thing that’s being adopted to increase my chances of being employed in a few months.

                          Green Mile Im Tired Boss GIF
                          Guy is a total nob.

                          nounINFORMAL•BRITISH
                          noun: nob; plural noun: nobs
                          a person of wealth or high social position.

                          Nice to see you think so well of your boss!

                          [IMG] https://image.ibb.co/nhhF0Q/new_sig_lob12.jpg [/IMG]

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

                            @Lob12 said in The OFFICIAL programming thread:

                            @Gators1 said in The OFFICIAL programming thread:

                            @Hog said in The OFFICIAL programming thread:

                            The problem with my job is that the pace of new shit arriving keeps getting faster and faster and the old shit never really goes away. In any given week, I’m supporting applications written in tech that had its origins in the 1980’s through to the 2020’s. That’s 40 years of technical fads, missteps and obsolete crap that somehow I’ve got to keep in my head. I was in a Teams call with another programmer yesterday debugging some weird problem in a language I’ve got decades of experience in but haven’t used much recently and I had to apologize because I’d forgotten how to write some simple statement or other. At night I’m learning the next thing that’s being adopted to increase my chances of being employed in a few months.

                            Green Mile Im Tired Boss GIF
                            Guy is a total nob.

                            nounINFORMAL•BRITISH
                            noun: nob; plural noun: nobs
                            a person of wealth or high social position.

                            Nice to see you think so well of your boss!

                            I was thinking of a different meaning. I guess I should just stick to Finnish insults though since I understand them better than UK ones.

                            048ac31d-34be-406c-bd9a-d5326ad3eed1-image.png

                            alt text

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

                              Calling someone a nob has always been an insult in parts where i’ve lived.

                              JamJ 1 Reply Last reply Reply Quote 0
                              • Lob12L
                                Lob12
                                last edited by Lob12

                                I thought the insult was spelled “knob”

                                “VULGAR SLANG•BRITISH
                                View definition
                                a stupid or contemptible man.”

                                [IMG] https://image.ibb.co/nhhF0Q/new_sig_lob12.jpg [/IMG]

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

                                  @Lob12 yeah you’re right.

                                  I’m awarding this match to you and rescinding Gators’ earlier points.

                                  Gators1G 1 Reply Last reply Reply Quote 2
                                  • Lob12L
                                    Lob12
                                    last edited by

                                    Good thing I’m here to show you guys how to english!

                                    [IMG] https://image.ibb.co/nhhF0Q/new_sig_lob12.jpg [/IMG]

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

                                      @Hog said in The OFFICIAL programming thread:

                                      Calling someone a nob has always been an insult in parts where i’ve lived.

                                      You are lucky you’ve never desperately needed to open the door to the loo with a knob missing!

                                      "laissez les bons temps rouler!"

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

                                        @Hog said in The OFFICIAL programming thread:

                                        @Lob12 yeah you’re right.

                                        I’m awarding this match to you and rescinding Gators’ earlier points.

                                        I spelled it the fucking American way, not the commie metric way!!!

                                        alt text

                                        1 Reply Last reply Reply Quote 1
                                        • O
                                          oyaji
                                          last edited by

                                          SUCKLE¡!!!¡!¡!¡!1!!

                                          © 2015 - 2025 oyaji

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

                                            It should be squeeeeal.

                                            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