Posts by andrew@social.afontaine.dev
(DIR) Post #AhpWCtAXWc7gJNK4Ia by andrew@social.afontaine.dev
2024-02-02T15:38:17.122858Z
0 likes, 0 repeats
mixing bread today, a very relaxing activity
(DIR) Post #Ahrcg3FO7bA80WncOW by andrew@social.afontaine.dev
2023-09-07T18:12:55.960531Z
0 likes, 0 repeats
Looks like I’ll be going to KubeCon NA in Chicago for $WORK, which means working the booth we’ll have.Either way, pretty excited to go to a con!
(DIR) Post #Ahrcg4hQipBgVmvWk4 by andrew@social.afontaine.dev
2023-09-07T19:07:30.204840Z
0 likes, 0 repeats
although to be honest, I wish I was either at #NixCon or #ElixirConf right now instead
(DIR) Post #AhwBaLroFsB32uczqa by andrew@social.afontaine.dev
2023-09-11T19:24:13.364820Z
0 likes, 0 repeats
finally set up a dendrite home server again, also set up heisenbridge for IRC rather than going for soju.So far, I kind of like it? ement is nice, and the whole thing runs (tightly) in a 1 GB digital ocean droplet. I’m only in one big channel (#nix:nixos.org) though. I might have to upgrade if I look at joining another big channel.
(DIR) Post #AhxrfaZfOJg3LCHW0e by andrew@social.afontaine.dev
2023-11-16T15:39:58.743035Z
0 likes, 0 repeats
@tachi @b0rkso I’m a big believer of just reaching for home-manager for dotfiles, as it doesn’t need NixOS, also works on MacOS (to some extent), and doesn’t require flakes out of the box (but is compatible with them!). It does work best with SystemD distributions though!It’s a big leap for sure, but home-manager doesn’t require an all-at-once migration by any means, and should be relatively simple to get going once nix is installed.
(DIR) Post #Ai13ljWGpNm9kIGjwW by andrew@social.afontaine.dev
2023-07-08T00:28:31.580457Z
0 likes, 0 repeats
Just finished setting up a PiKVM and used tailscale cert to generate the HTTPS certificates for it.Maybe one day it’ll use Caddy and I won’t have to to it manually, but until then, tailscale cert worked perfectly.
(DIR) Post #Ai2ZKu5mnkzePR5kI4 by andrew@social.afontaine.dev
2023-12-07T18:53:49.673668Z
0 likes, 0 repeats
@b0rk @novalis the number is the number of seconds it waits before it tries what it thinks you meant. I have it set to 5 in case I accidentally start doing something dangerous.
(DIR) Post #Ai5btHAyGZOrEKukka by andrew@social.afontaine.dev
2023-07-07T12:54:12.602886Z
0 likes, 0 repeats
@b0rk we use snapshot testing as well. We have two sets, one that utilizes screenshots (through storybook I believe), while the other checks the HTML output of Vue components. The former is updated only within a CI environment. It sets the environment up so the dimensions and scale are the exact same. A minor annoyance, but otherwise great.The latter can be very flaky, often breaking when small refractors are made that don’t actually affect the look or behaviour of the component. Usually it is because some css classes are merged or renamed, but then you have to update and verify all those HTML snapshots.A small, small portion are on utility functions that generally check the shape of an object being manipulated. I would personally prefer they utilize a matcher better designed for it, but this use case seems solid so far. It does require static test fixtures though, which, again, is not my personal preference. To sum up, snapshot tests are neat, but you have to be certain you are snapshotting the correct layer of your application, and not any “internals, otherwise test breakage can be quite frequent.