Home freenode/#haskell: Logs Calendar

Logs: freenode/#haskell

←Prev  Next→ 502,152 events total
2021-04-28 10:59:58 aveltras joins (uid364989@gateway/web/irccloud.com/x-yfblqpcgihobrdbr)
2021-04-28 11:00:54 nineonine joins (~nineonine@2604:3d08:7785:9600:18c3:826f:bcf6:7789)
2021-04-28 11:01:19 minoru_shiraeesh joins (~shiraeesh@109.166.56.250)
2021-04-28 11:01:25 kiweun joins (~kiweun@2607:fea8:2a62:9600:fcc4:b6f1:bad6:309d)
2021-04-28 11:01:40 <aveltras> does anyone successfully use haskell-language-server on a stack "monorepo" (stack.yaml in root directory and multiple subdirectories with each their package.yaml) ? It kinda works but my laptop is constantly hitting max ram usage and when using "haskell-language-server" on the project to check it without ide usage, it seems to be building the subpackages multiple times
2021-04-28 11:01:51 olle parts (~olle@mue-88-130-56-035.dsl.tropolys.de) ()
2021-04-28 11:02:06 × elfets quits (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de) (Ping timeout: 260 seconds)
2021-04-28 11:02:37 × elfets_ quits (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de) (Ping timeout: 260 seconds)
2021-04-28 11:02:47 <joel135> stack install lens-tutorial; stack ghci; import Control.Lens.Tutorial; Could not find module ‘Control.Lens.Tutorial’; What gives?
2021-04-28 11:05:03 stree joins (~stree@68.36.8.116)
2021-04-28 11:05:21 × nineonine quits (~nineonine@2604:3d08:7785:9600:18c3:826f:bcf6:7789) (Ping timeout: 258 seconds)
2021-04-28 11:06:04 <merijn> iirc "stack install" isn't what you want
2021-04-28 11:06:16 <merijn> But then, I don't use stack, so what do I know :p
2021-04-28 11:06:25 × kiweun quits (~kiweun@2607:fea8:2a62:9600:fcc4:b6f1:bad6:309d) (Ping timeout: 276 seconds)
2021-04-28 11:07:16 × ubert1 quits (~Thunderbi@178.165.128.83.wireless.dyn.drei.com) (Ping timeout: 258 seconds)
2021-04-28 11:07:19 bahamas joins (~lucian@unaffiliated/bahamas)
2021-04-28 11:07:23 <joel135> It claimed to install lens-tutorial, at least.
2021-04-28 11:07:58 <maerwald> stack repl --package lens?
2021-04-28 11:09:38 × DavidEichmann quits (~david@147.136.46.217.dyn.plus.net) (Ping timeout: 260 seconds)
2021-04-28 11:10:55 <raehik> When annotating data constructors, what's the Haddock syntax to latch a comment onto a given constructor?
2021-04-28 11:11:09 × Mrbuck quits (~Mrbuck@gateway/tor-sasl/mrbuck) (Ping timeout: 240 seconds)
2021-04-28 11:11:25 wmacmil joins (~wmacmil@c83-248-72-252.bredband.comhem.se)
2021-04-28 11:11:37 <raehik> I use '-- | blabla' myself, but I've seen '-- ^ blabla'? and I rarely check the actual Haddock output lol
2021-04-28 11:11:40 <merijn> raehik: https://hackage.haskell.org/package/broadcast-chan-0.2.1.1/docs/src/BroadcastChan.Internal.html#Direction
2021-04-28 11:12:07 <raehik> merijn: if I put the comment on a newline, above or below?
2021-04-28 11:12:07 <merijn> raehik: The difference is that '-- |' must come *before* and '-- ^' after
2021-04-28 11:12:13 <raehik> Bahahaha. I thought so.
2021-04-28 11:12:32 <merijn> raehik: And I don't think '-- |' works for function arguments and might not work for constructors?
2021-04-28 11:13:26 <raehik> ahh, thanks
2021-04-28 11:14:12 × zmijunkie quits (~Adium@87.122.222.152) (Read error: Connection reset by peer)
2021-04-28 11:21:06 Qwerky_ joins (~qwerky@37.165.107.63)
2021-04-28 11:22:20 jamm_ joins (~jamm@unaffiliated/jamm)
2021-04-28 11:22:52 ddellacosta joins (ddellacost@gateway/vpn/mullvad/ddellacosta)
2021-04-28 11:23:38 × Qwerky quits (~qwerky@37.170.48.251) (Ping timeout: 252 seconds)
2021-04-28 11:24:31 × dmytrish quits (~mitra@2a02:8084:a82:d900:6df4:a206:6bd4:dc59) (Ping timeout: 260 seconds)
2021-04-28 11:26:58 × enthropy quits (~aavogt@135-23-166-92.cpe.pppoe.ca) (Ping timeout: 252 seconds)
2021-04-28 11:27:11 × ddellacosta quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 246 seconds)
2021-04-28 11:28:09 × jamm_ quits (~jamm@unaffiliated/jamm) ()
2021-04-28 11:29:43 × bahamas quits (~lucian@unaffiliated/bahamas) (Ping timeout: 252 seconds)
2021-04-28 11:30:16 × L29Ah quits (~L29Ah@unaffiliated/l29ah) (Ping timeout: 252 seconds)
2021-04-28 11:30:27 × bennofs_ quits (~quassel@x4dbff94d.dyn.telefonica.de) (Ping timeout: 248 seconds)
2021-04-28 11:34:07 <joel135> maerwald: nothing changed
2021-04-28 11:34:29 machinedgod joins (~machinedg@135-23-192-217.cpe.pppoe.ca)
2021-04-28 11:38:22 skewerr is now known as spoonm
2021-04-28 11:38:34 jamm_ joins (~jamm@unaffiliated/jamm)
2021-04-28 11:40:50 enthropy joins (~aavogt@135-23-166-92.cpe.pppoe.ca)
2021-04-28 11:41:57 × jpds quits (~jpds@gateway/tor-sasl/jpds) (Ping timeout: 240 seconds)
2021-04-28 11:42:45 × ech quits (~user@gateway/tor-sasl/ech) (Ping timeout: 240 seconds)
2021-04-28 11:42:46 jpds joins (~jpds@gateway/tor-sasl/jpds)
2021-04-28 11:44:29 faustind parts (~faustin@M014008067225.v4.enabler.ne.jp) ()
2021-04-28 11:44:46 <maerwald> that's depressing
2021-04-28 11:45:11 ulidtko|k joins (~ulidtko@31.133.98.224)
2021-04-28 11:47:54 × ulidtko quits (~ulidtko@194.54.80.38) (Ping timeout: 260 seconds)
2021-04-28 11:51:15 × philderbeast quits (~textual@bras-base-vldvpq5901w-grc-06-184-144-244-252.dsl.bell.ca) (Quit: My MacBook has gone to sleep. ZZZzzz…)
2021-04-28 11:51:31 ech joins (~user@gateway/tor-sasl/ech)
2021-04-28 11:51:43 ulidtko|kk joins (~ulidtko@194.54.80.38)
2021-04-28 11:51:55 tlaxkit joins (~konversat@185.228.153.18)
2021-04-28 11:54:06 <merijn> maerwald: "repl --package" is cabal
2021-04-28 11:54:28 × ulidtko|k quits (~ulidtko@31.133.98.224) (Ping timeout: 252 seconds)
2021-04-28 11:55:49 × ekrion quits (~ffx1@181.58.39.182) (Remote host closed the connection)
2021-04-28 11:58:02 <maerwald> in cabal it's --build-depends
2021-04-28 11:58:31 ph88 joins (~ph88@2a02:8109:9e00:7e5c:d5ef:86b3:afc4:9258)
2021-04-28 11:59:53 <merijn> oh, right
2021-04-28 12:00:15 <maerwald> I'm not even sure what --package does there
2021-04-28 12:00:28 ddellacosta joins (ddellacost@gateway/vpn/mullvad/ddellacosta)
2021-04-28 12:00:52 Tario joins (~Tario@201.192.165.173)
2021-04-28 12:02:09 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Quit: = "")
2021-04-28 12:04:14 <maerwald> hmm, git does weird stuff to stdout... my fancy stdout printers don't work well with it
2021-04-28 12:04:38 × ddellacosta quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 246 seconds)
2021-04-28 12:05:07 × sh9 quits (~sh9@softbank060116136158.bbtec.net) (Quit: WeeChat 2.9)
2021-04-28 12:05:08 heatsink joins (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
2021-04-28 12:06:31 <merijn> maerwald: How did you implement you fancy printers?
2021-04-28 12:07:20 <maerwald> merijn: https://gitlab.haskell.org/haskell/ghcup-hs/-/blob/master/lib/GHCup/Utils/File.hs#L147
2021-04-28 12:07:32 × jgt_ quits (~jgt@46.154.88.171) (Remote host closed the connection)
2021-04-28 12:08:11 <merijn> maerwald: What kinda weirdness are you seeing?
2021-04-28 12:08:49 <merijn> <- has a hunch
2021-04-28 12:08:50 <maerwald> commands that exit quickly don't get shown, some lines persist that shouldn't
2021-04-28 12:09:23 <merijn> maerwald: You're not manually setting buffering, I guess?
2021-04-28 12:09:49 × heatsink quits (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 260 seconds)
2021-04-28 12:10:26 <merijn> maerwald: terminal/pty file descriptors are (by default) in line buffered mode, file descriptors that are *not* terminals (such as pipes) are, by default, block buffered
2021-04-28 12:11:09 × ech quits (~user@gateway/tor-sasl/ech) (Ping timeout: 240 seconds)
2021-04-28 12:11:17 <merijn> maerwald: Also "forkProcess" <- RIP your sanity
2021-04-28 12:11:50 <maerwald> who said I'm sane?
2021-04-28 12:12:27 <merijn> I'm 99.9% certain it's *literally* impossible to use forkProcess correctly/safely
2021-04-28 12:12:34 <merijn> Actually, scratch that
2021-04-28 12:12:45 <maerwald> no good library to read stdout of a subprocess as a stream
2021-04-28 12:12:50 <merijn> 99.999% certain if your code uses the threaded RTS and/or multiple Haskell threads
2021-04-28 12:13:38 ech joins (~user@gateway/tor-sasl/ech)
2021-04-28 12:13:47 <merijn> maerwald: What's wrong with createProcess and using Handles?
2021-04-28 12:14:28 <maerwald> don't like them
2021-04-28 12:14:35 <merijn> tbh, the fact that unix exports forkProcess is down-right negligent
2021-04-28 12:14:37 Neuromancer joins (~Neuromanc@unaffiliated/neuromancer)
2021-04-28 12:15:08 × djce quits (~djce@185.163.110.100) (Remote host closed the connection)
2021-04-28 12:15:36 × jamm_ quits (~jamm@unaffiliated/jamm) (Remote host closed the connection)
2021-04-28 12:16:15 jamm_ joins (~jamm@unaffiliated/jamm)
2021-04-28 12:17:17 × ram19890 quits (~ram@49.205.84.253) (Quit: Konversation terminated!)
2021-04-28 12:20:17 loller_ joins (uid358106@gateway/web/irccloud.com/x-yykgptajeudcaatj)
2021-04-28 12:20:27 × jamm_ quits (~jamm@unaffiliated/jamm) (Ping timeout: 250 seconds)
2021-04-28 12:20:34 CMCDragonkai2 joins (~Thunderbi@60-242-118-130.tpgi.com.au)
2021-04-28 12:20:51 xkapastel joins (uid17782@gateway/web/irccloud.com/x-odtfelnunqxapxmp)

All times are in UTC.