min()
and max()
Functions
Python's min()
and max()
functions can take an iterable
or multiple positional parameters, and support a key parameter for custom comparisons.
By Christoph Schiessl on Python
Learn how to have your OS randomly select a port number for your web server to get around the issue of hard-coded ports during development.
By Christoph Schiessl on Python, FastAPI, and DevOps
sum()
Function
In this article, we explore Python's built-in sum()
function, its parameters, and some extreme use cases it wasn't even designed for.
By Christoph Schiessl on Python
Last-Modified
and If-Modified-Since
Headers
Learn about timestamp-based caching in HTTP using the Last-Modified
and If-Modified-Since
headers, with Python's FastAPI as an example.
By Christoph Schiessl on Python and FastAPI
Learn how to use JavaScript to programmatically check the meta information of all pages listed in your sitemap.xml
to potentially rank better on Google.
By Christoph Schiessl on JavaScript
I send two weekly emails on building performant and resilient Web Applications with Python, JavaScript and PostgreSQL. No spam. Unscubscribe at any time.