Home freenode/#haskell: Logs Calendar

Logs: freenode/#haskell

←Prev  Next→ 502,152 events total
2020-11-06 16:51:49 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
2020-11-06 16:51:52 × britva quits (~britva@31-10-157-156.cgn.dynamic.upc.ch) (Quit: This computer has gone to sleep)
2020-11-06 16:54:35 britva joins (~britva@31-10-157-156.cgn.dynamic.upc.ch)
2020-11-06 16:58:27 aarvar joins (~foewfoiew@c.24.56.239.179.static.broadstripe.net)
2020-11-06 17:01:05 christo joins (~chris@81.96.113.213)
2020-11-06 17:01:05 × christo quits (~chris@81.96.113.213) (Remote host closed the connection)
2020-11-06 17:03:21 × heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
2020-11-06 17:06:16 christo joins (~chris@81.96.113.213)
2020-11-06 17:06:23 × aldessa quits (~hugh@host-92-21-7-179.as13285.net) (Remote host closed the connection)
2020-11-06 17:07:06 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
2020-11-06 17:10:17 geekosaur joins (82659a09@host154-009.vpn.uakron.edu)
2020-11-06 17:10:44 × wkane__ quits (~wkane@host-80-180-11-39.pool80180.interbusiness.it) (Quit: Konversation terminated!)
2020-11-06 17:10:46 × christo quits (~chris@81.96.113.213) (Ping timeout: 260 seconds)
2020-11-06 17:11:09 × evanjs quits (~evanjs@075-129-188-019.res.spectrum.com) (Quit: ZNC 1.8.2 - https://znc.in)
2020-11-06 17:11:27 twopoint718 joins (~cjw@fsf/member/twopoint718)
2020-11-06 17:11:37 × scasc quits (~szabi@213142096120.public.telering.at) (Ping timeout: 264 seconds)
2020-11-06 17:12:21 evanjs joins (~evanjs@075-129-188-019.res.spectrum.com)
2020-11-06 17:15:50 × twopoint718 quits (~cjw@fsf/member/twopoint718) (Ping timeout: 256 seconds)
2020-11-06 17:16:23 × britva quits (~britva@31-10-157-156.cgn.dynamic.upc.ch) (Quit: This computer has gone to sleep)
2020-11-06 17:17:44 britva joins (~britva@31-10-157-156.cgn.dynamic.upc.ch)
2020-11-06 17:20:18 gattytto joins (b33e397e@179.62.57.126)
2020-11-06 17:20:23 <gattytto> hello :D
2020-11-06 17:21:27 × Aquazi quits (uid312403@gateway/web/irccloud.com/x-rydgrdgzszjcykfa) (Quit: Connection closed for inactivity)
2020-11-06 17:23:55 × chele quits (~chele@ip5b416ea2.dynamic.kabel-deutschland.de) (Ping timeout: 246 seconds)
2020-11-06 17:24:41 <gattytto> I'm having issues trying to build the test suite for github/haskell-servant/example-servant-minimal because of some errors in the test/AppSpec.hs file. https://gist.github.com/gattytto/a43c8ca49936c86a6f9ed68380118bf3
2020-11-06 17:25:00 <gattytto> can I get some help? I have already changed ServantError for ClientError as noted in the servant lib docs
2020-11-06 17:25:06 twopoint718 joins (~cjw@fsf/member/twopoint718)
2020-11-06 17:25:54 conal joins (~conal@198.8.81.71)
2020-11-06 17:28:00 × dmwit quits (~dmwit@pool-108-28-166-212.washdc.fios.verizon.net) (Read error: Connection reset by peer)
2020-11-06 17:28:18 × cr3 quits (~cr3@192-222-143-195.qc.cable.ebox.net) (Quit: leaving)
2020-11-06 17:30:54 × invaser quits (~Thunderbi@31.148.23.125) (Ping timeout: 256 seconds)
2020-11-06 17:31:27 × ubert quits (~Thunderbi@p200300ecdf1e53aae6b318fffe838f33.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
2020-11-06 17:31:48 ubert joins (~Thunderbi@p200300ecdf1e5337e6b318fffe838f33.dip0.t-ipconnect.de)
2020-11-06 17:32:27 × joaj quits (~joaj@2001:690:2100:1b:a36f:f7ab:d46c:98f0) (Ping timeout: 272 seconds)
2020-11-06 17:33:38 <glguy> gattytto: https://hackage.haskell.org/package/servant-client-core-0.18.1/docs/Servant-Client-Core-ClientError.html#t:ClientError says FailureResponses has two fields; you have only one in your error message snippet
2020-11-06 17:33:49 <glguy> FailureResponse (RequestF () (BaseUrl, ByteString)) Response
2020-11-06 17:33:53 × borne quits (~fritjof@200116b864a45200fbd62cc7430251a2.dip.versatel-1u1.de) (Ping timeout: 244 seconds)
2020-11-06 17:35:11 <gattytto> I'm trying to build the test suite that comes with the example project so I get those errors, does this mean the lib changed?
2020-11-06 17:36:13 takuan joins (~takuan@178-116-218-225.access.telenet.be)
2020-11-06 17:36:23 <gattytto> this is the file https://gist.github.com/gattytto/5ae5f997d107d051a6a0e9875e654c82
2020-11-06 17:37:51 <glguy> gattytto: If it doesn't build then yeah the API changed and no one ran the example test suite since then
2020-11-06 17:38:32 jakob_ joins (~textual@p57b0eae0.dip0.t-ipconnect.de)
2020-11-06 17:39:08 heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net)
2020-11-06 17:40:01 Deide joins (~Deide@217.155.19.23)
2020-11-06 17:40:47 avdb joins (~avdb@ip-62-235-12-157.dsl.scarlet.be)
2020-11-06 17:41:38 × thir quits (~thir@p200300f27f0b7e00f4e9381c2bf90854.dip0.t-ipconnect.de) (Remote host closed the connection)
2020-11-06 17:42:26 <monochrom> Nice maerwald
2020-11-06 17:42:29 howdoi joins (uid224@gateway/web/irccloud.com/x-zskrebdnslnraypo)
2020-11-06 17:42:31 thir joins (~thir@pd9e1bd8a.dip0.t-ipconnect.de)
2020-11-06 17:44:21 dmwit joins (~dmwit@pool-108-28-166-212.washdc.fios.verizon.net)
2020-11-06 17:47:13 × thir quits (~thir@pd9e1bd8a.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
2020-11-06 17:47:36 logo4poop joins (~logo4poop@leagueh.xyz)
2020-11-06 17:47:45 thir joins (~thir@p200300f27f0b7e00f4e9381c2bf90854.dip0.t-ipconnect.de)
2020-11-06 17:50:19 <gattytto> glguy: could you hint me on how to solve this? I'm very new to haskell so this is quite (very) advanced for me
2020-11-06 17:50:50 <glguy> afaik, servant is a pretty rough place to start if you're new to Haskell
2020-11-06 17:51:13 <maerwald> use scotty
2020-11-06 17:51:58 × thir quits (~thir@p200300f27f0b7e00f4e9381c2bf90854.dip0.t-ipconnect.de) (Ping timeout: 244 seconds)
2020-11-06 17:52:03 <gattytto> I'm trying to fix the test suite to include this project as a "demo" project for the inclusion of haskell to the Eclipse CHE web IDE
2020-11-06 17:53:23 dbmikus__ joins (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com)
2020-11-06 17:53:52 <gattytto> for my personal learning curve I'm still reading books about haskell, not yet even tried writing any code outside of ghci prompt
2020-11-06 17:54:16 invaser joins (~Thunderbi@31.148.23.125)
2020-11-06 17:55:40 <monochrom> IMO servant is not for very new to Haskell.
2020-11-06 17:56:15 <monochrom> Hell, most of the web programming libraries, therefore web programming itself altogether, is not for very new to Haskell.
2020-11-06 17:57:37 <gattytto> yeah, I'm not trying to learn from it (I mean yeah but with no success), but I'm trying to add the project as a general over-look of haskell because not only newcommers to haskell will want to use this eclipse CHE ide so I thought it would be un-sufficient to add a hello world example to the ide
2020-11-06 17:58:10 <gattytto> this is the demo project you get to when you click on a "example stack" for haskell in the IDE home screen
2020-11-06 17:58:35 hekkaidekapus{ is now known as hekkaidekapus
2020-11-06 17:58:53 × darjeeling_ quits (~darjeelin@115.215.43.51) (Ping timeout: 256 seconds)
2020-11-06 17:59:21 <geekosaur> you might do better to ask the servant folks to update their demo, telling them why
2020-11-06 17:59:26 <hekkaidekapus> gattytto: Could you provide a link to that IDE you’re talking about?
2020-11-06 18:00:01 × Gunni1 quits (~Gunni@154.13.1.56) ()
2020-11-06 18:00:02 <gattytto> I have made an issue in their repo but it's been idling for more than a week so I thought to come here and maybe advanced users find it easier to fix the test suit
2020-11-06 18:00:10 <gattytto> hekkaidekapus yes che.openshift.io
2020-11-06 18:00:14 × nurupo quits (~nurupo.ga@unaffiliated/nurupo) (Quit: nurupo.ga)
2020-11-06 18:00:25 nurupo joins (~nurupo.ga@unaffiliated/nurupo)
2020-11-06 18:00:39 × _xor quits (~xor@74.215.46.133) (Quit: WeeChat 2.9)
2020-11-06 18:00:48 <gattytto> you can make a free acount and get 7gb of ram and 2gb of disk to create projects, I'll share here now a devfile spec to get to the current workspace I'm working with
2020-11-06 18:00:48 <hekkaidekapus> Thanks. And another one for the issue report?
2020-11-06 18:00:55 darjeeling_ joins (~darjeelin@115.215.43.51)
2020-11-06 18:00:58 <gattytto> https://github.com/haskell-servant/example-servant-minimal/issues/11
2020-11-06 18:00:59 <monochrom> IMO a short console application is sufficient.
2020-11-06 18:01:33 <monochrom> The purpose is to show how Haskell fits into Eclispe, not show off Haskell.
2020-11-06 18:02:35 <monochrom> If it needs to also show how to do dependencies on libraries on hackage, consider simply pulling in random and printing a few random numbers.
2020-11-06 18:02:40 <gattytto> actually my attempt is to provide a demo that uses all of the available functions that I included in the commit, like the debugging extension, code hints, peek definition and so on
2020-11-06 18:04:46 <monochrom> Printing a few random numbers can do that, too.
2020-11-06 18:05:08 <gattytto> hekkaidekapus if you create an account in che.openshift.io then you can go to this link che.openshift.io/f?url=https://raw.githubusercontent.com/gattytto/example-servant-minimal/8.8.4/devfile.yaml you get to the project
2020-11-06 18:05:12 <monochrom> Or do random permutation of a list if you need it longer and harder to debug.
2020-11-06 18:05:41 <monochrom> (and recursive)
2020-11-06 18:06:06 <hekkaidekapus> gattytto: You should follow the advice glguy and monochrom gave you. By the way, that CHE URL redirects to a login page and I gave up at that point. Also, there is a Haskell IDE community wherein people cooridnate their work at <https://github.com/haskell/haskell-language-server>.
2020-11-06 18:06:58 <monochrom> How long does it take to download servant (and its transitive dependency closure) and compile them all?
2020-11-06 18:07:00 <gattytto> yes hekkaidekaups it requires to have an account which is free
2020-11-06 18:07:09 <monochrom> I don't imagine it is any less than 30 seconds.
2020-11-06 18:07:14 <gattytto> well.. a couple minutes in openshift
2020-11-06 18:07:31 <gattytto> because the extensions work with docker image sidecars
2020-11-06 18:07:43 <monochrom> If I were to open up Eclipse for the first time and watch its Haskell demo, I am not going to wait 30 seconds for merely compiling.
2020-11-06 18:07:47 <gattytto> and I have built ghcide from source in the sidecar build process so it has the sources, it just builds them
2020-11-06 18:08:09 <hekkaidekapus> gattytto: Yeah, and I’m not going to create that account. Are you a CHE developer?
2020-11-06 18:09:02 <gattytto> che is a project of the eclipse fundation, it's an open sourced project. I'm only a committer memeber since recently. Openshift is a free (and offers paid service of course) tier provided by redhat
2020-11-06 18:10:29 mirrorbird joins (~psutcliff@176.227.54.4)
2020-11-06 18:10:38 <gattytto> the sidecar includes both haskell-language-server and ghcide built from source, and the environment is included in 3 versions: 8.8.4, 8.10.1 and 8.10.2 and all the components are build from source for their respective version
2020-11-06 18:10:44 irc_user joins (uid423822@gateway/web/irccloud.com/x-epbzivxsuvgflifa)

All times are in UTC.