Nix Zürich | 116 Members | |
| https://zurich.nix.ug/ - Next ZHF event 23-24 November 2024 | 24 Servers |
| Sender | Message | Time |
|---|---|---|
| 5 Mar 2024 | ||
| Can someone please open the door? It's locked and ringing the doorbells has no effect. | 17:03:58 | |
| Marc Jakobi | 17:04:11 | |
| Hi guys, this is the package I'd like to get packaged: Related issue: | 17:28:57 | |
| 6 Mar 2024 | ||
| Hi folks. I really enjoyed the session together. As a person only working on Linux, Haskell and Nix exclusively in my free time (because work condemned me to awfully old technologies) I found you all really impressive and inspiring. Very energizing. Thank you! | 08:23:43 | |
| Yesterday you mentioned a way to use ghc to output the AST parsed from a Haskell source code. Would you be so kind to remind me again? | 09:49:32 | |
In particular: I'm exploring the meaning of the jargon from type theory "above the arrow", "below the arrow" , "to the left of the arrow" when talking about forall and the fat arrow => | 09:51:56 | |
* In particular: I'm exploring the meaning of the jargon from type theory "above the arrow", "below the arrow" , "to the left of the arrow" when talking about forall and the fat arrow => which I understand has to do with the position of forall in the syntax tree. | 09:52:29 | |
In reply to @arialdo:matrix.org I remember talking about TH as a way to generate an AST that is then injected at the call-site. To see the various intermediate representations that GHC generates in its various pipelines, you can use dump flags: https://downloads.haskell.org/ghc/latest/docs/users_guide/debugging.html | 10:02:14 | |
In reply to @arialdo:matrix.org* I remember talking about TH as a way to generate an AST that is then injected at the call-site. To see the various intermediate representations that GHC generates in its various pipelines, you can pass it dump flags: https://downloads.haskell.org/ghc/latest/docs/users_guide/debugging.html | 10:02:19 | |
| * I remember talking about TH as a way to generate an AST that is then injected at the call-site. To see the various intermediate representations that GHC generates in its various pipelines, you can pass it dump flags: https://downloads.haskell.org/ghc/latest/docs/users_guide/debugging.html In particular see section 5.13.1.1 for the AST. | 10:02:59 | |
Download image.png | 15:11:28 | |
In reply to @ners:nixos.devIs that an invitation to the next Nix Zürich meetup, or just a shitpost. 🤔 | 20:48:13 | |
| 8 Mar 2024 | ||
| Just a meme. 🙃 | 08:37:04 | |
| @room I got confirmation for our next venue, just need to pick the date. Shall I aim for late March (3️⃣) or early April (4️⃣)? | 09:12:37 | |
| * @room I got confirmation for the next venue we can use for a meetup, just need to pick the date. Shall I aim for late March (3️⃣) or early April (4️⃣)? | 09:20:57 | |
| 14 Mar 2024 | ||
| 18:44:24 | ||
| 16 Mar 2024 | ||
| fricklerhandwerk: https://github.com/escodebar/life/commits/nix/ I pushed the current iteration. It was fun 🤩 | 15:31:24 | |
| I can recommend nix-unit btw, as it also allows catching exceptions. | 15:37:01 | |
| I’ll clean up the repo at some point. I’ll push a branch for each programming language I implemented the game in. Previously it was just for an implementation in vue.js | 15:37:18 | |
| I am pretty sure there are a couple on non-idiomatic parts. Would love to get some feedback. | 15:38:04 | |
| All in all, I’m very happy to have done this (at least twice). Whenever I encounter nix code I’m now capable to read it and understand what is what 🥰 | 15:39:00 | |
| I recommend to generally avoid Use | 15:42:35 | |
Also, put your top-level files (like flake.nix and default.nix) at the root of the repo, otherwise its a pain to actually call them | 15:43:37 | |
* Also, put your top-level files (like flake.nix and default.nix) at the root of the repo, otherwise its a pain to actually call them without manually cloning your repo | 15:43:45 | |
There's another, yet undocumented best practice: avoid using builtins directly and take the aliases from pkgs.lib. Nix cannot be reliably versioned, but Nixpkgs maintainers put a lot of effort into making library calls cross-version compatible | 15:46:56 | |
| Otherwise looks reasonable. I'd factor and name a few things differently, but that comes with experience working on growing code bases. | 15:48:57 | |
| Everyone: feel free to make pull requests with improvements and explanations of the improvements so I can further learn the language and the ecosystem 😊😘 | 15:52:35 | |
| 19 Mar 2024 | ||
| 00:29:50 | ||
| 21 Mar 2024 | ||
| fricklerhandwerk: thanks for the inputs. They started some discussions which made me learn and understand some conventions better. | 15:49:26 | |
| Also, the exercise was really really worth it. I am so much more confident now when reading nix code. Previously I was totally overwhelmed, now, I can interpret nix code correctly. Can recomment my approach to learning nix to every beginner 😊 | 15:51:10 | |