Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. let's get this party started #NBPy

let's get this party started #NBPy

Scheduled Pinned Locked Moved Uncategorized
nbpy
93 Posts 40 Posters 0 Views
  • 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.
  • glyph@mastodon.socialG glyph@mastodon.social

    Now listening to Freya Bhushan Mehta asking the age-old question: what code should be in Python, what should be in C++ (or your compiled language of choice)? #NBPy

    glyph@mastodon.socialG This user is from outside of this forum
    glyph@mastodon.socialG This user is from outside of this forum
    glyph@mastodon.social
    wrote last edited by
    #46

    It's been a while since I had to ask this question too seriously, so it's interesting to see the where the ecosystem has transitioned to. Lots of new libraries (I've never used PyBind11) but also venerable ones (Boost.Python, cffi). Interesting to hear that parameter conversions are still a significant overhead. Cross the boundaries infrequently, with large values, to avoid the translation overhead explosion, which is ancient wisdom: https://blog.glyph.im/2022/12/potato-programming.html

    #NBPy

    glyph@mastodon.socialG 1 Reply Last reply
    0
    • miss_rodent@girlcock.clubM miss_rodent@girlcock.club

      @glyph I'm curious what the conclusion of that ends up being.

      glyph@mastodon.socialG This user is from outside of this forum
      glyph@mastodon.socialG This user is from outside of this forum
      glyph@mastodon.social
      wrote last edited by
      #47

      @miss_rodent I somewhat famously have Weird Ideas of my own about this general topic

      miss_rodent@girlcock.clubM 1 Reply Last reply
      0
      • glyph@mastodon.socialG glyph@mastodon.social

        @miss_rodent I somewhat famously have Weird Ideas of my own about this general topic

        miss_rodent@girlcock.clubM This user is from outside of this forum
        miss_rodent@girlcock.clubM This user is from outside of this forum
        miss_rodent@girlcock.club
        wrote last edited by
        #48

        @glyph ... fair, though I don't know your take on it either (somewhere in the blog archives? Not sure where to dig up your weird ideas on it.)

        miss_rodent@girlcock.clubM 1 Reply Last reply
        0
        • glyph@mastodon.socialG glyph@mastodon.social

          It's been a while since I had to ask this question too seriously, so it's interesting to see the where the ecosystem has transitioned to. Lots of new libraries (I've never used PyBind11) but also venerable ones (Boost.Python, cffi). Interesting to hear that parameter conversions are still a significant overhead. Cross the boundaries infrequently, with large values, to avoid the translation overhead explosion, which is ancient wisdom: https://blog.glyph.im/2022/12/potato-programming.html

          #NBPy

          glyph@mastodon.socialG This user is from outside of this forum
          glyph@mastodon.socialG This user is from outside of this forum
          glyph@mastodon.social
          wrote last edited by
          #49

          I am learning that all things english are uncool as @danlyke explains square dancing by way of group theory. I do love the Python community.

          #NBPy

          glyph@mastodon.socialG 1 Reply Last reply
          0
          • glyph@mastodon.socialG glyph@mastodon.social

            Extremely valuable reminder about "simply" and "just": this language (along with its pals; "basically" "obviously", "of course") isn't merely stylistic noise; it sends a specific message:

            "This should be easy"

            or, in other words:

            "If this isn't easy, it's your fault"

            This is implicitly an attack on the reader.

            #NBPy

            c0dec0dec0de@hachyderm.ioC This user is from outside of this forum
            c0dec0dec0de@hachyderm.ioC This user is from outside of this forum
            c0dec0dec0de@hachyderm.io
            wrote last edited by
            #50

            @glyph Them’s fightin’ words

            1 Reply Last reply
            0
            • miss_rodent@girlcock.clubM miss_rodent@girlcock.club

              @glyph ... fair, though I don't know your take on it either (somewhere in the blog archives? Not sure where to dig up your weird ideas on it.)

              miss_rodent@girlcock.clubM This user is from outside of this forum
              miss_rodent@girlcock.clubM This user is from outside of this forum
              miss_rodent@girlcock.club
              wrote last edited by
              #51

              @glyph [I am generally outside the python ecosystem - I have a general idea who you are, but, I do not watch python conference talks or watch that crowd closely enough to know all that much about your opinions on snake-related programming practices.]

              1 Reply Last reply
              0
              • glyph@mastodon.socialG glyph@mastodon.social

                I am learning that all things english are uncool as @danlyke explains square dancing by way of group theory. I do love the Python community.

                #NBPy

                glyph@mastodon.socialG This user is from outside of this forum
                glyph@mastodon.socialG This user is from outside of this forum
                glyph@mastodon.social
                wrote last edited by
                #52

                "Pipelined Architecture", a well known feature of square dancing #NBPy

                glyph@mastodon.socialG 1 Reply Last reply
                0
                • glyph@mastodon.socialG glyph@mastodon.social

                  Now I'm learning about the lesson that users have learned from yes/no "consent" modals is that they just always have to say "yes" or the computer will deny them critical access to functionality that they need in order to perform their desired task, complete assigned work from an employer or school, or even get life-critical medication. I'm not feeling like a feature whose perceived function is 'you have to say yes; now that you said yes it's your fault' should be referred to as 'consent' #NBPy

                  f800gecko@mastodon.onlineF This user is from outside of this forum
                  f800gecko@mastodon.onlineF This user is from outside of this forum
                  f800gecko@mastodon.online
                  wrote last edited by
                  #53

                  @glyph

                  Shotgun consent.

                  Still counts when the other guy's the one pointing the thing.

                  Or one can 'choose' to dissolve into nothingness...

                  Then the survey demanding to know how well they 'helped' today.

                  Almost as savoury and life-affirming as the involuntary consent transfusion.

                  1 Reply Last reply
                  0
                  • glyph@mastodon.socialG glyph@mastodon.social

                    Now listening to Freya Bhushan Mehta asking the age-old question: what code should be in Python, what should be in C++ (or your compiled language of choice)? #NBPy

                    f800gecko@mastodon.onlineF This user is from outside of this forum
                    f800gecko@mastodon.onlineF This user is from outside of this forum
                    f800gecko@mastodon.online
                    wrote last edited by
                    #54

                    @glyph

                    Numba has been a godsend for my simple but voluminous math problem (billions of tx). What took 15 minutes pure Python got crushed to 14 seconds once cleaned-up of any superfluous admin stuff and @jit'd.

                    mirth@mastodon.sdf.orgM 1 Reply Last reply
                    0
                    • glyph@mastodon.socialG glyph@mastodon.social

                      Extremely valuable reminder about "simply" and "just": this language (along with its pals; "basically" "obviously", "of course") isn't merely stylistic noise; it sends a specific message:

                      "This should be easy"

                      or, in other words:

                      "If this isn't easy, it's your fault"

                      This is implicitly an attack on the reader.

                      #NBPy

                      andrybak@mastodon.socialA This user is from outside of this forum
                      andrybak@mastodon.socialA This user is from outside of this forum
                      andrybak@mastodon.social
                      wrote last edited by
                      #55

                      @glyph fun fact: some of these are banned in the curl codebase: https://github.com/curl/curl/blob/master/scripts/badwords.txt#L99

                      see also: https://mastodon.social/@bagder/116161776616642292

                      1 Reply Last reply
                      0
                      • glyph@mastodon.socialG glyph@mastodon.social

                        Now I'm learning about the lesson that users have learned from yes/no "consent" modals is that they just always have to say "yes" or the computer will deny them critical access to functionality that they need in order to perform their desired task, complete assigned work from an employer or school, or even get life-critical medication. I'm not feeling like a feature whose perceived function is 'you have to say yes; now that you said yes it's your fault' should be referred to as 'consent' #NBPy

                        tknarr@mstdn.socialT This user is from outside of this forum
                        tknarr@mstdn.socialT This user is from outside of this forum
                        tknarr@mstdn.social
                        wrote last edited by
                        #56

                        @glyph It shouldn't be. When I was younger, the law interpreted things as "once you own or have the right to use something, any attempt by anyone to deny you use of it is illegal and you can do whatever you need to do to use your stuff". You were supposed to minimize damage to other people's stuff, but if they tried to put a lock on something you'd already bought and paid for you could just cut the lock off.

                        rusty__shackleford@mastodon.socialR 1 Reply Last reply
                        0
                        • glyph@mastodon.socialG glyph@mastodon.social

                          let's get this party started #NBPy

                          davebauerart@mastodon.socialD This user is from outside of this forum
                          davebauerart@mastodon.socialD This user is from outside of this forum
                          davebauerart@mastodon.social
                          wrote last edited by
                          #57

                          @glyph Wow, I fell like I am missing so much! Amazing topic collection.

                          glyph@mastodon.socialG 1 Reply Last reply
                          0
                          • davebauerart@mastodon.socialD davebauerart@mastodon.social

                            @glyph Wow, I fell like I am missing so much! Amazing topic collection.

                            glyph@mastodon.socialG This user is from outside of this forum
                            glyph@mastodon.socialG This user is from outside of this forum
                            glyph@mastodon.social
                            wrote last edited by
                            #58

                            @davebauerart inducing FOMO is the goal, more people should go to this event. it’s really special!

                            davebauerart@mastodon.socialD 1 Reply Last reply
                            0
                            • f800gecko@mastodon.onlineF f800gecko@mastodon.online

                              @glyph

                              Numba has been a godsend for my simple but voluminous math problem (billions of tx). What took 15 minutes pure Python got crushed to 14 seconds once cleaned-up of any superfluous admin stuff and @jit'd.

                              mirth@mastodon.sdf.orgM This user is from outside of this forum
                              mirth@mastodon.sdf.orgM This user is from outside of this forum
                              mirth@mastodon.sdf.org
                              wrote last edited by
                              #59

                              @f800gecko @glyph @jit JAX can also be quite nice for some problems, even ones that don't look quite like linear algebra.

                              f800gecko@mastodon.onlineF 1 Reply Last reply
                              0
                              • glyph@mastodon.socialG glyph@mastodon.social

                                Extremely valuable reminder about "simply" and "just": this language (along with its pals; "basically" "obviously", "of course") isn't merely stylistic noise; it sends a specific message:

                                "This should be easy"

                                or, in other words:

                                "If this isn't easy, it's your fault"

                                This is implicitly an attack on the reader.

                                #NBPy

                                neuhaus@mastodon.acm.orgN This user is from outside of this forum
                                neuhaus@mastodon.acm.orgN This user is from outside of this forum
                                neuhaus@mastodon.acm.org
                                wrote last edited by
                                #60

                                @glyph it could also be interpreted as encouragement: Don‘t be intimidated. It‘s less complicated than it looks.

                                1 Reply Last reply
                                0
                                • glyph@mastodon.socialG glyph@mastodon.social

                                  Now Alla Barbalat is talking about using Python to evaluate game balance in the context of a board game.

                                  For me personally this is such a fun and refreshing look at a structured approach to the *basics* of game design. A million years ago when I worked in the game industry, so much of what designers were talking about (i.e., at GDC, but also elsewhere) were esoteric, lost-in-the-weeds explanations of very specific problems. This feels very much like the missing piece of that puzzle! #NBPy

                                  jitterted@sfba.socialJ This user is from outside of this forum
                                  jitterted@sfba.socialJ This user is from outside of this forum
                                  jitterted@sfba.social
                                  wrote last edited by
                                  #61

                                  @glyph Any pointers to where I can find out more about this? I want to improve the balance of my TDD game and its upcoming expansion.

                                  1 Reply Last reply
                                  0
                                  • glyph@mastodon.socialG glyph@mastodon.social

                                    TIL about this all-time banger https://lookitup.baby #NBPy

                                    wuest@hachyderm.ioW This user is from outside of this forum
                                    wuest@hachyderm.ioW This user is from outside of this forum
                                    wuest@hachyderm.io
                                    wrote last edited by
                                    #62

                                    @glyph oh man what a good thing to be in today's 10k for. An all-timer classic for sure

                                    1 Reply Last reply
                                    0
                                    • glyph@mastodon.socialG glyph@mastodon.social

                                      Now I'm learning about the lesson that users have learned from yes/no "consent" modals is that they just always have to say "yes" or the computer will deny them critical access to functionality that they need in order to perform their desired task, complete assigned work from an employer or school, or even get life-critical medication. I'm not feeling like a feature whose perceived function is 'you have to say yes; now that you said yes it's your fault' should be referred to as 'consent' #NBPy

                                      2legged@mastodon.ie2 This user is from outside of this forum
                                      2legged@mastodon.ie2 This user is from outside of this forum
                                      2legged@mastodon.ie
                                      wrote last edited by
                                      #63

                                      @glyph This issue of coerced consent isn't just a problem with IT.

                                      It poisons society's wider understanding of the concept of consent, and has very dangerous implications for sexual consent.

                                      1 Reply Last reply
                                      0
                                      • mirth@mastodon.sdf.orgM mirth@mastodon.sdf.org

                                        @f800gecko @glyph @jit JAX can also be quite nice for some problems, even ones that don't look quite like linear algebra.

                                        f800gecko@mastodon.onlineF This user is from outside of this forum
                                        f800gecko@mastodon.onlineF This user is from outside of this forum
                                        f800gecko@mastodon.online
                                        wrote last edited by
                                        #64

                                        @mirth @glyph @jit

                                        I shall have a look at JAX.

                                        Numba came to me the same way - someone mentioned in a thread like this one. It looked simpler than Cython, hand-coded C or Rust (trials still pending - I plan to compare all & select for best boost & fit), so I went to Numba first.

                                        mirth@mastodon.sdf.orgM 1 Reply Last reply
                                        0
                                        • glyph@mastodon.socialG glyph@mastodon.social

                                          @davebauerart inducing FOMO is the goal, more people should go to this event. it’s really special!

                                          davebauerart@mastodon.socialD This user is from outside of this forum
                                          davebauerart@mastodon.socialD This user is from outside of this forum
                                          davebauerart@mastodon.social
                                          wrote last edited by
                                          #65

                                          @glyph Slightly inconvenient commute from upstate New York but I can see the value!

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups