2026/04/04

Newest at the top

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)
2026-04-04 03:33:18 +0000 <gentauro> btw, what does this do: `data FooBar = FooBar {-# UNPACK #-} !Int`. Like the `unpack` pragma combined with `Int`?
2026-04-04 03:32:23 +0000 <gentauro> however, once you `derive` Show on a data type, it no longer tells you which properties aren't being used :(
2026-04-04 03:31:57 +0000merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-04-04 03:31:52 +0000 <gentauro> `{-# OPTIONS_GHC -Wall -Werror #-}` is nice to help you remove "noise" come code files
2026-04-04 03:26:59 +0000peterbecich(~Thunderbi@71.84.33.135) peterbecich
2026-04-04 03:22:28 +0000synchromesh(~john@2406:5a00:2412:2c00:343e:4e23:bce:73a3) synchromesh
2026-04-04 03:21:39 +0000synchromesh(~john@2406:5a00:2412:2c00:343e:4e23:bce:73a3) (Read error: Connection reset by peer)
2026-04-04 03:20:57 +0000merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 246 seconds)
2026-04-04 03:15:55 +0000merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-04-04 03:05:15 +0000Googulator(~Googulato@2a01-036d-0106-496b-154a-c7fc-9f43-bd2d.pool6.digikabel.hu)
2026-04-04 03:05:06 +0000merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 265 seconds)
2026-04-04 03:04:14 +0000xff0x(~xff0x@2405:6580:b080:900:ee83:75a7:fd77:12be)
2026-04-04 03:03:38 +0000xff0x(~xff0x@2405:6580:b080:900:ec01:f28c:6f01:3489) (Ping timeout: 268 seconds)
2026-04-04 03:00:07 +0000merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-04-04 02:57:54 +0000peterbecich(~Thunderbi@71.84.33.135) (Ping timeout: 248 seconds)
2026-04-04 02:49:31 +0000merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 264 seconds)
2026-04-04 02:44:24 +0000merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-04-04 02:41:23 +0000qqq(~qqq@185.54.23.237)
2026-04-04 02:39:26 +0000td_(~td@i5387091C.versanet.de) td_
2026-04-04 02:39:15 +0000m(~travltux@user/travltux) travltux
2026-04-04 02:37:29 +0000td_(~td@i53870907.versanet.de) (Ping timeout: 248 seconds)
2026-04-04 02:37:04 +0000synchromesh(~john@2406:5a00:2412:2c00:343e:4e23:bce:73a3) synchromesh
2026-04-04 02:36:59 +0000m(~travltux@user/travltux) (Quit: WeeChat 4.7.2)
2026-04-04 02:36:14 +0000synchromesh(~john@2406:5a00:2412:2c00:343e:4e23:bce:73a3) (Read error: Connection reset by peer)
2026-04-04 02:34:20 +0000vidak(~vidak@2407:e400:7800:2c01:c4db:d9c4:aac4:94f6) vidak
2026-04-04 02:33:36 +0000vidak(~vidak@2407:e400:7800:2c01:c4db:d9c4:aac4:94f6) (Read error: Connection reset by peer)
2026-04-04 02:33:27 +0000merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 255 seconds)
2026-04-04 02:30:18 +0000synchromesh(~john@2406:5a00:2412:2c00:343e:4e23:bce:73a3) synchromesh
2026-04-04 02:29:44 +0000synchromesh(~john@2406:5a00:2412:2c00:343e:4e23:bce:73a3) (Read error: Connection reset by peer)
2026-04-04 02:28:34 +0000merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-04-04 02:28:05 +0000peterbecich(~Thunderbi@71.84.33.135) peterbecich
2026-04-04 02:27:36 +0000vidak(~vidak@2407:e400:7800:2c01:c4db:d9c4:aac4:94f6) vidak