Home liberachat/#haskell: Logs Calendar

Logs: liberachat/#haskell

←Prev  Next→ 1,804,392 events total
2021-08-23 19:03:38 jakalx parts (~jakalx@base.jakalx.net) (Error from remote client)
2021-08-23 19:04:12 <[exa]> hm got it, for me it's gnutls vs openssl
2021-08-23 19:04:21 <[exa]> gnutls's got a bit more aggressive crypto in place by default
2021-08-23 19:05:00 teo joins (~teo@137.220.120.222)
2021-08-23 19:05:11 <[exa]> timing of `gnutls-cli` vs `openssl s_client` is consistent with what you see there
2021-08-23 19:05:41 <[exa]> roughly the 800 vs 600 ms
2021-08-23 19:06:11 <maerwald> hm, I should try curl linked against polarssl
2021-08-23 19:06:44 <[exa]> there's also gnutls curl somewhere
2021-08-23 19:06:47 <[exa]> at least debian has some
2021-08-23 19:08:46 jakalx joins (~jakalx@base.jakalx.net)
2021-08-23 19:11:22 jtomas_ joins (~jtomas@233.red-83-34-2.dynamicip.rima-tde.net)
2021-08-23 19:12:32 × trcc quits (~trcc@130.225.0.251) ()
2021-08-23 19:13:47 × jtomas quits (~jtomas@233.red-83-34-2.dynamicip.rima-tde.net) (Ping timeout: 240 seconds)
2021-08-23 19:14:45 peutri_ is now known as peutri
2021-08-23 19:18:51 roboguy_ joins (~roboguy_@2605:a601:afe7:9f00:5b4:1bf2:3392:8995)
2021-08-23 19:19:41 <carter> i've been having fun figuruing out what monad transformer helpers are best for writing a snazzy interpreter / compiler lately
2021-08-23 19:23:34 <[exa]> "snazzy"? :D
2021-08-23 19:24:07 juri_ joins (~juri@178.63.35.222)
2021-08-23 19:25:28 <[exa]> (I learned a new word)
2021-08-23 19:27:53 <maerwald> carter: MonadChronicle?
2021-08-23 19:28:08 <carter> maerwald: ooo, that sounds fun
2021-08-23 19:28:10 <[exa]> maerwald: I can't dig what's openssl using for KEX but not expecting problems there; changing gnutls ciphersuites didn't help much. I guess it's dark magicks
2021-08-23 19:28:20 <carter> maerwald: what would that do
2021-08-23 19:28:23 <carter> [exa]: glad i could help
2021-08-23 19:28:27 <carter> not a native speaker?
2021-08-23 19:28:27 <maerwald> carter: express warnings and failure
2021-08-23 19:28:44 <maerwald> it's like These
2021-08-23 19:28:55 <maerwald> would probably be fun if you make it an open sum type, heh
2021-08-23 19:29:10 <carter> oh that looks fun
2021-08-23 19:29:27 <carter> thats probably the right thing for type checking a sect of SCC's
2021-08-23 19:29:53 wootehfoot joins (~wootehfoo@user/wootehfoot)
2021-08-23 19:30:05 × teo quits (~teo@137.220.120.222) (Quit: Lost terminal)
2021-08-23 19:30:16 <maerwald> I think I'm a believer of cabal-docspec now
2021-08-23 19:30:53 <carter> oh
2021-08-23 19:31:53 <maerwald> no need to have a doctest target
2021-08-23 19:31:55 <carter> is that in cabal 3.6 yet?
2021-08-23 19:31:58 <maerwald> no
2021-08-23 19:32:05 <maerwald> one of phadejs hidden projects
2021-08-23 19:32:14 <carter> https://github.com/phadej/cabal-extras/tree/master/cabal-docspec this one?
2021-08-23 19:32:21 <maerwald> ya
2021-08-23 19:32:42 <maerwald> I can run it without a doctest target, without a Main, just over my codebase
2021-08-23 19:33:02 derelict joins (~derelict@user/derelict)
2021-08-23 19:33:14 <maerwald> it just needs the project to be built before, probably needs plan.json etc
2021-08-23 19:33:42 <maerwald> but can change comments without recompiling and it will still pick them up
2021-08-23 19:34:58 × bgamari quits (~bgamari@2001:470:e438::1) (Quit: ZNC 1.8.1 - https://znc.in)
2021-08-23 19:35:18 bgamari joins (~bgamari@2001:470:e438::1)
2021-08-23 19:35:25 <carter> oh thats nice
2021-08-23 19:35:35 <carter> how do you script it in?
2021-08-23 19:35:47 × neo quits (~neo3@cpe-292712.ip.primehome.com) (Ping timeout: 240 seconds)
2021-08-23 19:36:12 <carter> hrmm
2021-08-23 19:36:15 <maerwald> carter: https://github.com/hasufell/shortbytestring/blob/219b6f0f48bb29ec20015a36db5ad97eab072e64/.github/workflows/haskell.yml#L53
2021-08-23 19:36:18 <carter> would be nice if it was cabal-ized
2021-08-23 19:36:41 <carter> oh nice
2021-08-23 19:37:16 <maerwald> carter: I whined about it here https://github.com/haskell/cabal/issues/2327
2021-08-23 19:43:16 Lord_of_Life_ joins (~Lord@user/lord-of-life/x-2819915)
2021-08-23 19:44:14 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 250 seconds)
2021-08-23 19:44:33 Lord_of_Life_ is now known as Lord_of_Life
2021-08-23 19:48:23 × venue quits (~venue@user/venue) (Quit: was tired)
2021-08-23 19:49:07 × lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 240 seconds)
2021-08-23 19:49:47 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-08-23 19:51:22 × mei quits (~mei@user/mei) (Ping timeout: 258 seconds)
2021-08-23 19:52:23 × MoC quits (~moc@user/moc) (Quit: Konversation terminated!)
2021-08-23 19:59:29 <maerwald> ,
2021-08-23 19:59:36 <tomsmeding> !
2021-08-23 20:03:08 <maerwald> `traverseFold f = foldl (\mb a -> (<>) <$> mb <*> f a) (pure mempty)` -- I don't remember why I wrote this function
2021-08-23 20:03:11 <maerwald> and it's confusing
2021-08-23 20:03:31 <maerwald> try `traverseFold (:[]) ["1","2","3","4","5"]` vs `traverseFold (:[","]) ["1","2","3","4","5"]` lol
2021-08-23 20:04:09 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
2021-08-23 20:04:09 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Changing host)
2021-08-23 20:04:09 wroathe joins (~wroathe@user/wroathe)
2021-08-23 20:05:31 × juhp quits (~juhp@128.106.188.220) (Ping timeout: 252 seconds)
2021-08-23 20:07:33 juhp joins (~juhp@128.106.188.220)
2021-08-23 20:08:11 × _ht quits (~quassel@82-169-194-8.biz.kpn.net) (Remote host closed the connection)
2021-08-23 20:09:27 × Erutuon quits (~Erutuon@user/erutuon) (Ping timeout: 240 seconds)
2021-08-23 20:09:33 ent- is now known as ent
2021-08-23 20:11:21 <maerwald> don't use list monad :p
2021-08-23 20:11:41 Erutuon joins (~Erutuon@user/erutuon)
2021-08-23 20:15:41 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:71e9:72b:1860:cb0f) (Remote host closed the connection)
2021-08-23 20:16:46 chisui joins (~chisui@200116b868b0580051414fea9b4eac83.dip.versatel-1u1.de)
2021-08-23 20:18:24 × wootehfoot quits (~wootehfoo@user/wootehfoot) (Read error: Connection reset by peer)
2021-08-23 20:18:41 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 248 seconds)
2021-08-23 20:18:53 <fresheyeball> can I set cpp-options in hie.yaml?
2021-08-23 20:20:09 jgeerds joins (~jgeerds@55d4b311.access.ecotel.net)
2021-08-23 20:21:27 <maerwald> fresheyeball: why?
2021-08-23 20:21:39 <fresheyeball> well I set it in the cabal file
2021-08-23 20:21:43 <fresheyeball> and everything compiles fine
2021-08-23 20:21:56 <fresheyeball> but hls is acting like those options are not set for the target
2021-08-23 20:22:10 <maerwald> cabal.project?
2021-08-23 20:22:21 <fresheyeball> I don't have one of those
2021-08-23 20:22:28 <maerwald> create one
2021-08-23 20:22:44 tommd joins (~tommd@75-164-130-101.ptld.qwest.net)
2021-08-23 20:23:32 <fresheyeball> ok done
2021-08-23 20:23:39 <fresheyeball> I enumerate my three exes
2021-08-23 20:23:42 <fresheyeball> and set tests: True
2021-08-23 20:23:47 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 250 seconds)
2021-08-23 20:24:17 <fresheyeball> now hls just crashes
2021-08-23 20:24:27 <tommd> I've been wanting to get into haskell.nix for a while now (for build time improvements on large projects) but quickly run into issues such as `error: attribute 'cabal-to-nix' missing, at ...`. How should I learn up on Nix?
2021-08-23 20:24:48 <tommd> That is, nix + Haskell to be quite clear. Less learning nix and more applying to improve my Haskell experience.
2021-08-23 20:24:58 × chisui quits (~chisui@200116b868b0580051414fea9b4eac83.dip.versatel-1u1.de) (Quit: Client closed)
2021-08-23 20:25:27 <fresheyeball> maerwald: actually what would it even be in my case? I just have 1 cabal file

All times are in UTC.