schmonz.com 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.

Search results for tag #Python

[?]Jesus Michał "Le Sigh" 🏔 (he) » 🌐
@mgorny@social.treehouse.systems

library (yes, the one that criticizes everything and everyone) is now vibecoded. Our future is truly bright!

Noticed because apparently "Claude" wrote a test that OOM-ed my system. But hey, protects against memory errors, so it's fine to vibecode your security critical components.

github.com/pyca/cryptography/p

    [?]Leanpub » 🌐
    @leanpub@mastodon.social

    The Open Geospatial Python Series by Qiusheng Wu is the featured bundle of ebooks 📚 on Leanpub!

    Learn geospatial Python from the ground up to advanced GeoAI. Build real-world workflows for GIS, spatial data management, and AI-powered analysis.

    Link: leanpub.com/b/geopython

      #agile boosted

      [?]Morning Dew by Alvin Ashcraft – Daily links for all developers. » 🌐
      @alvinashcraft.com@web.brid.gy

      Dew Drop – April 30, 2026 (#4658)

      Top Links Windows App SDK 2.0 (2.0.1) Released 🎉 (agniuks) .NET Rocks! Episode 2000! (Carl Franklin & Richard Campbell) VSTest is Removing its Newtonsoft.Json Dependency (McKenna Barlow) What Actually Happens When You Port a WPF App to a Modern .NET UI using Agents (Matt Mattei) Kayla + Maddy LIVE – Plants, Trains, and Aspire (Kayla … Continue reading Dew Drop – April 30, 2026 (#4658)

      #agile boosted

      [?]Morning Dew by Alvin Ashcraft – Daily links for all developers. » 🌐
      @alvinashcraft.com@web.brid.gy

      Dew Drop – April 29, 2026 (#4657)

      Top Links Visual Studio April Update – Cloud Agent Integration (Mark Downie) A2A v1 Is Here: Cross-Platform Agent Communication in Microsoft Agent Framework for .NET (Sergey Menshykh) PowerToys 0.99 is here: new monitor controls, easier window management, and Dock upgrades (Niels Laute) Continuing the story of early DOS development (Stacey Haffner & Scott Hanselman) Uno … Continue reading Dew Drop – April 29, 2026 (#4657)

      [?]Leanpub » 🌐
      @leanpub@mastodon.social

      All books bundle by Sundeep Agarwal is the featured bundle of ebooks 📚 on Leanpub!

      Link: leanpub.com/b/learnbyexample-a

        [?]LWN.net » 🌐
        @lwn@fedi.lwn.net

        [$] Python packaging council approved

        The Python packaging world now has a formal governance council, of the form described in PEP 772 ("Packaging Council governance process"), which was approved by the steering counci [...]

        lwn.net/Articles/1068704/

          🗳

          [?]David Lord :python: » 🌐
          @davidism@mas.to

          Web app db design: if you have optional string fields, do you make the column nullable, or not nullable with a default empty string. Consider HTML form data (empty field is sent as empty string, not omitted), and rendering (rendering empty for None has to be remembered everywhere). I've never seen any consensus. Comment if you want to explain why you choose one over the other! :boostplease:

          nullable, default none:15
          not nullable, default empty string:14
          nullable, default empty string:0
            #refactoring boosted

            [?]Leanpub » 🌐
            @leanpub@mastodon.social

            A Short Guide to Naming: Understand how and why to better name modules, classes, functions, and variables. by Tim Ottinger is the featured book 📖 on Leanpub!

            if you've read my chapter on naming in a famous software book (first or second edition) you may want to go a little deeper. Same author, same topic, all-new content!

            Link: leanpub.com/naming_shortguide

              #refactoring boosted

              [?]Leanpub » 🌐
              @leanpub@mastodon.social

              A Short Guide to Naming by Tim Ottinger is free with a Leanpub Reader membership! Or you can buy it for $5.00! leanpub.com/naming_shortguide

                #agile boosted

                [?]Morning Dew by Alvin Ashcraft – Daily links for all developers. » 🌐
                @alvinashcraft.com@web.brid.gy

                Dew Drop – April 27, 2026 (#4655)

                Top Links OpenAI’s GPT-5.5 in Microsoft Foundry: Frontier intelligence on an enterprise ready platform (Naomi Moneypenny) We’re moving to Experimental and Beta! Announcing new builds for 24 April 2026 (Stephen Lines & Windows Insider Program Team) Visual Studio Code 1.118 (Visual Studio Code Team) Microsoft Agent Framework for .NET v1.3.0 Release (westey-m) ReSharper Made VS … Continue reading Dew Drop – April 27, 2026 (#4655)

                Glyph boosted

                [?]Seth Larson » 🌐
                @sethmlarson@mastodon.social

                RE: mastodon.social/@andrewnez/116

                Workflow security continues to be a common cause of compromises of open source projects.

                If you're using GitHub Actions and don't want this to happen to your project: use Zizmor and treat the findings seriously, especially insecure triggers and user-controllable template injections.

                docs.zizmor.sh

                [?]Andrew Nesbitt » 🌐
                @andrewnez@mastodon.social

                At this point having zizmor scans of every python package is turning out to be quite the crystal ball: stepsecurity.io/blog/elementar

                elementary-data in my db: 203 zizmor findings total. 82 template-injection (High), 47 unpinned-uses, 4 dangerous-triggers, 2 github-env, and 1 bot-conditions.

                  Glyph boosted

                  [?]Seth Larson » 🌐
                  @sethmlarson@mastodon.social

                  pip 26.1 is an incredible release, thank you to the pip maintainers!! 💜

                  – Relative dependency cooldown support!
                  – Installing from pylock.toml
                  – Multiple security fixes

                  Read the full blog post by @ichard26

                  ichard26.github.io/blog/2026/0

                    Glyph boosted

                    [?]John-Mark Gurney [he/they] » 🌐
                    @encthenet@flyovercountry.social

                    I'm seeing some weird behavior with FastAPI and async.

                    I have a function:
                    ```
                    async def foo(r=[]):
                    if r: return r[0]
                    r.append(someobj())
                    return r[0]
                    ```

                    Now I have that declared on a route via the usual:
                    ```
                    @router.get('/somepage')
                    async def get_somepage(foo : Annotated[someobj, Depends(foo)]):
                    xxx
                    ```

                    But in the foo function, I print the id of the r list, and each time somepage is fetched, the list is different.

                    I did finally just move r into the module name space, and that fixed things. But it's pretty clear that FastAPI is doing something wonky with function calls.

                      [?]Leanpub » 🌐
                      @leanpub@mastodon.social

                      Inside Large Language Models for absolute beginners: Volume I: Simple Arithmetic and beginning Python based approach by Ritesh Modi is a new release on Leanpub!

                      Link: leanpub.com/insidellmvol1

                        [?]Leanpub » 🌐
                        @leanpub@mastodon.social

                        Inside Large Language Models for absolute beginners: Volume I: Simple Arithmetic and beginning Python based approach by Ritesh Modi is the featured book 📖 on Leanpub!

                        Link: leanpub.com/insidellmvol1

                          [?]Kroc Camen » 🌐
                          @Kroc@oldbytes.space

                          Learn how to program an 8-bit computer. It’s the biggest f*ck you to AI bros and their slop; you will learn more about computers than you ever will from gluing frameworks together, and lastly it will come with no responsibility whatsoever.

                          Stop contributing and knowledge to the slop vendors. Microsoft, Google, Apple et al can’t make money off of 6502 or Z80 code. More Commodore 64 games existing is not going to contribute to murder drones shooting kids.

                            [?]Leanpub » 🌐
                            @leanpub@mastodon.social

                            Mega Bundle 1 by Jason Turner is the featured bundle of ebooks 📚 on Leanpub!

                            Link: leanpub.com/b/megabundle1

                              [?]schrotthaufen [he/him (they is never wrong)] » 🌐
                              @schrotthaufen@mastodon.social

                              Question for the Python people: How do you handle type checking in CI? Do you just install all the dependencies every time the pipeline runs? Do you have some logic to install missing type stubs (or the real dependencies, if there are no stubs)? Something else entirely?

                                Glyph boosted

                                [?]Ivan Sagalaev :flag_wbw: » 🌐
                                @isagalaev@mastodon.social

                                Old habits die hard. Needed to choose randomly one of 18 items printed out on a piece of paper, with some exclusions. Went to :

                                random.choice(list(set(range(1, 19)) - {5, 11}))

                                  [?]Leanpub » 🌐
                                  @leanpub@mastodon.social

                                  From the Leanpub Blog:

                                  Welcome to the Leanpub Launch video for GeoAI with Python: A Practical Guide to Open-Source Geospatial AI by Qiusheng Wu!

                                  Watch & read here:

                                  leanpub.com/blog/leanpub-book-

                                    #agile boosted

                                    [?]Morning Dew by Alvin Ashcraft – Daily links for all developers. » 🌐
                                    @alvinashcraft.com@web.brid.gy

                                    Dew Drop – April 21, 2026 (#4651)

                                    Top Links Writing Node.js addons with .NET Native AOT (Drew Noakes) Changes to GitHub Copilot Individual plans (Joe Binder) VS Code Agents Insiders: The AI-First Editor Built for Developers and Students (Lee Stott) GitHub Copilot meets Azure Developer CLI: AI-assisted project setup and error troubleshooting (Kristen Womack) 7 XAML Resource Keys AI Got Wrong in … Continue reading Dew Drop – April 21, 2026 (#4651)

                                    #agile boosted

                                    [?]Morning Dew by Alvin Ashcraft – Daily links for all developers. » 🌐
                                    @alvinashcraft.com@web.brid.gy

                                    Dew Drop – April 20, 2026 (#4650)

                                    Top Links Introducing Claude Design by Anthropic Labs (Anthropic Team) AI File Search in Blazor File Manager: Semantic and Tag-Based (Jollen Moyani) The VS Code Insiders Podcast – Inside The Agent Loop with Pierce Boggan (James Montemagno) Building an emoji list generator with the GitHub Copilot CLI (Cassidy Williams) CLI vs IDE vs Agent – … Continue reading Dew Drop – April 20, 2026 (#4650)

                                    [?]Leanpub » 🌐
                                    @leanpub@mastodon.social

                                    构建你自己的编程智能助手: 零魔法:纯Python实现人工智能代理指南 by J. Owen is a new release on Leanpub!

                                    跳过黑箱框架。用纯 Python 从零构建生产级 AI 编程智能体——云端或本地,用 pytest 测试,全部在一个文件中完成。

                                    Link: leanpub.com/build-your-own-cod

                                      [?]Greg Wilson » 🌐
                                      @gvwilson@mastodon.social

                                      [?]Leanpub » 🌐
                                      @leanpub@mastodon.social

                                      Construye tu Propio Agente de Programación: Guía Sin-Magia para Agentes de IA en Python Puro by J. Owen is a new release on Leanpub!

                                      Link: leanpub.com/build-your-own-cod

                                        [?]Leanpub » 🌐
                                        @leanpub@mastodon.social

                                        コーディングエージェントの作り方: 魔法なしで学ぶ Pure Python による AIエージェント開発ガイド by J. Owen is a new release on Leanpub!

                                        ブラックボックスのフレームワークは不要。純粋なPythonでプロダクションレベルのAIコーディングエージェントをゼロから構築。クラウドでもローカルでも、pytestでテスト済み、すべて1つのファイルに収まります。

                                        Link: leanpub.com/build-your-own-cod

                                          [?]Leanpub » 🌐
                                          @leanpub@mastodon.social

                                          Build Your Own Coding Agent by J. Owen is on sale on Leanpub! Its suggested price is $34.99; get it for $15.99 with this coupon: leanpub.com/build-your-own-cod

                                            [?]Greg Wilson » 🌐
                                            @gvwilson@mastodon.social

                                            asimpy Performance Benchmarking: third-bit.com/2026/04/18/asimp This is the library used in third-bit.com/dsdx/ - suggestions for improving performance on simple operations without hurting complex ones would be greatly appreciated.

                                              [?]Leanpub » 🌐
                                              @leanpub@mastodon.social

                                              The Python Craftsman by Robert Smallshire, Austin Bingham, and Sixty North is the featured bundle of ebooks 📚 on Leanpub!

                                              The Python Craftsman series comprises The Python Apprentice, The Python Journeyman, and The Python Master.

                                              Link: leanpub.com/b/python-craftsman

                                                [?]Leanpub » 🌐
                                                @leanpub@mastodon.social

                                                My Adventures with Large Language Models: Build foundational LLMs from Transformers to DeepSeek, from scratch, in PyTorch. by Prathamesh S. is a new release on Leanpub!

                                                Link: leanpub.com/adventures-with-ll

                                                  [?]Leanpub » 🌐
                                                  @leanpub@mastodon.social

                                                  My Adventures with Large Language Models: Build foundational LLMs from Transformers to DeepSeek, from scratch, in PyTorch. by Prathamesh S. is the featured book 📖 on Leanpub!

                                                  Build GPT-2, Llama 3, and DeepSeek from scratch in PyTorch. Every chapter has runnable end-to-end code and loads real pretrained weights. Goes well past where most LLM tutorials stop.

                                                  Link: leanpub.com/adventures-with-ll

                                                    [?]Test Double » 🌐
                                                    @testdouble@mastodon.social

                                                    Every Python dev has faced APIs that use camelCase or kebab-case while your codebase follows snake_case.

                                                    The typical approach creates technical debt: either break Python naming conventions or write complex mapping logic that clutters your codebase.

                                                    Pydantic's Field alias feature elegantly solves this: define external field names through aliases while keeping internal code perfectly Pythonic.

                                                    Integration compatibility and clean code that's maintainable. 💚

                                                      #agile boosted

                                                      [?]Morning Dew by Alvin Ashcraft – Daily links for all developers. » 🌐
                                                      @alvinashcraft.com@web.brid.gy

                                                      Dew Drop – April 13, 2026 (#4645)

                                                      Top Links Why we made Windows Terminal (Kayla Cinnamon) PowerShell MSI package deprecation and preview updates (Jason Helmick) MAUI Sherpa — Your Guide to .NET MAUI Development (Jonathan Dick) GitHub Copilot CLI for Beginners: Getting started with GitHub Copilot CLI (Christopher Harrison) Announcing Azure MCP Server 2.0 Stable Release for Self-Hosted Agentic Cloud Automation (Sandeep … Continue reading Dew Drop – April 13, 2026 (#4645)

                                                      [?]SnoopJ (is on a train 🚂) [He/him/they, please] » 🌐
                                                      @SnoopJ@hachyderm.io

                                                      more specifically, this PR exposes a curious side effect of the Unicode 15.0 → Unicode 15.1 upgrade when it comes to identifiers: ZWJ is now allowed as a 'continue' character (i.e. you can use it in an identifier as long as it's not the first codepoint)

                                                      ```
                                                      $ python3.12 -c 'print(str.isidentifier("A_\u200d_B"))'
                                                      False
                                                      $ python3.13 -c 'print(str.isidentifier("A_\u200d_B"))'
                                                      True
                                                      $ python3.13 -c 'print(str.isidentifier("A_\u200d"))' # unfortunately, a trailing ZWJ is legal too
                                                      ```

                                                      github.com/python/cpython/pull

                                                        [?]Leanpub » 🌐
                                                        @leanpub@mastodon.social

                                                        The Open Geospatial Python Series by Qiusheng Wu is the featured bundle on Leanpub!

                                                        Learn geospatial Python from the ground up to advanced GeoAI. Build real-world workflows for GIS, spatial data management, and AI-powered analysis.

                                                        Link: leanpub.com/b/geopython

                                                          [?]Mx. Riley [she/ella] » 🌐
                                                          @robin@social.riley.pub

                                                          It's happening! @NorthBayPython returns for its 7th year this April 25 & 26! Join us for a tech conference like no other, featuring barn cats, about the tech we build and the people we build it for.

                                                          We're a small local event with a global draw. If you've never been before, come find out why folks make the trip for it!

                                                          Website: norhtbaypython.org
                                                          Videos from past events: youtube.com/@NorthBayPython

                                                          A photo of a large barn flanked by rolling green hills on a bright spring morning.

                                                          Alt...A photo of a large barn flanked by rolling green hills on a bright spring morning.

                                                          A photo of a seated crowd in the barn, as Adrianna Tan is on stage presenting. The slide currently projected on screen reads:

Do not want
- Work on ads
- Work on weapons
- Abet genocides
- Make the world worse
- Use Microsoft Teams

                                                          Alt...A photo of a seated crowd in the barn, as Adrianna Tan is on stage presenting. The slide currently projected on screen reads: Do not want - Work on ads - Work on weapons - Abet genocides - Make the world worse - Use Microsoft Teams

                                                          A photo of a glorious orange cat cleaning themselves in a barn window.

                                                          Alt...A photo of a glorious orange cat cleaning themselves in a barn window.

                                                          A photo of a crowd of folks who stuck around at the end of North Bay Python 2025 to help clean up.

                                                          Alt...A photo of a crowd of folks who stuck around at the end of North Bay Python 2025 to help clean up.

                                                            Back to top - More...