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

    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
                          • 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

                            fxchip@hachyderm.ioF This user is from outside of this forum
                            fxchip@hachyderm.ioF This user is from outside of this forum
                            fxchip@hachyderm.io
                            wrote last edited by
                            #66

                            @glyph For all the others I can see it, but to me "basically" is more closely related to "effectively" or "essentially" and feels like it's better-suited to saying e.g. "what I'm describing after this word isn't *exactly* correct about the subject matter, but will generally be at least either (1) a safe way to think of it for context purposes and/or (2) a (possibly over-)simplified explanation/perspective intended to provide a workable *base* to understand the subject".

                            "Why not use effectively or essentially then"? Because those "distillation indicators" are stronger hints of *accuracy* to me, where "basically" instead hints (to me) that the writer is hedging or fudging a little bit but (hopefully) not materially so, which is useful information in that it flags that further research may be required if there's still confusion. Plus, "effectively" generally implicitly captures *outcomes* (or *effects*) rather than the nature of a thing.

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

                              @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 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
                              #67

                              @f800gecko @glyph @jit The vmap() function is one of the key bits that lets you structure code in a way that's readable yet still extracts some parallelism. This is useful even running on CPU, but depending what hardware you're targeting GPU acceleration is an option too.

                              I've been away from this stuff for a few years, but doing a quick search to see what's new Taichi also looks extremely interesting more flexible at the cost of some performance.

                              Link Preview Image
                              Taichi Docs

                              favicon

                              (docs.taichi-lang.org)

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

                                @f800gecko @glyph @jit The vmap() function is one of the key bits that lets you structure code in a way that's readable yet still extracts some parallelism. This is useful even running on CPU, but depending what hardware you're targeting GPU acceleration is an option too.

                                I've been away from this stuff for a few years, but doing a quick search to see what's new Taichi also looks extremely interesting more flexible at the cost of some performance.

                                Link Preview Image
                                Taichi Docs

                                favicon

                                (docs.taichi-lang.org)

                                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
                                #68

                                @mirth @glyph @jit

                                looks worth exploring - thanks!

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

                                  "Pipelined Architecture", a well known feature of square dancing #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
                                  #69

                                  Good morning! Up now: "An Economy of Empathy" by @pythonbynight . We are starting off … extremely dark … with some descriptions of the grisly reality of content-moderation work in the global south at a company called "Sama" (on behalf of Meta, née Facebook) and moving directly to eugenics, including from the founder of "AI", and creator of Lisp, John McCarthy. Oooooooof.

                                  "Are these biases still present in the tech industry?"

                                  Not exactly a surprise, but, again: oof. #NBPy

                                  glyph@mastodon.socialG goatcheese@eldritch.cafeG 2 Replies Last reply
                                  0
                                  • glyph@mastodon.socialG glyph@mastodon.social

                                    Good morning! Up now: "An Economy of Empathy" by @pythonbynight . We are starting off … extremely dark … with some descriptions of the grisly reality of content-moderation work in the global south at a company called "Sama" (on behalf of Meta, née Facebook) and moving directly to eugenics, including from the founder of "AI", and creator of Lisp, John McCarthy. Oooooooof.

                                    "Are these biases still present in the tech industry?"

                                    Not exactly a surprise, but, again: oof. #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
                                    #70

                                    Always glad to see Nick Bostrom, Longtermism, William MacAskill, Effective Altruism, etc etc get read for filth. These guys *still* get way too much credit for the bailey of their ideas and are not often scrutinized for the motte of overt eugenics, racism, misogyny that they are building upon.

                                    #NBPy

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

                                      Always glad to see Nick Bostrom, Longtermism, William MacAskill, Effective Altruism, etc etc get read for filth. These guys *still* get way too much credit for the bailey of their ideas and are not often scrutinized for the motte of overt eugenics, racism, misogyny that they are building upon.

                                      #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
                                      #71

                                      An even wider-ranging indictment of the basic tools of statistics, data science, machine learning, and the concept of "intelligence" than I'm familiar with. Even the concept of a linear regression evokes an implicit normative judgement, that human difference is all quantifiable and sameness is desirable — when those things are demonstrably untrue. But more to the point these fields were *initally developed* by eugenicists.

                                      #NBPy

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

                                        I love talks that, as a 25 year Python veteran, have the ability make me say to myself “wait, does that even work” with less than 10 lines of code

                                        inthehands@hachyderm.ioI This user is from outside of this forum
                                        inthehands@hachyderm.ioI This user is from outside of this forum
                                        inthehands@hachyderm.io
                                        wrote last edited by
                                        #72

                                        @glyph @tiotasram
                                        Oo, that’s tricky and fun

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

                                          An even wider-ranging indictment of the basic tools of statistics, data science, machine learning, and the concept of "intelligence" than I'm familiar with. Even the concept of a linear regression evokes an implicit normative judgement, that human difference is all quantifiable and sameness is desirable — when those things are demonstrably untrue. But more to the point these fields were *initally developed* by eugenicists.

                                          #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
                                          #73

                                          "*Why* are users turning to chatbots as a way of dealing with loneliness? What are the gaps in existing technology?"

                                          #NBPy

                                          glyph@mastodon.socialG alineblankertz@indieweb.socialA 2 Replies 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