This article will show a (rare!) practical problem I worked on, namely automating the discovery of the order in which to visit a list of addresses, all in the same city, Milan, and moving by car, in order to reduce the travel time.
This …
Some time ago I saw a reddit post on r/milano presenting a visualization of the nearest Metro or train station in the city of Milan. In short, it indicates for each station which area is “covered” by it, having it as the closest station. …
Tatoeba is a website to crowdsource sentences translated in several languages, a resource that is very useful to language learners or people interested in NLP.
I am a contributor and a user of Tatoeba, where I mostly translate sentences to …
Syntax highlighting with my Tree-sitter grammar
In the last months I worked on a new project, a dashboard/blog/dataviz experiment focused on the city of Milan, and doing so started focusing on ways to automate and validate the integration …
There are few things developers love more than having to handle timezones. One of them is having to handle timezones in different environments!
Lately I had to deal with some timezone operations across Python and Postgres and decided to …
For quite some time I entertained the idea of implementing an emulator. My knowledge of low level programming is mostly theoretical and this would be a good chance to learn more, and also to experiment with optimizations I rarely encounter …
NOTE: a complete interactive demo of the final result is here.
In the previous post of this series, we saw how to generate vector tiles starting from an OpenStreetMap PBF extract using Tilemaker.
After the article I refined the process and …
UPDATE: I created a Python tool to automate this process, including a refined style and packaging. I suggest using it.
In the previous post of this series we saw that an extract of the data from OpenStreetMap can be easily transformed into …
In this article we are going to implement an interactive map that can be included in a fully static website.
By fully static I mean that the map does not rely on any external service nor a backend, it is just a bunch of files served …
On April 12th, 2022 I will give a talk at PyCon Berlin about how we use Postgres in a data science project at Flixbus.
These are the slides for this presentation, you can contact me on the conference Discord, Twitter, Github or in person at …
Since quite some time I have an interest in GIS and rendering, and after experimenting with the two separately I decided to finally try and render geographical data from OpenStreetMap in 3D, focusing on a small scale never bigger than a …
The task of ingesting data into Postgres is a common one in my job as a data engineer, and also in my side projects.
As such, I learned a few tricks that I’m going to discuss here, in particular related to ingesting data from Python and …