/explore
|
You are here |
daudix.codeberg.page | ||
| | | | |
daudix.one
Silly little goober with a creative mind. |
|
| | | | | ||
| | | | |
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. |
|
| | | | | ||
| | | | |
cassidyjames.com
a.k.a. I'm looking for work! |
|
| | | | | ||
| | | | |
davquar.it
i3 is a tiling window manager, which means that the concept of "window" does not exist. Instead of windows, there are "tiles": generic partitions of the screen, where some content is drawn into. In this post I write my opinions on the key changes between stacking and tiling window managers. |
|
| | | |||