!9IQChSjwSHXPPWTa:lix.systems

Lix

1105 Members
Lix user channel. Feel free to discuss on-topic issues here and give each other help. For matrix.to links to the rest of the Lix channels, see: https://wiki.lix.systems/books/lix-organisation/page/matrix-rooms295 Servers

Load older messages


SenderMessageTime
13 Oct 2025
@mangoiv.:matrix.orgMangoIVin what way 14:54:11
@raitobezarius:matrix.orgraitobezariusI think CppNix only support one of the operator14:54:36
@raitobezarius:matrix.orgraitobezariusnot both14:54:37
@raitobezarius:matrix.orgraitobezariushence singular vs. plural14:54:40
@raitobezarius:matrix.orgraitobezariusand there might be some associativity thing I don't remember14:54:49
@raitobezarius:matrix.orgraitobezariusI don't use pip operators14:54:51
@raitobezarius:matrix.orgraitobezarius* I don't use pipe operators14:54:53
@mangoiv.:matrix.orgMangoIVin the PR it looks like it supports both 14:55:21
@bandithedoge:matrix.orgbandithedogeisn't it the other way around?14:58:14
@thubrecht:matrix.orgthubrechtThe other way around14:59:03
@mangoiv.:matrix.orgMangoIVadding diverging syntactic sugar that doesn't even align well with the evaluation model, is not backwards compatible and requires enabling a flag sounds like an awesome footgun 14:59:33
@lillecarl:matrix.orglillecarl
In reply to @mangoiv.:matrix.org
adding diverging syntactic sugar that doesn't even align well with the evaluation model, is not backwards compatible and requires enabling a flag sounds like an awesome footgun
At some point people have to try new things out. nixpkgs requires nix >=2.18(2023). If people want to use new things in their own repos that's one thing. Nixpkgs will be conservative either way. What better way to try out new syntax sugar in a fork and see if it sticks?
15:03:01
@lillecarl:matrix.orglillecarl
In reply to @mangoiv.:matrix.org
adding diverging syntactic sugar that doesn't even align well with the evaluation model, is not backwards compatible and requires enabling a flag sounds like an awesome footgun
* At some point people have to try new things out. nixpkgs requires nix >=2.18(2023). If people want to use new things in their own repos that's one thing, Nixpkgs will be conservative either way. What better way to try out new syntax sugar in a fork and see if it sticks?
15:03:19
@mangoiv.:matrix.orgMangoIVyeah I'm all for trying things out, but the kind of "progress" this brings is questionable, imo15:04:08
@raitobezarius:matrix.orgraitobezariusthx15:04:27
@raitobezarius:matrix.orgraitobezariusif I disappear and forget about it, please ping me15:04:33
@quadradical:federated.nexusQuadRadical (Ping) ok! 15:04:40
@raitobezarius:matrix.orgraitobezariuslanguage versioning would help tremendously but is hard to pull off15:04:51
@raitobezarius:matrix.orgraitobezariusthis is the only feature like this15:05:03
@raitobezarius:matrix.orgraitobezariuscoerce-integers is also this way15:05:06
@mangoiv.:matrix.orgMangoIV why I think this is a footgun and not an improvement:
foo |> bar is usually evaluated right to left, since bar is demanding foo in its body. So while in f# this might be a good idea since it is eagerly evaluated, it is not a good idea in lazy languages. I'm not sure if that's any evidence on this, but Haskell uses $ as the application operator, which is (conceptually) the same as <|.
15:12:50
@mangoiv.:matrix.orgMangoIVas a users you might think that nix is evaluation foo and then applies bar to the result, but that's absolutely not what happens. 15:13:58
@mangoiv.:matrix.orgMangoIV* as a users you might think that nix is evaluating foo and then applies bar to the result, but that's absolutely not what happens. 15:14:17
@quadradical:federated.nexusQuadRadical (Ping) sure! NIX_REMOTE=local sudo nix build --no-sandbox .#checks.x86_64-linux.nextest 15:43:17
@marie:marie.cologneMarieI'm thinking if it would be nice if lix could block system sleep while a build is running15:45:18
@marie:marie.cologneMarie I probably could just alias nix-build to systemd-inhibit ... nix-build, but feels not very nice 15:46:34
@toonn:matrix.orgtoonn Dangerous as a default behavior IMO, class is over close the lid, shove the laptop in a bag... 16:03:54
@aloisw:julia0815.dealoiswBlock only idle then? Granted, that still has the issue of also disabling automatic screen locking.16:31:45
@piegames:flausch.socialpiegames
In reply to @mangoiv.:matrix.org
adding diverging syntactic sugar that doesn't even align well with the evaluation model, is not backwards compatible and requires enabling a flag sounds like an awesome footgun
Courtesy of the fucked up RFC process, rhendric, and yours truly
16:33:21
@piegames:flausch.socialpiegames
In reply to @mangoiv.:matrix.org
why I think this is a footgun and not an improvement:
foo |> bar is usually evaluated right to left, since bar is demanding foo in its body. So while in f# this might be a good idea since it is eagerly evaluated, it is not a good idea in lazy languages. I'm not sure if that's any evidence on this, but Haskell uses $ as the application operator, which is (conceptually) the same as <|.
I get the argument, but I find it easier to think in data flow order and not evaluation order, and ideally evaluation order doesn't matter most of the time
16:34:55

Show newer messages


Back to Room ListRoom Version: 10