<?xml version="1.0" encoding="utf-8" ?>
<feed xmlns="http://www.w3.org/2005/Atom"
      xmlns:dc="http://purl.org/dc/elements/1.1/"
      xml:base="https://reinout.vanrees.org/" xml:lang="en">
  <link rel="self"
        href="https://reinout.vanrees.org/weblog/djangofeed.xml" />
  <link href="https://reinout.vanrees.org/weblog/"
        rel="alternate" type="text/html" />

  <title type="html">Reinout van Rees' weblog</title>
  <subtitle>Python, grok, books, history, faith, etc.</subtitle>
  <updated>2026-10-15T14:49:00+01:00</updated>
  <id>urn:syndication:a55644db8591c020bd38852775819a9a</id>

  
    <entry>
      <title>Pycon NL keynote: sustaining open source for the future - Georgi Ker</title>
      <link rel="alternate" type="text/html"
            href="https://reinout.vanrees.org/weblog/2026/10/15/9-keynote-sustaining-open-source.html" />
      <id>http://reinout.vanrees.org/weblog/2026/10/15/9-keynote-sustaining-open-source.html</id>
      <!-- id is not https: prevents old entries from showing up again -->
      <author>
        <name>Reinout van Rees</name>
      </author>
      <published>2026-10-15T00:00:00+01:00</published>
      <updated>2026-10-15T14:49:00+01:00</updated>

      
        <category term="python" />
      
        <category term="pycon" />
      

      <content type="html"><![CDATA[
      <div class="document">
<p>(One of <a class="reference external" href="https://reinout.vanrees.org/weblog/2026/10/15/index.html">my summaries</a> of
the 2026 one-day <a class="reference external" href="https://www.pycon-nl.org/">Pycon NL conference</a> in Utrecht, NL).</p>
<p>This year is the first community-organized Pycon NL: hurray!</p>
<p>Most of us use open source as <em>users</em>. It is free! But all those open source projects
only exist because someone started it and because someone maintains it.</p>
<p>&quot;Care became contagious&quot;: she told the story about someone in Mumbay, India that
started to clean up plastic waste that covered the whole beach. He and a 84 year old
neighbor. Slowly other people joined in. Then a lot more. Care became contagious!</p>
<p>Python started when Guido van Rossum made a new language in his Christmas holiday.</p>
<p>But projects like this are fragile. The beach cleanup (almost?) stopped after 109 weeks:
administrative lethargy, heckling, etc. (She said it stopped, but I guess it <em>almost</em>
stopped, as later on she had photos of a clean beach with newly-hatched turtles). If you
start a nice open source project, you're probably not thinking <em>my dream is to answer
Github issues for the next 20 years</em>.</p>
<p>Sustainability is not endurance. Sustainability is <strong>regeneration</strong>. Joining a
community, but also having the option to leave (just as an example).</p>
<p>Open source is safe. In open source project, code is public, knowledge is shared. A
community. The community is the infrastructure. The community is the reason the code is
trustworthy.</p>
<p>The Python software foundation holds the trademarks and licenses. Infrastructure like
python.org, pypi, the documentation website. It hosts/helps conferences.</p>
<p>Pypi, the Python package index. 81.000 requests <strong>per second</strong>. And there are only
<strong>two</strong> full-time security people working on it. Seth Larson and Mike Fiedler. We can
call them heroes, but we might also look at Python's growth compared to the growth of
its human infrastucture.</p>
<p>Our human infrastructure hasn't grown with Python's growth. And AI is making it more
urgent. AI can consume whatever the community has to offer or has ever offered. Without
giving something back. AI companies capture our value...</p>
<p>Public spaces are not self-maintaining. They need funding and public responsibility.</p>
<p>In 2025, the United Nations published the UN Open Source Principles. Countries are
taking note. For example, Germany has the Sovereign Tech Fund, that invests directly in
the people behind the code, supporting maintainers, community managers and technical
writers.</p>
<p>She started <a class="reference external" href="https://opencommunityleadership.dev/">Open community Leadership</a>,
<strong>helping communities create future contributors and leaders</strong>. The foundation is
POPCOM: participation (how to join), ownership (how to gain responsibility), purpose
(why people stay), connection (how relationships form), opportunity (how contributors
grow), mentorship (how communities reproduce).</p>
<p>Regeneration takes people, time and money.</p>
<p>Open source is better together.</p>
<img alt="https://reinout.vanrees.org/images/2026/pyconnl-9.jpeg" src="https://reinout.vanrees.org/images/2026/pyconnl-9.jpeg" />
<p><em>Unrelated photo from our</em> <a class="reference external" href="https://www.nelen-schuurmans.nl">Nelen&amp;Schuurmans</a> <em>company
trip to Cologne/Köln in Germany. Extreme low water in the Rhine: the 'beach' on the left
should be fully submerged.</em></p>
</div>

      ]]>
      </content>

    </entry>
  
    <entry>
      <title>Pycon NL: what's inside an asyncio event loop? - Taras Kozlov</title>
      <link rel="alternate" type="text/html"
            href="https://reinout.vanrees.org/weblog/2026/10/15/8-asyncio-event-loop-internals.html" />
      <id>http://reinout.vanrees.org/weblog/2026/10/15/8-asyncio-event-loop-internals.html</id>
      <!-- id is not https: prevents old entries from showing up again -->
      <author>
        <name>Reinout van Rees</name>
      </author>
      <published>2026-10-15T00:00:00+01:00</published>
      <updated>2026-10-15T13:51:00+01:00</updated>

      
        <category term="python" />
      
        <category term="pycon" />
      

      <content type="html"><![CDATA[
      <div class="document">
<p>(One of <a class="reference external" href="https://reinout.vanrees.org/weblog/2026/10/15/index.html">my summaries</a> of
the 2026 one-day <a class="reference external" href="https://www.pycon-nl.org/">Pycon NL conference</a> in Utrecht, NL).</p>
<p>An asyncio event loop is defined by <tt class="docutils literal">asyncio.AbstractEventLoop</tt>. That's a large API
with more than 50 public methods, but only three are fundamental. At the lowest useful
leve, the loop manages callbacks, i/o and timers.</p>
<ul class="simple">
<li>We need a way to put events on a queue and a way to grab events from a queue and execute
them. <tt class="docutils literal">call_soon()</tt></li>
<li>We need timers too, for callbacks that must be run after some time. <tt class="docutils literal">call_later()</tt></li>
<li>Sleep only knows about time. Often we want to sleep until the next time, <strong>unless</strong> a
socket becomes ready first. So we need a &quot;sleep&quot; that can be interrupted by I/O
readiness. <tt class="docutils literal">add_reader()</tt>, <tt class="docutils literal">add_writer()</tt></li>
</ul>
<p>His own <strong>example implementation of asyncio</strong> for educational purposes is at:
<a class="reference external" href="https://github.com/tarasko/eduloop">https://github.com/tarasko/eduloop</a> , it is only 250 lines. <strong>Handy if you want to
understand asyncio</strong>.</p>
<p>He showed this simple example code, incrementally implementing the points above.</p>
<p>The nice thing about asyncio is <em>coroutines</em>. A coroutine is an extended kind of
function that can be paused and resumed. The result is a &quot;future&quot;. A future represents
an eventual result of an async operation. So: a future is pending until somebody
supplies either a result or an exception.</p>
<p>For network connection there's <tt class="docutils literal">Transport</tt> and <tt class="docutils literal">Protocol</tt>.</p>
<img alt="https://reinout.vanrees.org/images/2026/pyconnl-8.jpeg" src="https://reinout.vanrees.org/images/2026/pyconnl-8.jpeg" />
<p><em>Unrelated photo from our</em> <a class="reference external" href="https://www.nelen-schuurmans.nl">Nelen&amp;Schuurmans</a> <em>company
trip to Cologne/Köln in Germany. St. Gereon church.</em></p>
</div>

      ]]>
      </content>

    </entry>
  
    <entry>
      <title>Pycon NL: building resumable Python pipelines - Yuvraj Singh Pathania</title>
      <link rel="alternate" type="text/html"
            href="https://reinout.vanrees.org/weblog/2026/10/15/7-pipelines.html" />
      <id>http://reinout.vanrees.org/weblog/2026/10/15/7-pipelines.html</id>
      <!-- id is not https: prevents old entries from showing up again -->
      <author>
        <name>Reinout van Rees</name>
      </author>
      <published>2026-10-15T00:00:00+01:00</published>
      <updated>2026-10-15T13:18:00+01:00</updated>

      
        <category term="python" />
      
        <category term="pycon" />
      

      <content type="html"><![CDATA[
      <div class="document">
<p>(One of <a class="reference external" href="https://reinout.vanrees.org/weblog/2026/10/15/index.html">my summaries</a> of
the 2026 one-day <a class="reference external" href="https://www.pycon-nl.org/">Pycon NL conference</a> in Utrecht, NL).</p>
<p>Full title: <em>fire, forget, regret: building resumable Python pipelines.</em></p>
<p>If you run a task in an async loop, there's often no reference to the task. So it can be
garbage collected! You can solve that by <em>keeping</em> a reference in some list. But even
then, the whole process can die. What happens with your task then?</p>
<p>Often you have to re-run the task. He himself is into LLMs, so failed tasks that you
have to re-run can become expensive.</p>
<p>BackgroundTasks is part of FastAPI and it works great for spinning off longer running
tasks. Real handy, but there is no retry mechanism and no recoverability in case of
crashes. &quot;Fire-and-forget&quot;.</p>
<p>You can use specific task queues. ARQ, Celery, Dramatiq. In this case, the job itself is
safe and can be re-tried. But not the individual steps within the job.</p>
<p>What he wants is <strong>durable execution</strong>. Write down every step you finish; on restart,
skip what is written. It can save you lots of time (and possibly money). It might be
simpler to set up than you think.</p>
<p>His code + slides are at <a class="reference external" href="https://github.com/batman004/fire-forget-regret">https://github.com/batman004/fire-forget-regret</a></p>
<img alt="https://reinout.vanrees.org/images/2026/pyconnl-7.jpeg" src="https://reinout.vanrees.org/images/2026/pyconnl-7.jpeg" />
<p><em>Unrelated photo from our</em> <a class="reference external" href="https://www.nelen-schuurmans.nl">Nelen&amp;Schuurmans</a> <em>company
trip to Cologne/Köln in Germany. Model of the oldest parts of the St. Gereon church.</em></p>
</div>

      ]]>
      </content>

    </entry>
  
    <entry>
      <title>Pycon NL: zero-downtime multi-tenancy in Django - Thiago Bellini Ribeiro</title>
      <link rel="alternate" type="text/html"
            href="https://reinout.vanrees.org/weblog/2026/10/15/6-multi-tenancy-django.html" />
      <id>http://reinout.vanrees.org/weblog/2026/10/15/6-multi-tenancy-django.html</id>
      <!-- id is not https: prevents old entries from showing up again -->
      <author>
        <name>Reinout van Rees</name>
      </author>
      <published>2026-10-15T00:00:00+01:00</published>
      <updated>2026-10-15T12:29:00+01:00</updated>

      
        <category term="python" />
      
        <category term="pycon" />
      
        <category term="django" />
      

      <content type="html"><![CDATA[
      <div class="document">
<p>(One of <a class="reference external" href="https://reinout.vanrees.org/weblog/2026/10/15/index.html">my summaries</a> of
the 2026 one-day <a class="reference external" href="https://www.pycon-nl.org/">Pycon NL conference</a> in Utrecht, NL).</p>
<p>Full title: <em>zero-downtime multi-tenancy in Django: from user-centric to
organizations-based architecture</em>.</p>
<p>He works for Sendcloud. Originally their code was 2010-style Django. Every business
object (Parcel, Order, etc) is linked to a django User. But... users can belong to
organisations and organisations should be the ones connected to the business objects.
Ok, they moved to a &quot;core&quot; user and &quot;sub&quot; users. But still users could only belong to a
single organisation, for instance.</p>
<p>What they actually need is many users per organisation. And also many orgs per user.
Roles per membership instead of per user. They designed a new system based upon this.</p>
<p>But: they had around 20 Django apps and 40 models with a link to <cite>user_id</cite>. How to
migrate? The solution was to use a &quot;proxy model&quot;. They started an &quot;organisation&quot; model
that simply was a differently named Django model, pointing at the same table as the
existing user model. This allowed them to keep almost everything the same with only
minimal database migrations.</p>
<p>After that, they moved a little bit of functionality over to the new organisation model.
Again, a small, minimal database migration.</p>
<p>They did it incrementally. They had all those apps and models to work through. Slowly
but surely they got it done. Small steps that are backwards compatible help a lot.</p>
<p>They introduced a <strong>mistake-finder</strong>: an <tt class="docutils literal">OrganisationAware</tt> mixin that logged direct
<tt class="docutils literal">.user</tt> access in production and produced errors in development. This helped turn up
usage of the user model that wasn't findable through basic grepping and searching.</p>
<p>They also used <a class="reference external" href="https://libcst.readthedocs.io/en/latest/">libcst</a>, an <em>abstract syntax
tree</em> parser for python to go through the entire code and try and find corner cases
where the old way of working was used.</p>
<p>In the end, everything was moved over to the real organisation model and the
organisation-proxy wasn't needed anymore, so they could remove it. They</p>
<img alt="https://reinout.vanrees.org/images/2026/pyconnl-6.jpeg" src="https://reinout.vanrees.org/images/2026/pyconnl-6.jpeg" />
<p><em>Unrelated photo from our</em> <a class="reference external" href="https://www.nelen-schuurmans.nl">Nelen&amp;Schuurmans</a> <em>company
trip to Cologne/Köln in Germany. Of course there's a Hohenzollern-on-a-horse statue near
the Hohenzollernbridge! This one is Wilhelm II, the Kaiser during the first world war
(who fled to the Netherlands, btw).</em></p>
</div>

      ]]>
      </content>

    </entry>
  
    <entry>
      <title>Pycon NL: practical software architecture for Python developers - Henk-Jan van Hasselaar</title>
      <link rel="alternate" type="text/html"
            href="https://reinout.vanrees.org/weblog/2026/10/15/4-software-architecture.html" />
      <id>http://reinout.vanrees.org/weblog/2026/10/15/4-software-architecture.html</id>
      <!-- id is not https: prevents old entries from showing up again -->
      <author>
        <name>Reinout van Rees</name>
      </author>
      <published>2026-10-15T00:00:00+01:00</published>
      <updated>2026-10-15T10:29:00+01:00</updated>

      
        <category term="python" />
      
        <category term="pycon" />
      

      <content type="html"><![CDATA[
      <div class="document">
<p>(One of <a class="reference external" href="https://reinout.vanrees.org/weblog/2026/10/15/index.html">my summaries</a> of
the 2026 one-day <a class="reference external" href="https://www.pycon-nl.org/">Pycon NL conference</a> in Utrecht, NL).</p>
<p>First some terminology. Cohesion and coupling for instance.</p>
<ul>
<li><p class="first">Cohesion means how much the elements in a module belong together. &quot;Belonging
together&quot;: working towards the same goal or function. Watch out what your answer is:
is there an &quot;and&quot; in the sentence. &quot;This module reads data <em>and</em> puts it in the
database&quot;. That's a sign of lower cohesion.</p>
<p>Cohesion also has to do with your mental load: what can you keep in your head at the
same time?</p>
</li>
<li><p class="first">Coupling. Basically the blast radius: how much breaks when you change an object.</p>
</li>
<li><p class="first">Change. Not often talked about. Architecture is more than diagrams. Architecture
actually is <strong>making future changes cheaper</strong>. No change, no pain.</p>
</li>
</ul>
<p>Loose coupling, high cohesion is good. Tightly coupled, low cohesion is bad.</p>
<p>Python allows us lots of freedom. There is no enforcement of architectural boundaries.
You have type <em>hints</em>, but they're not enforced. Python's basic assumption is that we're
all reasonable and responsible programmers.</p>
<p>Let's look at an example problem. We have &quot;the internet&quot; that calls &quot;our REST API&quot; that
stores stuff in &quot;our database&quot;. We start with a single function in our API that queries
the database and returns the results. But then we want to uncouple the data and the
presentation layer: some ORM around the database table that is called by the
view function (=the original API function). All fine. But... when the database
changes, the ORM layer changes and then the view function needs to change. Coupling,
anyone?</p>
<p>How can we fix this? By having some sort of contract between the layers. A <strong>domain
model</strong> in between. A change in the database means a change in the part of the code that
creates the domain object, but the view function is unaffected.</p>
<p>But such a view function often also contains business logic. That often means you're
doing some talking to the database anyway. A normal approach is to put that part of the
code into some &quot;service&quot; layer. You can also start writing adapters: convert the core
domain models to some output format.</p>
<p>Closing remarks:</p>
<ul class="simple">
<li>Your business rules deserve a home!</li>
<li>Put them somewhere the outside world can't hurt them.</li>
</ul>
<img alt="https://reinout.vanrees.org/images/2026/pyconnl-4.jpeg" src="https://reinout.vanrees.org/images/2026/pyconnl-4.jpeg" />
<p><em>Unrelated photo from our</em> <a class="reference external" href="https://www.nelen-schuurmans.nl">Nelen&amp;Schuurmans</a> <em>company
trip to Cologne/Köln in Germany. Organ in the St. Aposteln church.</em></p>
</div>

      ]]>
      </content>

    </entry>
  
    <entry>
      <title>Pycon NL: practical observability - Daria Korsakova</title>
      <link rel="alternate" type="text/html"
            href="https://reinout.vanrees.org/weblog/2026/10/15/3-observability.html" />
      <id>http://reinout.vanrees.org/weblog/2026/10/15/3-observability.html</id>
      <!-- id is not https: prevents old entries from showing up again -->
      <author>
        <name>Reinout van Rees</name>
      </author>
      <published>2026-10-15T00:00:00+01:00</published>
      <updated>2026-10-15T09:50:00+01:00</updated>

      
        <category term="python" />
      
        <category term="pycon" />
      

      <content type="html"><![CDATA[
      <div class="document">
<p>(One of <a class="reference external" href="https://reinout.vanrees.org/weblog/2026/10/15/index.html">my summaries</a> of
the 2026 one-day <a class="reference external" href="https://www.pycon-nl.org/">Pycon NL conference</a> in Utrecht, NL).</p>
<p>Full title: <em>stop firefighting: practical observability for Python APIs, workers &amp;
jobs.</em> The most important points:</p>
<ul class="simple">
<li>What does it mean for a system to be observable?</li>
<li>Does that answer look the same for an API, a worker and a job?</li>
<li>Metrics tell us something is wrong, but how do we find out what happened and where?</li>
<li>How do we get the system to tell us, before our users do?</li>
<li>Where do we actually start without doing everything at once?</li>
</ul>
<p>They started with a prototype of a new system. They had questions like &quot;does it work&quot;
and &quot;is it fast enough&quot;. So they added a bit of monitoring: just a couple of logs and
some simple graphs. And pushed it to production right away...</p>
<p><strong>What does &quot;observable&quot; mean?</strong> It means you can answer questions like: is it up? Is it
ready to serve traffic? Is it doing useful work? Is it failing? Is it slow? What changed
recently? Which dependency/workload/customer/job/event-type is involved?</p>
<p><strong>Is the answer the same for everything?</strong> No. You can have an API that restarts just
fine on an error. So: it is up again, no problem. But because of the restart, it might
have gotten a new IP address that isn't recognised by something else in your stack. So
the API works, but the rest of the app doesn't. (That's a real case that they saw.) Or a
nightly database import job might succeed just fine (but there's no new data as an
upstream pipeline failed).</p>
<p><strong>Metrics</strong> can help you notice problems before they become critical. Like API response
times that slowly creep upwards. Time to investigate! Or something really goes wrong and
the number of &quot;error 500&quot; messages spikes. Then you have to move from your <em>metrics</em> to
the <em>logs</em>. There you can hopefully see what went wrong. If you need to dive deeper, you
can start to use <em>tracing</em> (she doesn't recommend activating this right away).</p>
<p><strong>Notifications</strong>. There's a sliding scale between &quot;no observability&quot; (the user has to
report errors) and &quot;alert on everything&quot; (leading to alert fatigue). She recommends
starting with a low number of alerts and slowly working upwards from there.</p>
<p><strong>How to start?</strong> Best approach: roll it out in phases.</p>
<ul class="simple">
<li>Start with basic visibility: health/readiness, structured logging.</li>
<li>Then workload metrics: request rate, error rate, number of processed jobs.</li>
<li>Then high-confidence alerts: api not ready and so. &quot;P99&quot; latency. Job queue backlog
without progress.</li>
<li>Then dashboards.</li>
<li>And last tracing and deeper instrumentation.</li>
</ul>
<p>She wrote an article about it: <a class="reference external" href="https://medium.com/manychat-engineering/practical-observability-checklist-for-apis-workers-jobs-part-1-c9c18ffc23d5">part one</a>.</p>
<img alt="https://reinout.vanrees.org/images/2026/pyconnl-3.jpeg" src="https://reinout.vanrees.org/images/2026/pyconnl-3.jpeg" />
<p><em>Unrelated photo from our</em> <a class="reference external" href="https://www.nelen-schuurmans.nl">Nelen&amp;Schuurmans</a> <em>company
trip to Cologne/Köln in Germany. Hohenzollern railway bridge plus kathedral.</em></p>
</div>

      ]]>
      </content>

    </entry>
  
    <entry>
      <title>Pycon NL: 3D data science with Python - Sergio Peral</title>
      <link rel="alternate" type="text/html"
            href="https://reinout.vanrees.org/weblog/2026/10/15/2-3d-data-science.html" />
      <id>http://reinout.vanrees.org/weblog/2026/10/15/2-3d-data-science.html</id>
      <!-- id is not https: prevents old entries from showing up again -->
      <author>
        <name>Reinout van Rees</name>
      </author>
      <published>2026-10-15T00:00:00+01:00</published>
      <updated>2026-10-15T09:12:00+01:00</updated>

      
        <category term="python" />
      
        <category term="pycon" />
      

      <content type="html"><![CDATA[
      <div class="document">
<p>(One of <a class="reference external" href="https://reinout.vanrees.org/weblog/2026/10/15/index.html">my summaries</a> of
the 2026 one-day <a class="reference external" href="https://www.pycon-nl.org/">Pycon NL conference</a> in Utrecht, NL).</p>
<p>Why <strong>Python for 3D</strong>? It often used to be done in C++. He showed an example in C++ and
Python: the Python example was much shorter. But: Python is often only the interface,
behind the scenes the library you use is often written in C/C++/Rust/etc.</p>
<p>The <strong>library landscape</strong>. There are many libraries you can use. Loading and storing:
laspy, pdal, pyproj. Arays and speed; numpy, scipy, numba, dask. Processing: open3d,
trimesh. Visualisation: pyvista, vtk. Learning: scikit-learn, pytorch3d.</p>
<p>One <strong>real pipeline</strong>. He used a pointcloud of part of the Jaarbeurs complex (where the
conference was taking place), sourced from the Dutch public <a class="reference external" href="https://ahn.nl">https://ahn.nl</a> data source.
The density is about 18 points per square meter and it uses some Dutch coordinate system
(&quot;RD New&quot;).</p>
<p>A point cloud is just a set of points in 3D space. You can also represent it as a mesh
(3d areas). A &quot;voxel grid&quot; is also often handy: you convert what you're seeing into
small stacked cubes.</p>
<p>What you need to do in a project: acquisition, preparation, exploration, analysis,
visualisation.</p>
<p>No single library does the whole job. A partial exception is numpy: every step uses
numpy vectors internally. He loaded the data with &quot;laspy&quot;. Then voxel downsampling with
open3d (he took the average of all points in a cubic meter). 700k points turned into
200k points this way: much more manageable. He then did a bit of clustering and colored
the clusters by data from a land use database.</p>
<p><strong>Making it fast</strong>. Using numpy's array operations is key. Don't iterate over a loop in
Python, but let numpy do its work. That way, there's highly optimised compiled C++ code
doing the work.</p>
<p>Some <strong>takeaways</strong>. Think in arrays, not points. Look befor you compute (so: check your
data for obvious errors or problems). Make it small
first. Let compiled code do the work.</p>
<p>His presentation is at <a class="reference external" href="https://github.com/Sloppy1999/pycon-nl-2026-3d-data-science">https://github.com/Sloppy1999/pycon-nl-2026-3d-data-science</a></p>
<img alt="https://reinout.vanrees.org/images/2026/pyconnl-2.jpeg" src="https://reinout.vanrees.org/images/2026/pyconnl-2.jpeg" />
<p><em>Unrelated photo from our</em> <a class="reference external" href="https://www.nelen-schuurmans.nl">Nelen&amp;Schuurmans</a> <em>company
trip to Cologne/Köln in Germany. Railway tracks ('linksrheinische') behind the hotel, at
the site of the former 'Köln Gereon' goods yard.</em></p>
</div>

      ]]>
      </content>

    </entry>
  
    <entry>
      <title>Pycon NL keynote: believe in routes - Marcelo Trylesinski</title>
      <link rel="alternate" type="text/html"
            href="https://reinout.vanrees.org/weblog/2026/10/15/1-keynote-believe-in-routes.html" />
      <id>http://reinout.vanrees.org/weblog/2026/10/15/1-keynote-believe-in-routes.html</id>
      <!-- id is not https: prevents old entries from showing up again -->
      <author>
        <name>Reinout van Rees</name>
      </author>
      <published>2026-10-15T00:00:00+01:00</published>
      <updated>2026-10-15T08:45:00+01:00</updated>

      
        <category term="python" />
      
        <category term="pycon" />
      

      <content type="html"><![CDATA[
      <div class="document">
<p>(One of <a class="reference external" href="https://reinout.vanrees.org/weblog/2026/10/15/index.html">my summaries</a> of
the 2026 one-day <a class="reference external" href="https://www.pycon-nl.org/">Pycon NL conference</a> in Utrecht, NL).</p>
<p>Routes: not every route starts the way people think. Here's his route through life.</p>
<p>You might know Marcelo from uvicorn, fastapi, starlette, logfire, Pydantic AI, MCP
Python SDK, httpx2... It started for him in 2017 when he played <em>league of legends</em> for
a full semester and failed all courses. This closed his main route: graduating on time
and getting the expected job. Instead he got a good-enough job somewhere in
Florianópolis (Brazil).</p>
<p>What was your closed route? It might be a degree you didn't finish. A field that changed
under you. A job you didn't get. A move.</p>
<p>One thing he wants to talk about: <strong>curiosity needs a direction</strong>. You might be curious,
but where does it get you? You might have a direction (like a degree plus the expected
job), but direction alone, what does it get you? But if you have both curiosity <em>and</em>
direction: that's nice.</p>
<p>Marcelo was curious in open source. What helped him a lot was to get involved. With open
source you can look at issues and start fixing them and slowly getting more and more
involved.</p>
<p>In 2020, the web question in python was &quot;Django or Flask&quot;. He picked the third option:
FastAPI, and started using it for his job. That resulted in bug reports or feature
requests from colleagues that he then could fix in FastAPI itself. He even took over
maintainership of <cite>python-multipart</cite>: by <strong>asking</strong> the not-really-active-anymore
maintainer. Marcelo got the maintainership because he was already known in the community
through his other open source work.</p>
<p>Asking can chance your path, just like with the maintainership of python-multipart.
Likewise, he <strong>asked</strong> for a job at Pydantic though his open source contacts. And got
it! He works for Pydantic ever since.</p>
<p>What can you open if you want to change your route? What can you do? Is it too late to:</p>
<ul class="simple">
<li>Start contributing to open source?</li>
<li>Learn a new language?</li>
<li>Pick up a hobby?</li>
<li>Change careers?</li>
</ul>
<p>According to Marcelo, it is never too late. One thing he'd focus on is <strong>fun</strong>. Have fun
with open source, for instance, in his case. It almost started out as his hobby. And he
likes AI right now. One of the things he's having fun with right now is <a class="reference external" href="https://github.com/Kludex/zttp">zttp</a>, an IO-less HTTP parser for Python with a <a class="reference external" href="https://ziglang.org/">Zig</a> core. He mentioned that AI helped him experiment. Another
project is <a class="reference external" href="https://github.com/Kludex/pgtask">pgtask</a>, a Postgresql-native durable
task queue + workflow engine.</p>
<p>A big part of his personal workflow is to look at his github notifications for all his
projects. Just look at one notification (and thus one issue or PR) at the time and to
<strong>bring it a little step forward, one at a time</strong>.</p>
<p>Normally he handled between 300 and 700 pull requests per year. This year it is already
above 2500 (due to AI). Like many maintainers, the workload has gone up. He noticed he
actually made noticeably fewer releases this year, though.</p>
<p>Maintainance is a form of care. Care and feeding for your projects. Triaging issues,
reviewing PRs, saying &quot;no&quot;, closing the noise. <strong>You're a maintainer, too</strong>. Anything
that only works because someone shows up. It might be your own life, your family, your
club, your project.</p>
<p>Marcelo once got the tip to grow on three tracks at once. Don't ignore any one of them,
you need them all:</p>
<ul class="simple">
<li>Professionally: grow in your job.</li>
<li>Personally: family, relationships, friends.</li>
<li>Healthily: exercise and nutrition. Body and mind.</li>
</ul>
<p>You might notice that one of those three tracks is starting to eat the others. You can't
remember the last day without a laptop, for instance. Or you spend a year at home on
open source and tell yourself it's fine.</p>
<p>He made a comment about AI. He works on AI tools every day. He <em>still</em> doesn't know
where it goes. He knows some of the routes might be closing for you because of AI. As a
maintainer, he actually uses AI. He lets AI review pull requests, he lets it write his
one pull reuqets. Security advisories. But AI doesn't diminish his enthousiasm and
curiosity.</p>
<p>Remember the <strong>bring it a little step forward, one at a time</strong> he mentioned before? Your
route will be different from Marcelo's. But the only thing you need to get further along
on your own route is to move a little step forward every time.</p>
<img alt="https://reinout.vanrees.org/images/2026/pyconnl-1.jpeg" src="https://reinout.vanrees.org/images/2026/pyconnl-1.jpeg" />
<p><em>Unrelated photo from our</em> <a class="reference external" href="https://www.nelen-schuurmans.nl">Nelen&amp;Schuurmans</a> <em>company
trip to Cologne/Köln in Germany. The salad I had for lunch on Saturday was tasty.</em></p>
</div>

      ]]>
      </content>

    </entry>
  
    <entry>
      <title>Nice schedule for upcoming Pycon NL</title>
      <link rel="alternate" type="text/html"
            href="https://reinout.vanrees.org/weblog/2026/09/28/pyconnl.html" />
      <id>http://reinout.vanrees.org/weblog/2026/09/28/pyconnl.html</id>
      <!-- id is not https: prevents old entries from showing up again -->
      <author>
        <name>Reinout van Rees</name>
      </author>
      <published>2026-09-28T00:00:00+01:00</published>
      <updated>2026-09-28T09:24:00+01:00</updated>

      
        <category term="python" />
      
        <category term="django" />
      

      <content type="html"><![CDATA[
      <div class="document">
<p>In 2.5 weeks (Thursday 15 October), I'll attend the <a class="reference external" href="https://www.pycon-nl.org/">Pycon NL</a> one-day conference in Utrecht. Always a friendly
conference with some good speakers.</p>
<p>I just took <a class="reference external" href="https://www.pycon-nl.org/schedule">a look at the talks schedule</a> and got
pretty excited. A talk about 3D, point clouds etc and how to process it with Python:
useful for the company I work for. I'll attend the <em>practical observability</em> talk: we
do observe and we have lots of metrics, but really tying everything together, especially
with our Python apps, still needs some work.</p>
<p>Of course there are some talks, scheduled at the same time, that both look useful. &quot;New static
security scanner&quot; versus &quot;practical software architecture&quot; for instance.</p>
<p>&quot;Zero-downtime multi-tenancy in Django&quot; pushes a lots of buttons for me :-) The talk
before it looks like it will explain some theoretical background behind &quot;data models&quot;,
with a bit of LLM explanation included. That might help me understand it all better (I'm
not using LLMs myself).</p>
<p>&quot;Resumable Python pipelines&quot; hopefully broadens my view a bit. We're using the Prefect
task runner a lot within the company (I even gave a talk about it at PyGrunn and at two
meetups). Recently, I've started using Django's new &quot;django-tasks&quot; framework. So... some
more input is always useful.</p>
<p>And, yeah, &quot;what's inside an asyncio event loop&quot;: up till now I've kept all my own code
synchronous. Nice, clear, debuggable. I've heard loud groans from colleagues that had to
debug async code. But I've also heard very positive noises from the Django community
about &quot;free threaded python&quot; and &quot;that's when Django's async work can really pay off&quot;.
So: I'd like to know more about the inside of asyncio :-)</p>
<p>Well, on 15 October you'll see my summaries turn up here on this blog!</p>
</div>

      ]]>
      </content>

    </entry>
  
    <entry>
      <title>September Python Leiden meetup summaries</title>
      <link rel="alternate" type="text/html"
            href="https://reinout.vanrees.org/weblog/2026/09/17/leiden.html" />
      <id>http://reinout.vanrees.org/weblog/2026/09/17/leiden.html</id>
      <!-- id is not https: prevents old entries from showing up again -->
      <author>
        <name>Reinout van Rees</name>
      </author>
      <published>2026-09-17T00:00:00+01:00</published>
      <updated>2026-09-17T20:48:00+01:00</updated>

      
        <category term="python" />
      
        <category term="plone" />
      
        <category term="django" />
      
        <category term="pun" />
      

      <content type="html"><![CDATA[
      <div class="document">
<p>Two summaries from the September 2026 <a class="reference external" href="PythonLeidenmeetup">https://pythonleiden.nl/</a>.</p>
<div class="section" id="maintaining-python-packages-to-attract-free-and-open-source-software-contributors-steve-piercy">
<h1>Maintaining Python packages to attract free and open source software contributors - Steve Piercy</h1>
<p><a class="reference external" href="https://stevepiercy.com/">Steve</a> is in the Netherlands for next week's <a class="reference external" href="https://2026.ploneconf.org/">Plone conference in Maastricht (NL)</a>. He's been involved in open source software for over two
decades.</p>
<p>What are contributors? Contributors to open source software? Why do you do it? Learning
(I myself got a good programming education out of contributing to Zope/<a class="reference external" href="https://plone.org/">Plone</a> while still at the university). You might want to give back. You
might like the community, you like to belong to the community. Finding your tribe.
Perhaps build a resume or CV. Help other people.</p>
<p>Why not? Negative online reactions. You want to really make money out of it. AI slop.
You might not have time. Too busy. Life happens. You might enjoy walking your dog or
doing gardening more. Or perhaps you just don't know how! Or you don't feel experienced
enough (imposter syndrome). Perhaps you don't think your English is good enough (he
advocates just using Google Translate).</p>
<p>(He asked how many people had already contributed to open source: about half the room
raised their hands.)</p>
<p>There are actually <strong>lots of ways</strong> to contribute. It is not all code! Read <a class="reference external" href="https://icalendar.readthedocs.io/en/stable/contribute/">this page</a> for some examples. You can
report security vulnerabilities or issues. You can comment on issues and help getting them
forward. Review pull requests. Extend the documentation. You can join discussions in
forums or on Matrix. Write a blog post on a project. And... you can financially sponsor
a project.</p>
<p>(He again asked who had contributed: now most hands went up!)</p>
<p><strong>Where to start?</strong> Start with what you use and what you find interesting. This helps
staying involved and getting into the community more and more. He himself liked web
applications and especially forms: making sure they're intuitive and safe and
well-validated. And he liked documentation, so some of his first contributions were
documentation fixes for open source projects.</p>
<p>Recently, he volunteered to take over maintainership of an open source project (a <a class="reference external" href="https://github.com/sphinx-contrib/httpdomain">sphinx
extension</a>). There were lots of open
pull requests and he asked the owners to look at it again and perhaps tweak it a bit
and... everybody responded and a few weeks later he could make a new release with lots
of fixes.</p>
<p>What is a maintainer? Well, basically maintainers are contributors who make releases.
But ideally you also have to &quot;tend your garden&quot; and try to get your small community to
thrive. One thing to keep in mind: you have to put your ego aside. If it is open source,
it is really owned by your users, not by you. What do you have to do? Show up when
someone has a question. Document your project (how to contribute, how to report bugs and
security issues, etc.).</p>
<p>He especially mentioned <a class="reference external" href="https://djangonaut.space">https://djangonaut.space</a> , that's a great initiative to help
people get involved with contributing. Same with <a class="reference external" href="https://djangogirls.org/">https://djangogirls.org/</a> .</p>
<p>As a maintainer, you might also have to look for funding. There are options like &quot;github
sponsors&quot;. But also NLnet (from the Netherlands) and the German sovereign tech agency
that sponsor lots of projects.</p>
<p>A best practice of good maintainers is to have <strong>good tooling</strong>. Automatic tests +
coverage. Build documentation. Formatting checks. <a class="reference external" href="https://zestreleaser.readthedocs.io/en/latest/">zest.releaser</a> for good releases.</p>
<p>The most important part of being a maintainer: <strong>how do you treat people</strong>.</p>
<p>There's one big problem: <strong>AI</strong>. There are just too many pull requests and too many
issues. You can never get through them if your project is reasonably popular. Dealing
with it is hard. Several projects made the choice to disallow AI contributions. Also
read <a class="reference external" href="https://leidendeclaration.ai/">https://leidendeclaration.ai/</a> , for the same problems are entering math and
science, too.</p>
<p>But on the other hand... in the icalendar project that he helps maintain, they got a new
contributor that made his first contribution based on AI. He liked that: the person got
enough confidence through AI. They now have an <a class="reference external" href="https://icalendar.readthedocs.io/en/stable/contribute/index.html#artificial-intelligence-policy">AI guideline in their contributor guide</a>
now.</p>
<p>There's <em>are</em> automated tools on github that can help you check pull requests and
identify slop-generating accounts, for instance. A tip when confronted with suspected AI
work: <strong>ask vague, clarifying questions</strong>. Just ask for a bit of clarification in a
vague way: AIs can't respond to vague questions, but humans can.</p>
<p>&quot;Once, men turned their thinking over to machines in the hope that this would set them
free. But that only permitted other men with machines to enslave them.&quot; - Frank Herbert,
<em>Dune</em>. Funny that he could write that 50 years ago.</p>
<p>Something mentioned in the discussion: people are now <strong>bidding on real github
accounts</strong> in order to let AI bots use accounts that appear real...</p>
<p>Watch out with AI. One of the links he shared:
<a class="reference external" href="https://pivot-to-ai.com/2026/09/08/students-who-dont-use-ai-are-ahead-on-every-measure/">https://pivot-to-ai.com/2026/09/08/students-who-dont-use-ai-are-ahead-on-every-measure/</a>
. And, look at the kids: it was bad enough with social media, but AI is much worse. And
freelancers are getting buried with soulless AI slop cleanup: artists get to clean up
AI-generated images, for instance.</p>
<p>Choose wisely. A quote he wanted to give us to think about: <strong>teach the world you
want</strong>.</p>
</div>
<div class="section" id="monitoring-my-washing-machine-michiel-beijen">
<h1>Monitoring my washing machine - Michiel Beijen</h1>
<p>Michiel has a 2021 Samsung washing machine that plays <em>Die Forelle</em> by Schubert when it
is finished washing... But the washing machine sits in the garage so he can't hear the
sound. It is a smart machine, so there's an iphone app for that! &quot;SmartThings&quot;. But the
list of data it wants to collect about you is horrendeous. And the app is almost 1GB!
No...</p>
<p>There's also &quot;home assistant&quot;, written in python. There's even a SmartThings API
connection. But... from October 2026 onwards you need a $5/month samsung subscription!?!</p>
<p>There's also &quot;Matter&quot;. They call it vendor neutral, standards compliant. Samsung
supports it. But only for connecting Matter devices to SmartThings, not the other way
around.</p>
<p>Next try: put a small camera in front of the washing machine's display, add a bit of OCR
text recognition to detect the remaining time from the image and add an http interface
to it. An old webcam couldn't provide a good camera. A raspberry Pi Camera 3 did the
trick. (He later thought it would perhaps have been better to pick some old smartphone.)</p>
<p>He showed some graphs detailing how the washing machine estimates the time it will
finish, including the adjustments it made halfway (adjusting for load or so).</p>
<p>Another approach that a colleague of him took: use a monitoring plug that measures the
electricity used. Once the electricity usage drops off, the washing is finished.</p>
</div>
</div>

      ]]>
      </content>

    </entry>
  

</feed>