Home liberachat/#haskell: Logs Calendar

Logs on 2023-02-23 (liberachat/#haskell)

00:05:32 × Tuplanolla quits (~Tuplanoll@91-159-68-152.elisa-laajakaista.fi) (Quit: Leaving.)
00:06:02 wroathe joins (~wroathe@207-153-38-140.fttp.usinternet.com)
00:06:03 × wroathe quits (~wroathe@207-153-38-140.fttp.usinternet.com) (Changing host)
00:06:03 wroathe joins (~wroathe@user/wroathe)
00:07:38 × img quits (~img@user/img) (Quit: ZNC 1.8.2 - https://znc.in)
00:07:55 img joins (~img@user/img)
00:08:16 <geekosaur> zurihac?
00:08:34 <geekosaur> oh, online
00:10:23 <jackdk> I think a lot of meetups are still online, dunno about the conferences
00:11:49 × bitmapper quits (uid464869@id-464869.lymington.irccloud.com) ()
00:14:55 mauke_ joins (~mauke@user/mauke)
00:16:07 × mauke quits (~mauke@user/mauke) (Ping timeout: 246 seconds)
00:16:07 mauke_ is now known as mauke
00:16:15 × cassaundra quits (~cassaundr@c-73-25-18-25.hsd1.or.comcast.net) (Ping timeout: 255 seconds)
00:16:43 cassaundra joins (~cassaundr@c-73-25-18-25.hsd1.or.comcast.net)
00:17:12 × cassaundra quits (~cassaundr@c-73-25-18-25.hsd1.or.comcast.net) (Client Quit)
00:23:04 <carter> so are TH [d| data decl |] quotes just really fragile about how they accept syntax or am i totally wrong?
00:23:39 × JimL quits (~quassel@89.162.26.217) (Ping timeout: 252 seconds)
00:23:52 <hellwolf[m]> who is also going to zurihac
00:23:52 <geekosaur> I don't think they're supposed to be
00:25:03 <geekosaur> zürich is very much out of the question for me, sadly
00:25:45 <carter> i missed zurihac last year, though i was around the following week
00:28:20 JimL joins (~quassel@89-162-26-217.fiber.signal.no)
00:30:49 × ozkutuk53 quits (~ozkutuk@176.240.174.60) (Quit: The Lounge - https://thelounge.chat)
00:34:35 × acidjnk quits (~acidjnk@p200300d6e715c435546b3c17a2b6e065.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
00:34:50 × johnw quits (~johnw@76-234-69-149.lightspeed.frokca.sbcglobal.net) (Quit: ZNC - http://znc.in)
00:34:50 × jwiegley quits (~jwiegley@2600:1700:cf00:db0:54a5:e5fd:6f88:147e) (Quit: ZNC - http://znc.in)
00:41:39 × zeenk quits (~zeenk@2a02:2f04:a214:1e00::7fe) (Quit: Konversation terminated!)
00:44:23 × harveypwca quits (~harveypwc@2601:246:c180:a570:3828:d8:e523:3f67) (Quit: Leaving)
00:51:19 <carter> geekosaur: like , couldn't do [d| \n ... data Foo = \n .... \n |] without a parser failure
00:52:26 <geekosaur> I'd report that
01:01:14 × stiell quits (~stiell@gateway/tor-sasl/stiell) (Ping timeout: 255 seconds)
01:05:07 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Ping timeout: 252 seconds)
01:05:19 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
01:05:19 allbery_b joins (~geekosaur@xmonad/geekosaur)
01:05:24 allbery_b is now known as geekosaur
01:08:50 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
01:10:35 × albet70 quits (~xxx@2400:8902::f03c:92ff:fe60:98d8) (Remote host closed the connection)
01:10:40 allbery_b joins (~geekosaur@xmonad/geekosaur)
01:10:40 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
01:10:43 allbery_b is now known as geekosaur
01:16:43 albet70 joins (~xxx@2400:8902::f03c:92ff:fe60:98d8)
01:22:10 × captnemo quits (~captnemo@193.32.127.226) (Quit: WeeChat 3.8)
01:30:22 stiell joins (~stiell@gateway/tor-sasl/stiell)
01:40:56 thegeekinside joins (~thegeekin@189.180.66.126)
01:44:32 × werneta quits (~werneta@137.79.215.205) (Remote host closed the connection)
01:51:04 razetime joins (~Thunderbi@117.193.4.97)
01:59:27 <maerwald[m]> hellwolf: me
02:03:23 <ghostbuster> why does :t "hello" print String, but :t 1 prints Num a => a
02:03:33 johnw joins (~johnw@76-234-69-149.lightspeed.frokca.sbcglobal.net)
02:04:03 <hpc> numeric literals are polymorphic
02:04:04 jwiegley joins (~jwiegley@2600:1700:cf00:db0:6165:340a:b206:7d04)
02:04:09 <hpc> they can be any type that's "numbery"
02:04:12 <hpc> > 1 :: Int
02:04:14 <lambdabot> 1
02:04:15 <hpc> > 1 :: Double
02:04:17 <lambdabot> 1.0
02:04:46 <hpc> "a :: x => y" means "a has type y, satisfying constraints x"
02:04:46 <ghostbuster> :t 1.0 prints Fractional a => a
02:04:47 <lambdabot> error: parse error on input ‘=>’
02:05:07 <hpc> or in this case, 1 is of type a, as long as "instance Num a" exists
02:05:10 <ghostbuster> hmm what is a constraint
02:05:17 <hpc> @src Num
02:05:18 <lambdabot> class Num a where
02:05:18 <lambdabot> (+), (-), (*) :: a -> a -> a
02:05:18 <lambdabot> negate, abs, signum :: a -> a
02:05:18 <lambdabot> fromInteger :: Integer -> a
02:05:24 <hpc> ^ is the definition of Num
02:05:41 <hpc> an easier example is Eq
02:05:45 <hpc> :t (==)
02:05:45 <lambdabot> Eq a => a -> a -> Bool
02:05:48 <hpc> @src Eq
02:05:48 <lambdabot> class Eq a where
02:05:48 <lambdabot> (==), (/=) :: a -> a -> Bool
02:05:57 <hpc> @let data Example = Small | Big
02:05:58 <lambdabot> Defined.
02:06:31 <hpc> @let instance Eq Example where Small == Big = False; Big == Small = False; _ == _ = True
02:06:32 <lambdabot> /sandbox/tmp/.L.hs:161:9: error:
02:06:33 <lambdabot> Ambiguous occurrence ‘Small’
02:06:33 <lambdabot> It could refer to
02:06:38 <hpc> ugh
02:06:40 <hpc> @undefine
02:06:40 <lambdabot> Undefined.
02:06:44 <hpc> @let data Example = Small' | Big'
02:06:45 <lambdabot> Defined.
02:06:54 <hpc> @let instance Eq Example where Small' == Big' = False; Big' == Small' = False; _ == _ = True
02:06:55 <lambdabot> Defined.
02:07:14 <ghostbuster> my local ghci says "(==) :: Eq a => a -> a -> Bool"
02:07:27 <hpc> yep
02:07:44 <hpc> so basically, if you have a type that's an instance of Eq, that's saying "you can compare values of this type for equality"
02:07:47 <maerwald[m]> <geekosaur> "zürich is very much out of the..." <- Why?
02:07:49 <hpc> and in the instance, you define how to do that
02:07:49 <ghostbuster> so that operator has type bool
02:07:54 <hpc> > Big' == Big'
02:07:56 <lambdabot> True
02:08:01 <hpc> > Small' /= Big'
02:08:03 <lambdabot> True
02:08:17 <hpc> Num is similar, with some magic built in that lets you write numeric literals
02:08:27 <ghostbuster> so a type can be an instance of more than one operator
02:08:31 <hpc> fromInteger defines how to turn a literal into your desired type
02:08:56 <ghostbuster> eg. Num can be negated, or have its absolute value taken, therefore Num is an instance of each of those operators?
02:09:18 <hpc> values of type Int can be negated or added or multiplied
02:09:38 <ghostbuster> is Int some sort of subclass of Num then?
02:09:39 <hpc> so you can write instance Num Int where definitions-of-all-those-operations
02:09:45 <hpc> Int is just a type
02:10:11 <ghostbuster> what is the relationship between Int and Num?
02:10:33 <hpc> an "instance Num Int" exists with definitions for all those operators
02:10:48 <hpc> but there's also "instance Eq Int" and such, because integers can be equal to each other
02:11:01 <hpc> there's also "instance Num Double", because sometimes you want decimal numbers
02:11:10 <hpc> > 5 == 6
02:11:11 <lambdabot> False
02:11:11 <ghostbuster> "instance Num Int" is a type?
02:11:14 <hpc> > 5.0 + 1.5
02:11:15 <lambdabot> 6.5
02:11:24 <hpc> "instance Num Int" is just a thing you declare
02:11:43 <hpc> (Num Int) itself is a Constraint, but that's kind-level stuff
02:11:48 <hpc> :k Num
02:11:49 <lambdabot> * -> Constraint
02:11:51 <hpc> :k Int
02:11:52 <lambdabot> *
02:11:54 <hpc> :k []
02:11:55 <lambdabot> * -> *
02:12:28 <hpc> (the parameter to [] is the type you want a list of)
02:12:59 <ghostbuster> this smells like object oriented inheritance
02:13:17 <hpc> it does, and it's just similar enough to really confuse people
02:13:45 <hpc> it's easy to think, i'll make a parent class and some child classes
02:14:03 <hpc> and then have some list of objects :: ParentClass a => [a]
02:14:15 <ghostbuster> in OOP, instances and types are sort of fundamentally different things.. but it seems like maybe that's not the case here
02:14:20 <hpc> but those values all have to be the same type, unlike in OOP where they can be any subclass
02:16:36 Lord_of_Life_ joins (~Lord@user/lord-of-life/x-2819915)
02:17:41 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 268 seconds)
02:17:56 Lord_of_Life_ is now known as Lord_of_Life
02:18:15 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 246 seconds)
02:22:02 <monochrom> Perhaps remove the idea that every language uses the word "instance" for the same thing, or the word "class" for the same thing, or...
02:22:17 <hpc> or return for the same thing :D
02:22:33 <monochrom> Did you know that there are 4 languages that used the word "functor" 4 different ways, and they were completely unrelated!
02:23:00 <monochrom> (Hint: Prolog, SML, Haskell, C++.)
02:23:01 <hpc> what's the fourth? i know haskell, ML, and C++
02:23:08 <hpc> prolog?
02:23:34 <hpc> oh, interesting
02:23:39 <hpc> it's just the function name, sort of
02:23:40 × mei quits (~mei@user/mei) (Remote host closed the connection)
02:23:45 <hpc> well, "function"
02:25:00 gehmehgeh joins (~user@user/gehmehgeh)
02:26:03 mei joins (~mei@user/mei)
02:27:38 × gmg quits (~user@user/gehmehgeh) (Ping timeout: 255 seconds)
02:27:54 × ddellacosta quits (~ddellacos@146.70.166.100) (Quit: WeeChat 3.8)
02:28:25 × waleee quits (~waleee@h-176-10-137-138.NA.cust.bahnhof.se) (Ping timeout: 246 seconds)
02:29:22 ddellacosta joins (~ddellacos@146.70.166.100)
02:42:24 robobub joins (uid248673@id-248673.uxbridge.irccloud.com)
02:44:15 varoo joins (~varoo@117.203.246.41)
02:44:16 × jero98772 quits (~jero98772@2800:484:1d80:d8ce:efcc:cbb3:7f2a:6dff) (Remote host closed the connection)
02:48:39 × mei quits (~mei@user/mei) (Remote host closed the connection)
02:49:57 × Square quits (~Square4@user/square) (Ping timeout: 252 seconds)
02:51:00 mei joins (~mei@user/mei)
02:51:26 <ghostbuster> ok so instance was not what i thought it was
02:57:11 bilegeek joins (~bilegeek@2600:1008:b06e:7f1:de80:d2af:626:bdf1)
03:11:04 × pwntips_ quits (~user@24-113-98-114.wavecable.com) (Ping timeout: 252 seconds)
03:12:01 pwntips joins (~user@24-113-98-114.wavecable.com)
03:12:53 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
03:17:29 × varoo quits (~varoo@117.203.246.41) (Ping timeout: 255 seconds)
03:27:57 × razetime quits (~Thunderbi@117.193.4.97) (Ping timeout: 255 seconds)
03:30:11 × jpds quits (~jpds@gateway/tor-sasl/jpds) (Ping timeout: 255 seconds)
03:31:04 × machinedgod quits (~machinedg@d198-53-218-113.abhsia.telus.net) (Ping timeout: 268 seconds)
03:32:04 jpds joins (~jpds@gateway/tor-sasl/jpds)
03:32:46 gastus joins (~gastus@185.6.123.233)
03:35:49 × gastus_ quits (~gastus@5.83.191.2) (Ping timeout: 252 seconds)
03:44:43 × td_ quits (~td@i53870915.versanet.de) (Ping timeout: 246 seconds)
03:46:44 td_ joins (~td@i53870911.versanet.de)
03:46:56 eggplantade joins (~Eggplanta@104-55-37-220.lightspeed.sntcca.sbcglobal.net)
03:47:17 × gehmehgeh quits (~user@user/gehmehgeh) (Ping timeout: 255 seconds)
03:48:59 falafel joins (~falafel@2607:fb91:143f:e47f:2486:3767:73cd:b416)
03:49:14 gehmehgeh joins (~user@user/gehmehgeh)
03:52:43 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Killed (NickServ (Forcing logout FinnElija -> finn_elija)))
03:52:43 finn_elija joins (~finn_elij@user/finn-elija/x-0085643)
03:52:43 finn_elija is now known as FinnElija
03:52:59 razetime joins (~Thunderbi@117.254.34.189)
03:58:01 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 246 seconds)
04:00:21 × mcglk quits (~mcglk@131.191.19.145) (Ping timeout: 255 seconds)
04:09:24 cheater_ joins (~Username@user/cheater)
04:12:25 slack1256 joins (~slack1256@186.11.53.84)
04:12:47 × cheater quits (~Username@user/cheater) (Ping timeout: 248 seconds)
04:12:50 cheater_ is now known as cheater
04:13:34 freeside joins (~mengwong@103.6.151.67)
04:16:10 mcglk joins (~mcglk@131.191.19.145)
04:18:45 × Everything quits (~Everythin@46.185.124.65) (Quit: leaving)
04:18:51 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Remote host closed the connection)
04:19:35 × razetime quits (~Thunderbi@117.254.34.189) (Ping timeout: 255 seconds)
04:22:34 mei is now known as Guest3721
04:22:34 × Guest3721 quits (~mei@user/mei) (Remote host closed the connection)
04:22:39 mei joins (~mei@user/mei)
04:25:52 × goober_ quits (~goober@90-231-13-185-no3430.tbcn.telia.com) (Quit: Leaving)
04:28:26 × sagax quits (~sagax_nb@user/sagax) (Excess Flood)
04:33:49 × johnw quits (~johnw@76-234-69-149.lightspeed.frokca.sbcglobal.net) (Quit: ZNC - http://znc.in)
04:33:49 × jwiegley quits (~jwiegley@2600:1700:cf00:db0:6165:340a:b206:7d04) (Quit: ZNC - http://znc.in)
04:33:58 × abhixec quits (~abhinav@c-67-169-139-16.hsd1.ca.comcast.net) (Ping timeout: 268 seconds)
04:35:45 johnw joins (~johnw@2600:1700:cf00:db0:bd35:2807:e193:42ca)
04:36:16 jwiegley joins (~jwiegley@2600:1700:cf00:db0:bd35:2807:e193:42ca)
04:46:51 jinsun__ joins (~jinsun@user/jinsun)
04:46:51 × jinsun quits (~jinsun@user/jinsun) (Killed (tantalum.libera.chat (Nickname regained by services)))
04:46:51 jinsun__ is now known as jinsun
04:47:59 wroathe joins (~wroathe@207-153-38-140.fttp.usinternet.com)
04:47:59 × wroathe quits (~wroathe@207-153-38-140.fttp.usinternet.com) (Changing host)
04:47:59 wroathe joins (~wroathe@user/wroathe)
04:48:34 × wroathe quits (~wroathe@user/wroathe) (Client Quit)
04:57:29 × azimut quits (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 255 seconds)
04:57:30 × Vajb quits (~Vajb@2001:999:230:f561:4ee8:ad7f:13ff:9959) (Read error: Connection reset by peer)
04:57:57 Vajb joins (~Vajb@hag-jnsbng11-58c3a5-27.dhcp.inet.fi)
04:58:57 razetime joins (~Thunderbi@117.254.35.53)
05:04:42 × Vajb quits (~Vajb@hag-jnsbng11-58c3a5-27.dhcp.inet.fi) (Ping timeout: 255 seconds)
05:06:03 × son0p quits (~ff@181.136.122.143) (Ping timeout: 255 seconds)
05:09:28 mbuf joins (~Shakthi@49.205.82.4)
05:10:33 Vajb joins (~Vajb@2001:999:230:f561:4ee8:ad7f:13ff:9959)
05:17:42 × mauke quits (~mauke@user/mauke) (Quit: leaving)
05:18:34 × masterbuilder quits (~masterbui@user/masterbuilder) (Quit: leaving)
05:19:26 mauke joins (~mauke@user/mauke)
05:27:37 × slack1256 quits (~slack1256@186.11.53.84) (Ping timeout: 268 seconds)
05:31:57 talismanick joins (~talismani@45-23-184-231.lightspeed.frokca.sbcglobal.net)
05:34:13 × thegeekinside quits (~thegeekin@189.180.66.126) (Ping timeout: 252 seconds)
05:39:47 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 255 seconds)
05:42:26 Inst joins (~Inst@2601:6c4:4081:54f0:f532:ca97:ac1f:c1cd)
05:42:30 <Inst> how cancer is this lib?
05:42:33 <Inst> https://github.com/liamzee/clearly/blob/master/src/Syntax/Clearly.hs
05:43:11 <Inst> it's like TaylorFausak's "much-beloved" Flow, except with functions instead of operators
05:43:47 bilegeek_ joins (~bilegeek@9.sub-174-209-35.myvzw.com)
05:46:26 × bilegeek quits (~bilegeek@2600:1008:b06e:7f1:de80:d2af:626:bdf1) (Ping timeout: 255 seconds)
05:47:20 × falafel quits (~falafel@2607:fb91:143f:e47f:2486:3767:73cd:b416) (Ping timeout: 255 seconds)
05:53:52 × razetime quits (~Thunderbi@117.254.35.53) (Ping timeout: 252 seconds)
05:53:55 razetime1 joins (~Thunderbi@117.254.34.182)
05:54:50 <Axman6> I don't see any problem with it
05:55:22 <Axman6> other than I would expect something like timesDo to maybe be infixr
05:56:09 <Inst> why infixr?
05:56:14 razetime1 is now known as razetime
05:56:16 <Inst> it's just a toy at this stage, and thanks for review
05:56:36 <Inst> yeah, it should be infixr
05:58:10 <Axman6> actually I'm not sure it matters, I was wondering about how m `timesDo` \i -> n `timesDo` \j -> do ... would parse but I think it's fine with BlockArguments
05:59:18 <Inst> it's baby's first hackage package, not sure how to search hackage for something equivalent
06:00:49 <Inst> hoogle via typesig works
06:01:10 <Inst> i dodged all the hoogle names in use, and no one else seems to have had the idea to convert most standard Haskell operators to function forms
06:03:23 × razetime quits (~Thunderbi@117.254.34.182) (Ping timeout: 268 seconds)
06:09:11 trev joins (~trev@user/trev)
06:12:16 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
06:12:20 razetime joins (~Thunderbi@117.254.34.182)
06:14:23 bgs joins (~bgs@212-85-160-171.dynamic.telemach.net)
06:18:05 razetime1 joins (~Thunderbi@117.193.3.85)
06:18:40 × razetime quits (~Thunderbi@117.254.34.182) (Ping timeout: 248 seconds)
06:18:40 razetime1 is now known as razetime
06:19:19 × sefidel quits (~sefidel@user/sefidel) (Remote host closed the connection)
06:19:52 sefidel joins (~sefidel@user/sefidel)
06:20:01 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
06:32:20 × shriekingnoise quits (~shrieking@186.137.175.87) (Ping timeout: 255 seconds)
06:35:22 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
06:50:15 × analoq quits (~yashi@user/dies) (Ping timeout: 268 seconds)
06:50:38 michalz joins (~michalz@185.246.207.221)
06:51:50 analoq joins (~yashi@user/dies)
07:01:18 kenran joins (~user@user/kenran)
07:01:27 × kenran quits (~user@user/kenran) (Remote host closed the connection)
07:10:50 × mbuf quits (~Shakthi@49.205.82.4) (Remote host closed the connection)
07:11:15 mbuf joins (~Shakthi@49.205.82.4)
07:11:27 takuan joins (~takuan@178-116-218-225.access.telenet.be)
07:14:41 × opticblast quits (~Thunderbi@172.58.84.5) (Ping timeout: 252 seconds)
07:23:53 × bilegeek_ quits (~bilegeek@9.sub-174-209-35.myvzw.com) (Quit: Leaving)
07:25:21 raehik joins (~raehik@92.40.171.132.threembb.co.uk)
07:27:58 son0p joins (~ff@181.136.122.143)
07:28:20 bitdex_ joins (~bitdex@gateway/tor-sasl/bitdex)
07:29:35 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 255 seconds)
07:35:27 varoo joins (~varoo@2401:4900:5d33:9260:3d5c:5004:293a:6d59)
07:37:52 × bgs quits (~bgs@212-85-160-171.dynamic.telemach.net) (Remote host closed the connection)
07:43:54 raehik_ joins (~raehik@92.40.217.52.threembb.co.uk)
07:44:21 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
07:46:07 × raehik quits (~raehik@92.40.171.132.threembb.co.uk) (Ping timeout: 248 seconds)
07:46:24 raehik__ joins (~raehik@92.40.219.18.threembb.co.uk)
07:48:39 × raehik_ quits (~raehik@92.40.217.52.threembb.co.uk) (Ping timeout: 246 seconds)
07:53:54 raehik_ joins (~raehik@92.40.218.71.threembb.co.uk)
07:56:22 × raehik__ quits (~raehik@92.40.219.18.threembb.co.uk) (Ping timeout: 246 seconds)
07:58:42 <cheater> am i being reasonable here? https://github.com/jimenezrick/nng-haskell/issues/2#issuecomment-1441316247
07:58:59 × mbuf quits (~Shakthi@49.205.82.4) (Quit: Leaving)
07:59:25 raehik__ joins (~raehik@92.40.184.161.threembb.co.uk)
08:02:00 × raehik_ quits (~raehik@92.40.218.71.threembb.co.uk) (Ping timeout: 255 seconds)
08:02:21 × ft quits (~ft@62.155.196.67) (Quit: leaving)
08:03:53 lortabac joins (~lortabac@2a01:e0a:541:b8f0:17db:85dd:46c2:dc12)
08:04:46 MajorBiscuit joins (~MajorBisc@c-001-011-016.client.tudelft.eduvpn.nl)
08:05:16 × raehik__ quits (~raehik@92.40.184.161.threembb.co.uk) (Ping timeout: 252 seconds)
08:06:03 × razetime quits (~Thunderbi@117.193.3.85) (Ping timeout: 248 seconds)
08:07:33 king_gs joins (~Thunderbi@2806:103e:29:1779:19a5:ca6b:2f79:45e7)
08:08:29 × Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
08:08:45 coot joins (~coot@213.134.171.3)
08:11:00 × AlexZenon quits (~alzenon@178.34.161.237) (Ping timeout: 255 seconds)
08:11:03 × Alex_test quits (~al_test@178.34.161.237) (Ping timeout: 246 seconds)
08:17:53 Alex_test joins (~al_test@178.34.161.237)
08:20:02 AlexZenon joins (~alzenon@178.34.161.237)
08:21:42 razetime joins (~Thunderbi@117.193.3.85)
08:26:15 offtherock joins (~blurb@96.45.2.121)
08:28:50 gnalzo joins (~gnalzo@2a01:e0a:498:fd50:fcc6:bb5d:489a:ce8c)
08:28:54 × rburkholder quits (~blurb@96.45.2.121) (Ping timeout: 255 seconds)
08:30:20 cfricke joins (~cfricke@user/cfricke)
08:30:22 × eggplantade quits (~Eggplanta@104-55-37-220.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
08:42:50 × varoo quits (~varoo@2401:4900:5d33:9260:3d5c:5004:293a:6d59) (Ping timeout: 255 seconds)
08:43:58 varoo joins (~varoo@2401:4900:5d31:debc:7069:ea2d:ca58:ad87)
08:45:33 × talismanick quits (~talismani@45-23-184-231.lightspeed.frokca.sbcglobal.net) (Ping timeout: 255 seconds)
08:46:11 chele joins (~chele@user/chele)
08:47:49 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
08:48:10 × varoo quits (~varoo@2401:4900:5d31:debc:7069:ea2d:ca58:ad87) (Client Quit)
08:49:43 <[exa]> cheater: well mostly, but I'm usually responding to these with "patch or gtfo" :D
08:55:05 acidjnk joins (~acidjnk@p200300d6e715c448a054fd95560e1205.dip0.t-ipconnect.de)
08:55:42 machinedgod joins (~machinedg@d198-53-218-113.abhsia.telus.net)
08:56:13 × ph88 quits (~ph88@91.66.101.83) (Ping timeout: 246 seconds)
09:02:29 × YoungFrog quits (~youngfrog@2a02:a03f:ca07:f900:98c4:f5a3:bfa9:f8ce) (Quit: ZNC 1.7.x-git-3-96481995 - https://znc.in)
09:02:49 YoungFrog joins (~youngfrog@39.129-180-91.adsl-dyn.isp.belgacom.be)
09:10:04 merijn joins (~merijn@c-001-001-006.client.esciencecenter.eduvpn.nl)
09:11:08 ubert joins (~Thunderbi@2a02:8109:abc0:6434:348c:e1b0:cafe:8da3)
09:18:28 × tzh quits (~tzh@24.21.73.154) (Quit: zzz)
09:22:05 × bitdex_ quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 255 seconds)
09:25:52 CiaoSen joins (~Jura@p200300c9570460002a3a4dfffe84dbd5.dip0.t-ipconnect.de)
09:25:59 <aforemny> cheater: as far as i understand the issue, your operating systems ships a version of nng that is too old. IMO it is reasonable for a software project to expect a recent enough versions of dependencies, seeing that they are not supporting a particular operating system. i agree, it would be nice if that dependency was sufficiently specified, but unfortunately it is the case that external dependencies more often than not just
09:25:59 <aforemny> aren't
09:26:50 bitdex_ joins (~bitdex@gateway/tor-sasl/bitdex)
09:27:35 <cheater> you're saying "recent enough" but who's to say what's recent enough?
09:27:51 <cheater> nng exists in that older version, with full functionality, that should be "recent enough"
09:28:19 <cheater> it's not like code that shipped out in 2021 suddenly stopped having features it had in the past
09:28:39 <aforemny> cheater: haskell-nng maintainers should say what is recent enough. it is common to support the latest version or a specific version only
09:29:00 <cheater> common for what?
09:29:08 <aforemny> cheater: it really depends on how semantically versioned nng is, and how stable its api with respect to what is used in haskell-nng is
09:29:20 <aforemny> cheater: common for open source software projects
09:29:40 <cheater> firefox is open source and it will connect to 20 year old web servers
09:29:55 <cheater> mysql is open source and mysql libraries will work with ancient versions of mysql
09:30:12 <cheater> apache httpd is open source and even an ancient version will work with the latest version of curl
09:30:14 <aforemny> cheater: you can always step up maintaining haskell-nng for nng version X that you desire :-)
09:30:19 <cheater> no it's not "common"
09:30:52 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:311d:9400:2604:4e0f)
09:31:21 <cheater> it's just the path of least resistance: expect everyone to live on git head with something breaking daily so you don't have to do 1% extra work (or however much it is to robustly support "ancient versions")
09:31:40 <cheater> imo it's lazy
09:33:15 <Hecate> cheater: I read the thread
09:33:44 <Hecate> cheater: you should point out that 1.5.2 is the latest release of the nng project and that it's perfectly expected of people to install it
09:34:17 <Hecate> cheater: tell the maintainer you'd like to volunteer a PR to the README that asks to use the latest commit of the nng git repo
09:34:51 <cheater> idk, the maintainer's kind of defensive/hostile, i'm not even gonna go and code-lawyer this stuff
09:35:01 <cheater> if he wants his project to be crappy he can keep it crappy. i don't have to use it
09:35:03 × coot quits (~coot@213.134.171.3) (Quit: coot)
09:35:39 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:311d:9400:2604:4e0f) (Ping timeout: 256 seconds)
09:39:57 Guest92 joins (~Guest92@2001:a61:501a:a902:d841:15f1:b5b1:259a)
09:45:32 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Remote host closed the connection)
09:46:29 FinnElija joins (~finn_elij@user/finn-elija/x-0085643)
09:47:02 × gnalzo quits (~gnalzo@2a01:e0a:498:fd50:fcc6:bb5d:489a:ce8c) (Quit: WeeChat 3.8)
09:47:43 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
09:53:59 × ec quits (~ec@gateway/tor-sasl/ec) (Remote host closed the connection)
09:54:54 ec joins (~ec@gateway/tor-sasl/ec)
09:56:13 varoo joins (~varoo@117.203.246.41)
10:03:52 teo joins (~teo@user/teo)
10:13:35 coot joins (~coot@213.134.171.3)
10:16:00 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 248 seconds)
10:31:30 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Read error: Connection reset by peer)
10:37:41 × chexum quits (~quassel@gateway/tor-sasl/chexum) (Ping timeout: 255 seconds)
10:38:18 chexum joins (~quassel@gateway/tor-sasl/chexum)
10:48:10 × chexum quits (~quassel@gateway/tor-sasl/chexum) (Remote host closed the connection)
10:48:22 chexum joins (~quassel@gateway/tor-sasl/chexum)
10:52:56 KaitoDaumoto joins (~asdf@user/kaitodaumoto)
10:53:17 × CiaoSen quits (~Jura@p200300c9570460002a3a4dfffe84dbd5.dip0.t-ipconnect.de) (Ping timeout: 256 seconds)
10:57:56 × econo quits (uid147250@user/econo) (Quit: Connection closed for inactivity)
11:02:35 × polyphem quits (~polyphem@2a02:810d:840:8754:4d31:9178:35f:6608) (Remote host closed the connection)
11:02:43 polyphem joins (~polyphem@2a02:810d:840:8754:4d31:9178:35f:6608)
11:13:09 × razetime quits (~Thunderbi@117.193.3.85) (Quit: See You Space Cowboy)
11:24:17 × whatsupdoc quits (uid509081@2a03:5180:f:4::7:c499) (Quit: Connection closed for inactivity)
11:27:22 Square joins (~Square4@user/square)
11:30:51 × haskl[error] quits (~haskl@user/haskl) (Read error: Connection reset by peer)
11:33:01 haskl joins (~haskl@user/haskl)
11:34:02 <ncf> there's got to be a middle ground between "supporting 20 year old versions" and "implicitly expecting people to use the latest git revision" :')
11:34:52 × king_gs quits (~Thunderbi@2806:103e:29:1779:19a5:ca6b:2f79:45e7) (Ping timeout: 252 seconds)
11:35:22 <int-e> We can have that soon (only 3 years to go): "the latest git revision is 20 years old"
11:37:41 × Square quits (~Square4@user/square) (Quit: Leaving)
11:38:20 Square joins (~Square4@user/square)
11:40:42 <merijn> ncf: Yes, it's called "fuck you, pay me" ;)
11:41:24 <merijn> I'm very much pro "supporting whatever the hell is convenient for you and only you and if anyone wants anything else: patches and/or money welcome" :p
11:42:26 enoq joins (~enoq@2a05:1141:1f5:5600:b9c9:721a:599:bfe7)
11:50:29 <maerwald[m]> merijn: money motivates you?
11:52:36 <merijn> maerwald[m]: Money makes me care about "not my problems"
11:53:29 <merijn> As long as we live in a society where I have to work to have a living instead of "working on whatever I want", then yes, if you want me to care about a problem that does not affect me, it does
11:54:17 <merijn> My open source code is purely "I wrote this because it tickled my fancy and I'm giving it out, because maybe someone can use it with absolutely zero warranty, maintenance or guarantees"
11:54:47 <merijn> If you want maintenance and guarantees that are more predictable than "I might do it when I feel like it", then you better be paying me
11:55:08 <maerwald[m]> Would be surprised that working for even half of the maintainers. Most probably have full time jobs and employment contracts not allowing them to accept such offers
11:55:53 <dminuoso_> Well, you can always hire well typed or another such company to do anything for any package.
11:56:14 <dminuoso_> Then you have a contractual relationship by which you can "demand" stuff happens.
11:56:16 <merijn> maerwald[m]: The point is "if you're not paying the maintainer, you get to make 0 demands"
11:56:27 <merijn> You can maybe ask nicely, or make a proposal, or whatever
11:56:36 <dminuoso_> merijn: Hah, I recently stumbled over this one: https://forum.proxmox.com/threads/quick-help-how-to-disable-secureboot-vm.111210/#post-479276
11:56:44 <dminuoso_> How's that for demanding
11:56:48 <maerwald[m]> dminuoso_: uhm
11:57:09 <merijn> But entitlement wrt open source maintainers is always bad
11:57:18 × kmein quits (~weechat@user/kmein) (Quit: ciao kakao)
11:57:23 <maerwald[m]> merijn: asking nicely has ever worked in open source?
11:57:29 <dminuoso_> Sure.
11:57:35 <merijn> maerwald[m]: Don't know, don't care
11:57:44 <merijn> You're not paying, you get 0 rights or guarantees
11:58:41 <merijn> maerwald[m]: In some organisations (some linux distros) payment may be in the form of "maintenance on other parts of the system" or some other (implicit) quid pro quo
11:58:46 <maerwald[m]> I don't think money works in open source. Only two things do: becoming a comaintainer or forking.
11:59:09 <merijn> But my hard uncompromising stance = no entitlement from non-contributin users
11:59:16 <dminuoso_> Money works just fine in open source.
11:59:24 <dminuoso_> You can hire companies to do work on open source.
11:59:29 <merijn> maerwald[m]: I think quid pro quo in the form of being a comaintainer or other form of contribution is fine
11:59:33 <dminuoso_> We have done it a few times.
11:59:41 <dminuoso_> And arguably, this is how much of linux work gets done.
11:59:42 <maerwald[m]> Nothing else has ever worked for me
12:00:03 <maerwald[m]> My latest example is: brick windows support.
12:00:19 <dminuoso_> Most of new linux kernel features arent done because people have too much spare time, its because someone is getting paid to do it.
12:00:26 <maerwald[m]> Maintainer won't be persuaded by donations
12:00:29 × chexum quits (~quassel@gateway/tor-sasl/chexum) (Ping timeout: 255 seconds)
12:00:30 <merijn> maerwald[m]: Open source in the idealistic sense only works if *everyone* contributes to the ecosystem. But there's a lot of "only using, never contributing" leeches in the world
12:00:34 <dminuoso_> maerwald[m]: of course not, but you can hire someone to do it.
12:00:35 <maerwald[m]> And patches are not enough either
12:00:53 <merijn> maerwald[m]: What is the objection the maintainer has?
12:00:57 <maerwald[m]> They want someone to maintain the new code
12:00:59 <maerwald[m]> dminuoso_: who?
12:01:04 <merijn> maerwald[m]: Understandable
12:01:09 <dminuoso_> Any haskell consultancy company.
12:01:11 <maerwald[m]> merijn: they don't have time
12:01:26 <merijn> maerwald[m]: I wouldn't want to maintain code on a platform I don't use either
12:01:33 <maerwald[m]> dminuoso_: and pay them to maintain it forever?
12:01:37 <maerwald[m]> It's not a a one off job
12:02:01 <dminuoso_> Well, if the feature is crucial to your business case, why would you be entitled that someone does exactly what you want for free instead?
12:02:05 <merijn> maerwald[m]: ok, but how is any of this the problem/responsibility of the maintainer of brick?
12:02:29 <maerwald[m]> And WT doesn't have windows experts I believe. But I could be wrong
12:02:29 <dminuoso_> Besides, often if the work is done by someone else, most maintainers are happy to merge PRs.
12:02:42 <maerwald[m]> merijn: huh? I simply said throwing money at it was a failure
12:03:12 chexum joins (~quassel@gateway/tor-sasl/chexum)
12:03:13 <dminuoso_> And in the scope of maintainability, something like that can be provided via a cabal flag that you have to enable - and then its your problem to figure out whether its stable or not.
12:03:18 <dminuoso_> But anyway
12:03:24 <merijn> maerwald[m]: My stance isn't "money fixes it"
12:03:39 <Hecate> ncf> there's got to be a middle ground between "supporting 20 year old versions" and "implicitly expecting people to use the latest git revision" :') // Just to be clear, the latest release is from 2021
12:03:55 <maerwald[m]> And patches will not be accepted, unless the patch author agrees to become a maintainer
12:03:56 <maerwald[m]> So again, the only things that work are forking or becoming maintainer
12:03:59 <merijn> maerwald[m]: My stance is "contribution of some form (money being the most general form) is absolute bare minimal table stakes to get someone to care about your problem"
12:04:39 <maerwald[m]> merijn: I think that doesn't work at all in open source
12:04:54 <merijn> maerwald[m]: I'm not giving a solution to your problem of "code doesn't do what I want", I'm advocating: Anyone who has any open source code would have better mental health if they stopped caring about anyone who isn't paying
12:05:06 <merijn> maerwald[m]: You're interpreting what I'm saying as something other than I'm saying
12:06:00 <merijn> I'm not giving you a recipe to solve problems. I'm saying no one who isn't paid should care about similar problems, which is not the same as "people who are paid *should* care" (I mean, probably they should if they care about payment continuing, but that's a personal decision)
12:06:01 <maerwald[m]> merijn: I have people paying, but I don't know wtf for
12:06:16 <ncf> right, "supporting the latest release" would be such a middle ground
12:08:18 <maerwald[m]> merijn: I have a Github sponsor I've never heard of or met. Don't know what they want. The opencollective of my project has accumulated 0.5k, but I also got no idea what for.
12:08:19 <maerwald[m]> Most people use such general financial contributions. They don't approach you with money when they write a ticket on your issue tracker.
12:09:35 <maerwald[m]> And if they would, I'd have to reject to not be subject to moonlighting and getting fired
12:11:55 × Guest92 quits (~Guest92@2001:a61:501a:a902:d841:15f1:b5b1:259a) (Quit: Client closed)
12:12:03 <maerwald[m]> Whether I work on something is a function of motivation and impact on end user experience
12:12:03 <maerwald[m]> Don't care if they contribute patches
12:12:04 <maerwald[m]> No one does
12:16:41 <Axman6> maerwald[m]: whether money motivates you or not, when I get a job, can I give you/HLS $100AUD? I've happily given to GHC's development, and these days HLS is becoming as essential to writing Haskell
12:18:52 <maerwald[m]> Axman6: HLS is a good choice
12:18:57 <Axman6> The way I view doing that is not "Here's some money so you will keep doing stuff" but more 'here's some monewy to say thanks for doing stuff". I'd hate to support someone by placing a burden on them
12:19:11 <maerwald[m]> WT has wizards who can work on specific things in HLS
12:19:44 <maerwald[m]> And we're working on making the governing structure and decision making more transparent
12:19:51 <Axman6> Who is working on HLS these days anyway? I assumed you were a big part based on being the reddit poster for new releases
12:20:55 <Axman6> Great, that's good to hear, it's certainly becoming a part of the community infrastructure, so it'd be great to see if handled similarly to GHC, at least in terms of support for development
12:21:16 <maerwald[m]> Axman6: I've done a lot on the CI side. Zubin, fendor, MPJ and Pepe are more familiar with the codebase
12:25:19 <fendor[m]> and a number of plugin maintainers
12:25:48 <maerwald[m]> https://github.com/haskell/haskell-language-server/issues/709
12:26:17 <maerwald[m]> I really want this to happen
12:26:31 <Axman6> Well you're all champions in my book, thank you all
12:26:32 <maerwald[m]> Afair this needs something on the GHC side first
12:26:58 bgs joins (~bgs@212-85-160-171.dynamic.telemach.net)
12:27:02 <stefan-_> this would also be nice: https://github.com/haskell/haskell-language-server/issues/708
12:27:07 <maerwald[m]> So it's a job for WT
12:27:18 <maerwald[m]> stefan-_: yep
12:27:34 <maerwald[m]> There's a trick... vendor all your dependencies xD
12:27:40 <maerwald[m]> Not that hard actually
12:29:08 <stefan-_> maerwald[m], interesting, didnt know that
12:29:52 <maerwald[m]> https://cabal.readthedocs.io/en/3.4/cabal-project.html?highlight=optional-packages#cfg-field-optional-packages
12:30:17 <maerwald[m]> You just need to `cabal unpack` them all into a subdir anr then add that line to cabal.project
12:30:27 <maerwald[m]> Prolly doesn't work for boot libraries though
12:31:11 <maerwald[m]> Or maybe it does, except for non-reinstallable ones
12:31:18 <maerwald[m]> Like base
12:33:03 <fendor[m]> maerwald: I dont think it required well-typed necessarily, it could in theory use the same mechanism ghci is using to implement the `:type-at` feature.
12:35:04 <maerwald> let's dicuss this in next HLS meeting... I feel this has been neglected for too long
12:35:23 <maerwald> it used to be possible with ghc-mod, I remember
12:35:34 <maerwald> and it's kind of an awesome way to read through your code
12:35:58 <fendor[m]> <maerwald[m]> "There's a trick... vendor all..." <- iirc, if you compile with .hie files and put them all into a specific location, you can enable jump to definition for third party deps
12:44:09 × jmdaemon quits (~jmdaemon@user/jmdaemon) (Ping timeout: 255 seconds)
12:44:54 × mei quits (~mei@user/mei) (Quit: mei)
12:45:36 azimut joins (~azimut@gateway/tor-sasl/azimut)
12:46:23 mei joins (~mei@user/mei)
12:46:24 akegalj joins (~akegalj@89-164-77-5.dsl.iskon.hr)
12:46:25 kuribas joins (~user@ip-188-118-57-242.reverse.destiny.be)
12:46:49 × use-value quits (~Thunderbi@2a00:23c6:8a03:2f01:75c2:a71f:beaa:29bf) (Remote host closed the connection)
12:47:08 use-value joins (~Thunderbi@2a00:23c6:8a03:2f01:75c2:a71f:beaa:29bf)
12:48:06 angelore joins (~u0_a291@223.25.71.83)
12:48:55 <fendor[m]> seemingly misremembering :(
12:50:10 kmein joins (~weechat@static.173.83.99.88.clients.your-server.de)
12:51:15 CiaoSen joins (~Jura@p200300c9570460002a3a4dfffe84dbd5.dip0.t-ipconnect.de)
12:54:37 × varoo quits (~varoo@117.203.246.41) (Ping timeout: 252 seconds)
12:55:43 × mei quits (~mei@user/mei) (Remote host closed the connection)
12:57:51 mei joins (~mei@user/mei)
13:00:26 × acidjnk quits (~acidjnk@p200300d6e715c448a054fd95560e1205.dip0.t-ipconnect.de) (Ping timeout: 246 seconds)
13:03:39 acidjnk joins (~acidjnk@p200300d6e715c448a054fd95560e1205.dip0.t-ipconnect.de)
13:04:09 Guest73 joins (~Guest73@host86-157-132-203.range86-157.btcentralplus.com)
13:05:11 lyle joins (~lyle@104.246.145.237)
13:05:49 <Guest73> Why is type inference for arbitrarily ranked type quantifiers undecidable?
13:14:48 <dminuoso_> Guest73: See Wells, J. B. (1993). "Typability and type checking in the second-order lambda-calculus are equivalent and undecidable"
13:15:08 <c_wraith> Guest73: it's ambiguous. There's no single most-general type available for a lot of definitions.
13:16:49 <dminuoso_> Guest73: Relatedly, this may be an interesting read too https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/putting.pdf
13:19:03 alecs joins (~alecs@31.188.176.146)
13:23:43 gnalzo joins (~gnalzo@2a01:e0a:498:fd50:fcc6:bb5d:489a:ce8c)
13:26:27 <Guest73> Thanks much, I'll have a look at those.
13:28:54 <merijn> maerwald[m]: It's fine if that's how you prioritise things, my problem is with the culture of entitlement around demanding issues are addressed. A lot of people (like me!) only work on their open source code in their free/spare time, and for me that time is reserved for things I find *fun*
13:29:31 <maerwald> fun is getting high... not coding
13:30:30 <maerwald> ah, now I know what I can use the donations for...
13:30:38 <geekosaur> enh
13:30:49 <geekosaur> a good coding session works for me
13:31:05 <geekosaur> then again getting high doesn't; it just makes my anxiety hit the root
13:31:08 <geekosaur> *roof
13:31:10 <merijn> Coding can be fun, if it is for things I find fun, or work I find fun, etc.
13:32:11 <gqplox[m]> hi guys, i was wondering if there was a formatter which will align stuff instead of reducing the whitespace
13:32:22 <gqplox[m]> like i noticed in the ghci stuff the code is like this
13:32:26 <gqplox[m]> null :: [a] -> Bool
13:32:26 <gqplox[m]> null [] = True
13:32:26 <gqplox[m]> null (_:_) = False
13:32:59 <geekosaur> not that I've seen. (also, please use a pastebin. irc can mangle it, especially if someone has a proportional font)
13:33:41 <gqplox[m]> alright
13:33:42 <maerwald> merijn: For me it's stress and pain. I enjoy looking at good work, but the process is just a zone.
13:33:54 <maerwald> Where I'm not exposed to my brain, so to speak.
13:34:01 <gqplox[m]> oh yeah i forgot irc might not use monospace font, sorry
13:34:07 monochrom uses a proportional font for IRC :)
13:34:27 <geekosaur> even matrix dsoesn't unless you use the code markup, which you didn't
13:34:28 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:311d:9400:2604:4e0f)
13:34:39 <maerwald> merijn: but then again, there are other ways to zone out, but those need funding xD
13:37:05 Profpatsch joins (~Profpatsc@static.88-198-193-255.clients.your-server.de)
13:37:10 <geekosaur> gqplox[m], someone brought up emacs align-regexp in #haskell:matrix.org a couple days ago
13:37:16 jero98772 joins (~jero98772@2800:484:1d80:d8ce:efcc:cbb3:7f2a:6dff)
13:37:22 <gqplox[m]> i did use code markup
13:37:40 <Profpatsch> Do we have a json pretty printing function somewhere that can colorize in the terminal?
13:37:47 <gqplox[m]> wait code markup is markdown codeblock right?
13:38:05 <geekosaur> hm. irc normally shows a control character in that case, and it would all be one message (and the bridge would pastebin it)
13:38:32 <monochrom> Perhaps ` does and ``` doesn't.
13:38:40 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:311d:9400:2604:4e0f) (Ping timeout: 246 seconds)
13:38:48 <geekosaur> both are supposed to work, at least matrix-side
13:39:02 <gqplox[m]> hmm this is how it looks on my screen, https://imgur.com/a/7TVO8n7
13:39:06 <Profpatsch> hm maybe https://hackage.haskell.org/package/aeson-pretty-0.8.9/docs/Data-Aeson-Encode-Pretty.html it doesn’t do colors, but oh well
13:39:15 <geekosaur> code blocks with `` ``` `` normally get pastebinned because they end up more than one line irc-side
13:39:25 <gqplox[m]> but ill refrain from doing that and use pastebin in the future
13:40:07 <gqplox[m]> ah unfortunately i use vim not emacs but thank you
13:40:24 <geekosaur> https://imgur.com/iK3mpmo.png here
13:40:51 <geekosaur> hm, but nheko shows it as a code block
13:41:09 <geekosaur> wonder if the bridge is broken again
13:49:13 × elkcl quits (~elkcl@37.110.27.252) (Ping timeout: 252 seconds)
13:57:04 elkcl joins (~elkcl@broadband-37-110-27-252.ip.moscow.rt.ru)
14:00:44 × perrierjouet quits (~perrier-j@modemcable048.127-56-74.mc.videotron.ca) (Quit: WeeChat 3.8)
14:04:23 <stefan-_> Profpatsch, not sure if that is applicable for your problem, but there is [jq](https://stedolan.github.io/jq/): `cat foo.json | jq`
14:04:23 × cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 3.8)
14:04:27 perrierjouet joins (~perrier-j@modemcable048.127-56-74.mc.videotron.ca)
14:04:45 cfricke joins (~cfricke@user/cfricke)
14:06:48 × cfricke quits (~cfricke@user/cfricke) (Client Quit)
14:06:50 npm_i_kurbus joins (~npm_i_kur@user/kurbus)
14:13:08 <ii8> Hello, could somebody explain to me what this error means? https://paste.tomsmeding.com/6TOrECmN
14:13:53 shriekingnoise joins (~shrieking@186.137.175.87)
14:13:54 <ii8> Looking at the source code I can't even find anything called zlib
14:13:59 <merijn> ii8: Something is trying to load zlib
14:14:16 <merijn> ii8: zlib is a C library for zip compression
14:14:36 Guest11 joins (~Guest11@c83-251-160-169.bredband.tele2.se)
14:16:22 <Guest11> I just posted this question on SO, but maybe the Libera chat is more appropriate. I have heard you should avoid foldr, but I'm having a hard time figuring out how I can replace foldl with it here. Does anyone have any tips? For reference, https://stackoverflow.com/questions/75545307/how-do-i-convert-this-foldl-to-foldr-for-laziness-sake
14:16:34 × acidjnk quits (~acidjnk@p200300d6e715c448a054fd95560e1205.dip0.t-ipconnect.de) (Ping timeout: 252 seconds)
14:16:40 <Guest11> oops, avoid foldl *
14:20:05 <ii8> merijn: yes, I am aware of that library, I'm not sure what to do with that information though, it looks like it ships it's own (really old?) version of zlib, but I can't see where or why or how.
14:22:07 thegeekinside joins (~thegeekin@189.180.66.126)
14:22:53 <ii8> nvm, that version number probably refers to a haskell package version, not the version of the C library
14:24:02 × bitdex_ quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 255 seconds)
14:24:40 × angelore quits (~u0_a291@223.25.71.83) (Quit: WeeChat 3.8)
14:25:08 <int-e> :t \f xs -> reverse (foldl (\ys x -> f ys x : ys) [] xs)
14:25:10 <lambdabot> Foldable t1 => ([a] -> t2 -> a) -> t1 t2 -> [a]
14:25:23 <int-e> :t \f xs -> foldr (\x xs ys -> let z = f ys x in z : xs (z : ys)) id xs []
14:25:24 <lambdabot> Foldable t1 => ([a] -> t2 -> a) -> t1 t2 -> [a]
14:26:01 <int-e> Guest11: I think it would work like that, but I'd rather write it with explicit recursion instead.
14:27:13 <Guest11> Oh you would? I might sound stupid, but according to this wikisite (https://wiki.haskell.org/List_traversal) a haskell "expert" would use foldr instead of manual recursion (which actually is why I changed from manual to foldl in the first place).
14:28:12 <eldritchcookie[m> how do i test monadic functions?
14:28:23 <int-e> the foldr might fuse but with all the computations going on fusion will not buy you very much
14:28:51 <Guest11> Interesting point!
14:29:40 <int-e> And the code will be more readable with explicit recursion, I think.
14:30:58 <int-e> But if you want to go with foldr... the idea is that you can add an accumulator to the `foldr` computation (to keep track of the vectors produced so far) by making it a third argument to the worker function that is the first argument of foldr.
14:32:18 <int-e> This is also what you do to get foldl from foldr.
14:32:18 <Guest11> Yeah I just noticed your first argument to foldr is a function with three parameters. I did not know that you could add an accumulator like that?
14:32:33 <Guest11> That's reaally cool.
14:33:36 <int-e> :t foldr
14:33:37 <lambdabot> Foldable t => (a -> b -> b) -> b -> t a -> b
14:33:59 <int-e> it replaces `b` by a function `acc -> b`
14:34:24 <Guest11> Oh, I see what you mean!
14:34:32 <int-e> Oh I messed this up actually
14:34:40 <int-e> the `id` should be `const []`
14:35:00 <int-e> or `(const [])`
14:35:30 rogerstonks joins (~rogerston@2a0c:5bc0:40:11c4:3fcd:5296:71ec:609e)
14:35:43 <int-e> (when we reach the end of the input list, the result has already been produced; the accumulator needs to be discarded)
14:36:43 <Guest11> Alright, I'm starting to understand what needs to be done to use `foldr`, but at this point, it does seem like there are more ergonomic/readable options like you mentioned at the very beginning
14:37:04 <rogerstonks> Hello. I have a question about gsoc (google summer of code). Where I can ask such questions?
14:37:18 <Guest11> I'll try to implement it using `foldr` though, seems like very good practice
14:41:40 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
14:42:08 bitdex_ joins (~bitdex@gateway/tor-sasl/bitdex)
14:42:10 <eldritchcookie[m> if it is related to haskell i don't think there would be any problem asking here
14:44:33 <rogerstonks> oh ok. I want to do one of the projects over 3 months. Can I do a 350 hour project or can I only do 175 hour ones?
14:45:36 szkl joins (uid110435@id-110435.uxbridge.irccloud.com)
14:45:59 acidjnk joins (~acidjnk@p200300d6e715c4484472a5e19ee2f2c7.dip0.t-ipconnect.de)
14:47:52 <merijn> rogerstonks: You probably wanna email to ask the people in charge
14:48:24 <rogerstonks> ok thanks
14:49:08 × use-value quits (~Thunderbi@2a00:23c6:8a03:2f01:75c2:a71f:beaa:29bf) (Remote host closed the connection)
14:49:27 use-value joins (~Thunderbi@2a00:23c6:8a03:2f01:75c2:a71f:beaa:29bf)
14:53:09 × rogerstonks quits (~rogerston@2a0c:5bc0:40:11c4:3fcd:5296:71ec:609e) (Quit: Client closed)
14:53:13 <eldritchcookie[m> i made a library now i want to test it however most of the functions are in a monad how can i test monadic values/functions with either quickcheck or hedgehog?
14:57:19 <geekosaur[m]> QuickCheck has a module for that IIRC
14:59:03 <geekosaur[m]> https://hackage.haskell.org/package/QuickCheck-2.14.2/docs/Test-QuickCheck-Monadic.html
14:59:05 gensyst joins (gensyst@user/gensyst)
14:59:28 <Profpatsch> stefan-_: yeah, that’s my fallback for if the pure haskell thing is not fast enough :)
14:59:32 <Profpatsch> or nice enough
14:59:39 <Profpatsch> ofc shelling out jq has like 5ms overhead
14:59:43 <Profpatsch> so not good for a tight loop
14:59:59 <gensyst> lol :: forall n. (KnownNat n) => IO Int Is there no way to somehow get n to be *known to be even* at compile-time?
15:00:04 <gensyst> (or odd)
15:00:33 <gensyst> (or positive)
15:01:23 <geekosaur[m]> There's some plugins for that?
15:02:47 <geekosaur[m]> https://hackage.haskell.org/package/ghc-typelits-natnormalise might help
15:04:11 <int-e> :t \f xs -> map head . tail . scanr (\x ys -> f ys x : ys) [] xs
15:04:12 <lambdabot> error:
15:04:12 <lambdabot> • Couldn't match expected type ‘a1 -> [[b]]’
15:04:12 <lambdabot> with actual type ‘[[a]]’
15:04:35 × coot quits (~coot@213.134.171.3) (Quit: coot)
15:05:31 <int-e> :t \f -> map head . tail . scanr (\x ys -> f ys x : ys) []
15:05:32 <lambdabot> ([b] -> t -> b) -> [t] -> [b]
15:07:04 <int-e> Guest11: ^ another idea extracting the result from the intermediate accumulators
15:08:03 razetime joins (~Thunderbi@117.254.35.250)
15:13:39 × enoq quits (~enoq@2a05:1141:1f5:5600:b9c9:721a:599:bfe7) (Quit: enoq)
15:18:47 × pavonia quits (~user@user/siracusa) (Quit: Bye!)
15:19:31 × npm_i_kurbus quits (~npm_i_kur@user/kurbus) (Quit: Client closed)
15:20:59 <gensyst> geekosaur[m], https://dpaste.com/HNRL7BDUZ
15:21:30 <gensyst> Any ideas why that doesn't compile? If n-1 >= 0 then n should be known to be n >= 1 and so head should work right?
15:21:35 Guest86 joins (~Guest86@104.28.217.149)
15:21:38 <gensyst> but it can't deduce it correctly
15:21:56 × Guest86 quits (~Guest86@104.28.217.149) (Client Quit)
15:23:49 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
15:24:14 <geekosaur[m]> Nope, sorry
15:24:40 <geekosaur[m]> I know a little about type level but not much
15:25:15 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
15:25:18 <gensyst> geekosaur[m], ok np
15:25:22 <gensyst> geekosaur[m], https://hackage.haskell.org/package/ghc-typelits-knownnat-0.1/docs/GHC-TypeLits-KnownNat-Solver.html
15:25:36 <gensyst> looks like it's a documented limitation: "it cannot derive a KnownNat (n-1) constraint..."
15:26:24 <gensyst> A bit of a bummer because now I have to pass in @0 to functions even if it's actually using @(0+1) somewhere inside of the function.
15:26:40 <gensyst> so I'm passing @0 sometimes and @1 other times (where the internals of the function don't require positive)
15:26:42 <gensyst> a bit PITA
15:28:33 <geekosaur[m]> Type level in Haskell is still very limited
15:34:23 × CiaoSen quits (~Jura@p200300c9570460002a3a4dfffe84dbd5.dip0.t-ipconnect.de) (Ping timeout: 248 seconds)
15:36:19 × phma quits (phma@2001:5b0:210d:d318:8379:59cc:8734:cbbf) (Read error: Connection reset by peer)
15:37:15 phma joins (~phma@2001:5b0:210f:1b68:9877:7811:57cc:eba)
15:43:51 waleee joins (~waleee@2001:9b0:21c:4000:5bf9:6515:c030:57b7)
15:44:08 × bitdex_ quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 255 seconds)
15:48:00 Tuplanolla joins (~Tuplanoll@91-159-68-152.elisa-laajakaista.fi)
15:51:44 × califax quits (~califax@user/califx) (Remote host closed the connection)
15:54:50 califax joins (~califax@user/califx)
15:56:55 × sammelweis quits (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) (Quit: No Ping reply in 180 seconds.)
15:57:10 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
15:58:02 sammelweis joins (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10)
15:59:56 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
16:02:56 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Remote host closed the connection)
16:04:52 ph88 joins (~ph88@91.66.101.83)
16:08:29 Lycurgus joins (~juan@user/Lycurgus)
16:08:36 × razetime quits (~Thunderbi@117.254.35.250) (Remote host closed the connection)
16:08:51 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
16:14:00 × lortabac quits (~lortabac@2a01:e0a:541:b8f0:17db:85dd:46c2:dc12) (Quit: WeeChat 2.8)
16:17:29 × Guest73 quits (~Guest73@host86-157-132-203.range86-157.btcentralplus.com) (Quit: Ping timeout (120 seconds))
16:19:01 × mcglk quits (~mcglk@131.191.19.145) (Read error: Connection reset by peer)
16:23:07 slack1256 joins (~slack1256@186.11.53.84)
16:24:40 varoo joins (~varoo@117.203.246.41)
16:29:25 npm_i_kurbus joins (~npm_i_kur@user/kurbus)
16:34:38 __monty__ joins (~toonn@user/toonn)
16:37:32 jakalx parts (~jakalx@base.jakalx.net) ()
16:39:40 × sefidel quits (~sefidel@user/sefidel) (Remote host closed the connection)
16:40:02 × chele quits (~chele@user/chele) (Remote host closed the connection)
16:40:15 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Quit: = "")
16:41:50 sefidel joins (~sefidel@user/sefidel)
16:43:19 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
16:45:37 × Square quits (~Square4@user/square) (Ping timeout: 252 seconds)
16:48:38 × Guest11 quits (~Guest11@c83-251-160-169.bredband.tele2.se) (Quit: Client closed)
16:49:45 harveypwca joins (~harveypwc@2601:246:c180:a570:3828:d8:e523:3f67)
16:51:55 × son0p quits (~ff@181.136.122.143) (Ping timeout: 248 seconds)
16:53:42 mbuf joins (~Shakthi@49.205.82.4)
16:58:14 × Lycurgus quits (~juan@user/Lycurgus) (Quit: Exeunt: personae.ai-integration.biz)
16:58:52 Morrow joins (~Morrow@bzq-110-168-31-106.red.bezeqint.net)
16:58:54 × teo quits (~teo@user/teo) (Ping timeout: 268 seconds)
16:59:14 <eldritchcookie[m> how many tests does quickcheck do normally?
17:02:00 Sgeo joins (~Sgeo@user/sgeo)
17:02:48 × varoo quits (~varoo@117.203.246.41) (Ping timeout: 252 seconds)
17:05:03 <c_wraith> I believe that the default is 100 cases per test
17:05:27 <c_wraith> It used to (I haven't used it in a while) tell you how many total cases it ran
17:05:30 × Morrow quits (~Morrow@bzq-110-168-31-106.red.bezeqint.net) (Ping timeout: 246 seconds)
17:06:16 Joao003 joins (~Joao003@2804:840:830c:fe00:d144:3c9d:1842:5b7c)
17:06:47 varoo joins (~varoo@117.203.246.41)
17:07:43 <int-e> @check \n -> (n `mod` 100 == 0) ==> True
17:07:45 <lambdabot> *** Gave up! Passed only 34 tests.
17:08:03 <eldritchcookie[m> does it run tests in parallel if i use tasty discover
17:08:04 <eldritchcookie[m> ?
17:09:12 <int-e> (QuickCheck has two bounds, one for how many tests results it wants (100 is the default) and another for how many input it tries for satisfying preconditions like that)
17:09:48 <eldritchcookie[m> basically when i run my monadic test if the number is high it chokes but 10 is basically instantaneous like 100 should be fast
17:10:53 <eldritchcookie[m> it does io so maybe my OS gets crazy with the number of simultaneous connections
17:10:55 <Joao003> hey i just want to know the topic here
17:11:35 <eldritchcookie[m> sure ask away
17:12:15 <mauke> uh, it's in the topic
17:12:22 <mauke> literally, /topic
17:12:26 <Joao003> lol
17:13:01 <Joao003> so i can ask anything here?
17:13:32 <eldritchcookie[m> about haskell probably
17:13:37 <mauke> is it related to haskell?
17:13:53 Morrow joins (~Morrow@2a10:8012:9:53cf:4c47:864e:8181:4f77)
17:16:46 tzh joins (~tzh@c-24-21-73-154.hsd1.wa.comcast.net)
17:17:39 <Joao003> how do i make a simple parser
17:17:59 <eldritchcookie[m> Megaparsec has a nice tutorial
17:18:21 × Morrow quits (~Morrow@2a10:8012:9:53cf:4c47:864e:8181:4f77) (Ping timeout: 265 seconds)
17:18:38 <Joao003> link?
17:18:47 <eldritchcookie[m> https://hackage.haskell.org/package/megaparsec-9.3.0#tutorials
17:18:47 <eldritchcookie[m> https://markkarpov.com/tutorial/megaparsec.html
17:19:34 Morrow joins (~Morrow@2a10:8012:9:53cf:4c47:864e:8181:4f77)
17:19:38 <eldritchcookie[m> i have a quickcheck test that does IO, when i run with 10 it runs fine but it hangs forever with 100 how can i limit the number of simultaneous test to a reasonable level?
17:20:16 <eldritchcookie[m> i am using tasty discover
17:21:12 mechap joins (~mechap@user/mechap)
17:21:41 <davean> eldritchcookie[m: can you pastebin some code? Its unlikely simultaneousness is the problem.
17:23:08 <eldritchcookie[m> sure which site do i use?
17:23:20 × mbuf quits (~Shakthi@49.205.82.4) (Quit: Leaving)
17:23:35 <eldritchcookie[m> https://play-haskell.tomsmeding.com/saved/uSnyxS3P
17:25:11 <eldritchcookie[m> https://play-haskell.tomsmeding.com/saved/5aUCQtNz
17:25:24 <eldritchcookie[m> if i run with more than 20 tests it sometimes hang
17:28:48 <eldritchcookie[m> and more than 30 it always hangs
17:29:02 <eldritchcookie[m> do you prefer my link to the github repo?
17:29:13 <eldritchcookie[m> https://github.com/dark-ether/socket-effectful.git
17:30:54 <eldritchcookie[m> when i ran strace it spewed EAGAIN errors that are catched automatically
17:30:59 × Morrow quits (~Morrow@2a10:8012:9:53cf:4c47:864e:8181:4f77) (Read error: Connection reset by peer)
17:31:18 Morrow joins (~Morrow@bzq-110-168-31-106.red.bezeqint.net)
17:32:34 <eldritchcookie[m> now it is Spewing EInterrupted
17:33:19 comerijn joins (~merijn@86-86-29-250.fixed.kpn.net)
17:33:25 <eldritchcookie[m> hello?
17:34:32 × ByronJohnson quits (~bairyn@50-250-232-19-static.hfc.comcastbusiness.net) (Ping timeout: 246 seconds)
17:36:11 × merijn quits (~merijn@c-001-001-006.client.esciencecenter.eduvpn.nl) (Ping timeout: 264 seconds)
17:36:30 × MajorBiscuit quits (~MajorBisc@c-001-011-016.client.tudelft.eduvpn.nl) (Quit: WeeChat 3.6)
17:37:50 eggplantade joins (~Eggplanta@104-55-37-220.lightspeed.sntcca.sbcglobal.net)
17:38:52 × eggplantade quits (~Eggplanta@104-55-37-220.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
17:39:06 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:311d:9400:2604:4e0f)
17:42:50 × Morrow quits (~Morrow@bzq-110-168-31-106.red.bezeqint.net) (Ping timeout: 255 seconds)
17:47:32 × chexum quits (~quassel@gateway/tor-sasl/chexum) (Remote host closed the connection)
17:47:57 chexum joins (~quassel@gateway/tor-sasl/chexum)
17:48:29 jakalx joins (~jakalx@base.jakalx.net)
17:53:24 Morrow joins (~Morrow@2a10:8012:9:53cf:4c47:864e:8181:4f77)
17:56:00 whatsupdoc joins (uid509081@id-509081.hampstead.irccloud.com)
17:57:59 × Morrow quits (~Morrow@2a10:8012:9:53cf:4c47:864e:8181:4f77) (Ping timeout: 265 seconds)
17:58:24 econo joins (uid147250@user/econo)
18:03:28 Morrow joins (~Morrow@2a10:8012:9:53cf:4c47:864e:8181:4f77)
18:06:57 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
18:08:08 × Morrow quits (~Morrow@2a10:8012:9:53cf:4c47:864e:8181:4f77) (Ping timeout: 265 seconds)
18:09:33 × mei quits (~mei@user/mei) (Remote host closed the connection)
18:10:17 Morrow joins (~Morrow@2a10:8012:9:53cf:4c47:864e:8181:4f77)
18:11:53 mei joins (~mei@user/mei)
18:14:27 × Morrow quits (~Morrow@2a10:8012:9:53cf:4c47:864e:8181:4f77) (Ping timeout: 246 seconds)
18:15:48 × kuribas quits (~user@ip-188-118-57-242.reverse.destiny.be) (Remote host closed the connection)
18:18:31 Morrow joins (~Morrow@2a10:8012:9:53cf:4c47:864e:8181:4f77)
18:18:39 × akegalj quits (~akegalj@89-164-77-5.dsl.iskon.hr) (Ping timeout: 246 seconds)
18:19:04 akegalj joins (~akegalj@89-164-77-5.dsl.iskon.hr)
18:21:25 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:311d:9400:2604:4e0f) (Remote host closed the connection)
18:21:56 × harveypwca quits (~harveypwc@2601:246:c180:a570:3828:d8:e523:3f67) (Quit: Leaving)
18:22:03 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
18:22:55 × Morrow quits (~Morrow@2a10:8012:9:53cf:4c47:864e:8181:4f77) (Ping timeout: 248 seconds)
18:23:23 <Joao003> how do i do this
18:23:42 <eldritchcookie[m> do what?
18:23:55 <Joao003> `f 3` -> `\x -> (\y -> (\z -> whatever))`
18:24:02 <Joao003> basically that
18:24:16 <eldritchcookie[m> i think i need more context
18:25:00 <Joao003> basically i have a function which takes a number and it returns a function which takes that many arguments
18:25:07 <int-e> In Haskell, the starting question will be "what's the type of f?"
18:25:36 <eldritchcookie[m> yeah does it have 4 -> in the type?
18:26:28 <int-e> Relatedly, how would you use `f`?
18:27:05 <Joao003> if a function can take variable arguments for example
18:27:13 <eldritchcookie[m> now i get it you would need a typeclass
18:27:18 <Joao003> ok
18:27:56 <eldritchcookie[m> you want a variadic function, the only way to do that is have a function of type _ -> myTypeClass r
18:28:11 <eldritchcookie[m> and then you return either a function or a value
18:28:19 <Joao003> how do implement the typeclass
18:29:06 <eldritchcookie[m> https://stackoverflow.com/questions/3467279/how-to-create-a-polyvariadic-haskell-function
18:29:32 <eldritchcookie[m> https://okmij.org/ftp/Haskell/polyvariadic.html#polyvar-fn
18:29:43 <int-e> I think the chance that you actually want any of this is very low.
18:29:58 <eldritchcookie[m> yeah i agree
18:30:22 <eldritchcookie[m> why not have the function take alist of the type you want to accept that is significantly easier
18:30:51 <Joao003> mhmhmh
18:33:29 Morrow joins (~Morrow@2a10:8012:9:53cf:4c47:864e:8181:4f77)
18:33:42 × akegalj quits (~akegalj@89-164-77-5.dsl.iskon.hr) (Ping timeout: 246 seconds)
18:37:50 × Morrow quits (~Morrow@2a10:8012:9:53cf:4c47:864e:8181:4f77) (Ping timeout: 246 seconds)
18:37:59 kilolympus joins (~kilolympu@213.144.144.24)
18:39:30 × ubert quits (~Thunderbi@2a02:8109:abc0:6434:348c:e1b0:cafe:8da3) (Remote host closed the connection)
18:39:30 × gensyst quits (gensyst@user/gensyst) (Quit: Leaving)
18:41:37 <Joao003> oh
18:41:43 <Joao003> kthxbai
18:43:43 × comerijn quits (~merijn@86-86-29-250.fixed.kpn.net) (Ping timeout: 248 seconds)
18:52:30 ByronJohnson joins (~bairyn@50-250-232-19-static.hfc.comcastbusiness.net)
19:01:53 merijn joins (~merijn@86-86-29-250.fixed.kpn.net)
19:03:21 son0p joins (~ff@181.136.122.143)
19:05:44 mcglk joins (~mcglk@131.191.19.145)
19:07:30 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
19:07:30 allbery_b joins (~geekosaur@xmonad/geekosaur)
19:07:33 allbery_b is now known as geekosaur
19:11:05 Guest11 joins (~Guest11@c83-251-160-169.bredband.tele2.se)
19:11:23 × Guest11 quits (~Guest11@c83-251-160-169.bredband.tele2.se) (Client Quit)
19:16:17 × Joao003 quits (~Joao003@2804:840:830c:fe00:d144:3c9d:1842:5b7c) (Quit: Leaving)
19:20:44 opticblast joins (~Thunderbi@172.58.84.5)
19:21:55 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:311d:9400:2604:4e0f)
19:22:14 Morrow joins (~Morrow@2a10:8012:9:53cf:4c47:864e:8181:4f77)
19:25:22 × Midjak quits (~Midjak@82.66.147.146) (Quit: This computer has gone to sleep)
19:26:20 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:311d:9400:2604:4e0f) (Ping timeout: 255 seconds)
19:26:35 × Morrow quits (~Morrow@2a10:8012:9:53cf:4c47:864e:8181:4f77) (Ping timeout: 248 seconds)
19:27:34 mima joins (~mmh@ppp-212-114-180-143.dynamic.mnet-online.de)
19:28:02 coot joins (~coot@2a02:a310:e241:1b00:ec1a:e9df:79ac:66ba)
19:28:35 × analoq quits (~yashi@user/dies) (Ping timeout: 255 seconds)
19:30:14 analoq joins (~yashi@user/dies)
19:31:51 × npm_i_kurbus quits (~npm_i_kur@user/kurbus) (Quit: Client closed)
19:33:51 Morrow joins (~Morrow@2a10:8012:9:53cf:4c47:864e:8181:4f77)
19:35:21 × dcoutts_ quits (~duncan@82.15.57.30) (Ping timeout: 252 seconds)
19:35:50 × merijn quits (~merijn@86-86-29-250.fixed.kpn.net) (Ping timeout: 260 seconds)
19:39:59 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:311d:9400:2604:4e0f)
19:40:55 npm_i_kurbus joins (~npm_i_kur@user/kurbus)
19:41:40 cheater__ joins (~Username@user/cheater)
19:44:31 × cheater quits (~Username@user/cheater) (Ping timeout: 248 seconds)
19:44:35 cheater__ is now known as cheater
19:44:53 varoo_ joins (~varoo@2a09:bac1:36e0:5f70::243:20)
19:48:33 × varoo quits (~varoo@117.203.246.41) (Ping timeout: 252 seconds)
19:48:48 merijn joins (~merijn@86-86-29-250.fixed.kpn.net)
19:49:29 × thegeekinside quits (~thegeekin@189.180.66.126) (Remote host closed the connection)
19:51:34 × Morrow quits (~Morrow@2a10:8012:9:53cf:4c47:864e:8181:4f77) (Ping timeout: 265 seconds)
19:53:52 × merijn quits (~merijn@86-86-29-250.fixed.kpn.net) (Ping timeout: 246 seconds)
19:54:02 × slack1256 quits (~slack1256@186.11.53.84) (Ping timeout: 252 seconds)
19:55:45 × azimut quits (~azimut@gateway/tor-sasl/azimut) (Remote host closed the connection)
19:56:02 × trev quits (~trev@user/trev) (Remote host closed the connection)
19:56:23 trev joins (~trev@user/trev)
19:56:34 azimut joins (~azimut@gateway/tor-sasl/azimut)
19:56:36 bitmapper joins (uid464869@id-464869.lymington.irccloud.com)
20:00:20 ft joins (~ft@p3e9bc443.dip0.t-ipconnect.de)
20:00:23 varoo joins (~varoo@2a09:bac1:3680:5f70::ca:a5)
20:01:45 × coot quits (~coot@2a02:a310:e241:1b00:ec1a:e9df:79ac:66ba) (Quit: coot)
20:02:07 × varoo_ quits (~varoo@2a09:bac1:36e0:5f70::243:20) (Ping timeout: 248 seconds)
20:03:40 × azure_vermilion quits (~azure_ver@164.39.138.83) (Ping timeout: 246 seconds)
20:04:04 azure_vermilion joins (~azure_ver@82-132-232-3.dab.02.net)
20:04:35 zer0bitz_ joins (~zer0bitz@2001:2003:f443:d600:d5ec:7b37:9a2a:efdd)
20:08:13 × zer0bitz quits (~zer0bitz@2001:2003:f443:d600:74f8:d485:92d1:ab7d) (Ping timeout: 246 seconds)
20:14:37 merijn joins (~merijn@86-86-29-250.fixed.kpn.net)
20:16:03 captnemo joins (~captnemo@193.32.127.226)
20:19:34 × merijn quits (~merijn@86-86-29-250.fixed.kpn.net) (Ping timeout: 252 seconds)
20:21:01 Morrow joins (~Morrow@2a10:8012:9:53cf:4c47:864e:8181:4f77)
20:22:36 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:311d:9400:2604:4e0f) (Remote host closed the connection)
20:23:30 jmdaemon joins (~jmdaemon@user/jmdaemon)
20:26:18 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Remote host closed the connection)
20:26:56 FinnElija joins (~finn_elij@user/finn-elija/x-0085643)
20:28:26 slack1256 joins (~slack1256@186.11.53.84)
20:31:18 × Morrow quits (~Morrow@2a10:8012:9:53cf:4c47:864e:8181:4f77) (Ping timeout: 246 seconds)
20:31:55 <eldritchcookie[m> anyone online?
20:32:32 <geekosaur> Any {getAny = True}
20:32:58 Morrow joins (~Morrow@2a10:8012:9:53cf:4c47:864e:8181:4f77)
20:34:06 × slack1256 quits (~slack1256@186.11.53.84) (Ping timeout: 246 seconds)
20:34:57 <anatta> I'm always online
20:35:02 <anatta> except when I'm not online
20:35:07 <anatta> then I'm not online
20:37:01 <eldritchcookie[m> cool, does quickcheck do anything weird when having monadic tests?
20:37:14 <captnemo> anatta: same
20:37:20 × Morrow quits (~Morrow@2a10:8012:9:53cf:4c47:864e:8181:4f77) (Ping timeout: 248 seconds)
20:38:07 × npm_i_kurbus quits (~npm_i_kur@user/kurbus) (Quit: Client closed)
20:38:22 × captnemo quits (~captnemo@193.32.127.226) (Quit: WeeChat 3.8)
20:43:51 <geekosaur> online as much as possible but not always at the keyboard 🙂
20:53:01 Square joins (~Square4@user/square)
20:56:23 pavonia joins (~user@user/siracusa)
21:01:42 × phma quits (~phma@2001:5b0:210f:1b68:9877:7811:57cc:eba) (Read error: Connection reset by peer)
21:03:23 phma joins (~phma@host-67-44-208-35.hnremote.net)
21:06:01 merijn joins (~merijn@86-86-29-250.fixed.kpn.net)
21:06:58 × varoo quits (~varoo@2a09:bac1:3680:5f70::ca:a5) (Remote host closed the connection)
21:07:22 varoo joins (~varoo@2a09:bac1:3680:5f70::ca:a5)
21:08:28 <anatta> eldritchcookie[m: I'm not very good at using quickcheck, but isn't there a quickcheck.monadic or something?
21:09:31 <eldritchcookie[m> basically i was testing my wrapper around the socket library and when i ran it with more than 25 successes required it just hung forever, this doesn't happenif i compile with -threaded
21:09:57 talismanick joins (~talismani@c-98-238-242-189.hsd1.ca.comcast.net)
21:10:47 Sciencentistguy4 joins (~sciencent@hacksoc/ordinary-member)
21:10:55 <eldritchcookie[m> i tested only the socket library alone and it seems to work even with a action that is basically the same as my quickcheck test
21:12:53 × Sciencentistguy quits (~sciencent@hacksoc/ordinary-member) (Ping timeout: 252 seconds)
21:12:53 Sciencentistguy4 is now known as Sciencentistguy
21:17:27 Morrow joins (~Morrow@2a10:8012:9:53cf:4c47:864e:8181:4f77)
21:20:23 × lyle quits (~lyle@104.246.145.237) (Quit: WeeChat 3.8)
21:21:19 <eldritchcookie[m> ok with profiling i see that it hangs on the hSupportANSI family of functions
21:21:25 <eldritchcookie[m> that make no sense
21:23:06 eggplantade joins (~Eggplanta@104-55-37-220.lightspeed.sntcca.sbcglobal.net)
21:23:55 × Morrow quits (~Morrow@2a10:8012:9:53cf:4c47:864e:8181:4f77) (Ping timeout: 248 seconds)
21:26:52 dcoutts_ joins (~duncan@cpc69403-oxfd27-2-0-cust285.4-3.cable.virginm.net)
21:27:30 × eggplantade quits (~Eggplanta@104-55-37-220.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 255 seconds)
21:30:07 ubert joins (~Thunderbi@p200300ecdf1f1efb237106c089344746.dip0.t-ipconnect.de)
21:35:29 × varoo quits (~varoo@2a09:bac1:3680:5f70::ca:a5) (Ping timeout: 255 seconds)
21:37:29 Morrow joins (~Morrow@2a10:8012:9:53cf:4c47:864e:8181:4f77)
21:39:39 × merijn quits (~merijn@86-86-29-250.fixed.kpn.net) (Ping timeout: 255 seconds)
21:46:28 × Morrow quits (~Morrow@2a10:8012:9:53cf:4c47:864e:8181:4f77) (Ping timeout: 252 seconds)
21:47:17 × azimut quits (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 255 seconds)
21:47:52 × __monty__ quits (~toonn@user/toonn) (Quit: leaving)
21:48:12 × opticblast quits (~Thunderbi@172.58.84.5) (Quit: opticblast)
21:48:34 opticblast joins (~Thunderbi@172.58.82.191)
21:48:56 azimut joins (~azimut@gateway/tor-sasl/azimut)
21:52:51 Morrow joins (~Morrow@2a10:8012:9:53cf:4c47:864e:8181:4f77)
21:52:51 <ddellacosta> eldritchcookie[m: I think e.g. HUnit and HSpec both check assertions in what is essentially the IO monad so I think it's more about what you're trying to do. I'll add, testing anything that involves threading means you then have to concern yourself with how tests are run--I'm thinking of tasty in particular which will automatically try to parallelize tests if threading is on so you have to ensure
21:52:53 <ddellacosta> that your code-under-test can be safely run that way
21:56:47 zeenk joins (~zeenk@2a02:2f04:a214:1e00::7fe)
21:56:50 <ddellacosta> yeah I guess quickcheck is doing something similar wrt running tests in IO
21:57:05 × Morrow quits (~Morrow@2a10:8012:9:53cf:4c47:864e:8181:4f77) (Ping timeout: 255 seconds)
21:58:49 <eldritchcookie[m> i am using tasty, could it be trying to run too many tests at once and then running into a system limit or something similar?
21:59:26 × azimut quits (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 255 seconds)
22:01:43 azimut joins (~azimut@gateway/tor-sasl/azimut)
22:03:03 × bgs quits (~bgs@212-85-160-171.dynamic.telemach.net) (Remote host closed the connection)
22:05:57 <ddellacosta> I'd be surprised if it where that, I think the number of threads is automatically pegged at cpus or something like that
22:06:25 <[Leary]> eldritchcookie[m: Just compile with -threaded. The single-threaded runtime has known issues with hangs and deadlocks in concurrency---see this GHC proposal <https://github.com/ulysses4ever/ghc-proposals/blob/master/proposals/0000-threaded-by-default.rst> for some detail on that.
22:08:40 × jarkad quits (~u@188.163.45.157) (Remote host closed the connection)
22:09:08 justsomeguy joins (~justsomeg@user/justsomeguy)
22:09:56 jarkad joins (~u@188.163.45.157)
22:10:03 WzC joins (~Frank@77-162-168-71.fixed.kpn.net)
22:10:36 × talismanick quits (~talismani@c-98-238-242-189.hsd1.ca.comcast.net) (Ping timeout: 255 seconds)
22:10:49 × lambdabot quits (~lambdabot@haskell/bot/lambdabot) (Ping timeout: 252 seconds)
22:10:51 mniip joins (mniip@libera/staff/mniip)
22:12:09 <geekosaur> I pointed that out over matrix-side
22:12:10 × Noinia quits (~Frank@77-162-168-71.fixed.kpn.net) (Ping timeout: 268 seconds)
22:12:31 lambdabot joins (~lambdabot@silicon.int-e.eu)
22:12:31 × lambdabot quits (~lambdabot@silicon.int-e.eu) (Changing host)
22:12:31 lambdabot joins (~lambdabot@haskell/bot/lambdabot)
22:12:39 <geekosaur> it works fine with -threaded, apparently, but is freezing with the single threaded runtime
22:14:34 × michalz quits (~michalz@185.246.207.221) (Remote host closed the connection)
22:14:44 × mniip_ quits (mniip@libera/staff/mniip) (Read error: Connection reset by peer)
22:19:00 × azimut quits (~azimut@gateway/tor-sasl/azimut) (Quit: ZNC - https://znc.in)
22:19:31 azimut joins (~azimut@gateway/tor-sasl/azimut)
22:23:58 × szkl quits (uid110435@id-110435.uxbridge.irccloud.com) (Quit: Connection closed for inactivity)
22:24:01 × mei quits (~mei@user/mei) (Ping timeout: 246 seconds)
22:24:01 × dolio quits (~dolio@130.44.134.54) (Ping timeout: 252 seconds)
22:24:04 <geekosaur> and seriously, if that happens the rts is probably the first place to look; this should be invisible to programs aside from latency
22:26:33 cheater_ joins (~Username@user/cheater)
22:29:08 × cheater quits (~Username@user/cheater) (Ping timeout: 265 seconds)
22:29:18 cheater_ is now known as cheater
22:34:01 × biberu quits (~biberu@user/biberu) (Read error: Connection reset by peer)
22:35:53 × azimut quits (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 255 seconds)
22:36:56 azimut joins (~azimut@gateway/tor-sasl/azimut)
22:36:59 dolio joins (~dolio@130.44.134.54)
22:39:51 biberu joins (~biberu@user/biberu)
22:42:40 × analoq quits (~yashi@user/dies) (Ping timeout: 265 seconds)
22:43:22 analoq joins (~yashi@user/dies)
22:48:27 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Read error: Connection reset by peer)
22:51:18 merijn joins (~merijn@86-86-29-250.fixed.kpn.net)
22:53:27 × takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection)
22:53:37 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
22:54:14 thegeekinside joins (~thegeekin@189.180.66.126)
22:59:30 × trev quits (~trev@user/trev) (Remote host closed the connection)
23:04:26 × alecs quits (~alecs@31.188.176.146) (Quit: WeeChat 3.8)
23:08:19 × waleee quits (~waleee@2001:9b0:21c:4000:5bf9:6515:c030:57b7) (Quit: the updatening)
23:09:15 waleee joins (~waleee@h-176-10-137-138.NA.cust.bahnhof.se)
23:11:24 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
23:11:27 × merijn quits (~merijn@86-86-29-250.fixed.kpn.net) (Ping timeout: 248 seconds)
23:12:10 × Katarushisu quits (~Katarushi@cpc147790-finc20-2-0-cust502.4-2.cable.virginm.net) (Quit: Ping timeout (120 seconds))
23:12:28 Katarushisu joins (~Katarushi@cpc147790-finc20-2-0-cust502.4-2.cable.virginm.net)
23:21:03 × Ranhir quits (~Ranhir@157.97.53.139) (Ping timeout: 248 seconds)
23:23:59 alphabeta joins (~kilolympu@213.144.144.24)
23:24:30 × alphabeta quits (~kilolympu@213.144.144.24) (Client Quit)
23:25:15 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:311d:9400:2604:4e0f)
23:26:47 × Katarushisu quits (~Katarushi@cpc147790-finc20-2-0-cust502.4-2.cable.virginm.net) (Ping timeout: 268 seconds)
23:27:39 Ranhir joins (~Ranhir@157.97.53.139)
23:29:02 × jinsun quits (~jinsun@user/jinsun) (Read error: Connection reset by peer)
23:29:21 jinsun joins (~jinsun@user/jinsun)
23:29:47 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:311d:9400:2604:4e0f) (Ping timeout: 248 seconds)
23:31:29 × mechap quits (~mechap@user/mechap) (Ping timeout: 265 seconds)
23:33:03 mechap joins (~mechap@user/mechap)
23:33:53 Katarushisu joins (~Katarushi@cpc147790-finc20-2-0-cust502.4-2.cable.virginm.net)
23:35:00 ub joins (~Thunderbi@p548c8a3b.dip0.t-ipconnect.de)
23:35:55 × ubert quits (~Thunderbi@p200300ecdf1f1efb237106c089344746.dip0.t-ipconnect.de) (Ping timeout: 252 seconds)
23:35:55 ub is now known as ubert
23:36:42 <ph88> is it possible / how can this be used with generic deriving via ? https://hackage.haskell.org/package/hasbolt-extras-0.0.2.0/docs/Database-Bolt-Extras-Generic.html
23:40:58 × gnalzo quits (~gnalzo@2a01:e0a:498:fd50:fcc6:bb5d:489a:ce8c) (Quit: WeeChat 3.8)
23:42:16 falafel joins (~falafel@2607:fb91:143f:e47f:b5c5:f2b7:be92:9467)
23:45:42 jinsun is now known as Guest4113
23:45:42 jinsun__ joins (~jinsun@user/jinsun)
23:45:42 × Guest4113 quits (~jinsun@user/jinsun) (Killed (molybdenum.libera.chat (Nickname regained by services)))
23:45:42 jinsun__ is now known as jinsun
23:46:40 × jinsun quits (~jinsun@user/jinsun) (Read error: Connection reset by peer)
23:47:07 jinsun joins (~jinsun@user/jinsun)
23:48:59 Feuermagier_ joins (~Feuermagi@user/feuermagier)
23:49:54 × jinsun quits (~jinsun@user/jinsun) (Read error: Connection reset by peer)
23:50:12 jinsun joins (~jinsun@user/jinsun)
23:51:14 × Feuermagier_ quits (~Feuermagi@user/feuermagier) (Client Quit)
23:51:22 k8yun joins (~k8yun@user/k8yun)
23:51:31 × Feuermagier quits (~Feuermagi@user/feuermagier) (Ping timeout: 246 seconds)
23:51:48 emmanuelux joins (~emmanuelu@user/emmanuelux)
23:52:02 <jackdk> probably `deriving IsValue via BoltGeneric`
23:52:20 × k8yun quits (~k8yun@user/k8yun) (Max SendQ exceeded)
23:52:49 k8yun joins (~k8yun@user/k8yun)
23:56:00 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
23:56:16 × mechap quits (~mechap@user/mechap) (Ping timeout: 252 seconds)
23:56:29 × k8yun quits (~k8yun@user/k8yun) (Max SendQ exceeded)
23:57:27 k8yun joins (~k8yun@user/k8yun)
23:58:24 mechap joins (~mechap@user/mechap)

All times are in UTC on 2023-02-23.