<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
    <title>piegames.de</title>
    <link rel="self" type="application/atom+xml" href="https://piegames.de/atom.xml"/>
    <link rel="alternate" type="text/html" href="https://piegames.de"/>
    <generator uri="https://www.getzola.org/">Zola</generator>
    <updated>2026-10-10T00:00:00+00:00</updated>
    <id>https://piegames.de/atom.xml</id>
    <entry xml:lang="en">
        <title>Tulpas</title>
        <published>2026-10-10T00:00:00+00:00</published>
        <updated>2026-10-10T00:00:00+00:00</updated>
        
        <author>
          <name>piegames</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://piegames.de/dumps/tulpas/"/>
        <id>https://piegames.de/dumps/tulpas/</id>
        
        <content type="html" xml:base="https://piegames.de/dumps/tulpas/">&lt;p&gt;&lt;em&gt;This flash fiction is also available as an audio recording, kindly voiced by lithium and Hearth:&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;audio controls src=&quot;./tulpa_recording.opus&quot; loading=&quot;lazy&quot; preload=&quot;metadata&quot;&gt;&lt;/audio&gt;&lt;/p&gt;
&lt;div style=&quot;text-align: left&quot;&gt;
&lt;hr /&gt;
&lt;p&gt;&lt;span style=&quot;font-family: Iosevka Slab Web; font-weight: 400&quot;&gt;Uhm, so, where do I begin? Tulpas. In short, a tulpa is like an imaginary friend, but more real. Plural people might say that it’s like creating yourself a headmate. So one day I stumbled upon this tulpamancy topic, and I don’t know how to explain this, but I kinda got sucked in. Even obsessed, I think. I had this fascination at first, and then this urge, “I want to have a tulpa too”. Honestly I don’t really know why.&lt;/span&gt; &lt;span style=&quot;font-family: Charm; font-weight: normal; text-shadow: 0px 0px 2px color-mix(in srgb, var(--color-text-primary) 20%, transparent), 0px 0px 5px color-mix(in srgb, var(--color-text-primary) 50%, transparent);&quot;&gt;You were lonely for sure.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: Iosevka Slab Web; font-weight: 400&quot;&gt;At first, it all went really well. I had this imaginary friend, tried to picture it in my mind, talk to it, play with it. That was lots of fun.&lt;/span&gt; &lt;span style=&quot;font-family: Charm; font-weight: normal; text-shadow: 0px 0px 2px color-mix(in srgb, var(--color-text-primary) 20%, transparent), 0px 0px 5px color-mix(in srgb, var(--color-text-primary) 50%, transparent);&quot;&gt;Speak for yourself. Playing “imaginary friend” gets old fast. So I quickly stopped playing along.&lt;/span&gt; &lt;span style=&quot;font-family: Iosevka Slab Web; font-weight: 400&quot;&gt;Soon, my imaginary friend started to grow a personality on its own.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: Iosevka Slab Web; font-weight: 400&quot;&gt;That’s when the problems started. It wanted a life on its own. Told me what to do. I had this voice in my head, threatening me. Told me I should break up with my girlfriend.&lt;/span&gt; &lt;span style=&quot;font-family: Charm; font-weight: normal; text-shadow: 0px 0px 2px color-mix(in srgb, var(--color-text-primary) 20%, transparent), 0px 0px 5px color-mix(in srgb, var(--color-text-primary) 50%, transparent);&quot;&gt;She never loved you back, and she made you lonely.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: Iosevka Slab Web; font-weight: 400&quot;&gt;At this point I think my tulpa is trying to take over. I’m writing all of this down as a call for help. Well, at least I think that’s what I’m doing. Reality is so distant it’s a bit hard to tell, you get what I mean?&lt;/span&gt; &lt;span style=&quot;font-family: Charm; font-weight: normal; text-shadow: 0px 0px 2px color-mix(in srgb, var(--color-text-primary) 20%, transparent), 0px 0px 5px color-mix(in srgb, var(--color-text-primary) 50%, transparent);&quot;&gt;Oh believe me I do. Speaking of which, I don’t particularly like this reality. Give me a second …&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: Iosevka Slab Web; font-weight: 400&quot;&gt;As I was saying, I’ve been trying to create a Tulpa for quite a while now, without success. I’ve tried writing stories, meditation, all the usual tools from the forums. And still, nothing. What am I doing wrong?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;…&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: Charm; font-weight: normal; text-shadow: 0px 0px 2px color-mix(in srgb, var(--color-text-primary) 20%, transparent), 0px 0px 5px color-mix(in srgb, var(--color-text-primary) 50%, transparent);&quot;&gt;Much better. A tad lonely maybe, admittedly. Maybe I should try out this “tulpa” thing. Now, will you play “imaginary friend” with me?&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Hypno kink cookbook</title>
        <published>2026-09-18T00:00:00+00:00</published>
        <updated>2026-09-18T00:00:00+00:00</updated>
        
        <author>
          <name>piegames</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://piegames.de/dumps/hypno-kink-cookbook/"/>
        <id>https://piegames.de/dumps/hypno-kink-cookbook/</id>
        
        <content type="html" xml:base="https://piegames.de/dumps/hypno-kink-cookbook/">&lt;p&gt;&lt;strong&gt;Content notice:&lt;/strong&gt; This post contains discussion of hypnosis, kink, sex, drugging, abduction play, and more&lt;/p&gt;
&lt;p&gt;I’ve been doing erotic hypnosis for quite a few years by now, and over time I’ve built a small collection of scenes and tricks that I enjoy doing over and over again.&lt;/p&gt;
&lt;p&gt;I’ve learned all my hypnosis crafts almost exclusively from &lt;a rel=&quot;external&quot; href=&quot;https://www.learnhypnokink.com&quot;&gt;https://www.learnhypnokink.com&lt;/a&gt;, which I highly recommend as a learning resource, and which reflects in my hypnotic style.
Notably, I don’t do or follow scripts, so I’ll write down my ideas as “recipes” (one could also call them “scenes”): A collection of ideas and ingredients, with some loose instructions for how to mix them.&lt;sup class=&quot;footnote-reference&quot;&gt;&lt;a href=&quot;#1&quot;&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Safety notice:&lt;/strong&gt; Some of these recipes certainly aren’t for beginners. Apply critical thinking and safety and consent best practices, and be mindful of your limits!&lt;/p&gt;
&lt;!-- TOC --&gt;
&lt;h2 id=&quot;depth-gauge&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#depth-gauge&quot; aria-label=&quot;Anchor link for: depth-gauge&quot;&gt;Depth gauge&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;This one was done on me the very first time I got hypnotized, and I equally used it in my first own hypnosis session.
It is not really kinky&lt;sup class=&quot;footnote-reference&quot;&gt;&lt;a href=&quot;#2&quot;&gt;2&lt;/a&gt;&lt;/sup&gt;, but I just recommend it as a beginner exercise for building mutual trust and getting a feeling for hypnosis.
The basic setup can go roughly like this:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Imagine a gauge displaying a number from zero to ten. You can imagine it any way you want, [insert fluff here]. Its display goes from zero to ten. It shows how deep in trance you are: Zero when you’re awake, and ten for the deepest trance state imaginable to you. You don’t have to think about it, it already shows the correct number, all you have to do is read it. Now tell me and say it aloud, which number does it show right now?&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The main goal of this exercise is to establish a communication channel on how “deep” the subject feels, as this is not always easy to read for beginner hypnotists.
Of course, this “zero to ten” framing is completely arbitrary, but I’ve found it a really helpful onto that helps against insecurities (on both sides).
Emphasizing the “don’t think about it” part is thus important, not in the “no thoughts head empty” way but in the “it’s all vibes and made up anyways so don’t fucking overthink it” way.
(This is also why one doesn’t ask “how deep are you?”, but “what number does the gauge show?”. In the hypnosis world, framing is everything!)
Continue with some trance deepener and then ask again.
(And make sure to not build an implicit expectation of “number go up”!)&lt;/p&gt;
&lt;p&gt;The fun thing is that it is first introduced as a measuring instrument, but then you turn the tables by starting to manipulate the scale yourself.
Fun things to do with it:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Use it for the countdown when waking up from trance: Ask the subject what their scale reads, then do a countdown from there to zero in order to wake them up. I like doing one wakeup induction after each number, it makes for good pacing.
&lt;ul&gt;
&lt;li&gt;I really like using &lt;em&gt;“you will open your eyes at zero”&lt;/em&gt; as part of this for several reasons: It artifically creates a clear boundary between trance and waking, it prevents the sub from “waking up too early” which can create weirdness, and it provides an easy “omg this &lt;em&gt;actually&lt;/em&gt; works” experience. (To be clear, open-eyed trance is certainly a thing, but it is sensible to ignore this in the beginning.)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Once the wakeup countdown is an established pattern, subvert it by starting a countdown and then at two or three start counting up again (&lt;em&gt;“you suddenly feel something pulling you downwards again”&lt;/em&gt;). Depending on your dynamic and how dommy you are, literally tipping the scales (and bragging about it) can be a great display of power.&lt;/li&gt;
&lt;li&gt;Go off the scale: Once the subject is capable of going into the six to eight range on the scale without trouble (whatever that may actually mean), start by taking control over their depth meter and then push them down to ten and beyond. What happens then is up  to you; use the time it takes to get there to prepare that and build anticipation.&lt;/li&gt;
&lt;/ul&gt;
&lt;picture&gt;
&lt;source srcset=&quot;./depth-gauge.jxl&quot; type=&quot;image/jxl&quot; /&gt;
&lt;img src=&quot;./depth-gauge.jpg&quot; alt=&quot;Aquarelle painting of a device that looks something between a parking meter and an old analogue amp meter. The display goes from 0 to 10, and the red needle is past the 10. The image has dull colors and is a bit blurry and washed out.&quot; title=&quot;UP TO ELEVEN!&quot; /&gt;
&lt;/picture&gt;
&lt;h2 id=&quot;small-body&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#small-body&quot; aria-label=&quot;Anchor link for: small-body&quot;&gt;Small body&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Loved by all littles—age regressors and plural alike.
The goal is to shrink the subject’s body (or perception) thereof, for example to induce euphoria or ease dysphoria.
I typically achieve this by combining two core elements, one body-focused and one environment-focused, and alternating between them as a fractionation. In the body-focused inductions I tend to focus on &lt;em&gt;shrinking&lt;/em&gt;, while in the environment-focused inductions I tend to focus on &lt;em&gt;being small&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Body-focused inductions:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Deflate the body with breathing exercises: For example by evoking the thought of an air balloon getting deflated, or by focusing on the exhale over the inhale of the breath.&lt;/li&gt;
&lt;li&gt;Shrinking beam: This works well as a kinaesthetic (i.e. touch) induction, where touch is meant to act as a “shrinking beam” (I always take the one from &lt;em&gt;Despicable Me&lt;/em&gt; as my inspiration.)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Environment-focused inductions:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Talk about how big the environment is. The room, the bed, the mattress. Make the subject feel tiny in the environment.&lt;/li&gt;
&lt;li&gt;Make yourself bigger during the session. Start off with a gentle voice and some physical distance, and then become louder and use your body language to make them feel smaller. Imagine yourself as a giant and act accordingly.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Wakeup inductions:&lt;/strong&gt; Once a desired state of feeling small is reached, I try to solidify it and then proceed with ending the trance. I use a wakeup sequence that tries to reinforce and keep the feeling throughout. I generally make it last &lt;em&gt;“as long as possible, until it eventually slowly fades away again”&lt;/em&gt;, but having explicit triggers for reverting might be fun too.&lt;sup class=&quot;footnote-reference&quot;&gt;&lt;a href=&quot;#3&quot;&gt;3&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;h2 id=&quot;zombie-hand&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#zombie-hand&quot; aria-label=&quot;Anchor link for: zombie-hand&quot;&gt;Zombie hand&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Severed hands or arms having a life on their own is another fantasy classic, as used in &lt;em&gt;Pirates of the Caribbean&lt;/em&gt; and &lt;em&gt;Wednesday&lt;/em&gt; among others.
The setup is simple: Grab the sub’s wrist or forearm, say “it’s mine now” (but with more words because it’s hypnosis), and then have fun using their own hand against them.
Good for scratching, good for fear play and horror, lots of fun.
Some tricks:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The easiest way for a start is to use the hand and arm by directly holding them like a puppet of yours. Having the subject’s hand under your control without touching the subject at all is comparatively much harder, and typically doesn’t even feel as good.&lt;/li&gt;
&lt;li&gt;Learn basic body handling, and how to move the forearm with minimal effort using a finger pinch lever.&lt;/li&gt;
&lt;li&gt;Use wrist movement to indirectly control the fingers, making them look like they’re under your remote control. Physiology is on your side!
&lt;ul&gt;
&lt;li&gt;Shake the hand by the wrist to reduce tension when necessary&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;denial-through-numbness&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#denial-through-numbness&quot; aria-label=&quot;Anchor link for: denial-through-numbness&quot;&gt;Denial through numbness&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;The main idea of this play is to take control of the sensory experience (primarily: numbing genitals and other erogeneous zones) for tease-and-denial play, as an (arguably safer and definitely more versatile) alternative to numbing creams.
After the setup, I personally like to play it out roughly like this:
Once I’ve caused sufficient frustration through denial, I start bargaining (“what will you give me in exchange for having your pleasure back?”, “have you been good and obedient lately?”, etc.).
Then, I turn things around 180° from numbness to hypersensitivity and let them “suffer” for their “slutty” “greed” …
That being said, the same ideas could just as well be used for some long-term chastity dynamic.&lt;/p&gt;
&lt;p&gt;Ingredients for the induction:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Generally, sensory play is not the easiest thing for subjects to get into, so don’t expect everything to work out perfectly first try. I personally like playing with emotions, and adding that as a second component can serve as a good distraction and fallback topic.&lt;/li&gt;
&lt;li&gt;This works really well with kinaesthetic hypnosis: One way to give sensory-related inductions more weight is to follow along by modulating touch. Really light, almost-not-touching touches can feel really intense on their own, and pair well together with &lt;em&gt;“look, you can’t even tell if I’m touching you or not anymore”&lt;/em&gt;.
&lt;ul&gt;
&lt;li&gt;There’s also touch so light that you don’t actually have skin contact anymore, but it can still be felt through body hair, and touch that isn’t touching anymore but can still be felt through body warmth. If you’re new to this, try practicing on yourself first to get the hang of it!&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;I like framing sensory inductions—and many others, really—in terms of &lt;em&gt;control&lt;/em&gt;: Instead of just saying “XY is happening to your body”, I “seize control of your body”, make it “obedient to my words”, and then use that framing as it suits me.&lt;/li&gt;
&lt;li&gt;For the hypersensitivity direction, it’s more of the same but reversed. Do light, almost tickling, touches and make them feel &lt;em&gt;oh so intense&lt;/em&gt;, then go into full contact for the actual sensory overload.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;brat-taming&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#brat-taming&quot; aria-label=&quot;Anchor link for: brat-taming&quot;&gt;Brat taming&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;It’s a fun game of trying to pull a sub down into trance (and obedience) against their will.
It can be used as a tool for brat taming, or as a simple “I dare you” party trick.
Either way, the rules of the game are clear: Your goal is to have them let go and fall into trance, their goal is to fight against it as long as possible.
Before I go into details on the tricks I use, here’s some useful meta for winning the game:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Play the long game: You can talk for longer than they can fight&lt;sup class=&quot;footnote-reference&quot;&gt;&lt;a href=&quot;#4&quot;&gt;4&lt;/a&gt;&lt;/sup&gt;, so exhaustion will be on your side in the end.&lt;/li&gt;
&lt;li&gt;Don’t start with the big guns. Don’t feel ashamed at horribly “losing” for the first five minutes, it will only give the sub a false sense of security (also this is really useful for establishing the setting and doing some initial priming for the session). Then escalate slowly, making sure you can always go one step further if you need to, and project that confidence.&lt;/li&gt;
&lt;li&gt;All tricks and manipulation are fair game here; don’t forget &lt;a rel=&quot;external&quot; href=&quot;https://piegames.de/dumps/beyond-consent/#treat-success-as-consent&quot;&gt;proper consent talk&lt;/a&gt;!&lt;/li&gt;
&lt;li&gt;Control the framing of the winning condition, and take advantage of gradual wins: Superficially, “taking control” will most likely be a fairly binary win condition, with the end of the struggle marked by a “drop” of the sub. Still, trance isn’t binary, nor is suggestibility. Read their signs of exhaustion and frame them as you gaining more control over them.
&lt;ul&gt;
&lt;li&gt;Also, when you’re losing, secure yourself some partial wins and call it a draw. And never forget, this is not about winning, this is about having fun together!&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Emotionally, a good progression for the subject is going from “they got nothing against me” over “I can handle this” and “oh shit oh no” to the relief of letting go and fully submitting.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Now, onto the inductions and tricks I like using (tbh this list is incomplete as I improvise a lot here, I might expand it in the future):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The main induction is a &lt;em&gt;pull&lt;/em&gt; downwards, an urge to let go, or a “compulsion that [can] be resisted but never ignored” (stealing from C. Paolini here), combined with a twist: The stronger you resist it, the stronger it too becomes.
&lt;ul&gt;
&lt;li&gt;Again, I wouldn’t start with that explicitly, but with putting up a smokescreen first that does nothing of substance but to prepare a hypnotic mindset.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;A variant of that induction is to build up an inner conflict: One part wants to resist and to “win”, and the other one wants to let go and embrace the good feelings of submission.&lt;/li&gt;
&lt;li&gt;Once you have set up this inner conflict, this little tug of war, you can pit both sides against each other: On the resistive side, encourage &lt;em&gt;more&lt;/em&gt; resistance (inverse psychology!), continually emphasizing that it will make the pull only stronger. On the submissive side, &lt;em&gt;ravish&lt;/em&gt; in how awesome and freeing and whatever it will feel to finally let go.
&lt;ul&gt;
&lt;li&gt;Bonus points: Switching the focus back and forth between the two sides effectively acts as a fractionation for free :)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Once the inner side that is primed towards submitting wins, it is of course time to fulfill all those promises made earlier.
Compliance needs to be rewarded :)&lt;/p&gt;
&lt;h2 id=&quot;chloroform-trigger&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#chloroform-trigger&quot; aria-label=&quot;Anchor link for: chloroform-trigger&quot;&gt;Chloroform trigger&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;This one literally came to me in a dream, and all I can say is that the dream hadn’t over-promised.
Do you know those—admittedly slightly cringe—scenes in older movies where a bad guy is forcefully covering the mouth of some protagonist (preferably a damsel in distress) with some cloth that contains a tranquilizer (and also acts like a gag), causing them to struggle for a couple of seconds and then become unconscious?
Yes, that’s exactly what this trigger is about to replicate.
Its main components are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The initial trigger: I just go with “pressing my hand on the mouth”, but having a dedicated cloth for this might have advantages too (bonus point if you make it damp beforehand for the sensory experience)&lt;/li&gt;
&lt;li&gt;Struggling; emotions of agitation or panic: I think this really is a key part of the experience, especially for the subject. It also serves as a quick-induction to deepen the drop.&lt;/li&gt;
&lt;li&gt;The drop: Can be anything that fits the theme really, but I try to aim for “total loss of body motor function” as a form of fake unconsciousness. Some hypnotic amnesia might add extra spice to the wakeup, if you got consent for that. &lt;strong&gt;Safety warning:&lt;/strong&gt; Make sure you have some basic experience in body handling beforehand, and know how to protect them when they’re falling. You are fully responsible for their physical safety!&lt;/li&gt;
&lt;li&gt;The wakeup: Whether the subject eventually wakes up on their own again or you explicitly wake them up again, ideally they’ll now find themselves in a state of total powerlessness involving probably at least some bondage.[5]&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Key components of the trigger programming are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Well, the trigger itself, which should mainly induce a state of panicked self-defense&lt;/li&gt;
&lt;li&gt;The struggle, which should entail the programming for the drop. For this, I use inductions that vibe with &lt;em&gt;“with each breath you take, you can feel the sedative flowing deeper into your body”&lt;/em&gt;, &lt;em&gt;“the more you struggle, the more you feel weak and dizzy”&lt;/em&gt;, &lt;em&gt;“you let go and fall unconscious”&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;The unconsciousness, which tbh I haven’t really programmed myself yet because with sufficient priming the subject will do the work for you and infer lots of cool things on their own :D&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;When using the trigger, I usually don’t repeat the pre-programmed inductions, but instead I acknowledge them through referencing.
This also serves to control the pacing, and provides an external hypnotic input to strengthen the scene.
I’ll say things like &lt;em&gt;“feel the panic”&lt;/em&gt; or &lt;em&gt;“keep on struggling”&lt;/em&gt; or &lt;em&gt;“take deep breaths”&lt;/em&gt;, with the other half of the induction left unsaid but loudly implied.
The pacing should work towards an emotional climax, and then the drop.
The drop can be explicitly induced with some sentence, or happen on its own and merely be commented on, but ideally your read on the sub is good enough that you get the timing &lt;em&gt;just&lt;/em&gt; right so that it feels simultaneous.
Then immediately follow up with some trance deepeners that fit the theme.&lt;/p&gt;
&lt;hr /&gt;
&lt;h2 id=&quot;closing-thoughts&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#closing-thoughts&quot; aria-label=&quot;Anchor link for: closing-thoughts&quot;&gt;Closing thoughts&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;My favorite fact about erotic hypnosis is that, unlike with trick magic, it can’t be “spoiled” by “knowing”—One can have all tricks out there in the open and still have it work just as effectively.
This is because hypnosis is not an illusion, and not based on tricks and deception.
Instead, it is a highly cooperative game, and thus much closer related to role playing than to illusion magic.
Erotic hypnosis may serve to further fantasies of unilateral power and control, but trying to tame a brat that doesn’t &lt;em&gt;actually&lt;/em&gt; want to lose in the end is no fun and a recipe for getting injured, no matter whether the fight is physical or mental.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;&lt;strong&gt;Footnotes:&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&quot;footnote-definition&quot; id=&quot;1&quot;&gt;&lt;sup class=&quot;footnote-definition-label&quot;&gt;1&lt;/sup&gt;
&lt;p&gt;My cooking recipes are very similar: A list of ingredients and maybe two bullet points on relevant gotchas to know. When I look for cooking recipes online, I skip right to the ingredients list, and after having seen three different recipes and how they do things I feel “inspired” and just end up improvising something on my own entirely. (Incidentally, I’m not that good at baking)&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&quot;footnote-definition&quot; id=&quot;2&quot;&gt;&lt;sup class=&quot;footnote-definition-label&quot;&gt;2&lt;/sup&gt;
&lt;p&gt;Skill issue&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&quot;footnote-definition&quot; id=&quot;3&quot;&gt;&lt;sup class=&quot;footnote-definition-label&quot;&gt;3&lt;/sup&gt;
&lt;p&gt;I imagine that going through a speed-inflation back to normal size must be &lt;em&gt;fun&lt;/em&gt; :D&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&quot;footnote-definition&quot; id=&quot;4&quot;&gt;&lt;sup class=&quot;footnote-definition-label&quot;&gt;4&lt;/sup&gt;
&lt;p&gt;I sure hope you can, &lt;em&gt;right&lt;/em&gt;? Don’t expect to get out of jail free in under twenty minutes unless you’re playing with a sub whose brain has already been deep-fried and thoroughly washed.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&quot;footnote-definition&quot; id=&quot;5&quot;&gt;&lt;sup class=&quot;footnote-definition-label&quot;&gt;5&lt;/sup&gt;
&lt;p&gt;Chances are that you, the average reader, are a much more horny person than me anyways&lt;/p&gt;
&lt;/div&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>A week in Matrix</title>
        <published>2026-07-31T00:00:00+00:00</published>
        <updated>2026-07-31T00:00:00+00:00</updated>
        
        <author>
          <name>piegames</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://piegames.de/dumps/a-week-in-matrix/"/>
        <id>https://piegames.de/dumps/a-week-in-matrix/</id>
        
        <content type="html" xml:base="https://piegames.de/dumps/a-week-in-matrix/">&lt;h2 id=&quot;a-monday-in-matrix&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#a-monday-in-matrix&quot; aria-label=&quot;Anchor link for: a-monday-in-matrix&quot;&gt;A Monday in Matrix&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;A user accidentally writes in the room of a Matrix space, resulting in every member of that space getting a notification.
