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

      @kilemall said in The OFFICIAL programming thread:

      @gators1 said in The OFFICIAL programming thread:

      This is the nerdiest thread on the front page, so I will drop this here.

      How Motherboards Work - Turbo Nerd Edition

      I reject your nerdshaming!

      I am not shaming…it’s good info!

      alt text

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

        @kilemall said in The OFFICIAL programming thread:

        @gators1 said in The OFFICIAL programming thread:

        This is the nerdiest thread on the front page, so I will drop this here.

        How Motherboards Work - Turbo Nerd Edition

        I reject your nerdshaming!

        shuddup nerd

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

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

          When I got into programming they didn’t tell me there’d be nightmares

          - YouTube
          Gators1G ? 2 Replies Last reply Reply Quote 4
          • WingmannW
            Wingmann Gold
            last edited by

            Subscribed!

            -= Ez dut galduko itxaropena =-

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

              @hog said in The OFFICIAL programming thread:

              When I got into programming they didn’t tell me there’d be nightmares

              - YouTube

              Can I get in on early alpha? How much for one of the streachy green guys?

              alt text

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

                @gators1 said in The OFFICIAL programming thread:

                Can I get in on early alpha? How much for one of the streachy green guys?

                That’s an NFT. Only 10 billion will be minted so I can’t let them go cheap.

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

                  @hog said in The OFFICIAL programming thread:

                  When I got into programming they didn’t tell me there’d be nightmares

                  - YouTube

                  I can’t believe I’ve spent a week on this and without a satisfactory result. I mean, I’ve got it to a point where it’s way better than the above but it’s still not usable. To get to the point I’m at now, I’ve had to by trial and error and process of elimination:

                  • Discover a bug in the engine (already reported on Github) and code around it
                  • Discover that the documentation is not only wrong but actually misleading and caused half the problems in the original vid

                  The whole ragdoll physics feature in Godot is woefully undercooked which explains the dearth of internet resourses around it - ie no one is using it.

                  Anyway, as frustrating as it’s been. I’ve learned a bunch of stuff and the only thing I’ve lost is personal time. Hardest part is that I’m left without a solution that doesn’t require a major and costly change in approach.

                  This type of problem, although not common, terrifies me when it happens on a paid gig. It’s so fucking hard to explain to project managers and stakeholders what the hold up is and you feel like an incompetent idiot.

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

                    Well this will do. I’m not Rockstar Games and I’m not making an AAA title. There’s still some occasional mesh tearing issues but I’ll wait until I have the actual higher-poly game assets before I try and fine-tune it further.

                    - YouTube
                    tiggerT JamJ 2 Replies Last reply Reply Quote 2
                    • tiggerT
                      tigger @A Former User
                      last edited by

                      @hog said in The OFFICIAL programming thread:

                      Well this will do. I’m not Rockstar Games and I’m not making an AAA title. There’s still some occasional mesh tearing issues but I’ll wait until I have the actual higher-poly game assets before I try and fine-tune it further.

                      - YouTube

                      You should team up with Jerraye and make an indie studio!

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

                        Tigger could do the ai too! And Doc will be player relations because he’s great at that!

                        alt text

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

                          @hog said in The OFFICIAL programming thread:

                          Well this will do. I’m not Rockstar Games and I’m not making an AAA title. There’s still some occasional mesh tearing issues but I’ll wait until I have the actual higher-poly game assets before I try and fine-tune it further.

                          - YouTube

                          I like the:

                          “Nail Gumby’s Feet to the Floor”

                          version better!

                          "laissez les bons temps rouler!"

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

                            I’ll stick this here if you’re interested in rewiring a microprocessor.

                            “The first chips to use copper interconnects, which were produced in 2000, had 1 kilometer of wiring per square centimeter. Today’s 14-nanometer-node processors contain more than 10 km of copper wiring in the same area, she said.”

                            By Katherine Bourzac  /  Feb 17, 2017  /  Semiconductors

                            Graphene Could Buttress Next-Gen Computer Chip Wiring

                            Graphene Could Buttress Next-Gen Computer Chip Wiring

                            Current can literally blow copper interconnects away, but graphene could keep them intact

                            GTFO

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

                              @tazz said in The OFFICIAL programming thread:

                              I’ll stick this here if you’re interested in rewiring a microprocessor.

                              “The first chips to use copper interconnects, which were produced in 2000, had 1 kilometer of wiring per square centimeter. Today’s 14-nanometer-node processors contain more than 10 km of copper wiring in the same area, she said.”

                              By Katherine Bourzac  /  Feb 17, 2017  /  Semiconductors

                              Graphene Could Buttress Next-Gen Computer Chip Wiring

                              Graphene Could Buttress Next-Gen Computer Chip Wiring

                              Current can literally blow copper interconnects away, but graphene could keep them intact

                              Kind of related: something like 10% of all of the world’s energy consumption is used for computing and that fraction is growing all the time. Apparently half of that energy is consumed (actually wasted) by things like that copper wiring.

                              Source: Youtube: Photonics — a light on the computing horizon

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

                                Photonics is gonna be great.

                                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
                                • ?
                                  A Former User
                                  last edited by A Former User

                                  Just had the most frustrating week of coding I’ve ever had getting the below procedural floor plan generation working. It sounds so simple but each room needs to have its own walls and I needed to get the doorways lined up between the different rooms. After I’d rewritten it literally 5 times and still couldn’t get it to work I remember thinking it’s just too difficult. Another couple of rewrites with different approaches got me there though.

                                  It’s just a rough first cut. There are too many doorways etc etc. But it is satisfying seeing the enemies hit and slide down the walls with the rag doll physics I implemented earlier.

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

                                    Kinda obvious what your scam is here. You have it create shitloads of rooms and then make players buy grenades through microtransactions.

                                    alt text

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

                                      @gators1 said in The OFFICIAL programming thread:

                                      Kinda obvious what your scam is here. You have it create shitloads of rooms and then make players buy grenades through microtransactions.

                                      Hmm, this is good stuff. Lemme get a pen and paper.

                                      1 Reply Last reply Reply Quote 2
                                      • StuS
                                        Stu @A Former User
                                        last edited by

                                        @hog said in The OFFICIAL programming thread:

                                        Just had the most frustrating week of coding I’ve ever had getting the below procedural floor plan generation working. It sounds so simple but each room needs to have its own walls and I needed to get the doorways lined up between the different rooms. After I’d rewritten it literally 5 times and still couldn’t get it to work I remember thinking it’s just too difficult. Another couple of rewrites with different approaches got me there though.

                                        It’s just a rough first cut. There are too many doorways etc etc. But it is satisfying seeing the enemies hit and slide down the walls with the rag doll physics I implemented earlier.

                                        - YouTube

                                        Spawncamper…

                                        It is easy to do justice - very hard to do right

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

                                          It’s time Hog gave eyesight to the victims.

                                          "laissez les bons temps rouler!"

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

                                            I need to get a reproducible random value for a position in 2d space. If I knew x or y was bound by some number, then I could derive a unique seed for each location by using something like x * max_y + y. Unfortunately, for my application, neither x nor y are bounded.

                                            So I thought, okay, I’ll use a 2d noise function, specifically OpenSimplex noise since that’s the one provided by Godot. From experience, I knew that OpenSimplex doesn’t produce cleanly distributed noise values - for example, I’ve never seen it produce a value greater than 0.88. So then I went looking for more information and found this blog that discusses it:

                                            nelsonminar  /  Oct 10, 2021

                                            Distribution of 2d noise functions

                                            Distribution of 2d noise functions

                                            So I’ve been using noise functions in my plotter art. One thing to be aware of with noise functions is the output distributions aren’t uniform. I don’t just mean the smooth variat…

                                            Their results show OpenSimplex noise producing a bell curve and give some code for correcting it at the bottom of the article. Unfortunately, maybe due to implementation differences, Godot doesn’t reproduce the same nice curve. Instead I pretty much always get something like the below (no matter what seed I used):

                                            c56d7da4-2265-429c-be52-71dcd6faaa76-image.png

                                            So now I’ve got to work out what equation produces a helmeted viking leaning over a tavern bar so I can correct for it.

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