Home liberachat/#haskell: Logs Calendar

Logs: liberachat/#haskell

←Prev  Next→
Page 1 .. 956 957 958 959 960 961 962 963 964 965 966 .. 18028
1,802,798 events total
2021-07-15 08:07:06 <[exa]> andrews: ghcup makes a user-specific install, should be perfectly okay. `haskell-platform` is a systemwide install.
2021-07-15 08:07:24 <andrews> ok
2021-07-15 08:07:35 <andrews> I only need it for my user
2021-07-15 08:07:44 <[exa]> then you are safe with ghcup :]
2021-07-15 08:08:16 <andrews> hang on
2021-07-15 08:08:39 <[exa]> anyway the choice isn't that important, what's going to be different is the way you update the packages. Local user install is updated with running ghcup again, the system packages get updated automagically with ubuntu (but that might (rarely) break some of your code)
2021-07-15 08:08:49 × hendursaga quits (~weechat@user/hendursaga) (Ping timeout: 244 seconds)
2021-07-15 08:08:53 <andrews> argh
2021-07-15 08:09:28 × wallymathieu quits (~wallymath@81-234-151-21-no94.tbcn.telia.com) (Quit: My MacBook has gone to sleep. ZZZzzz…)
2021-07-15 08:10:09 <[exa]> Rogach: why's my debian reporting the latest haskell-platform version as 2014? :D
2021-07-15 08:11:23 <Rogach> [exa]: Well, it's Debian. Since you're using Debian you're probably want to be extra safe, you don't want to use that hot-shot untested stuff from, say, 2016 =)
2021-07-15 08:11:27 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
2021-07-15 08:11:34 <[exa]> Rogach: same on ubuntu tho
2021-07-15 08:11:45 <Rogach> (using Arch myself, so I'm on the opposite end of the scale - with opposite set of problems)
2021-07-15 08:11:53 × cheater quits (~Username@user/cheater) (Ping timeout: 268 seconds)
2021-07-15 08:11:55 <Rogach> [exa]: Ubuntu also likes to be extra safe.
2021-07-15 08:12:08 cheater joins (~Username@user/cheater)
2021-07-15 08:12:10 <andrews> should I install haskell-platform
2021-07-15 08:12:13 <[exa]> nah I'm on sid, that's pretty wild with versions too
2021-07-15 08:12:24 <[exa]> andrews: use `ghcup`, as I said, it's safest for the first try
2021-07-15 08:12:25 <Rogach> [exa]: (and they also like to avoid too much trouble, copying Debian directly is simpler)
2021-07-15 08:12:43 <tdammers> Rogach: nothing to do with "untested"; debian being a "stable" distro means that features do not change between releases, so you can build your system based on a given release, and trust it to remain feature-stable until you upgrade to the next release.
2021-07-15 08:13:01 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Read error: Connection reset by peer)
2021-07-15 08:13:06 <[exa]> still it seems that the package ain't very maintaned
2021-07-15 08:13:12 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
2021-07-15 08:13:24 <Rogach> tdammers: I was trying to be funny. I understand why Debian does what it does.
2021-07-15 08:13:48 hegstal joins (~hegstal@2a02:c7f:7604:8a00:1608:5ddb:ace2:2fb3)
2021-07-15 08:13:54 <Rogach> (e.g. running Arch on servers doesn't strike me as a great idea, Debian or Ubuntu is much more preferrable)
2021-07-15 08:14:42 × GIANTWORLDKEEPER quits (~pjetcetal@128-71-13-182.broadband.corbina.ru) (Ping timeout: 255 seconds)
2021-07-15 08:15:02 <Rogach> [exa]: That's the case with many ubuntu packages, unfortunately - you can't stay on top of everything while providing comprehensive support for 3 LTSes at once.
2021-07-15 08:15:14 ubert joins (~Thunderbi@2a02:8109:9880:303c:ca5b:76ff:fe29:f233)
2021-07-15 08:16:36 <Rogach> [exa]: I was ubuntu user myself up until ~2014. And while "bypasses" like ghcup do work, they don't feel very sustainable (for example when you have a truckload of different software and you want newer versions for some reason - you get a complete zoo with lots of compatibility troubles).
2021-07-15 08:17:19 <andrews> Rogach, what distro do you use now]
2021-07-15 08:17:50 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 272 seconds)
2021-07-15 08:17:52 <[exa]> Rogach: well ghcup solves the complicated packaging trouble for new devs for sure
2021-07-15 08:17:55 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
2021-07-15 08:17:57 allbery_b joins (~geekosaur@xmonad/geekosaur)
2021-07-15 08:18:41 <Rogach> andrews: Arch Linux. But it's not for the faint of heart, I'll recommend at least 3 years of general Linux experience before switching to Arch Linux.
2021-07-15 08:19:04 <[exa]> (preferably 3 years prior gentoo experience :D )
2021-07-15 08:19:32 <Rogach> [exa]: Of course. I'm not against it, I'm just wary that using lots of stuff outside of main package system brings a lot of duplication and pain.
2021-07-15 08:19:46 <andrews> well
2021-07-15 08:19:47 <Rogach> No, Gentoo is way too hardcore. Arch is simpler.
2021-07-15 08:19:56 <andrews> I installed ghcup
2021-07-15 08:20:20 <[exa]> Rogach: I started on that one in 2005 or so, it worked™
2021-07-15 08:20:22 <andrews> and ghc not found
2021-07-15 08:20:36 × hnOsmium0001 quits (uid453710@id-453710.stonehaven.irccloud.com) (Quit: Connection closed for inactivity)
2021-07-15 08:20:54 <[exa]> andrews: good, type `ghcup help`, you should get some choice of what ghc to install
2021-07-15 08:20:54 <andrews> ghc
2021-07-15 08:20:54 <andrews> Command 'ghc' not found, but can be installed with:
2021-07-15 08:20:54 <andrews> sudo apt install ghc
2021-07-15 08:21:13 <[exa]> andrews: `ghcup` is like `rustup`, installs the whole toolchain for you and keeps it in shape
2021-07-15 08:21:23 <Rogach> [exa]: I meant that after 3 years of Gentoo you may not need Arch at all =)
2021-07-15 08:21:29 <andrews> ghcup help
2021-07-15 08:21:30 <andrews> ghcup: command not found
2021-07-15 08:21:47 <[exa]> andrews: ok something's wrong, did you read what ghcup installation wrote to you?
2021-07-15 08:22:13 <andrews> I installed everything
2021-07-15 08:22:26 <sm> andrews: are you following some official install docs, eg ghcup's ?
2021-07-15 08:22:29 <Rogach> [exa]: It's my understanding that Gentoo and Arch do not differ too much - both prefer the newest versions of the packages, both compile from sources. I guess the main difference is Arch has a precompiled package repository, so you don't need to compile libreoffice for example.
2021-07-15 08:23:03 <[exa]> Rogach: one reason to ditch libreoffice
2021-07-15 08:23:45 <[exa]> [*laughs in latex*]
2021-07-15 08:24:38 <andrews> no
2021-07-15 08:24:55 <andrews> I checked my .bashrc and ghcup didn't add anything
2021-07-15 08:25:16 × gehmehgeh quits (~user@user/gehmehgeh) (Quit: Leaving)
2021-07-15 08:25:26 <Rogach> [exa]: Well, there's firefox as well, also not very fast to compile on smaller machines. I like latex, but doing spreadsheet work in it is a bit sub-optimal for my taste.
2021-07-15 08:25:34 <sm> you could try https://docs.haskellstack.org/en/stable/install_and_upgrade/#linux
2021-07-15 08:25:38 gehmehgeh joins (~user@user/gehmehgeh)
2021-07-15 08:25:41 <[exa]> Rogach: awk on you
2021-07-15 08:25:56 <Rogach> [exa]: awk?
2021-07-15 08:26:10 × cheater quits (~Username@user/cheater) (Ping timeout: 252 seconds)
2021-07-15 08:26:42 cheater joins (~Username@user/cheater)
2021-07-15 08:26:49 <[exa]> you don't do spreadsheets with awk?
2021-07-15 08:27:36 <keltono> andrews: How did you install ghcup? With the `curl` command listed on the website?
2021-07-15 08:27:58 <andrews> yes
2021-07-15 08:28:20 × keutoi quits (~keutoi@157.48.221.108) (Ping timeout: 258 seconds)
2021-07-15 08:28:30 <andrews> I'll just install haskell-platform
2021-07-15 08:28:32 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 268 seconds)
2021-07-15 08:28:39 <andrews> I can't get ghcup working
2021-07-15 08:29:12 <keltono> Was there an error during the install process or something? Seems strange that it just wouldn't work
2021-07-15 08:29:21 × tzh quits (~tzh@c-24-21-73-154.hsd1.or.comcast.net) (Quit: zzz)
2021-07-15 08:29:59 Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915)
2021-07-15 08:30:05 keutoi joins (~keutoi@223.237.22.166)
2021-07-15 08:30:43 × hexfive quits (~eric@50.35.83.177) (Quit: WeeChat 3.0)
2021-07-15 08:31:05 <Rogach> [exa]: I do text editing with awk. But doing spreadsheets with it is still too low-tech :)
2021-07-15 08:31:19 tromp joins (~textual@dhcp-077-249-230-040.chello.nl)
2021-07-15 08:32:11 <andrews> ok
2021-07-15 08:32:14 <andrews> it's working now
2021-07-15 08:32:23 <andrews> I didn't have the required packages installed
2021-07-15 08:32:31 <andrews> as prerequisities
2021-07-15 08:33:10 <tromp> any chess fans in here?
2021-07-15 08:33:26 <sm> yeah !
2021-07-15 08:34:06 <keltono> ^
2021-07-15 08:34:15 <keltono> Although that's more #haskell-offtopic
2021-07-15 08:34:41 <tromp> i found a way to combine chess and Haskell
2021-07-15 08:34:51 <Taneb> tromp: it's a great musical
2021-07-15 08:34:59 <[exa]> Rogach: I mean, text editor for data + awk for doing the computations
2021-07-15 08:35:17 <keltono> Taneb: There's a chess musical?
2021-07-15 08:35:26 <tromp> see http://talkchess.com/forum3/viewtopic.php?f=7&t=77685
2021-07-15 08:35:42 <tromp> i wrote a Haskell program to rank chess positions
2021-07-15 08:35:55 <sm> yay
2021-07-15 08:36:46 × cheater quits (~Username@user/cheater) (Ping timeout: 258 seconds)

All times are in UTC.