!hArdrCQjixoTCqafnk:matrix.org

Nix Hour

166 Members
Discussions and notifications for the weekly Nix Hour, a Nix Q&A Lecture by Tweag: https://discourse.nixos.org/t/the-nix-hour-a-weekly-nix-q-a-lecture-by-tweag/2276735 Servers

Load older messages


SenderMessageTime
12 Jan 2024
@kadokusei10:matrix.orgkadokusei10Redacted or Malformed Event15:03:53
@kadokusei10:matrix.orgkadokusei10I just used the links from this message and they worked: https://matrix.to/#/!hArdrCQjixoTCqafnk:matrix.org/$kTpzoPouZz0EWQoVRlvNyAcFZfKeVX05oVOWGuUEZv8?via=nixos.org&via=matrix.org&via=one.ems.host15:04:41
@infinisil:matrix.orginfinisilAh yeah sorry, it's a bit messy with jitsi right now :/16:01:01
@infinisil:matrix.orginfinisil Pico: Yeah sorry it was a bit messed up. We switched over to this new URL last minute last week, but haven't updated all the mentions of the old URL 16:02:07
@infinisil:matrix.orginfinisilI'll have to figure out something better for the video streaming. It's currently impractical to ask questions in the jitsi, since you can't actually see the up-to-date video stream there.. (I had to turn it off because my computer freezes if I do)16:14:04
18 Jan 2024
@mjolnir:nixos.orgNixOS Moderation Bot banned @bzzm3r:matrix.org@bzzm3r:matrix.org (<no reason supplied>).12:08:21
@feeds:integrations.ems.hostFeeds New post in Nix Hour Playlist: The Nix Hour #59 [programming puzzle] 16:49:27
19 Jan 2024
@infinisil:matrix.orginfinisil @room The next Nix hour is in 1 hour! We're having some fun today with a programming puzzle (don't know which one yet). Unfortunately I'm having Jitsi problems recently, so we're just gonna use YouTube today. Feel free to watch the stream and ask any question you have in the live chat! 12:56:49
@kadokusei10:matrix.orgkadokusei10Iā€™m terribly sorry but I will not be able to watch live today as I have to wake up extra early tomorrow m(_ _)m13:23:10
@infinisil:matrix.orginfinisilNo problem!13:55:08
@sofo:matrix.org@sofo:matrix.org infinisil: No sound on stream FYI 14:04:36
@infinisil:matrix.orginfinisilOh man14:05:02
@sofo:matrix.org@sofo:matrix.orgI heard my message tho xD14:05:11
@confus:matrix.orgconfus joined the room.14:06:11
@nasser:synapse.nasser.spacenasserimage.png
Download image.png
15:01:46
@sofo:matrix.org@sofo:matrix.org

Had some fun simplifying the code.

rec {
  lib = import <nixpkgs/lib>;
  interweave = item: elems: [item] ++ (lib.intersperse item elems) ++ [item];

  digits = ["0" "1" "2" "3" "4" "5" "6" "7" "8" "9"];

  tracingPipe = value: funcs:
    lib.pipe value (interweave lib.traceValSeq funcs);

  result = tracingPipe "123a45" [
    lib.stringToCharacters
    (lib.filter (char: lib.elem char digits))
    (map (char: lib.toInt char))
  ];
}
15:34:04
@sofo:matrix.org@sofo:matrix.org *

Had some fun simplifying the code from today's hour.

rec {
  lib = import <nixpkgs/lib>;
  interweave = item: elems: [item] ++ (lib.intersperse item elems) ++ [item];

  digits = ["0" "1" "2" "3" "4" "5" "6" "7" "8" "9"];

  tracingPipe = value: funcs:
    lib.pipe value (interweave lib.traceValSeq funcs);

  result = tracingPipe "123a45" [
    lib.stringToCharacters
    (lib.filter (char: lib.elem char digits))
    (map (char: lib.toInt char))
  ];
}
15:34:19
@sofo:matrix.org@sofo:matrix.org *

Had some fun simplifying the tracing pipe from today's hour.

rec {
  lib = import <nixpkgs/lib>;
  interweave = item: elems: [item] ++ (lib.intersperse item elems) ++ [item];

  digits = ["0" "1" "2" "3" "4" "5" "6" "7" "8" "9"];

  tracingPipe = value: funcs:
    lib.pipe value (interweave lib.traceValSeq funcs);

  result = tracingPipe "123a45" [
    lib.stringToCharacters
    (lib.filter (char: lib.elem char digits))
    (map (char: lib.toInt char))
  ];
}
15:36:23
@infinisil:matrix.orginfinisilNice!15:39:11
@sofo:matrix.org@sofo:matrix.org Not no clue about if traceValSeq is what i should use here. But it seems to work so lol. 15:40:42
@sofo:matrix.org@sofo:matrix.org * Not sure about if traceValSeq is what i should use here. But it seems to work so lol. 15:40:50
@akechishiro:matrix.orgAkechiShiro joined the room.22:42:36
22 Jan 2024
@maka_77x:matrix.orgmaka_77x joined the room.03:06:29
25 Jan 2024
@feeds:integrations.ems.hostFeeds New post in Nix Hour Playlist: The Nix Hour #60 [compiling packages from source] 14:21:39
26 Jan 2024
@infinisil:matrix.orginfinisil @room The next Nix hour is in 1h15! Today we're talking about Compiling packages from source. If you have any questions about this topic, you can either ask them in this issue or ask them live in the chat on the livestream 12:45:57
@bryan.bennett:matrix.org@bryan.bennett:matrix.org joined the room.12:50:54
@infinisil:matrix.orginfinisilBacklink: https://matrix.to/#/!KqkRjyTEzAGRiZFBYT:nixos.org/$TzhEW9QGueiHJwR2lk1xCYZb6Y-beLd974I0IbA2vyE?via=nixos.org&via=matrix.org&via=tchncs.de12:51:20
@infinisil:matrix.orginfinisil Bryan: Honestly last week was the most fun episode so far for me, I kind of want to do more random programming puzzles! 12:51:50
@infinisil:matrix.orginfinisilBut it's also kind of really not what Nix is made for šŸ˜…12:52:01
@9hp71n:matrix.orgghpzin joined the room.12:52:43

Show newer messages


Back to Room ListRoom Version: 10