2022/07/21

2022-07-21 00:02:45 +0000slack1256(~slack1256@186.11.18.101) (Remote host closed the connection)
2022-07-21 00:02:53 +0000gurkenglas(~gurkengla@dslb-002-203-144-112.002.203.pools.vodafone-ip.de) (Ping timeout: 272 seconds)
2022-07-21 00:02:59 +0000slack1256(~slack1256@186.11.18.101)
2022-07-21 00:05:08 +0000JoeBloggs7003141(~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
2022-07-21 00:05:25 +0000JoeBloggs7003141(~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
2022-07-21 00:08:33 +0000pavonia_(~user@user/siracusa)
2022-07-21 00:09:50 +0000pavonia(~user@user/siracusa) (Ping timeout: 240 seconds)
2022-07-21 00:09:51 +0000pavonia_pavonia
2022-07-21 00:10:01 +0000infinity0(~infinity0@185.112.146.113) (Remote host closed the connection)
2022-07-21 00:12:19 +0000JoeBloggs7003141(~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
2022-07-21 00:12:37 +0000JoeBloggs7003141(~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
2022-07-21 00:14:44 +0000wroathe(~wroathe@206-55-188-8.fttp.usinternet.com)
2022-07-21 00:14:44 +0000wroathe(~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host)
2022-07-21 00:14:44 +0000wroathe(~wroathe@user/wroathe)
2022-07-21 00:16:39 +0000infinity0(~infinity0@185.112.146.113)
2022-07-21 00:19:26 +0000JoeBloggs7003141(~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
2022-07-21 00:19:43 +0000JoeBloggs7003141(~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
2022-07-21 00:22:54 +0000Psybur(~Psybur@c-76-123-45-25.hsd1.va.comcast.net)
2022-07-21 00:25:32 +0000FinnElija(~finn_elij@user/finn-elija/x-0085643)
2022-07-21 00:28:38 +0000 <albet70> is there a function could take a large number bytes from a file? Data.ByteString.take use a Int value
2022-07-21 00:29:49 +0000 <Clint> what are you trying to do?
2022-07-21 00:29:53 +0000albet70(~xxx@2400:8902::f03c:92ff:fe60:98d8) (Remote host closed the connection)
2022-07-21 00:29:53 +0000 <exarkun> So by large you mean "larger than an Int can represent"?
2022-07-21 00:31:23 +0000Colere(~colere@about/linux/staff/sauvin) (Ping timeout: 272 seconds)
2022-07-21 00:32:56 +0000 <pavonia> Shouldn't an Int be more than enough?
2022-07-21 00:33:17 +0000xff0x(~xff0x@2405:6580:b080:900:604b:7f6a:615b:55d0) (Ping timeout: 244 seconds)
2022-07-21 00:35:23 +0000JoeBloggs7003141(~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
2022-07-21 00:35:40 +0000JoeBloggs7003141(~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
2022-07-21 00:35:59 +0000albet70(~xxx@2400:8902::f03c:92ff:fe60:98d8)
2022-07-21 00:36:44 +0000 <hpc> you never know when you're going to need a bytestring containing all the data humanity has ever produced :P
2022-07-21 00:39:52 +0000kaskal-(~kaskal@089144220061.atnat0029.highway.webapn.at) (Quit: ZNC - https://znc.in)
2022-07-21 00:41:01 +0000azimut(~azimut@gateway/tor-sasl/azimut) (Ping timeout: 268 seconds)
2022-07-21 00:41:20 +0000kaskal(~kaskal@2001:4bb8:2c0:3963:7278:d0d4:9479:4919)
2022-07-21 00:41:43 +0000nek0(~nek0@2a01:4f8:222:2b41::12) (Quit: The Lounge - https://thelounge.chat)
2022-07-21 00:42:33 +0000pavonia_(~user@user/siracusa)
2022-07-21 00:43:26 +0000lemonsnicks(~lemonsnic@cpc159519-perr18-2-0-cust114.19-1.cable.virginm.net) (Ping timeout: 255 seconds)
2022-07-21 00:43:55 +0000pavonia(~user@user/siracusa) (Ping timeout: 260 seconds)
2022-07-21 00:44:14 +0000pavonia_pavonia
2022-07-21 00:44:39 +0000lemonsnicks(~lemonsnic@cpc159519-perr18-2-0-cust114.19-1.cable.virginm.net)
2022-07-21 00:46:04 +0000pretty_dumm_guy(trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Quit: WeeChat 3.5)
2022-07-21 00:46:35 +0000Guest21(~Guest21@2a00:102a:4004:22de:50f7:a1a8:e044:4014)
2022-07-21 00:47:00 +0000merijn(~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
2022-07-21 00:47:49 +0000toluene6(~toluene@user/toulene)
2022-07-21 00:47:56 +0000toluene(~toluene@user/toulene) (Read error: Connection reset by peer)
2022-07-21 00:47:56 +0000toluene6toluene
2022-07-21 00:49:10 +0000machinedgod(~machinedg@d172-219-86-154.abhsia.telus.net) (Ping timeout: 260 seconds)
2022-07-21 00:51:12 +0000nosewings(~ngpc@cpe-76-186-194-45.tx.res.rr.com)
2022-07-21 00:53:54 +0000JoeBloggs7003141(~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
2022-07-21 00:58:10 +0000Guest21(~Guest21@2a00:102a:4004:22de:50f7:a1a8:e044:4014) (Quit: Client closed)
2022-07-21 01:02:47 +0000Colere(~colere@about/linux/staff/sauvin)
2022-07-21 01:07:00 +0000nek0(~nek0@2a01:4f8:222:2b41::12)
2022-07-21 01:09:01 +0000 <jackdk> Probably want a streaming library, unless you have a galaxy of ram
2022-07-21 01:09:55 +0000cheater(~Username@user/cheater) (Ping timeout: 268 seconds)
2022-07-21 01:11:12 +0000 <marcusxavier> Is there anything that I can do to improve this code? https://gist.github.com/MarcusXavierr/63bd89c8a77dae17f428c265ae1d39fa
2022-07-21 01:12:35 +0000winny(~weechat@user/winny) (Remote host closed the connection)
2022-07-21 01:13:22 +0000winny(~weechat@user/winny)
2022-07-21 01:16:55 +0000cheater(~Username@user/cheater)
2022-07-21 01:16:58 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Read error: Connection reset by peer)
2022-07-21 01:17:54 +0000xff0x(~xff0x@125x103x176x34.ap125.ftth.ucom.ne.jp)
2022-07-21 01:21:18 +0000merijn(~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 240 seconds)
2022-07-21 01:22:49 +0000jmorris(uid537181@id-537181.uxbridge.irccloud.com) (Quit: Connection closed for inactivity)
2022-07-21 01:25:17 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-07-21 01:33:27 +0000mvk(~mvk@2607:fea8:5ce3:8500::909a) (Ping timeout: 272 seconds)
2022-07-21 01:46:10 +0000Kevin578(~Kevin578@pool-173-76-179-30.bstnma.fios.verizon.net) (Ping timeout: 240 seconds)
2022-07-21 01:48:17 +0000Kevin578(~Kevin578@pool-173-76-179-30.bstnma.fios.verizon.net)
2022-07-21 01:53:00 +0000zaquest(~notzaques@5.130.79.72) (Remote host closed the connection)
2022-07-21 01:53:34 +0000mvk(~mvk@2607:fea8:5ce3:8500::909a)
2022-07-21 01:54:54 +0000 <Boarders__> is there a good way to parse a collection of words in a list/set?
2022-07-21 01:54:58 +0000 <Boarders__> using megaparsec
2022-07-21 01:57:52 +0000winny(~weechat@user/winny) (Remote host closed the connection)
2022-07-21 02:01:05 +0000machinedgod(~machinedg@d172-219-86-154.abhsia.telus.net)
2022-07-21 02:03:12 +0000zaquest(~notzaques@5.130.79.72)
2022-07-21 02:03:31 +0000 <jackdk> what precisely do you mean by that?
2022-07-21 02:05:45 +0000machinedgod(~machinedg@d172-219-86-154.abhsia.telus.net) (Ping timeout: 272 seconds)
2022-07-21 02:06:23 +0000machinedgod(~machinedg@d172-219-86-154.abhsia.telus.net)
2022-07-21 02:12:57 +0000zebrag(~chris@user/zebrag)
2022-07-21 02:15:25 +0000nate4(~nate@98.45.169.16)
2022-07-21 02:16:18 +0000Kevin578(~Kevin578@pool-173-76-179-30.bstnma.fios.verizon.net) (Ping timeout: 240 seconds)
2022-07-21 02:16:35 +0000 <Axman6> albet70: Int in GHC is always the size of a machine word, so should be able to address everything that could possibly fit into memory
2022-07-21 02:16:53 +0000naso(~naso@193-116-244-197.tpgi.com.au)
2022-07-21 02:17:31 +0000merijn(~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
2022-07-21 02:30:05 +0000cyphase_eviltwin(~cyphase@user/cyphase) (Ping timeout: 268 seconds)
2022-07-21 02:30:57 +0000 <Axman6> (well, half of everything I guess since it's signed)
2022-07-21 02:32:15 +0000 <Axman6> @check \xs -> not (null xs) ==> (reverse . drop 1 . reverse) xs == init xs
2022-07-21 02:32:17 +0000 <lambdabot> error:
2022-07-21 02:32:17 +0000 <lambdabot> • Couldn't match expected type ‘Test.QuickCheck.Safe.SProperty’ with actual ...
2022-07-21 02:32:38 +0000FinnElija(~finn_elij@user/finn-elija/x-0085643) (Ping timeout: 268 seconds)
2022-07-21 02:32:39 +0000 <Axman6> > reverse . drop 1 . reverse $ "ABC"
2022-07-21 02:32:41 +0000 <lambdabot> "AB"
2022-07-21 02:32:46 +0000 <Axman6> > init "ABC"
2022-07-21 02:32:48 +0000 <lambdabot> "AB"
2022-07-21 02:32:52 +0000 <Axman6> marcusxavier: ^
2022-07-21 02:35:51 +0000 <Axman6> marcusxavier: comparing the length of a list is almost always a bad idea, since it might never return the length. you could use atLeast3 (a:b:c:xs) = True; atLeast3 _ = False
2022-07-21 02:36:27 +0000 <Axman6> middle doesn't do what you're claiming in the error, I can pass it [1,2] and it will give me back 2. I think you want (l:m:h:xs)
2022-07-21 02:36:38 +0000 <dibblego> > reverse . drop 1 . reverse $ []
2022-07-21 02:36:39 +0000cyphase(~cyphase@user/cyphase)
2022-07-21 02:36:40 +0000 <lambdabot> []
2022-07-21 02:36:46 +0000 <dibblego> > init $ []
2022-07-21 02:36:48 +0000 <lambdabot> *Exception: Prelude.init: empty list
2022-07-21 02:36:57 +0000toluene(~toluene@user/toulene) (Read error: Connection reset by peer)
2022-07-21 02:37:04 +0000 <Axman6> it also uses tails so the list will be nonempty
2022-07-21 02:37:31 +0000toluene(~toluene@user/toulene)
2022-07-21 02:38:22 +0000 <Axman6> I;d remove the ++ "\n" from createString and instead use unlines instead of concat above
2022-07-21 02:39:08 +0000notzmv(~zmv@user/notzmv) (Ping timeout: 272 seconds)
2022-07-21 02:40:41 +0000 <Axman6> Rather than using fst and snd everywhere, you can pattern match on (a,b) in your foldrs: removeRow = foldr (\x@(a,b) acc -> if b > 0 then (a, b - 1) : acc else x : acc ) []
2022-07-21 02:41:06 +0000 <Axman6> canContinue is just a hidden way of using any:
2022-07-21 02:41:09 +0000 <Axman6> @t any
2022-07-21 02:41:09 +0000 <lambdabot> Maybe you meant: tell thank you thanks thesaurus thx tic-tac-toe ticker time todo todo-add todo-delete type v @ ? .
2022-07-21 02:41:11 +0000 <Axman6> :t any
2022-07-21 02:41:12 +0000 <lambdabot> Foldable t => (a -> Bool) -> t a -> Bool
2022-07-21 02:41:40 +0000 <Axman6> > any ((>0) . snd) $ zip [1,2,3] [-1,0,1]
2022-07-21 02:41:41 +0000 <lambdabot> True
2022-07-21 02:42:35 +0000 <Axman6> also using foldl for canContinue isn't a great idea - you will always process every value in the list, even if you know you can return True. use foldr instead (or any)
2022-07-21 02:46:17 +0000machinedgod(~machinedg@d172-219-86-154.abhsia.telus.net) (Ping timeout: 272 seconds)
2022-07-21 02:48:23 +0000terrorjack(~terrorjac@2a01:4f8:1c1e:509a::1) (Quit: The Lounge - https://thelounge.chat)
2022-07-21 02:49:38 +0000terrorjack(~terrorjac@2a01:4f8:1c1e:509a::1)
2022-07-21 02:51:03 +0000slack1256(~slack1256@186.11.18.101) (Ping timeout: 268 seconds)
2022-07-21 02:52:17 +0000merijn(~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 268 seconds)
2022-07-21 02:54:04 +0000gdown(~gavin@h69-11-149-231.kndrid.broadband.dynamic.tds.net)
2022-07-21 02:54:35 +0000td_(~td@muedsl-82-207-238-080.citykom.de) (Ping timeout: 260 seconds)
2022-07-21 02:56:21 +0000td_(~td@muedsl-82-207-238-040.citykom.de)
2022-07-21 02:56:31 +0000jakalx(~jakalx@base.jakalx.net) (Error from remote client)
2022-07-21 03:01:56 +0000jakalx(~jakalx@base.jakalx.net)
2022-07-21 03:05:21 +0000cyphase(~cyphase@user/cyphase) (Ping timeout: 276 seconds)
2022-07-21 03:05:51 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 268 seconds)
2022-07-21 03:09:04 +0000matthewmosior(~matthewmo@173.170.253.91) (Remote host closed the connection)
2022-07-21 03:10:03 +0000cyphase(~cyphase@user/cyphase)
2022-07-21 03:12:58 +0000matthewmosior(~matthewmo@173.170.253.91)
2022-07-21 03:16:53 +0000 <Axman6> marcusxavier: does that all make sense?
2022-07-21 03:17:05 +0000matthewmosior(~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
2022-07-21 03:18:29 +0000matthewmosior(~matthewmo@173.170.253.91)
2022-07-21 03:19:02 +0000nate4(~nate@98.45.169.16) (Ping timeout: 272 seconds)
2022-07-21 03:20:22 +0000nosewings(~ngpc@cpe-76-186-194-45.tx.res.rr.com) (Remote host closed the connection)
2022-07-21 03:22:41 +0000matthewmosior(~matthewmo@173.170.253.91) (Ping timeout: 255 seconds)
2022-07-21 03:23:28 +0000gleostocha(~runic@104-182-236-205.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 272 seconds)
2022-07-21 03:24:58 +0000mvk(~mvk@2607:fea8:5ce3:8500::909a) (Ping timeout: 240 seconds)
2022-07-21 03:30:30 +0000matthewmosior(~matthewmo@173.170.253.91)
2022-07-21 03:32:59 +0000foul_owl(~kerry@23.82.194.107) (Ping timeout: 268 seconds)
2022-07-21 03:37:35 +0000 <Axman6> Clinton[m]: Not sure if there's a GHC Generics alternative to this class, but generics-sop (which is generially easier to work with than GHC.Generics, and completely compatible) provides DatatypeInfo https://hackage.haskell.org/package/generics-sop-0.5.1.2/docs/Generics-SOP.html#t:DatatypeInfo and HasDatatypeInfo: https://hackage.haskell.org/package/generics-sop-0.5.1.2/docs/Generics-SOP.html#t:HasDatatypeInfo
2022-07-21 03:41:56 +0000 <Clinton[m]> Axman6: I probably should go down that path eventually, but I've worked it out with the raw GHC style approach now, and didn't want to learn a new library, at least initially. The raw approach actually has a lot of power even if it is fiddly.
2022-07-21 03:42:34 +0000 <Clinton[m]> Is there an easy way in Visual Studio Code to reload the HLS plugin? I've notice it doesn't notice changes cross project. Closing the window and completely reopening is annoying.
2022-07-21 03:42:53 +0000 <Axman6> there's a restart haskell language server command
2022-07-21 03:43:11 +0000 <Axman6> there's also reloading the window, which is relatively quick
2022-07-21 03:43:41 +0000 <Axman6> cmd-shift-p "haskell" and "reload" should find both of those
2022-07-21 03:44:07 +0000 <albet70> why there's no Data.ByteString.splitOn?
2022-07-21 03:45:45 +0000marcusxavier(~marcusxav@2804:6660:ff12:ef70:d931:8aed:263b:5825) (Quit: WeeChat 3.6)
2022-07-21 03:46:45 +0000foul_owl(~kerry@23.82.194.108)
2022-07-21 03:48:00 +0000[itchyjunk](~itchyjunk@user/itchyjunk/x-7353470) (Read error: Connection reset by peer)
2022-07-21 03:48:05 +0000merijn(~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
2022-07-21 03:49:12 +0000 <Axman6> is splitOn c = splitWith (== c)?
2022-07-21 03:49:40 +0000 <Axman6> there definitely should be a version which uses memchr though
2022-07-21 03:50:23 +0000 <Axman6> you can use elemIndex and splitAt
2022-07-21 03:50:40 +0000 <albet70> splitWith work on one byte, not a series bytes
2022-07-21 03:54:36 +0000 <Axman6> it has ASX_Bilateral_Demand_Transfer.feature:1232
2022-07-21 03:54:57 +0000 <Axman6> https://hackage.haskell.org/package/bytestring-0.11.3.1/docs/Data-ByteString.html#v:breakSubstring… uh,
2022-07-21 03:55:09 +0000 <Axman6> ffs, what is my terminal doing
2022-07-21 03:55:19 +0000 <Axman6> anyway, you want breakSubstring
2022-07-21 03:57:07 +0000 <Axman6> if you are using it multiple times with the same needle, you should take note of the last line in the docs for it, and use let search = breakSubstring "my pattern" in map search xs or whatever
2022-07-21 03:58:59 +0000use-value(~Thunderbi@2a00:23c6:8a03:2f01:8936:f28b:f369:f4da) (Remote host closed the connection)
2022-07-21 03:59:17 +0000use-value(~Thunderbi@2a00:23c6:8a03:2f01:8936:f28b:f369:f4da)
2022-07-21 04:04:26 +0000toluene(~toluene@user/toulene) (Ping timeout: 268 seconds)
2022-07-21 04:05:03 +0000zebrag(~chris@user/zebrag) (Ping timeout: 268 seconds)
2022-07-21 04:06:17 +0000zebrag(~chris@user/zebrag)
2022-07-21 04:06:28 +0000toluene(~toluene@user/toulene)
2022-07-21 04:07:02 +0000zebrag(~chris@user/zebrag) (Client Quit)
2022-07-21 04:11:55 +0000stiell(~stiell@gateway/tor-sasl/stiell) (Ping timeout: 268 seconds)
2022-07-21 04:16:09 +0000wroathe(~wroathe@user/wroathe) (Ping timeout: 268 seconds)
2022-07-21 04:18:02 +0000bajskorfven00(~bajskorfv@90-231-13-185-no3430.tbcn.telia.com) (Remote host closed the connection)
2022-07-21 04:23:00 +0000merijn(~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 272 seconds)
2022-07-21 04:23:18 +0000stiell(~stiell@gateway/tor-sasl/stiell)
2022-07-21 04:32:38 +0000matthewmosior(~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
2022-07-21 04:35:03 +0000naso(~naso@193-116-244-197.tpgi.com.au) (Remote host closed the connection)
2022-07-21 04:39:14 +0000naso(~naso@193-116-244-197.tpgi.com.au)
2022-07-21 04:44:05 +0000naso(~naso@193-116-244-197.tpgi.com.au) (Ping timeout: 272 seconds)
2022-07-21 04:44:30 +0000notzmv(~zmv@user/notzmv)
2022-07-21 04:47:08 +0000mbuf(~Shakthi@122.165.55.71)
2022-07-21 05:01:02 +0000adanwan(~adanwan@gateway/tor-sasl/adanwan) (Quit: _)
2022-07-21 05:01:22 +0000adanwan(~adanwan@gateway/tor-sasl/adanwan)
2022-07-21 05:02:23 +0000matthewmosior(~matthewmo@173.170.253.91)
2022-07-21 05:06:37 +0000matthewmosior(~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
2022-07-21 05:09:38 +0000_ht(~quassel@231-169-21-31.ftth.glasoperator.nl)
2022-07-21 05:18:39 +0000merijn(~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
2022-07-21 05:19:46 +0000matthewmosior(~matthewmo@173.170.253.91)
2022-07-21 05:31:10 +0000naso(~naso@193-116-244-197.tpgi.com.au)
2022-07-21 05:33:32 +0000ccntrq(~Thunderbi@2a01:c22:88a1:0:3616:e744:87c3:802a)
2022-07-21 05:34:10 +0000 <qrpnxz> in a way, lazy IO is like doing (pure @IO (unsafePerformIO a)), and when you put it like that it sounds like an insane thing to do lol
2022-07-21 05:36:56 +0000vglfr(~vglfr@coupling.penchant.volia.net) (Ping timeout: 268 seconds)
2022-07-21 05:44:04 +0000naso(~naso@193-116-244-197.tpgi.com.au) (Ping timeout: 272 seconds)
2022-07-21 05:44:59 +0000adanwan(~adanwan@gateway/tor-sasl/adanwan) (Remote host closed the connection)
2022-07-21 05:45:14 +0000adanwan(~adanwan@gateway/tor-sasl/adanwan)
2022-07-21 05:46:53 +0000john(~john@115.96.77.44)
2022-07-21 05:47:14 +0000 <maerwald[m]> lazy IO is just boring
2022-07-21 05:47:41 +0000 <maerwald[m]> It's a half assed streaming substitute
2022-07-21 05:48:39 +0000bontaq(~user@ool-45779fe5.dyn.optonline.net) (Ping timeout: 268 seconds)
2022-07-21 05:52:58 +0000merijn(~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 240 seconds)
2022-07-21 06:02:08 +0000john(~john@115.96.77.44) (Remote host closed the connection)
2022-07-21 06:03:21 +0000 <qrpnxz> that seem to be the concensus. Adding to the list of AVOID in base
2022-07-21 06:07:50 +0000TMA(tma@twin.jikos.cz) (Ping timeout: 268 seconds)
2022-07-21 06:11:13 +0000 <maerwald[m]> <qrpnxz> "that seem to be the concensus..." <- Nah, people are busy discussing whether to add |> to base
2022-07-21 06:11:35 +0000 <qrpnxz> i saw that post lmao
2022-07-21 06:12:05 +0000 <maerwald[m]> I wish I got that many comments for my proposal. But bikeshedding never happens on deeply technical issues
2022-07-21 06:12:09 +0000 <qrpnxz> is that not just trivially added to your lib if you want?! i rather many other things
2022-07-21 06:12:32 +0000 <qrpnxz> oof, what's your prop
2022-07-21 06:12:53 +0000 <maerwald[m]> Fixing all of core libraries
2022-07-21 06:12:56 +0000 <maerwald[m]> 😂
2022-07-21 06:13:03 +0000 <qrpnxz> mmm, for ex?
2022-07-21 06:13:53 +0000 <maerwald[m]> Countless of encoding issues. Filepath (which I fixed), but also unix providing half assed String APIs
2022-07-21 06:14:11 +0000 <qrpnxz> 😬
2022-07-21 06:14:38 +0000 <maerwald[m]> Adding posix_spawn api
2022-07-21 06:15:05 +0000 <maerwald[m]> But I guess the |> operator is more interesting 😅
2022-07-21 06:15:38 +0000 <maerwald[m]> Oh and fixing IsString
2022-07-21 06:15:43 +0000 <qrpnxz> adding |> easy actionable :) but [insert jurassic park quote here]
2022-07-21 06:16:03 +0000 <qrpnxz> maerwald[m]: what part of isstring
2022-07-21 06:16:43 +0000naso(~naso@193-116-244-197.tpgi.com.au)
2022-07-21 06:17:13 +0000Sgeo(~Sgeo@user/sgeo) (Read error: Connection reset by peer)
2022-07-21 06:17:38 +0000 <maerwald[m]> qrpnxz: https://gitlab.haskell.org/ghc/ghc/-/issues/13028#note_443228
2022-07-21 06:17:38 +0000 <qrpnxz> i don't like bytestring isstring behaviour, but idk if to accept it or frown about it
2022-07-21 06:19:48 +0000 <qrpnxz> "If OverloadedStrings should still be implemented as part of a class, it will have to be one that can express failure." pmuch this, tho there's a bunch of other stuff mentioned there that kind of going over my head. Will look into.
2022-07-21 06:21:59 +0000dschrempf(~dominik@2a01-036d-0118-b0ba-e5e0-6cbe-f350-bd2b.pool6.digikabel.hu)
2022-07-21 06:22:10 +0000matthewmosior(~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
2022-07-21 06:24:08 +0000chomwitt(~chomwitt@2a02:587:dc00:5a00:57c7:596d:8744:7d7c)
2022-07-21 06:24:57 +0000 <qrpnxz> validate-literals! Yes indeed. I was just thinking earlier about how much compile time execution GHC does on known values (I have no idea), but if it did this check for isstring at build that'd be awesome. Actually just practical too. Ran into this exact issue in Real Life on a Java code base where shit was broken and turns out that a static json string in the code was actually invalid. My
2022-07-21 06:24:59 +0000 <qrpnxz> solution was to add a test that all it did was instanciate the class (thereby running the parser), but this would be even nicer.
2022-07-21 06:25:44 +0000 <qrpnxz> best part is if it does that check then you can have fromstring return maybe and for known goods it can just return the value
2022-07-21 06:26:29 +0000 <qrpnxz> so use is just as ergonomic. If your string is bad and in your code you assume it was good, it's gonna fail type check so all good
2022-07-21 06:31:32 +0000gmg(~user@user/gehmehgeh)
2022-07-21 06:33:29 +0000 <Maxdamantus> If the code fails even with static values, isn't it more likely to fail with dynamic values?
2022-07-21 06:33:30 +0000Vajb(~Vajb@n1zigc3rgo9mpde2w-1.v6.elisa-mobile.fi) (Read error: Connection reset by peer)
2022-07-21 06:33:41 +0000Vajb(~Vajb@hag-jnsbng11-58c3ad-40.dhcp.inet.fi)
2022-07-21 06:35:11 +0000matthewmosior(~matthewmo@173.170.253.91)
2022-07-21 06:35:12 +0000 <Maxdamantus> Those errors should either be handled, or a different type should be used. I've mentioned before that imo there should be a standard string type that supports arbitrary byte sequences while also offering all of the Unicode functionality from `Text`.
2022-07-21 06:38:21 +0000 <Maxdamantus> Actually, I guess it's not quite the same issue, because Haskell string literals represent arbitrary code point sequences (as opposed to arbitrary byte sequences or arbitrary scalar value sequences).
2022-07-21 06:39:32 +0000acidjnk_new(~acidjnk@p5dd87aad.dip0.t-ipconnect.de)
2022-07-21 06:39:59 +0000dschrempf(~dominik@2a01-036d-0118-b0ba-e5e0-6cbe-f350-bd2b.pool6.digikabel.hu) (Quit: WeeChat 3.6)
2022-07-21 06:40:39 +0000takuan(~takuan@178-116-218-225.access.telenet.be)
2022-07-21 06:48:52 +0000 <cdepillabout[m]> The last message on https://gitlab.haskell.org/ghc/ghc/-/issues/13028#note_443228 is "Nah, no way I'm making a GHC proposal for this."
2022-07-21 06:48:58 +0000 <cdepillabout[m]> That made me chuckle 🙂
2022-07-21 06:49:09 +0000 <qrpnxz> i don't think those two feature set combined make sense. Unicode is not arbitrary, it's unicode. But I think i kind of get what you are getting at. In Go you work with two main kind of buffers: []byte and string. string is like []byte, except it's immutable and known good UTF-8. Interfaces like io.Reader just take []byte. There's duplicated functionality: a whole lib for working with []byte
2022-07-21 06:49:10 +0000merijn(~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
2022-07-21 06:49:11 +0000 <qrpnxz> (search, replace, comparison) and another with basically same interface for string. So basically in Go utf-8 is just blessed by this string type. String constants are always type string (Go source code is utf-8 always also). I guess what i'm getting at is that blessed encoding in bytes works pretty well. Moving to haskell, i think fromstring for bytestring should just do utf8 by default at
2022-07-21 06:49:13 +0000 <qrpnxz> minimum. Yes truncating is faster, but this should be compile time anyway, and when am i gonna even want that? utf-8 is losslessly translatable back to [Char] as well. It just makes sense to do that.
2022-07-21 06:50:06 +0000 <Maxdamantus> Go strings are arbitrary byte sequences that are conventionally UTF-8.
2022-07-21 06:50:13 +0000 <Maxdamantus> (that's my preferred model for strings)
2022-07-21 06:50:23 +0000 <Maxdamantus> (also Unicode's preferred model afaict)
2022-07-21 06:50:29 +0000naso(~naso@193-116-244-197.tpgi.com.au) (Remote host closed the connection)
2022-07-21 06:51:00 +0000naso(~naso@193-116-244-197.tpgi.com.au)
2022-07-21 06:51:49 +0000 <Maxdamantus> Go source code is required to be well-formed UTF-8, but string literals don't need to represent well-formed Unicode. "\xff" is an allowed string literal.
2022-07-21 06:52:29 +0000naso(~naso@193-116-244-197.tpgi.com.au) (Remote host closed the connection)
2022-07-21 06:52:57 +0000 <qrpnxz> mm yes true. Perhaps actually string should be [Word8] and let people turn into [Char] if they actually care about code points
2022-07-21 06:53:29 +0000 <Maxdamantus> Which is almost never.
2022-07-21 06:53:30 +0000 <qrpnxz> or legit just be a foldable immutable array i mean
2022-07-21 06:53:30 +0000naso(~naso@193-116-244-197.tpgi.com.au)
2022-07-21 06:53:51 +0000 <Maxdamantus> Only really happens when converting to UTF-16 or when implementing a text renderer.
2022-07-21 06:54:11 +0000 <Maxdamantus> (or at least something related to rendering)
2022-07-21 06:54:11 +0000 <qrpnxz> or whenever you need to look at a character? lol
2022-07-21 06:54:33 +0000 <Maxdamantus> What would you do with a character?
2022-07-21 06:55:27 +0000 <qrpnxz> i suppose i could convert the thing i'm looking for into utf-8 instead of converting the haystack
2022-07-21 06:55:37 +0000 <qrpnxz> but if you did the other way around is what i meant
2022-07-21 06:56:04 +0000 <Maxdamantus> Indeed. If you're implementing something like a parser, you're effectively looking for byte sequence prefixes.
2022-07-21 06:56:31 +0000 <Maxdamantus> And if you're splitting by a substring, same thing, you're splitting by a byte sequence.
2022-07-21 06:57:09 +0000toluene(~toluene@user/toulene) (Read error: Connection reset by peer)
2022-07-21 06:57:17 +0000 <qrpnxz> also generally i actually just care about the encoded size resource wise than the code point count, etc, etc.
2022-07-21 06:57:56 +0000 <qrpnxz> byte seq rules. But i'm guessing haskell did [Char] because... it's old and therefore wasn't wise? lol
2022-07-21 06:58:20 +0000naso(~naso@193-116-244-197.tpgi.com.au) (Ping timeout: 268 seconds)
2022-07-21 06:58:29 +0000toluene7(~toluene@user/toulene)
2022-07-21 06:58:39 +0000 <Maxdamantus> Yes. Probably before UTF-8 was invented, definitely before it was really known about.
2022-07-21 06:59:05 +0000 <Maxdamantus> Other languages made similar mistakes with adopting UTF-16.
2022-07-21 06:59:33 +0000ChaiTRex(~ChaiTRex@user/chaitrex) (Remote host closed the connection)
2022-07-21 06:59:48 +0000 <qrpnxz> wasn't utf-8 invented before utf-16. I just can't imagine why we ever invented it
2022-07-21 07:00:22 +0000 <[exa]> qrpnxz: utf8 comes from plan9 afaik, which is ooooooold
2022-07-21 07:00:24 +0000ChaiTRex(~ChaiTRex@user/chaitrex)
2022-07-21 07:00:30 +0000eggplantade(~Eggplanta@2600:1700:bef1:5e10:780e:1ceb:256a:60ab) (Remote host closed the connection)
2022-07-21 07:00:41 +0000 <Maxdamantus> I guess I should have said UCS-2.
2022-07-21 07:00:45 +0000 <qrpnxz> not that old, wasn't plan9 near the end of the labs, like the 90S?
2022-07-21 07:00:48 +0000 <qrpnxz> *90s
2022-07-21 07:01:20 +0000cods(~fred@82-65-232-44.subs.proxad.net) (Ping timeout: 260 seconds)
2022-07-21 07:01:29 +0000eggplantade(~Eggplanta@2600:1700:bef1:5e10:780e:1ceb:256a:60ab)
2022-07-21 07:01:33 +0000 <qrpnxz> (maybe it is that old, just doesn't feel that old) anyway
2022-07-21 07:02:07 +0000ChaiTRex(~ChaiTRex@user/chaitrex) (Remote host closed the connection)
2022-07-21 07:03:20 +0000ChaiTRex(~ChaiTRex@user/chaitrex)
2022-07-21 07:05:14 +0000Vajb(~Vajb@hag-jnsbng11-58c3ad-40.dhcp.inet.fi) (Read error: Connection reset by peer)
2022-07-21 07:05:23 +0000 <qrpnxz> but Strings are used all the time. As a long time C programmer i'm hurt little bit every time i see one in haskell and just think "this coulda been cache friendly array 😢"
2022-07-21 07:05:41 +0000Vajb(~Vajb@n1zigc3rgo9mpde2w-1.v6.elisa-mobile.fi)
2022-07-21 07:06:12 +0000 <qrpnxz> and probably i overestimate those costs, but still
2022-07-21 07:06:22 +0000zeenk(~zeenk@2a02:2f04:a311:2d00:6865:d863:4c93:799f)
2022-07-21 07:06:57 +0000Kaiepi(~Kaiepi@156.34.47.253)
2022-07-21 07:07:03 +0000 <qrpnxz> if text or bytestring were in base, i think more library would use it. Sometimes i think it's avoided just not to depend on these really basic packages i feel like
2022-07-21 07:07:23 +0000 <qrpnxz> i should same "fundamental" not so much basic
2022-07-21 07:07:27 +0000 <qrpnxz> *say
2022-07-21 07:07:38 +0000 <maerwald[m]> Maxdamantus: unix fdRead is broken, because it allows you to read n bytes and turn those into Chars, which fails of you happen to split inside a multibyte UTF-8 codepoint
2022-07-21 07:08:02 +0000 <qrpnxz> fdRead return String?!
2022-07-21 07:08:31 +0000 <qrpnxz> omg it does
2022-07-21 07:08:33 +0000 <qrpnxz> wtf
2022-07-21 07:08:58 +0000 <maerwald[m]> https://hackage.haskell.org/package/unix-2.7.2.2/docs/System-Posix-IO.html#v:fdRead
2022-07-21 07:09:00 +0000 <qrpnxz> that lib import bytestring too like ?!/1
2022-07-21 07:09:12 +0000 <qrpnxz> i'm so confused
2022-07-21 07:09:19 +0000 <maerwald[m]> ByteString based fdRead is coming in the next release
2022-07-21 07:09:31 +0000 <qrpnxz> you speak poetry
2022-07-21 07:09:37 +0000 <qrpnxz> great!
2022-07-21 07:09:40 +0000 <Maxdamantus> That's pretty funny.
2022-07-21 07:09:51 +0000 <qrpnxz> 😁
2022-07-21 07:10:00 +0000chele(~chele@user/chele)
2022-07-21 07:10:00 +0000 <maerwald[m]> The shit String has caused in Haskell is hard to fathom
2022-07-21 07:10:45 +0000 <qrpnxz> i think the FFI directly take return String too no? No idea how that behaves
2022-07-21 07:11:53 +0000 <maerwald[m]> qrpnxz: it decodes
2022-07-21 07:12:01 +0000 <maerwald[m]> Depends on which API
2022-07-21 07:12:01 +0000ccntrq(~Thunderbi@2a01:c22:88a1:0:3616:e744:87c3:802a) (Quit: ccntrq)
2022-07-21 07:12:15 +0000ccntrq(~Thunderbi@dynamic-077-006-013-103.77.6.pool.telefonica.de)
2022-07-21 07:12:16 +0000cods(~fred@82-65-232-44.subs.proxad.net)
2022-07-21 07:12:20 +0000cods(~fred@82-65-232-44.subs.proxad.net) (Client Quit)
2022-07-21 07:12:28 +0000 <maerwald[m]> For filepath it's some shady roundtrip escaping that sometimes works
2022-07-21 07:12:30 +0000 <maerwald[m]> Sometimes not
2022-07-21 07:12:40 +0000cods(~fred@82-65-232-44.subs.proxad.net)
2022-07-21 07:12:42 +0000 <qrpnxz> maerwald[m]: surely, but what is invalid enc behaviour idk
2022-07-21 07:12:49 +0000 <maerwald[m]> Some parts of unix assume latin-1
2022-07-21 07:13:17 +0000alternateved(~user@staticline-31-183-144-54.toya.net.pl)
2022-07-21 07:13:17 +0000 <maerwald[m]> qrpnxz: CString to String is decoding
2022-07-21 07:13:33 +0000 <maerwald[m]> That's the main problematic part
2022-07-21 07:13:35 +0000 <qrpnxz> i meant behaviour of decoding an invalid encodinG :)
2022-07-21 07:14:10 +0000 <maerwald[m]> The encoding may be valid, but not roundtrippable
2022-07-21 07:14:42 +0000 <maerwald[m]> qrpnxz: https://hasufell.github.io/posts/2022-06-29-fixing-haskell-filepaths.html
2022-07-21 07:14:58 +0000naso(~naso@193-116-244-197.tpgi.com.au)
2022-07-21 07:15:02 +0000 <maerwald[m]> https://gist.github.com/hasufell/c600d318bdbe010a7841cc351c835f92
2022-07-21 07:15:03 +0000 <qrpnxz> i mean, it's it doing utf-8? if it's invalid utf8 what does it do exactly. Insert unicode invalid char code point?
2022-07-21 07:15:22 +0000 <qrpnxz> or worse does it pull a bytestring and truncate everything
2022-07-21 07:15:24 +0000 <maerwald[m]> Uses lone surdogates for escaping
2022-07-21 07:15:36 +0000 <maerwald[m]> But, surrogates are invalid UTF-8 😂
2022-07-21 07:15:57 +0000 <maerwald[m]> Now you have UTF-8 that fails a scrict parser
2022-07-21 07:16:12 +0000 <qrpnxz> i'm mind blown
2022-07-21 07:16:18 +0000 <maerwald[m]> https://unicode.org/L2/L2009/09236-pep383-problems.html
2022-07-21 07:16:21 +0000 <qrpnxz> 🤯
2022-07-21 07:16:27 +0000 <maerwald[m]> Unicode consortium is not a fan
2022-07-21 07:17:56 +0000 <maerwald[m]> Then https://github.com/haskell/unix/issues/237
2022-07-21 07:18:09 +0000 <qrpnxz> it goes by locale wow. I suppose that's reasonable
2022-07-21 07:18:20 +0000 <maerwald[m]> Here unix assumes latin-1
2022-07-21 07:18:26 +0000 <maerwald[m]> qrpnxz: no
2022-07-21 07:18:30 +0000 <maerwald[m]> It's the worst
2022-07-21 07:18:53 +0000 <maerwald[m]> Because the escaping technique only works properly for ascii supersets like utf8
2022-07-21 07:19:13 +0000 <maerwald[m]> That's why python enforces utf8
2022-07-21 07:19:59 +0000vglfr(~vglfr@88.155.27.105)
2022-07-21 07:20:01 +0000 <qrpnxz> it's terrible for a filesystem interface, but for FFI i think it's fine. If i have a function that calls a winapi that takes a string that supposed to be like text, then it makes sense. If that FFI is to a function like createdir or something, i should be giving it a signature of ByteString or something, in which case what it does for String is irrelevant because i picked what i should have
2022-07-21 07:20:03 +0000 <qrpnxz> picked, you get me?
2022-07-21 07:20:14 +0000 <maerwald[m]> And if your data is not actually utf8, now you get excessive escaping and nonsensical results... although they roundtrip properly
2022-07-21 07:20:15 +0000 <maerwald[m]> You can't win
2022-07-21 07:21:06 +0000 <qrpnxz> If you picked (badly) String, then this behaviour kind of makes sense for that (bad) choice. Only real solution in that case is to not type that FFI call non-sense (String) and type it with sense (ByteString)
2022-07-21 07:22:02 +0000 <maerwald[m]> qrpnxz: that's what OsPath does (ShortByteString though)
2022-07-21 07:23:00 +0000coot(~coot@213.134.190.95)
2022-07-21 07:23:04 +0000 <qrpnxz> neat-o, around what sizes is shortbytestring worth it?
2022-07-21 07:23:05 +0000 <qrpnxz> do you know?
2022-07-21 07:24:29 +0000michalz(~michalz@185.246.204.93)
2022-07-21 07:24:48 +0000 <maerwald[m]> qrpnxz: size?
2022-07-21 07:24:56 +0000 <maerwald[m]> The name is misleading
2022-07-21 07:25:03 +0000 <maerwald[m]> It's unpinned bytearray
2022-07-21 07:25:28 +0000 <maerwald[m]> So many operations incure a memcpy
2022-07-21 07:25:33 +0000 <qrpnxz> doesn't it also have less overhead
2022-07-21 07:25:52 +0000 <qrpnxz> i guess it's more about what you are going to use it for than how long it is
2022-07-21 07:26:03 +0000 <qrpnxz> where you get the benefit
2022-07-21 07:26:15 +0000 <maerwald[m]> It's good for avoiding memory fragmentation
2022-07-21 07:26:48 +0000 <maerwald[m]> If you have lots of small ByteString's it's gonna be bad for fragmentation
2022-07-21 07:26:48 +0000gdown(~gavin@h69-11-149-231.kndrid.broadband.dynamic.tds.net) (Remote host closed the connection)
2022-07-21 07:27:05 +0000 <qrpnxz> ahhh yeah i see
2022-07-21 07:29:19 +0000phma_(phma@2001:5b0:210f:5108:fe8e:73c7:f87e:8126)
2022-07-21 07:29:39 +0000ccntrq1(~Thunderbi@2a01:c22:88a1:0:ed28:7d3:5f9c:fcb9)
2022-07-21 07:29:47 +0000 <maerwald[m]> filepaths have a size limit, so this makes sense
2022-07-21 07:29:55 +0000cfricke(~cfricke@user/cfricke)
2022-07-21 07:30:56 +0000 <qrpnxz> and it's not that big, only a few hundred on linux i think
2022-07-21 07:30:58 +0000phma(~phma@host-67-44-208-242.hnremote.net) (Read error: Connection reset by peer)
2022-07-21 07:31:24 +0000tzh(~tzh@c-24-21-73-154.hsd1.wa.comcast.net) (Quit: zzz)
2022-07-21 07:31:49 +0000 <qrpnxz> ah SBS was cleaned up as part of this neat. I did notice that recently suddenly you could use SBSs a lot more like just bytestrings now (the module got a bunch of corresponding functions)
2022-07-21 07:32:15 +0000ccntrq(~Thunderbi@dynamic-077-006-013-103.77.6.pool.telefonica.de) (Ping timeout: 268 seconds)
2022-07-21 07:32:15 +0000ccntrq1ccntrq
2022-07-21 07:33:29 +0000phma_phma
2022-07-21 07:36:28 +0000 <qrpnxz> hasufell good link. Looks like PosixString became bytestring
2022-07-21 07:36:52 +0000 <qrpnxz> tho OsPath is SBS
2022-07-21 07:37:02 +0000 <qrpnxz> but you can convert
2022-07-21 07:37:24 +0000 <qrpnxz> idk the cost of that conversion tho
2022-07-21 07:38:44 +0000matthewmosior(~matthewmo@173.170.253.91) (Ping timeout: 255 seconds)
2022-07-21 07:39:13 +0000 <maerwald[m]> qrpnxz: PosixString is also ShortByteString
2022-07-21 07:40:25 +0000 <qrpnxz> mmm, where it says i would find System.Posix.PosixString, i just actually see System.Posix.ByteString, and in there and all other *.ByteString, the type is ByteString not SBS
2022-07-21 07:41:04 +0000 <qrpnxz> type synonym as RawFilePath
2022-07-21 07:43:11 +0000 <maerwald[m]> qrpnxz: what?
2022-07-21 07:43:56 +0000 <maerwald[m]> https://hackage.haskell.org/package/filepath-1.4.100.0/docs/System-OsPath-Types.html#t:PosixPath
2022-07-21 07:44:05 +0000 <qrpnxz> i don't know what to add to that lol
2022-07-21 07:44:14 +0000 <qrpnxz> oh
2022-07-21 07:44:28 +0000eggplantade(~Eggplanta@2600:1700:bef1:5e10:780e:1ceb:256a:60ab) (Remote host closed the connection)
2022-07-21 07:44:43 +0000fserucas_(~fserucas@246.76.114.89.rev.vodafone.pt)
2022-07-21 07:45:02 +0000 <qrpnxz> well it pointed out unix package, so that's where i go look lol. I mean it even says module System.Posix.PosixString
2022-07-21 07:45:32 +0000 <qrpnxz> which is also not exist in filepath
2022-07-21 07:46:27 +0000 <maerwald[m]> https://github.com/haskell/unix/blob/master/System/Posix/IO/PosixString.hsc#L76
2022-07-21 07:46:38 +0000 <maerwald[m]> Not sure where you see ByteString there
2022-07-21 07:47:12 +0000 <qrpnxz> right there https://hackage.haskell.org/package/unix
2022-07-21 07:47:53 +0000 <maerwald[m]> Aha
2022-07-21 07:47:57 +0000 <qrpnxz> also here in the latest tagged version https://github.com/haskell/unix/tree/v2.7.2.2/System/Posix
2022-07-21 07:48:08 +0000 <maerwald[m]> ByteString is a different API
2022-07-21 07:48:18 +0000 <qrpnxz> so i'm guessing this just hasn't happened yet
2022-07-21 07:48:27 +0000 <maerwald[m]> PosixPath API is not released yet
2022-07-21 07:48:43 +0000 <qrpnxz> ic
2022-07-21 07:48:47 +0000MajorBiscuit(~MajorBisc@wlan-145-94-167-213.wlan.tudelft.nl)
2022-07-21 07:48:56 +0000Lord_of_Life(~Lord@user/lord-of-life/x-2819915) (Excess Flood)
2022-07-21 07:49:20 +0000Lord_of_Life(~Lord@user/lord-of-life/x-2819915)
2022-07-21 07:51:07 +0000matthewmosior(~matthewmo@173.170.253.91)
2022-07-21 07:53:57 +0000 <maerwald[m]> qrpnxz: imo, String API should be removed and ByteString API be the default (except filepaths should use PosixPath)
2022-07-21 07:54:01 +0000 <maerwald[m]> It's insane to have 3 variants
2022-07-21 07:54:36 +0000 <qrpnxz> agree
2022-07-21 07:54:57 +0000 <qrpnxz> i mean, the string api is just wrong basically. That's the real reason to remove
2022-07-21 07:55:07 +0000 <qrpnxz> wrong or more limited than it should be
2022-07-21 07:55:09 +0000 <qrpnxz> and slower
2022-07-21 07:55:16 +0000 <maerwald[m]> Yeah, it works occasionally
2022-07-21 07:55:42 +0000machinedgod(~machinedg@d172-219-86-154.abhsia.telus.net)
2022-07-21 07:56:26 +0000 <maerwald[m]> I think that's why unix fell into disrepair. There are severeal projects trying to fix it because everyone got frustrated with it and forked
2022-07-21 07:57:50 +0000 <qrpnxz> lol sad
2022-07-21 07:57:53 +0000vglfr(~vglfr@88.155.27.105) (Ping timeout: 272 seconds)
2022-07-21 07:58:40 +0000 <maerwald[m]> https://hackage.haskell.org/package/unix-bytestring
2022-07-21 07:58:40 +0000 <maerwald[m]> https://hackage.haskell.org/package/rawfilepath
2022-07-21 07:58:40 +0000 <maerwald[m]> https://hackage.haskell.org/package/filepath-bytestring
2022-07-21 07:58:57 +0000 <maerwald[m]> Haskell may have the most fragmented ecosystem
2022-07-21 08:01:36 +0000 <qrpnxz> should we add |>, tho. We are totally fragmenting functional programming by not having |> 😁
2022-07-21 08:02:28 +0000 <[exa]> what's |> ? alternative to the right?
2022-07-21 08:03:13 +0000 <[exa]> (as in, |> :: Alternative f => f a -> f b -> f (Maybe b) or so)
2022-07-21 08:05:28 +0000 <maerwald[m]> I'm not going to participate in that dicussion lol
2022-07-21 08:08:03 +0000eggplantade(~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
2022-07-21 08:11:13 +0000dschrempf(~dominik@2a01-036d-0118-b0ba-4d3d-ba11-3857-5d63.pool6.digikabel.hu)
2022-07-21 08:12:18 +0000 <qrpnxz> [exa]: joking. Referring to the latest bikeshed in /r/haskell
2022-07-21 08:12:57 +0000eggplantade(~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 268 seconds)
2022-07-21 08:14:50 +0000merijn(~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 260 seconds)
2022-07-21 08:16:39 +0000mon_aaraj(~MonAaraj@user/mon-aaraj/x-4416475)
2022-07-21 08:17:04 +0000 <[exa]> oh my. :D okay
2022-07-21 08:21:06 +0000Tuplanolla(~Tuplanoll@91-159-69-97.elisa-laajakaista.fi)
2022-07-21 08:23:22 +0000christiansen(~christian@83-95-137-75-dynamic.dk.customer.tdc.net)
2022-07-21 08:30:17 +0000 <tomsmeding> [exa]: (|>) = (&)
2022-07-21 08:30:36 +0000 <tomsmeding> [1,2,3] |> map succ |> filter even |> print
2022-07-21 08:31:03 +0000 <tomsmeding> This is common style in Elm and probably other languages
2022-07-21 08:31:44 +0000 <tomsmeding> People proposed adding it to base in order to be more consistent (in notation) with other popular functional languages
2022-07-21 08:32:30 +0000 <naso> F#
2022-07-21 08:32:35 +0000 <tomsmeding> Understandably there was pushback
2022-07-21 08:33:14 +0000gurkenglas(~gurkengla@dslb-002-203-144-112.002.203.pools.vodafone-ip.de)
2022-07-21 08:34:29 +0000 <naso> i quite like this style, especially if there is editor support so if you put each item '|> x' on its own line you get automatic type annotations of each x
2022-07-21 08:35:55 +0000 <naso> (ionide for F# does this iirc)
2022-07-21 08:37:33 +0000 <naso> i didn't say that right.. the type is not of 'x' but of the value up to that point in the pipeline
2022-07-21 08:42:53 +0000 <maerwald[m]> tomsmeding: kowainik uses their own Relude anyway, I don't understand why they care about base
2022-07-21 08:42:55 +0000 <[exa]> this is what we get from not having -XPipeIsOperator
2022-07-21 08:43:43 +0000 <maerwald[m]> I think it's totally fine to expose beginners to an alternative prelude
2022-07-21 08:43:59 +0000 <maerwald[m]> base might be the worst
2022-07-21 08:45:02 +0000 <[exa]> the whole issue can be solved by literally typing "hey if you actually like |>, just put (|>)=(&) at the top of your source!!111" to like 3 or 4 tutorials
2022-07-21 08:48:10 +0000 <qrpnxz> after importing Data.Function because for some reason not everything in that module is already exported
2022-07-21 08:49:18 +0000bjobjo(~bjobjo@user/bjobjo) (Ping timeout: 264 seconds)
2022-07-21 08:49:30 +0000eggplantade(~Eggplanta@2600:1700:bef1:5e10:c19d:5429:582b:ef6e)
2022-07-21 08:50:38 +0000econo(uid147250@user/econo) (Quit: Connection closed for inactivity)
2022-07-21 08:50:41 +0000bjobjo(~bjobjo@user/bjobjo)
2022-07-21 08:51:00 +0000 <tomsmeding> TIL that's just (&), fix, on
2022-07-21 08:51:20 +0000 <maerwald[m]> tomsmeding: making proposals to base is the second best way to get burnout
2022-07-21 08:51:29 +0000alternateved(~user@staticline-31-183-144-54.toya.net.pl) (Remote host closed the connection)
2022-07-21 08:51:38 +0000 <tomsmeding> I'm not proposing anything lol
2022-07-21 08:52:00 +0000shriekingnoise(~shrieking@201.212.175.181) (Quit: Quit)
2022-07-21 08:52:21 +0000 <tomsmeding> maerwald[m]: https://gitlab.haskell.org/ghc/ghc/-/issues/13028#note_443241
2022-07-21 08:52:32 +0000ccntrq1(~Thunderbi@2a01:c22:88a1:0:ed28:7d3:5f9c:fcb9)
2022-07-21 08:52:37 +0000ccntrq(~Thunderbi@2a01:c22:88a1:0:ed28:7d3:5f9c:fcb9) (Read error: Connection reset by peer)
2022-07-21 08:52:37 +0000ccntrq1ccntrq
2022-07-21 08:53:08 +0000 <maerwald[m]> XD
2022-07-21 08:53:56 +0000eggplantade(~Eggplanta@2600:1700:bef1:5e10:c19d:5429:582b:ef6e) (Ping timeout: 244 seconds)
2022-07-21 08:56:05 +0000naso(~naso@193-116-244-197.tpgi.com.au) (Remote host closed the connection)
2022-07-21 08:56:42 +0000naso(~naso@193-116-244-197.tpgi.com.au)
2022-07-21 09:02:29 +0000naso(~naso@193-116-244-197.tpgi.com.au) (Ping timeout: 272 seconds)
2022-07-21 09:04:24 +0000matthewmosior(~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
2022-07-21 09:08:30 +0000adanwan_(~adanwan@gateway/tor-sasl/adanwan)
2022-07-21 09:08:32 +0000adanwan(~adanwan@gateway/tor-sasl/adanwan) (Ping timeout: 268 seconds)
2022-07-21 09:09:09 +0000ChaiTRex(~ChaiTRex@user/chaitrex) (Ping timeout: 268 seconds)
2022-07-21 09:09:09 +0000stiell(~stiell@gateway/tor-sasl/stiell) (Ping timeout: 268 seconds)
2022-07-21 09:09:24 +0000__monty__(~toonn@user/toonn)
2022-07-21 09:09:46 +0000jpds2(~jpds@gateway/tor-sasl/jpds) (Ping timeout: 268 seconds)
2022-07-21 09:10:41 +0000merijn(~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
2022-07-21 09:11:06 +0000ChaiTRex(~ChaiTRex@user/chaitrex)
2022-07-21 09:11:48 +0000jpds2(~jpds@gateway/tor-sasl/jpds)
2022-07-21 09:14:06 +0000CiaoSen(~Jura@p200300c9570ffb002a3a4dfffe84dbd5.dip0.t-ipconnect.de)
2022-07-21 09:17:05 +0000wolfshappen(~waff@irc.furworks.de) (Quit: later)
2022-07-21 09:17:23 +0000nate4(~nate@98.45.169.16)
2022-07-21 09:17:28 +0000pretty_dumm_guy(trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655)
2022-07-21 09:20:12 +0000stiell(~stiell@gateway/tor-sasl/stiell)
2022-07-21 09:22:01 +0000nate4(~nate@98.45.169.16) (Ping timeout: 268 seconds)
2022-07-21 09:24:57 +0000CiaoSen(~Jura@p200300c9570ffb002a3a4dfffe84dbd5.dip0.t-ipconnect.de) (Ping timeout: 276 seconds)
2022-07-21 09:25:17 +0000mon_aaraj(~MonAaraj@user/mon-aaraj/x-4416475) (Ping timeout: 272 seconds)
2022-07-21 09:26:39 +0000aliosablack(~chomwitt@2a02:587:dc00:5a00:57c7:596d:8744:7d7c)
2022-07-21 09:26:57 +0000mon_aaraj(~MonAaraj@user/mon-aaraj/x-4416475)
2022-07-21 09:29:02 +0000chomwitt(~chomwitt@2a02:587:dc00:5a00:57c7:596d:8744:7d7c) (Ping timeout: 255 seconds)
2022-07-21 09:30:06 +0000coot(~coot@213.134.190.95) (Ping timeout: 268 seconds)
2022-07-21 09:32:49 +0000matthewmosior(~matthewmo@173.170.253.91)
2022-07-21 09:33:51 +0000v0d1ch(~v0d1ch@cable-178-148-112-180.dynamic.sbb.rs)
2022-07-21 09:37:32 +0000matthewmosior(~matthewmo@173.170.253.91) (Ping timeout: 255 seconds)
2022-07-21 09:39:04 +0000coot(~coot@213.134.190.95)
2022-07-21 09:43:43 +0000naso(~naso@193-116-244-197.tpgi.com.au)
2022-07-21 09:47:59 +0000mon_aaraj(~MonAaraj@user/mon-aaraj/x-4416475) (Ping timeout: 268 seconds)
2022-07-21 09:54:42 +0000mon_aaraj(~MonAaraj@user/mon-aaraj/x-4416475)
2022-07-21 09:56:02 +0000stefan-_(~cri@42dots.de) (Ping timeout: 255 seconds)
2022-07-21 10:04:51 +0000alternateved(~user@staticline-31-183-144-54.toya.net.pl)
2022-07-21 10:06:22 +0000matthewmosior(~matthewmo@173.170.253.91)
2022-07-21 10:06:32 +0000chexum_(~quassel@gateway/tor-sasl/chexum) (Remote host closed the connection)
2022-07-21 10:10:25 +0000matthewmosior(~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
2022-07-21 10:12:47 +0000cfricke(~cfricke@user/cfricke) (Ping timeout: 272 seconds)
2022-07-21 10:13:37 +0000yin(~z@user/zero) (Ping timeout: 260 seconds)
2022-07-21 10:19:43 +0000use-value1(~Thunderbi@2a00:23c6:8a03:2f01:210c:cc71:1ed4:625f)
2022-07-21 10:20:38 +0000xff0x(~xff0x@125x103x176x34.ap125.ftth.ucom.ne.jp) (Ping timeout: 240 seconds)
2022-07-21 10:21:16 +0000use-value(~Thunderbi@2a00:23c6:8a03:2f01:8936:f28b:f369:f4da) (Ping timeout: 244 seconds)
2022-07-21 10:21:16 +0000use-value1use-value
2022-07-21 10:23:00 +0000cfricke(~cfricke@user/cfricke)
2022-07-21 10:23:41 +0000mon_aaraj(~MonAaraj@user/mon-aaraj/x-4416475) (Ping timeout: 268 seconds)
2022-07-21 10:25:09 +0000mon_aaraj(~MonAaraj@user/mon-aaraj/x-4416475)
2022-07-21 10:27:18 +0000mmhat(~mmh@p200300f1c705590fee086bfffe095315.dip0.t-ipconnect.de)
2022-07-21 10:40:48 +0000wootehfoot(~wootehfoo@user/wootehfoot)
2022-07-21 10:42:11 +0000jespada(~jespada@45.162.228.190) (Ping timeout: 268 seconds)
2022-07-21 10:43:07 +0000mncheck(~mncheck@193.224.205.254)
2022-07-21 10:45:57 +0000gurkenglas(~gurkengla@dslb-002-203-144-112.002.203.pools.vodafone-ip.de) (Ping timeout: 268 seconds)
2022-07-21 10:48:55 +0000stefan-_(~cri@42dots.de)
2022-07-21 10:49:29 +0000jespada(~jespada@177.67.80.187)
2022-07-21 10:51:03 +0000eggplantade(~Eggplanta@2600:1700:bef1:5e10:c19d:5429:582b:ef6e)
2022-07-21 10:52:14 +0000lys(sid194105@user/lys)
2022-07-21 10:53:30 +0000noteness(~noteness@user/noteness) (Remote host closed the connection)
2022-07-21 10:53:54 +0000noteness(~noteness@user/noteness)
2022-07-21 10:55:21 +0000eggplantade(~Eggplanta@2600:1700:bef1:5e10:c19d:5429:582b:ef6e) (Ping timeout: 244 seconds)
2022-07-21 10:55:56 +0000matthewmosior(~matthewmo@173.170.253.91)
2022-07-21 10:56:22 +0000mon_aaraj(~MonAaraj@user/mon-aaraj/x-4416475) (Ping timeout: 268 seconds)
2022-07-21 10:57:47 +0000mon_aaraj(~MonAaraj@user/mon-aaraj/x-4416475)
2022-07-21 10:58:27 +0000dschrempf(~dominik@2a01-036d-0118-b0ba-4d3d-ba11-3857-5d63.pool6.digikabel.hu) (Ping timeout: 244 seconds)
2022-07-21 11:11:05 +0000naso(~naso@193-116-244-197.tpgi.com.au) (Remote host closed the connection)
2022-07-21 11:12:06 +0000naso(~naso@193-116-244-197.tpgi.com.au)
2022-07-21 11:12:13 +0000ph88(~ph88@ip5f5af71f.dynamic.kabel-deutschland.de)
2022-07-21 11:14:20 +0000stiell(~stiell@gateway/tor-sasl/stiell) (Ping timeout: 268 seconds)
2022-07-21 11:17:51 +0000xff0x(~xff0x@b133147.ppp.asahi-net.or.jp)
2022-07-21 11:25:50 +0000stiell(~stiell@gateway/tor-sasl/stiell)
2022-07-21 11:30:50 +0000iteratee(~kyle@162.218.222.107) (Ping timeout: 240 seconds)
2022-07-21 11:31:49 +0000zer0bitz(~zer0bitz@2001:2003:f748:2000:816c:2bf2:33a9:87c2) (Read error: Connection reset by peer)
2022-07-21 11:32:08 +0000noteness(~noteness@user/noteness) (Remote host closed the connection)
2022-07-21 11:32:46 +0000lys(sid194105@user/lys) ()
2022-07-21 11:34:23 +0000noteness(~noteness@user/noteness)
2022-07-21 11:38:27 +0000lys(sid194105@id-194105.uxbridge.irccloud.com)
2022-07-21 11:39:13 +0000lys(sid194105@id-194105.uxbridge.irccloud.com) (Changing host)
2022-07-21 11:39:13 +0000lys(sid194105@user/lys)
2022-07-21 11:51:40 +0000jpds2(~jpds@gateway/tor-sasl/jpds) (Write error: Connection reset by peer)
2022-07-21 11:51:40 +0000stiell(~stiell@gateway/tor-sasl/stiell) (Remote host closed the connection)
2022-07-21 11:51:40 +0000gmg(~user@user/gehmehgeh) (Write error: Connection reset by peer)
2022-07-21 11:51:40 +0000califax(~califax@user/califx) (Write error: Connection reset by peer)
2022-07-21 11:51:40 +0000noteness(~noteness@user/noteness) (Read error: Connection reset by peer)
2022-07-21 11:52:01 +0000califax(~califax@user/califx)
2022-07-21 11:52:33 +0000stiell(~stiell@gateway/tor-sasl/stiell)
2022-07-21 11:52:34 +0000gmg(~user@user/gehmehgeh)
2022-07-21 11:52:41 +0000pavonia(~user@user/siracusa) (Quit: Bye!)
2022-07-21 11:52:56 +0000noteness(~noteness@user/noteness)
2022-07-21 11:55:00 +0000kino-shinkai(~kino-shin@user/kino-shinkai) (Quit: The Lounge - https://thelounge.chat)
2022-07-21 11:55:11 +0000jpds2(~jpds@gateway/tor-sasl/jpds)
2022-07-21 11:58:39 +0000mon_aaraj(~MonAaraj@user/mon-aaraj/x-4416475) (Ping timeout: 268 seconds)
2022-07-21 11:59:17 +0000matthewmosior(~matthewmo@173.170.253.91) (Ping timeout: 255 seconds)
2022-07-21 12:00:07 +0000mon_aaraj(~MonAaraj@user/mon-aaraj/x-4416475)
2022-07-21 12:00:42 +0000JoeBloggs7003141(~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
2022-07-21 12:01:02 +0000stiell(~stiell@gateway/tor-sasl/stiell) (Remote host closed the connection)
2022-07-21 12:01:09 +0000ccntrq(~Thunderbi@2a01:c22:88a1:0:ed28:7d3:5f9c:fcb9) (Remote host closed the connection)
2022-07-21 12:01:27 +0000ccntrq(~Thunderbi@2a01:c22:88a1:0:ed28:7d3:5f9c:fcb9)
2022-07-21 12:01:53 +0000dschrempf(~dominik@2a01-036d-0118-b0ba-3e27-23b2-a101-5a33.pool6.digikabel.hu)
2022-07-21 12:01:54 +0000stiell(~stiell@gateway/tor-sasl/stiell)
2022-07-21 12:03:03 +0000raehik(~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
2022-07-21 12:03:48 +0000use-value1(~Thunderbi@2a00:23c6:8a03:2f01:2198:9ff8:77a4:e162)
2022-07-21 12:05:04 +0000JoeBloggs7003141(~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Ping timeout: 252 seconds)
2022-07-21 12:05:30 +0000mon_aaraj(~MonAaraj@user/mon-aaraj/x-4416475) (Ping timeout: 276 seconds)
2022-07-21 12:05:31 +0000use-value(~Thunderbi@2a00:23c6:8a03:2f01:210c:cc71:1ed4:625f) (Ping timeout: 272 seconds)
2022-07-21 12:05:32 +0000use-value1use-value
2022-07-21 12:06:36 +0000mon_aaraj(~MonAaraj@user/mon-aaraj/x-4416475)
2022-07-21 12:08:35 +0000Kaipei(~Kaiepi@156.34.47.253)
2022-07-21 12:09:09 +0000lortabac(~lortabac@37.101.76.86)
2022-07-21 12:10:47 +0000Kaiepi(~Kaiepi@156.34.47.253) (Ping timeout: 244 seconds)
2022-07-21 12:11:26 +0000phma(phma@2001:5b0:210f:5108:fe8e:73c7:f87e:8126) (Read error: Connection reset by peer)
2022-07-21 12:12:14 +0000phma(~phma@host-67-44-208-91.hnremote.net)
2022-07-21 12:12:57 +0000Codex(~terop@91-153-238-204.elisa-laajakaista.fi) (WeeChat 3.5)
2022-07-21 12:15:44 +0000xsarnik(xsarnik@lounge.fi.muni.cz) (Quit: Ping timeout (120 seconds))
2022-07-21 12:18:11 +0000mon_aaraj(~MonAaraj@user/mon-aaraj/x-4416475) (Ping timeout: 272 seconds)
2022-07-21 12:18:16 +0000frost(~frost@user/frost)
2022-07-21 12:18:21 +0000xsarnik(xsarnik@lounge.fi.muni.cz)
2022-07-21 12:19:00 +0000pretty_dumm_guy(trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Ping timeout: 268 seconds)
2022-07-21 12:19:48 +0000mc47(~mc47@xmonad/TheMC47)
2022-07-21 12:19:57 +0000pretty_dumm_guy(trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655)
2022-07-21 12:19:58 +0000dschrempf(~dominik@2a01-036d-0118-b0ba-3e27-23b2-a101-5a33.pool6.digikabel.hu) (Ping timeout: 240 seconds)
2022-07-21 12:19:58 +0000mon_aaraj(~MonAaraj@user/mon-aaraj/x-4416475)
2022-07-21 12:21:52 +0000winny(~weechat@user/winny)
2022-07-21 12:22:47 +0000jpds2(~jpds@gateway/tor-sasl/jpds) (Ping timeout: 268 seconds)
2022-07-21 12:24:19 +0000jpds2(~jpds@gateway/tor-sasl/jpds)
2022-07-21 12:29:10 +0000matthewmosior(~matthewmo@173.170.253.91)
2022-07-21 12:32:05 +0000MajorBiscuit(~MajorBisc@wlan-145-94-167-213.wlan.tudelft.nl) (Quit: WeeChat 3.5)
2022-07-21 12:32:48 +0000MajorBiscuit(~MajorBisc@wlan-145-94-167-213.wlan.tudelft.nl)
2022-07-21 12:38:18 +0000frost(~frost@user/frost) (Quit: Client closed)
2022-07-21 12:41:07 +0000ccntrq1(~Thunderbi@exit-1.office.han.de.mhd.medondo.com)
2022-07-21 12:42:26 +0000mbuf(~Shakthi@122.165.55.71) (Ping timeout: 268 seconds)
2022-07-21 12:42:33 +0000ccntrq(~Thunderbi@2a01:c22:88a1:0:ed28:7d3:5f9c:fcb9) (Ping timeout: 276 seconds)
2022-07-21 12:42:33 +0000ccntrq1ccntrq
2022-07-21 12:43:51 +0000mikoto-chan(~mikoto-ch@85-76-41-116-nat.elisa-mobile.fi)
2022-07-21 12:46:12 +0000jespada(~jespada@177.67.80.187) (Ping timeout: 268 seconds)
2022-07-21 12:50:53 +0000dcoutts(~duncan@host86-167-206-10.range86-167.btcentralplus.com)
2022-07-21 12:51:05 +0000jespada(~jespada@200.123.141.150)
2022-07-21 12:52:45 +0000eggplantade(~Eggplanta@2600:1700:bef1:5e10:c19d:5429:582b:ef6e)
2022-07-21 12:54:42 +0000jpds2jpds
2022-07-21 12:57:10 +0000eggplantade(~Eggplanta@2600:1700:bef1:5e10:c19d:5429:582b:ef6e) (Ping timeout: 260 seconds)
2022-07-21 12:57:53 +0000mbuf(~Shakthi@122.165.55.71)
2022-07-21 12:58:57 +0000jespada(~jespada@200.123.141.150) (Quit: My MacBook has gone to sleep. ZZZzzz…)
2022-07-21 13:03:07 +0000naso(~naso@193-116-244-197.tpgi.com.au) (Remote host closed the connection)
2022-07-21 13:04:41 +0000ccntrq(~Thunderbi@exit-1.office.han.de.mhd.medondo.com) (Remote host closed the connection)
2022-07-21 13:05:18 +0000ccntrq(~Thunderbi@2a01:c23:8db8:ab00:ea78:24c8:77af:b28c)
2022-07-21 13:06:01 +0000toluene7(~toluene@user/toulene) (Read error: Connection reset by peer)
2022-07-21 13:06:38 +0000toluene(~toluene@user/toulene)
2022-07-21 13:08:50 +0000ccntrq1(~Thunderbi@2a01:c22:90b9:d900:3ff2:fbed:434e:ee51)
2022-07-21 13:08:54 +0000albet70(~xxx@2400:8902::f03c:92ff:fe60:98d8) (Remote host closed the connection)
2022-07-21 13:09:47 +0000ccntrq(~Thunderbi@2a01:c23:8db8:ab00:ea78:24c8:77af:b28c) (Ping timeout: 260 seconds)
2022-07-21 13:09:47 +0000ccntrq1ccntrq
2022-07-21 13:10:50 +0000aliosablack(~chomwitt@2a02:587:dc00:5a00:57c7:596d:8744:7d7c) (Ping timeout: 240 seconds)
2022-07-21 13:11:33 +0000wolfshappen(~waff@irc.furworks.de)
2022-07-21 13:13:53 +0000acidjnk_new(~acidjnk@p5dd87aad.dip0.t-ipconnect.de) (Ping timeout: 268 seconds)
2022-07-21 13:15:01 +0000albet70(~xxx@2400:8902::f03c:92ff:fe60:98d8)
2022-07-21 13:17:50 +0000califax(~califax@user/califx) (Remote host closed the connection)
2022-07-21 13:18:10 +0000mon_aaraj(~MonAaraj@user/mon-aaraj/x-4416475) (Ping timeout: 240 seconds)
2022-07-21 13:18:23 +0000JoeBloggs7003141(~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
2022-07-21 13:18:25 +0000ezzieyguywuf(~Unknown@user/ezzieyguywuf)
2022-07-21 13:18:29 +0000nate4(~nate@98.45.169.16)
2022-07-21 13:18:59 +0000califax(~califax@user/califx)
2022-07-21 13:20:27 +0000mon_aaraj(~MonAaraj@user/mon-aaraj/x-4416475)
2022-07-21 13:21:26 +0000naso(~naso@193-116-244-197.tpgi.com.au)
2022-07-21 13:22:51 +0000FinnElija(~finn_elij@user/finn-elija/x-0085643)
2022-07-21 13:24:09 +0000nate4(~nate@98.45.169.16) (Ping timeout: 276 seconds)
2022-07-21 13:26:12 +0000chexum(~quassel@gateway/tor-sasl/chexum)
2022-07-21 13:26:41 +0000azimut(~azimut@gateway/tor-sasl/azimut)
2022-07-21 13:30:39 +0000mon_aaraj(~MonAaraj@user/mon-aaraj/x-4416475) (Ping timeout: 276 seconds)
2022-07-21 13:31:49 +0000mon_aaraj(~MonAaraj@user/mon-aaraj/x-4416475)
2022-07-21 13:32:03 +0000__monty__(~toonn@user/toonn) (Quit: leaving)
2022-07-21 13:32:42 +0000matthewmosior(~matthewmo@173.170.253.91) (Remote host closed the connection)
2022-07-21 13:32:48 +0000matthewmosior(~matthewmo@173.170.253.91)
2022-07-21 13:33:42 +0000jmdaemon(~jmdaemon@user/jmdaemon) (Ping timeout: 264 seconds)
2022-07-21 13:40:35 +0000leeb(~leeb@tk2-243-31079.vs.sakura.ne.jp)
2022-07-21 13:43:25 +0000ccntrq1(~Thunderbi@2a01:c22:91b8:db00:c579:b00b:3062:cbc8)
2022-07-21 13:44:12 +0000ccntrq(~Thunderbi@2a01:c22:90b9:d900:3ff2:fbed:434e:ee51) (Ping timeout: 260 seconds)
2022-07-21 13:44:12 +0000ccntrq1ccntrq
2022-07-21 13:46:23 +0000sammelweis_(~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) (Ping timeout: 244 seconds)
2022-07-21 13:58:21 +0000mikoto-chan(~mikoto-ch@85-76-41-116-nat.elisa-mobile.fi) (Ping timeout: 268 seconds)
2022-07-21 14:06:43 +0000FinnElija(~finn_elij@user/finn-elija/x-0085643) (Remote host closed the connection)
2022-07-21 14:06:43 +0000califax(~califax@user/califx) (Remote host closed the connection)
2022-07-21 14:06:43 +0000stiell(~stiell@gateway/tor-sasl/stiell) (Remote host closed the connection)
2022-07-21 14:07:09 +0000califax(~califax@user/califx)
2022-07-21 14:07:14 +0000stiell(~stiell@gateway/tor-sasl/stiell)
2022-07-21 14:07:20 +0000FinnElija(~finn_elij@user/finn-elija/x-0085643)
2022-07-21 14:08:02 +0000acidjnk_new(~acidjnk@p200300d6e70586758c16d92daa533f1a.dip0.t-ipconnect.de)
2022-07-21 14:09:24 +0000benin0(~benin@183.82.24.82)
2022-07-21 14:10:15 +0000biberu\(~biberu@user/biberu)
2022-07-21 14:10:40 +0000biberu(~biberu@user/biberu) (Ping timeout: 260 seconds)
2022-07-21 14:11:52 +0000biberu\biberu
2022-07-21 14:13:14 +0000v0d1ch(~v0d1ch@cable-178-148-112-180.dynamic.sbb.rs) (Quit: Client closed)
2022-07-21 14:18:31 +0000dschrempf(~dominik@2a01-036d-0118-b0ba-f6ba-82af-30e2-2b10.pool6.digikabel.hu)
2022-07-21 14:22:46 +0000cfricke(~cfricke@user/cfricke) (Ping timeout: 272 seconds)
2022-07-21 14:25:06 +0000benin00(~benin@183.82.24.116)
2022-07-21 14:27:02 +0000renzhi(~xp@2607:fa49:6500:b100::c32e)
2022-07-21 14:27:05 +0000eggplantade(~Eggplanta@2600:1700:bef1:5e10:c19d:5429:582b:ef6e)
2022-07-21 14:27:16 +0000benin0(~benin@183.82.24.82) (Ping timeout: 268 seconds)
2022-07-21 14:27:17 +0000benin00benin0
2022-07-21 14:30:22 +0000JoeBloggs7003141(~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
2022-07-21 14:30:40 +0000JoeBloggs7003141(~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
2022-07-21 14:32:36 +0000tromp(~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
2022-07-21 14:36:28 +0000tzh(~tzh@c-24-21-73-154.hsd1.wa.comcast.net)
2022-07-21 14:37:57 +0000mc47(~mc47@xmonad/TheMC47) (Remote host closed the connection)
2022-07-21 14:40:30 +0000JoeBloggs7003141(~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
2022-07-21 14:40:47 +0000JoeBloggs7003141(~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
2022-07-21 14:47:13 +0000califax_(~califax@user/califx)
2022-07-21 14:47:39 +0000coot(~coot@213.134.190.95) (Ping timeout: 272 seconds)
2022-07-21 14:48:04 +0000califax(~califax@user/califx) (Remote host closed the connection)
2022-07-21 14:48:24 +0000califax_califax
2022-07-21 14:49:22 +0000eggplantade(~Eggplanta@2600:1700:bef1:5e10:c19d:5429:582b:ef6e) (Remote host closed the connection)
2022-07-21 14:51:19 +0000mon_aaraj(~MonAaraj@user/mon-aaraj/x-4416475) (Ping timeout: 268 seconds)
2022-07-21 14:53:13 +0000mon_aaraj(~MonAaraj@user/mon-aaraj/x-4416475)
2022-07-21 14:59:55 +0000n8chan(~nate@98.45.169.16)
2022-07-21 15:01:36 +0000lortabac(~lortabac@37.101.76.86) (Quit: WeeChat 2.8)
2022-07-21 15:01:55 +0000neightchan(~nate@98.45.169.16) (Ping timeout: 260 seconds)
2022-07-21 15:02:10 +0000shriekingnoise(~shrieking@201.212.175.181)
2022-07-21 15:03:13 +0000coot(~coot@213.134.190.95)
2022-07-21 15:03:14 +0000matthewmosior(~matthewmo@173.170.253.91) (Remote host closed the connection)
2022-07-21 15:05:40 +0000JoeBloggs7003141(~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
2022-07-21 15:05:57 +0000JoeBloggs7003141(~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
2022-07-21 15:08:24 +0000matthewmosior(~matthewmo@173.170.253.91)
2022-07-21 15:09:52 +0000matthewmosior(~matthewmo@173.170.253.91) (Remote host closed the connection)
2022-07-21 15:10:00 +0000matthewmosior(~matthewmo@173.170.253.91)
2022-07-21 15:12:33 +0000Midjak(~Midjak@82.66.147.146)
2022-07-21 15:12:42 +0000Hash(~Hash@tunnel686959-pt.tunnel.tserv15.lax1.ipv6.he.net) (Quit: ZNC - https://znc.in)
2022-07-21 15:15:24 +0000mastarija(~mastarija@2a05:4f46:e02:8c00:143f:9462:5d9b:e82e)
2022-07-21 15:16:13 +0000 <mastarija> Can anyone help me understand why I get this overlapping instances error for a simple generic servant server with authentication?
2022-07-21 15:16:34 +0000 <mastarija> Error : https://pastebin.com/r5bY0day
2022-07-21 15:16:48 +0000Hash(~Hash@tunnel686959-pt.tunnel.tserv15.lax1.ipv6.he.net)
2022-07-21 15:16:54 +0000 <mastarija> Code : https://pastebin.com/GvXbmyv5
2022-07-21 15:17:07 +0000Midjak(~Midjak@82.66.147.146) (Quit: Leaving)
2022-07-21 15:18:11 +0000 <mastarija> I'm not sure if I'm using the `genericServeTWithContext` correctly, but from what I understand I should be able to use a custom monad and add context with JWT settings
2022-07-21 15:18:33 +0000Midjak(~Midjak@82.66.147.146)
2022-07-21 15:18:43 +0000 <merijn> mastarija: Not an answer, but consider using paste.tomsmeding.com to avoid the atrocious syntax highlighting :p
2022-07-21 15:19:12 +0000 <geekosaur> and to group the error with the code instead of having them be separate
2022-07-21 15:19:12 +0000 <mastarija> Ah.. I will :D
2022-07-21 15:19:49 +0000 <mastarija> geekosaur, wouldn't that create attrocious syntax hilighting in "console output" code?
2022-07-21 15:21:13 +0000 <geekosaur> it doesn't try to highlight everything, andin particular doesn't try to use background colors as part of highlighting (I use a plugin that redirects pastebn urls to the raw equivalents to avoid that but then I also lose line numbers and such
2022-07-21 15:21:15 +0000 <geekosaur> )
2022-07-21 15:21:47 +0000 <mastarija> https://paste.tomsmeding.com/pKpMf0ms
2022-07-21 15:21:50 +0000dschrempf(~dominik@2a01-036d-0118-b0ba-f6ba-82af-30e2-2b10.pool6.digikabel.hu) (Ping timeout: 255 seconds)
2022-07-21 15:21:53 +0000 <mastarija> There we go :D
2022-07-21 15:22:03 +0000 <mastarija> My problems. All in one place.
2022-07-21 15:22:03 +0000 <geekosaur> iirc the worse paste.tomsmeding.com does is highlight uppercase first words in console output mode, which is bearable
2022-07-21 15:22:38 +0000ccntrq1(~Thunderbi@dynamic-077-010-100-182.77.10.pool.telefonica.de)
2022-07-21 15:24:06 +0000ccntrq(~Thunderbi@2a01:c22:91b8:db00:c579:b00b:3062:cbc8) (Ping timeout: 264 seconds)
2022-07-21 15:24:06 +0000ccntrq1ccntrq
2022-07-21 15:24:06 +0000phma(~phma@host-67-44-208-91.hnremote.net) (Read error: Connection reset by peer)
2022-07-21 15:25:31 +0000phma(phma@2001:5b0:2172:d858:ec5c:8ab7:6325:1bc7)
2022-07-21 15:25:37 +0000 <geekosaur> hm, I don't know Servant well enough, but this actually looks somewhat broken because of e.g. the "depends on the instantiation of `'" (why is it empty, ghc?)
2022-07-21 15:25:52 +0000 <mastarija> Yes. I was wondering about that.
2022-07-21 15:26:26 +0000 <geekosaur> also I don't like how the first matching instance has a TypeError constraint, suggesting Servant doesn't like something about it
2022-07-21 15:29:10 +0000 <geekosaur> I do wonder if you need to be more specific about the `ctx`, since that looks like what it's choking on
2022-07-21 15:29:23 +0000 <mastarija> hm.. well, it has a type
2022-07-21 15:29:29 +0000 <mastarija> Don't know what else to give him
2022-07-21 15:29:33 +0000ccntrq1(~Thunderbi@2a01:c22:8db9:ee00:c376:60cb:62d2:aab9)
2022-07-21 15:29:45 +0000 <geekosaur> but is that type specific enough?
2022-07-21 15:31:24 +0000ccntrq(~Thunderbi@dynamic-077-010-100-182.77.10.pool.telefonica.de) (Ping timeout: 268 seconds)
2022-07-21 15:31:24 +0000ccntrq1ccntrq
2022-07-21 15:31:30 +0000 <mastarija> I'm looking at auth HasServer instance right now
2022-07-21 15:31:32 +0000vglfr(~vglfr@coupling.penchant.volia.net)
2022-07-21 15:31:42 +0000 <geekosaur> hm, there's a #haskell-servant but it's pretty small. still, might be worth asking there if nobody here can help
2022-07-21 15:31:43 +0000 <mastarija> geekosaur, it seems like I need to add CookieSettings as well
2022-07-21 15:31:57 +0000 <mastarija> But I already had that...
2022-07-21 15:32:01 +0000 <mastarija> I'll try again :D
2022-07-21 15:32:24 +0000adanwan_(~adanwan@gateway/tor-sasl/adanwan) (Remote host closed the connection)
2022-07-21 15:32:26 +0000califax(~califax@user/califx) (Remote host closed the connection)
2022-07-21 15:32:48 +0000adanwan(~adanwan@gateway/tor-sasl/adanwan)
2022-07-21 15:32:53 +0000califax(~califax@user/califx)
2022-07-21 15:34:53 +0000Ram-Z(~Ram-Z@li1814-254.members.linode.com) (Ping timeout: 244 seconds)
2022-07-21 15:37:30 +0000machinedgod(~machinedg@d172-219-86-154.abhsia.telus.net) (Ping timeout: 272 seconds)
2022-07-21 15:37:44 +0000matthewmosior(~matthewmo@173.170.253.91) (Remote host closed the connection)
2022-07-21 15:39:12 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-07-21 15:44:08 +0000mikoto-chan(~mikoto-ch@85-76-20-85-nat.elisa-mobile.fi)
2022-07-21 15:46:43 +0000dcoutts_(~duncan@host86-167-206-10.range86-167.btcentralplus.com) (Remote host closed the connection)
2022-07-21 15:46:50 +0000vglfr(~vglfr@coupling.penchant.volia.net) (Read error: Connection reset by peer)
2022-07-21 15:46:53 +0000dcoutts_(~duncan@host86-167-206-10.range86-167.btcentralplus.com)
2022-07-21 15:46:58 +0000matthewmosior(~matthewmo@173.170.253.91)
2022-07-21 15:47:01 +0000vglfr(~vglfr@coupling.penchant.volia.net)
2022-07-21 15:47:08 +0000dcoutts__(~duncan@host86-167-206-10.range86-167.btcentralplus.com)
2022-07-21 15:49:52 +0000eggplantade(~Eggplanta@2600:1700:bef1:5e10:c19d:5429:582b:ef6e)
2022-07-21 15:50:31 +0000dcoutts(~duncan@host86-167-206-10.range86-167.btcentralplus.com) (Ping timeout: 268 seconds)
2022-07-21 15:51:24 +0000matthewmosior(~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
2022-07-21 15:51:33 +0000hosk1(~hosk@90-231-13-185-no3430.tbcn.telia.com)
2022-07-21 15:54:47 +0000eggplantade(~Eggplanta@2600:1700:bef1:5e10:c19d:5429:582b:ef6e) (Ping timeout: 272 seconds)
2022-07-21 15:55:05 +0000jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
2022-07-21 15:56:04 +0000mon_aaraj(~MonAaraj@user/mon-aaraj/x-4416475) (Ping timeout: 268 seconds)
2022-07-21 15:57:44 +0000mon_aaraj(~MonAaraj@user/mon-aaraj/x-4416475)
2022-07-21 16:03:29 +0000JoeBloggs7003141(~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
2022-07-21 16:03:47 +0000JoeBloggs7003141(~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
2022-07-21 16:04:15 +0000tromp(~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
2022-07-21 16:04:56 +0000matthewmosior(~matthewmo@173.170.253.91)
2022-07-21 16:06:44 +0000hays(rootvegeta@fsf/member/hays) (Remote host closed the connection)
2022-07-21 16:06:55 +0000machinedgod(~machinedg@d172-219-86-154.abhsia.telus.net)
2022-07-21 16:07:02 +0000aliosablack(~chomwitt@2a02:587:dc00:5a00:73ad:509c:ee84:62f2)
2022-07-21 16:07:14 +0000mbuf(~Shakthi@122.165.55.71) (Quit: Leaving)
2022-07-21 16:08:29 +0000califax(~califax@user/califx) (Ping timeout: 268 seconds)
2022-07-21 16:08:29 +0000adanwan(~adanwan@gateway/tor-sasl/adanwan) (Ping timeout: 268 seconds)
2022-07-21 16:09:05 +0000christiansen(~christian@83-95-137-75-dynamic.dk.customer.tdc.net) (Ping timeout: 260 seconds)
2022-07-21 16:09:19 +0000califax(~califax@user/califx)
2022-07-21 16:09:27 +0000adanwan(~adanwan@gateway/tor-sasl/adanwan)
2022-07-21 16:10:22 +0000johnw(~johnw@76-234-69-149.lightspeed.frokca.sbcglobal.net) (Quit: ZNC - http://znc.in)
2022-07-21 16:12:56 +0000johnw(~johnw@2600:1700:cf00:db0:dc35:4fc6:f087:ce5b)
2022-07-21 16:14:09 +0000mikoto-chan(~mikoto-ch@85-76-20-85-nat.elisa-mobile.fi) (Ping timeout: 244 seconds)
2022-07-21 16:17:15 +0000adanwan(~adanwan@gateway/tor-sasl/adanwan) (Remote host closed the connection)
2022-07-21 16:17:30 +0000adanwan(~adanwan@gateway/tor-sasl/adanwan)
2022-07-21 16:17:41 +0000chele(~chele@user/chele) (Remote host closed the connection)
2022-07-21 16:20:45 +0000mon_aaraj(~MonAaraj@user/mon-aaraj/x-4416475) (Ping timeout: 272 seconds)
2022-07-21 16:20:55 +0000segfaultfizzbuzz(~segfaultf@157-131-253-58.fiber.dynamic.sonic.net)
2022-07-21 16:22:06 +0000mon_aaraj(~MonAaraj@user/mon-aaraj/x-4416475)
2022-07-21 16:25:18 +0000benin0(~benin@183.82.24.116) (Quit: The Lounge - https://thelounge.chat)
2022-07-21 16:29:26 +0000MajorBiscuit(~MajorBisc@wlan-145-94-167-213.wlan.tudelft.nl) (Ping timeout: 272 seconds)
2022-07-21 16:30:21 +0000coot(~coot@213.134.190.95) (Quit: coot)
2022-07-21 16:32:04 +0000ccntrq(~Thunderbi@2a01:c22:8db9:ee00:c376:60cb:62d2:aab9) (Remote host closed the connection)
2022-07-21 16:32:13 +0000econo(uid147250@user/econo)
2022-07-21 16:32:20 +0000slack1256(~slack1256@186.11.17.101)
2022-07-21 16:33:23 +0000naso(~naso@193-116-244-197.tpgi.com.au) ()
2022-07-21 16:36:44 +0000mikoto-chan(~mikoto-ch@85-76-20-85-nat.elisa-mobile.fi)
2022-07-21 16:38:58 +0000JoeBloggs7003141(~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
2022-07-21 16:39:15 +0000JoeBloggs7003141(~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
2022-07-21 16:43:10 +0000cods(~fred@82-65-232-44.subs.proxad.net) (Ping timeout: 240 seconds)
2022-07-21 16:44:02 +0000dcoutts(~duncan@host86-150-41-225.range86-150.btcentralplus.com)
2022-07-21 16:45:57 +0000causal(~user@2001:470:ea0f:3:329c:23ff:fe3f:1e0e) (Quit: WeeChat 3.5)
2022-07-21 16:47:15 +0000dcoutts_(~duncan@host86-167-206-10.range86-167.btcentralplus.com) (Ping timeout: 268 seconds)
2022-07-21 16:47:33 +0000dcoutts_(~duncan@host86-150-41-225.range86-150.btcentralplus.com)
2022-07-21 16:48:15 +0000dcoutts__(~duncan@host86-167-206-10.range86-167.btcentralplus.com) (Ping timeout: 276 seconds)
2022-07-21 16:52:14 +0000dcoutts__(~duncan@host81-156-211-142.range81-156.btcentralplus.com)
2022-07-21 16:54:16 +0000Ram-Z(~Ram-Z@li1814-254.members.linode.com)
2022-07-21 16:54:39 +0000dcoutts_(~duncan@host86-150-41-225.range86-150.btcentralplus.com) (Ping timeout: 268 seconds)
2022-07-21 16:54:46 +0000dcoutts(~duncan@host86-150-41-225.range86-150.btcentralplus.com) (Ping timeout: 272 seconds)
2022-07-21 16:55:39 +0000dcoutts(~duncan@host81-156-211-142.range81-156.btcentralplus.com)
2022-07-21 16:57:17 +0000dcoutts_(~duncan@host81-156-211-142.range81-156.btcentralplus.com)
2022-07-21 16:59:09 +0000 <mastarija> Turns out there was a bug in servant-auth-server where they didn't teach Auth how to go over NamedRoutes
2022-07-21 16:59:31 +0000 <mastarija> I just wrote orphan instances until that's fixed in the next release
2022-07-21 16:59:58 +0000 <mastarija> But the error was soooo cryptic :D
2022-07-21 17:00:12 +0000dcoutts__(~duncan@host81-156-211-142.range81-156.btcentralplus.com) (Ping timeout: 268 seconds)
2022-07-21 17:00:36 +0000dcoutts(~duncan@host81-156-211-142.range81-156.btcentralplus.com) (Ping timeout: 276 seconds)
2022-07-21 17:01:12 +0000dcoutts(~duncan@host81-156-211-142.range81-156.btcentralplus.com)
2022-07-21 17:01:15 +0000 <geekosaur> that's the big downside of doing type level stuff
2022-07-21 17:01:29 +0000 <geekosaur> the error messages are impenetrable
2022-07-21 17:02:54 +0000dcoutts__(~duncan@host86-153-135-32.range86-153.btcentralplus.com)
2022-07-21 17:05:45 +0000dcoutts_(~duncan@host81-156-211-142.range81-156.btcentralplus.com) (Ping timeout: 268 seconds)
2022-07-21 17:06:00 +0000dcoutts__(~duncan@host86-153-135-32.range86-153.btcentralplus.com) (Remote host closed the connection)
2022-07-21 17:06:01 +0000dcoutts_(~duncan@host86-153-135-32.range86-153.btcentralplus.com)
2022-07-21 17:06:22 +0000dcoutts__(~duncan@host86-153-135-32.range86-153.btcentralplus.com)
2022-07-21 17:06:27 +0000dcoutts(~duncan@host81-156-211-142.range81-156.btcentralplus.com) (Ping timeout: 276 seconds)
2022-07-21 17:06:39 +0000mikoto-chan(~mikoto-ch@85-76-20-85-nat.elisa-mobile.fi) (Read error: Connection reset by peer)
2022-07-21 17:06:58 +0000mastarija(~mastarija@2a05:4f46:e02:8c00:143f:9462:5d9b:e82e) (Quit: Leaving)
2022-07-21 17:09:27 +0000segfaultfizzbuzz(~segfaultf@157-131-253-58.fiber.dynamic.sonic.net) (Ping timeout: 268 seconds)
2022-07-21 17:10:08 +0000machinedgod(~machinedg@d172-219-86-154.abhsia.telus.net) (Ping timeout: 268 seconds)
2022-07-21 17:10:55 +0000matthewmosior(~matthewmo@173.170.253.91) (Remote host closed the connection)
2022-07-21 17:11:01 +0000matthewmosior(~matthewmo@173.170.253.91)
2022-07-21 17:12:02 +0000mikoto-chan(~mikoto-ch@85-76-20-85-nat.elisa-mobile.fi)
2022-07-21 17:13:27 +0000segfaultfizzbuzz(~segfaultf@157-131-253-58.fiber.dynamic.sonic.net)
2022-07-21 17:13:46 +0000mon_aaraj(~MonAaraj@user/mon-aaraj/x-4416475) (Ping timeout: 268 seconds)
2022-07-21 17:15:29 +0000mon_aaraj(~MonAaraj@user/mon-aaraj/x-4416475)
2022-07-21 17:16:33 +0000jao(~jao@92.233.85.247)
2022-07-21 17:16:56 +0000merijn(~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 272 seconds)
2022-07-21 17:18:14 +0000adanwan(~adanwan@gateway/tor-sasl/adanwan) (Remote host closed the connection)
2022-07-21 17:18:40 +0000adanwan(~adanwan@gateway/tor-sasl/adanwan)
2022-07-21 17:20:02 +0000nate4(~nate@98.45.169.16)
2022-07-21 17:21:14 +0000aliosablack(~chomwitt@2a02:587:dc00:5a00:73ad:509c:ee84:62f2) (Ping timeout: 268 seconds)
2022-07-21 17:22:21 +0000segfaultfizzbuzz(~segfaultf@157-131-253-58.fiber.dynamic.sonic.net) (Ping timeout: 244 seconds)
2022-07-21 17:23:30 +0000mikoto-chan(~mikoto-ch@85-76-20-85-nat.elisa-mobile.fi) (Ping timeout: 264 seconds)
2022-07-21 17:25:08 +0000nate4(~nate@98.45.169.16) (Ping timeout: 255 seconds)
2022-07-21 17:30:05 +0000PiDelport(uid25146@id-25146.lymington.irccloud.com) (Quit: Connection closed for inactivity)
2022-07-21 17:31:16 +0000coot(~coot@213.134.190.95)
2022-07-21 17:38:41 +0000[itchyjunk](~itchyjunk@user/itchyjunk/x-7353470)
2022-07-21 17:42:29 +0000JoeBloggs7003141(~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
2022-07-21 17:42:46 +0000JoeBloggs7003141(~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
2022-07-21 17:43:33 +0000merijn(~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
2022-07-21 17:43:50 +0000cods(~fred@82-65-232-44.subs.proxad.net)
2022-07-21 17:47:44 +0000JoeBloggs7003141(~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
2022-07-21 17:48:01 +0000JoeBloggs7003141(~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
2022-07-21 17:50:03 +0000segfaultfizzbuzz(~segfaultf@157-131-253-58.fiber.dynamic.sonic.net)
2022-07-21 17:52:00 +0000eggplantade(~Eggplanta@2600:1700:bef1:5e10:c19d:5429:582b:ef6e)
2022-07-21 17:55:48 +0000JoeBloggs7003141(~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
2022-07-21 17:56:05 +0000JoeBloggs7003141(~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
2022-07-21 17:57:00 +0000eggplantade(~Eggplanta@2600:1700:bef1:5e10:c19d:5429:582b:ef6e) (Ping timeout: 268 seconds)
2022-07-21 18:02:30 +0000mon_aaraj(~MonAaraj@user/mon-aaraj/x-4416475) (Ping timeout: 264 seconds)
2022-07-21 18:03:55 +0000mon_aaraj(~MonAaraj@user/mon-aaraj/x-4416475)
2022-07-21 18:06:52 +0000indigo_ibs(~user@95.146.83.181)
2022-07-21 18:11:12 +0000gmg(~user@user/gehmehgeh) (Ping timeout: 268 seconds)
2022-07-21 18:12:26 +0000FinnElija(~finn_elij@user/finn-elija/x-0085643) (Remote host closed the connection)
2022-07-21 18:12:32 +0000mon_aaraj(~MonAaraj@user/mon-aaraj/x-4416475) (Ping timeout: 260 seconds)
2022-07-21 18:13:07 +0000FinnElija(~finn_elij@user/finn-elija/x-0085643)
2022-07-21 18:13:08 +0000gmg(~user@user/gehmehgeh)
2022-07-21 18:14:14 +0000mon_aaraj(~MonAaraj@user/mon-aaraj/x-4416475)
2022-07-21 18:14:32 +0000indigo_i`(~user@95.146.83.181)
2022-07-21 18:14:46 +0000 <qrpnxz> omg, why is pastebin haskell highlighting so bad?!
2022-07-21 18:16:56 +0000indigo_ibs(~user@95.146.83.181) (Quit: ERC 5.4.1 (IRC client for GNU Emacs 28.1))
2022-07-21 18:17:22 +0000gdown(~gavin@h69-11-149-231.kndrid.broadband.dynamic.tds.net)
2022-07-21 18:17:23 +0000 <yushyin> maybe try the paste service that is mentioned in the topic
2022-07-21 18:18:02 +0000indigo_i`(~user@95.146.83.181) ()
2022-07-21 18:18:22 +0000merijn(~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 272 seconds)
2022-07-21 18:18:26 +0000indigo_i`(~user@95.146.83.181)
2022-07-21 18:21:27 +0000tromp(~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
2022-07-21 18:25:20 +0000 <qrpnxz> yes, i'm commenting on earlier convo
2022-07-21 18:25:40 +0000 <qrpnxz> i thought it would be subtly bad, and i click and it's just absolutely horrendous
2022-07-21 18:26:10 +0000hosk1goober
2022-07-21 18:26:11 +0000 <yushyin> ah
2022-07-21 18:26:13 +0000Polo(~Gambino@pool-100-34-212-74.phlapa.fios.verizon.net)
2022-07-21 18:26:20 +0000Polo(~Gambino@pool-100-34-212-74.phlapa.fios.verizon.net) (Changing host)
2022-07-21 18:26:20 +0000Polo(~Gambino@user/polo)
2022-07-21 18:29:05 +0000Pickchea(~private@user/pickchea)
2022-07-21 18:31:25 +0000v0d1ch(~v0d1ch@87.116.177.10)
2022-07-21 18:32:43 +0000JoeBloggs7003141(~JoeBloggs@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net) (Remote host closed the connection)
2022-07-21 18:32:47 +0000winny(~weechat@user/winny) (Ping timeout: 268 seconds)
2022-07-21 18:32:59 +0000tafa(~tafa@user/tafa) (Quit: ZNC - https://znc.in)
2022-07-21 18:35:14 +0000tafa(~tafa@user/tafa)
2022-07-21 18:35:46 +0000matthewmosior(~matthewmo@173.170.253.91) (Remote host closed the connection)
2022-07-21 18:36:58 +0000v0d1ch(~v0d1ch@87.116.177.10) (Quit: Client closed)
2022-07-21 18:37:16 +0000winny(~weechat@user/winny)
2022-07-21 18:38:38 +0000notzmv(~zmv@user/notzmv) (Ping timeout: 272 seconds)
2022-07-21 18:39:16 +0000Polomoney
2022-07-21 18:39:16 +0000money(~Gambino@user/polo) (Quit: My MacBook has gone to sleep. ZZZzzz…)
2022-07-21 18:40:49 +0000bontaq(~user@ool-45779fe5.dyn.optonline.net)
2022-07-21 18:43:55 +0000SamBellamy(~SamBellam@cpc142034-slou6-2-0-cust488.17-4.cable.virginm.net)
2022-07-21 18:47:36 +0000Pickchea(~private@user/pickchea) (Ping timeout: 244 seconds)
2022-07-21 18:50:57 +0000coot(~coot@213.134.190.95) (Quit: coot)
2022-07-21 18:51:33 +0000matthewmosior(~matthewmo@173.170.253.91)
2022-07-21 18:54:37 +0000jakalx(~jakalx@base.jakalx.net) ()
2022-07-21 18:54:50 +0000[exa](exa@user/exa/x-3587197) (Ping timeout: 244 seconds)
2022-07-21 18:55:59 +0000matthewmosior(~matthewmo@173.170.253.91) (Ping timeout: 255 seconds)
2022-07-21 19:00:19 +0000zeenk(~zeenk@2a02:2f04:a311:2d00:6865:d863:4c93:799f) (Quit: Konversation terminated!)
2022-07-21 19:00:43 +0000[exa](exa@srv3.blesmrt.net)
2022-07-21 19:00:57 +0000alternateved(~user@staticline-31-183-144-54.toya.net.pl) (Remote host closed the connection)
2022-07-21 19:02:23 +0000winny(~weechat@user/winny) (Ping timeout: 268 seconds)
2022-07-21 19:02:53 +0000gdown(~gavin@h69-11-149-231.kndrid.broadband.dynamic.tds.net) (Remote host closed the connection)
2022-07-21 19:03:17 +0000wroathe(~wroathe@206-55-188-8.fttp.usinternet.com)
2022-07-21 19:03:18 +0000wroathe(~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host)
2022-07-21 19:03:18 +0000wroathe(~wroathe@user/wroathe)
2022-07-21 19:04:01 +0000winny(~weechat@user/winny)
2022-07-21 19:14:06 +0000merijn(~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
2022-07-21 19:18:32 +0000acidjnk_new(~acidjnk@p200300d6e70586758c16d92daa533f1a.dip0.t-ipconnect.de) (Ping timeout: 272 seconds)
2022-07-21 19:19:54 +0000kenran(~kenran@200116b82ba6d2009f9246aa765d6807.dip.versatel-1u1.de)
2022-07-21 19:24:36 +0000Digit(~user@user/digit)
2022-07-21 19:26:03 +0000matthewmosior(~matthewmo@173.170.253.91)
2022-07-21 19:29:37 +0000acidjnk_new(~acidjnk@p200300d6e705867599c6c88ced65ac2d.dip0.t-ipconnect.de)
2022-07-21 19:30:36 +0000matthewmosior(~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
2022-07-21 19:32:50 +0000h_(rootvegeta@fsf/member/hays)
2022-07-21 19:33:31 +0000tromp(~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
2022-07-21 19:33:43 +0000h_(rootvegeta@fsf/member/hays) (Client Quit)
2022-07-21 19:34:31 +0000jespada(~jespada@190.7.36.46)
2022-07-21 19:37:17 +0000zer0bitz(~zer0bitz@2001:2003:f748:2000:10dd:cdb6:6796:296b)
2022-07-21 19:41:11 +0000h_(rootvegeta@fsf/member/hays)
2022-07-21 19:46:12 +0000matthewmosior(~matthewmo@173.170.253.91)
2022-07-21 19:46:26 +0000wroathe(~wroathe@user/wroathe) (Ping timeout: 255 seconds)
2022-07-21 19:47:36 +0000matthewmosior(~matthewmo@173.170.253.91) (Remote host closed the connection)
2022-07-21 19:48:43 +0000h_(rootvegeta@fsf/member/hays) ()
2022-07-21 19:49:07 +0000merijn(~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 272 seconds)
2022-07-21 19:49:15 +0000adanwan(~adanwan@gateway/tor-sasl/adanwan) (Ping timeout: 268 seconds)
2022-07-21 19:49:17 +0000h_(rootvegeta@fsf/member/hays)
2022-07-21 19:51:02 +0000tromp(~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
2022-07-21 19:51:27 +0000h_(rootvegeta@fsf/member/hays) (Client Quit)
2022-07-21 19:51:38 +0000h_(rootvegeta@fsf/member/hays)
2022-07-21 19:51:49 +0000h_(rootvegeta@fsf/member/hays) (Client Quit)
2022-07-21 19:52:01 +0000h_(rootvegeta@fsf/member/hays)
2022-07-21 19:52:03 +0000h_(rootvegeta@fsf/member/hays) (Client Quit)
2022-07-21 19:52:15 +0000h_(rootvegeta@fsf/member/hays)
2022-07-21 19:52:57 +0000h_(rootvegeta@fsf/member/hays) (Client Quit)
2022-07-21 19:53:18 +0000king_gs(~Thunderbi@2806:103e:29:a1b3:33ad:6e9f:99f9:1be7)
2022-07-21 19:54:22 +0000jakalx(~jakalx@base.jakalx.net)
2022-07-21 19:55:13 +0000adanwan(~adanwan@gateway/tor-sasl/adanwan)
2022-07-21 19:56:26 +0000matthewmosior(~matthewmo@173.170.253.91)
2022-07-21 19:57:53 +0000gmg(~user@user/gehmehgeh) (Ping timeout: 268 seconds)
2022-07-21 19:57:53 +0000FinnElija(~finn_elij@user/finn-elija/x-0085643) (Ping timeout: 268 seconds)
2022-07-21 19:57:53 +0000ChaiTRex(~ChaiTRex@user/chaitrex) (Ping timeout: 268 seconds)
2022-07-21 19:58:26 +0000wootehfoot(~wootehfoo@user/wootehfoot) (Quit: Leaving)
2022-07-21 19:58:47 +0000aliosablack(~chomwitt@2a02:587:dc00:5a00:df58:8e7a:3d48:e2d2)
2022-07-21 19:59:39 +0000ChaiTRex(~ChaiTRex@user/chaitrex)
2022-07-21 19:59:58 +0000gmg(~user@user/gehmehgeh)
2022-07-21 20:00:56 +0000FinnElija(~finn_elij@user/finn-elija/x-0085643)
2022-07-21 20:00:57 +0000matthewmosior(~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
2022-07-21 20:02:37 +0000tromp(~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
2022-07-21 20:06:55 +0000matthewmosior(~matthewmo@173.170.253.91)
2022-07-21 20:08:20 +0000matthewmosior(~matthewmo@173.170.253.91) (Remote host closed the connection)
2022-07-21 20:08:23 +0000fserucas_(~fserucas@246.76.114.89.rev.vodafone.pt) (Quit: Leaving)
2022-07-21 20:09:16 +0000matthewmosior(~matthewmo@173.170.253.91)
2022-07-21 20:09:52 +0000coot(~coot@213.134.190.95)
2022-07-21 20:11:32 +0000matthewmosior(~matthewmo@173.170.253.91) (Remote host closed the connection)
2022-07-21 20:11:39 +0000matthewmosior(~matthewmo@173.170.253.91)
2022-07-21 20:14:12 +0000pretty_dumm_guy(trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Quit: WeeChat 3.5)
2022-07-21 20:15:05 +0000pretty_dumm_guy(trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655)
2022-07-21 20:20:04 +0000machinedgod(~machinedg@d172-219-86-154.abhsia.telus.net)
2022-07-21 20:23:25 +0000kenran(~kenran@200116b82ba6d2009f9246aa765d6807.dip.versatel-1u1.de) (Quit: WeeChat info:version)
2022-07-21 20:26:26 +0000winny(~weechat@user/winny) (Remote host closed the connection)
2022-07-21 20:27:19 +0000winny(~weechat@user/winny)
2022-07-21 20:27:21 +0000chexum(~quassel@gateway/tor-sasl/chexum) (Remote host closed the connection)
2022-07-21 20:28:04 +0000chexum(~quassel@gateway/tor-sasl/chexum)
2022-07-21 20:28:44 +0000adanwan(~adanwan@gateway/tor-sasl/adanwan) (Remote host closed the connection)
2022-07-21 20:29:34 +0000quarkyalice(~quarkyali@user/quarkyalice)
2022-07-21 20:32:05 +0000quarkyalice(~quarkyali@user/quarkyalice) (Client Quit)
2022-07-21 20:33:05 +0000stiell(~stiell@gateway/tor-sasl/stiell) (Remote host closed the connection)
2022-07-21 20:33:48 +0000stiell(~stiell@gateway/tor-sasl/stiell)
2022-07-21 20:38:13 +0000jakalx(~jakalx@base.jakalx.net) ()
2022-07-21 20:40:18 +0000king_gs(~Thunderbi@2806:103e:29:a1b3:33ad:6e9f:99f9:1be7) (Quit: king_gs)
2022-07-21 20:41:02 +0000jakalx(~jakalx@base.jakalx.net)
2022-07-21 20:41:04 +0000gmg(~user@user/gehmehgeh) (Remote host closed the connection)
2022-07-21 20:41:16 +0000motherfsck(~motherfsc@user/motherfsck) (Ping timeout: 244 seconds)
2022-07-21 20:41:43 +0000gmg(~user@user/gehmehgeh)
2022-07-21 20:42:27 +0000segfaultfizzbuzz(~segfaultf@157-131-253-58.fiber.dynamic.sonic.net) (Ping timeout: 260 seconds)
2022-07-21 20:42:42 +0000yin(~yin@user/zero)
2022-07-21 20:44:28 +0000michalz(~michalz@185.246.204.93) (Remote host closed the connection)
2022-07-21 20:44:46 +0000 <tomsmeding> qrpnxz: which paste are you looking at and what's bad about it?
2022-07-21 20:44:46 +0000merijn(~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
2022-07-21 20:45:30 +0000 <tomsmeding> Oh you mean the pastebin.com thing, yes I was surprised as well lol
2022-07-21 20:46:15 +0000 <tomsmeding> It doesn't understand DataKinds, and it does this super annoying thing of highlighting strings with a background colour
2022-07-21 20:46:22 +0000 <tomsmeding> I don't know who thinks that is useful
2022-07-21 20:46:54 +0000gleostocha(~runic@c-73-15-32-211.hsd1.ca.comcast.net)
2022-07-21 20:46:55 +0000 <geekosaur> there is, thankfully, an extension for chrome/chromium that redirects all pastebin.com urls to /raw/
2022-07-21 20:47:25 +0000 <geekosaur> the existence of which proves that it's not just haskell and not just us 🙂
2022-07-21 20:48:01 +0000raehik(~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 272 seconds)
2022-07-21 20:49:21 +0000raehik(~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
2022-07-21 20:49:53 +0000qrpnxz(~qrpnxz@fsf/member/qrpnxz) (Ping timeout: 255 seconds)
2022-07-21 20:51:21 +0000aliosablack(~chomwitt@2a02:587:dc00:5a00:df58:8e7a:3d48:e2d2) (Ping timeout: 276 seconds)
2022-07-21 20:51:43 +0000qrpnxz(~qrpnxz@fsf/member/qrpnxz)
2022-07-21 20:53:55 +0000gleostocha(~runic@c-73-15-32-211.hsd1.ca.comcast.net) (Ping timeout: 268 seconds)
2022-07-21 20:54:10 +0000eggplantade(~Eggplanta@2600:1700:bef1:5e10:c19d:5429:582b:ef6e)
2022-07-21 20:55:29 +0000motherfsck(~motherfsc@user/motherfsck)
2022-07-21 20:55:44 +0000tromp(~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
2022-07-21 20:57:13 +0000 <tomsmeding> Lol mastarija's error has << The choice depends on the instantiation of ‘’ >> which has got to be the most helpful hint ever
2022-07-21 20:57:51 +0000 <Rembane> GHC is ashamed! :D
2022-07-21 20:58:02 +0000gleostocha(~runic@104-182-236-205.lightspeed.sntcca.sbcglobal.net)
2022-07-21 20:58:53 +0000eggplantade(~Eggplanta@2600:1700:bef1:5e10:c19d:5429:582b:ef6e) (Ping timeout: 255 seconds)
2022-07-21 21:00:04 +0000 <geekosaur> wonder what it takes to get that added to @ghc
2022-07-21 21:06:52 +0000motherfsck(~motherfsc@user/motherfsck) (Ping timeout: 268 seconds)
2022-07-21 21:07:16 +0000motherfsck(~motherfsc@user/motherfsck)
2022-07-21 21:08:04 +0000gehmehgeh(~user@user/gehmehgeh)
2022-07-21 21:09:24 +0000notzmv(~zmv@user/notzmv)
2022-07-21 21:10:02 +0000gmg(~user@user/gehmehgeh) (Ping timeout: 268 seconds)
2022-07-21 21:10:12 +0000matthewmosior(~matthewmo@173.170.253.91) (Remote host closed the connection)
2022-07-21 21:11:24 +0000funkyindieeee1(~funkyindi@user/funkyindieeee1)
2022-07-21 21:15:35 +0000 <yin> how do vty and ansi-terminal compare?
2022-07-21 21:16:53 +0000segfaultfizzbuzz(~segfaultf@157-131-253-58.fiber.dynamic.sonic.net)
2022-07-21 21:16:54 +0000matthewmosior(~matthewmo@173.170.253.91)
2022-07-21 21:16:54 +0000waleee(~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340)
2022-07-21 21:19:53 +0000merijn(~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 268 seconds)
2022-07-21 21:21:20 +0000chexum(~quassel@gateway/tor-sasl/chexum) (Remote host closed the connection)
2022-07-21 21:21:22 +0000coot(~coot@213.134.190.95) (Quit: coot)
2022-07-21 21:21:23 +0000gleostocha(~runic@104-182-236-205.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
2022-07-21 21:21:33 +0000nate4(~nate@98.45.169.16)
2022-07-21 21:21:36 +0000chexum(~quassel@gateway/tor-sasl/chexum)
2022-07-21 21:22:29 +0000 <geekosaur> ansi-terminal is even lower level than vty, it provides functions abstracting the raw escape sequences but you have to put them together yourself. vty puts them together to provide a low level UI. brick uses that to assemble a higher level UI
2022-07-21 21:23:11 +0000 <geekosaur> and vty is built atop ansi-terminal (see its dependencies on hackage)
2022-07-21 21:25:00 +0000use-value(~Thunderbi@2a00:23c6:8a03:2f01:2198:9ff8:77a4:e162) (Remote host closed the connection)
2022-07-21 21:25:17 +0000use-value(~Thunderbi@2a00:23c6:8a03:2f01:2198:9ff8:77a4:e162)
2022-07-21 21:26:36 +0000nate4(~nate@98.45.169.16) (Ping timeout: 268 seconds)
2022-07-21 21:31:49 +0000Digit(~user@user/digit) (Remote host closed the connection)
2022-07-21 21:33:36 +0000takuan(~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection)
2022-07-21 21:35:01 +0000 <yin> hm... now i'm looking at ansi-terminal-game
2022-07-21 21:35:47 +0000tromp(~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
2022-07-21 21:35:52 +0000merijn(~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
2022-07-21 21:36:49 +0000gehmehgeh(~user@user/gehmehgeh) (Remote host closed the connection)
2022-07-21 21:37:26 +0000zzz(~yin@user/zero)
2022-07-21 21:37:32 +0000gehmehgeh(~user@user/gehmehgeh)
2022-07-21 21:40:44 +0000merijn(~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 255 seconds)
2022-07-21 21:47:09 +0000slack3106(~slack1256@191.126.99.209)
2022-07-21 21:49:10 +0000slack1256(~slack1256@186.11.17.101) (Ping timeout: 240 seconds)
2022-07-21 21:53:07 +0000mon_aaraj(~MonAaraj@user/mon-aaraj/x-4416475) (Ping timeout: 268 seconds)
2022-07-21 21:53:36 +0000stiell(~stiell@gateway/tor-sasl/stiell) (Remote host closed the connection)
2022-07-21 21:53:59 +0000stiell(~stiell@gateway/tor-sasl/stiell)
2022-07-21 21:57:09 +0000mon_aaraj(~MonAaraj@user/mon-aaraj/x-4416475)
2022-07-21 22:00:03 +0000janus(janus@anubis.0x90.dk)
2022-07-21 22:02:45 +0000slack3106(~slack1256@191.126.99.209) (Read error: Connection reset by peer)
2022-07-21 22:02:49 +0000slack1256(~slack1256@186.11.17.101)
2022-07-21 22:03:32 +0000 <janus> if i have a map to lists, where a bunch of these list values share a lot of data, how do i store this efficiently? can i still have fast lookups?
2022-07-21 22:04:01 +0000segfaultfizzbuzz(~segfaultf@157-131-253-58.fiber.dynamic.sonic.net) (Ping timeout: 272 seconds)
2022-07-21 22:04:50 +0000 <janus> i could even tell the map the equivalence relation to form buckets on, then the map could have difference lists within these buckets
2022-07-21 22:04:58 +0000 <janus> seems like a pretty general problem
2022-07-21 22:05:54 +0000segfaultfizzbuzz(~segfaultf@157-131-253-58.fiber.dynamic.sonic.net)
2022-07-21 22:11:09 +0000 <dsal> What are you doing now and why do you feel it's inefficient?
2022-07-21 22:11:24 +0000gurkenglas(~gurkengla@dslb-002-203-144-112.002.203.pools.vodafone-ip.de)
2022-07-21 22:15:09 +0000 <janus> right now I have a `Map PackageId [Dependency]` but while talking to gbaz previously, it sounded like this might be too much data
2022-07-21 22:15:41 +0000 <janus> but since packages often have the same dependencies across versions, i figure it could save space to bucket by PackageName
2022-07-21 22:15:57 +0000 <janus> PackageId = PackageName + Version
2022-07-21 22:16:03 +0000 <qrpnxz> janus: the values are boxed so they should already be sharing as efficiently as possible, no? Or are you meaning that you have many duplicate values that are actually different objects, and you would like to have them be the same object? I think you can indeed do that by systematically checking every value and so on, but idk how much worth it that is
2022-07-21 22:16:54 +0000a(~a@2a00:23c6:2925:8801:18bf:2f44:ba3b:2314)
2022-07-21 22:17:01 +0000 <janus> qrpnxz: this is backed by AcidState/SafeCopy so i can't imagine how it would be sharing
2022-07-21 22:17:13 +0000aGuest4375
2022-07-21 22:17:23 +0000 <qrpnxz> you could have the function that produces Dependency values to first check if it already exists as an object even better. Reminds me of compiler symbol tables
2022-07-21 22:18:29 +0000slack1256(~slack1256@186.11.17.101) (Remote host closed the connection)
2022-07-21 22:19:05 +0000 <janus> qrpnxz: i can't mess with the production of Dependency values since this has already been written to disk and i don't wanna write a migration
2022-07-21 22:19:57 +0000 <janus> qrpnxz: but nothing prevents me from having a custom CompactDependency type, which i did consider. but it's gonna be a pain because Dependency is in Cabal-syntax
2022-07-21 22:20:52 +0000Guest4375(~a@2a00:23c6:2925:8801:18bf:2f44:ba3b:2314) (Remote host closed the connection)
2022-07-21 22:21:05 +0000 <janus> but if i have this DList thing working on plain old Dependency , maybe that won't be necessary
2022-07-21 22:21:08 +0000 <qrpnxz> i mean, you don't have to change Dependency type. Just whatever function you are getting Dep values from instead of returning a spanking new Dep value, it checks this table and returns whatever is already in there. It could even save you the time of at all constructing the object
2022-07-21 22:21:45 +0000mon_aaraj(~MonAaraj@user/mon-aaraj/x-4416475) (Ping timeout: 272 seconds)
2022-07-21 22:21:47 +0000 <qrpnxz> or even you can just carry keys to the table
2022-07-21 22:21:55 +0000 <janus> what table?
2022-07-21 22:22:41 +0000 <qrpnxz> the table i'm proposing you create :) Every Dep you create would go on the table. Instead of creating new Deps that are equal to one you already made, you pull the one you already made
2022-07-21 22:23:31 +0000mon_aaraj(~MonAaraj@user/mon-aaraj/x-4416475)
2022-07-21 22:23:40 +0000adanwan(~adanwan@gateway/tor-sasl/adanwan)
2022-07-21 22:24:01 +0000 <janus> it's just that fetching a PkgInfo from the PackageIndex is a pure operation right now. if i start having it construct stuff based on some caching layer , it makes it impure
2022-07-21 22:24:20 +0000 <janus> maybe that's necessary but i think what i originally proposed doesn't require impurity
2022-07-21 22:24:48 +0000 <qrpnxz> you could filter the output of that, to build the table, replace duplicates with the same object, throw away the table.
2022-07-21 22:25:10 +0000 <qrpnxz> takes time, but still saves memory
2022-07-21 22:25:18 +0000merijn(~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
2022-07-21 22:25:58 +0000 <janus> ok, but that's kinda what i originally asked for a pre-made solution for. a Map with bucketing, that just needs Eq to do buckets
2022-07-21 22:26:17 +0000 <janus> which would the also be able to have them share values
2022-07-21 22:27:27 +0000 <qrpnxz> that's just Set. I don't think set replaces keys if you try to insert a repeat value. So you can just insert and pull the key out
2022-07-21 22:28:16 +0000mon_aaraj(~MonAaraj@user/mon-aaraj/x-4416475) (Ping timeout: 268 seconds)
2022-07-21 22:28:35 +0000 <janus> the Deps can very within one bucket, it just isn't common
2022-07-21 22:28:40 +0000 <janus> *vary
2022-07-21 22:29:27 +0000wenjie(~nut@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr)
2022-07-21 22:29:30 +0000zer0bitz(~zer0bitz@2001:2003:f748:2000:10dd:cdb6:6796:296b) (Ping timeout: 264 seconds)
2022-07-21 22:29:50 +0000mon_aaraj(~MonAaraj@user/mon-aaraj/x-4416475)
2022-07-21 22:29:50 +0000 <wenjie> what is the command for automatically recompile a project when files are changed?
2022-07-21 22:29:59 +0000 <wenjie> is it ghcide?
2022-07-21 22:30:07 +0000 <monochrom> yes
2022-07-21 22:30:08 +0000 <qrpnxz> if it's automatic wouldn't it not have a command
2022-07-21 22:30:48 +0000 <janus> I guess I could have `Map PackageName (Map DepSetId [Dependency], Map Version DepSetId)`
2022-07-21 22:31:18 +0000 <janus> just isn't as good as it could be when you have small changes to the dependency set, which is probably super common in Hackage
2022-07-21 22:31:21 +0000 <geekosaur> wenjie, ghcid can do it but ionly for itself. stack has a flag to recompile when a file is changed
2022-07-21 22:31:34 +0000 <wenjie> monochrom: i launched ghcide inside a cabal folder, it terminates. I remember previous the program didn't terminate
2022-07-21 22:31:58 +0000 <wenjie> and keep monitoring for changes
2022-07-21 22:32:37 +0000 <wenjie> or maybe it was another similar program...
2022-07-21 22:33:21 +0000 <wenjie> just realized that ghcide and ghcid are not the same
2022-07-21 22:33:30 +0000acidjnk_new(~acidjnk@p200300d6e705867599c6c88ced65ac2d.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
2022-07-21 22:33:39 +0000 <wenjie> i'm looking for ghcid
2022-07-21 22:35:45 +0000Chai-T-Rex(~ChaiTRex@user/chaitrex)
2022-07-21 22:36:22 +0000ChaiTRex(~ChaiTRex@user/chaitrex) (Ping timeout: 268 seconds)
2022-07-21 22:37:18 +0000RevoGen(~RevoGen@136.167.36.244)
2022-07-21 22:38:00 +0000 <wenjie> is yaml a good choice for serializing some textual program status?
2022-07-21 22:38:40 +0000 <wenjie> it seems haskell has a good yaml parsing library
2022-07-21 22:39:21 +0000 <Rembane> wenjie: No. JSON is better.
2022-07-21 22:40:28 +0000 <wenjie> ok i'll try aeson first thanks
2022-07-21 22:40:34 +0000 <Clint> aeson does yaml
2022-07-21 22:45:44 +0000gehmehgeh(~user@user/gehmehgeh) (Quit: Leaving)
2022-07-21 22:46:51 +0000adanwan(~adanwan@gateway/tor-sasl/adanwan) (Ping timeout: 268 seconds)
2022-07-21 22:49:07 +0000 <exarkun> Just remember, YAML is a superset of JSON.
2022-07-21 22:49:29 +0000ph88(~ph88@ip5f5af71f.dynamic.kabel-deutschland.de) (Quit: Leaving)
2022-07-21 22:50:30 +0000adanwan(~adanwan@gateway/tor-sasl/adanwan)
2022-07-21 22:53:38 +0000xff0x(~xff0x@b133147.ppp.asahi-net.or.jp) (Ping timeout: 255 seconds)
2022-07-21 22:54:48 +0000mncheck-m(~mncheck@193.224.205.254)
2022-07-21 22:54:51 +0000merijn(~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl) (Ping timeout: 268 seconds)
2022-07-21 22:55:19 +0000mon_aaraj(~MonAaraj@user/mon-aaraj/x-4416475) (Ping timeout: 272 seconds)
2022-07-21 22:55:42 +0000eggplantade(~Eggplanta@2600:1700:bef1:5e10:c19d:5429:582b:ef6e)
2022-07-21 22:57:01 +0000indigo_i`(~user@95.146.83.181) (Quit: ERC 5.4.1 (IRC client for GNU Emacs 28.1))
2022-07-21 22:57:09 +0000mncheck(~mncheck@193.224.205.254) (Ping timeout: 244 seconds)
2022-07-21 22:57:11 +0000mon_aaraj(~MonAaraj@user/mon-aaraj/x-4416475)
2022-07-21 23:00:20 +0000zzz(~yin@user/zero) (Ping timeout: 260 seconds)
2022-07-21 23:00:23 +0000eggplantade(~Eggplanta@2600:1700:bef1:5e10:c19d:5429:582b:ef6e) (Ping timeout: 255 seconds)
2022-07-21 23:00:50 +0000zzz(~yin@user/zero)
2022-07-21 23:01:16 +0000segfaultfizzbuzz(~segfaultf@157-131-253-58.fiber.dynamic.sonic.net) (Ping timeout: 244 seconds)
2022-07-21 23:01:33 +0000nosewings(~ngpc@cpe-76-186-194-45.tx.res.rr.com)
2022-07-21 23:02:03 +0000 <jackdk> yaml libraries exist and are fine but yaml is a bad format
2022-07-21 23:09:26 +0000segfaultfizzbuzz(~segfaultf@157-131-253-58.fiber.dynamic.sonic.net)
2022-07-21 23:13:16 +0000adanwan(~adanwan@gateway/tor-sasl/adanwan) (Remote host closed the connection)
2022-07-21 23:13:33 +0000matthewmosior(~matthewmo@173.170.253.91) (Remote host closed the connection)
2022-07-21 23:13:36 +0000adanwan(~adanwan@gateway/tor-sasl/adanwan)
2022-07-21 23:14:31 +0000finn_elija(~finn_elij@user/finn-elija/x-0085643)
2022-07-21 23:14:31 +0000FinnElija(~finn_elij@user/finn-elija/x-0085643) (Killed (NickServ (Forcing logout FinnElija -> finn_elija)))
2022-07-21 23:14:31 +0000finn_elijaFinnElija
2022-07-21 23:16:08 +0000Sgeo(~Sgeo@user/sgeo)
2022-07-21 23:19:23 +0000wenjie(~nut@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) (Quit: WeeChat 3.5)
2022-07-21 23:21:30 +0000turlando(~turlando@user/turlando) (Ping timeout: 276 seconds)
2022-07-21 23:22:24 +0000matthewmosior(~matthewmo@173.170.253.91)
2022-07-21 23:22:29 +0000pavonia(~user@user/siracusa)
2022-07-21 23:22:44 +0000 <monochrom> Oh oops, I misread too, I had ghcid in mind, no e.
2022-07-21 23:23:33 +0000 <monochrom> Seen on a CV: I know c/c++, j/java/javascript, ghc/ghci/ghcid/ghcide
2022-07-21 23:26:41 +0000xff0x(~xff0x@2405:6580:b080:900:b066:fe39:acdd:e9df)
2022-07-21 23:27:45 +0000matthewmosior(~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
2022-07-21 23:28:42 +0000_ht(~quassel@231-169-21-31.ftth.glasoperator.nl) (Ping timeout: 268 seconds)
2022-07-21 23:30:33 +0000bontaq(~user@ool-45779fe5.dyn.optonline.net) (Ping timeout: 268 seconds)
2022-07-21 23:30:53 +0000_ht(~quassel@231-169-21-31.ftth.glasoperator.nl)
2022-07-21 23:31:10 +0000 <jackdk> Someone should write a position description demanding years of experience in ghcidef
2022-07-21 23:32:24 +0000segfaultfizzbuzz(~segfaultf@157-131-253-58.fiber.dynamic.sonic.net) (Ping timeout: 268 seconds)
2022-07-21 23:38:20 +0000Digit(~user@user/digit)
2022-07-21 23:41:17 +0000turlando(~turlando@user/turlando)
2022-07-21 23:41:29 +0000pretty_dumm_guy(trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Quit: WeeChat 3.5)
2022-07-21 23:41:39 +0000Lord_of_Life(~Lord@user/lord-of-life/x-2819915) (Ping timeout: 268 seconds)
2022-07-21 23:41:41 +0000wroathe(~wroathe@206-55-188-8.fttp.usinternet.com)
2022-07-21 23:41:41 +0000wroathe(~wroathe@206-55-188-8.fttp.usinternet.com) (Changing host)
2022-07-21 23:41:41 +0000wroathe(~wroathe@user/wroathe)
2022-07-21 23:42:16 +0000gurkenglas(~gurkengla@dslb-002-203-144-112.002.203.pools.vodafone-ip.de) (Ping timeout: 268 seconds)
2022-07-21 23:42:39 +0000Lord_of_Life(~Lord@user/lord-of-life/x-2819915)
2022-07-21 23:48:10 +0000segfaultfizzbuzz(~segfaultf@157-131-253-58.fiber.dynamic.sonic.net)
2022-07-21 23:48:33 +0000RevoGen(~RevoGen@136.167.36.244) (Remote host closed the connection)
2022-07-21 23:48:41 +0000RevoGen(~RevoGen@136.167.36.244)
2022-07-21 23:49:40 +0000matthewmosior(~matthewmo@173.170.253.91)
2022-07-21 23:50:14 +0000_ht(~quassel@231-169-21-31.ftth.glasoperator.nl) (Ping timeout: 272 seconds)
2022-07-21 23:51:18 +0000merijn(~merijn@c-001-001-002.client.esciencecenter.eduvpn.nl)
2022-07-21 23:52:03 +0000RevoGen(~RevoGen@136.167.36.244) (Remote host closed the connection)
2022-07-21 23:52:19 +0000_ht(~quassel@231-169-21-31.ftth.glasoperator.nl)
2022-07-21 23:59:36 +0000yin(~yin@user/zero) (Ping timeout: 268 seconds)
2022-07-21 23:59:41 +0000mvk(~mvk@2607:fea8:5ce3:8500::909a)