2026/04/04

Newest at the top

2026-04-04 05:49:39 +0000j1n37(~j1n37@user/j1n37) (Ping timeout: 255 seconds)
2026-04-04 05:45:56 +0000merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 244 seconds)
2026-04-04 05:41:21 +0000haritz(~hrtz@user/haritz) (Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in)
2026-04-04 05:41:06 +0000merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-04-04 05:30:35 +0000merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 265 seconds)
2026-04-04 05:25:04 +0000merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-04-04 05:23:06 +0000Nosrep(~jimothy@user/nosrep) (Ping timeout: 246 seconds)
2026-04-04 05:13:39 +0000merijn(~merijn@62.45.136.136) (Ping timeout: 245 seconds)
2026-04-04 05:08:55 +0000peterbecich(~Thunderbi@71.84.33.135) peterbecich
2026-04-04 05:07:05 +0000merijn(~merijn@62.45.136.136) merijn
2026-04-04 05:04:02 +0000jmcantrell_(~weechat@user/jmcantrell) jmcantrell
2026-04-04 04:58:41 +0000synchromesh(~john@2406:5a00:2412:2c00:343e:4e23:bce:73a3) synchromesh
2026-04-04 04:57:44 +0000synchromesh(~john@2406:5a00:2412:2c00:343e:4e23:bce:73a3) (Read error: Connection reset by peer)
2026-04-04 04:56:43 +0000merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 264 seconds)
2026-04-04 04:51:16 +0000merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-04-04 04:46:42 +0000absurdvoid(~absurdvoi@user/absurdvoid) (Ping timeout: 248 seconds)
2026-04-04 04:40:48 +0000jmcantrell_(~weechat@user/jmcantrell) (Ping timeout: 255 seconds)
2026-04-04 04:40:09 +0000merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 248 seconds)
2026-04-04 04:35:27 +0000merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-04-04 04:32:11 +0000takuan(~takuan@d8D86B9E9.access.telenet.be)
2026-04-04 04:24:18 +0000merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 244 seconds)
2026-04-04 04:20:11 +0000jrm(~jrm@user/jrm) jrm
2026-04-04 04:19:24 +0000merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-04-04 04:18:56 +0000jrm(~jrm@user/jrm) (Quit: ciao)
2026-04-04 04:08:24 +0000merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 255 seconds)
2026-04-04 04:07:45 +0000qqq(~qqq@185.54.23.237) (Remote host closed the connection)
2026-04-04 04:07:40 +0000arandombit(~arandombi@user/arandombit) (Ping timeout: 245 seconds)
2026-04-04 04:06:00 +0000jmcantrell_(~weechat@user/jmcantrell) jmcantrell
2026-04-04 04:03:37 +0000merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-04-04 04:01:22 +0000peterbecich(~Thunderbi@71.84.33.135) (Ping timeout: 248 seconds)
2026-04-04 03:58:40 +0000 <gentauro> geekosaur: yeah, that's it.
2026-04-04 03:55:53 +0000jmcantrell_(~weechat@user/jmcantrell) (Ping timeout: 252 seconds)
2026-04-04 03:54:47 +0000merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds)
2026-04-04 03:53:16 +0000 <geekosaur> https://discourse.haskell.org/t/ghc-profiling-a-cabal-project-with-an-interactive-application/10465 perhaps?
2026-04-04 03:50:00 +0000merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-04-04 03:49:46 +0000jmcantrell_(~weechat@user/jmcantrell) jmcantrell
2026-04-04 03:48:08 +0000 <gentauro> where you can drill down (mem) usage of an app?
2026-04-04 03:47:40 +0000 <gentauro> btw, do we have something similar to this `dotnet-dump` (heap memory): https://gitlab.com/spisemisu/SpiseMisu.Text.Dstring/-/blob/main/dotnet-cli-tools.sh?ref_type=heads…
2026-04-04 03:46:12 +0000 <gentauro> geekosaur: nice -> https://downloads.haskell.org/ghc/latest/docs/users_guide/exts/primitives.html#extension-UnboxedSums
2026-04-04 03:46:11 +0000jmcantrell_(~weechat@user/jmcantrell) (Ping timeout: 268 seconds)
2026-04-04 03:45:43 +0000notzmv(~umar@user/notzmv) notzmv
2026-04-04 03:41:51 +0000 <geekosaur> https://downloads.haskell.org/ghc/latest/docs/users_guide/exts/pragmas.html#unpack-pragma (note that it tells you it won't work in your case, then only afterward mentions that it will in 9.6.1 and later)
2026-04-04 03:40:22 +0000jmcantrell_(~weechat@user/jmcantrell) jmcantrell
2026-04-04 03:38:42 +0000merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 255 seconds)
2026-04-04 03:37:46 +0000 <gentauro> `data FooBar = Foo | Bar; data BazQux = BazQux {-# UNPACK #-} !FooBar` would work as well?
2026-04-04 03:37:38 +0000 <geekosaur> there used to be a number of restrictions on it but I think most of them are gone, only strictness remains. (for example, the type had to have a single constructor until unboxed sums were added and it became possible to support multi-constructor unpacking)
2026-04-04 03:36:44 +0000 <geekosaur> no
2026-04-04 03:36:23 +0000 <gentauro> geekosaur: does this only work for primitive (`struct` types)?
2026-04-04 03:36:22 +0000 <geekosaur> these days you don't generally need to do that, `-funbox-small-strict-fields` is on by default if you compile with optimization
2026-04-04 03:35:44 +0000 <geekosaur> explicitly telling the compiler to unpack the `Int` into `FooBar` rather than making a pointer to it (which requires that it be strict)