| 30 Apr 2024 |
nasrally | Also by they way that whole purity thing pricatically makes functional programs so easy to navigate in code, if you have something in some function it means it was propagated there through its arguments, and you can just find the called, and the further caller etc, no nothing gets inside from some global space that is sooo convenient, functional style is sooooo convenient | 17:39:37 |
nasrally | * Also by they way that whole purity thing pricatically makes functional programs so easy to navigate in code, if you have something in some function it means it was propagated there through its arguments, and you can just find the caller, and the further caller etc, no nothing gets inside from some global space that is sooo convenient, functional style is sooooo convenient | 17:39:57 |
| ondt joined the room. | 22:05:55 |
| 1 May 2024 |
| NixOS Moderation Botchanged room power levels. | 15:06:26 |
| 2 May 2024 |
| @nick_kadutskyi:matrix.org joined the room. | 17:16:19 |
| Hayden joined the room. | 20:42:00 |
| @nick_kadutskyi:matrix.org set a profile picture. | 21:19:12 |
| 3 May 2024 |
@stablejoy:matrix.org | I have a question about possible reordering of sections? I'm doing the nix language tutorial and its about this: After the https://nix.dev/tutorials/nix-language#attribute-set-argument comes the default value part section, followed by the additional attributes part. Why is default value part between? Perhaps the additional attributes part would make more sense right after the attribute set argument because it effectively addresses the counterexample by introducing the ellipsis? As stated in the additional attributes part: Unlike in the previous counter-example, passing an argument that contains additional attributes is not an error. | 08:55:30 |
fricklerhandwerk | In reply to @stablejoy:matrix.org I have a question about possible reordering of sections? I'm doing the nix language tutorial and its about this: After the https://nix.dev/tutorials/nix-language#attribute-set-argument comes the default value part section, followed by the additional attributes part. Why is default value part between? Perhaps the additional attributes part would make more sense right after the attribute set argument because it effectively addresses the counterexample by introducing the ellipsis? As stated in the additional attributes part: Unlike in the previous counter-example, passing an argument that contains additional attributes is not an error. Sure, doesn’t sound wrong. I don’t have a strong preference here, feel free to make a suggestion that reads somewhat fluently. :) | 09:06:39 |
fricklerhandwerk | In reply to @stablejoy:matrix.org Oh I see now, its like describing two directions. The assignment is describing direction from value to variable and the binding from identifier to value? That’s helpful insight. I chose “assign” because it’s not just programmer jargon but also makes sense in everyday life. You “assign someone to a task”, things like that. You wouldn’t “bind a task to someone”. | 09:11:41 |
@stablejoy:matrix.org | In reply to @fricklerhandwerk:matrix.org That’s helpful insight. I chose “assign” because it’s not just programmer jargon but also makes sense in everyday life. You “assign someone to a task”, things like that. You wouldn’t “bind a task to someone”. Oh. I guess you could assign a task to someone who is bound by oath to you | 10:21:07 |
toonn | I think the point is more that "to assign" is more commonly understood than "to bind." | 10:36:08 |
| Enric Morales joined the room. | 15:51:13 |
@stablejoy:matrix.org | In reply to @toonn:matrix.org I think the point is more that "to assign" is more commonly understood than "to bind." Can one say then you assign a value to a variable and you bind an expression to a variable. The second is said in nix repl help. Also binding functions vs assigning values? | 16:05:27 |
toonn | You bind to identifiers rather than values. | 16:52:22 |
toonn | In most languages functions aren't first-class values so a different term is useful to distinguish what you do with them. | 16:52:54 |
toonn | But in Nix functions are just values. | 16:53:02 |
Qyriad | In reply to@toonn:matrix.org I think the point is more that "to assign" is more commonly understood than "to bind." Worth noting that Rust uses bind for their let construct, instead of assign, which seems to get by fine | 16:58:39 |
toonn | Sure, the reasoning is probably that Nix is more likely to be touched by non-programmers. | 17:11:11 |
@stablejoy:matrix.org | I made a yt channel and am making recordings while going through all nix dev tutorials. | 17:46:58 |
@stablejoy:matrix.org | https://youtu.be/YdrS3at-O9k?si=AttmjkwlTAFhAcBG | 17:47:35 |
| 4 May 2024 |
| @pennae:matrix.eno.space left the room. | 20:59:32 |
| 6 May 2024 |
@stablejoy:matrix.org | https://github.com/NixOS/nix.dev/pull/974 | 06:33:20 |
@stablejoy:matrix.org | the issue remains in the icat.nix | 06:34:00 |
@stablejoy:matrix.org | is the lib supposed to stay throughout the tutorial? | 06:34:28 |
fricklerhandwerk | In reply to @stablejoy:matrix.org is the lib supposed to stay throughout the tutorial? Replied in the PR thread | 07:29:26 |
@stablejoy:matrix.org | In reply to @fricklerhandwerk:matrix.org Replied in the PR thread I made all the changes and updated the text a bit. | 08:16:36 |
@stablejoy:matrix.org | oh nice I actually recorded an episode of fixing this :D | 08:19:15 |
| Charles changed their display name from Charles ⚡️ to Charles. | 17:01:07 |
| @nick_kadutskyi:matrix.org changed their display name from nick_kadutskyi to nickkadutskyi. | 17:33:24 |