Very infrequent posts about technology
Things I Forget When Creating New Characters in Gloomhaven
After not playing Gloomhaven for a bit, my wife and I opened up the box to realize that she needed to retire her character and make a new one before we play the scenario. Easy enough we thought, we opened up the rule book to ensure we were doing it the right way and… Lo and behold we had forgotten about things that make a fairly large difference.
Read more...PostgreSQL num_nulls
and num_nonnulls
PostgreSQL offers a few comparison functions that are very useful if your table has columns that require exactly one entry. I ran into a situation recently that utilized the num_nonnulls
function combined with a DB constraint to ensure that only one of a group of tables had data.
Dotfile Shenanigans
Recently I watched this video from RubyConf 2018 about dotfiles and decided to customize my own setup across my various systems (a personal Macbook, a work Macbook and a personal Linux server). If you’re not familiar with the concept of dotfiles, I’d watch the first few minutes of that video before continuing to read.
Read more...