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

      @jam said in The OFFICIAL programming thread:

      @gators1 said in The OFFICIAL programming thread:

      Isn’t there a Traveller thread so we don’t have to listen to this crap in other threads?

      Fucking double “L” in Traveller.

      I hate that almost as much as I hate the term “pregnant people” and “we’re at the mercy of the computer!”

      No, tigger; just kidding. ;-)

      Congratulations on your pregnancy. Do you know if it’s a boy or girl yet? I posted some gender reveal ideas in the random thread.

      alt text

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

        The Worst Programming Language Ever - Mark Rendle - NDC Oslo 2021

        alt text

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

          Why Hog is a fraud…

          How to "Google It" like a Senior Software Engineer

          alt text

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

            @gators1 said in The OFFICIAL programming thread:

            Why Hog is a fraud…

            How to "Google It" like a Senior Software Engineer

            I’m fucked if work ever look at my search history. Because I switch programming languages all the time, I forget really basic shit all the time or, rather, get the syntax confused between languages.

            Yesterday my IDE was showing an error against an else if clause so I tried elif and elseif but it didn’t work. So I googled how to do an if statement in JavaScript. It’s probably the first thing any programmer learns after declaring variables so my employer would be rightfully wondering why the fuck they are paying me so much if I had to google it. (Turns out else if was correct and the error was from something else. )

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

              I’m also fucked if work ever looks at my search history, but for other reasons. Ahem.

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

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

                @hog said in The OFFICIAL programming thread:

                @gators1 said in The OFFICIAL programming thread:

                Why Hog is a fraud…

                How to "Google It" like a Senior Software Engineer

                I’m fucked if work ever look at my search history. Because I switch programming languages all the time, I forget really basic shit all the time or, rather, get the syntax confused between languages.

                Yesterday my IDE was showing an error against an else if clause so I tried elif and elseif but it didn’t work. So I googled how to do an if statement in JavaScript. It’s probably the first thing any programmer learns after declaring variables so my employer would be rightfully wondering why the fuck they are paying me so much if I had to google it. (Turns out else if was correct and the error was from something else. )

                I still google shit in SQL because I forget the syntax if I don’t use it for a few months. Been doing some Python shit and that’s burning my brain and bandwidth because I have been hitting every python site and video ever made. Have not coded to any great degree in years and feel like a retard trying to learn it now. Python has some really cool data tools though and if I use those I don’t have to work with an actual retard who manages our BI application.

                alt text

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

                  @lob12 said in The OFFICIAL programming thread:

                  I’m also fucked if work ever looks at my search history, but for other reasons. Ahem.

                  PutinGstring.ca

                  You’re welcome.

                  alt text

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

                    I’m not clicking on that link unless I’m on a VPN or using the Onion.

                    And even then, I’m more concerned than curious., lol.

                    "laissez les bons temps rouler!"

                    1 Reply Last reply Reply Quote 0
                    • rote7R
                      rote7 @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:

                      Why Hog is a fraud…

                      How to "Google It" like a Senior Software Engineer

                      I’m fucked if work ever look at my search history. Because I switch programming languages all the time, I forget really basic shit all the time or, rather, get the syntax confused between languages.

                      Yesterday my IDE was showing an error against an else if clause so I tried elif and elseif but it didn’t work. So I googled how to do an if statement in JavaScript. It’s probably the first thing any programmer learns after declaring variables so my employer would be rightfully wondering why the fuck they are paying me so much if I had to google it. (Turns out else if was correct and the error was from something else. )

                      Been doing some Python shit and that’s burning my brain and bandwidth because I have been hitting every python site and video ever made. Have not coded to any great degree in years and feel like a retard trying to learn it now.

                      That’s a complimentary gift that comes with every new programming language you learn. And it keeps on giving.

                      Python has some really cool data tools though and if I use those I don’t have to work with an actual retard who manages our BI application.

                      How about a “Go away or I will replace you with a very small python script.” sticker for your work laptop?

                      fffg

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

                        43404af0-48e8-465a-9f07-6e64f7cfc683-image.png

                        GTFO

                        1 Reply Last reply Reply Quote 1
                        • TheMouseT
                          TheMouse @A Former User
                          last edited by

                          @hog said in The OFFICIAL programming thread:

                          @gators1 said in The OFFICIAL programming thread:

                          Why Hog is a fraud…

                          How to "Google It" like a Senior Software Engineer

                          I’m fucked if work ever look at my search history. Because I switch programming languages all the time, I forget really basic shit all the time or, rather, get the syntax confused between languages.

                          Yesterday my IDE was showing an error against an else if clause so I tried elif and elseif but it didn’t work. So I googled how to do an if statement in JavaScript. It’s probably the first thing any programmer learns after declaring variables so my employer would be rightfully wondering why the fuck they are paying me so much if I had to google it. (Turns out else if was correct and the error was from something else. )

                          I remember when i was about 14 I had a book with all the difent syntax’s for difent languages that did the same thing listed for different computer makes/ languages …

                          1 Reply Last reply Reply Quote 0
                          • WingmannW
                            Wingmann Gold
                            last edited by

                            Polishing and Releasing My Tiny Geography Game

                            -= Ez dut galduko itxaropena =-

                            Gators1G ? 2 Replies Last reply Reply Quote 1
                            • Gators1G
                              Gators1 @Wingmann
                              last edited by

                              @wingmann said in The OFFICIAL programming thread:

                              Polishing and Releasing My Tiny Geography Game

                              I was about to bash you for mathing up the fucking forum, but then I saw I do some similar shit at work with map projections, great circle calculations, etc. Some of that was pretty cool actually. One analysis I did was to figure out if our cheating ass customers were arbitraging our pricing. We have a device we sell in two flavors, one for land and one for aviation. It’s the same thing basically but we charge more for the aviation one because it’s aviation. They thought some of the customers might be putting the land ones in airplanes and pocketing the difference. We don’t get the altitude off the device when it transmits the call data to us, so I had to come up with a different way. So basically what I did was to calculate the distance and time between two points transmitted by the device and convert into freedom MPH. So the shit that was moving fast could be an airplane. The distance had to be calculated with the haversine formula because you are traveling across the globe, so that took some googling to find a code snippet already written for me, plugged it into a function and ran it through my call records. End result is our customers apparently aren’t that smart.

                              alt text

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

                                @wingmann said in The OFFICIAL programming thread:

                                Polishing and Releasing My Tiny Geography Game

                                I watched a couple of his earlier vids making the same game (I think it was the same project anyway. It was like a year or two back) - they were invaluable for learning how to do procedural terrain geometry.

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

                                  @hog Does he have a video on medieval leg meshes? I know someone that needs some help.

                                  alt text

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

                                    I believe this could be true…

                                    Screenshot_20220505-074403-126.png

                                    GTFO

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

                                      0687c086-7946-46b8-8b28-140a47b9fbfa-image.png

                                      GTFO

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

                                        This tickles me. You click on the guage icon in the top toolbar and it opens this popover:

                                        2722a63b-98a7-4ed7-8192-0ed29c4f8126-image.png

                                        In the actual app (not the above screenie) the needle dramatically rotates from left to right like a tachometer and the data and time savings spin up like a reverse countdown timer from a bond film. It’s only a half second animation so is maybe more subtle than it sounds but it helps draw the eye to it and subconsciously impresses on the user that the values aren’t static but are growing with time.

                                        Anyway, in the real world, the minimum data savings would be kilobytes after first using it but would quickly grow to megabytes etc. But because I’m iteratively developing and testing with small queries, the savings for me get reset regularly and often don’t amount to more than a few bytes. But the animations still kick in every time I open the popover, making my 4 bytes of bandwith saved seem hella impressive.

                                        Edit: oh, and it’s not really called the “Hog 2000”.

                                        TazzT 1 Reply Last reply Reply Quote 2
                                        • TazzT
                                          Tazz @A Former User
                                          last edited by

                                          @hog What browser is that?

                                          GTFO

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

                                            @tazz said in The OFFICIAL programming thread:

                                            @hog What browser is that?

                                            Edge. Not that you can see any of the browser in that screenshot. The toolbar at the top is from the client’s ERP system (ie the browser search bar etc would be just above it if I hadn’t cropped it out).

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