This week's AI mood: this is to software what AD was to driving.
Next week: back to existential dread, probably.
22
Finally got around to wrapping up and publishing the rust port of frecently
crates.io/crates/freqle
38
New cool workflow thing: this jujutsu script that drops you into a temporary workspace shell. Great for agents, or just to work on two things simultaneously and figure out the merge later.
github.com/jonascarpay/nix/b…
1
52
Big QoL improvement for our Nix CI: piping all output through
sed -E 's#/nix/store/([a-z0-9]{5})[a-z0-9]{27}-([a-zA-Z0-9+?=._-]+)#<\2_\1>#g'
It renders store paths as <python-3.10_0a1b2>, making it a lot less intimidating esp. to non-Nix folk
424
[ANN] safe-gen - recursive Arbitrary instances without headaches
github.com/xc-jp/safe-gen
291
Jonas Carpay retweeted
Replying to @jonascarpay
Nice writeup! Funny enough, I have exact the same setup ready for AWS tutorial to be used with Cachix Deploy (app.cachix.org/deploy).
Use the AMI to bootstrap the initial connection and then use Cachix Deploy to take over the NixOS bits and leave provisioning to Terraform.
New blog post: a comprehensive guide to end-to-end-declarative deployment with Terraform and Nix (and EC2)!
jonascarpay.com/posts/2022-0…
#Terraform #nixos #DevOps
Jonas Carpay retweeted
I've been wanting to build a HIE backed source code grapher for ages, and now I don't have to! Even better, @jonascarpay has done a much better job than anything I envisioned. Go give this a try!
I'm excited to announce the release of calligraphy, a Haskell source code visualizer!
Github: github.com/jonascarpay/calli…
Blog post: jonascarpay.com/posts/2022-0…
Cool pictures of things you can do with it: 🧵👇
Jonas Carpay retweeted
[ANN] calligraphy - Haskell source code visualizer github.com/jonascarpay/calli… by @jonascarpay
I'm excited to announce the release of calligraphy, a Haskell source code visualizer!
Github: github.com/jonascarpay/calli…
Blog post: jonascarpay.com/posts/2022-0…
Cool pictures of things you can do with it: 🧵👇
From calligraphy itself: the central LexTree data structure, and its reverse transitive dependencies.
calligraphy 'src/*' --reverse-root LexTree --collapse-data --collapse-values --no-cluster-modules
Haskell trick of the day: Love newtypes but hate their derived Show instances? With -XDerivingStrategies, you can write `deriving newtype Show`. This overrides the default behavior of printing the constructor, and just reuses the parent Show instance directly instead. #haskell
I only just found out that hackage.haskell.org/package/… exists, containing IntMap/Set wrappers for any Enum. Just to be sure I checked the asm, and with -O2, overhead optimizes away completely for Int newtypes. No more choosing between performance and convenience for Key newtypes!
2
Jonas Carpay retweeted
Here's the third post in our series about #PureNix (a #PureScript to #Nix transpiler). This is a mostly non-technical post about what lead us to start writing PureNix.
functor.tokyo/blog/2022-01-1…
Jonas Carpay retweeted
I put together a prototype of a cabal2nix tool that doesn't use IFD, but instead parses a .cabal file directly in #Nix. This is written in #PureScript and uses PureNix under the hood to transpile the code to Nix.
github.com/cdepillabout/caba…
Today's blog post is about #nix black arts: Capturing non-determinism by salting derivations
jonascarpay.com/posts/2021-1…










