Home liberachat/#haskell: Logs Calendar

Logs on 2022-09-23 (liberachat/#haskell)

00:01:17 son0p joins (~ff@2800:e2:f80:867:cac2:6501:5166:e177)
00:01:48 × califax quits (~califax@user/califx) (Remote host closed the connection)
00:03:01 califax joins (~califax@user/califx)
00:06:01 × ajb quits (~ajb@mimas.whatbox.ca) (Quit: bye)
00:08:16 Sciencentistguy7 joins (~sciencent@hacksoc/ordinary-member)
00:08:28 × jgeerds_ quits (~jgeerds@55d46bad.access.ecotel.net) (Ping timeout: 246 seconds)
00:10:05 <EvanR> @src mapAccumL
00:10:05 <lambdabot> mapAccumL _ s [] = (s, [])
00:10:05 <lambdabot> mapAccumL f s (x:xs) = (s'',y:ys)
00:10:05 <lambdabot> where (s', y ) = f s x
00:10:05 <lambdabot> (s'',ys) = mapAccumL f s' xs
00:10:35 × Sciencentistguy quits (~sciencent@hacksoc/ordinary-member) (Ping timeout: 265 seconds)
00:10:36 Sciencentistguy7 is now known as Sciencentistguy
00:10:54 <EvanR> updateframes... damn
00:11:48 × vglfr quits (~vglfr@145.224.94.75) (Ping timeout: 264 seconds)
00:13:07 vglfr joins (~vglfr@145.224.94.75)
00:13:22 × raym quits (~raym@user/raym) (Remote host closed the connection)
00:16:46 rockymarine joins (~rocky@user/rockymarine)
00:18:58 haskeller joins (~haskeller@103.86.106.250)
00:20:12 × waleee quits (~waleee@h-176-10-137-138.NA.cust.bahnhof.se) (Ping timeout: 264 seconds)
00:21:18 <haskeller> anyone know how to get ^ and $ to work with regex-tdfa ?
00:21:21 matthewmosior joins (~matthewmo@173.170.253.91)
00:25:06 <sm> they work for me ? maybe you're looking for https://hackage.haskell.org/package/regex-tdfa-1.3.2/docs/Text-Regex-TDFA.html#t:CompOption multiline ?
00:25:49 burnsidesLlama joins (~burnsides@119247164140.ctinets.com)
00:26:03 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 265 seconds)
00:26:45 waleee joins (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340)
00:27:00 <haskeller> i did see it but i'm not sure how to use it
00:28:44 × burnsidesLlama quits (~burnsides@119247164140.ctinets.com) (Remote host closed the connection)
00:29:12 × rockymarine quits (~rocky@user/rockymarine) (Ping timeout: 264 seconds)
00:30:22 burnsidesLlama joins (~burnsides@119247164140.ctinets.com)
00:32:05 ajb joins (~ajb@mimas.whatbox.ca)
00:35:04 × waleee quits (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340) (Ping timeout: 246 seconds)
00:35:07 × ajb quits (~ajb@mimas.whatbox.ca) (Quit: bye)
00:35:26 ajb joins (~ajb@mimas.whatbox.ca)
00:38:21 × ajb quits (~ajb@mimas.whatbox.ca) (Client Quit)
00:43:39 ajb joins (~ajb@mimas.whatbox.ca)
00:46:44 × xff0x quits (~xff0x@2405:6580:b080:900:c9c6:ea14:444b:6072) (Ping timeout: 268 seconds)
00:48:38 slac43228 joins (~slack1256@181.43.224.87)
00:49:37 × king_gs quits (~Thunderbi@2806:103e:29:ac5e:a16e:4ac9:a89b:4d) (Quit: king_gs)
00:50:07 valzant joins (~parsival@209.141.195.79)
00:50:46 matthewmosior joins (~matthewmo@173.170.253.91)
00:51:11 × slack1256 quits (~slack1256@191.126.227.65) (Ping timeout: 265 seconds)
00:52:29 × matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection)
00:54:40 matthewmosior joins (~matthewmo@173.170.253.91)
00:56:30 × valzant quits (~parsival@209.141.195.79) (Ping timeout: 265 seconds)
00:59:01 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
01:01:44 c209e6dc-4d76-47 joins (~aditya@2601:249:4300:1296:195:dac6:592c:a55a)
01:02:08 <c209e6dc-4d76-47> how are type synonyms with type variables parsed?
01:02:26 <c209e6dc-4d76-47> I am writing a compiler and the unficiation algorithm that I wrote works with meta type variables
01:02:46 <c209e6dc-4d76-47> should I be generating meta type variables from type variables?
01:07:25 waleee joins (~waleee@h-176-10-137-138.NA.cust.bahnhof.se)
01:07:46 <haskeller> https://paste.lurkmore.com/205d6a
01:08:29 rockymarine joins (~rocky@user/rockymarine)
01:09:31 × auri_ quits (~auri@fsf/member/auri) ()
01:09:42 nate2 joins (~nate@98.45.169.16)
01:10:31 × albet70 quits (~xxx@2400:8902::f03c:92ff:fe60:98d8) (Remote host closed the connection)
01:10:48 auri joins (~auri@fsf/member/auri)
01:11:33 <haskeller> why does it match ?
01:12:52 × waleee quits (~waleee@h-176-10-137-138.NA.cust.bahnhof.se) (Ping timeout: 246 seconds)
01:14:52 × nate2 quits (~nate@98.45.169.16) (Ping timeout: 265 seconds)
01:16:11 <pavonia> That function is not documented, but I guess it tries to find any match in the string
01:16:38 albet70 joins (~xxx@2400:8902::f03c:92ff:fe60:98d8)
01:17:03 × c209e6dc-4d76-47 quits (~aditya@2601:249:4300:1296:195:dac6:592c:a55a) (Quit: Konversation terminated!)
01:17:48 matthewmosior joins (~matthewmo@173.170.253.91)
01:19:02 <Axman6> yeah that's the usual behaviour of regular expressions, the match if there's a match anywhere in the string
01:19:05 <haskeller> ^ab*$ is what i'm trying to achieve
01:19:36 <Axman6> and that regex actually matches the the "a" and doesn't even need to check the b's, technically
01:19:54 <Axman6> are you sure you don't want "^ab+$"?
01:22:22 <haskeller> it matches as well
01:22:36 <haskeller> i want it to be False
01:24:05 <Axman6> if you're using ^ and $, don't you want multiline to be true?
01:24:15 Null_A joins (~null_a@2601:645:8700:ac10:655d:60dc:6144:b340)
01:24:39 <Clint> what do you think /ab*/ will match?
01:25:39 <haskeller> try ab* and ^ab*$ on aab https://regex101.com/
01:26:35 <Clint> okay, now what
01:27:24 <haskeller> why does the code return True everytime
01:27:43 <Clint> because you're asking if it matches and it does
01:27:45 <haskeller> regardless of the multiline setting
01:28:10 <Axman6> what is "it", ab* or ^ab*$?
01:28:21 <monochrom> Since "aab" is barely one line, I don't think multiline settings matter.
01:28:22 xff0x joins (~xff0x@2405:6580:b080:900:c9c6:ea14:444b:6072)
01:28:47 <Axman6> it might be needed for ^ and $ to work, but I can't remember
01:30:11 <haskeller> how can i get something ^ and $ to work with tdfa
01:31:41 <haskeller> can someone write a snippet that matches a regex within ^ and $
01:32:39 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
01:33:43 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 265 seconds)
01:34:02 <EvanR> is it that the task is to match a string that literally begins with ^ and ends with $ all along
01:34:13 <EvanR> that would be devious
01:34:28 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
01:35:13 <haskeller> no
01:35:49 <haskeller> bash equivalent would be
01:36:26 <haskeller> grep ab* <<<"aab"
01:36:28 benin06 joins (~benin@183.82.204.58)
01:36:36 <haskeller> grep ^ab*$ <<<"aab"
01:36:38 <Axman6> that should match though
01:36:47 <Axman6> ok, that shouldn't
01:36:50 <haskeller> latter shouldn't
01:37:09 <haskeller> how do i do that with tdfa
01:37:34 <Axman6> you can debug what's going on by actually inspecting the matches
01:37:36 × benin0 quits (~benin@183.82.204.58) (Ping timeout: 265 seconds)
01:37:36 benin06 is now known as benin0
01:38:23 <Clint> or by actually using the regex you want
01:38:38 <Axman6> where does `match` come from? I can't see it in the TDFA package
01:39:14 <Axman6> ah, Text.Regex.BAse
01:39:16 <haskeller> RegexContext(match)
01:39:50 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
01:40:34 <haskeller> im sleepy
01:40:43 <Axman6> what does main = print (match (regex "ab*") "aab" :: [MatchArray]) print?
01:42:15 <haskeller> [array (0,0) [(0,(1,2))]]
01:43:31 <monochrom> So ab* matches the first 'a'
01:44:08 <monochrom> Are you saying that you have tried ^ab*$ and it doesn't do what we expect?
01:44:24 <Axman6> what does main = print (match (regex "ab*") "aab" :: [MatchText String]) and main = print (match (regex "^ab*$") "aab" :: [MatchText String]) print?
01:44:49 <haskeller> shit
01:44:50 <Axman6> since that should actually include the matching text too
01:45:21 <Axman6> did you forget to recompile? :)
01:45:22 <haskeller> i forgot to put the ^ $
01:45:27 <Axman6> ...
01:45:39 <haskeller> sorry lads
01:45:47 <haskeller> im sleepy
01:45:49 <Axman6> We've all been there
01:45:51 <haskeller> gn
01:45:57 <Axman6> congrats
01:46:03 <haskeller> and thank you
01:46:26 <monochrom> This is why I don't trust querents.
01:46:43 haskeller parts (~haskeller@103.86.106.250) ()
01:46:53 <Clint> to be fair, there was 0 evidence that he had tried what he actually wanted
01:47:25 <Axman6> "11:28 Axman6: what is "it", ab* or ^ab*$? " - no answer
01:48:16 <monochrom> That too. All pronouns should be banned.
01:48:46 × burnsidesLlama quits (~burnsides@119247164140.ctinets.com) (Remote host closed the connection)
01:49:35 burnsidesLlama joins (~burnsides@119247164140.ctinets.com)
01:50:48 × rockymarine quits (~rocky@user/rockymarine) (Ping timeout: 264 seconds)
01:51:38 <Axman6> I'm doing a uni course on C at the moment, and when talking about abstraction, they asked us to give an example of abstraction in every day lives - I used the word "it", and referred to it repeatedly, it got pretty confusing
01:53:01 <EvanR> at least it isn't a verb yet
01:55:36 <monochrom> FILE is an abstraction. It is so abstract that stdio.h has simply "struct _IO_FILE; typedef struct _IO_FILE FILE;". Since you may only use FILE* anyway, you need not be told what's inside the struct.
01:55:39 <Axman6> I'll 'it you, mate
01:56:36 <monochrom> I don't think that "it" is an abstraction. It is an identifier wannabe, before math and programming invented real identifiers.
01:56:39 <EvanR> I stand corrected
01:57:05 <monochrom> However, "this app sucks" is an abstraction.
01:58:18 <monochrom> Oh wait, I'm wrong about _IO_FILE, I see that there is a complete definition later, I missed it last time I checked.
01:58:33 <monochrom> So now I know that I told a lie to my students haha.
01:58:56 sm imagines a structured support chat where the certain questions can be blockers, requiring a satisfactory answer to proceed further
01:59:13 <EvanR> an example of abstract in everyday life, just to get away from C for a second, Nope your life is indeed C
01:59:37 <monochrom> How about: Python is an abstraction. :)
02:00:06 <sm> unpleasant in normal human conversation, but possibly more efficient .. and very familiar from text adventures
02:00:24 <EvanR> give an example of a monad from everyday life. It's either a hard question or your life is haskell
02:01:19 <EvanR> and no jquery does not count
02:01:20 <monochrom> I was learning 3 monads from a draft probability theory book. http://www.cs.ru.nl/B.Jacobs/PAPERS/ProbabilisticReasoning.pdf
02:01:29 <sm> me! I know! cooking 🍳
02:01:43 <monochrom> The 3 monads are: the list monad, the powerset monad, and the multiset monad.
02:01:50 nate2 joins (~nate@98.45.169.16)
02:02:01 <EvanR> cool monads bro
02:02:29 <EvanR> do you even lift
02:03:03 jargon joins (~jargon@184.101.186.15)
02:04:03 <monochrom> Everyday life, hell everyday speech, has many modal operators, some of them are monads.
02:04:19 × benin0 quits (~benin@183.82.204.58) (Ping timeout: 246 seconds)
02:04:33 <maerwald[m]> No, I use complicated effects systems, because they blur control flow better and allow reasoning if you have two brains
02:06:59 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
02:08:03 <monochrom> sm: Structured support chat with mentor-mandated blocker questions can only happen when there is a monopolizing mentor, e.g., when I am holding office hours for students, I do that all the time.
02:08:55 <monochrom> The economy of internet help is flipped. The querent has monopoly over brownie points, and multiple mentors want those brownie points desperately.
02:09:15 <monochrom> Therefore all mentors kiss up to the querent, as opposed to doing the right thing.
02:10:54 segfaultfizzbuzz joins (~segfaultf@23-93-74-212.fiber.dynamic.sonic.net)
02:11:49 <monochrom> For example next time when there is a "my code doesn't work, here is a blatantly incomplete excerpt", watch how many people rush to make blind guesses, how many do the right thing and press for "show the complete actual code".
02:12:42 matthewmosior joins (~matthewmo@173.170.253.91)
02:12:56 <monochrom> Right? Because the former has some chances of landing the right guess by dumb luck and win a "thank you you are so helpful" brownie point, whereas the latest always begets the opposite "you are unhelpful because you make me do extra work".
02:14:22 <EvanR> 500 pages of probability... not bad
02:14:44 <monochrom> On that note I don't care for "pleasant conversation" either if it means mutual congratulations rather than getting problems solved properly.
02:16:53 <sm> monochrom: right, the dynamics are interesting. Here, I would say conditions are variable, depending on time of day, nature of question, current states of mind etc.
02:18:08 <sm> people have different needs and motivations and styles and we are all coexisting in one cramped noisy kitchen :)
02:21:10 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
02:21:34 × td_ quits (~td@94.134.91.59) (Ping timeout: 265 seconds)
02:21:36 <Clinton[m]> Is `Blah` below something that has an actual name and defined in a library somewhere?... (full message at <https://libera.ems.host/_matrix/media/r0/download/libera.chat/b90c6fc92b313aa22003e15d2b513087d7974245>)
02:22:46 <sm> I'm gonna say no
02:22:57 td_ joins (~td@muedsl-82-207-238-210.citykom.de)
02:22:58 <Clinton[m]> it kinda looks like an existential but https://hackage.haskell.org/package/exists-0.2/docs/src/Data-Exists-Internal.html#Exists seems too general. I don't need a constraint here (although I guess in theory I could represent `f` as a constraint).
02:23:50 <EvanR> it looks like a off the cuff example of a GADT with a polymorphic kind in a sig
02:24:02 <EvanR> syntax example
02:26:18 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Killed (NickServ (Forcing logout FinnElija -> finn_elija)))
02:26:18 FinnElija joins (~finn_elij@user/finn-elija/x-0085643)
02:26:57 benin0 joins (~benin@183.82.24.8)
02:27:48 <monochrom> It is close to CoYoneda. https://hackage.haskell.org/package/for-free-0.1/docs/Control-ForFree.html#g:3
02:28:24 <monochrom> But it has an extra a->x (their z is your a), and it presumes a :: *
02:31:27 × machinedgod quits (~machinedg@d198-53-218-113.abhsia.telus.net) (Quit: Lost terminal)
02:32:37 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Ping timeout: 258 seconds)
02:33:48 FinnElija joins (~finn_elij@user/finn-elija/x-0085643)
02:41:43 × jpds1 quits (~jpds@gateway/tor-sasl/jpds) (Remote host closed the connection)
02:43:08 × terrorjack quits (~terrorjac@2a01:4f8:1c1e:509a::1) (Quit: The Lounge - https://thelounge.chat)
02:44:12 terrorjack joins (~terrorjac@2a01:4f8:1c1e:509a::1)
02:45:17 jpds1 joins (~jpds@gateway/tor-sasl/jpds)
02:49:21 × johnjaye quits (~pi@173.209.64.74) (Ping timeout: 252 seconds)
02:49:55 johnjaye joins (~pi@173.209.64.74)
02:50:59 matthewmosior joins (~matthewmo@173.170.253.91)
02:52:14 × jpds1 quits (~jpds@gateway/tor-sasl/jpds) (Remote host closed the connection)
02:52:34 jpds1 joins (~jpds@gateway/tor-sasl/jpds)
02:55:27 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Remote host closed the connection)
02:55:31 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 260 seconds)
03:00:34 × adanwan quits (~adanwan@gateway/tor-sasl/adanwan) (Remote host closed the connection)
03:01:01 adanwan joins (~adanwan@gateway/tor-sasl/adanwan)
03:10:53 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Killed (NickServ (Forcing logout FinnElija -> finn_elija)))
03:10:54 FinnElija joins (~finn_elij@user/finn-elija/x-0085643)
03:12:49 × johnw quits (~johnw@76-234-69-149.lightspeed.frokca.sbcglobal.net) (Quit: ZNC - http://znc.in)
03:19:25 matthewmosior joins (~matthewmo@173.170.253.91)
03:23:36 × ChaiTRex quits (~ChaiTRex@user/chaitrex) (Ping timeout: 258 seconds)
03:24:07 × nate2 quits (~nate@98.45.169.16) (Ping timeout: 246 seconds)
03:26:19 ChaiTRex joins (~ChaiTRex@user/chaitrex)
03:27:27 × matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection)
03:27:56 matthewmosior joins (~matthewmo@173.170.253.91)
03:40:57 raym joins (~raym@user/raym)
03:41:15 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
03:44:22 matthewmosior joins (~matthewmo@173.170.253.91)
03:48:12 sagax joins (~sagax_nb@user/sagax)
03:51:32 × Vajb quits (~Vajb@2001:999:504:1841:9e47:1ec7:a52e:1d57) (Read error: Connection reset by peer)
03:51:45 Vajb joins (~Vajb@hag-jnsbng11-58c3a5-27.dhcp.inet.fi)
03:52:06 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 260 seconds)
04:00:29 × Vajb quits (~Vajb@hag-jnsbng11-58c3a5-27.dhcp.inet.fi) (Read error: Connection reset by peer)
04:07:10 Vajb joins (~Vajb@2001:999:504:1841:9e47:1ec7:a52e:1d57)
04:08:02 rockymarine joins (~rocky@user/rockymarine)
04:09:10 × emmanuelux quits (~emmanuelu@2a01cb0000f393002df2f41052616626.ipv6.abo.wanadoo.fr) (Quit: au revoir)
04:12:42 matthewmosior joins (~matthewmo@173.170.253.91)
04:12:46 × mvk quits (~mvk@2607:fea8:5ce3:8500::778c) (Ping timeout: 244 seconds)
04:15:43 mixfix41 joins (~sdeny9ee@user/mixfix41)
04:17:35 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 265 seconds)
04:23:19 matthewmosior joins (~matthewmo@173.170.253.91)
04:24:42 × ft quits (~ft@p3e9bc57b.dip0.t-ipconnect.de) (Quit: Lost terminal)
04:27:45 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
04:29:32 × ChaiTRex quits (~ChaiTRex@user/chaitrex) (Ping timeout: 258 seconds)
04:29:49 × segfaultfizzbuzz quits (~segfaultf@23-93-74-212.fiber.dynamic.sonic.net) (Ping timeout: 244 seconds)
04:31:44 ChaiTRex joins (~ChaiTRex@user/chaitrex)
04:38:00 takuan joins (~takuan@178-116-218-225.access.telenet.be)
04:40:17 × burnsidesLlama quits (~burnsides@119247164140.ctinets.com) (Remote host closed the connection)
04:41:18 Guest66 joins (~Guest66@45.144.115.133)
04:41:29 <Guest66> Is there a way to filter Either Left or Right from a list?
04:44:04 mbuf joins (~Shakthi@49.204.141.111)
04:44:09 <jao> [r | Right r <- xs]
04:46:01 <jao> > [ r | Right r <- [Right 3, Left "a", Right 4]] :: [Int]
04:46:03 <lambdabot> [3,4]
04:47:02 <Lears> @hoogle [Either a b] -> ([a], [b])
04:47:04 <lambdabot> Data.Either partitionEithers :: [Either a b] -> ([a], [b])
04:47:04 <lambdabot> Data.List.HT unzipEithers :: [Either a b] -> ([a], [b])
04:47:04 <lambdabot> Data.Strict.Either partitionEithers :: [Either a b] -> ([a], [b])
04:47:25 <Lears> Guest66: This ^ is better if you want both parts.
04:47:32 × notzmv quits (~zmv@user/notzmv) (Ping timeout: 260 seconds)
04:48:18 matthewmosior joins (~matthewmo@173.170.253.91)
04:48:34 <Guest66> jao's list comprehension is what I was looking for, didn't know you could filter it there, thanks
04:50:48 <Guest66> or I guess that's pattern matching
04:52:33 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
04:55:54 × freeside quits (~mengwong@bb115-66-48-84.singnet.com.sg) (Remote host closed the connection)
04:56:31 × rockymarine quits (~rocky@user/rockymarine) (Ping timeout: 246 seconds)
05:02:16 <dsal> @hoogle [Either a b] -> [a]
05:02:17 <lambdabot> Data.Either lefts :: [Either a b] -> [a]
05:02:17 <lambdabot> Data.Strict.Either lefts :: [Either a b] -> [a]
05:02:17 <lambdabot> Protolude lefts :: () => [Either a b] -> [a]
05:02:27 <dsal> @hoogle [Either a b] -> [b]
05:02:28 <lambdabot> Data.Either rights :: [Either a b] -> [b]
05:02:28 <lambdabot> Data.Strict.Either rights :: [Either a b] -> [b]
05:02:28 <lambdabot> Protolude rights :: () => [Either a b] -> [b]
05:02:36 × slac43228 quits (~slack1256@181.43.224.87) (Remote host closed the connection)
05:02:49 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 246 seconds)
05:03:14 <dsal> Guest66: No need for a list comprehension when the stdlib already has a named function for the thing you want.
05:03:47 <dsal> Ironically, it's implemented that way, but with this: {-# INLINEABLE rights #-} -- otherwise doesn't get an unfolding, see #13689
05:08:34 <Guest66> ah ok, you're right, using the function works too
05:09:29 × Maeda quits (~Maeda@91-161-10-149.subs.proxad.net) (Quit: leaving)
05:10:46 × biberu quits (~biberu@user/biberu) (Read error: Connection reset by peer)
05:14:01 × jargon quits (~jargon@184.101.186.15) (Remote host closed the connection)
05:14:30 burnsidesLlama joins (~burnsides@119247164140.ctinets.com)
05:15:52 biberu joins (~biberu@user/biberu)
05:20:06 × Guest66 quits (~Guest66@45.144.115.133) (Ping timeout: 252 seconds)
05:20:53 × burnsidesLlama quits (~burnsides@119247164140.ctinets.com) (Ping timeout: 265 seconds)
05:23:27 matthewmosior joins (~matthewmo@173.170.253.91)
05:23:58 × glguy quits (~glguy@libera/staff-emeritus/glguy) (Quit: Quit)
05:24:28 glguy joins (~glguy@libera/staff-emeritus/glguy)
05:28:08 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 265 seconds)
05:42:02 bahamas joins (~lucian@188.24.138.239)
05:42:17 Maeda joins (~Maeda@91-161-10-149.subs.proxad.net)
05:50:44 zxx7529 joins (~Thunderbi@user/zxx7529)
05:52:09 coot joins (~coot@213.134.176.158)
05:55:42 × gay9 quits (~quassel@94-168-123-190.static.v4.ziggozakelijk.nl) (Ping timeout: 265 seconds)
05:56:18 gay9 joins (~quassel@92-65-73-218.biz.kpn.net)
05:57:00 gmg joins (~user@user/gehmehgeh)
05:57:08 burnsidesLlama joins (~burnsides@119247164140.ctinets.com)
05:58:07 matthewmosior joins (~matthewmo@173.170.253.91)
05:59:32 waldo joins (~waldo@user/waldo)
06:01:41 king_gs joins (~Thunderbi@2806:103e:29:ac5e:a16e:4ac9:a89b:4d)
06:01:58 × burnsidesLlama quits (~burnsides@119247164140.ctinets.com) (Ping timeout: 265 seconds)
06:02:18 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
06:06:31 × gmg quits (~user@user/gehmehgeh) (Ping timeout: 258 seconds)
06:08:30 burnsidesLlama joins (~burnsides@119247164140.ctinets.com)
06:09:07 gmg joins (~user@user/gehmehgeh)
06:11:52 × burnsidesLlama quits (~burnsides@119247164140.ctinets.com) (Remote host closed the connection)
06:16:15 × jinsun quits (~jinsun@user/jinsun) (Ping timeout: 244 seconds)
06:16:27 burnsidesLlama joins (~burnsides@119247164140.ctinets.com)
06:19:05 × waldo quits (~waldo@user/waldo) (Ping timeout: 252 seconds)
06:19:10 jinsun joins (~jinsun@user/jinsun)
06:19:27 × dwt_ quits (~dwt_@c-98-198-103-176.hsd1.tx.comcast.net) (Quit: ZNC 1.8.2 - https://znc.in)
06:19:45 dwt_ joins (~dwt_@c-98-198-103-176.hsd1.tx.comcast.net)
06:19:47 waldo joins (~waldo@user/waldo)
06:24:32 gehmehgeh joins (~user@user/gehmehgeh)
06:24:55 × gmg quits (~user@user/gehmehgeh) (Ping timeout: 258 seconds)
06:31:15 lortabac joins (~lortabac@2a01:e0a:541:b8f0:431:c1f7:2793:a88d)
06:32:26 matthewmosior joins (~matthewmo@173.170.253.91)
06:32:54 × gay9 quits (~quassel@92-65-73-218.biz.kpn.net) (Ping timeout: 265 seconds)
06:33:45 gay9 joins (~quassel@94-168-123-190.static.v4.ziggozakelijk.nl)
06:35:48 kenran joins (~kenran@200116b82b90a700e604c19a814c9950.dip.versatel-1u1.de)
06:37:11 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 260 seconds)
06:39:37 MajorBiscuit joins (~MajorBisc@c-001-020-032.client.tudelft.eduvpn.nl)
06:40:12 acidjnk_new joins (~acidjnk@p200300d6e7137a97958fabe0efe8f0df.dip0.t-ipconnect.de)
06:41:12 gemmaro joins (~user@240f:74:d1f0:1:f11e:7a22:c627:f177)
06:41:34 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Remote host closed the connection)
06:41:34 × m1dnight quits (~christoph@78-22-0-121.access.telenet.be) (Read error: Connection reset by peer)
06:43:03 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
06:43:03 × jonathanx quits (~jonathan@h-178-174-176-109.A357.priv.bahnhof.se) (Ping timeout: 265 seconds)
06:45:04 <dminuoso> dsal: Though for what its worth, the list comprehension is really useful for arbitrary sum types here.
06:45:19 <dsal> Sure, it's good to know.
06:46:01 <dminuoso> Especially since you can use it as a poor mans prism/affine foldable
06:46:06 <dminuoso> Since it works nicely for nested things too
06:47:25 m1dnight joins (~christoph@78-22-0-121.access.telenet.be)
06:48:18 × Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
06:55:05 jonathanx joins (~jonathan@h-98-128-168-222.NA.cust.bahnhof.se)
06:56:49 machinedgod joins (~machinedg@d198-53-218-113.abhsia.telus.net)
06:58:26 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
06:59:02 × shriekingnoise quits (~shrieking@186.137.167.202) (Quit: Quit)
07:04:19 matthewmosior joins (~matthewmo@173.170.253.91)
07:08:26 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
07:10:39 michalz joins (~michalz@185.246.207.197)
07:17:14 MoC joins (~moc@user/moc)
07:17:46 jgeerds_ joins (~jgeerds@55d46bad.access.ecotel.net)
07:22:18 × burnsidesLlama quits (~burnsides@119247164140.ctinets.com) (Remote host closed the connection)
07:23:35 × causal quits (~user@2001:470:ea0f:3:329c:23ff:fe3f:1e0e) (Quit: WeeChat 3.6)
07:23:35 tcard_ joins (~tcard@p696070-ipngn8501hodogaya.kanagawa.ocn.ne.jp)
07:24:39 × tcard quits (~tcard@p696070-ipngn8501hodogaya.kanagawa.ocn.ne.jp) (Read error: Connection reset by peer)
07:32:10 burnsidesLlama joins (~burnsides@119247164140.ctinets.com)
07:35:35 titibandit joins (~titibandi@xdsl-87-78-162-143.nc.de)
07:37:26 akegalj joins (~akegalj@78-3-83-94.adsl.net.t-com.hr)
07:37:49 matthewmosior joins (~matthewmo@173.170.253.91)
07:42:30 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 265 seconds)
07:45:08 haskeller joins (~haskeller@103.86.106.250)
07:45:25 × azimut quits (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 258 seconds)
07:46:36 × jmdaemon quits (~jmdaemon@user/jmdaemon) (Ping timeout: 268 seconds)
07:48:02 × burnsidesLlama quits (~burnsides@119247164140.ctinets.com) (Remote host closed the connection)
07:49:16 burnsidesLlama joins (~burnsides@119247164140.ctinets.com)
07:49:53 × gemmaro quits (~user@240f:74:d1f0:1:f11e:7a22:c627:f177) (Remote host closed the connection)
07:50:22 odnes joins (~odnes@ppp089210198232.access.hol.gr)
07:53:18 haskeller parts (~haskeller@103.86.106.250) ()
07:54:03 × burnsidesLlama quits (~burnsides@119247164140.ctinets.com) (Ping timeout: 268 seconds)
08:10:27 × waldo quits (~waldo@user/waldo) (Quit: quit)
08:10:34 × hrberg quits (~quassel@171.79-160-161.customer.lyse.net) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
08:10:48 hrberg joins (~quassel@171.79-160-161.customer.lyse.net)
08:12:32 matthewmosior joins (~matthewmo@173.170.253.91)
08:16:57 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 260 seconds)
08:17:39 `2jt joins (~jtomas@105.red-88-17-232.dynamicip.rima-tde.net)
08:18:33 × titibandit quits (~titibandi@xdsl-87-78-162-143.nc.de) (Remote host closed the connection)
08:20:09 Lycurgus joins (~juan@user/Lycurgus)
08:22:57 burnsidesLlama joins (~burnsides@119247164140.ctinets.com)
08:28:36 × burnsidesLlama quits (~burnsides@119247164140.ctinets.com) (Ping timeout: 264 seconds)
08:29:32 raehik joins (~raehik@global-5-16.n-1.net.cam.ac.uk)
08:29:43 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
08:30:28 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
08:31:23 trcc joins (~trcc@87-57-134-11-cable.dk.customer.tdc.net)
08:32:08 Guest503 joins (~Guest50@192.182.150.125)
08:32:47 jakalx parts (~jakalx@base.jakalx.net) ()
08:35:59 chomwitt joins (~chomwitt@2a02:587:dc14:f500:a8f6:62e0:a0fa:7808)
08:40:37 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 258 seconds)
08:41:46 × stiell_ quits (~stiell@gateway/tor-sasl/stiell) (Ping timeout: 258 seconds)
08:42:57 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
08:43:46 beteigeuze joins (~Thunderbi@p5090d00a.dip0.t-ipconnect.de)
08:46:19 matthewmosior joins (~matthewmo@173.170.253.91)
08:47:31 stiell_ joins (~stiell@gateway/tor-sasl/stiell)
08:49:08 <Guest503> What's a good way to share state between an arbitrary number of threads?
08:49:08 <Guest503> My use case: I'm trying to implement a . I need multithreading to fetch URLS concurrently and state to
08:49:35 <Guest503>  Sorry, accidentally hit enter while typing
08:50:12 <Athas> Guest503: the best way is to not do that. A starting point for doing that is to use an MVar.
08:50:26 kuribas joins (~user@ptr-17d51enb5v9fgypvpol.18120a2.ip6.access.telenet.be)
08:50:29 <Athas> An MVar is a properly synchronised concurrent mutable variable.
08:50:46 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 260 seconds)
08:51:11 × king_gs quits (~Thunderbi@2806:103e:29:ac5e:a16e:4ac9:a89b:4d) (Remote host closed the connection)
08:51:27 <Athas> I assume you already know the risks of contention and such. MVars can help avoid race conditions, but shared mutable state is always risky. You should read up on the potential problems if you're not already aware of them.
08:51:28 king_gs joins (~Thunderbi@2806:103e:29:ac5e:a16e:4ac9:a89b:4d)
08:51:45 × Lycurgus quits (~juan@user/Lycurgus) (Quit: Exeunt juan@acm.org)
08:51:56 <trcc> I am looking a optparse-applicative and I have added a --version argument. I am using https://hackage.haskell.org/package/optparse-applicative-0.17.0.0/docs/Options-Applicative.html#v:infoOption but why does it have to fail? Is there an alternative?
08:52:41 <Guest503> Basically I need a map from previously-accessed URLs to their XML content. I was thinking of 2 ways to do it:
08:52:41 <Guest503> 1. Using an MVar with an immutable map
08:52:42 <Guest503> 2. Using some sort of thread-safe mutable hashmap (I know mutable hashmaps exist for haskell but don't know if they're thread-safe)
08:52:42 <Guest503> I'm guessing you'd favor #1
08:53:11 <Athas> Yes, I'd go with an MVar with an immutable map inside. Change it later if it turns out to be a bottle neck.
08:53:19 <Athas> But the starting point should never be a complex concurrent data structure!
08:53:38 <Guest503> Ok, thanks
08:55:13 × Guest503 quits (~Guest50@192.182.150.125) (Quit: Client closed)
08:57:29 <trcc> Rephrasion. Is there a reason why Optparse-applicative encodes presenting a message as a parserfailure? More specifially, infoOption https://hackage.haskell.org/package/optparse-applicative-0.17.0.0/docs/Options-Applicative.html#v:infoOption
08:57:36 <trcc> haha rephrasion. Rephrasing :)
08:59:51 jakalx joins (~jakalx@base.jakalx.net)
09:01:30 jinsun__ joins (~jinsun@user/jinsun)
09:01:30 jinsun is now known as Guest8317
09:01:30 × Guest8317 quits (~jinsun@user/jinsun) (Killed (tungsten.libera.chat (Nickname regained by services)))
09:01:30 jinsun__ is now known as jinsun
09:03:37 × raehik quits (~raehik@global-5-16.n-1.net.cam.ac.uk) (Ping timeout: 246 seconds)
09:08:48 raehik joins (~raehik@global-5-14.n-1.net.cam.ac.uk)
09:11:08 Batzy_ joins (~quassel@user/batzy)
09:13:51 × Batzy quits (~quassel@user/batzy) (Ping timeout: 265 seconds)
09:14:08 burnsidesLlama joins (~burnsides@119247164140.ctinets.com)
09:15:24 × king_gs quits (~Thunderbi@2806:103e:29:ac5e:a16e:4ac9:a89b:4d) (Quit: king_gs)
09:15:28 × burnsidesLlama quits (~burnsides@119247164140.ctinets.com) (Remote host closed the connection)
09:16:05 king_gs joins (~Thunderbi@2806:103e:29:ac5e:a16e:4ac9:a89b:4d)
09:20:08 matthewmosior joins (~matthewmo@173.170.253.91)
09:24:58 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 265 seconds)
09:25:16 × coot quits (~coot@213.134.176.158) (Quit: coot)
09:26:43 × trcc quits (~trcc@87-57-134-11-cable.dk.customer.tdc.net) (Quit: Connection closed)
09:33:23 coot joins (~coot@213.134.176.158)
09:33:49 Pickchea joins (~private@user/pickchea)
09:34:17 __monty__ joins (~toonn@user/toonn)
09:34:41 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
09:36:10 × bahamas quits (~lucian@188.24.138.239) (Ping timeout: 246 seconds)
09:36:42 × king_gs quits (~Thunderbi@2806:103e:29:ac5e:a16e:4ac9:a89b:4d) (Quit: king_gs)
09:39:22 thyriaen joins (~thyriaen@2a02:8109:8340:686c:7383:e0e2:ad95:9fce)
09:47:14 burnsidesLlama joins (~burnsides@119247164140.ctinets.com)
09:48:31 × lortabac quits (~lortabac@2a01:e0a:541:b8f0:431:c1f7:2793:a88d) (Ping timeout: 260 seconds)
09:50:48 × jonathanx quits (~jonathan@h-98-128-168-222.NA.cust.bahnhof.se) (Remote host closed the connection)
09:52:11 bahamas joins (~lucian@188.24.138.239)
09:52:37 × MoC quits (~moc@user/moc) (Quit: Konversation terminated!)
09:52:44 jonathanx joins (~jonathan@h-98-128-168-222.NA.cust.bahnhof.se)
09:53:35 × burnsidesLlama quits (~burnsides@119247164140.ctinets.com) (Ping timeout: 252 seconds)
09:55:08 matthewmosior joins (~matthewmo@173.170.253.91)
09:55:36 lortabac joins (~lortabac@2a01:e0a:541:b8f0:dee5:fd7a:c93:49e5)
09:57:01 × econo quits (uid147250@user/econo) (Quit: Connection closed for inactivity)
09:57:25 kenaryn joins (~aurele@89-88-44-27.abo.bbox.fr)
09:59:27 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
10:06:16 × tzh quits (~tzh@c-24-21-73-154.hsd1.or.comcast.net) (Quit: zzz)
10:07:11 × raehik quits (~raehik@global-5-14.n-1.net.cam.ac.uk) (Ping timeout: 260 seconds)
10:07:58 × odnes quits (~odnes@ppp089210198232.access.hol.gr) (Remote host closed the connection)
10:08:25 odnes joins (~odnes@ppp089210198232.access.hol.gr)
10:11:30 pretty_dumm_guy joins (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655)
10:14:22 × akegalj quits (~akegalj@78-3-83-94.adsl.net.t-com.hr) (Quit: leaving)
10:15:23 bontaq` joins (~user@ool-45779fe5.dyn.optonline.net)
10:17:12 × cyphase quits (~cyphase@user/cyphase) (Ping timeout: 264 seconds)
10:17:39 cyphase joins (~cyphase@user/cyphase)
10:17:56 pottsy joins (~pottsy@90.pool85-52-231.static.orange.es)
10:19:56 × kimjetwav quits (~user@2607:fea8:235e:b600:9d02:5eae:f964:930) (Remote host closed the connection)
10:20:37 × odnes quits (~odnes@ppp089210198232.access.hol.gr) (Ping timeout: 246 seconds)
10:22:46 kimjetwav joins (~user@2607:fea8:235e:b600:3a8e:383d:7069:4bec)
10:27:25 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
10:30:07 frost joins (~frost@user/frost)
10:31:30 matthewmosior joins (~matthewmo@173.170.253.91)
10:34:36 × bahamas quits (~lucian@188.24.138.239) (Ping timeout: 264 seconds)
10:35:16 lottaquestions joins (~nick@2607:fa49:503e:7100:add5:b9e8:89e3:e304)
10:36:59 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 265 seconds)
10:37:28 raehik joins (~raehik@global-5-14.n-1.net.cam.ac.uk)
10:57:45 × jonathanx quits (~jonathan@h-98-128-168-222.NA.cust.bahnhof.se) (Ping timeout: 252 seconds)
11:13:36 × lortabac quits (~lortabac@2a01:e0a:541:b8f0:dee5:fd7a:c93:49e5) (Ping timeout: 264 seconds)
11:14:00 lortabac joins (~lortabac@2a01:e0a:541:b8f0:4ff0:be78:f674:f69e)
11:17:16 odnes joins (~odnes@ppp089210198232.access.hol.gr)
11:17:49 luffy joins (~chenqisu1@183.217.203.170)
11:18:06 × chexum_ quits (~quassel@gateway/tor-sasl/chexum) (Remote host closed the connection)
11:18:06 × ec quits (~ec@gateway/tor-sasl/ec) (Remote host closed the connection)
11:18:06 × califax quits (~califax@user/califx) (Remote host closed the connection)
11:18:06 × ChaiTRex quits (~ChaiTRex@user/chaitrex) (Read error: Connection reset by peer)
11:18:06 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Read error: Connection reset by peer)
11:18:06 × gehmehgeh quits (~user@user/gehmehgeh) (Read error: Connection reset by peer)
11:18:06 × adanwan quits (~adanwan@gateway/tor-sasl/adanwan) (Read error: Connection reset by peer)
11:18:06 × jpds1 quits (~jpds@gateway/tor-sasl/jpds) (Remote host closed the connection)
11:18:24 matthewmosior joins (~matthewmo@173.170.253.91)
11:18:40 adanwan joins (~adanwan@gateway/tor-sasl/adanwan)
11:18:43 jpds1 joins (~jpds@gateway/tor-sasl/jpds)
11:18:46 ec joins (~ec@gateway/tor-sasl/ec)
11:18:50 califax joins (~califax@user/califx)
11:19:03 ChaiTRex joins (~ChaiTRex@user/chaitrex)
11:19:09 gehmehgeh joins (~user@user/gehmehgeh)
11:19:54 chexum joins (~quassel@gateway/tor-sasl/chexum)
11:23:13 ubert joins (~Thunderbi@77.119.207.90.wireless.dyn.drei.com)
11:24:23 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
11:25:19 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 265 seconds)
11:27:45 × gehmehgeh quits (~user@user/gehmehgeh) (Ping timeout: 258 seconds)
11:29:59 gehmehgeh joins (~user@user/gehmehgeh)
11:31:15 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Read error: Connection reset by peer)
11:34:52 waleee joins (~waleee@h-176-10-137-138.NA.cust.bahnhof.se)
11:37:19 × fjMSX quits (~hypni2p@2.92.213.55) (Read error: Connection reset by peer)
11:43:00 × pottsy quits (~pottsy@90.pool85-52-231.static.orange.es) (Quit: Leaving)
11:43:53 × Pickchea quits (~private@user/pickchea) (Quit: Leaving)
11:44:12 lyle joins (~lyle@104.246.145.85)
11:45:46 × raehik quits (~raehik@global-5-14.n-1.net.cam.ac.uk) (Ping timeout: 260 seconds)
11:46:51 nschoe joins (~quassel@2a01:e0a:8e:a190:9ad3:6a17:e298:3166)
11:47:34 ec_ joins (~ec@gateway/tor-sasl/ec)
11:48:27 × ec quits (~ec@gateway/tor-sasl/ec) (Ping timeout: 258 seconds)
11:48:32 × mixfix41 quits (~sdeny9ee@user/mixfix41) (Ping timeout: 265 seconds)
11:52:41 × kenaryn quits (~aurele@89-88-44-27.abo.bbox.fr) (Quit: leaving)
11:54:51 jakalx parts (~jakalx@base.jakalx.net) ()
11:55:12 matthewmosior joins (~matthewmo@173.170.253.91)
11:56:17 jakalx joins (~jakalx@base.jakalx.net)
11:57:22 × luffy quits (~chenqisu1@183.217.203.170) (Remote host closed the connection)
11:58:45 fjMSX joins (~hypni2p@2.92.213.55)
11:59:30 luffy joins (~chenqisu1@183.217.203.170)
11:59:46 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 260 seconds)
12:00:04 × luffy quits (~chenqisu1@183.217.203.170) (Max SendQ exceeded)
12:00:33 luffy joins (~chenqisu1@183.217.203.170)
12:03:00 × califax quits (~califax@user/califx) (Read error: Connection reset by peer)
12:03:07 × luffy quits (~chenqisu1@183.217.203.170) (Max SendQ exceeded)
12:03:40 luffy joins (~chenqisu1@183.217.203.170)
12:03:56 jonathanx joins (~jonathan@h-98-128-168-222.NA.cust.bahnhof.se)
12:04:01 califax joins (~califax@user/califx)
12:07:50 × mbuf quits (~Shakthi@49.204.141.111) (Quit: Leaving)
12:12:53 × nschoe quits (~quassel@2a01:e0a:8e:a190:9ad3:6a17:e298:3166) (Ping timeout: 250 seconds)
12:15:54 × frost quits (~frost@user/frost) (Ping timeout: 252 seconds)
12:18:08 × pavonia quits (~user@user/siracusa) (Quit: Bye!)
12:21:56 × acidjnk_new quits (~acidjnk@p200300d6e7137a97958fabe0efe8f0df.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
12:25:13 ft joins (~ft@p3e9bc57b.dip0.t-ipconnect.de)
12:29:00 raehik joins (~raehik@global-5-14.n-1.net.cam.ac.uk)
12:35:57 matthewmosior joins (~matthewmo@173.170.253.91)
12:38:13 × waleee quits (~waleee@h-176-10-137-138.NA.cust.bahnhof.se) (Ping timeout: 252 seconds)
12:38:35 waldo joins (~waldo@user/waldo)
12:39:32 Lycurgus joins (~juan@user/Lycurgus)
12:41:10 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
12:45:08 jero98772 joins (~jero98772@2800:484:1d80:d8ce:3490:26c5:1782:da8c)
12:46:41 × dsrt^ quits (~dsrt@173-160-76-137-atlanta.hfc.comcastbusiness.net) (Remote host closed the connection)
12:46:48 × Hafydd_ quits (jc@user/hafydd) (Quit: WeeChat 3.5)
12:52:36 × luffy quits (~chenqisu1@183.217.203.170) (Ping timeout: 264 seconds)
13:01:29 × Lycurgus quits (~juan@user/Lycurgus) (Quit: Exeunt juan@acm.org)
13:05:45 × jgeerds_ quits (~jgeerds@55d46bad.access.ecotel.net) (Ping timeout: 250 seconds)
13:05:52 × califax quits (~califax@user/califx) (Remote host closed the connection)
13:06:16 califax joins (~califax@user/califx)
13:07:01 × benin0 quits (~benin@183.82.24.8) (Quit: The Lounge - https://thelounge.chat)
13:07:04 valzant joins (~parsival@209.141.195.79)
13:12:30 matthewmosior joins (~matthewmo@173.170.253.91)
13:14:19 × califax quits (~califax@user/califx) (Ping timeout: 258 seconds)
13:16:10 DavidBinder joins (~DavidBind@134.2.10.18)
13:17:01 califax joins (~califax@user/califx)
13:17:56 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 260 seconds)
13:20:03 × motherfsck quits (~motherfsc@user/motherfsck) (Quit: quit)
13:20:16 burnsidesLlama joins (~burnsides@119247164140.ctinets.com)
13:20:35 × valzant quits (~parsival@209.141.195.79) (Remote host closed the connection)
13:20:57 valzant joins (~parsival@209.141.195.79)
13:22:48 motherfsck joins (~motherfsc@user/motherfsck)
13:26:37 × burnsidesLlama quits (~burnsides@119247164140.ctinets.com) (Ping timeout: 252 seconds)
13:28:00 × hgolden quits (~hgolden@cpe-172-251-233-141.socal.res.rr.com) (Ping timeout: 264 seconds)
13:36:01 sammelweis joins (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10)
13:36:26 × rembo10 quits (~rembo10@main.remulis.com) (Quit: ZNC 1.8.2 - https://znc.in)
13:38:35 rembo10 joins (~rembo10@main.remulis.com)
13:45:53 matthewmosior joins (~matthewmo@173.170.253.91)
13:48:13 × fjMSX quits (~hypni2p@2.92.213.55) (Read error: Connection reset by peer)
13:49:19 × matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection)
13:49:25 matthewm_ joins (~matthewmo@173.170.253.91)
13:53:52 fjMSX joins (~hypni2p@2.92.213.55)
13:59:10 <matthewm_> hi
14:02:52 × MajorBiscuit quits (~MajorBisc@c-001-020-032.client.tudelft.eduvpn.nl) (Ping timeout: 246 seconds)
14:03:48 × jespada quits (~jespada@cpc121060-nmal24-2-0-cust249.19-2.cable.virginm.net) (Read error: Connection reset by peer)
14:04:08 jespada_ joins (~jespada@cpc121060-nmal24-2-0-cust249.19-2.cable.virginm.net)
14:08:43 × lortabac quits (~lortabac@2a01:e0a:541:b8f0:4ff0:be78:f674:f69e) (Quit: WeeChat 2.8)
14:11:59 <[exa]> matthewm_: hello!
14:15:25 <ski> Clinton[m] : that `Exists c' expresses `exists a. c a *> a' (bundling a single value of abstract type with a provided constraint over that type) (cf. Rust traits, Java interfaces). what you're asking for is `exists a. f a' (abstracting only part of the type of a larger "collection" type). neither is more general. least common generalization would be `exists a. c a *> f a'
14:15:30 <ski> @hackage some
14:15:30 <lambdabot> https://hackage.haskell.org/package/some
14:15:47 <ski> Clinton[m] : seems that ^ has what you were asking for
14:20:43 × EashanHatti quits (~Thunderbi@c-24-126-44-70.hsd1.wv.comcast.net) (Ping timeout: 246 seconds)
14:21:08 EashanHatti joins (~Thunderbi@c-24-126-44-70.hsd1.wv.comcast.net)
14:23:32 <ski> (the `Data.Some.GADT' variant is your `Blah'. `Data.Some'/`Data.SomeNewtype' is a `newtype' version that avoids the data constructor wrapping (possible since there's no constraints, but GHC still doesn't allow this with `ExistentialQuantification'/`GADTs', so they do a hack to get around that). `Data.Some.Church' is the CPS representation (`newtype', value wrapped inside generator accepting
14:23:39 <ski> consumer/continuation))
14:25:38 × odnes quits (~odnes@ppp089210198232.access.hol.gr) (Quit: Leaving)
14:27:27 segfaultfizzbuzz joins (~segfaultf@23-93-74-212.fiber.dynamic.sonic.net)
14:33:40 × EashanHatti quits (~Thunderbi@c-24-126-44-70.hsd1.wv.comcast.net) (Ping timeout: 246 seconds)
14:35:32 EashanHatti joins (~Thunderbi@c-24-126-44-70.hsd1.wv.comcast.net)
14:35:35 jakalx parts (~jakalx@base.jakalx.net) (Error from remote client)
14:36:31 × matthewm_ quits (~matthewmo@173.170.253.91) (Remote host closed the connection)
14:37:29 matthewmosior joins (~matthewmo@173.170.253.91)
14:40:16 jakalx joins (~jakalx@base.jakalx.net)
14:42:03 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 265 seconds)
14:42:21 bahamas joins (~lucian@93.122.251.83)
14:44:56 × `2jt quits (~jtomas@105.red-88-17-232.dynamicip.rima-tde.net) (Ping timeout: 265 seconds)
14:48:03 × coot quits (~coot@213.134.176.158) (Quit: coot)
14:48:04 Sgeo joins (~Sgeo@user/sgeo)
14:48:42 jgeerds_ joins (~jgeerds@55d46bad.access.ecotel.net)
14:49:46 × valzant quits (~parsival@209.141.195.79) (Ping timeout: 246 seconds)
14:50:11 matthewmosior joins (~matthewmo@173.170.253.91)
14:58:30 shriekingnoise joins (~shrieking@186.137.167.202)
14:59:59 `2jt joins (~jtomas@105.red-88-17-232.dynamicip.rima-tde.net)
15:00:18 × sammelweis quits (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10) (Quit: No Ping reply in 180 seconds.)
15:00:26 sammelweis joins (~quassel@2601:401:8200:2d4c:bd9:d04c:7f69:eb10)
15:01:28 rockymarine joins (~rocky@user/rockymarine)
15:07:47 × ChaiTRex quits (~ChaiTRex@user/chaitrex) (Ping timeout: 258 seconds)
15:08:10 × stiell_ quits (~stiell@gateway/tor-sasl/stiell) (Ping timeout: 258 seconds)
15:08:33 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 258 seconds)
15:08:37 × raehik quits (~raehik@global-5-14.n-1.net.cam.ac.uk) (Ping timeout: 265 seconds)
15:10:53 valzant joins (~parsival@209.141.195.79)
15:11:20 MoC joins (~moc@user/moc)
15:11:23 nschoe joins (~quassel@2a01:e0a:8e:a190:812c:89d3:c1d4:ec73)
15:11:25 ChaiTRex joins (~ChaiTRex@user/chaitrex)
15:12:32 × ChaiTRex quits (~ChaiTRex@user/chaitrex) (Remote host closed the connection)
15:13:12 ChaiTRex joins (~ChaiTRex@user/chaitrex)
15:14:49 × jonathanx quits (~jonathan@h-98-128-168-222.NA.cust.bahnhof.se) (Remote host closed the connection)
15:15:35 × valzant quits (~parsival@209.141.195.79) (Ping timeout: 268 seconds)
15:16:57 mikoto-chan joins (~mikoto-ch@2001:999:481:3c50:daca:9ed0:43e3:cec0)
15:17:42 valzant joins (~parsival@209.141.195.79)
15:17:56 × kenran quits (~kenran@200116b82b90a700e604c19a814c9950.dip.versatel-1u1.de) (Quit: WeeChat info:version)
15:17:58 bgs joins (~bgs@212-85-160-171.dynamic.telemach.net)
15:18:05 × rockymarine quits (~rocky@user/rockymarine) (Ping timeout: 252 seconds)
15:19:57 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
15:20:03 × califax quits (~califax@user/califx) (Ping timeout: 258 seconds)
15:20:34 raehik joins (~raehik@global-5-16.n-1.net.cam.ac.uk)
15:21:01 califax joins (~califax@user/califx)
15:21:10 gurkenglas joins (~gurkengla@p548ac72e.dip0.t-ipconnect.de)
15:21:14 stiell_ joins (~stiell@gateway/tor-sasl/stiell)
15:21:34 × califax quits (~califax@user/califx) (Remote host closed the connection)
15:22:18 califax joins (~califax@user/califx)
15:23:14 acidjnk_new joins (~acidjnk@p200300d6e7137a44443de5f7538556f2.dip0.t-ipconnect.de)
15:24:10 rockymarine joins (~rocky@user/rockymarine)
15:25:30 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
15:26:25 × nschoe quits (~quassel@2a01:e0a:8e:a190:812c:89d3:c1d4:ec73) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
15:29:38 × stiell_ quits (~stiell@gateway/tor-sasl/stiell) (Ping timeout: 258 seconds)
15:29:40 coot joins (~coot@213.134.176.158)
15:30:24 × califax quits (~califax@user/califx) (Ping timeout: 258 seconds)
15:35:56 × gurkenglas quits (~gurkengla@p548ac72e.dip0.t-ipconnect.de) (Ping timeout: 268 seconds)
15:39:50 × MoC quits (~moc@user/moc) (Read error: Connection reset by peer)
15:39:54 MoC_ joins (~moc@user/moc)
15:40:01 MoC_ is now known as MoC
15:40:28 × chexum quits (~quassel@gateway/tor-sasl/chexum) (Remote host closed the connection)
15:41:00 × matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection)
15:41:04 chexum joins (~quassel@gateway/tor-sasl/chexum)
15:42:37 × raehik quits (~raehik@global-5-16.n-1.net.cam.ac.uk) (Ping timeout: 246 seconds)
15:43:02 stiell_ joins (~stiell@gateway/tor-sasl/stiell)
15:43:21 califax joins (~califax@user/califx)
15:44:43 × stiell_ quits (~stiell@gateway/tor-sasl/stiell) (Remote host closed the connection)
15:45:08 stiell_ joins (~stiell@gateway/tor-sasl/stiell)
15:48:52 raehik joins (~raehik@global-5-13.n-1.net.cam.ac.uk)
15:49:01 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
15:51:27 notzmv joins (~zmv@user/notzmv)
15:51:46 matthewmosior joins (~matthewmo@173.170.253.91)
15:52:23 burnsidesLlama joins (~burnsides@119247164140.ctinets.com)
15:52:25 × `2jt quits (~jtomas@105.red-88-17-232.dynamicip.rima-tde.net) (Ping timeout: 246 seconds)
15:53:34 × raehik quits (~raehik@global-5-13.n-1.net.cam.ac.uk) (Ping timeout: 265 seconds)
15:55:09 raehik joins (~raehik@global-5-13.n-1.net.cam.ac.uk)
15:56:37 × burnsidesLlama quits (~burnsides@119247164140.ctinets.com) (Ping timeout: 246 seconds)
15:59:04 × acidjnk_new quits (~acidjnk@p200300d6e7137a44443de5f7538556f2.dip0.t-ipconnect.de) (Ping timeout: 246 seconds)
15:59:57 × waldo quits (~waldo@user/waldo) (Ping timeout: 250 seconds)
16:00:09 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
16:02:09 × raehik quits (~raehik@global-5-13.n-1.net.cam.ac.uk) (Ping timeout: 244 seconds)
16:03:11 × mikoto-chan quits (~mikoto-ch@2001:999:481:3c50:daca:9ed0:43e3:cec0) (Ping timeout: 244 seconds)
16:05:40 × valzant quits (~parsival@209.141.195.79) (Ping timeout: 265 seconds)
16:11:01 × bahamas quits (~lucian@93.122.251.83) (Quit: Lost terminal)
16:11:48 × vglfr quits (~vglfr@145.224.94.75) (Ping timeout: 264 seconds)
16:16:02 × vulpine quits (xfnw@tilde.team) (Quit: Connection reset by purr)
16:17:29 × zxx7529 quits (~Thunderbi@user/zxx7529) (Remote host closed the connection)
16:19:05 × Natch quits (~natch@c-9e07225c.038-60-73746f7.bbcust.telenor.se) (Remote host closed the connection)
16:19:20 raehik joins (~raehik@global-5-13.n-1.net.cam.ac.uk)
16:19:32 × DavidBinder quits (~DavidBind@134.2.10.18) (Quit: Leaving)
16:19:36 × rockymarine quits (~rocky@user/rockymarine) (Ping timeout: 264 seconds)
16:20:46 × jgeerds_ quits (~jgeerds@55d46bad.access.ecotel.net) (Ping timeout: 246 seconds)
16:20:53 vulpine joins (xfnw@tilde.team)
16:21:47 rockymarine joins (~rocky@user/rockymarine)
16:23:30 waldo joins (~waldo@user/waldo)
16:25:42 × img quits (~img@user/img) (Quit: ZNC 1.8.2 - https://znc.in)
16:28:38 img joins (~img@user/img)
16:29:56 vglfr joins (~vglfr@145.224.100.249)
16:30:33 johnw joins (~johnw@76-234-69-149.lightspeed.frokca.sbcglobal.net)
16:31:28 Natch joins (~natch@c-9e07225c.038-60-73746f7.bbcust.telenor.se)
16:35:22 × kuribas quits (~user@ptr-17d51enb5v9fgypvpol.18120a2.ip6.access.telenet.be) (Remote host closed the connection)
16:35:28 × raehik quits (~raehik@global-5-13.n-1.net.cam.ac.uk) (Ping timeout: 246 seconds)
16:38:53 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
16:40:25 Tuplanolla joins (~Tuplanoll@91-159-69-34.elisa-laajakaista.fi)
16:42:43 berberman joins (~berberman@user/berberman)
16:43:54 aoeu joins (~aoeu@196.red-81-43-248.staticip.rima-tde.net)
16:46:23 raehik joins (~raehik@global-5-14.n-1.net.cam.ac.uk)
16:49:47 × xstill_ quits (xstill@fimu/xstill) (Quit: Ping timeout (120 seconds))
16:51:05 xstill_ joins (xstill@fimu/xstill)
16:51:22 `2jt joins (~jtomas@105.red-88-17-232.dynamicip.rima-tde.net)
16:54:46 azimut joins (~azimut@gateway/tor-sasl/azimut)
16:55:25 × berberman quits (~berberman@user/berberman) (Quit: ZNC 1.8.2 - https://znc.in)
16:55:37 × raehik quits (~raehik@global-5-14.n-1.net.cam.ac.uk) (Ping timeout: 252 seconds)
16:56:12 berberman joins (~berberman@user/berberman)
16:58:55 × rockymarine quits (~rocky@user/rockymarine) (Ping timeout: 246 seconds)
16:59:43 × azimut quits (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 258 seconds)
17:00:45 × `2jt quits (~jtomas@105.red-88-17-232.dynamicip.rima-tde.net) (Ping timeout: 265 seconds)
17:01:15 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
17:01:27 rockymarine joins (~rocky@user/rockymarine)
17:04:39 raehik joins (~raehik@global-5-15.n-1.net.cam.ac.uk)
17:05:14 × mjs2600 quits (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net) (Quit: ZNC 1.8.2 - https://znc.in)
17:06:16 × rockymarine quits (~rocky@user/rockymarine) (Ping timeout: 246 seconds)
17:06:45 mjs2600 joins (~mjs2600@c-24-91-3-49.hsd1.vt.comcast.net)
17:10:07 × johnjaye quits (~pi@173.209.64.74) (Ping timeout: 246 seconds)
17:11:31 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
17:12:16 johnjaye joins (~pi@173.209.64.74)
17:12:17 × Logio quits (em@kapsi.fi) (Remote host closed the connection)
17:12:34 × Henkru quits (henkru@kapsi.fi) (Remote host closed the connection)
17:14:21 econo joins (uid147250@user/econo)
17:14:24 × MoC quits (~moc@user/moc) (Quit: Konversation terminated!)
17:15:14 waleee joins (~waleee@2001:9b0:213:7200:cc36:a556:b1e8:b340)
17:17:01 MoC joins (~moc@user/moc)
17:21:40 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
17:23:23 × bgs quits (~bgs@212-85-160-171.dynamic.telemach.net) (Remote host closed the connection)
17:25:27 tzh joins (~tzh@c-24-21-73-154.hsd1.or.comcast.net)
17:26:05 hgolden joins (~hgolden@cpe-172-251-233-141.socal.res.rr.com)
17:26:34 × waldo quits (~waldo@user/waldo) (Ping timeout: 246 seconds)
17:28:13 × Lears quits (~Leary]@user/Leary/x-0910699) (Remote host closed the connection)
17:29:03 [Leary] joins (~Leary]@user/Leary/x-0910699)
17:34:24 × lottaquestions quits (~nick@2607:fa49:503e:7100:add5:b9e8:89e3:e304) (Remote host closed the connection)
17:35:04 jmdaemon joins (~jmdaemon@user/jmdaemon)
17:35:56 × mesaoptimizer quits (apotheosis@user/PapuaHardyNet) (Quit: mesaoptimizer)
17:36:07 mesaoptimizer joins (apotheosis@user/PapuaHardyNet)
17:38:11 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
17:51:29 waldo joins (~waldo@user/waldo)
17:52:44 × catern quits (~sbaugh@2604:2000:8fc0:b:a9c7:866a:bf36:3407) (Ping timeout: 244 seconds)
17:54:04 × raehik quits (~raehik@global-5-15.n-1.net.cam.ac.uk) (Ping timeout: 268 seconds)
17:57:47 raehik joins (~raehik@global-5-15.n-1.net.cam.ac.uk)
17:58:16 acidjnk_new joins (~acidjnk@p200300d6e7137a440dc2598308a8f039.dip0.t-ipconnect.de)
18:00:40 × ec_ quits (~ec@gateway/tor-sasl/ec) (Ping timeout: 258 seconds)
18:01:39 jgeerds_ joins (~jgeerds@55d46bad.access.ecotel.net)
18:01:39 × johnjaye quits (~pi@173.209.64.74) (Ping timeout: 265 seconds)
18:01:55 ec_ joins (~ec@gateway/tor-sasl/ec)
18:02:28 johnjaye joins (~pi@173.209.64.74)
18:02:44 × matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection)
18:03:30 × ec_ quits (~ec@gateway/tor-sasl/ec) (Remote host closed the connection)
18:03:55 ec_ joins (~ec@gateway/tor-sasl/ec)
18:06:33 matthewmosior joins (~matthewmo@173.170.253.91)
18:11:19 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 265 seconds)
18:11:27 littlebobeep joins (~alMalsamo@gateway/tor-sasl/almalsamo)
18:12:47 × littlebobeep quits (~alMalsamo@gateway/tor-sasl/almalsamo) (Client Quit)
18:13:06 rockymarine joins (~rocky@user/rockymarine)
18:15:12 catern joins (~sbaugh@2604:2000:8fc0:b:a9c7:866a:bf36:3407)
18:20:47 o-90 joins (~o-90@gateway/tor-sasl/o-90)
18:20:47 × beteigeuze quits (~Thunderbi@p5090d00a.dip0.t-ipconnect.de) (Read error: Connection reset by peer)
18:20:55 beteigeuze1 joins (~Thunderbi@p5090d00a.dip0.t-ipconnect.de)
18:21:05 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
18:21:05 jakalx parts (~jakalx@base.jakalx.net) ()
18:21:47 × jgeerds_ quits (~jgeerds@55d46bad.access.ecotel.net) (Ping timeout: 252 seconds)
18:22:40 seydar joins (~seydar@154-27-113-252.starry-inc.net)
18:22:41 jakalx joins (~jakalx@base.jakalx.net)
18:23:14 beteigeuze1 is now known as beteigeuze
18:23:16 × chexum quits (~quassel@gateway/tor-sasl/chexum) (Remote host closed the connection)
18:24:31 <seydar> how do you parallelize `reduce`? I acknowledge it can be done, but... how?
18:24:44 <seydar> parallelizing recursive functions seems... not doable?
18:25:49 × Alex_test quits (~al_test@94.233.240.222) (Ping timeout: 252 seconds)
18:26:11 × AlexZenon quits (~alzenon@94.233.240.222) (Ping timeout: 252 seconds)
18:26:14 <Rembane> You can split the input into some chunks and run every chunk in parallell and then run reduce on the results
18:27:08 <c_wraith> you can't parallelize and arbitrary foldr
18:27:11 <c_wraith> *an
18:27:21 <c_wraith> There needs to be some additional structure
18:27:30 <seydar> c_wraith: okay, *that* makes sense
18:27:44 <seydar> Rembane: brilliant! hadn't thought of that
18:27:51 <c_wraith> a common bit of additional structure is making the operation monoidal
18:27:59 <c_wraith> then you know you can chunk up the work
18:29:37 chexum joins (~quassel@gateway/tor-sasl/chexum)
18:30:50 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
18:32:13 Alex_test joins (~al_test@94.233.240.222)
18:32:31 AlexZenon joins (~alzenon@94.233.240.222)
18:33:00 <Rembane> seydar: It's quite nifty. What c_wraith says is super important though, otherwise you'll just get something more complex that doesn't work. Another interesting aspect is that the splitting and merging can eat up all the performance gains.
18:33:25 matthewmosior joins (~matthewmo@173.170.253.91)
18:34:51 <c_wraith> also, pay attention to data structures. splitting a list is a lot more work than splitting a balanced tree, and even that is a lot less flexible than splitting an array
18:35:24 <EvanR> literally reducing, i mean foldling, a list seems, very sequential
18:35:51 <EvanR> so something about this game has to be changed to make it parallel
18:37:02 <geekosaur> that was what c_wraith was saying, I think
18:37:20 <geekosaur> re "some additional structure"
18:37:49 <EvanR> taking away the list structure is a start xD which is what all these conal videos are about
18:38:23 × o-90 quits (~o-90@gateway/tor-sasl/o-90) (Remote host closed the connection)
18:38:26 <EvanR> or keep the list and it's not actually foldl
18:38:30 Guest2 joins (~Guest2@241.red-79-154-208.dynamicip.rima-tde.net)
18:39:12 <EvanR> or what is reduce anyway
18:40:21 × Guest2 quits (~Guest2@241.red-79-154-208.dynamicip.rima-tde.net) (Client Quit)
18:40:22 × matthewmosior quits (~matthewmo@173.170.253.91) (Remote host closed the connection)
18:40:36 lottaquestions joins (~nick@2607:fa49:503e:7100:ede3:2530:9317:b779)
18:41:26 matthewmosior joins (~matthewmo@173.170.253.91)
18:45:56 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
18:46:22 × rockymarine quits (~rocky@user/rockymarine) (Ping timeout: 246 seconds)
18:47:02 <seydar> associativity! that's the word
18:47:18 <seydar> monads are associative. if we want to split up reduce, the underlying structure has to be associative
18:48:59 <geekosaur> who said it had to be a monad? as c_wraith noted, you only need monoidal. if course, if what you're reducing is monadic, then you're right
18:49:00 × acidjnk_new quits (~acidjnk@p200300d6e7137a440dc2598308a8f039.dip0.t-ipconnect.de) (Ping timeout: 264 seconds)
18:49:29 <geekosaur> (and you're using it. lists are monads,m but if you're not using the monad part again you only need the monoid part)
18:50:46 <geekosaur> (assuming the operation is monoidal)
18:51:23 <seydar> What do we mean when we say monoidal? What do we lose between monoidal and monad?
18:51:34 matthewmosior joins (~matthewmo@173.170.253.91)
18:51:59 × inversed quits (~inversed@90.209.137.56) (Ping timeout: 268 seconds)
18:52:10 <geekosaur> monoidal just means there's a "zero" and a combining operation of some kind; it's very simple
18:52:25 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 265 seconds)
18:52:33 Lord_of_Life_ joins (~Lord@user/lord-of-life/x-2819915)
18:53:17 × raehik quits (~raehik@global-5-15.n-1.net.cam.ac.uk) (Quit: WeeChat 3.6)
18:53:48 Lord_of_Life_ is now known as Lord_of_Life
18:54:05 <geekosaur> (well, there are a few other constraints, such as the same zero works on the left and the right, but that's pretty much given in Haskell)
18:54:56 <EvanR> a monad is actually a kind of monoid
18:55:11 <EvanR> I'll just leave it at that lol
18:55:24 <geekosaur> anyway if the operation is monoidal then you can arbitrarily split and recombine the data it operates on and get the same reault, guaranteed
18:55:25 <seydar> monoidal is also guaranteed to be associative i assume, right?
18:55:28 <geekosaur> *result
18:55:31 <seydar> kk
18:56:05 <geekosaur> should be associative and commutative as a result, I think
18:56:22 <geekosaur> at least in Haskell
18:56:31 <c_wraith> Not commutative
18:56:39 <EvanR> matrix multiplication
18:56:39 <c_wraith> > "a" <> "b"
18:56:41 <lambdabot> "ab"
18:56:47 <geekosaur> mm, right
18:56:52 <geekosaur> sorry
18:56:55 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
18:57:23 <c_wraith> But yeah, associative. Which is all you need in order to be able to break it up and recombine it, so long as you preserve the element order
18:57:25 <geekosaur> so do we have an additional requirement here? either it's commutative or the final order is irrelevant
18:57:34 × jero98772 quits (~jero98772@2800:484:1d80:d8ce:3490:26c5:1782:da8c) (Ping timeout: 246 seconds)
18:57:38 <geekosaur> which may be the same thing for at least some monoids (e.g. Sum)
18:57:51 inversed joins (~inversed@90.209.137.56)
18:58:03 <geekosaur> but not all, depends on whether you care if "ab" and "ba" are different or not
18:58:41 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 265 seconds)
18:59:02 gurkenglas joins (~gurkengla@p548ac72e.dip0.t-ipconnect.de)
19:01:47 rockymarine joins (~rocky@user/rockymarine)
19:02:23 × ChaiTRex quits (~ChaiTRex@user/chaitrex) (Ping timeout: 258 seconds)
19:02:45 pavonia joins (~user@user/siracusa)
19:02:49 ChaiTRex joins (~ChaiTRex@user/chaitrex)
19:05:39 <EvanR> multiset monoid
19:09:16 <dolio> You can parallelize with just associative, but I imagine it's much tricker to arrange for distributed scenarios.
19:10:46 jero98772 joins (~jero98772@2800:484:1d80:d8ce:3490:26c5:1782:da8c)
19:11:01 <dolio> Commutativity makes it much easier.
19:12:17 jgeerds_ joins (~jgeerds@55d46bad.access.ecotel.net)
19:12:24 × rockymarine quits (~rocky@user/rockymarine) (Ping timeout: 264 seconds)
19:14:33 matthewmosior joins (~matthewmo@173.170.253.91)
19:15:25 acidjnk_new joins (~acidjnk@p200300d6e7137a440dc2598308a8f039.dip0.t-ipconnect.de)
19:21:21 × seydar quits (~seydar@154-27-113-252.starry-inc.net) (Quit: leaving)
19:22:31 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 260 seconds)
19:22:38 × pretty_dumm_guy quits (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Quit: WeeChat 3.5)
19:25:02 tromp joins (~textual@92.110.219.57)
19:26:15 × bontaq` quits (~user@ool-45779fe5.dyn.optonline.net) (Ping timeout: 265 seconds)
19:28:00 × son0p quits (~ff@2800:e2:f80:867:cac2:6501:5166:e177) (Ping timeout: 264 seconds)
19:36:22 × tromp quits (~textual@92.110.219.57) (Quit: My iMac has gone to sleep. ZZZzzz…)
19:37:23 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
19:38:00 × MoC quits (~moc@user/moc) (Quit: Konversation terminated!)
19:42:46 × chexum quits (~quassel@gateway/tor-sasl/chexum) (Quit: No Ping reply in 180 seconds.)
19:42:48 gehmehgeh is now known as gmg
19:43:56 Logio joins (em@kapsi.fi)
19:45:04 chexum joins (~quassel@gateway/tor-sasl/chexum)
19:51:16 jonathanx joins (~jonathan@h-178-174-176-109.A357.priv.bahnhof.se)
19:52:20 matthewmosior joins (~matthewmo@173.170.253.91)
19:54:36 × berberman quits (~berberman@user/berberman) (Ping timeout: 260 seconds)
19:55:23 son0p joins (~ff@2800:e2:f80:867:cac2:6501:5166:e177)
19:56:43 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 244 seconds)
19:57:24 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
19:58:54 × Tuplanolla quits (~Tuplanoll@91-159-69-34.elisa-laajakaista.fi) (Quit: Leaving.)
19:59:56 aoeu is now known as _bo
20:00:14 burnsidesLlama joins (~burnsides@119247164140.ctinets.com)
20:02:00 × eggplantade quits (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 265 seconds)
20:02:51 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Remote host closed the connection)
20:03:35 FinnElija joins (~finn_elij@user/finn-elija/x-0085643)
20:04:45 kenran joins (~kenran@200116b82b90a700ecc41ed2c4ef9661.dip.versatel-1u1.de)
20:05:30 rockymarine joins (~rocky@user/rockymarine)
20:05:51 × gmg quits (~user@user/gehmehgeh) (Quit: Leaving)
20:06:01 × burnsidesLlama quits (~burnsides@119247164140.ctinets.com) (Ping timeout: 244 seconds)
20:08:03 titibandit joins (~titibandi@xdsl-87-78-162-143.nc.de)
20:21:14 ec joins (~ec@gateway/tor-sasl/ec)
20:21:19 × ec_ quits (~ec@gateway/tor-sasl/ec) (Remote host closed the connection)
20:22:25 × coot quits (~coot@213.134.176.158) (Ping timeout: 252 seconds)
20:25:43 matthewmosior joins (~matthewmo@173.170.253.91)
20:30:11 × matthewmosior quits (~matthewmo@173.170.253.91) (Ping timeout: 260 seconds)
20:30:17 eggplantade joins (~Eggplanta@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
20:31:06 jargon joins (~jargon@184.101.186.15)
20:35:24 × jargon quits (~jargon@184.101.186.15) (Remote host closed the connection)
20:53:12 × rockymarine quits (~rocky@user/rockymarine) (Ping timeout: 264 seconds)
20:54:41 × acidjnk_new quits (~acidjnk@p200300d6e7137a440dc2598308a8f039.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
20:55:26 × takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection)
20:55:26 `2jt joins (~jtomas@105.red-88-17-232.dynamicip.rima-tde.net)
20:56:34 × lyle quits (~lyle@104.246.145.85) (Quit: WeeChat 3.6)
21:00:16 matthewmosior joins (~matthewmo@173.170.253.91)
21:08:29 rockymarine joins (~rocky@user/rockymarine)
21:09:47 × titibandit quits (~titibandi@xdsl-87-78-162-143.nc.de) (Remote host closed the connection)
21:25:51 × waldo quits (~waldo@user/waldo) (Ping timeout: 252 seconds)
21:27:52 × kenran quits (~kenran@200116b82b90a700ecc41ed2c4ef9661.dip.versatel-1u1.de) (Quit: WeeChat info:version)
21:27:54 × Logio quits (em@kapsi.fi) (Remote host closed the connection)
21:29:27 × kmein quits (~weechat@user/kmein) (Quit: ciao kakao)
21:29:53 kmein joins (~weechat@user/kmein)
21:31:58 waldo joins (~waldo@user/waldo)
21:32:20 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
21:32:52 × `2jt quits (~jtomas@105.red-88-17-232.dynamicip.rima-tde.net) (Ping timeout: 265 seconds)
21:38:03 jargon joins (~jargon@184.101.186.15)
21:41:29 Null_A_ joins (~null_a@2601:645:8700:ac10:1005:19fc:119b:3387)
21:44:31 × Null_A quits (~null_a@2601:645:8700:ac10:655d:60dc:6144:b340) (Ping timeout: 246 seconds)
21:45:25 burnsidesLlama joins (~burnsides@119247164140.ctinets.com)
21:52:16 ober_ joins (~ober@71.235.16.183)
21:54:52 × waldo quits (~waldo@user/waldo) (Quit: quit)
21:56:33 harveypwca joins (~harveypwc@2601:246:c180:a570:3828:d8:e523:3f67)
21:58:28 berberman joins (~berberman@user/berberman)
21:59:56 × rockymarine quits (~rocky@user/rockymarine) (Ping timeout: 265 seconds)
22:05:08 × michalz quits (~michalz@185.246.207.197) (Remote host closed the connection)
22:12:30 × __monty__ quits (~toonn@user/toonn) (Quit: leaving)
22:15:54 Hafydd joins (jc@user/hafydd)
22:19:06 o-90 joins (~o-90@gateway/tor-sasl/o-90)
22:20:55 × johnjaye quits (~pi@173.209.64.74) (Ping timeout: 246 seconds)
22:22:56 johnjaye joins (~pi@173.209.64.74)
22:25:14 valzant joins (~parsival@209.141.195.79)
22:26:07 rockymarine joins (~rocky@user/rockymarine)
22:26:30 Enrico63 joins (~Enrico63@81.109.143.226)
22:28:06 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Ping timeout: 244 seconds)
22:29:20 × o-90 quits (~o-90@gateway/tor-sasl/o-90) (Remote host closed the connection)
22:29:43 × valzant quits (~parsival@209.141.195.79) (Ping timeout: 268 seconds)
22:32:12 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
22:33:05 × ober_ quits (~ober@71.235.16.183) (Quit: Leaving)
22:43:34 × califax quits (~califax@user/califx) (Ping timeout: 258 seconds)
22:44:53 × _bo quits (~aoeu@196.red-81-43-248.staticip.rima-tde.net) (Remote host closed the connection)
22:47:30 califax joins (~califax@user/califx)
22:54:25 × burnsidesLlama quits (~burnsides@119247164140.ctinets.com) (Remote host closed the connection)
22:56:01 burnsidesLlama joins (~burnsides@119247164140.ctinets.com)
23:00:28 × burnsidesLlama quits (~burnsides@119247164140.ctinets.com) (Ping timeout: 246 seconds)
23:03:28 berberman_ joins (~berberman@user/berberman)
23:04:19 × berberman quits (~berberman@user/berberman) (Ping timeout: 246 seconds)
23:06:13 × jpds1 quits (~jpds@gateway/tor-sasl/jpds) (Remote host closed the connection)
23:06:38 jpds1 joins (~jpds@gateway/tor-sasl/jpds)
23:07:55 × jpds1 quits (~jpds@gateway/tor-sasl/jpds) (Remote host closed the connection)
23:08:17 jpds1 joins (~jpds@gateway/tor-sasl/jpds)
23:19:38 emmanuelux joins (~emmanuelu@2a01cb0000f39300d565fcaab8cd0e44.ipv6.abo.wanadoo.fr)
23:27:48 burnsidesLlama joins (~burnsides@119247164140.ctinets.com)
23:28:47 bontaq` joins (~user@ool-45779fe5.dyn.optonline.net)
23:29:10 edrx joins (~Eduardo@2804:56c:d2dc:ac00:dab8:211d:d4eb:fa94)
23:33:13 × burnsidesLlama quits (~burnsides@119247164140.ctinets.com) (Ping timeout: 265 seconds)
23:41:59 × thyriaen quits (~thyriaen@2a02:8109:8340:686c:7383:e0e2:ad95:9fce) (Quit: Leaving)
23:46:19 × beteigeuze quits (~Thunderbi@p5090d00a.dip0.t-ipconnect.de) (Ping timeout: 246 seconds)
23:49:21 mvk joins (~mvk@2607:fea8:5ce3:8500::778c)

All times are in UTC on 2022-09-23.