/explore
|
You are here |
www.lukas-barth.net | ||
| | | | |
www-gem.codeberg.page
The concept of keybinders should not be a secret for you. If youre using a tiling windows manager, you are even probably already familiar with assigning keyboard shortcuts to actions within its configuration file. Thats what I used to do for years using awesomewm, i3, or dwm. Once I moved to bspwm, Ive also be introduced to sxhkd and I first missed the point of yet another keybinders. Lets see why sxhkd stands out among the various keybinders available for Linux. |
|
| | | | | ||
| | | | |
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 [...] |
|
| | | | | ||
| | | | |
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. |
|
| | | |||