|
You are here |
www.lukas-barth.net | ||
| | | | |
rolle.design
|
|
| | | | | I have finally implemented a very simple Fediverse-commenting to my WordPress blog here at rolle.design in favor of Webmention. I have practically taken the Carl Schwan's code and modified it a bit. Mastodon's API is quite simple, but I wanted to get it done in ten minutes. There are other fancier ways available, which even [...] | |
| | | | |
carlschwan.eu
|
|
| | | | | December was quite an eventful month for me, with over 4,000 km travelled by train. This was in part caused by the holidays and visiting family, but also by the KDE PIM sprint in Paris and the 39th Chaos Communication Congress. KDE PIM sprint in Paris From the 12th to the 14th of December, I was in Paris. It was actually my first time there for more than a day trip, so I arrived a day earlier to explore the city a bit. I went on a walk across the city with Tobias and Nicolas, and I took some photos. | |
| | | | |
adriano.fyi
|
|
| | | | | Problem synopsis I'm a huge fan of sqlc's approach to code generation. I've seen sqlc called a reverse ORM, and I really like that moniker. However, as a sqlc newbie, I'm still discovering its edge cases. Today's edge case is using postgres UPSERT queries with sqlc. The crux is that when upserting, it's necessary for unique key conflicts to occur so that the UPDATE portion of the query executes. But non-null uuid Go types tend to have a zero-value of 00000000-0000-0000-0000-000000000000. This results in new records inserting with the uuid Go type's zero value, and every following new record upserts the existing zero ID record. | |
| | | | |
carlschwan.eu
|
|
| | | Better late than never! After quite a few requests, here's the second part of my backpacking adventure through the Balkans from back in July. If you missed the first part, you can check it out here. After leaving Croatia, I traveled to the central Balkan countries: Bosnia and Herzegovina and Serbia. Mostar Since there were no trains from Split to Mostar, I took the bus instead. Stop on the middle of the road Landscape from the bus In Mostar, I stayed at another Hostel called Taso's House. It was a small hostel but the host made us discover the whole Herzegovina region and explained us a lot of things about his country, the complex political situation there and how it was to grow up in Mostar during the war. | ||