2025/01/10

2025-01-10 00:01:15 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2025-01-10 00:01:37 +0100machinedgod(~machinedg@d108-173-18-100.abhsia.telus.net) (Remote host closed the connection)
2025-01-10 00:03:00 +0100machinedgod(~machinedg@d108-173-18-100.abhsia.telus.net) machinedgod
2025-01-10 00:06:15 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
2025-01-10 00:07:38 +0100Buliarous(~gypsydang@46.232.210.139) (Ping timeout: 252 seconds)
2025-01-10 00:09:17 +0100Buliarous(~gypsydang@46.232.210.139) Buliarous
2025-01-10 00:10:13 +0100YuutaW(~YuutaW@2404:f4c0:f9c3:502::100:17b7) (Quit: ZNC 1.9.1 - https://znc.in)
2025-01-10 00:10:49 +0100YuutaW(~YuutaW@2404:f4c0:f9c3:502::100:17b7) YuutaW
2025-01-10 00:11:11 +0100Buliarous(~gypsydang@46.232.210.139) (Remote host closed the connection)
2025-01-10 00:11:40 +0100Buliarous(~gypsydang@46.232.210.139) Buliarous
2025-01-10 00:12:33 +0100xff0x(~xff0x@2405:6580:b080:900:f740:949c:e296:8382) (Quit: xff0x)
2025-01-10 00:13:40 +0100Unicorn_Princess(~Unicorn_P@user/Unicorn-Princess/x-3540542) (Remote host closed the connection)
2025-01-10 00:16:38 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2025-01-10 00:21:14 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
2025-01-10 00:21:27 +0100tromp(~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
2025-01-10 00:22:49 +0100housemate_(~housemate@pa49-185-168-48.pa.vic.optusnet.com.au) housemate
2025-01-10 00:23:08 +0100housemate_(~housemate@pa49-185-168-48.pa.vic.optusnet.com.au) (Remote host closed the connection)
2025-01-10 00:24:57 +0100housemate(~housemate@pa49-183-78-10.pa.vic.optusnet.com.au) (Ping timeout: 244 seconds)
2025-01-10 00:30:02 +0100euphores(~SASL_euph@user/euphores) (Read error: Connection reset by peer)
2025-01-10 00:30:47 +0100euphores(~SASL_euph@user/euphores) euphores
2025-01-10 00:32:01 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2025-01-10 00:38:57 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
2025-01-10 00:42:45 +0100philopsos(~caecilius@user/philopsos) (Ping timeout: 246 seconds)
2025-01-10 00:44:11 +0100xff0x(~xff0x@2405:6580:b080:900:fcda:45c6:b5b3:4ead)
2025-01-10 00:50:03 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2025-01-10 00:51:59 +0100__monty__(~toonn@user/toonn) (Quit: leaving)
2025-01-10 00:54:56 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
2025-01-10 00:55:45 +0100dsrt^(~dsrt@c-98-242-74-66.hsd1.ga.comcast.net)
2025-01-10 01:01:54 +0100orangeFlu(~orangeFlu@240-100-179-143.ftth.glasoperator.nl) (Ping timeout: 252 seconds)
2025-01-10 01:03:54 +0100orangeFlu(orangeFlu@gateway/vpn/protonvpn/orangeflu) orangeFlu
2025-01-10 01:05:33 +0100itscaleb(~itscaleb@user/itscaleb) (Quit: away)
2025-01-10 01:05:33 +0100rdcdr(~rdcdr@user/rdcdr) (Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in)
2025-01-10 01:05:47 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2025-01-10 01:06:16 +0100itscaleb(~itscaleb@user/itscaleb) itscaleb
2025-01-10 01:06:18 +0100rdcdr(~rdcdr@user/rdcdr) rdcdr
2025-01-10 01:08:40 +0100vanishingideal(~vanishing@user/vanishingideal) (Read error: Connection reset by peer)
2025-01-10 01:10:45 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 276 seconds)
2025-01-10 01:20:37 +0100itscaleb(~itscaleb@user/itscaleb) (Read error: Connection reset by peer)
2025-01-10 01:20:37 +0100rdcdr(~rdcdr@user/rdcdr) (Read error: Connection reset by peer)
2025-01-10 01:20:55 +0100itscaleb(~itscaleb@user/itscaleb) itscaleb
2025-01-10 01:20:58 +0100rdcdr(~rdcdr@user/rdcdr) rdcdr
2025-01-10 01:21:07 +0100acidjnk_new(~acidjnk@p200300d6e7283f44e10a42b706ab358a.dip0.t-ipconnect.de) (Ping timeout: 264 seconds)
2025-01-10 01:21:10 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2025-01-10 01:23:49 +0100Buliarous(~gypsydang@46.232.210.139) (Quit: leaving)
2025-01-10 01:24:17 +0100Buliarous(~gypsydang@46.232.210.139) Buliarous
2025-01-10 01:25:44 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
2025-01-10 01:35:29 +0100dysthesis(~dysthesis@user/dysthesis) dysthesis
2025-01-10 01:36:34 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2025-01-10 01:37:21 +0100agent314(~quassel@37.19.210.25) (Ping timeout: 246 seconds)
2025-01-10 01:38:19 +0100machinedgod(~machinedg@d108-173-18-100.abhsia.telus.net) (Ping timeout: 252 seconds)
2025-01-10 01:40:15 +0100OftenFaded1(~OftenFade@user/tisktisk) (Quit: Client closed)
2025-01-10 01:40:49 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
2025-01-10 01:42:17 +0100vanishingideal(~vanishing@user/vanishingideal) vanishingideal
2025-01-10 01:42:52 +0100Square2(~Square4@user/square) Square
2025-01-10 01:45:09 +0100Square(~Square@user/square) (Ping timeout: 252 seconds)
2025-01-10 01:45:17 +0100haskellbridge(~hackager@syn-024-093-192-219.res.spectrum.com) (Remote host closed the connection)
2025-01-10 01:46:30 +0100haskellbridge(~hackager@syn-024-093-192-219.res.spectrum.com) hackager
2025-01-10 01:46:30 +0100ChanServ+v haskellbridge
2025-01-10 01:50:58 +0100philopsos(~caecilius@user/philopsos) philopsos
2025-01-10 01:51:56 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2025-01-10 01:52:16 +0100vanishingideal(~vanishing@user/vanishingideal) (Remote host closed the connection)
2025-01-10 01:52:50 +0100Jeanne-Kamikaze(~Jeanne-Ka@142.147.89.198) Jeanne-Kamikaze
2025-01-10 01:53:58 +0100vanishingideal(~vanishing@user/vanishingideal) vanishingideal
2025-01-10 01:55:29 +0100nkatte(~nkatte@user/nkatte) (Remote host closed the connection)
2025-01-10 01:56:41 +0100emmanuelux(~emmanuelu@user/emmanuelux) emmanuelux
2025-01-10 01:57:18 +0100prasad(~Thunderbi@2601:243:c001:3f07::e5)
2025-01-10 01:57:38 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
2025-01-10 02:01:18 +0100sprotte24(~sprotte24@p200300d16f253600c5a38787ced491fd.dip0.t-ipconnect.de) (Quit: Leaving)
2025-01-10 02:03:17 +0100stiell(~stiell@gateway/tor-sasl/stiell) (Remote host closed the connection)
2025-01-10 02:04:03 +0100stiell(~stiell@gateway/tor-sasl/stiell) stiell
2025-01-10 02:06:46 +0100orangeFlu(orangeFlu@gateway/vpn/protonvpn/orangeflu) (Ping timeout: 272 seconds)
2025-01-10 02:08:28 +0100orangeFlu(~orangeFlu@240-100-179-143.ftth.glasoperator.nl) orangeFlu
2025-01-10 02:08:54 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2025-01-10 02:10:55 +0100xff0x(~xff0x@2405:6580:b080:900:fcda:45c6:b5b3:4ead) (Ping timeout: 264 seconds)
2025-01-10 02:15:36 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
2025-01-10 02:18:07 +0100Tuplanolla(~Tuplanoll@91-159-69-59.elisa-laajakaista.fi) (Quit: Leaving.)
2025-01-10 02:18:41 +0100takuan(~takuan@178-116-218-225.access.telenet.be) (Ping timeout: 248 seconds)
2025-01-10 02:26:43 +0100vanishingideal(~vanishing@user/vanishingideal) (Remote host closed the connection)
2025-01-10 02:26:56 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2025-01-10 02:27:22 +0100supercode(~supercode@user/supercode) (Quit: Client closed)
2025-01-10 02:31:22 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
2025-01-10 02:32:08 +0100euouae(~euouae@user/euouae) euouae
2025-01-10 02:32:41 +0100 <euouae> Hello why does `stack --stack-yaml stack.yaml exec ghc -- --numeric-version` return 9.8.4?
2025-01-10 02:32:51 +0100 <euouae> for my project that I craeted with stack 3.1.1?
2025-01-10 02:33:34 +0100 <euouae> I think it retunrs the version in ~/.stack/global-projects/stack.yaml as `resolver: nightly-2024-09-26` but how should I configure my setup to prevent this? I can't load lsp correclty
2025-01-10 02:38:15 +0100otto_s(~user@p4ff270f4.dip0.t-ipconnect.de) (Ping timeout: 244 seconds)
2025-01-10 02:38:33 +0100 <geekosaur> what's the snapshot (or resolver) in your stack.yaml?
2025-01-10 02:38:38 +0100Smiles(uid551636@id-551636.lymington.irccloud.com) Smiles
2025-01-10 02:38:47 +0100 <euouae> there is none, I created the project with `stack new foo`
2025-01-10 02:39:13 +0100 <euouae> it says snapshot: url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/23/3.yaml
2025-01-10 02:39:36 +0100 <geekosaur> uh, there should always be one in there, if there isn't then it should use the one from the global as a default but it should always add one
2025-01-10 02:39:55 +0100 <euouae> from the link I can see resolver: compiler: ghc-9.8.4
2025-01-10 02:40:00 +0100 <geekosaur> yes, that5 LTS uses 9.8.4
2025-01-10 02:40:14 +0100otto_s(~user@p5de2f8cc.dip0.t-ipconnect.de)
2025-01-10 02:40:18 +0100 <euouae> why is LTS 9.8.4 and ghcup recommended is different versions?
2025-01-10 02:40:20 +0100 <geekosaur> if you want to change it, use a different resolver
2025-01-10 02:40:28 +0100orangeFlu(~orangeFlu@240-100-179-143.ftth.glasoperator.nl) (Quit: Lost terminal)
2025-01-10 02:40:33 +0100Guest57(~Guest57@2a00:fbc:ead6:daa8:3d67:28a5:8699:d1db)
2025-01-10 02:40:42 +0100 <geekosaur> because stack does things its own way
2025-01-10 02:41:01 +0100 <geekosaur> if you don't install the ghcup shim it even installs its own private ghcs instead of ghcup's
2025-01-10 02:41:19 +0100 <geekosaur> (but then you have to build your own HLSs to work with them)
2025-01-10 02:41:52 +0100HappyNewYear2025(~newyear@2.219.56.221) (Ping timeout: 244 seconds)
2025-01-10 02:42:19 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2025-01-10 02:42:21 +0100 <geekosaur> stack predates ghcup and was intended to be an all-in-one solution
2025-01-10 02:43:28 +0100 <euouae> I just installed the shim like you said, but I guess that was anothe rthing
2025-01-10 02:43:39 +0100 <geekosaur> also, while stack snapshots tend to be fairly recent, ghcup is quite conservative
2025-01-10 02:43:49 +0100 <euouae> Yeah that makes sense, more stable
2025-01-10 02:43:58 +0100 <euouae> I am new to this stuff (or it's been years) so I don't remember any of it
2025-01-10 02:44:08 +0100 <geekosaur> although supposedly with the next patch release to 9.6 that will become ghcup recommended
2025-01-10 02:44:30 +0100 <euouae> How do I figure out which snapshot to use with stack if I have ghc 9.4.8? Does it follow that version?
2025-01-10 02:44:46 +0100 <geekosaur> stackage.org has a list
2025-01-10 02:45:00 +0100 <geekosaur> it says the latest snapshot for 9.4.8 is 21.25
2025-01-10 02:45:13 +0100 <euouae> nice! thank you!!!
2025-01-10 02:47:12 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
2025-01-10 02:47:52 +0100_73(~user@pool-173-76-100-193.bstnma.fios.verizon.net) _73
2025-01-10 02:48:03 +0100hawer(~newyear@2.219.56.221)
2025-01-10 02:51:02 +0100 <euouae> how can I make this the default behavior?
2025-01-10 02:51:10 +0100 <euouae> sigh this is difficult to figure out... I guess I can use stack new --resolver
2025-01-10 02:52:05 +0100 <geekosaur> edit that file in ~/.stack to specify the snapshot you want by default
2025-01-10 02:53:24 +0100 <geekosaur> you probably want to do that anyway as that's a relatively old nightly; if you want ghc 9.8 you want LTS 23.3
2025-01-10 02:53:37 +0100 <geekosaur> and nightlies are not especially stable
2025-01-10 02:54:00 +0100housemate(~housemate@pa49-185-174-252.pa.vic.optusnet.com.au) housemate
2025-01-10 02:54:06 +0100 <geekosaur> oh right, that's what you got at first, sorry
2025-01-10 02:54:23 +0100 <euouae> I've tried to edit ~/.stack/config.yaml and ~/.stack/global-projects/stack.yaml but neither works with `stack new`
2025-01-10 02:54:46 +0100 <euouae> Maybe I shouldn't use stack?
2025-01-10 02:55:48 +0100 <geekosaur> no, it just means I'm not actually a stack expert and don't know the exact place to edit off the top of my head 🙂
2025-01-10 02:56:09 +0100 <geekosaur> (I'm mostly a cabal user and only use stack when debuggig an xmonad user's config that's stack-based)
2025-01-10 02:56:27 +0100 <euouae> it does make me a little sekptical because I can't figure out in the docs where 'resolver' is mentioned
2025-01-10 02:56:32 +0100 <haskellbridge> <sm> "stack new" is a command I think not many people use, do its docs say how to configure it ?
2025-01-10 02:56:55 +0100 <haskellbridge> <sm> https://docs.haskellstack.org/en/stable/commands/new_command/
2025-01-10 02:57:37 +0100 <euouae> apparently the value in ~/.stack/config.yaml must be indented to take effect
2025-01-10 02:57:41 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2025-01-10 02:58:33 +0100 <haskellbridge> <sm> if I'm reading it right, https://github.com/commercialhaskell/stack-templates/blob/master/new-template.hsfiles seems to be the default template. But it doesn't seem to provide the stack.yaml file itself.
2025-01-10 02:58:48 +0100 <geekosaur> it might not be mentioned because recent versions of stack renamed it to "snapshot"
2025-01-10 02:58:55 +0100 <haskellbridge> <sm> #haskell-stack:matrix.org (https://matrix.to/#/#haskell-stack:matrix.org) will know for sure
2025-01-10 02:59:33 +0100 <euouae> I don't use matrix though, I'm bothered by their encryption
2025-01-10 03:00:05 +0100 <haskellbridge> <sm> ah. Well these are all FOSS rooms, unencrypted
2025-01-10 03:00:29 +0100 <euouae> no, I meant to say that I dislike vector.im and their phony privacy thing
2025-01-10 03:01:44 +0100 <euouae> interesting that I've specified GPL-3.0 in my ~/.stack/config.yaml template but it still gave me BSD too
2025-01-10 03:01:53 +0100 <haskellbridge> <sm> I think you're right that "stack new" will use whatever snapshot you have in your global user config
2025-01-10 03:02:10 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
2025-01-10 03:02:23 +0100 <euouae> it also calls it copyright: ... when it's a license. o_O
2025-01-10 03:02:58 +0100 <euouae> I'm wondering if that was me being an idiot back then. Well I've made up my mind, I'm switching to cabal before I go nuts
2025-01-10 03:04:15 +0100vanishingideal(~vanishing@user/vanishingideal) vanishingideal
2025-01-10 03:09:24 +0100 <euouae> sm: if you care, <https://gitlab.com/libremonde-org/papers/research/privacy-matrix.org>, it's criticism of the privacy "features" of matrix
2025-01-10 03:10:25 +0100 <haskellbridge> <sm> thank you. I don't use it for privacy currently
2025-01-10 03:10:58 +0100rdcdr(~rdcdr@user/rdcdr) (Ping timeout: 252 seconds)
2025-01-10 03:11:22 +0100itscaleb(~itscaleb@user/itscaleb) (Ping timeout: 265 seconds)
2025-01-10 03:11:53 +0100xff0x(~xff0x@fsb6a9491c.tkyc517.ap.nuro.jp)
2025-01-10 03:12:50 +0100 <euouae> although `--resolver 21.25` works from the command line for `stack new`, and although `stack new` informs me that I can set parameters under ~/.stack/config.yaml uner templates: params: it does seem to get ignored
2025-01-10 03:13:03 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2025-01-10 03:13:10 +0100 <euouae> I've tried both resolver: lts-21.25, resolver: compiler: ghc-9.4.8, resolver: ghc-9.4.8 and snapshot: lts-21.25
2025-01-10 03:13:25 +0100 <haskellbridge> <sm> I can't test right now because of the usual transient network failures with some back end server :(
2025-01-10 03:13:43 +0100 <haskellbridge> <sm> if I hear more, I'll cc it here
2025-01-10 03:13:48 +0100 <euouae> When I read the message under `stack new` I see: "Selecting the best among 13 snapshots..."
2025-01-10 03:13:56 +0100 <euouae> It seems like it's deciding based on some heuristic instead of my setting
2025-01-10 03:14:35 +0100 <haskellbridge> <sm> euouae: the parameters you can set, might be just the parameters defined in the template you are using ? not sure
2025-01-10 03:15:14 +0100 <haskellbridge> <sm> eg {{name}} and {{category}} in https://github.com/commercialhaskell/stack-templates/blob/master/new-template.hsfiles. The stack.yaml snapshot is not one of those
2025-01-10 03:16:02 +0100 <euouae> sm, you must be right. this is so difficult lol.
2025-01-10 03:16:25 +0100 <haskellbridge> <sm> oh yes, unless you specify it on command line it will probably look at the package.yaml generated from the template, and try to pick the snapshot that is likely to work with that
2025-01-10 03:16:56 +0100 <haskellbridge> <sm> stack is well designed, but haskell tooling is a bit complex, it takes more than a few minutes to grok
2025-01-10 03:17:00 +0100orangeFlu(orangeFlu@gateway/vpn/protonvpn/orangeflu) orangeFlu
2025-01-10 03:17:39 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
2025-01-10 03:18:44 +0100vanishing(~vanishing@user/vanishingideal) vanishingideal
2025-01-10 03:19:36 +0100vanishingideal(~vanishing@user/vanishingideal) (Ping timeout: 272 seconds)
2025-01-10 03:20:01 +0100 <euouae> alright thanks. I'll move on by just using the command line for nwo
2025-01-10 03:20:53 +0100 <haskellbridge> <sm> (GHC's way of optimising and linking causes tight version sensitivities, which complicates everything else above. Also the tools have a long dev history.)