2026/01/27

Newest at the top

2026-01-27 22:36:31 +0100target_i(~target_i@user/target-i/x-6023099) (Quit: leaving)
2026-01-27 22:36:13 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 246 seconds)
2026-01-27 22:31:33 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-01-27 22:30:04 +0100takuan(~takuan@d8D86B9E9.access.telenet.be) (Ping timeout: 255 seconds)
2026-01-27 22:22:00 +0100Zemy_(~Zemy@72.178.108.235) (Ping timeout: 245 seconds)
2026-01-27 22:20:07 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 240 seconds)
2026-01-27 22:19:23 +0100trickard_(~trickard@cpe-80-98-47-163.wireline.com.au)
2026-01-27 22:19:12 +0100Zemy(~Zemy@2600:100c:b01a:eb8d:2cd3:a2ff:fe4b:6248)
2026-01-27 22:19:10 +0100trickard(~trickard@cpe-80-98-47-163.wireline.com.au) (Read error: Connection reset by peer)
2026-01-27 22:17:31 +0100haritz(~hrtz@user/haritz) (Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in)
2026-01-27 22:17:28 +0100tromp(~textual@2001:1c00:3487:1b00:4c4c:3bb8:a5c6:557e)
2026-01-27 22:13:31 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-01-27 22:02:21 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 244 seconds)
2026-01-27 22:02:00 +0100machinedgod(~machinedg@d75-159-126-101.abhsia.telus.net) (Ping timeout: 245 seconds)
2026-01-27 21:59:59 +0100tromp(~textual@2001:1c00:3487:1b00:4c4c:3bb8:a5c6:557e) (Quit: My iMac has gone to sleep. ZZZzzz…)
2026-01-27 21:57:44 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-01-27 21:54:54 +0100ChaiTRex(~ChaiTRex@user/chaitrex) ChaiTRex
2026-01-27 21:53:58 +0100humasect(~humasect@dyn-192-249-132-90.nexicom.net) (Remote host closed the connection)
2026-01-27 21:52:12 +0100ChaiTRex(~ChaiTRex@user/chaitrex) (Ping timeout: 252 seconds)
2026-01-27 21:48:39 +0100newgan(~halloy132@2601:8d:8700:2b30::722e)
2026-01-27 21:46:53 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 260 seconds)
2026-01-27 21:45:56 +0100f-a(ff2a@joined.irc.for-some.fun) ()
2026-01-27 21:44:03 +0100pavonia(~user@user/siracusa) siracusa
2026-01-27 21:41:57 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-01-27 21:35:01 +0100jreicher(~joelr@user/jreicher) jreicher
2026-01-27 21:31:31 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 264 seconds)
2026-01-27 21:30:07 +0100peterbecich(~Thunderbi@71.84.33.135) (Ping timeout: 240 seconds)
2026-01-27 21:27:22 +0100 <dutchie> thank you
2026-01-27 21:26:10 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-01-27 21:25:54 +0100 <dutchie> of course!
2026-01-27 21:25:41 +0100 <dutchie> ah transpose
2026-01-27 21:25:27 +0100 <monochrom> Yeah what int-e said. In that example, the root has 3 children, map leavesByDepth (those 3 chidlren) = [[1], [1,3,3,1], [1,2]]. So you want to turn that into [1+1+1, 3+2, 3, 1].
2026-01-27 21:20:51 +0100 <lambdabot> [3,5,3,1]
2026-01-27 21:20:50 +0100 <int-e> > map sum (transpose [[1],[1,3,3,1],[1,2]])
2026-01-27 21:19:35 +0100 <dutchie> maybe "leaves" is the wrong word, "values" would be better I guess
2026-01-27 21:19:11 +0100 <dutchie> so there is 1 at the top of the tree, then one for each child at depth 1, and so on recursively
2026-01-27 21:18:43 +0100 <dutchie> the number of elements of type a at each depth of the tree
2026-01-27 21:17:36 +0100 <monochrom> What does "leavesByDepth" mean?
2026-01-27 21:16:03 +0100 <dutchie> I need to sort of recursively sum?
2026-01-27 21:15:50 +0100 <dutchie> I feel like I'm missing some insight to fill in the rest of leavesByDepth here: https://paste.tomsmeding.com/rXNhmaqV
2026-01-27 21:15:20 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 245 seconds)
2026-01-27 21:10:22 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-01-27 21:09:49 +0100thenightmail(~thenightm@user/thenightmail) thenightmail
2026-01-27 21:09:44 +0100thenightmail(~thenightm@user/thenightmail) (ERC 5.6.0.30.1 (IRC client for GNU Emacs 30.2))
2026-01-27 21:08:33 +0100myme(~myme@2a01:799:d5e:5f00:da5c:bf67:b20f:104d) myme
2026-01-27 21:07:35 +0100myme(~myme@2a01:799:d5e:5f00:5fcd:f459:869a:1345) (Ping timeout: 244 seconds)
2026-01-27 21:04:47 +0100humasect(~humasect@dyn-192-249-132-90.nexicom.net) humasect
2026-01-27 21:04:32 +0100Square3(~Square@user/square) Square
2026-01-27 21:01:23 +0100Square(~Square4@user/square) (Ping timeout: 244 seconds)
2026-01-27 20:59:20 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 240 seconds)