2025/04/04

Newest at the top

2025-04-04 07:29:31 +0200 <sim590> It seems like cabal decided to use the wrong NetworkState file in the root directory (that didn't have the constructor) even though `hs-source-dirs:` for `habanga-core` said `src/core`. So like if you have files in subdirectories, it's possible cabal/ghc confuses files in the root directories with files in the subdirectories. Seems like a bug.
2025-04-04 07:28:50 +0200ERR0R157(~ERR0R157@user/ERR0R157) (Remote host closed the connection)
2025-04-04 07:26:36 +0200merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 265 seconds)
2025-04-04 07:24:25 +0200 <sim590> Ah gawd. It seems like my Vim decided to save the file in the root directory of the repo instead of it's usual path and I,ve been editing that file since. Damn.
2025-04-04 07:22:15 +0200weary-traveler(~user@user/user363627) (Remote host closed the connection)
2025-04-04 07:22:11 +0200 <sim590> OK. There's clearly something. I'm not sure what it is yet. The file seems to be OK on disk, but git says it's "untracked". Even though, I committed it...
2025-04-04 07:21:57 +0200 <haskellbridge> <Liamzee> is there a simpler way to do (unur . move)?
2025-04-04 07:21:32 +0200merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-04-04 07:21:05 +0200 <c_wraith> ... which is surprisingly common
2025-04-04 07:20:51 +0200 <c_wraith> That sounds way more confusing than any time I've saved to the wrong file.
2025-04-04 07:20:08 +0200 <sim590> I think I was editing the file in the Git staging area. Because of fugitive.vim.
2025-04-04 07:19:44 +0200 <sim590> Fuc
2025-04-04 07:19:42 +0200 <sim590> Oh.
2025-04-04 07:19:20 +0200 <sim590> Yes :D
2025-04-04 07:19:12 +0200 <c_wraith> Ok, getting into real "just in case" territory - are you sure you've saved the change?
2025-04-04 07:17:54 +0200 <sim590> It's in NetworkState
2025-04-04 07:17:47 +0200 <sim590> it does compile it.. :/
2025-04-04 07:17:41 +0200gmg(~user@user/gehmehgeh) gehmehgeh
2025-04-04 07:17:40 +0200 <sim590> c_wraith: here's what I got: https://paste.debian.net/1367361/
2025-04-04 07:17:06 +0200peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com) peterbecich
2025-04-04 07:16:59 +0200gmg(~user@user/gehmehgeh) (Remote host closed the connection)
2025-04-04 07:16:42 +0200 <c_wraith> but I suppose you know what I meant
2025-04-04 07:16:34 +0200 <c_wraith> oh, I had that backwards. -core is the one that might not be recompiling
2025-04-04 07:15:30 +0200 <sim590> That would explain.
2025-04-04 07:15:06 +0200 <sim590> Let me check.
2025-04-04 07:15:03 +0200 <sim590> Oh I see.
2025-04-04 07:14:48 +0200 <c_wraith> Did it actually compile that component during the recompile?
2025-04-04 07:14:24 +0200 <sim590> Same error.
2025-04-04 07:14:21 +0200 <sim590> Then, I recompiled.
2025-04-04 07:14:18 +0200 <sim590> I did a full `v2-clean`.
2025-04-04 07:14:07 +0200 <c_wraith> did the habanga-tui component get recompiled?
2025-04-04 07:10:57 +0200merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds)
2025-04-04 07:08:53 +0200takuan(~takuan@d8D86B601.access.telenet.be)
2025-04-04 07:07:18 +0200 <sim590> If I replace `NS.Offline` by `_`, it compiles correctly...
2025-04-04 07:05:59 +0200 <sim590> It is exported... All types and constructors are exported by that module. So, GHC is wrong here. But I don't get it.
2025-04-04 07:05:45 +0200merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-04-04 07:05:26 +0200 <sim590> scope: data constructor ‘NS.Offline’". Wtf ?
2025-04-04 07:05:24 +0200 <sim590> I just added the data constructor `Offline` here: https://github.com/sim590/habanga/blob/b965deab3e7a3802c93bcfc6d46df58eabda28d4/src/core/NetworkSt… And I tried using it over here: https://github.com/sim590/habanga/blob/b965deab3e7a3802c93bcfc6d46df58eabda28d4/src/tui/GameView.h… and it compiles correctly according to HLS (Haskell Language Server), but cabal build gives "Not in
2025-04-04 07:01:33 +0200tavare(~tavare@user/tavare) (Remote host closed the connection)
2025-04-04 06:56:07 +0200ERR0R157(~ERR0R157@user/ERR0R157) ERR0R157
2025-04-04 06:55:24 +0200merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 268 seconds)
2025-04-04 06:49:59 +0200merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-04-04 06:47:17 +0200tavare(~tavare@user/tavare) tavare
2025-04-04 06:47:17 +0200tavare(~tavare@150.129.88.189) (Changing host)
2025-04-04 06:47:17 +0200tavare(~tavare@150.129.88.189)
2025-04-04 06:42:24 +0200jmcantrell_jmcantrell
2025-04-04 06:42:23 +0200jmcantrell(~weechat@user/jmcantrell) (Quit: WeeChat 4.6.0)
2025-04-04 06:34:50 +0200 <haskellbridge> <Liamzee> whereas on their benchmarks, it's roughly 2x the time
2025-04-04 06:34:24 +0200 <haskellbridge> <Liamzee> on my system, quot does not introduce any advantages over div, but i'm on apple silicon, but the Haskell on apple silicon is taking 50% more time than the C
2025-04-04 06:33:44 +0200 <haskellbridge> <Liamzee> https://benchmarksgame-team.pages.debian.net/benchmarksgame/performance/pidigits.html