Latest posts and learnings


Starting to write a bit of content everyday brought to the forefront a very obvious problem of plain html/css sites: How do you store and diplay content cleanly and efficiently? I'd like each post to be an independent file whose content gets injected in the desired page. This needs some JS and probably quiet some fine tuning. I decided that it was the time to start using a Static Site Generator and fully jump into the JamStack train. Given that I want to learn React and Node I opted to use Gatsby as my site generator. Originally I thought about using a template, but ended up going for following the tutorial and that was definitely the right choice. I can understand the foundations and then move to more advance design without feeling lost!


At work we're using GTM and GA4 to track anonymised user behaviour in our website. I noticed that page views were double firing in the GA4 debugger. I found most upvoted answer in this StackOverflow question to be extremely helpful. Using the Network section of Chrome's DevTools I managed to find out that the relevant tags where double firing in a way: firing once for the whole website and another time for an embedded iframe.


I was looking for a podcast in German to listen to and I have been having the idea of finding a good software development podcast for a while now. Looking into this I found Tech Tiefen. I tried the episode about Web Assembly and not knowing anything about the topic I enjoyed it, learn from it and on top the German they use is quite clear! I can definitely recommend it.


In order to test GitHub Copilot I had to install Visual Studio Code. However, at least for the time being, I don't want to learn a whole new set of key bindings. Fortunately I found a VS Code extension that sets up as many of the Sublime keybindings as possible. After installing the extension I simply had to restart VS Code and voilà, I could use it in exactly the same way I was using Sublime before. I don't yet know if I'm going to switch completely, but this time I'm going to give VS Code a fair chance.


I've been figuring out how to include interactive maps in my personal website. D3 and other options where you have to build the map from scratch, basically as polygons, seems like too much overhead, specially when the specific use cases are not yet well defined. Looking for something that could bring me decent results quickly while retaining some degree of control I though about Open Street Maps. However, it does not seem to support personal maps. Looking a bit more, I found Umap, which allows you to build your own customise map on top of Open Street Maps. I managed to quickly draw some maps showing some of the trips I've made and to embed this interactive map in my website by simply pasting a code snippet. However, today I found out about Leaflet, which would allow me to programatically build custom maps on top of Open Street Maps or other available online mapping tools. I want to try this out in the feature, given that it will give me more options for further customisation and interactivity.


I found Umap

, which allows you to build your own customise map on top of Open Street Maps.