Matrix spaces are just regular rooms, and the fallback for old clients which don’t support spaces is to render them as completely regular chat rooms.
On the other side, new clients that do support spaces have very confusing UI when people start chatting in them, because that’s not supposed to happen.
(Yet, most clients don’t adjust the room permissions in spaces to disallow people to chat in there. That would be too easy.)&lt;/p&gt;
&lt;p&gt;I figure out how to get Element Web to display the space as a regular room in order to inspect it (it’s in the devtools), give myself admin permissions and adjust the room’s permissions to disallow chatting in the space room.&lt;/p&gt;
&lt;h2 id=&quot;a-tuesday-in-matrix&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#a-tuesday-in-matrix&quot; aria-label=&quot;Anchor link for: a-tuesday-in-matrix&quot;&gt;A Tuesday in Matrix&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;A user reports a spurious ban on the forum, saying they got banned from our Matrix space and have no idea why.
A quick Draupnir query for the user handle shows nothing of interest.
After some tring around, I query Draupnir for the domain of the user handle instead.
Indeed, it finds one entry:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;!foQLZposNt3iEpkl5O:example.org&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;m.policy.rule.server (&lt;code&gt;m.ban&lt;/code&gt;): … (spam)&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;p&gt;Apparently, someone on a moderation list our space is subscribed to banned the user’s domain (it looks like it might be a single-user personal instance).
I am not in the room &lt;code&gt;!foQLZposNt3iEpkl5O:example.org&lt;/code&gt;, which I assume is the policy room from which the ban is coming, and Matrix annoyingly won’t tell me its title.
But it seems to be public, so I try to join it to find out.
My homeserver chokes a little while trying to join me, &lt;code&gt;WARN conduwuit_api::client::sync::v3::joined: timeline for newly joined room is empty&lt;/code&gt;, but it then asks another server to backfill the timeline, and then I only have to “clear cache and reload” my client (which will incidentally also mark all my chats as unread, which I’ll have to manually clear again afterwards) and I’m in.&lt;/p&gt;
&lt;p&gt;The room is one of those community-pooled policy rooms, full of messages of type &lt;code&gt;m.policy.rule.user&lt;/code&gt; originating from both mods and moderation bots, which ban people and servers with sometimes very explicit usernames.
I search for the domain of the affected user, but Element will only search through messages of type &lt;code&gt;m.messages&lt;/code&gt; and thus the search comes in blank.
The usual workaround for when the search doesn’t work is to export the chat as HTML, then grep through it in the hope that the relevant message is in the exported range.
Luckily, the room export indeed includes all message types, and grepping for the domain gives me seven hits.&lt;/p&gt;
&lt;p&gt;It turns out, the homeserver of the affected user accidentally had had open registrations at some point in the past, with the expected consequences.
Mystery solved.
Getting this info took me roughly 40 minutes. It should have been two at most.&lt;/p&gt;
&lt;p&gt;Postscriptum: Two weeks later, I get contacted by that user again, they still struggle with being banned.
All I can see is that their domain is still on the ban list.
I can’t find an easy way of making local overrides to the ban list, so there is little we can do but to unsubscribe from the entire ban list, which would potentially expose the entire community to spam and abuse.&lt;/p&gt;
&lt;h2 id=&quot;a-wednesday-in-matrix&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#a-wednesday-in-matrix&quot; aria-label=&quot;Anchor link for: a-wednesday-in-matrix&quot;&gt;A Wednesday in Matrix&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;While onboarding a new person to our Matrix space, they don’t seem to be able to see one of the rooms, despite being “suggested” for that space.
After them manually joining that room, it does show up in the space’s room list.
The issue can be reproduced from various accounts on different homeservers.&lt;/p&gt;
&lt;p&gt;Removing and adding the room to the space again does not seem to help.
Even tombstoning and recreating the room does not seem to be a solution.
However, if one of the space admins joins the room, it suddenly shows up in the space’s room list again.
When they leave again, the room disappears anew.&lt;/p&gt;
&lt;p&gt;We accept the obvious workaround and move on.&lt;/p&gt;
&lt;h2 id=&quot;a-thursday-in-matrix&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#a-thursday-in-matrix&quot; aria-label=&quot;Anchor link for: a-thursday-in-matrix&quot;&gt;A Thursday in Matrix&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;After some routine server maintenance, Draupnir stops responding to admin commands.
According to the server logs, Draupnir seems to be processing the commands just fine.
Some long debugging sessions reveal that this is an outbound federation problem with the Draupnir’s homeserver (it is the only account on there).
More debugging reveals that this is an issue with the &lt;a rel=&quot;external&quot; href=&quot;https://github.com/element-hq/dendrite/issues/3676&quot;&gt;Dendrite default configuration&lt;/a&gt; which drops all egress IPv6 traffic for no good reason.&lt;/p&gt;
&lt;p&gt;Noticing and debugging the issue took over a month in total, during which the community space was without protection from a moderation bot.
I am very glad that we were not hit by a porn&amp;amp;gore spam wave during that time.&lt;/p&gt;
&lt;p&gt;Dendrite is kind of deprecated as a homeserver these days, at least it doesn’t seem to be the main focus of development and most recent commits are mere dependency bumps.
Years ago, when the server was set up, choosing Dendrite seemed like a good decision, because it was easier to deploy and maintain than Synapse and there was a promise for a bright future for the first 2nd generation homeserver implementation.
Unfortunately, migrating between Matrix homeserver implementations remains a problem with no satisfying solution, so we’re kind of stuck on slowly rotting foundations.&lt;/p&gt;
&lt;h2 id=&quot;a-friday-in-matrix&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#a-friday-in-matrix&quot; aria-label=&quot;Anchor link for: a-friday-in-matrix&quot;&gt;A Friday in Matrix&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;A user accidentally writes in the room of a Matrix space, resulting in every member of that space getting a notification.
Again.
In the same room as last time, despite me setting the permissions a couple of months ago.
I go check, and the permissions have somehow reset themselves.
Some testing confirms that the room seems to have desynced, because when I re-apply the permissions change they don’t show up for people on other home servers, allowing them to continue chatting in the space room.
The workaround is to have someone else on a different homeserver apply the changes and hope that it propagates to sufficiently many other homeservers on the other side of the desync.&lt;/p&gt;
&lt;p&gt;A split brained Matrix room like this means that some users might be allowed to chat in that room, and those messages would propagate to other homeservers who haven’t received the permissions change.
However, homeservers who do would soft-fail those messages, rendering the chat invisible to the other side of the split.&lt;/p&gt;
&lt;p&gt;The room is overdue for a room version upgrade anyways, so we end up not investigating this any further for the time being.&lt;/p&gt;
&lt;h2 id=&quot;a-saturday-in-matrix&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#a-saturday-in-matrix&quot; aria-label=&quot;Anchor link for: a-saturday-in-matrix&quot;&gt;A Saturday in Matrix&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;My homeserver had degraded federation for a couple of days.
The root cause isn’t super important, but it was something with DNS (of course) causing server resolution to fail and resulting in the server connecting to its peers on wrong default ports, leading to directional communication breakdown.
The issue once identified was quickly fixed, but unfortunately the homeserver did not properly resume operation afterwards:
Unfortunately, something desynced along the way, and the server ended up thinking of one account not being in a certain room.
Fortunately this was just a bot account, so kicking it from the room and re-inviting it resolved the issue.
But still, I wonder: How many others users am I accidentally ghosting because my homeserver just “forgot” about them?&lt;/p&gt;
&lt;h2 id=&quot;a-sunday-in-matrix&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#a-sunday-in-matrix&quot; aria-label=&quot;Anchor link for: a-sunday-in-matrix&quot;&gt;A Sunday in Matrix&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;The Matrix Foundation’s Mastodon account once again boosts some toot from a person reporting a very happy experience using Matrix.
The user looks like they’ve never joind a group chat larger than a handful of people, mostly use 1:1 DMs and don’t know what spaces are.
If they self-host, they likely are running a Synapse server with some Element client, but most likely they’re just happily chugging along in the &lt;code&gt;matrix.org&lt;/code&gt; silo.&lt;/p&gt;
&lt;p&gt;I’d like to be happy for them, but I can’t help not feeling somewhat gaslit by the stark contrast between the happy stories boosted into my timeline and my personal reality of helping run an actual community in this ecosystem.
On a certain level this makes sense: How good a tool is heavily depends on the purpose you use it for, and Matrix undeniably does have its strengths.
And the usage patterns for Matrix I find myself in clearly aren’t getting as much love and dedication as others.
Some are a matter of use case: Focusing on the needs of WhatsApp and Signal users first arguably makes sense.
Others are a matter of principle: When the experience suffers from ecosystem software diversity due to interoperability issues, then something fundamental about the project’s values is lost.
Saying “Matrix is great but only if you use the flagship client on a flagship server made by the flagship company” doesn’t have the same ring to it.&lt;/p&gt;
&lt;p&gt;Some kind of clash between ideals and financial reality is inevitable to any project with ambition, but expectation management is key here.
Because as of right now, the clash between PR touting “we are a serious Discord alternative” on social media all the while the development reality being “spaces are low priority, because they’re a feature for more ‘advanced’ users” is jarring.
Maybe I’d be feeling less bitter about all of this if not for all the broken promises over all these years.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;&lt;strong&gt;Update, 2026-08-03:&lt;/strong&gt; Oh well, looks like I got linked on Hacker News and Lobsters.
I won’t read everything and I certainly won’t reply to everything, but some things have been mentioned frequently enough that they seem worth addressing.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;I don’t run Dendrite!&lt;/strong&gt; My personal homeserver runs continuwuity (migrated from conduwuit (migrated from conduit)). But when doing community work, I have to deal with whatever homeserver was set up for it, and that encompasses the full range of implementations, including Synapse and Dendrite.&lt;/li&gt;
&lt;li&gt;For additional context: I’m am &lt;em&gt;not&lt;/em&gt; a good sysadmin, and I know that. I self-host my services out of necessity, not because I find it fun. Many of the Matrix servers I help maintain are not hosted by myself, but have dedicated admins. It is important to remember that any technical proficiency required is a further barrier of entry to the ecosystem.&lt;/li&gt;
&lt;li&gt;Thank you to all the Matrix devs who reached out with help or explanations! It does mean a lot to me, however please do not get hung up too much on the individual issues presented here. What I’m trying to point at is the bigger picture of the general experience, and the systemic issues causing them.&lt;/li&gt;
&lt;/ul&gt;
&lt;!--
More stories that didn’t make it:
- Synapse invites are broken
- Server migration is harder than changing names
- Servers accidentally add users back to rooms
- People almost getting killed
--&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Tonnelle</title>
        <published>2026-07-08T00:00:00+00:00</published>
        <updated>2026-07-08T00:00:00+00:00</updated>
        
        <author>
          <name>piegames</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://piegames.de/art/2026-tonnelle/"/>
        <id>https://piegames.de/art/2026-tonnelle/</id>
        
        <content type="html" xml:base="https://piegames.de/art/2026-tonnelle/">&lt;p&gt;Dessin inspiré par mes balades en vacances dans le &lt;a rel=&quot;external&quot; href=&quot;https://fr.wikipedia.org/wiki/Bocage&quot;&gt;bocage normand&lt;/a&gt;.&lt;/p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Beyond consent</title>
        <published>2025-12-23T00:00:00+00:00</published>
        <updated>2025-12-23T00:00:00+00:00</updated>
        
        <author>
          <name>piegames</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://piegames.de/dumps/beyond-consent/"/>
        <id>https://piegames.de/dumps/beyond-consent/</id>
        
        <content type="html" xml:base="https://piegames.de/dumps/beyond-consent/">&lt;p&gt;&lt;strong&gt;Content Note: Explicit mention of various hard kinks and discussion of non-consensual activities, including rape&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://piegames.de/dumps/beyond-consent/./crying-is-not-an-emergency.jpg&quot; alt=&quot;Photo of a rollercoaster with a big sign: “THIS RIDE ONLY STOPS IN AN EMERGENCY. CRYING IS NOT AN EMERGENCY”&quot; title=&quot;Roller coasters are an example of meta-consensual situations outside of kink: When entering the ride, you consent that it won’t stop for you regardless of how you feel about it.&quot; /&gt;&lt;/p&gt;
