Newest at the top
2024-11-14 21:22:07 +0100 | <guy_> | (here for anyone that cant see the scrollup https://vocaroo.com/14nNu3Nm5FaV) |
2024-11-14 21:21:41 +0100 | <sm> | more stack trivia: don't miss `stack script --compile`, which will auto (re)compile the script, or run the compiled version if it already exists, for instant startup |
2024-11-14 21:21:38 +0100 | <guy_> | feel free to open up a dm conversation if your listening along and i can answer any questions you might want to keep off the main channel, otherwise i guess ill wait for about 20 mins to see if anyone makes it to the end of the voice note, and if anyone enjoys the theory and is interested in the work im doing |
2024-11-14 21:21:35 +0100 | guy15 | guy_ |
2024-11-14 21:21:17 +0100 | guy15 | (~guy@2a01:4b00:d007:ed00:81c3:85aa:e2c9:6027) |
2024-11-14 21:21:12 +0100 | <shapr> | sm: good point |
2024-11-14 21:20:56 +0100 | <shapr> | `nix-shell -p cabal-install ghc` is what I used to test this. |
2024-11-14 21:20:43 +0100 | <shapr> | oops |
2024-11-14 21:20:43 +0100 | <sm> | `stack script` can also take minutes, possibly many minutes, the first time you run a script, and it might appear hung for part of that time; adding --verbosity=info to the shebang line shows more progress output. Like cabal it could be building half of hackage (say your script uses pandoc or hakyll :). Unlike cabal it could be installing GHC, as well. |
2024-11-14 21:20:41 +0100 | <shapr> | Yeah, since I'm using NixOS and a just-created empty environment with `nix |
2024-11-14 21:20:06 +0100 | <hellwolf> | most likely, it was building packages that you hadn't built for that version of GHC |
2024-11-14 21:19:35 +0100 | <hellwolf> | or -v2 |
2024-11-14 21:19:20 +0100 | <hellwolf> | shapr, you can use "#!/usr/bin/env -S cabal run -v1" |
2024-11-14 21:19:16 +0100 | <lambdabot> | Unknown command, try @list |
2024-11-14 21:19:16 +0100 | <hellwolf> | @shapr, you can use "#!/usr/bin/env -S cabal run -v1" |
2024-11-14 21:19:13 +0100 | <c_wraith> | two minutes is not improbable for `cabal update` with no previous state to add to |
2024-11-14 21:18:53 +0100 | <shapr> | sm: I'd guess it's doing `cabal update` and then `cabal build` but I wouldn't expect it to take that long? |
2024-11-14 21:18:29 +0100 | <shapr> | sm: I haven't looked, and I didn't see anything obvious in the docs for `cabal run` |
2024-11-14 21:17:18 +0100 | <sm> | shapr: nice post. What's cabal doing in the two minutes ? |
2024-11-14 21:16:57 +0100 | <guy> | i was wondering if anyne would like to take a listen and we could have a discussion |
2024-11-14 21:16:46 +0100 | <guy> | https://voca.ro/14nNu3Nm5FaV |
2024-11-14 21:16:44 +0100 | <guy> | hi! i have made a recording describing haskell as a "nonliner graphically complete programming language" |
2024-11-14 21:16:23 +0100 | <c_wraith> | aw, darn. the partial-hackage-mirror script only grabs packages. It doesn't thin the index data. |
2024-11-14 21:16:11 +0100 | guy | (~guy@2a01:4b00:d007:ed00:81c3:85aa:e2c9:6027) |
2024-11-14 21:15:59 +0100 | hellwolf | sometimes living on the edge |
2024-11-14 21:15:54 +0100 | <hellwolf> | (in fairness stack freezes a set for you, too) |
2024-11-14 21:14:54 +0100 | weary-traveler | (~user@user/user363627) user363627 |
2024-11-14 21:14:53 +0100 | <hellwolf> | I am a reproducibility maximalist. |
2024-11-14 21:14:44 +0100 | housemate | (~housemate@146.70.66.228) (Remote host closed the connection) |
2024-11-14 21:14:22 +0100 | <hellwolf> | nix + cabal freeze file is underrated |
2024-11-14 21:14:08 +0100 | machinedgod | (~machinedg@d108-173-18-100.abhsia.telus.net) machinedgod |
2024-11-14 21:13:15 +0100 | <jle`> | thanks statusbot |
2024-11-14 21:12:50 +0100 | wootehfoot | (~wootehfoo@user/wootehfoot) (Read error: Connection reset by peer) |
2024-11-14 21:12:40 +0100 | housemate | (~housemate@146.70.66.228) housemate |
2024-11-14 21:11:21 +0100 | ezzieyguywuf | (~Unknown@user/ezzieyguywuf) (Ping timeout: 246 seconds) |
2024-11-14 21:11:11 +0100 | shapr | (~user@4.30.215.226) shapr |
2024-11-14 21:10:57 +0100 | housemate | (~housemate@146.70.66.228) (Max SendQ exceeded) |
2024-11-14 21:09:08 +0100 | billchenchina | (~billchenc@2a0d:2580:ff0c:1:e3c9:c52b:a429:5bfe) (Ping timeout: 245 seconds) |
2024-11-14 21:08:36 +0100 | housemate | (~housemate@146.70.66.228) housemate |
2024-11-14 21:07:48 +0100 | housemate | (~housemate@146.70.66.228) (Max SendQ exceeded) |
2024-11-14 21:06:57 +0100 | housemate | (~housemate@146.70.66.228) housemate |
2024-11-14 21:06:29 +0100 | agent314 | (~quassel@static-198-44-129-53.cust.tzulo.com) (Ping timeout: 260 seconds) |
2024-11-14 21:05:37 +0100 | <lxsameer> | geekosaur: I use cabal freeze, and the nix uses that file to setup the env for me. so far so good |
2024-11-14 21:05:09 +0100 | <statusbot> | Status update: Wiki.haskell.org is serving content again, but the upgrade is ongoing and various configs/css still need to be restored. -- http://status.haskell.org/pages/incident/537c07b0cf1fad5830000093/6728f5b530789205372a3361 |
2024-11-14 21:03:27 +0100 | ash3en | (~Thunderbi@193.32.248.167) ash3en |
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 +0100 | hellwolf | (~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 +0100 | hellwolf | (~user@da7f-daa3-a2f4-21df-0f00-4d40-07d0-2001.sta.estpak.ee) () |