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.
  • 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
                • inthehands@hachyderm.ioI inthehands@hachyderm.io

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

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

                  @glyph @tiotasram
                  Huh, why the `super().__init__()`? It appears to work without out that in a quick smoke test

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

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

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

                    "Oppose *systems*
                    Support *people*"

                    #NBPy

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

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

                      #NBPy

                      alineblankertz@indieweb.socialA This user is from outside of this forum
                      alineblankertz@indieweb.socialA This user is from outside of this forum
                      alineblankertz@indieweb.social
                      wrote last edited by
                      #76

                      @glyph
                      Isn't the obvious question what the gaps in society are that make people turn to chatbots as a way of dealing with loneliness? Technology won't address loneliness, it might fill the time that people otherwise would feel a craving for connection with living beings.

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

                        "Oppose *systems*
                        Support *people*"

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

                        Whew. After a short (and much needed) "emotional whiplash break" inserted into the schedule by @chrisjrn, we have @benno with "State of Exception(s)", a talk about error handling. And then as befits a lighter-hearted and more technical talk, we open with a brief reference to the historical figure of Carl Schmitt and commentary from "reactionary twit" Brian Lunduke.

                        Oops.

                        Ahem. And now, some examples of idiomatic error handling in C…

                        #NBPy

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

                          Whew. After a short (and much needed) "emotional whiplash break" inserted into the schedule by @chrisjrn, we have @benno with "State of Exception(s)", a talk about error handling. And then as befits a lighter-hearted and more technical talk, we open with a brief reference to the historical figure of Carl Schmitt and commentary from "reactionary twit" Brian Lunduke.

                          Oops.

                          Ahem. And now, some examples of idiomatic error handling in C…

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

                          (slide full of C code)

                          "Who knows the undefined behavior"

                          (pause for less than 30 seconds)

                          sometimes rhetoric is still very effective even if you know exactly how the trick works

                          #NBPy

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

                            (slide full of C code)

                            "Who knows the undefined behavior"

                            (pause for less than 30 seconds)

                            sometimes rhetoric is still very effective even if you know exactly how the trick works

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

                            "[errno] hopefully tells you why something failed"

                            load-bearing "hopefully" there

                            #NBPy

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

                              @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 This user is from outside of this forum
                              rusty__shackleford@mastodon.socialR This user is from outside of this forum
                              rusty__shackleford@mastodon.social
                              wrote last edited by
                              #80

                              @tknarr
                              @glyph

                              Unfortunately, these devices now take advantage of DRM or argue that they are proprietary which triggers the DMCA. This has caused a lot of headaches for everyone.

                              I wrote a research paper on this here:

                              Link Preview Image
                              Written: April 25, 2024

                              The Paradox of Ownership in the Digital Age:  How DMCA and DRM Limit Access and Undermine Preservation Efforts  The digital age has ushered in a revolution in how we access and intera...

                              favicon

                              autumn (pen.waltuh.cyou)

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

                                "[errno] hopefully tells you why something failed"

                                load-bearing "hopefully" there

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

                                "Exception handling requires runtime code"

                                - C++ requires a runtime (sometimes: if you're writing kernel code or some other no-runtime context you might have to write C++ in a dialect that is missing runtime-requiring language features)
                                - Python obviously in its own runtime
                                - Rust… has no runtime

                                So: rust has no exceptions.

                                Rust has result types.

                                #NBPy

                                glyph@mastodon.socialG unlambda@hachyderm.ioU 2 Replies Last reply
                                0
                                • glyph@mastodon.socialG glyph@mastodon.social

                                  "Exception handling requires runtime code"

                                  - C++ requires a runtime (sometimes: if you're writing kernel code or some other no-runtime context you might have to write C++ in a dialect that is missing runtime-requiring language features)
                                  - Python obviously in its own runtime
                                  - Rust… has no runtime

                                  So: rust has no exceptions.

                                  Rust has result types.

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

                                  Benno carefully emphasizes that he doesn't want to be engaging in language wars, and in the spirit of honoring that I won't over-emphasize this, but he has the same feelings (bad) that I have about the way that Go halfheartedly encourages you to handle errors with tuple returns, by allowing you to easily forget to handle them.

                                  #NBPy

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

                                    Benno carefully emphasizes that he doesn't want to be engaging in language wars, and in the spirit of honoring that I won't over-emphasize this, but he has the same feelings (bad) that I have about the way that Go halfheartedly encourages you to handle errors with tuple returns, by allowing you to easily forget to handle them.

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

                                    Love to see @dreid getting an (implicit) shout-out from the stage as well, via a website you should all be familiar with, https://how.complexsystems.fail

                                    #NBPy

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

                                      Love to see @dreid getting an (implicit) shout-out from the stage as well, via a website you should all be familiar with, https://how.complexsystems.fail

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

                                      Next up, @kattni with "Bumbling into BeeWare: From typo-fix to core developer". Definitely excited to hear about this!

                                      #NBPy

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

                                        Next up, @kattni with "Bumbling into BeeWare: From typo-fix to core developer". Definitely excited to hear about this!

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

                                        Kattni recites a litany of reasons that @freakboy3742 is an open-source maintainer role model for me. The BeeWare sprint at PyCon 2024 was filled with joy, constant recognition of contributors' achievements, rewards (challenge coins, and I just failed a coin check). Achieving this sort of social milieu with the degree of intentionality that Russell does is really something to aspire to, and it is not easy.

                                        #NBPy

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

                                          Kattni recites a litany of reasons that @freakboy3742 is an open-source maintainer role model for me. The BeeWare sprint at PyCon 2024 was filled with joy, constant recognition of contributors' achievements, rewards (challenge coins, and I just failed a coin check). Achieving this sort of social milieu with the degree of intentionality that Russell does is really something to aspire to, and it is not easy.

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

                                          Apropos of the conclusion of the previous talk — "Human practitioners are the adaptable element of complex systems." — we are introduced to a way that Russell recovered from an error, i.e.: the review process created some pretty severe and unpleasant code review anxiety, and he immediately apologized and adjusted his style as soon as he was made aware.

                                          Setting up good processes is important but the *meta*-process being responsive to human input is even moreso.

                                          #NBPy

                                          glyph@mastodon.socialG 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