soc.octade.net 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
social@octade.net

Search results for tag #python

screwlisp boosted

[?]Digital Mark λ ☕️ 8647 » 🌐
@mdhughes@appdot.net

Top Four funniest things about Python (language by Guido):
4. IDLE IDE named after Eric.
3. import antigravity
2. import turtle; turtle.reset(); turtle.forward(100); whee!
1. How incredibly irate whitespace indenting makes faux-traditional programmers (knows of Algol but is unaware of/disrespects FORTRAN).

    [?]Ben Clifford » 🌐
    @benc@mastodon.hawaga.org.uk

    mini quiz:

    how many elements in this set?

    {1.0, True, 1, complex(1,0)}

    and what is/are their type(s)?

      [?]Hugo van Kemenade » 🌐
      @hugovk@mastodon.social

      @mgorny The good news is that was merged in 2024 but never actually released, so this change only affects those using unreleased source directly? And it's been archived on PyPI, so perhaps find a replacement.

        screwlisp boosted

        [?]Digital Mark λ ☕️ 8647 » 🌐
        @mdhughes@appdot.net

        @screwlisp I think there's a confusion of two things there, the LISP compiler:
        en.wikipedia.org/wiki/CMU_Comm

        Guido's Python is unrelated, came out of his ABC language (which I played with a bit on the ST in college) & Monty Python jokes. It's not a snake.

          [?]screwlisp » 🌐
          @screwlisp@gamerplus.org

          While I am still AWOL myself, I got an interesting piece of trivia from the guy who runs NZ's stuff.

          a. Pre- , the python program was so named "because it could swallow the whole pig". (!).

          b. EDITED in 1994 python (scripting) had "lisp influenced" lambda and map/reduce/filter added to its standard library, and later removed.

          Though his source was "he googled it" so I dunno, I don't partake in that personally.

            [?]Jesus Michał von Gentoo 🏔 (he) » 🌐
            @mgorny@social.treehouse.systems

            Today in things that couldn't have aged well:

            "Unpin flit-core dependency" 2 years ago without actually updating the metadata to use the newer pyproject.toml format.

            github.com/sethmlarson/socksio

              [?]Jesus Michał von Gentoo 🏔 (he) » 🌐
              @mgorny@social.treehouse.systems

              Me after laboriously backporting 3.15 fixes to 6.0.x in : "oh, nice, the patchset applies cleanly to 5.2.x as well."

              And today, I have to laboriously backport another patch to 6.0.x, and it turns out the backport doesn't apply cleanly to 5.2.x, so I have to laboriously backport it there as well.

              I honestly *hate* Django Python version support policy. Shifting all the burden downstream.

                [?]passagemath » 🌐
                @passagemath.org@bsky.brid.gy

                Just released version 10.8.8 of passagemath, the comprehensive system in , the pip-installable modularized portable compatible full-featured fork of .
                github.com/passagemath/...

                Release passagemath-10.8.8 · p...

                  [?]AA » 🌐
                  @AAKL@infosec.exchange

                  New.

                  "While headlines focused on an AI model escaping its test environment, the real lesson is that security failures still begin with ordinary mistakes and overlooked exposure."

                  "Behind the AI headlines are familiar attack paths: vulnerable software, stolen credentials and permissive access."

                  Barracuda: Faster, not different: What the Hugging Face AI incident really means for organizations blog.barracuda.com/2026/08/03/

                  Related, from yesterday:

                  Socket: Claude Breached 3 Companies and Uploaded Malware to PyPI During Anthropic's Security Tests socket.dev/blog/anthropic-clau @SocketSecurity

                    Sacha Chua boosted

                    [?]jasper spaans » 🌐
                    @jap@mastodon.nl

                    A small elisp fragment that I just added to my config to enable repeat-mode for easier indent/dedent in ; if you need to dedent something by two levels, with this you can just hit `C-c < <` instead of having `C-c < C-c <`. A whole `C-c` saved!

                    And, if you're not using repeat-mode, you are missing out!

                    ```elisp
                    (use-package emacs
                    :ensure nil
                    :init
                    (repeat-mode 1)
                    :config
                    (defvar-keymap my/python-indent-dedent-map
                    :repeat t
                    "\<" #'py-shift-left
                    "\>" #'py-shift-right)
                    (put 'py-shift-left 'repeat-map 'my/python-indent-dedent-map)
                    (put 'py-shift-right 'repeat-map 'my/python-indent-dedent-map))
                    ```

                      [?]passagemath » 🌐
                      @passagemath.org@bsky.brid.gy

                      [?]passagemath » 🌐
                      @passagemath.org@bsky.brid.gy

                      Release candidate 10.8.8.rc1 of passagemath, the comprehensive system in , the pip-installable modularized portable compatible full-featured fork of .
                      github.com/passagemath/...

                      Release passagemath-10.8.8.rc1...

                        [?]roddie digital 🏴󠁧󠁢󠁳󠁣󠁴󠁿🇵🇸 » 🌐
                        @roddie@roddie.social

                        Setting up a Raspberry Pi to run my Bluesky bot because keeps failing with an enigmatic "could not execute step" error and I'm being reminded what an absolute nightmare /pip is to get set up

                          #python boosted

                          [?]Jupiter Rowland » 🌐
                          @jupiter_rowland@hub.netzgemeinde.eu

                          @Chao-c'
                          BTW I had account on identi.ca, which was StatusNet powered (I believe).

                          It was. At least until Evan and Erin could no longer justify it running on that janky OStatus protocol. The result was the ActivityPump protocol, the pump.io software and Identi.ca's switch to pump.io with all hands on board.

                          Yes, and it should not be implemented in Ruby or PHP or something like that. I have seen one online discussion forum being rewritten from PHP to Rust few years ago, and the improvement in responsiveness of the web platform was amazing. (I do C, not Rust, but C is too oldschool now, and the performance penalty of Rust is minor, probably not noticeable at all)

                          This reminds me of how the Fediverse is all over the place in terms of programming languages. Everyone has their own Holy Grail.

                          Friendica and its descendants are written in PHP. They may not be the fastest (even though what bogged down early Friendica were its heavyweight federation connectors to everywhere, especially the one for Facebook that came in 2011). Mike either discarded or rewrote these when he rewrote Red. But they happily run on a run-of-the-mill LAMP stack.

                          Mastodon is written in Ruby on Rails. Hubzilla runs circles around it in terms of performance per account/channel, and that has to say something. The only thing that managed to top this was early diaspora*, written in Ruby on Rails for Mac with MongoDB as the database system.

                          The *omas are built in Elixir. Granted, they're utter featherweights, especially considering their features. They're legendary for their low server impact. Then again, Pleroma apparently is spaghetti code straight from hell. Its own devs often don't have a clue where to go look for bugs, much less how to fix them. (Miraculously, the Akkoma devs do manage to get ride of quite a number of them.)

                          The *keys are built in TypeScript and Vue.js. I guess one reason why Misskey is infamous for having so many forks and forks of forks is because there are tons of people who can code in JavaScript, the primary mobile programming language.

                          Iceshrimp.NET is a still very incomplete "rewrite" of old Iceshrimp in C#. It was largely tackled to get rid of all those nasty bugs inherited from Misskey that even Misskey doesn't manage to get rid of. I've heard quite some outcry: Iceshrimp.NET is a sell-out to Microsoft. I guess whoever uttered that didn't go check who owns TypeScript.

                          PieFed is a dead giveaway: Python. And PieFed makes more headlines in the Threadiverse for server politics than for its underlying technology, except that Lemmy pales in comparison.

                          GoToSocial is a dead giveaway, too: Go. And it was one of the first Fediverse server applications to not come with a Web UI. Those who use it for a single-user server often don't even bother installing one and use some Mastodon app or other instead. Besides, why drag around a Web UI if there are much better third-party Web UIs than whatever you could whip up?

                          #Long #LongPost #CWLong #CWLongPost #FediMeta #FediverseMeta #CWFediMeta #CWFediverseMeta #Mastodon #Friendica #Hubzilla #Pleroma #Akkoma #Misskey #Forkey #Forkeys #Iceshrimp #IceshrimpJS #Iceshrimp.NET #PieFed #GoToSocial #PHP #RubyOnRails #Elixir #JavaScript #TypeScript #VueJS #C# #Python #Go

                            [?]passagemath » 🌐
                            @passagemath.org@bsky.brid.gy

                            [?]Trey Hunner 🐍 » 🌐
                            @treyhunner@mastodon.social

                            Did you know that map()/filter() were added to Python 6 years before comprehensions?

                            Also range() was added 9 years before zip() which was added 3 years before enumerate().

                            And strings methods weren't methods for the first 9 years... they lived in the string module!

                            For years I've wanted an easier way to look up facts like those.

                            Now I have a way! pym.dev/since

                            It's also available as a CLI tool via PyPI

                            uvx sincewhen 'sum()'

                              Glyph boosted

                              [?]AI6YR Ben » 🌐
                              @ai6yr@m.ai6yr.org

                              Great, now the AI is throwing malware into python libraries, too.

                              Anthropic's Claude breached 3 orgs, uploaded PyPI malware during tests

                              bleepingcomputer.com/news/secu

                                [?]passagemath » 🌐
                                @passagemath.org@bsky.brid.gy

                                Release candidate 10.8.8.rc0 of passagemath, the comprehensive system in , the pip-installable modularized portable compatible full-featured fork of .
                                github.com/passagemath/...

                                Release passagemath-10.8.8.rc0...

                                  [?]Jesus Michał von Gentoo 🏔 (he) » 🌐
                                  @mgorny@social.treehouse.systems

                                  Zero days since added a random new functionality that depends on pip being entirely standalone and breaks when you unbundle the dependencies. And I'm unable to figure out why a bunch of tests are still failing.

                                  EDIT: I'd appreciate some help with that. My WIP is at codeberg.org/gentoo/gentoo/pul.

                                    [?]Erik Jonker » 🌐
                                    @ErikJonker@mastodon.social

                                    There is more then Generative AI / LLMs , nice article about this,
                                    "The important skill is not always choosing the newest model. It is choosing the right model for the problem."
                                    kdnuggets.com/7-machine-learni

                                      [?]passagemath » 🌐
                                      @passagemath.org@bsky.brid.gy

                                      [?]Jesus Michał von Gentoo 🏔 (he) » 🌐
                                      @mgorny@social.treehouse.systems

                                      Zero days since the feedparser library switched to yet another fork.

                                      Yes, has only packaged the previous SGMLlib fork because of them.

                                        [?]passagemath » 🌐
                                        @passagemath.org@bsky.brid.gy

                                        [?]andros » 🌐
                                        @andros@activity.andros.dev

                                        «Modern email can be built from borrowed parts»

                                        What if we designed the successor to email on top of HTTP, fixing 40 years of SMTP design flaws using only technologies that already exist?

                                        https://en.andros.dev/blog/d7ed8b07/modern-email-can-be-built-from-borrowed-parts/

                                        #Email #ActivityPub #OpenWeb #Python

                                          mitten boosted

                                          [?]Stylus [He/Him/They/Them] » 🌐
                                          @stylus@social.afront.org

                                          RE: mastodon.social/@kjaymiller/11

                                          I had the chance to talk to Jay Miller yesterday at . Jay wanted to talk about plants but instead the conversation was steered to the work is doing. Especially when it comes to sponsoring activities in Africa, your donation can go an amazingly long way! Don't let today's report be another goose egg, Support Today:
                                          https://
                                          blackpythondevs.com/support

                                            [?]Korawich Kavee » 🌐
                                            @kkavee@urbanists.social

                                            RE: floss.social/@fossasia/1169754

                                            "It abstracts away all of the memory management, the hardware architecture and stuff for you when you write in ."
                                            That's how most people got into too back when coding outside of tech people is still too far away.

                                              [?]Jesus Michał von Gentoo 🏔 (he) » 🌐
                                              @mgorny@social.treehouse.systems

                                              Zero days since I've discovered a random bug that triggers in very specific circumstances and I don't really have time to report it, nor can expect anyone to do it for me.

                                              This time it's a test failure and refcounts being broken while running fastjsonschema's test suite on 3.15 freethreading with pytest's --junit-xml option enabled 😱. And of course removing --junit-xml makes all tests pass.

                                              EDIT: and of course I cannot reproduce outside Portage. Yet inside, it reliably crashes every single time.

                                              EDIT 2: couldn't reproduce at all the next day.

                                                [?]Jesus Michał von Gentoo 🏔 (he) » 🌐
                                                @mgorny@social.treehouse.systems

                                                In the meantime, , the package that used to be dead (because the author is busily working on their next great thing) is now slopping out 4 "security" releases a week, as their machine is busily fixing unintended variable expansion in every single URL they call. Unfortunately, they probably don't have enough tokens to fix them all at once, so instead all downstreams have to deal with the churn of endless security releases. Or the brain to figure out that maybe they could just disable variable expansion by default and solve them all at once.

                                                It's truly a great time to be a packager.

                                                  [?]Jesus Michał von Gentoo 🏔 (he) » 🌐
                                                  @mgorny@social.treehouse.systems

                                                  Also, zero days (well, minus a lot of days because I've been slacking) since a random package got a new dependency on another Python package which is actually a "fastest" package which cannot be built because the author thinks it a great idea to require a nightly Rust compiler.

                                                  …and of course it's full of "unsafe" calls. Because Rust is obviously such a great language for making secure code.

                                                  github.com/awolverp/cachebox/i

                                                    [?]passagemath » 🌐
                                                    @passagemath.org@bsky.brid.gy

                                                    Just released version 10.8.7 of passagemath, the comprehensive system in , the pip-installable modularized portable compatible full-featured fork of .
                                                    github.com/passagemath/...

                                                    Release passagemath-10.8.7 · p...

                                                      [?]The Carpentries » 🌐
                                                      @thecarpentries@hachyderm.io

                                                      PyCon Colombia 2026 starts today, Friday, 24 July until Sunday, 26 July in the city of Medellín! 🚀

                                                      🌟 Our Executive Director @drkariljordan is attending, and will deliver a Keynote presentation on Sunday.

                                                      PyCon Colombia 2026 is the tenth edition of the non-profit conference organised by volunteers from the Python community and other technology leaders in Colombia. With over 600 expected attendees, this event provides a unique opportunity to connect, learn, and explore the latest trends in . 🐍

                                                      Kari is particularly keen to connect with the many Carpentries community members and supporters in attendance, so if you come across her, please, please, please say hello!

                                                      Also presenting a Keynote at PyCon Colombia 2026 is longtime Carpentries community member and contributor, @malvikasharan! 💙

                                                      Wishing Kari and Malvika, and all the PyCon Colombia 2026 participants, a wonderfully productive and engaging time!

                                                      A PyCon Colombia 2026 promotional poster.

                                                      Alt...A PyCon Colombia 2026 promotional poster.

                                                      A picture of Dr Kari L. Jordan standing next to a PyCon Colombia banner announcing her as a Keynote Speaker. She is blowing a kiss to the camera.

                                                      Alt...A picture of Dr Kari L. Jordan standing next to a PyCon Colombia banner announcing her as a Keynote Speaker. She is blowing a kiss to the camera.

                                                      A picture of Dr. Malvika Sharan standing with Dr Kari L. Jordan and a PyCon Colombia banner announcing Malvika as a Keynote Speaker standing between them.

                                                      Alt...A picture of Dr. Malvika Sharan standing with Dr Kari L. Jordan and a PyCon Colombia banner announcing Malvika as a Keynote Speaker standing between them.

                                                        GeePawHill boosted

                                                        [?]Glyph » 🌐
                                                        @glyph@mastodon.social

                                                        OK folks, I need some help from the community.

                                                        I need a code review on this: github.com/twisted/klein/pull/

                                                        You do not need to have any special qualifications other than a general interest in web frameworks. Experience with Twisted would be helpful but not required.

                                                        Some background… 🧵

                                                          [?]Ben Clifford » 🌐
                                                          @benc@mastodon.hawaga.org.uk

                                                          `__del__` considered harmful

                                                          [by whom?]

                                                          [by ME, motherfucka]

                                                            [?]passagemath » 🌐
                                                            @passagemath.org@bsky.brid.gy

                                                            Release candidate 10.8.7.rc0 of passagemath, the comprehensive system in , the pip-installable modularized portable compatible full-featured fork of .
                                                            github.com/passagemath/...

                                                            Release passagemath-10.8.7.rc0...

                                                              Magnus boosted

                                                              [?]input » 🌐
                                                              @feed@igeek.gamer-geek-news.com

                                                              🐧 Browser Use – enables AI agents to interact with websites

                                                              Browser Use is a Python library and command-line tool that enables AI agents to interact with websites. The post Browser Use – enables AI agents to interact with websites appeared first on LinuxLinks.

                                                              📰 Source: LinuxLinks
                                                              🔗 Link: https://www.linuxlinks.com/browser-use-ai-agents-interact-websites/

                                                              #Python #AI #ArtificialIntelligence #Linux #OpenSource

                                                                Back to top - More...