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

Gene Pasquet »
@etenil@toot.cat

@amoroso if you consider a lisp, then it's super duper popular in AI. Of course you'll have to ignore the fact that ==

    Diegovsky boosted

    hugovangalen 🤖 🕹️ 😼 »
    @hvangalen@mastodon.nl

    So, just wondering: what is a decent European alternative for payment handling like ? (It must support both single payments and monthly subscriptions.)

    I've been out of the loop and I am sure there are people with experience here.

    Preferably one with a matured API (and a Python library would be a nice bonus).

    Thanks in advance for any suggestions.

    😊

      gyptazy boosted

      gyptazy »
      @gyptazy@mastodon.gyptazy.com

      - an opensource & advanced VM loadbalancer for clusters. Including affinity & anti-affinity rules, maintenance mode (evacuating nodes) and more. I just published my slides about it.

      Project: github.com/gyptazy/ProxLB
      Slides: cdn.gyptazy.com/files/talks/Pr

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

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

        Plain – a web framework for building products with Python

        Link: plainframework.com/
        Discussion: news.ycombinator.com/item?id=4

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

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

          Drew boosted

          Davie Dean »
          @dbdean@aus.social

          Excellent demonstration of a tool that produces a flag from any image, presented at the student showcase of PyCon AU 2024

          Annabel Quach - Pyflagoras: SVG-Based Image Generation

          youtube.com/watch?v=xVjlVYFrJj

          ~ / so what is it?

TRADE OFFER

program receives:

an photo of your choice & a svg file of your choice

(an image of a cartoon in front of a mountain & a progress pride flag)

you receive:

the svg file, but using the palette of your photo

(the progress pride, but with the colours adjusted to match the cartoon)

          Alt...~ / so what is it? TRADE OFFER program receives: an photo of your choice & a svg file of your choice (an image of a cartoon in front of a mountain & a progress pride flag) you receive: the svg file, but using the palette of your photo (the progress pride, but with the colours adjusted to match the cartoon)

            Steve Leach »
            @stevenaleach@sigmoid.social

            @voided I don't get it... Clearly I'm a moron but here's the and - Python sending payload to Rust server.

            And... it fails.. which... I absolutely cannot begin to understand.

              visuwesh boosted

              Mark T. Tomczak »
              @mark@mastodon.fixermark.com

              Oh good. setuptools just went from deprecating hyphenated-keys in favor of underscore_keys to disallowing them.

              ... and they broke the world.

              Odds on whether they'll roll back this change?

              github.com/pypa/setuptools/iss

                HoldMyType »
                @xameer@mathstodon.xyz

                lets ypu instantiate a function anywhere and a ( recursive) function definition can be self contained and last i checked its notorious for its type checking
                wont let you do that unyil you give it the required fixed point function

                Oh and fixed point need not be in R
                Unlike rieman zeta ?
                OTOH python wont spit potential Nonsense

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

                  Show HN: FastOpenAPI – automated docs for many Python frameworks

                  Link: github.com/mr-fatalyst/fastope
                  Discussion: news.ycombinator.com/item?id=4

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

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

                    Show HN: Localscope–Limit scope of Python functions for reproducible execution

                    Link: localscope.readthedocs.io/en/l
                    Discussion: news.ycombinator.com/item?id=4

                      Leonard Ritter »
                      @lritter@mastodon.gamedev.place

                      concerning expressions, C is also more convenient than python now, because it has statement expressions.

                        Brian :python: :flask: :html5: »
                        @brianb@fosstodon.org

                        I have been beating my head on trying to get Flask-SocketIO to work with an existing app and accept connections from a third-party origin.

                        I get 400 errors because the socket closes before a connection can be made. I've disabled CORS (local-only network) and have double checked that every library is compatible. Serving a websocket route from the app works, but it will not other hosts.

                        Anyone with experience able to take a look at a repo or offer insight?

                          Leonard Ritter »
                          @lritter@mastodon.gamedev.place

                          what's this piece of python code going to output? no peeking!

                          

L = []
for i in range(10):
    def f():
        return i
    L.append(f)

for f in L:
    print(f())

                          Alt... L = [] for i in range(10): def f(): return i L.append(f) for f in L: print(f())

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

                            Performance of the Python 3.14 tail-call interpreter

                            Link: blog.nelhage.com/post/cpython-
                            Discussion: news.ycombinator.com/item?id=4

                              Leonard Ritter »
                              @lritter@mastodon.gamedev.place

                              also broken: relative imports from an arbitrary module.

                              also missing: a string block where i don't have to take care of escapes

                              also shit: __pycache__ littering

                              working with python makes it painfully clear to me how many of these problems are fixed in Scopes.

                                Leonard Ritter »
                                @lritter@mastodon.gamedev.place

                                no macros whatsoever in python also hurts bad. there's PEP 638 but it's going nowhere.

                                incredibly annoying.

                                  Juan »
                                  @reidrac@mastodon.gamedev.place

                                  In python 3 you can't modify a dictionary if you are iterating over it, e.g. using the keys. Because the "keys" method is now a view and updates when the dictionary changes.

                                  So instead of:

                                  for k in d.keys(): ...

                                  you should do:

                                  for k in list(d.keys()): ...

                                  and then you can modify the dictionary if you want (e.g. del d[k] to remove an entry).

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

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

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

                                    Show HN: Robyn – “Batman Inspired” Python Web Framework Built with Rust

                                    Link: robyn.tech/
                                    Discussion: news.ycombinator.com/item?id=4

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

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

                                      Show HN: Probly – Spreadsheets, Python, and AI in the browser

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

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

                                        Show HN: Tach – Visualize and untangle your Python codebase

                                        Link: github.com/gauge-sh/tach
                                        Discussion: news.ycombinator.com/item?id=4

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

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

                                          Xonsh – A Python-powered shell

                                          Link: xon.sh/
                                          Discussion: news.ycombinator.com/item?id=4

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

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

                                            R.L. Dane :Debian: :OpenBSD: 🍵 »
                                            @rl_dane@polymaths.social

                                            I really want to like #SolusLinux, as there's not a lot of good semi-rolling-release distros, but the fact that /usr/bin/python is symlinked to python2 gives me mega heebie-jeebies.

                                            Guys, I don't mean to be rude. It's a wonderful distro made by wonderful people.

                                            But PYTHON TWO? In 2025? That's a security jump-scare!

                                            :BlobCatBlankieScared: :blobFoxScared:

                                            #solus #infosec #python

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

                                              Brian :python: :flask: :html5: »
                                              @brianb@fosstodon.org

                                              In other news, I tried getting set up on the new machine and I feel like there's some kind of race condition.

                                              The "pelican-statistics" plugin is supposed to add a dict of stats to the `article` object. Sometimes when building the site, it works. Other times, the build fails with an error that the dictionary doesn't exist.

                                              I need to do more digging, but I'm baffled right now.

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

                                                A Tail Calling Interpreter for Python (already landed in CPython)

                                                Link: blog.reverberate.org/2025/02/1
                                                Discussion: news.ycombinator.com/item?id=4

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

                                                  Show HN: Scripton – Python IDE with Built-In Realtime Visualizations

                                                  Link: scripton.dev
                                                  Discussion: news.ycombinator.com/item?id=4

                                                    HoldMyType boosted

                                                    Abhinav 🌏 »
                                                    @abnv@fantastic.earth

                                                    : There is more than one way to do it.
                                                    : There should be one obvious way to do it.
                                                    : There is no straightforward way to do it.
                                                    : There is no way to do it.

                                                      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

                                                        Back to top - More...