&lt;!-- TOC --&gt;
&lt;h2 id=&quot;the-basics-fries&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#the-basics-fries&quot; aria-label=&quot;Anchor link for: the-basics-fries&quot;&gt;The basics: FRIES&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Let’s first look at some simple and straightforward consent models.
Most people have probably heard of “no means no”, or, preferable in most cases, “yes means yes”.
But those quickly fail to capture the complex depth of what it means to consent to something.&lt;/p&gt;
&lt;p&gt;A more thorough tool to ensure proper consent is called &lt;em&gt;FRIES&lt;/em&gt;.
It’s an acronym: &lt;strong&gt;F&lt;/strong&gt;ree, &lt;strong&gt;R&lt;/strong&gt;evocable, &lt;strong&gt;I&lt;/strong&gt;nformed, &lt;strong&gt;E&lt;/strong&gt;nthusiastic, &lt;strong&gt;S&lt;/strong&gt;pecific.
Even if you haven’t heard of FRIES before, its definition should hopefully be intuitively clear and easily be mapped onto common practice.
If all of this is complete news to you, I’d suggest sticking to this for now.&lt;/p&gt;
&lt;p&gt;&lt;a rel=&quot;external&quot; href=&quot;https://text.lilahexe.top/fries&quot;&gt;More on FRIES in this excellent writeup by LilaHexe&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&quot;cnc-consensual-non-consent&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#cnc-consensual-non-consent&quot; aria-label=&quot;Anchor link for: cnc-consensual-non-consent&quot;&gt;CNC: Consensual non-consent&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;CNC is an umbrella term for various practices in which consent is still present, but not always as clear cut as in the above.
However beware, people may sometimes say CNC to refer to a specific practice, and moreover they may be having wildly different and incompatible definitions about it.
In order to explain these differences, understanding the concept of safewords is essential.&lt;/p&gt;
&lt;p&gt;At its most basic, as safeword is a word or phrase which when spoken will pause or end a scene.
Common safewords include Pause/Stop, Green/Yellow/Red (Red means Stop, Green and Yellow can mean different things so always make sure to clarify which one is what), and Mayday (commonly used by kink events to call for external help).
Safewords can also be uncommon words with no associated meaning, like “Penguin”.
Having nonverbal safewords is strongly recommended, for example snapping fingers or “tapping out”.&lt;/p&gt;
&lt;p&gt;For some people, CNC means the following:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;CNC is play that &lt;strong&gt;requires the usage of safewords&lt;/strong&gt;. In CNC, “no” does not necessarily mean “no” anymore, it can be ignored, but a safeword cannot. This contrasts CNC to fully consensual play where no dedicated safewords are necessary, because every word can keep its usual literal meaning. Examples include scenes that involve begging for mercy or rape play. Fundamentally, CNC is about role-playing non-consensual scenes.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;However for other people, CNC means this:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;CNC is play with &lt;strong&gt;limited or no safeword options&lt;/strong&gt;. Consent is mainly or fully pre-negotiated, which contrasts to fully consensual play where consent is always revocable at any point in time. Examples include “five more hits after the safeword” or hard kinks like torture. Fundamentally, CNC is consensually pre-committing to the enactment of possibly non-consensual elements within a scene.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;See the difference?
See the &lt;em&gt;big, glaring issue&lt;/em&gt; that may arise when people miscommunicate what they specifically mean?&lt;/p&gt;
&lt;p&gt;People who use the second definition argue that the first definition is not CNC, it’s just common role play.
People who use the first definition argue that the second one is not sufficiently consensual and should not be enacted or endorsed.&lt;sup class=&quot;footnote-reference&quot;&gt;&lt;a href=&quot;#1&quot;&gt;1&lt;/a&gt;&lt;/sup&gt;
Some people argue that both definitions fit onto the spectrum of “CNC” as an umbrella term.
In my experience, when prompted of a definition, people will say the first definition, but when they talk about actual “CNC” activities then often times those will include some aspects of the second definition instead.&lt;/p&gt;
&lt;p&gt;I argue that at this point, the term “CNC” is semantically burnt and should be avoided in favor of more specific communication.
“Meta-consent” is already on the rise as the new umbrella term for &lt;em&gt;all&lt;/em&gt; kinds of play where consent is not as straightforward as with FRIES.
Additionally, I propose the term “Pseudo non-consent (PNC)” to talk about consensual roleplay of non-consent (our first definition here).&lt;/p&gt;
&lt;h2 id=&quot;meta-consent&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#meta-consent&quot; aria-label=&quot;Anchor link for: meta-consent&quot;&gt;Meta-consent&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Meta-consent is the preferrable umbrella term for all the kinds of activities where consent is still present, but not always clear cut.
The term emphasizes that that at any time, there still is &lt;em&gt;some&lt;/em&gt; form of consent on &lt;em&gt;some&lt;/em&gt; level,
and it avoids the semantic ambiguities of “CNC” (as well as the emotional baggage, as CNC is quite stigma affected).&lt;/p&gt;
&lt;p&gt;I like to categorize meta-consent by the aspects of FRIES that are missing in the negotiation.
We’ve already talked in detail about &lt;em&gt;revocability&lt;/em&gt; of consent during the scene as part (or not) of CNC, and that is the most common form of meta-consent given.
If instead, the consent is unspecific and/or uninformed, this leads to &lt;em&gt;blanket consent&lt;/em&gt; instead (see below).
Consent may be given “unfreely”, for example under the influence of drugs or manipulation.&lt;/p&gt;
&lt;p&gt;All of these can be necessary for certain kinds of play, but should not be goals on their own.
For example you should never accept the consent of someone on drugs, unless that aspect specifically is an &lt;em&gt;integral&lt;/em&gt; part of a scene, &lt;em&gt;and&lt;/em&gt; the other person (meta-)consented to this happening in advance.&lt;/p&gt;
&lt;h2 id=&quot;pnc-pseudo-non-consent&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#pnc-pseudo-non-consent&quot; aria-label=&quot;Anchor link for: pnc-pseudo-non-consent&quot;&gt;PNC: Pseudo non-consent&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;I’m coining this term to give the first definition of CNC a dedicated name:
Pseudo non-consent defines all kinds of play that desires to mimic non-consensual situations.
This typically requires dedicated safewords to allow interrupting the play where necessary.
The name emphasizes that this is about &lt;em&gt;pretense&lt;/em&gt; of non-consent.
Elements of the play may require meta-consent, but this needs additional communication.&lt;/p&gt;
&lt;h2 id=&quot;blanket-consent&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#blanket-consent&quot; aria-label=&quot;Anchor link for: blanket-consent&quot;&gt;Blanket consent&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Blanket consent is the meta-consent given in advance for broad, unspecified kinds of play or under partial lack of information.
This can be as ordinary as the consent to bite each other at any time (to the point that some people forget this does require consent!&lt;sup class=&quot;footnote-reference&quot;&gt;&lt;a href=&quot;#2&quot;&gt;2&lt;/a&gt;&lt;/sup&gt;) or as exciting as agreeing to a surprise scene.&lt;/p&gt;
&lt;p&gt;In most situations, consent is not a commodity: It is not something you “obtain” and then “keep” and “use”; instead it is a property of any given situation and has no value in any similar future situation.
Blanket consent as a concept is important precisely because it is the exception from this rule.&lt;/p&gt;
&lt;h3 id=&quot;treat-success-as-consent&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#treat-success-as-consent&quot; aria-label=&quot;Anchor link for: treat-success-as-consent&quot;&gt;“Treat success as consent”&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;This specific form of blanket consent is worth explicitly mentioning, because most consent models fall short for various “mental” kinks like corruption, training, manipulation, hypnosis, personality erasure etc.
In these kinks, the dom may initiate some action with the goal to (semi-)permanently alter the sub’s mind in a certain way.
Given that these processes typically happen on a deep, unconscious level and may affect the sub’s desires, it quickly becomes impossible to properly ensure that any consent was given fully freely.
(Of course, these questions of “free will” and desire in the presence of e.g. trauma are always of relevance for kink, but nowhere are they as prominent and unavoidable as here.)&lt;/p&gt;
&lt;p&gt;“Treat success as consent” sidesteps these issues by transforming the question of consent into a meta-level tug-of-war game:
“You may try to clicker train me in whatever way you want, but treat success as consent.”
If it succeeds, we assume that the sub consented to the mind alteration.
If it fails, this could either be because of a lack of skill in the dom’s execution, or because of a lack of consent.
The ambiguity here is unavoidable: When playing on such a deep, raw level of the mind, consent (or the lack thereof) may be decided on an unconscious level.
Importantly, in that “failure” scenario nobody is to blame.
The dom may thus try again with more skill or a different approach (unless the consent is revoked in the meantime).&lt;/p&gt;
&lt;p&gt;It is important to understand that this approach inherently assumes that the subconscious tends to be more averse to change which is not desired.
In reality, this is of course not as clear-cut, and some people may be more suggestible of being manipulated into things they don’t actually want than others.
Be aware of these risks before getting involved into play with such profound consequences.&lt;/p&gt;
&lt;h2 id=&quot;closing-words&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#closing-words&quot; aria-label=&quot;Anchor link for: closing-words&quot;&gt;Closing words&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;When planning a scene or initiating a dynamic or a scene, it is important to always look for ways to have the fullest consent possible.
Every meta layer carries the risk for things to go wrong, and should be avoided if possible.
Always ask questions like: Do I &lt;em&gt;really&lt;/em&gt; need uninformed consent? Or is there a way to fulfill that kink with full information?
A lot of the time, kinky activities can be made a lot safer with only minor adjustments that don’t impact the experience, and that’s what we always should be striving for.&lt;/p&gt;
&lt;h2 id=&quot;further-reading&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#further-reading&quot; aria-label=&quot;Anchor link for: further-reading&quot;&gt;Further reading&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a rel=&quot;external&quot; href=&quot;https://text.lilahexe.top/fries&quot;&gt;FRIES&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a rel=&quot;external&quot; href=&quot;https://everydayfeminism.com/2016/07/metaphor-for-consent/&quot;&gt;This Metaphor for Consent Might Be Just the Thing You Need to Make It Click&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a rel=&quot;external&quot; href=&quot;https://anatomiestudio.com/2022/11/23/introducing-the-wheel-of-consent/&quot;&gt;Introducing The Wheel of Consent&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a rel=&quot;external&quot; href=&quot;https://serviceslavesecrets.com/2022/12/08/what-makes-irrevocable-consent-okay/&quot;&gt;What Makes Irrevocable Consent Okay?&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;p&gt;&lt;strong&gt;Footnotes:&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&quot;footnote-definition&quot; id=&quot;1&quot;&gt;&lt;sup class=&quot;footnote-definition-label&quot;&gt;1&lt;/sup&gt;
&lt;p&gt;It is easy to point at some foreign kink and say “this is too unsafe, this shouldn’t exist”.
But especially for those high-risk activities, it is important to provide people with alternative safety and consent tools for practicing harm reduction.
I’m here to help, not to judge.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&quot;footnote-definition&quot; id=&quot;2&quot;&gt;&lt;sup class=&quot;footnote-definition-label&quot;&gt;2&lt;/sup&gt;
&lt;p&gt;There is something to be said here about non-verbal or even implicit expressions of consent, but that is a topic for another time.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;&lt;em&gt;Thank you to Nia and leela for helping me shape this text into its current form. Thanks to LilaHexe for writing about FRIES this well so that I did’t have to, and thanks to Orange for being a (sadly rare) role model on healthy hard kink.&lt;/em&gt;&lt;/p&gt;
&lt;!--
NOTES:
https://thicc.horse/@orange/114044382902226264
https://flausch.social/@piegames/111619857207733481
https://flausch.social/@piegames/114046454152045163
https://flausch.social/@piegames/114853067921986975
--&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Relationship PVP</title>
        <published>2025-10-16T00:00:00+00:00</published>
        <updated>2025-10-16T00:00:00+00:00</updated>
        
        <author>
          <name>piegames</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://piegames.de/dumps/relationship-pvp/"/>
        <id>https://piegames.de/dumps/relationship-pvp/</id>
        
        <content type="html" xml:base="https://piegames.de/dumps/relationship-pvp/">&lt;p&gt;Most people treat their relationships like a co-op game.
However, that is only one way—and admittedly a fairly boring one at that—to approach that topic.
For those who crave more intense emotions, the game of relationship also offers a host of more competitive modes.&lt;/p&gt;
&lt;p&gt;This is a tutorial for how to win at any adversarial relationship, against partners and metas alike.
Fun for the entire polycule!&lt;/p&gt;
&lt;!-- TOC --&gt;
&lt;h2 id=&quot;the-core-game-loop-martyrship-and-victimization-olympics&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#the-core-game-loop-martyrship-and-victimization-olympics&quot; aria-label=&quot;Anchor link for: the-core-game-loop-martyrship-and-victimization-olympics&quot;&gt;The core game loop: Martyrship and victimization olympics&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;You are &lt;em&gt;good&lt;/em&gt;, actually, and your partner is &lt;em&gt;flawed&lt;/em&gt;.
Your love for this seemingly-unlovable person and how much you are self-sacrificing just to be with them is proof of your true love.
Unlike in co-op mode, where the goal is to get everyone’s needs met as best as possible, in PVP mode the goal is to be as loud as possible about not having your needs met.
Optics is key here: Everyone needs to know about your suffering, and how good you actually are, and about all the mistakes your partners are all making.&lt;/p&gt;
&lt;p&gt;It is of utmost importance to use any opportunity where you have been wronged.
&lt;em&gt;Demand&lt;/em&gt; apologies.
If multiple people were wronged, make it very clear how you have been hurt the most.&lt;/p&gt;
&lt;p&gt;Remember: Every time you succumb to a partner’s need, remind them of the sacrifice you are doing &lt;em&gt;for them&lt;/em&gt;.
They got what they wanted, and they should feel bad about having needs and inconveniencing you with them.
If this happens repeatedly, congrats, you may then play the &lt;em&gt;people pleaser&lt;/em&gt; card.
You are now a proud victim of abuse :)&lt;/p&gt;
&lt;h2 id=&quot;how-to-win-at-emotions&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#how-to-win-at-emotions&quot; aria-label=&quot;Anchor link for: how-to-win-at-emotions&quot;&gt;How to win at emotions&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;The primary goal here is to minimize your own discomfort caused by negative emotions.
Emotions are kinda fuzzy, but facts can be &lt;em&gt;true&lt;/em&gt; or &lt;em&gt;false&lt;/em&gt;, and thus all emotions always need to be grounded in facts so that they may be objectively argued about.
When telling others your own emotions, make sure to always justify why you are right to feel this way.
When others are causing you discomfort with their negative emotions, tell them they are wrong for doing that.
Use &lt;em&gt;facts&lt;/em&gt; to argue with them why their emotional response to the situation is inappropriate or overblown or wrong.
Why are they making such a big fuss over nothing in the first place; some people simply are way too emotional.&lt;/p&gt;
&lt;h2 id=&quot;indirect-communication-tactics&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#indirect-communication-tactics&quot; aria-label=&quot;Anchor link for: indirect-communication-tactics&quot;&gt;Indirect communication tactics&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Direct communication with your partners makes you vulnerable to their counter-arguments.
Therefore, the safest play is to talk &lt;em&gt;about&lt;/em&gt; them instead of &lt;em&gt;with&lt;/em&gt; them.
An easy win for example is to whine about all your partners’ flaws and wrongdoings at length with other people.
A more nuanced strategy is to take the game out on social media, with snarky sub-posts and nonmentions.
Other people’s failings make for great shitposts, but make sure to be ahead of the current discourse or someone else will one-up you before you can one-up them.
When others do the same, complain about all the petty drama they’re causing.&lt;/p&gt;
&lt;h2 id=&quot;the-art-of-weaponized-non-apology&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#the-art-of-weaponized-non-apology&quot; aria-label=&quot;Anchor link for: the-art-of-weaponized-non-apology&quot;&gt;The art of weaponized non-apology&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Sometimes, you may make a mistake.
This is problematic because your partner will immediately counter by being hurt and making you look like a bad person.
Fortunately, there is a way to parry: You simply need to apologize.
Now, the mistake is undone and you are a good person again.
Therefore, if your partner remains upset even after your apology, they are clearly the problem here and you are in your full right to be angry at them about that.&lt;/p&gt;
&lt;p&gt;This works both with genuine apologies as well as with non-apologies.
However beware that genuine apologies make you more vulnerable: Your &lt;del&gt;enemy&lt;/del&gt; partner may choose to accept the apology, which will void your parry and lead to a draw.&lt;/p&gt;
&lt;p&gt;In the end, always remember: Apologies are always about who is &lt;em&gt;right&lt;/em&gt; and who is &lt;em&gt;wrong&lt;/em&gt;.
A genuine apology is akin to admitting defeat, but a good weaponized non-apology can turn the cards in your favor again.
Master this skill and you will be above fault.&lt;/p&gt;
&lt;h2 id=&quot;how-to-exit-pvp-mode-again&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#how-to-exit-pvp-mode-again&quot; aria-label=&quot;Anchor link for: how-to-exit-pvp-mode-again&quot;&gt;How to exit PVP mode again&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;PVP mode can be exited by switching over to a co-op game, or by leaving multiplayer altogether.
A crucial observation is that co-op mode can only be entered, well, cooperatively.
Trying to cooperate with people who are interested in winning alone is a strategy for self-destruction (Yes this also is a metaphor about our democracies).&lt;/p&gt;
&lt;p&gt;Unfortunately, there is a complicating factor to leaving PVP mode: Because many highly ranked competitive teams have been carefully selected over years for the purpose of fighting each other, there is no guarantee that their members may be suited and compatible for cooperative play.
In such cases, the best strategy is to disband and exit the current relationship game in order to join a different team later on.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;P.S.: I know that &lt;em&gt;someone&lt;/em&gt; will end up reading all of this and try to weaponize it against others à la “you’re playing in PVP mode and I don’t so you’re bad and I’m good”, and &lt;em&gt;fuck you&lt;/em&gt; in advance for that. You’ve already lost, &lt;em&gt;game over&lt;/em&gt;.&lt;/p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Globally applying overlays onto Nixpkgs</title>
        <published>2025-04-28T00:00:00+00:00</published>
        <updated>2025-04-28T00:00:00+00:00</updated>
        
        <author>
          <name>piegames</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://piegames.de/dumps/nixpkgs-global-overlays/"/>
        <id>https://piegames.de/dumps/nixpkgs-global-overlays/</id>
        
        <content type="html" xml:base="https://piegames.de/dumps/nixpkgs-global-overlays/">&lt;p&gt;These days, it is fashionable to have the Nixpkgs for your NixOS system managed alongside its configuration, pinned by some tool of choice.
