Explore >> Select a destination


You are here

www.lukas-barth.net
| | blog.startifact.com
9.1 parsecs away

Travel
| | Part five in a series about my teenage adventures learning about computers and programming in the 1980s: achieving assembly
| | rolle.design
3.4 parsecs away

Travel
| | 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
6.3 parsecs away

Travel
| | 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.
| | adriano.fyi
12.6 parsecs away

Travel
| Mastodon While I'm in no way a Mastodon power user, I've really been enjoying the content that I get from my very limited Mastodon feed. I recently stopped consuming news from - hold on let's not call it news. I recently stopped consuming useless information from a site that I won't name. Everyone has those junk, just-for-fun sites they visit to blow off stream. You don't have to be proud of them, and it's fine that you visit them; every part of every day need not be productive. Anyway, I recently stoppe...