Home liberachat/#haskell: Logs Calendar

Logs: liberachat/#haskell

←Prev  Next→ 1,790,024 events total
2026-03-26 09:27:56 ourson joins (~ourson@79.136.213.83)
2026-03-26 09:28:06 ourson parts (~ourson@79.136.213.83) ("" (xchat 2.4.5 или старше))
2026-03-26 09:29:37 × Enrico63 quits (~Enrico63@93-35-52-29.ip53.fastwebnet.it) (Quit: Client closed)
2026-03-26 09:29:43 bggd__ joins (~bgg@2a01:e0a:fd5:f510:aea0:e1c8:9dee:f851)
2026-03-26 09:33:40 × jreicher quits (~joelr@user/jreicher) (Quit: brb)
2026-03-26 09:34:38 jreicher joins (~joelr@user/jreicher)
2026-03-26 09:34:44 × koala_man quits (~vidar@157.146.251.23.bc.googleusercontent.com) (Ping timeout: 268 seconds)
2026-03-26 09:37:17 koala_man joins (~vidar@157.146.251.23.bc.googleusercontent.com)
2026-03-26 09:40:38 × jreicher quits (~joelr@user/jreicher) (Quit: brb)
2026-03-26 09:41:33 jreicher joins (~joelr@user/jreicher)
2026-03-26 09:43:09 Enrico63 joins (~Enrico63@93-35-52-29.ip53.fastwebnet.it)
2026-03-26 09:51:01 <tomsmeding> [exa]: rrparenthesis and llparenthesis here? https://detexify.kirelabs.org/symbols.html :p
2026-03-26 09:51:49 chele joins (~chele@user/chele)
2026-03-26 09:53:07 × myxos quits (~myxos@174-18-44-59.tcso.qwest.net) (Ping timeout: 264 seconds)
2026-03-26 09:56:27 myxos joins (~myxos@67-1-178-42.tcso.qwest.net)
2026-03-26 10:07:11 × natechan quits (~natechan@c-98-45-159-200.hsd1.ca.comcast.net) (Ping timeout: 268 seconds)
2026-03-26 10:09:54 natechan joins (~natechan@c-98-45-159-200.hsd1.ca.comcast.net)
2026-03-26 10:17:37 × Enrico63 quits (~Enrico63@93-35-52-29.ip53.fastwebnet.it) (Quit: Client closed)
2026-03-26 10:18:49 × CiaoSen quits (~Jura@p549cb690.dip0.t-ipconnect.de) (Ping timeout: 248 seconds)
2026-03-26 10:19:50 × jreicher quits (~joelr@user/jreicher) (Quit: brb)
2026-03-26 10:28:09 acidjnk_new3 joins (~acidjnk@p200300d6e700e592b17a5f40f0fadffe.dip0.t-ipconnect.de)
2026-03-26 10:29:48 danza joins (~danza@user/danza)
2026-03-26 10:31:52 × acidjnk_new quits (~acidjnk@p200300d6e700e54898249a3b850b64ab.dip0.t-ipconnect.de) (Ping timeout: 276 seconds)
2026-03-26 10:32:42 × xff0x quits (~xff0x@fsb6a9491c.tkyc517.ap.nuro.jp) (Ping timeout: 255 seconds)
2026-03-26 10:44:03 CiaoSen joins (~Jura@p549cb690.dip0.t-ipconnect.de)
2026-03-26 10:47:16 Googulator78 joins (~Googulato@2a01-036d-0106-0364-757c-7b1f-aded-4ae9.pool6.digikabel.hu)
2026-03-26 10:49:37 jreicher joins (~joelr@user/jreicher)
2026-03-26 10:50:37 × Googulator22 quits (~Googulato@2a01-036d-0106-0364-757c-7b1f-aded-4ae9.pool6.digikabel.hu) (Ping timeout: 245 seconds)
2026-03-26 11:06:32 × confusedalex quits (~confuseda@user/confusedalex) (Remote host closed the connection)
2026-03-26 11:07:07 × chromoblob quits (~chromoblo@user/chromob1ot1c) (Remote host closed the connection)
2026-03-26 11:07:31 chromoblob joins (~chromoblo@user/chromob1ot1c)
2026-03-26 11:11:50 Freakie joins (~Freakie@185.45.22.133)
2026-03-26 11:13:37 AlexNoo joins (~AlexNoo@178.34.150.190)
2026-03-26 11:14:26 × divlamir quits (~divlamir@user/divlamir) (Read error: Connection reset by peer)
2026-03-26 11:14:35 divlamir joins (~divlamir@user/divlamir)
2026-03-26 11:15:54 AlexZenon joins (~alzenon@178.34.150.190)
2026-03-26 11:15:54 <[exa]> tomsmeding: naaaaaah \left\mug \right\mug
2026-03-26 11:17:47 Alex_delenda_est joins (~al_test@178.34.150.190)
2026-03-26 11:18:04 __monty__ joins (~toonn@user/toonn)
2026-03-26 11:23:39 <mesaoptimizer> [exa]: I am unable to reproduce the issue you linked. If I use `cabal build` and compile it, every call to `localhost:3003` results in the following error: "GHC.Event.Thread.getSystemTimerManager: the TimerManager requires linking against the threaded runtime". If I run it via `cabal repl` and evaluate `main`, the REPL process doesn't crash when I overwhelm it, and in fact, it simply continues to
2026-03-26 11:23:41 <mesaoptimizer> work (send 200s) after a while
2026-03-26 11:29:10 xff0x joins (~xff0x@2405:6580:b080:900:634f:4ad0:7953:dee2)
2026-03-26 11:29:48 omnifunctor joins (~omnifunct@user/semifunctor)
2026-03-26 11:32:01 × danza quits (~danza@user/danza) (Remote host closed the connection)
2026-03-26 11:32:40 × hakutaku quits (~textual@user/hakutaku) (Quit: My MacBook has gone to sleep. ZZZzzz…)
2026-03-26 11:33:24 hakutaku joins (~textual@user/hakutaku)
2026-03-26 11:34:11 <[exa]> mesaoptimizer: oh nice, lucky you then I guess
2026-03-26 11:34:17 <[exa]> what's your fd limit?
2026-03-26 11:37:05 <mesaoptimizer> `ulimit -Sn` on a new terminal returns `256`
2026-03-26 11:38:26 <mesaoptimizer> [exa]: I wouldn't consider myself lucky if the compiled version never works though
2026-03-26 11:38:56 <mesaoptimizer> (sure, I could go all in on Haskell REPL-only)
2026-03-26 11:39:51 <[exa]> interesting
2026-03-26 11:39:55 <[exa]> maybe some stuff changed in there
2026-03-26 11:39:59 <[exa]> I'll have to check
2026-03-26 11:45:12 haritz joins (~hrtz@2a01:4b00:bc2e:7000:d5af:a266:ca31:5ef8)
2026-03-26 11:45:12 × haritz quits (~hrtz@2a01:4b00:bc2e:7000:d5af:a266:ca31:5ef8) (Changing host)
2026-03-26 11:45:12 haritz joins (~hrtz@user/haritz)
2026-03-26 11:46:52 × Freakie quits (~Freakie@185.45.22.133) (Ping timeout: 245 seconds)
2026-03-26 11:48:28 fp1 joins (~Thunderbi@2001:708:20:1406::10c5)
2026-03-26 11:58:30 confusedalex joins (~confuseda@user/confusedalex)
2026-03-26 12:00:08 <mesaoptimizer> "Matthew Pickering announced that he will be leaving the company and moving to a non-Haskell role at the end of March." https://www.well-typed.com/blog/2026/03/haskell-ecosystem-report-q1-2026/
2026-03-26 12:04:38 × comonad quits (~comonad@p200300d02717df00adc247ef70bd7367.dip0.t-ipconnect.de) (Quit: WeeChat 4.7.0-dev)
2026-03-26 12:32:46 × somemathguy quits (~somemathg@user/somemathguy) (Quit: WeeChat 4.1.1)
2026-03-26 12:33:00 <merijn> mesaoptimizer: I mean, that error seems rather self-explanatory?
2026-03-26 12:33:15 <merijn> i.e. "you gotta link with the threaded runtime"
2026-03-26 12:33:22 <merijn> and tbh, you should probably be doing that anyway
2026-03-26 12:37:20 <mesaoptimizer> merijn: thanks but I have no idea what to do. I did my google searches and didn't figure out what would fix it. I don't ask LLMs for help in general.
2026-03-26 12:37:55 <merijn> mesaoptimizer: ghc literally has a flag which runtime to use, you just add that to the ghc-options for your executable :)
2026-03-26 12:38:38 <merijn> -threaded is the one you want
2026-03-26 12:39:07 <merijn> i.e. "ghc -threaded MyApp.hs" or "ghc-options: -thread" in the cabal file for your executable
2026-03-26 12:39:59 <merijn> mesaoptimizer: The runtime system comes in two (well, a lot more, but let's keep it simple) the single-threaded one (which is the default, at least on older GHCs there was some talk about making the threaded one default) and the threaded runtime system which lets you spawn multiple capabilities running haskell code in parallel
2026-03-26 12:40:40 <merijn> mesaoptimizer: As the error you got says, the TimerManager (which your code is transitively using) is only present in the threaded one, so if your application is build with the non-threaded one it just errors
2026-03-26 12:41:22 <merijn> Correction: "ghc-options: -threaded" (obv)
2026-03-26 12:41:44 <merijn> mesaoptimizer: ghci is (presumably) using the threaded RTS, which is why it works from the repl
2026-03-26 12:42:23 <mesaoptimizer> merijn: well that is disturbing but it worked. I also had to wipe `dist-newstyle/` before cabal built it such that it didn't error, strangely
2026-03-26 12:43:18 <mesaoptimizer> merijn: thanks! I guess I inferred that `ghci-options: -threaded` didn't do the trick when I encountered it in my Google search, because of the `dist-newstyle/` thing
2026-03-26 12:43:41 × xff0x quits (~xff0x@2405:6580:b080:900:634f:4ad0:7953:dee2) (Ping timeout: 252 seconds)
2026-03-26 12:43:55 <mesaoptimizer> ('Haskell. We move the footguns out of the language, and into the tooling.')
2026-03-26 12:44:34 somemathguy joins (~somemathg@user/somemathguy)
2026-03-26 12:45:39 <merijn> mesaoptimizer: https://github.com/ghc-proposals/ghc-proposals/pull/240
2026-03-26 12:45:48 <merijn> There's a proposal accepted in 2023 to change the default
2026-03-26 12:45:55 <merijn> But I'm not sure if/when that was shipped in GHC
2026-03-26 12:46:13 <mesaoptimizer> oh, I don't mind if the default is non-threaded, at least it failed loudly
2026-03-26 12:46:46 <mesaoptimizer> the thing I disliked was that I had to have faith that you were correct, and that `-threaded` really solved it, so the issue was elsewhere, and then try stuff like `rm -rf dist-*` and then do a `cabal build`
2026-03-26 12:47:16 <merijn> That is weird
2026-03-26 12:47:28 <merijn> changing ghc-options should invalidate the build artifacts
2026-03-26 12:47:55 <merijn> If it doesn't, that's a bug in cabal-install
2026-03-26 12:48:37 <int-e> No, it would be a bug in GHC because GHC does the dependency resolution and recompilation check.
2026-03-26 12:50:57 <mesaoptimizer> It can be an issue on my end too, so here's a console log fwiw: https://paste.sh/jbbxX3g7#z8HGi5dZcVA4bk4McZrk7ZW9
2026-03-26 12:53:49 arandombit joins (~arandombi@2a02:2455:8656:7100:aca1:7d8e:a853:6b5d)
2026-03-26 12:53:49 × arandombit quits (~arandombi@2a02:2455:8656:7100:aca1:7d8e:a853:6b5d) (Changing host)
2026-03-26 12:53:49 arandombit joins (~arandombi@user/arandombit)
2026-03-26 13:01:39 × mistivia quits (~mistivia@user/mistivia) (Remote host closed the connection)
2026-03-26 13:01:54 mistivia joins (~mistivia@user/mistivia)
2026-03-26 13:04:12 <merijn> int-e: cabal decides whether to call GHC at all
2026-03-26 13:04:33 <int-e> merijn: You can see that it's building the executable.
2026-03-26 13:05:15 <merijn> I can't, because I don't see any output :p
2026-03-26 13:05:33 Enrico63 joins (~Enrico63@109.55.235.77)
2026-03-26 13:05:46 <merijn> oh, fun, in that paste it's the tests failing :p
2026-03-26 13:05:48 <int-e> "Building executable 'test-wai' for test-wai-0.1.0.0..."

All times are in UTC.