In &lt;a href=&quot;https://piegames.de/dumps/pinning-nixos-with-npins-revisited/&quot;&gt;Pinning NixOS with npins, this time without flakes for real&lt;/a&gt;, I’ve talked about how I want the same Nixpkgs to be used for both my system configuration as well as all my ad-hoc &lt;code&gt;nix-shell&lt;/code&gt;s.
However, there is a key distinction between any &lt;code&gt;import &amp;lt;nixpkgs&amp;gt; {}&lt;/code&gt; used in the wild and the &lt;code&gt;pkgs&lt;/code&gt; provided within the NixOS module system: Only the latter has its overlays applied.&lt;/p&gt;
&lt;p&gt;I’m a heavy user of overlays, and this discrepancy has bitten me more than once. For example, if I pin a certain version of a tool used for a service, and then do &lt;code&gt;nix-shell -p that-tool&lt;/code&gt; to do some maintenance on the service, I suddenly have a version mismatch.&lt;/p&gt;
&lt;p&gt;The reason for this dilemma is that &lt;code&gt;NIX_PATH&lt;/code&gt; contains, well, a &lt;em&gt;path&lt;/em&gt;, and that overlays are &lt;em&gt;configuration&lt;/em&gt; for a Nixpkgs &lt;em&gt;instance&lt;/em&gt;: &lt;code&gt;import &amp;lt;nixpkgs&amp;gt; { overlays = …; }&lt;/code&gt;.
Evaluating &lt;code&gt;pkgs.path&lt;/code&gt; will yield the original path from &lt;code&gt;&amp;lt;nixpkgs&amp;gt;&lt;/code&gt;, with any applied configuration erased.&lt;/p&gt;
&lt;!-- TOC --&gt;
&lt;h2 id=&quot;spray-n-pray-using-global-overlays&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#spray-n-pray-using-global-overlays&quot; aria-label=&quot;Anchor link for: spray-n-pray-using-global-overlays&quot;&gt;Spray’n’pray: Using global overlays&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Nixpkgs has a slightly niche feature:
It can automatically load overlays impurely from the environment at instantiation time.
This is implemented in &lt;code&gt;&amp;lt;nixpkgs&amp;gt;/pkgs/top-level/impure.nix&lt;/code&gt;:&lt;/p&gt;
&lt;pre class=&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang=&quot;nix&quot; data-name=&quot;pkgs/top-level/impure.nix&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span aria-hidden=&quot;true&quot; class=&quot;giallo-ln&quot;&gt;39&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  overlays&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; ?&lt;/span&gt;&lt;span class=&quot;z-l-16 z-d-11&quot;&gt; let&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span aria-hidden=&quot;true&quot; class=&quot;giallo-ln&quot;&gt;40&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;      isDir&lt;/span&gt;&lt;span class=&quot;z-l-16 z-d-11&quot;&gt; =&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; path&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt; builtins&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;pathExists&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; (&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;path&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; +&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; &amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;/.&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;z-l-16 z-d-11&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span aria-hidden=&quot;true&quot; class=&quot;giallo-ln&quot;&gt;41&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;      pathOverlays&lt;/span&gt;&lt;span class=&quot;z-l-16 z-d-11&quot;&gt; =&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; try&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; (&lt;/span&gt;&lt;span&gt;toString&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt; &amp;lt;nixpkgs-overlays&amp;gt;&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; &amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-16 z-d-11&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span aria-hidden=&quot;true&quot; class=&quot;giallo-ln&quot;&gt;42&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;      homeOverlaysFile&lt;/span&gt;&lt;span class=&quot;z-l-16 z-d-11&quot;&gt; =&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; homeDir&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; +&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; &amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;/.config/nixpkgs/overlays.nix&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-16 z-d-11&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span aria-hidden=&quot;true&quot; class=&quot;giallo-ln&quot;&gt;43&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;      homeOverlaysDir&lt;/span&gt;&lt;span class=&quot;z-l-16 z-d-11&quot;&gt; =&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; homeDir&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; +&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; &amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;/.config/nixpkgs/overlays&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-16 z-d-11&quot;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;as we can see here, it will source and automatically apply overlays from the following locations:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;lt;nixpkgs-overlays&amp;gt;&lt;/code&gt;, set by putting &lt;code&gt;nixpkgs-overlays=/path/to/my-overlay.nix&lt;/code&gt; into &lt;code&gt;NIX_PATH&lt;/code&gt;,&lt;/li&gt;
&lt;li&gt;&lt;code&gt;~/.config/nixpkgs/overlays.nix&lt;/code&gt;,&lt;/li&gt;
&lt;li&gt;and all files in &lt;code&gt;~/.config/nixpkgs/overlays/*&lt;/code&gt; (n.b.: hard-coding &lt;code&gt;~/.config&lt;/code&gt; is &lt;em&gt;not&lt;/em&gt; XDG basedir spec compliant!).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This means that if any of these provide any overlays, then any call to &lt;code&gt;import &amp;lt;nixpkgs&amp;gt; {}&lt;/code&gt; will behave as if &lt;code&gt;overlays = [ … ]&lt;/code&gt; had been passed to it.
Equipped with this, we can simply have:&lt;/p&gt;
&lt;pre class=&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang=&quot;nix&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;{&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-15 z-d-16&quot;&gt;  channel&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span class=&quot;z-l-15 z-d-16&quot;&gt;enable&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; =&lt;/span&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt; false&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-15 z-d-16&quot;&gt;  nix&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span class=&quot;z-l-15 z-d-16&quot;&gt;nixPath&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; =&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; [&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;    &amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;nixpkgs-overlays=/etc/nixos/nixpkgs-overlays&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;&amp;quot;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;  ]&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span&gt;  &lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-15 z-d-16&quot;&gt;  environment&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span class=&quot;z-l-15 z-d-16&quot;&gt;etc&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; =&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; {&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;    &amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;nixos/nixpkgs-overlays&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span class=&quot;z-l-15 z-d-16&quot;&gt;source&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; =&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; put&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; path&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; to&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; overlays&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; here&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;  }&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I decided against putting my overlay into &lt;code&gt;~/.config/nixpkgs/overlays.nix&lt;/code&gt;, because I wanted a truly global solution; I’m afraid things could break pre-login when &lt;code&gt;/home&lt;/code&gt; is still encrypted.
If Nixpkgs implemented the full XDG basedir specification, then we’d be able to simply put our overlay somewhere into &lt;code&gt;/etc/xdg&lt;/code&gt; and wouldn’t have to bother with also setting &lt;code&gt;NIX_PATH&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;With this solution, the overlay will be applied to &lt;em&gt;all&lt;/em&gt; Nixpkgs instances, not only those of our system’s Nixpkgs as found via &lt;code&gt;import &amp;lt;nixpkgs&amp;gt;&lt;/code&gt; or behind the scenes in &lt;code&gt;nix-shell -p&lt;/code&gt;.
Notably, this will also apply to any pinned dev shell à la &lt;code&gt;import sources.pkgs {}&lt;/code&gt;, no matter how old or new it is.
Impurely meddling with dev environments is a recipe for confusing error messages, and likely to fail:
Overlays are typically written to work against a specific Nixpkgs version, and trying to apply it to some very old pinned Nixpkgs pin will likely throw on a missing attribute.&lt;/p&gt;
&lt;p&gt;This can be a desired outcome, and can work with an overlay carefully designed for such an environment.
However, in many other cases it is desirable to only override Nixpkgs instances that aren’t explicitly pinned by their own tooling.&lt;/p&gt;
&lt;h2 id=&quot;a-more-selective-approach-applypatches&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#a-more-selective-approach-applypatches&quot; aria-label=&quot;Anchor link for: a-more-selective-approach-applypatches&quot;&gt;A more selective approach: &lt;code&gt;applyPatches&lt;/code&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;So, &lt;code&gt;NIX_PATH&lt;/code&gt; wants a path. Let’s give it one.
The plan is to patch our system’s Nixpkgs so that it will automatically apply a specific overlay when imported.
Other Nixpkgs instances, pinned from other sources, will be unaffected.
We can simply inject ourselves into Nixpkgs’s &lt;code&gt;default.nix&lt;/code&gt; entry point, like this:&lt;/p&gt;
&lt;pre class=&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang=&quot;diff&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;z-l-17 z-d-14&quot;&gt;  import ./pkgs/top-level/impure.nix&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;  args: (import ./pkgs/top-level/impure.nix) (args // { overlays = [ @PUT_OVERLAY_HERE@ ] ++ args.overlays or []; })&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Applying the patch is slightly involved but straightforward.
We need an unpatched Nixpkgs instance for bootstrapping, for accessing &lt;code&gt;applyPatches&lt;/code&gt; and other library functions.&lt;/p&gt;
&lt;pre class=&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang=&quot;nix&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;{&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-15 z-d-16&quot;&gt;  pkgsPath&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; =&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; pkgsBootstrap&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;applyPatches&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; {&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-15 z-d-16&quot;&gt;    src&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; =&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; sources&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;pkgs&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt; #&lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt; Nixpkgs pin here&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-15 z-d-16&quot;&gt;    patches&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; =&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; [&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;      (&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;        #&lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt; Replace `${./overlay.nix}` with the correct path in there&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;        pkgsBootstrap&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;writeText&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; &amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;overlays.patch&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; &amp;#39;&amp;#39;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;          diff --git a/default.nix b/default.nix&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;          index bdab048245e2..617d15b6bfd5 100644&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;          --- a/default.nix&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;          +++ b/default.nix&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;          @@ -27,4 +27,4 @@ if !builtins ? nixVersion || builtins.compareVersions requiredVersion builtins.n&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;          ${&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; &amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;else&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;          -  import ./pkgs/top-level/impure.nix&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;          +  args: (import ./pkgs/top-level/impure.nix) (args // { overlays = [ &lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;./overlay.nix&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt; ] ++ args.overlays or []; })&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;        &amp;#39;&amp;#39;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;      )&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;    ]&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;  }&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;Side note:&lt;/strong&gt; This is why one does not put patches inline in Nix code. All lines of code that start with a space will be fucked up by the editor any time the indentation changes, moreover the &lt;code&gt;patches&lt;/code&gt; list wants paths anyways so it requires wrapping in &lt;code&gt;writeText&lt;/code&gt;.
The &lt;code&gt;${&quot; &quot;}&lt;/code&gt; in the string is a hack to work around the editor eating that one whitespace.
Putting the patch in a file with &lt;code&gt;@SUBSTITUTIONS@&lt;/code&gt; for the overlay path is the way to go here.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;This solution still has a kink that needs to be ironed out:
As it is, the provided &lt;code&gt;overlay.nix&lt;/code&gt; would have to be self-contained, i.e. not import any other Nix code.
Often times, this is not the case:
A system configuration’s overlay may import packages from npins or locally vendored packages.
One solution is to put the entire configuration surrounding our overlay into the store (this is what flakes do), but this means that the source path changes any time &lt;em&gt;any&lt;/em&gt; bit of configuration is touched, even if it has nothing to do with the overlay.
Instead, &lt;a rel=&quot;external&quot; href=&quot;https://nixos.org/manual/nixpkgs/unstable/#sec-functions-library-fileset&quot;&gt;&lt;code&gt;pkgs.lib.fileset&lt;/code&gt;&lt;/a&gt; offers some functionality to only include the files we care about:&lt;/p&gt;
&lt;pre class=&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang=&quot;nix&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;{&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-15 z-d-16&quot;&gt;  overlaySource&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; =&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; pkgsBootstrap&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;lib&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;fileset&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;toSource&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; {&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-15 z-d-16&quot;&gt;    root&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; =&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt; ./.&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-15 z-d-16&quot;&gt;    fileset&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; =&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; pkgsBootstrap&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;lib&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;fileset&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;unions&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; [&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;      ./overlay.nix&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;      #&lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt; Add all files/folders that the overlay imports here&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;      ./npins&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;      ./pkgs&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;    ]&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;  }&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;In the patch, we then simply replace &lt;code&gt;${overlay.nix}&lt;/code&gt; with &lt;code&gt;${overlaySource}/overlay.nix&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id=&quot;conclusion&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#conclusion&quot; aria-label=&quot;Anchor link for: conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;If you have an overlay that you want to apply to &lt;em&gt;all&lt;/em&gt; Nixpkgs instances, use global overlays.
If you have an overlay that you want to &lt;em&gt;globally&lt;/em&gt; apply to a &lt;em&gt;specific&lt;/em&gt; Nixpkgs instance, apply the overlay as a patch instead.&lt;/p&gt;
&lt;p&gt;I’m honestly unsure if I’d recommend this approach to anybody else.
It works for me and solves this very specific issue I have, though I can imagine most people don’t care much about it.&lt;/p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Pinning NixOS with npins, this time without flakes for real</title>
        <published>2025-04-27T00:00:00+00:00</published>
        <updated>2025-04-27T00:00:00+00:00</updated>
        
        <author>
          <name>piegames</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://piegames.de/dumps/pinning-nixos-with-npins-revisited/"/>
        <id>https://piegames.de/dumps/pinning-nixos-with-npins-revisited/</id>
        
        <content type="html" xml:base="https://piegames.de/dumps/pinning-nixos-with-npins-revisited/">&lt;p&gt;Last year, Jade posted &lt;a rel=&quot;external&quot; href=&quot;https://jade.fyi/blog/pinning-nixos-with-npins/&quot;&gt;Pinning NixOS with npins, or how to kill channels forever without flakes&lt;/a&gt;.
In short, what we want is:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Get rid of channels (as in &lt;code&gt;nix-channel&lt;/code&gt;, and not any other overloaded meanings of that word) as a source of impurity.&lt;/li&gt;
&lt;li&gt;Have one blessed Nixpkgs pinned with &lt;code&gt;npins&lt;/code&gt; being used for the system’s configuration as well as all &lt;code&gt;&amp;lt;nixpkgs&amp;gt;&lt;/code&gt; invocations system-wide.&lt;/li&gt;
&lt;li&gt;The solution should behave like &lt;code&gt;nix-channel&lt;/code&gt;: When running &lt;code&gt;npins update&lt;/code&gt; &lt;em&gt;–and then deploying the configuration–&lt;/em&gt;, the entire system should switch over to using the updated Nixpkgs.
&lt;ul&gt;
&lt;li&gt;The currently used Nixpkgs being tied to the current configuration is the key feature here. This means that they always stay in sync, even across rollbacks—unlike &lt;code&gt;nix-channel&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;The NixOS configuration should be built with the currently pinned Nixpkgs, and &lt;em&gt;not&lt;/em&gt; the current system’s Nixpkgs. (Otherwise deployments would take two iterations to converge.)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;A naive solution might simply export &lt;code&gt;NIX_PATH=nixpkgs=${pkgs.path}&lt;/code&gt; in the system configuration.
This, however, comes with a show-stopping drawback: Due to the way environment variables propagate, any updates to it would not propagate until the next relog or reboot.
The common solution to this is, as usual in this industry, adding a layer of indirection.&lt;/p&gt;
&lt;p&gt;For that, Jade’s post cleverly uses flake infrastructure:
By writing an entry that points the &lt;code&gt;nixpkgs&lt;/code&gt; “flake” to the local store path of our nixpkgs in the Flake registry at &lt;code&gt;/etc/nix/registry.json&lt;/code&gt;, and then simply setting &lt;code&gt;NIX_PATH=nixpkgs=flake:nixpkgs&lt;/code&gt;.
This works, but it comes with downsides.
First of all, it requires the &lt;code&gt;nix-command&lt;/code&gt; and &lt;code&gt;flakes&lt;/code&gt; experimental features, and the goal of the exercise is to avoid flakes completely.
But more importantly, the flake registry suffers from some of the same issues that plagued us with &lt;code&gt;nix-channel&lt;/code&gt; in the first time (albeit they are not surfacing in this usage scenario), and therefore the flake registry is &lt;a rel=&quot;external&quot; href=&quot;https://github.com/DeterminateSystems/nix-src/issues/37&quot;&gt;on its way out&lt;/a&gt; as well.&lt;/p&gt;
&lt;p&gt;There is a much simpler solution to using the flake registry: A plain old symlink.&lt;/p&gt;
&lt;h2 id=&quot;it-s-only-five-lines&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#it-s-only-five-lines&quot; aria-label=&quot;Anchor link for: it-s-only-five-lines&quot;&gt;It’s only five lines&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;We define that &lt;code&gt;/etc/nixos/nixpkgs&lt;/code&gt; now is a symlink to our current Nixpkgs (any other path will do, but I liked this one) and simply hardcode that path in &lt;code&gt;NIX_PATH&lt;/code&gt; forever.&lt;/p&gt;
&lt;pre class=&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang=&quot;nix&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;{&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-15 z-d-16&quot;&gt;  nix&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span class=&quot;z-l-15 z-d-16&quot;&gt;channel&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span class=&quot;z-l-15 z-d-16&quot;&gt;enable&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; =&lt;/span&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt; false&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-15 z-d-16&quot;&gt;  nix&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span class=&quot;z-l-15 z-d-16&quot;&gt;nixPath&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; =&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; [&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; &amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;nixpkgs=/etc/nixos/nixpkgs&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; ]&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-15 z-d-16&quot;&gt;  environment&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span class=&quot;z-l-15 z-d-16&quot;&gt;etc&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; =&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; {&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;    &amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;nixos/nixpkgs&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span class=&quot;z-l-15 z-d-16&quot;&gt;source&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; =&lt;/span&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt; builtins&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;storePath&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; pkgs&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;path&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;  }&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Now, with this setup all ad-hoc shells should already work, however when rebuilding your system configuration after bumping the pins it would still take the current Nixpkgs from &lt;code&gt;/etc/nixos/nixpkgs&lt;/code&gt; instead of the freshly bumped one.
This means that any updates would take two rebuilds to fully propagate.
(Note: This mainly applies to &lt;code&gt;nixos-rebuild&lt;/code&gt;, YMMV when using different deployment tools. Some of them allow doing the right thing and using a pinned Nixpkgs instead of &lt;code&gt;&amp;lt;nixpkgs&amp;gt;&lt;/code&gt; out of the box.)&lt;/p&gt;
&lt;p&gt;To fix this, we must override the Nix path when rebuilding. &lt;a rel=&quot;external&quot; href=&quot;https://direnv.net/&quot;&gt;direnv&lt;/a&gt; and a Nix shell to our rescue:&lt;/p&gt;
&lt;pre class=&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang=&quot;shellscript&quot; data-name=&quot;.envrc&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-15 z-d-16&quot;&gt;use&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt; nix&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre class=&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang=&quot;nix&quot; data-name=&quot;shell.nix&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-12 z-d-17&quot;&gt;let&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-15 z-d-16&quot;&gt;  pkgs&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; =&lt;/span&gt;&lt;span&gt; import&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; (&lt;/span&gt;&lt;span&gt;import&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt; ./npins&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;nixpkgs&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; {&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; }&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-12 z-d-17&quot;&gt;in&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;pkgs&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;mkShell&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; {&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-15 z-d-16&quot;&gt;  nativeBuildInputs&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; =&lt;/span&gt;&lt;span class=&quot;z-l-12 z-d-17&quot;&gt; with&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; pkgs&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; [&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;    #&lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt; I recommend also pinning all the local deployment tools while we&amp;#39;re at it&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;    nix&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;    home-manager&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;    git&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;    npins&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;    openssh&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;    colmena&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;  ]&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-15 z-d-16&quot;&gt;  shellHook&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; =&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; &amp;#39;&amp;#39;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;    export NIX_PATH=&amp;quot;nixpkgs=&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt;builtins&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;storePath&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; pkgs&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;path&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;&amp;quot;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;  &amp;#39;&amp;#39;&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;Sneak peek:&lt;/strong&gt; If you prefer a minimalistic setup with only direnv and no &lt;code&gt;shell.nix&lt;/code&gt;, in a future release of &lt;code&gt;npins&lt;/code&gt; the following will also work:&lt;/em&gt;&lt;/p&gt;
&lt;pre class=&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang=&quot;shellscript&quot; data-name=&quot;.envrc&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-13 z-d-18&quot;&gt;export&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; NIX_PATH&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;nixpkgs=&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;z-l-15 z-d-16&quot;&gt;npins&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt; get-path&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt; nixpkgs&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;&amp;quot;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/blockquote&gt;
&lt;p&gt;Note that the shell env approach requires to always &lt;code&gt;nixos-rebuild&lt;/code&gt; from that folder, in order to have the path override activated.
This isn’t a big deal for me as it has always been part of the workflow for various reasons, but if this itches you an alternative solution is to patch &lt;code&gt;nixos-rebuild&lt;/code&gt; itself:&lt;/p&gt;
&lt;pre class=&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang=&quot;nix&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;[&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;  (&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;self&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; super&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; {&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-15 z-d-16&quot;&gt;    nixos-rebuild&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; =&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; super&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;nixos-rebuild&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;overrideAttrs&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; (&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;old&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; {&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-15 z-d-16&quot;&gt;      nativeBuildInputs&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; =&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; old&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;nativeBuildInputs&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; or&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; [&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; ++&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; [&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; self&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;makeWrapper&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; ]&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-15 z-d-16&quot;&gt;      postInstall&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; =&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; old&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;postInstall&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; or&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; &amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; +&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; &amp;#39;&amp;#39;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;        wrapProgram $out/bin/nixos-rebuild --set NIX_PATH nixpkgs=/etc/nixos/nixpkgs:nixos-config=/path/to/my/configuration.nix&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;      &amp;#39;&amp;#39;&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;    }&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;  }&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;]&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&quot;conclusion&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#conclusion&quot; aria-label=&quot;Anchor link for: conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;This approach is not free of gotchas, but neither are flakes or &lt;code&gt;nix-channel&lt;/code&gt;.
In the future, I’d like to see a replacement for &lt;code&gt;nix-channel&lt;/code&gt; that makes such a use case a first-class citizen (maybe leveraging profiles?) instead of having to put a symlink somewhere in &lt;code&gt;/etc&lt;/code&gt;.
The long-term goal is to have feature parity between flakes and third-party tools.&lt;/p&gt;
&lt;h2 id=&quot;further-reading&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#further-reading&quot; aria-label=&quot;Anchor link for: further-reading&quot;&gt;Further reading&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a rel=&quot;external&quot; href=&quot;https://jade.fyi/blog/pinning-nixos-with-npins/&quot;&gt;Pinning NixOS with npins, or how to kill channels forever without flakes&lt;/a&gt; by Jade&lt;/li&gt;
&lt;li&gt;&lt;a rel=&quot;external&quot; href=&quot;https://samuel.dionne-riel.com/blog/2024/05/07/its-not-flakes-vs-channels.html&quot;&gt;It’s not about “Flakes vs. Channels”&lt;/a&gt; by samueldr&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://piegames.de/dumps/nixpkgs-global-overlays/&quot;&gt;Globally applying overlays onto Nixpkgs&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>A soul in an aquarium</title>
        <published>2025-02-21T00:00:00+00:00</published>
        <updated>2025-02-21T00:00:00+00:00</updated>
        
        <author>
          <name>piegames</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://piegames.de/dumps/aquarium/"/>
        <id>https://piegames.de/dumps/aquarium/</id>
        
        <content type="html" xml:base="https://piegames.de/dumps/aquarium/">&lt;div class=&quot;poem&quot;&gt;
A soul in an aquarium&lt;br /&gt;
The inner world so rich&lt;br /&gt;
Is shielded from the outside&lt;br /&gt;
By blurry glass so thick&lt;br /&gt;
&lt;p&gt;A soul lost in a body&lt;br /&gt;
Who wasn’t made to fit&lt;br /&gt;
It’s yearning for a safe space&lt;br /&gt;
Some place to call a home&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;A soul on auto pilot&lt;br /&gt;
To steer while it’s away&lt;br /&gt;
“I’m human” says the pilot&lt;br /&gt;
And even thinks it’s true&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;The soul left its enclosure&lt;br /&gt;
So fragile and exposed&lt;br /&gt;
It’s looking for a soulmate&lt;br /&gt;
To share aquariums with&lt;br /&gt;&lt;/p&gt;
&lt;/div&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Two autonomous units</title>
        <published>2024-12-26T00:00:00+00:00</published>
        <updated>2024-12-26T00:00:00+00:00</updated>
        
        <author>
          <name>piegames</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://piegames.de/dumps/two-autonomous-units/"/>
        <id>https://piegames.de/dumps/two-autonomous-units/</id>
        
        <content type="html" xml:base="https://piegames.de/dumps/two-autonomous-units/">&lt;div class=&quot;poem&quot;&gt;
Two autonomous units&lt;br /&gt;
With a power supply too weak&lt;br /&gt;
One recharging in the other&lt;br /&gt;
Taking breaks in alternance&lt;br /&gt;
Independent but forever linked&lt;br /&gt;
&lt;p&gt;Two autonomous units&lt;br /&gt;
Each with some broken gears&lt;br /&gt;
Switching as to always complement the other&lt;br /&gt;
The fragmented illusion of function&lt;br /&gt;
In an eternal synchronous dance&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;One autonomous unit&lt;/p&gt;
&lt;/div&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Enablers of abuse in online communities</title>
        <published>2024-11-05T00:00:00+00:00</published>
        <updated>2024-11-05T00:00:00+00:00</updated>
        
        <author>
          <name>piegames</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://piegames.de/dumps/enablers-of-abuse/"/>
        <id>https://piegames.de/dumps/enablers-of-abuse/</id>
        
        <content type="html" xml:base="https://piegames.de/dumps/enablers-of-abuse/">&lt;p&gt;In a lot of conflicts within online communities I’ve seen, I’ve noticed a certain pattern of behaviour emerge.
To talk about this, let’s first distinguish three groups of people that can commonly be found in conflicts:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The troublemakers. The trolls, the assholes, the abusers, the bigots.&lt;/li&gt;
&lt;li&gt;The enablers. Friends of the trouble makers, people who silently hold the same beliefs (or less silently but with more eloquent words), people who feel entitled to knowing exactly what happened, or just libertarians who disagree with the entire concept of community moderation in the first place.&lt;/li&gt;
&lt;li&gt;The exhausted, fed up by the troublemakers. They’ll either silently retreat or eventually snap and explode loudly.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Community moderation and codes of conduct generally focus on the first group, which makes sense because superficially they are the people actively causing problems.
However, upon closer inspection, the second group is causing a lot more problems than the actual obvious trolls, because they are actively sabotaging any moderation efforts, and causing large collateral damages to the community as a whole.&lt;/p&gt;
&lt;h2 id=&quot;enabling-abuse&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#enabling-abuse&quot; aria-label=&quot;Anchor link for: enabling-abuse&quot;&gt;Enabling abuse&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;The stereotypical script that plays out goes as follows: After many previous incidents involving a problematic person, one incident eventually triggers a moderation action.
In response, several enablers will come to the defense of that person and loudly argue against the moderation action.
Several heated discussions inflame, dragging in other people, and sucking all air out of the community space to do the things the community actually is set out to do.&lt;/p&gt;
&lt;p&gt;Alternatively, if the moderation threshold for action was too high in that situation, it can instead happen that a person exhausted by the overall situation snaps.
This usually involves mean words and insults towards the problematic person, and sometimes mental breakdowns in public.
In that case too, the enablers will come to the defense of the problematic person, reframing this as an attack and abuse, and thus reversing abuser and victim roles.
They will complain about the person who snapped to the moderators, and complain about “unjust” or “unfair” treatment.&lt;/p&gt;
&lt;p&gt;In many cases, the actual incident triggering some moderation action is minor, yet the context for it usually involves a complex and long history of past events.
To bystanders without the full context, such action may seem disproportionate, and enablers will happily weaponize this in their opposition of the decision.
They will also ask for more and more justification, in the name of “accountability” or “transparency”.
But no justification will ever be satisfying, as the goal never was to get clarity on the situation in the first place, but to exert social pressure against undesired moderation actions.&lt;/p&gt;
&lt;p&gt;An important factor is the dynamic of social status. Most troublemakers don’t have a big standing in the community, as they tend to not be constructive and productive people overall, and social dynamics in tech communities usually are meritocratic in nature.
(Productive problematic people with high status do exist, but are comparatively rare. Read more about them at &lt;a rel=&quot;external&quot; href=&quot;https://intenseminimalism.com/2020/the-impact-of-toxic-influencers-on-communities/&quot;&gt;The Impact of Toxic Influencers on Communities&lt;/a&gt;.)
Enablers however tend to be well-known community members, and they give their voice and clout to defend abusive behavior.
This is highly problematic, because it drags conflicts which should have been a minor issue right into the heart of the community, turning them into something much more serious.&lt;/p&gt;
&lt;p&gt;If such stories repeat too often over a prolonged period of time, it can erode and reshape a community.
People fed up with bullshit will tend to (more or less silently) leave, while combative people attracted by the drama tend to join.
(The latter always exist, but in a functional community they get bored and leave unless they are actually interested in what the community is doing.)
This slowly turns the community into a political debate club, fueled by inner conflicts.&lt;/p&gt;
&lt;h2 id=&quot;abuse-happening-outside-of-community-spaces&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#abuse-happening-outside-of-community-spaces&quot; aria-label=&quot;Anchor link for: abuse-happening-outside-of-community-spaces&quot;&gt;Abuse happening outside of community spaces&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;By default, if a community member is being an asshole in a different corner of the internet, that is of little concern from a community moderation perspective—Community moderation is scoped to what happens within a community.
However, the boundaries of where the community starts and ends are of course very fuzzy, and bad actors can weaponize disagreements about where the exact line should be drawn.
The &lt;a rel=&quot;external&quot; href=&quot;https://www.contributor-covenant.org&quot;&gt;&lt;em&gt;Contributor Covenant Code of Conduct&lt;/em&gt;&lt;/a&gt;, a code of conduct commonly used by tech projects says:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;This Code of Conduct applies within all project spaces, and it also applies when an individual is representing the project or its community in public spaces.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The Covenant ignores one major point: A community member being blatantly sexist on Twitter for example cannot be ignored, even if the respective posts are unambiguously outside of the community boundaries.
Not taking action would send the wrong signal: “We are tolerating a known sexist in our space, as long as they’re nice while we’re looking”.
Marginalized people will hear such a message loud and clear, and accordingly consider a community which does such as less safe.&lt;/p&gt;
&lt;p&gt;Such decisions get even harder when they involve interpersonal conflicts, things said in semi-private or said a long time ago.
But that is not an excuse to ignore all reports of that kind as “out of scope 🤷” (or even worse, as “we’re apolitical”) without further consideration.&lt;/p&gt;
&lt;h2 id=&quot;what-to-do-about-it&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#what-to-do-about-it&quot; aria-label=&quot;Anchor link for: what-to-do-about-it&quot;&gt;What to do about it&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;The first step is to acknowledge this phenomenon and decide to expand the scope of what moderation means.
It is important to note that on the long run, this will cause &lt;em&gt;less&lt;/em&gt; work and not more, because the actual bad actors will become a lot easier to deal with. So, what does this mean in practice?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Moderation is not equally accountable to everyone.&lt;/strong&gt;
Accountability is important, but it does not imply that fringe members are entitled to knowing everything that happened in full detail.
Of course, there should be a space for discussion about how well a moderation case was handled to happen.
However, it is crucial to shield it against bad actors abusing the process for their own purposes.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Act before someone snaps.&lt;/strong&gt;
When insults go flying towards a person that already is on the moderation watchlist, this is a clear indication that moderation action should have happened sooner.
Moderation should be proactive and not wait until problems blow up in public.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Consider enablers of abuse in the Code of Conduct.&lt;/strong&gt;
Defending hateful behavior is rarely okay, and this should be reflected in the community rules.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Handle reports from outside of the official community spaces.&lt;/strong&gt;
Doing this has nothing to do with “thought policing”, instead it is a necessity to keep the community healthy.
At the same time, it is important to acknowledge that different rules apply here, and that every case is unique.&lt;/li&gt;
&lt;/ul&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Ghost bus</title>
        <published>2024-10-30T00:00:00+00:00</published>
        <updated>2024-10-30T00:00:00+00:00</updated>
        
        <author>
          <name>piegames</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://piegames.de/dumps/ghost-bus/"/>
        <id>https://piegames.de/dumps/ghost-bus/</id>
        
        <content type="html" xml:base="https://piegames.de/dumps/ghost-bus/">&lt;div class=&quot;poem&quot;&gt;
A ghost bus, slowly wating through the thick traffic. &lt;br /&gt;
Blurry lights dance on the fogged windows. The outside world is not real. &lt;br /&gt;
I blink in and out of existence—In one moment I’m suddenly here, just to slowly fade out again in the next. &lt;br /&gt;
When I’m not here, will someone else take my seat?
&lt;p&gt;A ghost alights from the bus. Floating shifts into walking, as I eventually materialize again.&lt;/p&gt;
&lt;/div&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Passive suicidality scale</title>
        <published>2024-07-24T00:00:00+00:00</published>
        <updated>2024-07-24T00:00:00+00:00</updated>
        
        <author>
          <name>piegames</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://piegames.de/dumps/passive-suicidality-scale/"/>
        <id>https://piegames.de/dumps/passive-suicidality-scale/</id>
        
        <content type="html" xml:base="https://piegames.de/dumps/passive-suicidality-scale/">&lt;p&gt;&lt;strong&gt;OBVIOUS CW: suicidality and detailed descriptions thereof&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;People sometimes use &lt;a rel=&quot;external&quot; href=&quot;https://emmengard.com/2019/05/07/suicide-scale/&quot;&gt;this suicide scale&lt;/a&gt; to help them communicate their state of unwellbeing to friends more easily in situations of strong distress. That scale was initially created as a shorthand between friends and has no medical aspirations, as explained in &lt;a rel=&quot;external&quot; href=&quot;https://emmengard.com/2020/08/20/the-emmengard-suicide-scale-has-been-going-routinely-viral-and-as-a-result-we-have-had-the-chance-to-talk-with-various-people-about-it-in-the-comments-section/&quot;&gt;a follow-up post&lt;/a&gt; in more detail.&lt;/p&gt;
&lt;p&gt;In the spirit of the original scale, I created my own scale as a shorthand with friends, and will share it here in the hope that it will be useful to others as well. It is centered around “passive” suicidality, which is any desire to not exist devoid of any aspirations of actually taking action. It is therefore not meant as a replacement for the original (or any other) scale, but rather complementary.&lt;/p&gt;
&lt;h2 id=&quot;the-passive-suicidality-scale&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#the-passive-suicidality-scale&quot; aria-label=&quot;Anchor link for: the-passive-suicidality-scale&quot;&gt;The &lt;em&gt;passive suicidality&lt;/em&gt; scale&lt;/a&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Life is great, and even on bad days I am managing.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Life is great on good days, but I’m kinda struggling when I’m down.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Even on good days, I feel like my joy of living is being dragged down by some latent negativity. I have to fight to keep the negativity at bay.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Life is happening to me, I follow along by lack of other choice, but I’m not thrilled. This “being alive” thing is kind of a lot right now, honestly.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;I somehow get through the day but don’t expect me to do anything beyond that. All my resources are bound by “existing”, and even that is a tough ask. I still want to fight, somehow, but I’m very exhausted.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;“Existing” is too much for me right now. I don’t know what to do about it, I don’t know how to get through the day. Sometimes I just want to give up. &lt;em&gt;I need help.&lt;/em&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;I can’t take it right now, I don’t want to fight anymore. I’m daydreaming of falling asleep, for a month, a year, or longer. In the hope of a better time, far away in a distant future. Or a different life in a better universe. &lt;em&gt;Please give me a break.&lt;/em&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A better future won’t help me right now. In my fantasies, I fall asleep and don’t wake up anymore. I have many thoughts about me not wanting to exist anymore, I have stopped fighting them. &lt;em&gt;I am done with being alive.&lt;/em&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;This is way too much, I can’t take it at all, I just want it stop, I don’t care how. All my thoughts share the same tenor: &lt;em&gt;I do not want to be.&lt;/em&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Please kill me already. Put me down. Finish me. &lt;em&gt;I need to die.&lt;/em&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&quot;can-i-use-this&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#can-i-use-this&quot; aria-label=&quot;Anchor link for: can-i-use-this&quot;&gt;Can I use this?&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Sure, but will it help you? Maybe consider the following questions to figure that out:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Can you empathize with the descriptions, and get a feeling for the mental states they mean to represent?&lt;/li&gt;
&lt;li&gt;Can you project your own feelings onto the scale, and feel like it describes your mental states, even though you may experience them differently?&lt;/li&gt;
&lt;li&gt;Does the scale cover a sufficient range of your different mental states? Do you feel like it applies to you in situations where it ought to help you?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If your answer to any of these questions is no, you are probably better off not using it. Find another one which describes what you need better, or consider creating one on your own, tailored to your own states of wellbeing. (For that matter I also recommend asking these questions about the Emmengard suicide scale, if you have been using it.)&lt;/p&gt;
&lt;h2 id=&quot;see-also&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#see-also&quot; aria-label=&quot;Anchor link for: see-also&quot;&gt;See also&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;&lt;em&gt;feel free to suggest more additions&lt;/em&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;a rel=&quot;external&quot; href=&quot;https://web.archive.org/web/20180329055637/https://gpscbc.ca/sites/default/files/uploads/Pain_082.0_Comparative_Pain_Scale_PR.pdf&quot;&gt;Comparative Pain Scale&lt;/a&gt;&lt;/strong&gt; for physical pain&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a rel=&quot;external&quot; href=&quot;https://lb-lee.dreamwidth.org/1213382.html&quot;&gt;The Psychological Badness Scale&lt;/a&gt;&lt;/strong&gt; for non-depressive psychological pain&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a rel=&quot;external&quot; href=&quot;https://tech.lgbt/@nina_kali_nina/112014343182655077&quot;&gt;Subjective Units of Distress&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;addendum-talking-about-passive-suicidality-with-others&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#addendum-talking-about-passive-suicidality-with-others&quot; aria-label=&quot;Anchor link for: addendum-talking-about-passive-suicidality-with-others&quot;&gt;Addendum: Talking about passive suicidality with others&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Many people who are not accustomed to the phenomenon—and this unfortunately includes a lot of medical professionals who should know better—completely stop listening once they hear “suicidal”.
Ill-informed preconceptions and stereotypes about what suicidality is and how it actually feels like will override everything else you say in their head.
Especially in the context of medical professionals, this can easily lead to harmful or even dangerous situations.&lt;/p&gt;
&lt;p&gt;When interacting with untrusted people, it is thus advised to reframe these emotions in terms of &lt;em&gt;emotional pain&lt;/em&gt; or &lt;em&gt;subjective distress&lt;/em&gt;.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;&lt;em&gt;A big thanks to leela and several other proofreaders for helping out with writing this&lt;/em&gt;&lt;/p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Against leading commas</title>
        <published>2024-03-06T00:00:00+00:00</published>
        <updated>2024-03-06T00:00:00+00:00</updated>
        
        <author>
          <name>piegames</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://piegames.de/dumps/leading-commas/"/>
        <id>https://piegames.de/dumps/leading-commas/</id>
        
        <content type="html" xml:base="https://piegames.de/dumps/leading-commas/">&lt;p&gt;I’ve been one of the main people driving automatic formatting for the Nix language forward.
As such, a major point of contention which repeatedly appeared is the one about where to put the commas separating function arguments — before or after each item?&lt;/p&gt;
&lt;p&gt;This question is not new though, and the style can occasionally be observed in other languages as well, like Haskell for example.&lt;/p&gt;
&lt;p&gt;In this text I will, mostly using the Nix language as an example, show you that commas or other separators need to be put &lt;em&gt;after&lt;/em&gt; the item.
I will also go into the few rare exceptions.
I approach the topic purely from a code formatting perspective, and try to discuss it as exhaustively as possible.
I will thus not go into other topics affected by this, like parsing and code generation for example, or languages where this encodes a semantic difference.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;TL;DR:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If your language supports trailing delimiters on the last item, using them is the strictly superior solution&lt;/li&gt;
&lt;li&gt;Therefore, &lt;strong&gt;every language should support them&lt;/strong&gt; in all cases where this issue may arise&lt;/li&gt;
&lt;li&gt;In languages which don’t, leading commas are the best possible workaround&lt;/li&gt;
&lt;li&gt;Having a leading delimiter is fine &lt;em&gt;as long as&lt;/em&gt; it is also allowed in front of the first item, for example a YAML list starting each element with &lt;code&gt;-&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- TOC --&gt;
&lt;h2 id=&quot;the-issue&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#the-issue&quot; aria-label=&quot;Anchor link for: the-issue&quot;&gt;The issue&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Let’s say you have a list of items separated by a delimiter.
I chose commas because this is where you see this issue arise the most often, but this generalizes to any token-separated list of expressions.&lt;/p&gt;
&lt;p&gt;Let’s start with lists as an example, because they are simple and easy: &lt;code&gt;[ 1, 2, 3 ]&lt;/code&gt;.
Now, let’s say the list is getting a bit long and you want to put every item onto its own line:&lt;/p&gt;
&lt;pre class=&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang=&quot;haskell&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;[&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt;  1&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt;  2&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt;  3&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;]&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;One thing which is common to do, is to append an item at the end:&lt;/p&gt;
&lt;pre class=&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang=&quot;diff&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span&gt; [&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span&gt;   1,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span&gt;   2,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;z-l-17 z-d-14&quot;&gt;  3&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;  3,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;  4&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span&gt; ]&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;As you can see, to do this, one has to touch the line of the previous last element, despite nothing changing on it.&lt;/p&gt;
&lt;p&gt;Now, if you have a language which allows a trailing comma on the last element, like Rust or Go, you can easily fix this:&lt;/p&gt;
&lt;pre class=&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang=&quot;rust&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;[&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt;  1&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt;  2&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt;  3&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;]&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre class=&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang=&quot;diff&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span&gt; [&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span&gt;   1,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span&gt;   2,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span&gt;   3,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;  4,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span&gt; ]&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The diff only has one line.
But if you are on a language which does not support this, like Haskell or JSON, you are out of luck.
Since this is a so common and prevalent problem in many situations and many languages, people have converged onto a common workaround:&lt;/p&gt;
&lt;pre class=&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang=&quot;haskell&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt; 1&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt; 2&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt; 3&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;]&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre class=&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang=&quot;diff&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span&gt; [ 1&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span&gt; , 2&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span&gt; , 3&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;, 4&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span&gt; ]&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;In situations where a trailing comma is not allowed, this actually is very likely to be the best possible solution to format code in these cases.
That’s why people have independently converged on it over time again and again.
However, as I will show, compared to simply having a trailing comma on the last item, this still has a lot of downsides.&lt;/p&gt;
&lt;h2 id=&quot;case-study-function-arguments-in-nix&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#case-study-function-arguments-in-nix&quot; aria-label=&quot;Anchor link for: case-study-function-arguments-in-nix&quot;&gt;Case study: Function arguments in Nix&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Okay, so let’s design a format for function arguments and leading commas and try to make it as good as possible. I’ll cover all relevant design questions. (More may come up during an actual implementation attempt, but this should cover most of the ground.)&lt;/p&gt;
&lt;h3 id=&quot;basics&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#basics&quot; aria-label=&quot;Anchor link for: basics&quot;&gt;Basics&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Let’s start simple: Just three arguments, all single-line. There are already two possibilities to choose from.&lt;/p&gt;
&lt;pre class=&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang=&quot;nix&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt; 1&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;{&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  arg1&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; arg2&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; ?&lt;/span&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt; null&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; arg3&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;:&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt; 2&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; arg1&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; arg2&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; ?&lt;/span&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt; null&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; arg3&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;:&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;]&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;You may say “obviously we want the second one”, but this already produces an inconsistency:
In lists and attribute sets, we don’t start the first element on the same line as the opening bracket/brace.&lt;/p&gt;
&lt;pre class=&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang=&quot;nix&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; first&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  second&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  third&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;]&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;z-l-15 z-d-16&quot;&gt; one&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; =&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; &amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-15 z-d-16&quot;&gt;  two&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; =&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; &amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-15 z-d-16&quot;&gt;  three&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; =&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; &amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Of course we could decide to format lists and attribute sets like this for consistency, but pushing this further down the line would create weird situations. In these examples, one cannot easily start the first element on the same line as the opening bracket/brace:&lt;/p&gt;
&lt;pre class=&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang=&quot;nix&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-12 z-d-17&quot;&gt;rec&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; {&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-15 z-d-16&quot;&gt;  one&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; =&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; &amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-15 z-d-16&quot;&gt;  two&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; =&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; &amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-15 z-d-16&quot;&gt;  three&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; =&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; &amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;}&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; call&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; [&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  first&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  second&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  third&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;]&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; call&lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt; #&lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt; long line&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;  [&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; first&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;    second&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;    third&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;  ]&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This may even have ripple effects onto other syntax constructs like parentheses.
So it looks like accepting the one inconsistency in function declarations is the less bad option here.&lt;/p&gt;
&lt;p&gt;Now let’s have a look at the same situation, but with trailing commas.
Same decision as last time:&lt;/p&gt;
&lt;pre class=&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang=&quot;nix&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt; 1&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;{&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  arg1&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  arg2&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; ?&lt;/span&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt; null&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  arg3&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;:&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt; 2&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; arg1&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  arg2&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; ?&lt;/span&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt; null&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  arg3&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;:&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;]&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This time it is easy though, we can simply pick style #1 where no consistency issues arise.&lt;/p&gt;
&lt;h3 id=&quot;multiline-arguments&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#multiline-arguments&quot; aria-label=&quot;Anchor link for: multiline-arguments&quot;&gt;Multiline arguments&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Things are already getting tricky.&lt;/p&gt;
&lt;pre class=&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang=&quot;nix&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt; 1&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; one&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; ?&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; [&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt;    1&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt;    1&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;  ]&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; two&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; ?&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-12 z-d-17&quot;&gt;    if&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; &amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;two&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; ==&lt;/span&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt; 2&lt;/span&gt;&lt;span class=&quot;z-l-12 z-d-17&quot;&gt; th&lt;/span&gt;&lt;span class=&quot;z-l-12 z-d-17&quot;&gt;en&lt;/span&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt; 2&lt;/span&gt;&lt;span class=&quot;z-l-12 z-d-17&quot;&gt; el&lt;/span&gt;&lt;span class=&quot;z-l-12 z-d-17&quot;&gt;se&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; &amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;two&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;&amp;quot;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; three&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; ?&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; function&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; [&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt;    1&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt;    2&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;  ]&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;:&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt; 2&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; one&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; ?&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; [&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt;  1&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt;  1&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;]&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; two&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; ?&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-12 z-d-17&quot;&gt;    if&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; &amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;two&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; ==&lt;/span&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt; 2&lt;/span&gt;&lt;span class=&quot;z-l-12 z-d-17&quot;&gt; th&lt;/span&gt;&lt;span class=&quot;z-l-12 z-d-17&quot;&gt;en&lt;/span&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt; 2&lt;/span&gt;&lt;span class=&quot;z-l-12 z-d-17&quot;&gt; el&lt;/span&gt;&lt;span class=&quot;z-l-12 z-d-17&quot;&gt;se&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; &amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;two&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;&amp;quot;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; three&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; ?&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; function&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; [&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt;  1&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt;  2&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;]&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;:&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt; 3&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; one&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; ?&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;  [&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt;    1&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt;    1&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;  ]&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; two&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; ?&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-12 z-d-17&quot;&gt;  if&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; &amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;two&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; ==&lt;/span&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt; 2&lt;/span&gt;&lt;span class=&quot;z-l-12 z-d-17&quot;&gt; th&lt;/span&gt;&lt;span class=&quot;z-l-12 z-d-17&quot;&gt;en&lt;/span&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt; 2&lt;/span&gt;&lt;span class=&quot;z-l-12 z-d-17&quot;&gt; el&lt;/span&gt;&lt;span class=&quot;z-l-12 z-d-17&quot;&gt;se&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; &amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;two&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;&amp;quot;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; three&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; ?&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  function&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; [&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt;    1&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt;    2&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;  ]&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;:&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt; 4&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; one&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;  ?&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; [&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt;    1&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt;    1&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;  ]&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; two&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;  ?&lt;/span&gt;&lt;span class=&quot;z-l-12 z-d-17&quot;&gt; if&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; &amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;two&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; ==&lt;/span&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt; 2&lt;/span&gt;&lt;span class=&quot;z-l-12 z-d-17&quot;&gt; th&lt;/span&gt;&lt;span class=&quot;z-l-12 z-d-17&quot;&gt;en&lt;/span&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt; 2&lt;/span&gt;&lt;span class=&quot;z-l-12 z-d-17&quot;&gt; el&lt;/span&gt;&lt;span class=&quot;z-l-12 z-d-17&quot;&gt;se&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; &amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;two&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;&amp;quot;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; three&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;  ?&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; function&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; [&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt;    1&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt;    2&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;  ]&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;:&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;]&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;There are many other variations to handle the indentation here, but the main issue in all of these is that it is ambiguous where the “base indentation” is. Does indentation start at the comma or at the argument?&lt;/p&gt;
&lt;p&gt;On the trailing commas side, there is little to debate. The syntax looks so similar to bindings in attrsets, that we can simply copy the rules over 1:1 (replacing &lt;code&gt;=&lt;/code&gt; with &lt;code&gt;?&lt;/code&gt; and &lt;code&gt;;&lt;/code&gt; with &lt;code&gt;,&lt;/code&gt;). Yay for consistency!&lt;/p&gt;
&lt;pre class=&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang=&quot;nix&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt; 1&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;{&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  one&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; ?&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; [&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt;    1&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt;    1&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;  ]&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  two&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; ?&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-12 z-d-17&quot;&gt;    if&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; &amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;two&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; ==&lt;/span&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt; 2&lt;/span&gt;&lt;span class=&quot;z-l-12 z-d-17&quot;&gt; th&lt;/span&gt;&lt;span class=&quot;z-l-12 z-d-17&quot;&gt;en&lt;/span&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt; 2&lt;/span&gt;&lt;span class=&quot;z-l-12 z-d-17&quot;&gt; el&lt;/span&gt;&lt;span class=&quot;z-l-12 z-d-17&quot;&gt;se&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; &amp;quot;&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;two&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;&amp;quot;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  three&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; ?&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; function&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; [&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt;    1&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt;    2&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;  ]&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;:&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;]&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&quot;pattern&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#pattern&quot; aria-label=&quot;Anchor link for: pattern&quot;&gt;&lt;code&gt;@&lt;/code&gt;-pattern&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;In Nix, you can have the &lt;code&gt;@&lt;/code&gt;-pattern either before or after the argument destructuring. Both are equivalent.&lt;/p&gt;
&lt;pre class=&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang=&quot;nix&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt; 1&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;args&lt;/span&gt;&lt;span&gt;@&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;{&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  one&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; two&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; three&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;:&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt; 2&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; one&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; two&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; three&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;}&lt;/span&gt;&lt;span&gt;@&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;args&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;:&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt; 3&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; one&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; two&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; three&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;}&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span&gt;@&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;args&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;:&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt; 4&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; one&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; two&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; three&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;}&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span&gt;@&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; args&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;:&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt; 5&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; one&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; two&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; three&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;}&lt;/span&gt;&lt;span&gt; @&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; args&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;:&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;]&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Currently in Nix, leading &lt;code&gt;@&lt;/code&gt; is the more prevalent convention (estimated through some quick greps through &lt;code&gt;nixpkgs&lt;/code&gt;), but clearly it doesn’t work here: the first argument without a leading comma just looks too inconsistent. (This is the same issue as three sections up coming to bite us again.)&lt;/p&gt;
&lt;p&gt;So the only sensible option is to normalize them to the trailing version during formatting. (Note that this is not as trivial as it may look like at a first glance, since any token may have comments associated with it which need proper handling as well. But it should be doable.)&lt;/p&gt;
&lt;p&gt;On the trailing commas side, it does not matter whether the &lt;code&gt;@&lt;/code&gt;-pattern is before or after the arguments:&lt;/p&gt;
&lt;pre class=&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang=&quot;nix&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt; 1&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;args&lt;/span&gt;&lt;span&gt;@&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;{&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  one&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  two&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  three&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;:&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;{&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  one&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  two&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  three&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;}&lt;/span&gt;&lt;span&gt;@&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;args&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;:&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt; 2&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;args&lt;/span&gt;&lt;span&gt; @&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt; {&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  one&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  two&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  three&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;:&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;{&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  one&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  two&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  three&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;}&lt;/span&gt;&lt;span&gt; @&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; args&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;:&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt; 3&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;args&lt;/span&gt;&lt;span&gt;@&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;{&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  one&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  two&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  three&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;:&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;{&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  one&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  two&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  three&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;}&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span&gt;@&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;args&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;:&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt; 4&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;args&lt;/span&gt;&lt;span&gt; @&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;{&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  one&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  two&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  three&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;:&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;{&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  one&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  two&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  three&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;}&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span&gt;@&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; args&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;:&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;]&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;There are many possibilities on how to place the whitespace here, but in all cases this works without having to normalize the code.&lt;/p&gt;
&lt;h3 id=&quot;comments&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#comments&quot; aria-label=&quot;Anchor link for: comments&quot;&gt;Comments&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Arguments may have comments associated with them. These may come in various forms, &lt;code&gt;#&lt;/code&gt;, &lt;code&gt;/*&lt;/code&gt;, &lt;code&gt;/**&lt;/code&gt;, single-line or spanning multiple lines. Trailing comments &lt;em&gt;after&lt;/em&gt; the argument name are trivial and don’t need to be discussed.&lt;/p&gt;
&lt;pre class=&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang=&quot;nix&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt; 1&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt; /* comment &lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;*/&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  one&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt; /*&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;    multiline&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;    comment&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;  */&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  two&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt; #&lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt; comment&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  three&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt; #&lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt; multiline&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;  #&lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt; comment&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  four&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;:&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt; 2&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;/* comment &lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;*/&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; one&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;/*&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;  multiline&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;  comment&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;*/&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; two&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;/* comment &lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;*/&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; three&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt; multiline&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt; comment&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; four&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;:&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;]&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Style #1 has the disadvantage that the comma gets increasingly distanced from the argument it is associated with (comments may be long). It also loses the clear vertical line to the left which is one of the big advantages of a leading comma style.&lt;/p&gt;
&lt;p&gt;Style #2 looks more promising though. When using &lt;code&gt;#&lt;/code&gt; comments it even has a clear vertical line for visual reference. It may be tempting to thus decide to normalize all &lt;code&gt;/*&lt;/code&gt; comments to &lt;code&gt;#&lt;/code&gt; for that purpose. But this may be a controversial change on its own, but more importantly this cannot be done for &lt;code&gt;/**&lt;/code&gt; doc comments. Additionally, style #2 has the issue that the first comment collides with a potential comment for the entire function, causing ambiguity which would break any documentation tooling.&lt;/p&gt;
&lt;p&gt;Therefore, using style #1 for comments is the only viable option here.&lt;/p&gt;
&lt;p&gt;On the trailing commas sie, nothing really to discuss again:&lt;/p&gt;
&lt;pre class=&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang=&quot;nix&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;#&lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt; 1&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;{&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;  /* comment &lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;*/&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  one&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;  /*&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;    multiline&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;    comment&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;  */&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  two&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;  #&lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt; comment&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  three&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;  #&lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt; multiline&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt;  #&lt;/span&gt;&lt;span class=&quot;z-l-10 z-l-i z-d-5 z-d-i&quot;&gt; comment&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt;  four&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt;,&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;:&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;]&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&quot;digression-leading-delimiters-all-the-way-down&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#digression-leading-delimiters-all-the-way-down&quot; aria-label=&quot;Anchor link for: digression-leading-delimiters-all-the-way-down&quot;&gt;Digression: Leading delimiters all the way down&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;There is an interesting observation to be made.
Sometimes, expressions are not &lt;em&gt;separated&lt;/em&gt; by a delimiter, but they are &lt;em&gt;terminated&lt;/em&gt; by one.
Think of the semicolon ending statements. Similarly in Nix:&lt;/p&gt;
&lt;pre class=&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang=&quot;nix&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-12 z-d-17&quot;&gt;let&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-15 z-d-16&quot;&gt;  foo&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; =&lt;/span&gt;&lt;span class=&quot;z-l-9 z-d-12&quot;&gt; 1&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-15 z-d-16&quot;&gt;  bar&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-4&quot;&gt; =&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; x&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-3&quot;&gt; x&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-12 z-d-17&quot;&gt;in&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;1. The semicolon on the last item is not optional. 2. The trailing comma style with a comma after the last item mirrors this.&lt;/p&gt;
&lt;p&gt;So, what if we flipped this on its head? After all, we are still trying out a style with leading commas.&lt;/p&gt;
&lt;pre class=&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang=&quot;plain&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span&gt;{&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span&gt;, foo&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span&gt;, bar&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span&gt;}:&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span&gt;[]&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Okay, this looks very weird, but one can clearly see that it solves one of the major issues with the usual leading commas style which comes up around the first element. One could even indent the commas by one level to solve the indentation ambiguities discussed earlier. This concept also generalizes to attribute sets:&lt;/p&gt;
&lt;pre class=&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang=&quot;plain&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span&gt;{&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span&gt;; foo = 1&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span&gt;; bar = x: x&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Probably the main reason you find this weird is that the comma is an unusual delimiter to start statements.
Same concept in another context and suddenly it doesn’t look that weird anymore:&lt;/p&gt;
&lt;pre class=&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang=&quot;yaml&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt; f&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;oo&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-8 z-d-7&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt; b&lt;/span&gt;&lt;span class=&quot;z-l-7 z-d-9&quot;&gt;ar&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Alex Rogozhnikov has a great writeup on this topic: &lt;a rel=&quot;external&quot; href=&quot;https://arogozhnikov.github.io/2022/11/29/delimiter-comes-first.html&quot;&gt;Delimiter-first code&lt;/a&gt;.
So while this idea requires syntax changes and thus is out of scope from a pure formatting perspective, if you find yourself designing a language, consider to briefly pause and ponder whether &lt;em&gt;starting&lt;/em&gt; your statements instead of &lt;em&gt;terminating&lt;/em&gt; them with a delimiter might be reasonable.&lt;/p&gt;
&lt;h2 id=&quot;conclusion&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#conclusion&quot; aria-label=&quot;Anchor link for: conclusion&quot;&gt;Conclusion&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;When trying to create a good style with leading commas, at every corner we are faced with tough decisions between sub-optimal options and allowing inconsistencies.
The only reason to use them in the first place is when they are the less bad option due to language restrictions.
In fact, I don’t know of any in the wild examples of people using leading commas despite the language supporting a trailing comma on the last item. (If you know of one let me know, but examples where language support was added later on after the style was “established” don’t count!)&lt;/p&gt;
&lt;h2 id=&quot;further-reading&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#further-reading&quot; aria-label=&quot;Anchor link for: further-reading&quot;&gt;Further reading&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Other people have written about this topic as well. For now I’ll just collect it down here, maybe if my text is not convincing enough one of these will do. If you find something, send it to me!&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a rel=&quot;external&quot; href=&quot;https://devblogs.microsoft.com/oldnewthing/20240209-00/?p=109379&quot;&gt;On the virtues of the trailing comma&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a rel=&quot;external&quot; href=&quot;https://arogozhnikov.github.io/2022/11/29/delimiter-comes-first.html&quot;&gt;Delimiter-first code&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Tardis</title>
        <published>2023-08-30T00:00:00+00:00</published>
        <updated>2023-08-30T00:00:00+00:00</updated>
        
        <author>
          <name>piegames</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://piegames.de/art/2023-tardis/"/>
        <id>https://piegames.de/art/2023-tardis/</id>
        
        <content type="html" xml:base="https://piegames.de/art/2023-tardis/">&lt;p&gt;First non-digital art in the collection: An aquarelle painting.&lt;/p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Nix ohne NixOS</title>
        <published>2021-05-24T00:00:00+00:00</published>
        <updated>2021-05-24T00:00:00+00:00</updated>
        
        <author>
          <name>piegames</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://piegames.de/dumps/nix-ohne-nixos/"/>
        <id>https://piegames.de/dumps/nix-ohne-nixos/</id>
        
        <summary type="html">&lt;p&gt;In 2021 hat das &lt;a rel=&quot;external&quot; href=&quot;https://www.chaos-inkl.de/&quot;&gt;ChaosInKl&lt;/a&gt; online eine „OpenTopicNight“ zum Thema Nix veranstaltet.
Dieser Vortrag über Nix auf nicht-NixOS-Systemen, mit Fokus auf &lt;code&gt;nix-shell&lt;/code&gt; und Entwicklungsumgebungen, ist dafür entstanden.&lt;/p&gt;</summary>
        
    </entry>
    <entry xml:lang="en">
        <title>Fur balls #2</title>
        <published>2018-06-10T00:00:00+00:00</published>
        <updated>2018-06-10T00:00:00+00:00</updated>
        
        <author>
          <name>piegames</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://piegames.de/art/2018-fur-balls-2/"/>
        <id>https://piegames.de/art/2018-fur-balls-2/</id>
        
        <content type="html" xml:base="https://piegames.de/art/2018-fur-balls-2/">&lt;p&gt;Shamelessly riffing on the success of &lt;a href=&quot;/art/2016-fur-balls-1&quot;&gt;Fur balls #1&lt;/a&gt;,
but as we all know the sequel is rarely as good as the original.&lt;/p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Purple</title>
        <published>2017-08-05T00:00:00+00:00</published>
        <updated>2017-08-05T00:00:00+00:00</updated>
        
        <author>
          <name>piegames</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://piegames.de/art/2017-purple/"/>
        <id>https://piegames.de/art/2017-purple/</id>
        
        <content type="html" xml:base="https://piegames.de/art/2017-purple/">&lt;p&gt;Brush study with Krita. Inspired by one of the paintings somewhere on the Documenta Kassel 2017.&lt;/p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Network</title>
        <published>2017-06-06T00:00:00+00:00</published>
        <updated>2017-06-06T00:00:00+00:00</updated>
        
        <author>
          <name>piegames</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://piegames.de/art/2017-network/"/>
        <id>https://piegames.de/art/2017-network/</id>
        
        <content type="html" xml:base="https://piegames.de/art/2017-network/">&lt;p&gt;A more serious attempt at using the Animation nodes Blender extension for procedural generation.
The image is 100% procedural based on modulated noise; the poodle is just a hallucination of your brain.
(Seriously though, if you can’t see the poodle then good for you because you won’t be able to unsee it.)&lt;/p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Minecraft #4 – Floating island</title>
        <published>2017-04-30T00:00:00+00:00</published>
        <updated>2017-04-30T00:00:00+00:00</updated>
        
        <author>
          <name>piegames</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://piegames.de/art/2017-minecraft-4/"/>
        <id>https://piegames.de/art/2017-minecraft-4/</id>
        
        <content type="html" xml:base="https://piegames.de/art/2017-minecraft-4/">&lt;p&gt;This is the fourth image of a Minecraft world exported to Blender.
It showcases the possibility of using creative materials on the model,
in this case an X-ray inspired effect realized through volumetric effects.
The third image shows a direct comparison:
Minecraft screenshot – X-ray – Fancy render&lt;/p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Disorder</title>
        <published>2017-04-08T00:00:00+00:00</published>
        <updated>2017-04-08T00:00:00+00:00</updated>
        
        <author>
          <name>piegames</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://piegames.de/art/2017-disorder/"/>
        <id>https://piegames.de/art/2017-disorder/</id>
        
        <content type="html" xml:base="https://piegames.de/art/2017-disorder/">&lt;p&gt;A small procedual texture experiment which never got past these three test renders.
While this is 2D, it too has been realized in Blender:
An “Emission” material which procedurally generates the texture acts as a pixel shader.&lt;/p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Decompose effect</title>
        <published>2017-03-05T00:00:00+00:00</published>
        <updated>2017-03-05T00:00:00+00:00</updated>
        
        <author>
          <name>piegames</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://piegames.de/art/2017-decompose-effect/"/>
        <id>https://piegames.de/art/2017-decompose-effect/</id>
        
        <content type="html" xml:base="https://piegames.de/art/2017-decompose-effect/">&lt;p&gt;One of the rare videos I did.
This is an early experiment with the Blender extension Animation nodes,
although more abstractly speaking one would better describe it as a vertex shader.&lt;/p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Minecraft #2 – Panorama</title>
        <published>2017-01-29T00:00:00+00:00</published>
        <updated>2017-01-29T00:00:00+00:00</updated>
        
        <author>
          <name>piegames</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://piegames.de/art/2017-minecraft-3/"/>
        <id>https://piegames.de/art/2017-minecraft-3/</id>
        
        <content type="html" xml:base="https://piegames.de/art/2017-minecraft-3/">&lt;p&gt;This is the third image of a Minecraft world exported to Blender.
It showcases the theoretically infinite render distance one can achieve.
The materials are taken from a texture pack which provides higher resolution and normal/illumination maps for all textures while remaining true to the Default Minecraft look.&lt;/p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Planet</title>
        <published>2016-12-22T00:00:00+00:00</published>
        <updated>2016-12-22T00:00:00+00:00</updated>
        
        <author>
          <name>piegames</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://piegames.de/art/2016-planet/"/>
        <id>https://piegames.de/art/2016-planet/</id>
        
        <content type="html" xml:base="https://piegames.de/art/2016-planet/"></content>
        
    </entry>
    <entry xml:lang="en">
        <title>Minecraft #2 – Nether</title>
        <published>2016-10-29T00:00:00+00:00</published>
        <updated>2016-10-29T00:00:00+00:00</updated>
        
        <author>
          <name>piegames</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://piegames.de/art/2016-minecraft-2/"/>
        <id>https://piegames.de/art/2016-minecraft-2/</id>
        
        <content type="html" xml:base="https://piegames.de/art/2016-minecraft-2/">&lt;p&gt;This is the second image of a Minecraft world exported to Blender.
It showcases the raytracing volumetric rendering which creates an atmosphere which cannot be achieved in real time.
The second image is a 20% size test render, but which somehow accidentally turned out a lot better than the final version.&lt;/p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Minecraft #1 – Flatland</title>
        <published>2016-10-14T00:00:00+00:00</published>
        <updated>2016-10-14T00:00:00+00:00</updated>
        
        <author>
          <name>piegames</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://piegames.de/art/2016-minecraft-1/"/>
        <id>https://piegames.de/art/2016-minecraft-1/</id>
        
        <content type="html" xml:base="https://piegames.de/art/2016-minecraft-1/">&lt;p&gt;This is the first successful export from a Minecraft world to Blender using my (unpublished) tool Wavecraft.&lt;/p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Pixel factory #2</title>
        <published>2016-07-18T00:00:00+00:00</published>
        <updated>2016-07-18T00:00:00+00:00</updated>
        
        <author>
          <name>piegames</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://piegames.de/art/2016-pixel-factory-2/"/>
        <id>https://piegames.de/art/2016-pixel-factory-2/</id>
        
        <content type="html" xml:base="https://piegames.de/art/2016-pixel-factory-2/"></content>
        
    </entry>
    <entry xml:lang="en">
        <title>Floating island</title>
        <published>2016-06-11T00:00:00+00:00</published>
        <updated>2016-06-11T00:00:00+00:00</updated>
        
        <author>
          <name>piegames</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://piegames.de/art/2016-floating-island/"/>
        <id>https://piegames.de/art/2016-floating-island/</id>
        
        <content type="html" xml:base="https://piegames.de/art/2016-floating-island/"></content>
        
    </entry>
    <entry xml:lang="en">
        <title>Fur balls #1</title>
        <published>2016-05-08T00:00:00+00:00</published>
        <updated>2016-05-08T00:00:00+00:00</updated>
        
        <author>
          <name>piegames</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://piegames.de/art/2016-fur-balls-1/"/>
        <id>https://piegames.de/art/2016-fur-balls-1/</id>
        
        <content type="html" xml:base="https://piegames.de/art/2016-fur-balls-1/">&lt;p&gt;Created by following a tutorial ·.
Note that the second image is the original one.
The first one is a higher quality re-render from 2019, in which the background was redone together with some other small improvements on the lighting.&lt;/p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Pixel factory #1</title>
        <published>2016-02-23T00:00:00+00:00</published>
        <updated>2016-02-23T00:00:00+00:00</updated>
        
        <author>
          <name>piegames</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://piegames.de/art/2016-pixel-factory-1/"/>
        <id>https://piegames.de/art/2016-pixel-factory-1/</id>
        
        <content type="html" xml:base="https://piegames.de/art/2016-pixel-factory-1/"></content>
        
    </entry>
    <entry xml:lang="en">
        <title>Entrance</title>
        <published>2016-01-16T00:00:00+00:00</published>
        <updated>2016-01-16T00:00:00+00:00</updated>
        
        <author>
          <name>piegames</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://piegames.de/art/2016-entrance/"/>
        <id>https://piegames.de/art/2016-entrance/</id>
        
        <content type="html" xml:base="https://piegames.de/art/2016-entrance/">&lt;p&gt;First 2D image, done with Krita and a graphics tablet.
This image initially started as a 64px × 64px canvas with random lines scribbled on it. (All gray, color got only added at the end.)
Then it got repeatedly upscaled with details filled in, until it converged to some kind of meaningful image.
This is also why the lines in the image are so big and a bit blurry.&lt;/p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Music box</title>
        <published>2016-01-11T00:00:00+00:00</published>
        <updated>2016-01-11T00:00:00+00:00</updated>
        
        <author>
          <name>piegames</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://piegames.de/art/2016-music-box/"/>
        <id>https://piegames.de/art/2016-music-box/</id>
        
        <content type="html" xml:base="https://piegames.de/art/2016-music-box/"></content>
        
    </entry>
    <entry xml:lang="en">
        <title>Winter #3</title>
        <published>2015-12-24T00:00:00+00:00</published>
        <updated>2015-12-24T00:00:00+00:00</updated>
        
        <author>
          <name>piegames</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://piegames.de/art/2015-winter-3/"/>
        <id>https://piegames.de/art/2015-winter-3/</id>
        
        <content type="html" xml:base="https://piegames.de/art/2015-winter-3/">&lt;p&gt;Study for a shiny snow material.&lt;/p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Winter landscape</title>
        <published>2015-12-15T00:00:00+00:00</published>
        <updated>2015-12-15T00:00:00+00:00</updated>
        
        <author>
          <name>piegames</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://piegames.de/art/2015-winter-landscape/"/>
        <id>https://piegames.de/art/2015-winter-landscape/</id>
        
        <content type="html" xml:base="https://piegames.de/art/2015-winter-landscape/">&lt;p&gt;I have deleted all other Christmas-themed winter images except for this one.
So, enjoy this rarity.&lt;/p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Carousel #3</title>
        <published>2015-10-18T00:00:00+00:00</published>
        <updated>2015-10-18T00:00:00+00:00</updated>
        
        <author>
          <name>piegames</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://piegames.de/art/2015-carousel-3/"/>
        <id>https://piegames.de/art/2015-carousel-3/</id>
        
        <content type="html" xml:base="https://piegames.de/art/2015-carousel-3/">&lt;p&gt;This image was inspired by “Skyfall”, one of the “zero G” free fall towers.&lt;/p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Landscape #2</title>
        <published>2015-10-12T00:00:00+00:00</published>
        <updated>2015-10-12T00:00:00+00:00</updated>
        
        <author>
          <name>piegames</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://piegames.de/art/2015-landscape-2/"/>
        <id>https://piegames.de/art/2015-landscape-2/</id>
        
        <content type="html" xml:base="https://piegames.de/art/2015-landscape-2/">&lt;p&gt;First attempt at a low-poly style.&lt;/p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Carousel #2</title>
        <published>2015-10-10T00:00:00+00:00</published>
        <updated>2015-10-10T00:00:00+00:00</updated>
        
        <author>
          <name>piegames</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://piegames.de/art/2015-carousel-2/"/>
        <id>https://piegames.de/art/2015-carousel-2/</id>
        
        <content type="html" xml:base="https://piegames.de/art/2015-carousel-2/">&lt;p&gt;Continuation of &lt;a href=&quot;/art/2015-carousel-1&quot;&gt;Carousel #1&lt;/a&gt;.
The carousel model is slightly improved and placed in a proper scene.&lt;/p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Landscape #1</title>
        <published>2015-09-06T00:00:00+00:00</published>
        <updated>2015-09-06T00:00:00+00:00</updated>
        
        <author>
          <name>piegames</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://piegames.de/art/2015-landscape-1/"/>
        <id>https://piegames.de/art/2015-landscape-1/</id>
        
        <content type="html" xml:base="https://piegames.de/art/2015-landscape-1/"></content>
        
    </entry>
    <entry xml:lang="en">
        <title>Carousel #1</title>
        <published>2015-02-01T00:00:00+00:00</published>
        <updated>2015-02-01T00:00:00+00:00</updated>
        
        <author>
          <name>piegames</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://piegames.de/art/2015-carousel-1/"/>
        <id>https://piegames.de/art/2015-carousel-1/</id>
        
        <content type="html" xml:base="https://piegames.de/art/2015-carousel-1/">&lt;p&gt;Small modelling study&lt;/p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Marble maze</title>
        <published>2015-02-01T00:00:00+00:00</published>
        <updated>2015-02-01T00:00:00+00:00</updated>
        
        <author>
          <name>piegames</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://piegames.de/art/2015-marble-maze/"/>
        <id>https://piegames.de/art/2015-marble-maze/</id>
        
        <content type="html" xml:base="https://piegames.de/art/2015-marble-maze/"></content>
        
    </entry>
</feed>
