Logs: liberachat/#haskell
| 2021-06-12 18:47:39 | × | betelgeuse quits (~john2gb@94-225-47-8.access.telenet.be) (Quit: Ping timeout (120 seconds)) |
| 2021-06-12 18:47:49 | <qrpnxz> | a valid spdx, but stack doesn't like it, how to correct |
| 2021-06-12 18:49:03 | <qrpnxz> | or maybe it's cabal that doesn't like it |
| 2021-06-12 18:49:05 | → | betelgeuse joins (~john2gb@94-225-47-8.access.telenet.be) |
| 2021-06-12 18:49:15 | <qrpnxz> | but i'm doing `stack build` |
| 2021-06-12 18:50:46 | <tomsmeding> | probably the Cabal library (which is the library behind both the cabal-install tool, called "cabal", and stack) |
| 2021-06-12 18:51:33 | <safinaskar> | dminuoso: tomsmeding: i once got extreme example of this "has every feature". emacs has so-called "emacs undo" by default (websearch!). I tried to find some emacs package to enable normal undo. and i unable to do this. instead i found package, which provides normal undo, but also provides some additional mechanisms for traversing undo tree. so i |
| 2021-06-12 18:51:34 | <safinaskar> | installed this package |
| 2021-06-12 18:52:06 | × | renzhi quits (~xp@modemcable070.17-177-173.mc.videotron.ca) (Quit: WeeChat 2.3) |
| 2021-06-12 18:52:24 | <tomsmeding> | qrpnxz: hm cabal seems fine with proper spdx expressions https://cabal.readthedocs.io/en/3.4/cabal-package.html?highlight=spdx#pkg-field-license |
| 2021-06-12 18:53:42 | <qrpnxz> | hmmm |
| 2021-06-12 18:54:05 | <safinaskar> | syntax for license field changed between versions |
| 2021-06-12 18:54:06 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 2021-06-12 18:54:14 | <safinaskar> | it depends on value in "cabal-version" field |
| 2021-06-12 18:54:50 | <qrpnxz> | mine says 2.2 |
| 2021-06-12 18:54:54 | <qrpnxz> | so should work ig |
| 2021-06-12 18:54:55 | × | dunkeln quits (~dunkeln@94.129.65.28) (Ping timeout: 245 seconds) |
| 2021-06-12 18:55:12 | <tomsmeding> | apparently that then has the "3.0 2017-12-28" SPDX license identifier list? |
| 2021-06-12 18:55:21 | <qrpnxz> | just noticed that, OLD BOI |
| 2021-06-12 18:55:36 | <geekosaur> | but the license is from after 2017 |
| 2021-06-12 18:55:41 | geekosaur | just looked it up |
| 2021-06-12 18:55:53 | <qrpnxz> | yeah, blueoak got added march 2019 |
| 2021-06-12 18:56:08 | <qrpnxz> | so it's not in cabals list |
| 2021-06-12 18:56:46 | <qrpnxz> | ok guess i'll try to look for a way to do a non-spdx license |
| 2021-06-12 18:56:48 | → | __monty__ joins (~toonn@user/toonn) |
| 2021-06-12 18:57:24 | <safinaskar> | vaibhavsagar[m]: does element.io support irc? |
| 2021-06-12 18:57:47 | <vaibhavsagar[m]> | yes, that's what I'm using right now |
| 2021-06-12 18:58:11 | → | fizbin joins (~fizbin@73.112.85.251) |
| 2021-06-12 18:58:51 | <qrpnxz> | aren't you talking through a bridge, that's not the same as element supporting irc |
| 2021-06-12 18:59:20 | → | dunkeln joins (~dunkeln@94.129.65.28) |
| 2021-06-12 18:59:32 | <vaibhavsagar[m]> | I'm not sure I understand the difference |
| 2021-06-12 19:00:38 | → | lavaman joins (~lavaman@98.38.249.169) |
| 2021-06-12 19:00:57 | <qrpnxz> | the former is a element being a matrix client talking to a program using the matrix protocol that then talks to IRC land, the latter is element also being an irc client and talking to libera using the irc protocol |
| 2021-06-12 19:01:20 | <safinaskar> | qrpnxz: "tries to install smth with apt hmmmm" - you may try ghcup instead of stack, it doesn't call apt |
| 2021-06-12 19:01:35 | <qrpnxz> | bruh, stack is so slow my god |
| 2021-06-12 19:01:52 | <qrpnxz> | safinaskar, i just put the binary in my .local, no script required |
| 2021-06-12 19:02:25 | × | fizbin quits (~fizbin@73.112.85.251) (Ping timeout: 245 seconds) |
| 2021-06-12 19:03:06 | <qrpnxz> | lmao wtf, this is the executable `.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/build/test-exe/test-exe` |
| 2021-06-12 19:03:17 | <tomsmeding> | qrpnxz: welcome to haskell build tools |
| 2021-06-12 19:03:39 | × | awth13` quits (~user@185.209.196.143) (Quit: ERC (IRC client for Emacs 27.2)) |
| 2021-06-12 19:03:43 | → | pretty_dumm_guy joins (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) |
| 2021-06-12 19:03:47 | <vaibhavsagar[m]> | I think it's accurate to say that matrix supports IRC https://matrix.org/docs/projects/bridge/matrix-org-irc-bridge |
| 2021-06-12 19:03:47 | × | tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 2021-06-12 19:03:52 | <qrpnxz> | i mean it's kind of par for the course, only language that does it nicely is Go afaict |
| 2021-06-12 19:04:07 | <vaibhavsagar[m]> | but if you want to be pedantic about it, sure |
| 2021-06-12 19:04:10 | → | awth13 joins (~user@user/awth13) |
| 2021-06-12 19:04:14 | <qrpnxz> | that's a bridge, like i described |
| 2021-06-12 19:04:14 | <tomsmeding> | qrpnxz: the go compiler is very fast, but then GHC does a _lot_ more than go |
| 2021-06-12 19:04:38 | <qrpnxz> | tru, though in terms of speed, i think the major hold up was stack not ghc, hard to tell tho |
| 2021-06-12 19:04:55 | × | lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 245 seconds) |
| 2021-06-12 19:05:23 | <tomsmeding> | once it's actually compiling the modules (the [1 of 10] lines), that's ghc |
| 2021-06-12 19:05:43 | <maerwald> | ghc isn't a fast compiler like go |
| 2021-06-12 19:06:22 | <qrpnxz> | there may have been a network bottleneck as well, gonna try not to judge stack too hard just yet. Maybe when i pull yesod that'll be a true test of stack |
| 2021-06-12 19:07:10 | → | waleee joins (~waleee@2001:9b0:216:8200:d457:9189:7843:1dbd) |
| 2021-06-12 19:07:10 | → | guest20210612 joins (~user@109.252.90.89) |
| 2021-06-12 19:07:20 | <maerwald> | stack is very inefficient when it comes to cloning repos |
| 2021-06-12 19:07:36 | ← | guest20210612 parts (~user@109.252.90.89) () |
| 2021-06-12 19:07:36 | → | pdxleif joins (~leif@75.164.44.108) |
| 2021-06-12 19:07:43 | <maerwald> | https://imgur.com/BNJIzWc.png |
| 2021-06-12 19:07:48 | <maerwald> | oops |
| 2021-06-12 19:07:52 | <maerwald> | my clipboard is broken |
| 2021-06-12 19:07:57 | <maerwald> | https://github.com/commercialhaskell/stack/issues/5411 |
| 2021-06-12 19:07:57 | <qrpnxz> | jesus lol |
| 2021-06-12 19:07:57 | × | dunkeln quits (~dunkeln@94.129.65.28) (Ping timeout: 272 seconds) |
| 2021-06-12 19:07:59 | <maerwald> | that one |
| 2021-06-12 19:08:08 | <maerwald> | (this could have been worse, lol) |
| 2021-06-12 19:08:09 | <qrpnxz> | don't you need like thousands of args for that to happen |
| 2021-06-12 19:08:39 | × | peterhil quits (~peterhil@dsl-hkibng32-54f849-252.dhcp.inet.fi) (Ping timeout: 252 seconds) |
| 2021-06-12 19:08:41 | <qrpnxz> | > clones as many times the repository as there are subdirs |
| 2021-06-12 19:08:41 | <qrpnxz> | rip |
| 2021-06-12 19:08:43 | <lambdabot> | error: |
| 2021-06-12 19:08:43 | <lambdabot> | • Variable not in scope: |
| 2021-06-12 19:08:43 | <lambdabot> | clones |
| 2021-06-12 19:09:27 | <qrpnxz> | maybe i should just use cabal? lol |
| 2021-06-12 19:09:59 | <maerwald> | I'd be lying if I said "yeah, it's better in all respects", but I do prefer it |
| 2021-06-12 19:11:21 | → | dunkeln joins (~dunkeln@94.129.65.28) |
| 2021-06-12 19:12:19 | <safinaskar> | qrpnxz: i use cabal and everything is ok. two tips: (1) install it using ghcup (2) use v2-* commands |
| 2021-06-12 19:12:30 | <qrpnxz> | thx for tips |
| 2021-06-12 19:12:45 | <geekosaur> | as of cabal 3.x the v2-commands are default anyway |
| 2021-06-12 19:13:01 | <maerwald> | I miss sandboxes |
| 2021-06-12 19:13:05 | <geekosaur> | which can be confusing for stuff tht assumes v1-commands are still default |
| 2021-06-12 19:14:13 | × | waleee quits (~waleee@2001:9b0:216:8200:d457:9189:7843:1dbd) (Ping timeout: 244 seconds) |
| 2021-06-12 19:14:29 | <maerwald> | I think we should just reboot cabal-install |
| 2021-06-12 19:15:07 | <maerwald> | I feel, lately, ppl want cabal-install to compete with stack, instead of providing things stack doesn't |
| 2021-06-12 19:15:31 | <safinaskar> | qrpnxz: look at this my dockerfile for inspiration: https://paste.debian.net/1200986/ |
| 2021-06-12 19:17:36 | <qrpnxz> | ty |
| 2021-06-12 19:17:40 | → | jakalx joins (~jakalx@base.jakalx.net) |
| 2021-06-12 19:18:43 | × | dunkeln quits (~dunkeln@94.129.65.28) (Ping timeout: 272 seconds) |
| 2021-06-12 19:19:54 | → | dunkeln joins (~dunkeln@94.129.65.28) |
| 2021-06-12 19:20:03 | × | jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection) |
| 2021-06-12 19:21:20 | → | renzhi joins (~xp@modemcable070.17-177-173.mc.videotron.ca) |
| 2021-06-12 19:21:29 | → | fizbin joins (~fizbin@73.112.85.251) |
| 2021-06-12 19:23:43 | × | reumeth quits (~reumeth@user/reumeth) (Ping timeout: 268 seconds) |
| 2021-06-12 19:25:28 | × | warnz quits (~warnz@2600:1700:77c0:5610:210a:ba95:5325:60a6) (Remote host closed the connection) |
| 2021-06-12 19:25:42 | × | fizbin quits (~fizbin@73.112.85.251) (Ping timeout: 252 seconds) |
| 2021-06-12 19:28:03 | <qrpnxz> | `ghcup: /home/qrpnxz/.local/bin/stack: getSymbolicLinkTarget:readSymbolicLink: invalid argument (Invalid argument)` |
| 2021-06-12 19:28:04 | <qrpnxz> | hmm |
| 2021-06-12 19:28:31 | <maerwald> | qrpnxz: did you enable xdg dirs? |
| 2021-06-12 19:28:36 | <qrpnxz> | yes |
| 2021-06-12 19:28:37 | <smitop> | is there any observable (other than through memory overusage) difference between seq and a identify function that ignores the first argument? |
All times are in UTC.