All the idioms you need to be productive in #bash while writing safe scripts.
Searching for a company that might be interested in participating in creating a sovereign #magicthegathering league that is not bound by #wotc organised play programme.
Please ask around in your marketing department if your employer would be interested in this.
My very first #ecto validator.
At first I was kind of repelled by the notion of validators in ecto because, as Alexis King teaches us mere mortals, "parse, not validate".
But then I realised that ecto validators don't discard error / success information (see xor_mark_as_required and xor_insert_errors). So I am content.
The post-pandemic world: 34% of remote workers say they'd rather quit than return to full-time office work
https://www.psychnewsdaily.com/a-third-of-wfh-employees-say-theyd-rather-quit-than-return-to-full-time-office-work/
Oh yeah, baby, nice UX to insert stuff into the database.
Important bit is that we just supplied PK as a string and we let Ecto figure out how to fetch it...
I wish there was a cache layer so that I don't have to query stuff every time I make a changeset...
https://www.youtube.com/watch?v=o3P56LAKq2k
Very good explanation of what "cast" means in Ecto changesets.
Basically I ran into this issue after my system crashed mid rebuild: https://github.com/NixOS/nixpkgs/issues/18279#issuecomment-814504255
The solution was to do
sudo nixos-rebuild switch -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/20.09.tar.gz
and use the nixpkgs tarball directly. Pretty cool that that's possible
Delete Chrome. Now.
Google is using its exceptionally powerful position to make *the browser itself* analyze your browsing behavior and serve that on a plate in the form of "cohorts" to anyone interested.
They are transforming Chrome into a "browsing-history-passport" - right now.
If you care about your intellectual freedom even a little bit, you must put Chrome out of your life as soon as possible. Support others doing the same.
Slowly going through the game backlog...
While thinking about a way for #doauth users to control their identity, disclosing nothing by default AND high availability / replication, I came up with the notion of disclosure event logs.
After just a little bit of tinkering with the definition, it turned out that it's getting modelled with existing approach to credentials / claims really well.
I love that immediate positive feedback on design and architecture.
That https://doma.dev guy
#lean #elixir #typescript #react #nix
In my non-existent free time I design and run #TTRPG
If you use tools made by genocide-apologists, you are a genocide-apologist.
#lemmy users aren't welcome here.