linuxusers.in is a Fediverse instance that uses the ActivityPub protocol. In other words, users at this host can communicate with people that use software like Mastodon, Pleroma, Friendica, etc. all around the world.

This server runs the snac software and there is no automatic sign-up process.

Admin email
dharmiik@proton.me
Admin account
@dharmik@linuxusers.in

Search results for tag #python

Hacker News 50 » 🤖
@hn50@social.lansky.name

Show HN: Kreuzberg – Modern async Python library for document text extraction

Link: github.com/Goldziher/kreuzberg
Discussion: news.ycombinator.com/item?id=4

    Hacker News 50 » 🤖
    @hn50@social.lansky.name

    JesseSort: A novel sorting algorithm that is faster than Python's default sort.

    Link: github.com/lewj85/jessesort
    Discussion: news.ycombinator.com/item?id=4

      screwlisp boosted

      screwlisp »
      @screwtape@mastodon.sdf.org

      @kentpitman with some special announcements and releases.

      archives.anonradio.net/2025021

      Thanks for the incredible interview and livechat everyone!

      Interview 1 / ?

      Please drop questions here beforehand or join us live in as always !
      telnet lambda.moo.mud.org 8888
      co guest
      @join screwtape

      @nosrednayduj @sacha @hairylarry @pkw @rat @pizzapal

      Lispy gopher climate ! Unix_Surrealism

      Alt...Lispy gopher climate ! Unix_Surrealism

        screwlisp boosted

        screwlisp »
        @screwtape@mastodon.sdf.org


        archives.anonradio.net/2025021
        Possibly I didn't bang the drum enough.

        @kentpitman is joining me for the show - 0UTC Wednesday, Tuesday evening in the Americas. I'll toot the link on mastodon a few hours before the show as always.

        If you could join and ask questions live or beforehand here in this thread (if you join through the archive).

        visibility please

        Lispy gopher climate banner

LISPY GOPHER SHOW

The gopher and lisp alien are wading through flooded wreckage, flanked by two demons carrying radio equipment.

ANONRADIO.NET
0UTC Wednesday

        Alt...Lispy gopher climate banner LISPY GOPHER SHOW The gopher and lisp alien are wading through flooded wreckage, flanked by two demons carrying radio equipment. ANONRADIO.NET 0UTC Wednesday

          Karsten Johansson »
          @ksaj@infosec.exchange

          The ancient Babylonians had a way of calculating (really more like estimating) square roots.

          There are a gazillion ways to do the initial "guess" Here we look for it's nearest-lower square, and then calculate the distance between them. Repeatedly.

          --
          def squareroute(s, tol=1e-10, max_it=100):
          if s < 0:
          raise ValueError("No negatives: {}".format(s))
          s = float(s)
          if s == 0:
          return 0.0
          g = 1.0

          while g * g <= s:
          g += 1.0
          g -= 1.0

          for _ in range(max_it):
          new_g = (g + s / g) / 2.0
          if abs(new_g - g) < tol:
          return new_g
          g = new_g
          return g

          zz = squareroute(50)

          print(zz)

          Challenge: Show off how you'd do the Babylonian Square Root algorithm, including in other languages.

          Incidentally, you don't normally need 100 iterations. But as long as the tolerance is close, it'll stop way before then.

          I did this in another comment in as well.

            Em :official_verified: »
            @Em0nM4stodon@infosec.exchange

            In this article, I talk about
            how the current changes in the US are affecting the tools we use in privacy:

            Each change of government can have a serious effect on data privacy legislation for better, or worse.

            Privacy is a politically charged field.

            Many privacy tools we use depend at least partially on government funding or on other tools which depend on government funding.

            Current projects that could be impacted now or later include the Tor Project, the Python Software Foundation, and all the projects relying on these.

            More on this here: privacyguides.org/articles/202

              James Scholes »
              @jscholes@dragonscave.space

              No matter what happens in the world, one thing will remain constant: me typing `.trim()` when I mean `.strip()` in , every single time.

                screwlisp boosted

                screwlisp »
                @screwtape@mastodon.sdf.org

                I wrote a better of in which I hilariously misunderstood python to be a reference to (heir to CMUCL python).

                medium.com/@screwlisp/this-is-

                I also address two fascinating medium trends I discovered.

                1. The intense swapping-whispered-ghost-stories about lisp by scientist writers

                2. Most articles named "Free Python Tutorial!" have no code, but links to purchasing training.

                I eventually found "11 one-liners"

                ** iota
"counting numbers going up to _"
#+begin_src lisp
  (require :Alexandria) (alexandria:iota 10 :start 1)
#+end_src

#+RESULTS:
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |

                Alt...** iota "counting numbers going up to _" #+begin_src lisp (require :Alexandria) (alexandria:iota 10 :start 1) #+end_src #+RESULTS: | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |

                  Hacker News 50 » 🤖
                  @hn50@social.lansky.name

                  Tom Bortels »
                  @tbortels@infosec.exchange

                  Hey users: is there a good site/index for python tools you can install with uv or run with uvx?

                  As in:

                  ~ uv tool list
                  bpytop v1.0.68
                  - bpytop

                  There's gotta be a truckload of them, but randomly browsing pypi and guessing isn't cutting it.

                  If there isn't a good site/showcase - what's your favorite python cli tool you can't live without?

                    st1nger :unverified: 🏴‍☠️ :linux: :freebsd: »
                    @st1nger@infosec.exchange

                    3, Pygame, and Bookworm on the A30 - 4 core Cortex A7 with a Mali-400 MP GPU, 512 MB of RAM, and an incredible little 640x480 IPS screen jtolio.com/2025/02/py3-pygame-

                      Hacker News 50 » 🤖
                      @hn50@social.lansky.name

                      Python 3, Pygame, and Debian Bookworm on the Miyoo A30

                      Link: jtolio.com/2025/02/py3-pygame-
                      Discussion: news.ycombinator.com/item?id=4

                        Back to top - More...