Logs: liberachat/#haskell
| 2021-07-21 20:04:13 | <maerwald> | ph88_: yes |
| 2021-07-21 20:05:25 | × | juhp quits (~juhp@128.106.188.220) (Ping timeout: 250 seconds) |
| 2021-07-21 20:06:45 | → | juhp joins (~juhp@128.106.188.220) |
| 2021-07-21 20:09:11 | × | doyougnu quits (~user@c-73-25-202-122.hsd1.or.comcast.net) (Quit: ERC (IRC client for Emacs 28.0.50)) |
| 2021-07-21 20:13:52 | × | Null_A quits (~null_a@2601:645:8700:2290:9d5c:9f84:452e:3ad) (Remote host closed the connection) |
| 2021-07-21 20:13:58 | → | Ariakenom joins (~Ariakenom@c83-255-154-140.bredband.tele2.se) |
| 2021-07-21 20:14:36 | × | jespada quits (~jespada@90.254.247.46) (Quit: Textual IRC Client: www.textualapp.com) |
| 2021-07-21 20:17:16 | × | h98 quits (~h98@187.83.249.216.dyn.smithville.net) (Quit: Client closed) |
| 2021-07-21 20:17:25 | <ph88_> | I think ghcup shows me this, what does that mean ? #5 3.256 [ Warn ] Could not get download info, trying cached version (this may not be recent!) #5 3.257 [ Error ] File "/root/.ghcup/cache/ghcup-0.0.4.yaml" does not exist. |
| 2021-07-21 20:17:53 | <maerwald> | means you're running an old version for starters |
| 2021-07-21 20:18:10 | × | Ariakenom quits (~Ariakenom@c83-255-154-140.bredband.tele2.se) (Ping timeout: 240 seconds) |
| 2021-07-21 20:19:41 | <maerwald> | and the download failed |
| 2021-07-21 20:20:16 | × | ukari quits (~ukari@user/ukari) (Remote host closed the connection) |
| 2021-07-21 20:21:01 | → | ukari joins (~ukari@user/ukari) |
| 2021-07-21 20:22:24 | <maerwald> | you need curl or wget and a working internet connection |
| 2021-07-21 20:22:53 | <maerwald> | In a Dockerfile you can do sth like https://git.io/JlTtf |
| 2021-07-21 20:25:36 | → | Ariakenom joins (~Ariakenom@c83-255-154-140.bredband.tele2.se) |
| 2021-07-21 20:27:15 | × | michalz quits (~michalz@185.246.204.50) (Remote host closed the connection) |
| 2021-07-21 20:27:29 | × | shapr quits (~user@pool-100-36-247-68.washdc.fios.verizon.net) (Ping timeout: 255 seconds) |
| 2021-07-21 20:30:22 | → | NiKaN joins (sid385034@id-385034.brockwell.irccloud.com) |
| 2021-07-21 20:32:37 | <arkanoid> | is it considered normal to not have "run" function in vscode + haskell extension by default? stack environment works nice via command line |
| 2021-07-21 20:33:03 | × | _ht quits (~quassel@82-169-194-8.biz.kpn.net) (Remote host closed the connection) |
| 2021-07-21 20:35:00 | × | dhouthoo quits (~dhouthoo@178-117-36-167.access.telenet.be) (Quit: WeeChat 3.2) |
| 2021-07-21 20:35:28 | → | Null_A joins (~null_a@c-98-210-133-39.hsd1.ca.comcast.net) |
| 2021-07-21 20:37:43 | × | hololeap quits (~hololeap@user/hololeap) (Quit: Bye) |
| 2021-07-21 20:39:19 | <[exa]> | arkanoid: I'd consider that to be a step to "normal" |
| 2021-07-21 20:39:36 | <[exa]> | most programs aren't normally executed by the green play button :D |
| 2021-07-21 20:40:24 | → | shapr joins (~user@pool-100-36-247-68.washdc.fios.verizon.net) |
| 2021-07-21 20:42:42 | × | drd quits (~drd@2001:b07:a70:9f1f:1562:34de:f50f:77d4) (Ping timeout: 240 seconds) |
| 2021-07-21 20:44:32 | <ph88_> | maerwald, an old version of what exactly ? i am making a dockerfile from alpine:latest o_O |
| 2021-07-21 20:44:53 | <maerwald> | ph88_: of ghcup |
| 2021-07-21 20:44:57 | <ph88_> | i did it like this wget https://downloads.haskell.org/~ghcup/x86_64-linux-ghcup -O /usr/local/bin/ghcup |
| 2021-07-21 20:45:05 | <sm> | arkanoid: what would it do.. "stack run" ? |
| 2021-07-21 20:45:11 | <maerwald> | ph88_: ya, that's a symlink that's not always updated |
| 2021-07-21 20:45:15 | × | Null_A quits (~null_a@c-98-210-133-39.hsd1.ca.comcast.net) (Remote host closed the connection) |
| 2021-07-21 20:45:18 | <maerwald> | see the link above |
| 2021-07-21 20:45:21 | <ph88_> | eh ok |
| 2021-07-21 20:46:00 | → | viluon joins (uid453725@id-453725.brockwell.irccloud.com) |
| 2021-07-21 20:46:18 | <maerwald> | curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | BOOTSTRAP_HASKELL_NONINTERACTIVE=1 BOOTSTRAP_HASKELL_GHC_VERSION=8.10.5 BOOTSTRAP_HASKELL_CABAL_VERSION=3.4.0.0 sh |
| 2021-07-21 20:46:30 | <sm> | arkanoid: there is in fact a Haskell Runner extension |
| 2021-07-21 20:46:38 | → | awth13 joins (~user@user/awth13) |
| 2021-07-21 20:47:05 | → | acidjnk joins (~acidjnk@p200300d0c72b9516f180e3afe24121d7.dip0.t-ipconnect.de) |
| 2021-07-21 20:50:13 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 2021-07-21 20:50:21 | <ph88_> | seems curl is a dependency of ghcup script, i better install that first then |
| 2021-07-21 20:51:13 | <maerwald> | ph88_: do you have wget? |
| 2021-07-21 20:51:44 | <maerwald> | but curl is better |
| 2021-07-21 20:52:34 | <ph88_> | i have wget, but i the script of ghcup itself calls curl i think .. because im not using curl atm |
| 2021-07-21 20:52:47 | <monochrom> | cabal-install likes curl too. |
| 2021-07-21 20:53:34 | <monochrom> | I haven't tried what happens to cabal-install if it can't find curl, but there was a time you had to add a non-default flag to tell it to use wget. |
| 2021-07-21 20:53:42 | → | Null_A joins (~null_a@2601:645:8700:2290:5d44:532d:1cae:2f91) |
| 2021-07-21 20:54:17 | <monochrom> | Also it simply runs curl the exe not libcurl, and this inspired ghcup to do the same, and I had a hand in influencing that. >:) |
| 2021-07-21 20:54:51 | <maerwald> | if it can't find curl it falls back to wget even if you didn't specify wget |
| 2021-07-21 20:54:55 | <monochrom> | Someone else did try to use libcurl for a different project, probably even a C project per se. It was found to be total madness. Don't go there. :) |
| 2021-07-21 20:55:01 | <maerwald> | (cabal and ghcup) |
| 2021-07-21 20:55:22 | <maerwald> | but the bootstrap script doesn't support wget, so there's that |
| 2021-07-21 20:56:31 | <maerwald> | not sure why anyone would prefer wget, but many distros don't have curl pre-installed |
| 2021-07-21 20:56:51 | <maerwald> | curl is even running in space afaik! |
| 2021-07-21 20:58:12 | × | dunkeln quits (~dunkeln@188.70.26.84) (Quit: leaving) |
| 2021-07-21 20:58:23 | <monochrom> | I think I learned of wget before curl when I started using linux. |
| 2021-07-21 20:58:56 | → | falafel joins (~falafel@pool-96-255-70-50.washdc.fios.verizon.net) |
| 2021-07-21 20:59:04 | <maerwald> | wget's default is maybe a little bit more intuitive... it's funny if you run curl on a binary without -O and have your terminal broken |
| 2021-07-21 20:59:20 | <monochrom> | But there was a time both were pre-installed. Omitting curl is fairly recent on Ubuntu, like 1-2 years ago. |
| 2021-07-21 20:59:43 | × | rtjure quits (~rtjure@bras-79-132-10-94.comnet.bg) (Quit: Leaving) |
| 2021-07-21 21:00:10 | <monochrom> | Yeah I have a feeling that wget syntax and default behaviour make more sense for human users. |
| 2021-07-21 21:00:10 | × | azeem quits (~azeem@dynamic-adsl-84-220-213-65.clienti.tiscali.it) (Read error: Connection reset by peer) |
| 2021-07-21 21:00:23 | <maerwald> | but it's more unix friendly to outilize stdout by default, piping and the like |
| 2021-07-21 21:00:26 | <monochrom> | only just a little bit more, to be sure. |
| 2021-07-21 21:00:35 | <monochrom> | Yeah |
| 2021-07-21 21:00:44 | → | azeem joins (~azeem@dynamic-adsl-84-220-213-65.clienti.tiscali.it) |
| 2021-07-21 21:01:31 | <monochrom> | Hey "outilize" is a great portmanteau! |
| 2021-07-21 21:01:57 | × | oso quits (~oso@2601:58c:c080:a950:f275:2530:b398:680b) (Quit: Client closed) |
| 2021-07-21 21:02:12 | <maerwald> | it's just my joints snapping occasionally |
| 2021-07-21 21:02:50 | <monochrom> | utiline stdin, outilize stdout |
| 2021-07-21 21:04:12 | × | favonia quits (~favonia@user/favonia) (Ping timeout: 256 seconds) |
| 2021-07-21 21:04:39 | <geekosaur> | also there's this belief that curl == BSD, wget == GNU |
| 2021-07-21 21:05:06 | → | favonia joins (~favonia@user/favonia) |
| 2021-07-21 21:05:37 | <monochrom> | Ah. |
| 2021-07-21 21:06:12 | <monochrom> | The human mind performs pincipal value analysis all the time especially when it shouldn't. :) |
| 2021-07-21 21:07:37 | <monochrom> | I need to teach a machine learning course in which I point out that humans are always making the same mistakes as machine learning algorithms and models. >:) |
| 2021-07-21 21:08:58 | × | falafel quits (~falafel@pool-96-255-70-50.washdc.fios.verizon.net) (Ping timeout: 252 seconds) |
| 2021-07-21 21:09:03 | <Franciman> | monochrom: lol |
| 2021-07-21 21:11:51 | × | juhp quits (~juhp@128.106.188.220) (Quit: juhp) |
| 2021-07-21 21:12:04 | → | juhp joins (~juhp@128.106.188.220) |
| 2021-07-21 21:12:34 | <ph88_> | monochrom, why was libcurl to be found total madness ? |
| 2021-07-21 21:15:47 | × | zebrag quits (~chris@user/zebrag) (Ping timeout: 268 seconds) |
| 2021-07-21 21:16:41 | <geekosaur> | monochrom, https://www.dropbox.com/s/345iszfohklw0sl/dnn.txt?dl=0 |
| 2021-07-21 21:16:41 | → | jumper149 joins (~jumper149@80.240.31.34) |
| 2021-07-21 21:16:56 | → | cheater joins (~Username@user/cheater) |
| 2021-07-21 21:18:05 | × | Null_A quits (~null_a@2601:645:8700:2290:5d44:532d:1cae:2f91) (Remote host closed the connection) |
| 2021-07-21 21:18:28 | → | falafel joins (~falafel@pool-96-255-70-50.washdc.fios.verizon.net) |
| 2021-07-21 21:19:57 | × | Vajb quits (~Vajb@hag-jnsbng11-58c3a1-224.dhcp.inet.fi) (Remote host closed the connection) |
| 2021-07-21 21:20:08 | × | lbseale quits (~lbseale@user/ep1ctetus) (Quit: Client closed) |
| 2021-07-21 21:20:15 | → | sheepduck joins (~sheepduck@user/sheepduck) |
| 2021-07-21 21:20:58 | <maerwald> | ph88_: you link to the library, for starters |
| 2021-07-21 21:21:13 | <maerwald> | if the distro breaks SONAME, you have your first problem |
| 2021-07-21 21:21:20 | <maerwald> | statically linking will break your neck too |
| 2021-07-21 21:21:52 | → | Vajb joins (~Vajb@hag-jnsbng11-58c3a1-224.dhcp.inet.fi) |
| 2021-07-21 21:22:08 | <ph88_> | maerwald, i thought that was all solved now with alpine :p |
| 2021-07-21 21:22:16 | <maerwald> | how so? |
| 2021-07-21 21:22:29 | <maerwald> | statically linking libcurl will require you to link openssl too |
All times are in UTC.