I learned so much by being wrong on the Internet!
Thank you, @Kiskae and @IslandUsurper 😍
@jonn I believe you can use `direnv_layout_dir` in your direnv script to get an env-specific directory instead of PWD
@jonn neat idea, but I don’t think the tests actually work right. If it installs Hex, it won’t be able to install rebar, right? Might be better to use `mix local.hex —force —if-missing; mix local.rebar —force —if-missing ` instead.
A small hint for all the #Elixir users out there.
I don't know about you, but I always cringed at how dirty mix is when it comes to installing third party toolchain dependencies.
Twelve years into using it, I learned that you can actually localise third-party installations!
Here's a snippet from my #direnv.
```sh
mkdir -p .nix-mix .nix-hex
export MIX_HOME=$PWD/.nix-mix
export HEX_HOME=$PWD/.nix-mix
[ -z "$(ls -A .nix-mix)" ] && mix local.hex
[ -z "$(ls -A .nix-mix)" ] && mix local.rebar
```
This can make your #Nix builds pure without faking HOME!
Too bad there was no woman in the vicinity of this Nobel-worthy paper to share the award, really, one tries one's best, but it's so hard to find women who do science worthy of a #NobelPrize.
Mad cow disease, also known as Bovine spongiform encephalopathy, is when cows ingest contaminated meal, which can be sometimes made up of other cows. It was considered a disaster for the cattle industry in the 1990s.
Anyway, I bring it up because this is basically how LLM slop is starting to work now. All the nutritional grass has been eaten and now what’s left is the contaminated meal made from other LLMs. The LLMs eat the meal, and soon we will have, like Mad LLM disease or something
I wrote a note: "Monitoring VPS Network Usage with vnStat and NixOS" https://notes.abhinavsarkar.net/2022/vnstat-dashboard
I recreated the Barbican Estate in the lovely Townscaper app. I couldn't make the towers any taller but quite pleased with it otherwise
More pics: https://www.flickr.com/gp/philgyford/kLr09g79ru
The app: https://www.townscapergame.com
#Nix is muddy waters.
But if you know enough, it works.
Statement from President Joe Biden on U.S. Support for Ukraine
Alex Hillman presented on his (phd) work on extending STAMP to early system concept development
https://zerohr.io/blog/pay-the-defenders
In case you wonder about #ZeroHR offer line :3
That https://doma.dev guy
#lean #rust #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.