2026/01/27

Newest at the top

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)
2026-01-27 20:54:36 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-01-27 20:52:13 +0100peterbecich(~Thunderbi@71.84.33.135) peterbecich
2026-01-27 20:51:53 +0100peterbecich(~Thunderbi@71.84.33.135) (Read error: Connection reset by peer)
2026-01-27 20:43:19 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 260 seconds)
2026-01-27 20:43:16 +0100Lord_of_Life_Lord_of_Life
2026-01-27 20:41:20 +0100Lord_of_Life(~Lord@user/lord-of-life/x-2819915) (Ping timeout: 240 seconds)
2026-01-27 20:40:25 +0100Lord_of_Life_(~Lord@user/lord-of-life/x-2819915) Lord_of_Life
2026-01-27 20:36:32 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-01-27 20:35:55 +0100acidjnk_new(~acidjnk@p200300d6e700e523c8ca6d674f934d23.dip0.t-ipconnect.de) acidjnk
2026-01-27 20:32:56 +0100ChaiTRex(~ChaiTRex@user/chaitrex) ChaiTRex
2026-01-27 20:31:14 +0100jreicher(~joelr@user/jreicher) (Quit: ERC 5.6.0.30.1 (IRC client for GNU Emacs 30.2))
2026-01-27 20:31:10 +0100ChaiTRex(~ChaiTRex@user/chaitrex) (Ping timeout: 252 seconds)
2026-01-27 20:28:29 +0100wickedjargon(~user@24.83.46.194) (Remote host closed the connection)
2026-01-27 20:25:42 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds)