C Debugging C code on macOS I started to write C 25 years ago now, with many different tools over the year. As many open source developers, I spent most of my life working with the
Interview Interview: The Performance of Python Earlier this year, I was supposed to participate to dotPy, a one-day Python conference happening in Paris. This event has unfortunately been cancelled due to the COVID-19 pandemic. Both Victor
Python Attending FOSDEM 2020 This weekend, I've been lucky to attend again the FOSDEM conference, one of the largest open-source conference out there. I had a talk scheduled in the Python devroom on Saturday
Python Python Logging with Datadog At Mergify, we generate a pretty large amount of logs. Every time an event is received from GitHub for a particular pull request, our engine computes a new state for
Python Atomic lock-free counters in Python At Datadog, we're really into metrics. We love them, we store them, but we also generate them. To do that, you need to juggle with integers that are incremented, also
Python Finding definitions from a source file and a line number in Python My job at Datadog keeps me busy with new and questioning challenges. I recently stumbled upon a problem that sounded easy but was more difficult than I imagined. Here's the
Python Sending Emails in Python β Tutorial with Code Examples What do you need to send an email with Python? Some basic programming and web knowledge along with the elementary Python skills. I assume youβve already had a web
Python Python and fast HTTP clients Nowadays, it is more than likely that you will have to write an HTTP client for your application that will have to talk to another HTTP server. The ubiquity of
Python Dependencies Handling in Python Dependencies are a nightmare for many people. Some even argue they are technical debt. Managing the list of the libraries of your software is a horrible experience. Updating them β automatically?
Python Handling multipart/form-data natively in Python RFC7578 (who obsoletes RFC2388) defines the multipart/form-data type that is usually transported over HTTP when users submit forms on your Web page. Nowadays, it tends to be replaced by
Python Advanced Functional Programming in Python: lambda A few weeks ago, I introduced you to functional programming in Python. Today, I'd like to go further into this topic and show you so more interesting features. Lambda FunctionsWhat
Python An Introduction to Functional Programming with Python Many Python developers are unaware of the extent to which you can use functional programming in Python, which is a shame: with few exceptions, functional programming allows you to write
Python Writing Your Own Filtering DSL in Python A few months ago, we've seen how to write a filtering syntax tree in Python. The idea behind this was to create a data structure β in the form of a
Python Serious Python released! Today I'm glad to announce that my new book, Serious Python, has been released. However, you wonder⦠what is Serious Python? Well, Serious Python is the the new name of
Python A multi-value syntax tree filtering in Python A while ago, we've seen how to write a simple filtering syntax tree with Python. The idea was to provide a small abstract syntax tree with an easy to write
Python The Best flake8 Extensions for your Python Project In the last blog post about coding style, we dissected what the state of the art was regarding coding style check in Python. As we've seen, Flake8 is a wrapper
Python Code Style Checks in Python After starting your first Python project, you might realize that it is actually not that obvious to be consistent with the way you write Python code. If you collaborate with
Python High-Performance in Python with Zero-Copy and the Buffer Protocol Whatever your programs are doing, they often have to deal with vast amounts of data. This data is usually represented and manipulated in the form of strings. However, handling such
Python Starting your first Python project There's a gap between learning the syntax of the Python programming language and being able to build a project from scratch. When you finish reading your first tutorial or book
Python A simple filtering syntax tree in Python Working on various pieces of software those last years, I noticed that there's always a feature that requires implementing some DSL. The problem with DSL is that it is never
Python Correct HTTP scheme in WSGI with Cloudflare I've recently been using Cloudflare as an HTTP frontend for some applications, and getting things working correctly with WSGI was unobvious. In Python, WSGI is the standard protocol to write
Python Is Python a Good Choice for Entreprise Projects? A few weeks ago, one of my followers, Morteza, reached out and asked me the following: I develop projects mostly with Python, but I am scared that Python is not
Ghost On blog migration I've started my first Web page in 1998 and one could say that it evolved quite a bit in the meantime. From a Frontpage designed Web site with frames, it
Python Scaling a polling Python application with tooz This article is the final one of the series I wrote about scaling a large number of connections in a Python application. If you don't remember what the problem we're
Python Scaling a polling Python application with asyncio This article is a follow-up of my previous blog post about scaling a large number of connections. If you don't remember, I was trying to solve one of my followers'