2024/11/14

Newest at the top

2024-11-14 21:02:40 +0100 <lxsameer> c_wraith: ahh I see. I use nix with cabal, the good thing is I use nix packages and it's pretty fast
2024-11-14 21:02:23 +0100 <geekosaur> (consider that a solver in thsi case is a constraint satisfaction solver, so yes, it's pretty slow)
2024-11-14 21:02:00 +0100hellwolf(~user@da7f-daa3-a2f4-21df-0f00-4d40-07d0-2001.sta.estpak.ee) hellwolf
2024-11-14 21:01:58 +0100 <geekosaur> stack is much faster because instead of using a solver it gets fixed versions from the snapshot and `extra-deps`
2024-11-14 21:01:56 +0100hellwolf(~user@da7f-daa3-a2f4-21df-0f00-4d40-07d0-2001.sta.estpak.ee) ()
2024-11-14 21:01:31 +0100 <geekosaur> cabal rebuilds on first run and when the script changes. sadly its solver is really slow; people are working on that, though
2024-11-14 21:01:02 +0100hellwolf(~user@da7f-daa3-a2f4-21df-0f00-4d40-07d0-2001.sta.estpak.ee) hellwolf
2024-11-14 21:01:00 +0100 <c_wraith> (Not helped by attempting to use NixOS at one of the few times it actually was installing broken stuff. Not fair, but I still associate that experience with nix)
2024-11-14 21:00:57 +0100 <lxsameer> c_wraith: how come?
2024-11-14 21:00:44 +0100hellwolf(~user@da7f-daa3-a2f4-21df-0f00-4d40-07d0-2001.sta.estpak.ee) (Quit: rcirc on GNU Emacs 29.4)
2024-11-14 21:00:43 +0100caconym(~caconym@user/caconym) caconym
2024-11-14 21:00:03 +0100caconym(~caconym@user/caconym) (Quit: bye)
2024-11-14 21:00:02 +0100 <c_wraith> I like the theory, but every time I've tried to use it it's been immensely more complexity than benefit
2024-11-14 20:59:45 +0100 <lxsameer> * use nix
2024-11-14 20:59:37 +0100tromp(~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
2024-11-14 20:57:56 +0100 <lxsameer> why don't you folks nix? out of curiosity
2024-11-14 20:57:14 +0100sprotte24(~sprotte24@p200300d16f0f4e0080b9b718c313bb1e.dip0.t-ipconnect.de)
2024-11-14 20:55:58 +0100 <hellwolf> that'd be even more "script-ish"
2024-11-14 20:55:50 +0100 <hellwolf> Cabal scripts is convenient, you just need to be aware of the junks it leave behind: ~/.cabal/script-builds/. I wish it has a convenient way of running the script in interpreting mode though, without creating any artifacts.
2024-11-14 20:54:39 +0100shapr(~user@2601:19c:417e:5434:4627:df70:3bf6:c2cb) (Quit: walkies)
2024-11-14 20:54:01 +0100chexum(~quassel@gateway/tor-sasl/chexum) (Ping timeout: 260 seconds)
2024-11-14 20:53:46 +0100mantraofpie_mantraofpie
2024-11-14 20:53:30 +0100chexum_(~quassel@gateway/tor-sasl/chexum) chexum
2024-11-14 20:53:26 +0100mantraofpie(~mantraofp@user/mantraofpie) (Ping timeout: 260 seconds)
2024-11-14 20:52:48 +0100 <c_wraith> I may need to look into using the partial-hackage-mirror script in the cache as well.
2024-11-14 20:52:46 +0100CoolMa7(~CoolMa7@ip5f5b8957.dynamic.kabel-deutschland.de) CoolMa7
2024-11-14 20:52:31 +0100mantraofpie_(~mantraofp@user/mantraofpie) mantraofpie
2024-11-14 20:52:30 +0100weary-traveler(~user@user/user363627) (Remote host closed the connection)
2024-11-14 20:52:06 +0100ljdarj1ljdarj
2024-11-14 20:52:06 +0100ljdarj(~Thunderbi@user/ljdarj) (Ping timeout: 265 seconds)
2024-11-14 20:51:08 +0100 <shapr> tiny blog post: https://www.scannedinavian.com/how-to-run-haskell-source-files-like-shell-scripts.html
2024-11-14 20:50:47 +0100 <c_wraith> I recently made my CI cache the cabal index as well as built packages. Turns out it can load from the cache *marginally* faster than from hackage.
2024-11-14 20:48:35 +0100ljdarj1(~Thunderbi@user/ljdarj) ljdarj
2024-11-14 20:47:03 +0100 <shapr> So far, only problem is that using cabal as the interpreter directive takes about two minutes on first run, ouch
2024-11-14 20:46:32 +0100 <lxsameer> I just found out about bluefin, and omg it's much much clearer that effectful for me, kudos!!!
2024-11-14 20:40:17 +0100 <geekosaur> hackage is immutable append-only storage
2024-11-14 20:39:58 +0100 <geekosaur> even those are on hackage, just flagged as deprecated
2024-11-14 20:31:55 +0100 <c_wraith> ... give or take some that had security issues so bad it was determined no one should ever use that version
2024-11-14 20:25:15 +0100 <sm> sure.. all old versions are stored on hackage
2024-11-14 20:18:44 +0100housemate(~housemate@146.70.66.228) (Max SendQ exceeded)
2024-11-14 20:18:30 +0100Lestat9(~Admin1@47.203.239.77) (K-Lined)
2024-11-14 20:17:04 +0100 <hellwolf> basic question regarding cabal... if you specify a version that is not the "HEAD" of the package, would cabal be able to retrieve it from somewhere still?
2024-11-14 20:16:38 +0100hellwolf(~user@da7f-daa3-a2f4-21df-0f00-4d40-07d0-2001.sta.estpak.ee) hellwolf
2024-11-14 20:16:14 +0100housemate(~housemate@146.70.66.228) housemate
2024-11-14 20:15:49 +0100housemate(~housemate@146.70.66.228) (Remote host closed the connection)
2024-11-14 20:14:55 +0100housemate(~housemate@146.70.66.228) housemate
2024-11-14 20:14:27 +0100housemate(~housemate@146.70.66.228) (Max SendQ exceeded)
2024-11-14 20:12:04 +0100housemate(~housemate@146.70.66.228) housemate
2024-11-14 20:11:36 +0100housemate(~housemate@146.70.66.228) (Max SendQ exceeded)
2024-11-14 20:09:14 +0100housemate(~housemate@146.70.66.228) housemate