Logs: freenode/#haskell
| 2020-10-03 03:10:08 | <dsal> | cohn: You're describing everything in my life. |
| 2020-10-03 03:10:27 | <cohn> | whoa. |
| 2020-10-03 03:10:34 | <iqubic> | dsal: I do love a fresh nixos install. |
| 2020-10-03 03:10:42 | <dsal> | The good news is, though I've never found anything and felt like I was too late, I still hopefully have some time left. |
| 2020-10-03 03:10:47 | <iqubic> | Haskell and Nix work so well together. |
| 2020-10-03 03:10:54 | cohn | must be in The Matrix |
| 2020-10-03 03:11:08 | <dsal> | nixos is another religion that bumps up against people in this channel at times. heh |
| 2020-10-03 03:12:01 | <dsal> | iqubic: are you using haskell.nix? I'm super lazy. It's nearly zero effort for me to build my packages, but it's a lot effort for the computer. |
| 2020-10-03 03:12:42 | <cohn> | I just want to learn everything I can. I use what works best for what I need and leave the religous wars to everybody else |
| 2020-10-03 03:12:55 | × | conal quits (~conal@64.71.133.70) (Quit: Computer has gone to sleep.) |
| 2020-10-03 03:13:08 | × | bloodstalker quits (~bloodstal@46.166.187.154) (Read error: Connection reset by peer) |
| 2020-10-03 03:13:38 | × | jedws quits (~jedws@121.209.139.222) (Ping timeout: 260 seconds) |
| 2020-10-03 03:13:53 | <cohn> | e.g. I use vim, Emacs, and VS Code every day for different things. I've played with Nix a little bit, as well ask stack and cabal. |
| 2020-10-03 03:13:54 | → | Dose8 joins (~draven@75-109-68-113.stabcmtk02.res.dyn.suddenlink.net) |
| 2020-10-03 03:14:15 | <dsal> | Sure, sure. nixos is a Linux distribution that solves all of my OS problems. It's not super relevant here. |
| 2020-10-03 03:14:27 | × | Dose8 quits (~draven@75-109-68-113.stabcmtk02.res.dyn.suddenlink.net) (Client Quit) |
| 2020-10-03 03:15:01 | <dsal> | I think stack is a little less popular here, but I've not been able to replace it yet. Each time I try, there's something that it does that I have a hard time replacing, so I don't bother. |
| 2020-10-03 03:15:27 | × | falafel quits (~falafel@2605:e000:1527:d491:a806:37fa:6971:2798) (Ping timeout: 240 seconds) |
| 2020-10-03 03:15:37 | <cohn> | nix seems very well suited to use with Docker. But that could be overkill. |
| 2020-10-03 03:16:19 | <dsal> | nix is an alternative to docker in many ways. You end up with much less overhead and more resource sharing and stuff. That said, I run docker on nixos when I need it. *shrug* |
| 2020-10-03 03:16:33 | → | dbmikus joins (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com) |
| 2020-10-03 03:16:46 | <cohn> | huh, never thought about it that way |
| 2020-10-03 03:17:46 | × | drbean quits (~drbean@TC210-63-209-38.static.apol.com.tw) (Quit: ZNC 1.8.2+cygwin1 - https://znc.in) |
| 2020-10-03 03:17:49 | <dsal> | I do a build of my project, copy it into an external nix store, and then pull it down and run the specific version where I need it. I run a bunch of junk in aws on a machine too small to actually do the build, so I spin up a big machine to do the build, then copy artifacts out and upgrade when needed. |
| 2020-10-03 03:18:11 | <dsal> | Something about my lazy haskell.nix thing means it often ends up building like, all of ghc to make a binary. A little expensive, but it's just zero effort on my part. |
| 2020-10-03 03:19:42 | <dsal> | I had a small fix of my mqttd a day or so ago and the build process took *hours* on a large AWS machine. It actually caches all those artifacts, but I don't keep any of that state. |
| 2020-10-03 03:20:10 | <dsal> | haskell *can* compile very slowly. Some of my Advent of Code solutions run in O(1) time because I made the compiler compute the answer. heh |
| 2020-10-03 03:21:11 | → | drbean joins (~drbean@TC210-63-209-81.static.apol.com.tw) |
| 2020-10-03 03:22:58 | <cohn> | that's cheating. ;) |
| 2020-10-03 03:23:04 | → | falafel joins (~falafel@2605:e000:1527:d491:a806:37fa:6971:2798) |
| 2020-10-03 03:23:35 | <dsal> | Not in that case, but it was just to do it. |
| 2020-10-03 03:24:05 | <cohn> | heh |
| 2020-10-03 03:24:19 | → | m0rphism joins (~m0rphism@HSI-KBW-046-005-177-122.hsi8.kabel-badenwuerttemberg.de) |
| 2020-10-03 03:24:28 | <dsal> | I liked running the benchmarks and having it say my solution was around 6 ns. |
| 2020-10-03 03:24:36 | → | notzmv joins (~user@unaffiliated/zmv) |
| 2020-10-03 03:26:20 | <monochrom> | If you can compile slowly, you can run quickly. >:) |
| 2020-10-03 03:34:12 | × | wwwww quits (~wwwww@unaffiliated/wwwww) (Ping timeout: 272 seconds) |
| 2020-10-03 03:36:56 | → | polyrain joins (~polyrain@2001:8003:e501:6901:c105:622a:ea90:4f2d) |
| 2020-10-03 03:38:00 | → | kreyren joins (~kreyren@fsf/member/kreyren) |
| 2020-10-03 03:38:24 | → | conal_ joins (~conal@64.71.133.70) |
| 2020-10-03 03:38:39 | <kreyren> | i asked this question in #haskell-stack but reasking here as it seems that the channel has low traffic |
| 2020-10-03 03:38:43 | <kreyren> | i am keep getting https://dpaste.com/ASUFJEDKC.txt running build target in makefile http://ix.io/2zyp -> How do i make sure it's not trying to halt my system over time |
| 2020-10-03 03:38:47 | <kreyren> | basically fails to compile each time, system info http://ix.io/2zyr |
| 2020-10-03 03:43:45 | × | conal_ quits (~conal@64.71.133.70) (Quit: Computer has gone to sleep.) |
| 2020-10-03 03:46:05 | → | nineonine joins (~nineonine@216-19-190-182.dyn.novuscom.net) |
| 2020-10-03 03:46:15 | × | nineonine quits (~nineonine@216-19-190-182.dyn.novuscom.net) (Read error: Connection reset by peer) |
| 2020-10-03 03:46:29 | → | nineonine joins (~nineonine@216-19-190-182.dyn.novuscom.net) |
| 2020-10-03 03:50:46 | → | snakemasterflex joins (~snakemast@213.100.206.23) |
| 2020-10-03 03:51:05 | × | iqubic quits (~user@2601:602:9500:4870:709f:b119:f02e:2ee7) (Remote host closed the connection) |
| 2020-10-03 03:53:16 | <kreyren> | created swapfile with 2G and that made it to continue past the breakpoint so i guess there is an issue with resource allocating on linux |
| 2020-10-03 03:54:59 | × | mirrorbird quits (~psutcliff@2a00:801:42a:82eb:6edc:4c78:a574:2a8f) (Ping timeout: 272 seconds) |
| 2020-10-03 03:55:05 | × | snakemasterflex quits (~snakemast@213.100.206.23) (Ping timeout: 240 seconds) |
| 2020-10-03 03:55:34 | × | polyrain quits (~polyrain@2001:8003:e501:6901:c105:622a:ea90:4f2d) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 2020-10-03 03:57:12 | × | falafel quits (~falafel@2605:e000:1527:d491:a806:37fa:6971:2798) (Remote host closed the connection) |
| 2020-10-03 03:58:13 | <c_wraith> | there are a couple of libraries that do so much inlining that they take up ridiculous amounts of memory to compile |
| 2020-10-03 03:58:18 | → | JLP1 joins (~JLP@185.204.1.185) |
| 2020-10-03 03:58:39 | → | falafel joins (~falafel@2605:e000:1527:d491:a806:37fa:6971:2798) |
| 2020-10-03 03:58:48 | <dsal> | I think I end up building those in parallel |
| 2020-10-03 03:58:52 | <c_wraith> | vector-algorithms is the worst offender in my exerience, but there are probably some others. |
| 2020-10-03 03:59:21 | <dsal> | kreyren: you may consider reducing concurrency |
| 2020-10-03 03:59:52 | <kreyren> | dsal, i am not upstream can you elaborate? |
| 2020-10-03 04:00:21 | <dsal> | You can limit jobs in ~/.stack/config.yaml |
| 2020-10-03 04:00:58 | <dsal> | https://docs.haskellstack.org/en/stable/yaml_configuration/#jobs |
| 2020-10-03 04:01:19 | <kreyren> | checking |
| 2020-10-03 04:02:30 | <dsal> | -j1 will take longer, but use less memory |
| 2020-10-03 04:03:21 | → | thir joins (~thir@p200300f27f0fc60004d129737887aa72.dip0.t-ipconnect.de) |
| 2020-10-03 04:04:34 | → | kreyren_ joins (~kreyren@fsf/member/kreyren) |
| 2020-10-03 04:04:51 | × | GyroW quits (~GyroW@unaffiliated/gyrow) (Ping timeout: 260 seconds) |
| 2020-10-03 04:06:46 | → | GyroW joins (~GyroW@d54C03E98.access.telenet.be) |
| 2020-10-03 04:06:46 | × | GyroW quits (~GyroW@d54C03E98.access.telenet.be) (Changing host) |
| 2020-10-03 04:06:46 | → | GyroW joins (~GyroW@unaffiliated/gyrow) |
| 2020-10-03 04:07:09 | × | kreyren quits (~kreyren@fsf/member/kreyren) (Remote host closed the connection) |
| 2020-10-03 04:07:12 | × | falafel quits (~falafel@2605:e000:1527:d491:a806:37fa:6971:2798) (Remote host closed the connection) |
| 2020-10-03 04:07:25 | × | thir quits (~thir@p200300f27f0fc60004d129737887aa72.dip0.t-ipconnect.de) (Ping timeout: 240 seconds) |
| 2020-10-03 04:07:33 | → | falafel joins (~falafel@2605:e000:1527:d491:a806:37fa:6971:2798) |
| 2020-10-03 04:07:34 | × | xerox_ quits (~xerox@unaffiliated/xerox) (Ping timeout: 246 seconds) |
| 2020-10-03 04:08:56 | → | zacts joins (~zacts@dragora/developer/zacts) |
| 2020-10-03 04:09:10 | → | sand_dull joins (~theuser@cpe-67-252-1-237.nycap.res.rr.com) |
| 2020-10-03 04:15:58 | → | jle` joins (~mstksg@cpe-23-240-75-236.socal.res.rr.com) |
| 2020-10-03 04:15:58 | × | jle` quits (~mstksg@cpe-23-240-75-236.socal.res.rr.com) (Changing host) |
| 2020-10-03 04:15:58 | → | jle` joins (~mstksg@unaffiliated/mstksg) |
| 2020-10-03 04:16:31 | × | machinedgod quits (~machinedg@d67-193-126-196.home3.cgocable.net) (Ping timeout: 260 seconds) |
| 2020-10-03 04:16:55 | × | ryansmccoy quits (~ryansmcco@193.37.254.27) (Ping timeout: 240 seconds) |
| 2020-10-03 04:17:18 | → | ryansmccoy joins (~ryansmcco@156.96.151.132) |
| 2020-10-03 04:17:29 | → | nbloomf joins (~nbloomf@2600:1700:83e0:1f40:2c94:3287:2d16:a9db) |
| 2020-10-03 04:20:27 | × | falafel quits (~falafel@2605:e000:1527:d491:a806:37fa:6971:2798) (Ping timeout: 240 seconds) |
| 2020-10-03 04:21:09 | × | HaskellYogi quits (~vivekrama@49.207.196.239) (Remote host closed the connection) |
| 2020-10-03 04:23:39 | → | pjb joins (~t@2a01cb04063ec50000323e4acd27c310.ipv6.abo.wanadoo.fr) |
| 2020-10-03 04:24:20 | → | HaskellYogi joins (~vivekrama@49.207.196.239) |
| 2020-10-03 04:26:08 | × | HaskellYogi quits (~vivekrama@49.207.196.239) (Remote host closed the connection) |
| 2020-10-03 04:26:09 | × | Buntspecht quits (~user@unaffiliated/siracusa) (Read error: Connection reset by peer) |
| 2020-10-03 04:26:23 | → | HaskellYogi joins (~vivekrama@49.207.196.239) |
| 2020-10-03 04:33:09 | × | sand_dull quits (~theuser@cpe-67-252-1-237.nycap.res.rr.com) (Ping timeout: 265 seconds) |
| 2020-10-03 04:35:09 | → | Buntspecht joins (~user@unaffiliated/siracusa) |
| 2020-10-03 04:37:15 | × | AlterEgo- quits (~ladew@124-198-158-163.dynamic.caiway.nl) (Read error: Connection reset by peer) |
| 2020-10-03 04:37:20 | → | Saukk joins (~Saukk@2001:998:f1:3966:96a6:dee2:2e9:fdf3) |
| 2020-10-03 04:40:26 | <hololeap> | class Foo a where ; type Bar a ; foo :: Bar a -> Maybe Bool |
| 2020-10-03 04:40:46 | <hololeap> | why is GHC trying to make me turn on AllowAmbiguousTypes for this? |
| 2020-10-03 04:41:07 | <c_wraith> | because it has no way to infer `a' from a call to foo |
| 2020-10-03 04:41:27 | <ski> | `Bar' is not injective |
All times are in UTC.