Newest at the top
| 2026-01-27 21:41:57 +0100 | merijn | (~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn |
| 2026-01-27 21:35:01 +0100 | jreicher | (~joelr@user/jreicher) jreicher |
| 2026-01-27 21:31:31 +0100 | merijn | (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 264 seconds) |
| 2026-01-27 21:30:07 +0100 | peterbecich | (~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 +0100 | merijn | (~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 +0100 | merijn | (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 245 seconds) |
| 2026-01-27 21:10:22 +0100 | merijn | (~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn |
| 2026-01-27 21:09:49 +0100 | thenightmail | (~thenightm@user/thenightmail) thenightmail |
| 2026-01-27 21:09:44 +0100 | thenightmail | (~thenightm@user/thenightmail) (ERC 5.6.0.30.1 (IRC client for GNU Emacs 30.2)) |
| 2026-01-27 21:08:33 +0100 | myme | (~myme@2a01:799:d5e:5f00:da5c:bf67:b20f:104d) myme |
| 2026-01-27 21:07:35 +0100 | myme | (~myme@2a01:799:d5e:5f00:5fcd:f459:869a:1345) (Ping timeout: 244 seconds) |
| 2026-01-27 21:04:47 +0100 | humasect | (~humasect@dyn-192-249-132-90.nexicom.net) humasect |
| 2026-01-27 21:04:32 +0100 | Square3 | (~Square@user/square) Square |
| 2026-01-27 21:01:23 +0100 | Square | (~Square4@user/square) (Ping timeout: 244 seconds) |
| 2026-01-27 20:59:20 +0100 | merijn | (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 240 seconds) |
| 2026-01-27 20:54:36 +0100 | merijn | (~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn |
| 2026-01-27 20:52:13 +0100 | peterbecich | (~Thunderbi@71.84.33.135) peterbecich |
| 2026-01-27 20:51:53 +0100 | peterbecich | (~Thunderbi@71.84.33.135) (Read error: Connection reset by peer) |
| 2026-01-27 20:43:19 +0100 | merijn | (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 260 seconds) |
| 2026-01-27 20:43:16 +0100 | Lord_of_Life_ | Lord_of_Life |
| 2026-01-27 20:41:20 +0100 | Lord_of_Life | (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 240 seconds) |
| 2026-01-27 20:40:25 +0100 | Lord_of_Life_ | (~Lord@user/lord-of-life/x-2819915) Lord_of_Life |
| 2026-01-27 20:36:32 +0100 | merijn | (~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn |
| 2026-01-27 20:35:55 +0100 | acidjnk_new | (~acidjnk@p200300d6e700e523c8ca6d674f934d23.dip0.t-ipconnect.de) acidjnk |
| 2026-01-27 20:32:56 +0100 | ChaiTRex | (~ChaiTRex@user/chaitrex) ChaiTRex |
| 2026-01-27 20:31:14 +0100 | jreicher | (~joelr@user/jreicher) (Quit: ERC 5.6.0.30.1 (IRC client for GNU Emacs 30.2)) |
| 2026-01-27 20:31:10 +0100 | ChaiTRex | (~ChaiTRex@user/chaitrex) (Ping timeout: 252 seconds) |
| 2026-01-27 20:28:29 +0100 | wickedjargon | (~user@24.83.46.194) (Remote host closed the connection) |
| 2026-01-27 20:25:42 +0100 | merijn | (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds) |
| 2026-01-27 20:20:44 +0100 | merijn | (~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn |
| 2026-01-27 20:20:31 +0100 | Lycurgus | (~juan@user/Lycurgus) Lycurgus |
| 2026-01-27 20:19:07 +0100 | target_i | (~target_i@user/target-i/x-6023099) target_i |
| 2026-01-27 20:17:28 +0100 | Hardyhardhard | (~Hardyhard@user/hardyhardhard) (Client Quit) |
| 2026-01-27 20:14:37 +0100 | Hardyhardhard | (~Hardyhard@user/hardyhardhard) hardyhardhard |
| 2026-01-27 20:10:13 +0100 | merijn | (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 264 seconds) |
| 2026-01-27 20:04:58 +0100 | merijn | (~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn |
| 2026-01-27 19:50:58 +0100 | tromp | (~textual@2001:1c00:3487:1b00:4c4c:3bb8:a5c6:557e) |
| 2026-01-27 19:42:19 +0100 | acidjnk_new | (~acidjnk@p200300d6e700e5235c0a3441a338f285.dip0.t-ipconnect.de) (Ping timeout: 264 seconds) |