Logs: freenode/#haskell
| 2021-03-15 20:13:00 | <motte> | any idea what's wrong with my setup? tried a different shell, a different terminal emulator, still not working |
| 2021-03-15 20:13:22 | <tomsmeding> | hololeap: and in that position cabal check still fails? |
| 2021-03-15 20:14:10 | <hololeap> | tomsmeding: there are no errors or warnings after i moved it |
| 2021-03-15 20:14:34 | <motte> | oh also, typing help should print a help text, but this also doesn't work |
| 2021-03-15 20:14:53 | <tomsmeding> | hololeap: I am somewhat disturbed that you get a linker error, of all things, but it sounds to me like you've found a solution (move the clause down) |
| 2021-03-15 20:14:53 | × | conal quits (~conal@64.71.133.70) (Read error: Connection reset by peer) |
| 2021-03-15 20:15:07 | <tomsmeding> | motte: are you sure that 'yesod devel' should give a terminal interface? |
| 2021-03-15 20:15:57 | <hololeap> | tomsmeding: i don't think i got a linker error, did i? just a bunch of warnings |
| 2021-03-15 20:16:03 | → | sdressel joins (~sdressel@pwning.de) |
| 2021-03-15 20:16:06 | <tomsmeding> | motte: https://www.yesodweb.com/page/quickstart says "Also, if you choose the "mini" scaffolding, yesod devel will not work." -- no idea about yesod, but that sounds perhaps related? |
| 2021-03-15 20:16:09 | × | sdressel_ quits (~sdressel@pwning.de) (Ping timeout: 256 seconds) |
| 2021-03-15 20:16:15 | × | dbmikus quits (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com) (Ping timeout: 246 seconds) |
| 2021-03-15 20:16:20 | <tomsmeding> | hololeap: that 'error while loading shared libraries' is a linker error |
| 2021-03-15 20:16:31 | × | sarahzrf quits (~sarahzrf_@sarahzrf.com) (Ping timeout: 256 seconds) |
| 2021-03-15 20:16:37 | <tomsmeding> | or at least, it looks like one |
| 2021-03-15 20:16:39 | → | sarahzrf_ joins (~sarahzrf_@sarahzrf.com) |
| 2021-03-15 20:17:31 | <hololeap> | oh, i think i know what that is from. it isn't an error i was getting except with this `wgetpaste` utility. my global env is screwy right now and it isn't finding the env installed by ghcup |
| 2021-03-15 20:17:37 | <ephemient> | well, I see in https://github.com/yesodweb/yesod/blob/master/yesod-bin/Devel.hs that it runs stack build --fast --file-watch, so that's what would be interpreting enter to rebuild / help / etc. |
| 2021-03-15 20:17:40 | × | vicfred_ quits (~vicfred@unaffiliated/vicfred) (Quit: Leaving) |
| 2021-03-15 20:17:40 | <motte> | tomsmeding: well i'm watching a tutorial of yesod, and the author demonstrates terminal input by pressing enter to rebuild, so i guess it should work |
| 2021-03-15 20:17:48 | <ephemient> | but it's unclear to me if stdin is wired up for that |
| 2021-03-15 20:18:00 | <ephemient> | it may have changed in different versions |
| 2021-03-15 20:18:04 | <motte> | tomsmeding: i'm not using the mini scaffolding so probably unrelated |
| 2021-03-15 20:18:21 | <hololeap> | tomsmeding: if that makes sense |
| 2021-03-15 20:18:56 | × | statusbot quits (~statusbot@ec2-34-198-122-184.compute-1.amazonaws.com) (Ping timeout: 256 seconds) |
| 2021-03-15 20:19:03 | → | statusbot joins (~statusbot@ec2-34-198-122-184.compute-1.amazonaws.com) |
| 2021-03-15 20:19:17 | <tomsmeding> | hololeap: I don't see anything else than that error, so not sure what warnings you're getting |
| 2021-03-15 20:19:29 | <tomsmeding> | but what about moving the stanza down does not work? |
| 2021-03-15 20:19:37 | <tomsmeding> | putting it in between the header lines looks suspicious anyway |
| 2021-03-15 20:20:05 | <hololeap> | wgetpaste is a utility that can publish the output of a command, and i didn't bother to check what it had published |
| 2021-03-15 20:20:16 | → | conal joins (~conal@64.71.133.70) |
| 2021-03-15 20:20:17 | <hololeap> | so that error is completely different from what i was getting |
| 2021-03-15 20:20:26 | <hololeap> | but, no, moving it _did_ fix it |
| 2021-03-15 20:20:53 | <tomsmeding> | in general, the form of a cabal file is cabal-version; further header lines; stanzas |
| 2021-03-15 20:21:00 | → | abhixec joins (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) |
| 2021-03-15 20:21:06 | <tomsmeding> | as far as I know |
| 2021-03-15 20:21:22 | <hololeap> | gotcha. it does look 'better' with the stanza moved down. i will do that in the future. |
| 2021-03-15 20:22:01 | <ephemient> | motte: I'm not familiar with Yesod, but it looks like the devel server changed behavior several years ago. do you know how old the tutorial you're watching is? |
| 2021-03-15 20:22:06 | <ephemient> | https://github.com/yesodweb/yesod/pull/1305 |
| 2021-03-15 20:22:15 | × | dsrt^ quits (dsrt@ip98-184-89-2.mc.at.cox.net) () |
| 2021-03-15 20:22:16 | × | alinab quits (sid468903@gateway/web/irccloud.com/x-pnysahqquupbvvmz) (Ping timeout: 256 seconds) |
| 2021-03-15 20:22:38 | <hololeap> | i'm also a bit confused about the --documentation flag for cabal upload |
| 2021-03-15 20:22:45 | × | Squarism quits (~someone@unaffiliated/squarism) (Ping timeout: 256 seconds) |
| 2021-03-15 20:22:54 | <hololeap> | will the documentation be generated on hackage without this flag? |
| 2021-03-15 20:23:01 | <epstein> | is there a haskell evaluator here? |
| 2021-03-15 20:23:19 | <Rembane> | > 1 + 1 |
| 2021-03-15 20:23:21 | <lambdabot> | 2 |
| 2021-03-15 20:23:28 | <codygman`> | re: postgres connection leaking in persistent. I think my issues are because resourcet.with says "resource will be freed as soon as the inner block is exited, whether normally or via an exception." So even if a ReleaseException happens the resource goes back into the pool? Maybe freed also counts destroying a resource as freeing. |
| 2021-03-15 20:23:51 | <motte> | it's from 2020 spring, so fairly new. i'm fairly sure this *should* work as the application says on startup "Type help for available commands", 'quit' to quit etc. |
| 2021-03-15 20:24:56 | × | Kaiepi quits (~Kaiepi@47.54.252.148) (Remote host closed the connection) |
| 2021-03-15 20:25:13 | → | alinab joins (sid468903@gateway/web/irccloud.com/x-rmachwsqzbwkxxoa) |
| 2021-03-15 20:25:31 | × | royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Quit: Connection closed) |
| 2021-03-15 20:25:36 | × | cole-h quits (~cole-h@c-73-48-197-220.hsd1.ca.comcast.net) (Ping timeout: 256 seconds) |
| 2021-03-15 20:25:36 | → | Squarism joins (~someone@178.62.91.8) |
| 2021-03-15 20:25:37 | × | Squarism quits (~someone@178.62.91.8) (Changing host) |
| 2021-03-15 20:25:37 | → | Squarism joins (~someone@unaffiliated/squarism) |
| 2021-03-15 20:25:51 | → | royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) |
| 2021-03-15 20:26:01 | → | cole-h joins (~cole-h@c-73-48-197-220.hsd1.ca.comcast.net) |
| 2021-03-15 20:26:22 | → | dbmikus joins (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com) |
| 2021-03-15 20:26:48 | <epstein> | > zip (repeat "anal") ["slavery", "bondage", "spanking", "juicing", "domination", "nuking"] |
| 2021-03-15 20:26:50 | <lambdabot> | [("anal","slavery"),("anal","bondage"),("anal","spanking"),("anal","juicing"... |
| 2021-03-15 20:27:25 | <geekosaur> | re cabal stanzas, it looks like source-repository comes after the header but before library and executable stanzas? per https://cabal.readthedocs.io/en/3.4/cabal-package.html#source-repositories |
| 2021-03-15 20:27:33 | × | mikoto-chan quits (~anass@gateway/tor-sasl/mikoto-chan) (Ping timeout: 268 seconds) |
| 2021-03-15 20:27:50 | <epstein> | > (repeat "spank") ++ "geekosaur" |
| 2021-03-15 20:27:52 | <lambdabot> | error: |
| 2021-03-15 20:27:52 | <lambdabot> | • Couldn't match type ‘Char’ with ‘[Char]’ |
| 2021-03-15 20:27:53 | <lambdabot> | Expected type: [[Char]] |
| 2021-03-15 20:28:08 | → | DTZUZU_ joins (~DTZUZO@207.81.119.43) |
| 2021-03-15 20:28:32 | <tomsmeding> | geekosaur: https://hackage.haskell.org/package/vector-0.12.2.0/vector.cabal does not conform to that |
| 2021-03-15 20:28:36 | <Gurkenglas> | > join (repeat "spank") ++ "geekosaur" -- it's pushed to infinity, of course |
| 2021-03-15 20:28:38 | <lambdabot> | "spankspankspankspankspankspankspankspankspankspankspankspankspankspankspank... |
| 2021-03-15 20:29:23 | <geekosaur> | but it does follow the header, at least |
| 2021-03-15 20:29:40 | <tomsmeding> | that it does :) |
| 2021-03-15 20:30:03 | <epstein> | ah |
| 2021-03-15 20:30:12 | <epstein> | huh |
| 2021-03-15 20:30:32 | <epstein> | > zip (repeat "yummy ") (repeat "geekosaur") |
| 2021-03-15 20:30:34 | <lambdabot> | [("yummy ","geekosaur"),("yummy ","geekosaur"),("yummy ","geekosaur"),("yumm... |
| 2021-03-15 20:30:36 | → | mikoto-chan joins (~anass@gateway/tor-sasl/mikoto-chan) |
| 2021-03-15 20:30:42 | × | Someguy123 quits (~someguy@unaffiliated/compgenius999) (Ping timeout: 256 seconds) |
| 2021-03-15 20:31:00 | <hololeap> | anyone know the answer to my question, before all this started? |
| 2021-03-15 20:31:06 | × | DTZUZU quits (~DTZUZO@205.ip-149-56-132.net) (Ping timeout: 268 seconds) |
| 2021-03-15 20:32:37 | <hololeap> | https://hackage.haskell.org/package/unlift-stm-0.1.0.0/candidate |
| 2021-03-15 20:32:50 | <hololeap> | this doesn't show any docs. is it because it is a candidate or do i need to upload them? |
| 2021-03-15 20:33:08 | <hololeap> | they get built fine locally with `cabal haddock` |
| 2021-03-15 20:33:37 | → | mouseghost joins (~draco@87-206-9-185.dynamic.chello.pl) |
| 2021-03-15 20:33:37 | × | mouseghost quits (~draco@87-206-9-185.dynamic.chello.pl) (Changing host) |
| 2021-03-15 20:33:37 | → | mouseghost joins (~draco@wikipedia/desperek) |
| 2021-03-15 20:34:01 | × | Wuzzy quits (~Wuzzy@p57a2ecf2.dip0.t-ipconnect.de) (Ping timeout: 256 seconds) |
| 2021-03-15 20:34:44 | <geekosaur> | becuase it's a candidate and it won't do a build until after it's published, iirc |
| 2021-03-15 20:34:58 | <hololeap> | ok, i'm gonna go for it then |
| 2021-03-15 20:34:59 | → | Someguy123 joins (~someguy@unaffiliated/compgenius999) |
| 2021-03-15 20:35:07 | <hololeap> | first upload to hackage, woo |
| 2021-03-15 20:35:34 | × | mikoto-chan quits (~anass@gateway/tor-sasl/mikoto-chan) (Ping timeout: 268 seconds) |
| 2021-03-15 20:35:34 | × | ystael quits (~ystael@26.sub-174-196-196.myvzw.com) (Read error: Connection reset by peer) |
| 2021-03-15 20:35:51 | × | travv0 quits (sid293381@gateway/web/irccloud.com/x-qfqftjhlfdqcrtoj) (Ping timeout: 256 seconds) |
| 2021-03-15 20:36:18 | × | Tene quits (~tene@poipu/supporter/slacker/tene) (Ping timeout: 245 seconds) |
| 2021-03-15 20:36:33 | × | ByronJohnson quits (~bairyn@unaffiliated/bob0) (Ping timeout: 260 seconds) |
| 2021-03-15 20:36:55 | × | zceejkr quits (~wintermut@cpe-92-37-88-51.dynamic.amis.net) (Ping timeout: 256 seconds) |
| 2021-03-15 20:37:03 | → | travv0 joins (sid293381@gateway/web/irccloud.com/x-wgqufftjffzjttmi) |
| 2021-03-15 20:37:17 | <epstein> | > foldl ++ "" (repeat "Lube") |
All times are in UTC.