Home liberachat/#haskell: Logs Calendar

Logs on 2023-10-14 (liberachat/#haskell)

00:01:39 × shriekingnoise quits (~shrieking@186.137.175.87) (Remote host closed the connection)
00:03:30 shriekingnoise joins (~shrieking@186.137.175.87)
00:04:20 alphacentauri joins (alphacenta@gateway/vpn/protonvpn/alphacentauri)
00:06:37 × kantokuen quits (~kantokuen@user/kantokuen) (Ping timeout: 255 seconds)
00:08:11 kantokuen joins (~kantokuen@user/kantokuen)
00:20:54 × pavonia quits (~user@user/siracusa) (Ping timeout: 245 seconds)
00:21:13 × bougatsa54 quits (~quassel@79.140.117.202) (Ping timeout: 258 seconds)
00:25:31 × alphacentauri quits (alphacenta@gateway/vpn/protonvpn/alphacentauri) (Quit: WeeChat 4.0.5)
00:27:38 alphacentauri joins (alphacenta@gateway/vpn/protonvpn/alphacentauri)
00:34:04 × alphacentauri quits (alphacenta@gateway/vpn/protonvpn/alphacentauri) (Ping timeout: 255 seconds)
00:35:58 alphacentauri joins (alphacenta@gateway/vpn/protonvpn/alphacentauri)
00:39:19 × azimut quits (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 252 seconds)
00:39:19 × stiell_ quits (~stiell@gateway/tor-sasl/stiell) (Ping timeout: 252 seconds)
00:39:20 azimut_ joins (~azimut@gateway/tor-sasl/azimut)
00:43:23 hugo joins (znc@verdigris.lysator.liu.se)
00:49:38 glider joins (~glider@user/glider)
00:52:36 stiell_ joins (~stiell@gateway/tor-sasl/stiell)
00:53:11 pavonia joins (~user@user/siracusa)
00:54:23 Lord_of_Life_ joins (~Lord@user/lord-of-life/x-2819915)
00:54:46 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 255 seconds)
00:55:42 Lord_of_Life_ is now known as Lord_of_Life
00:57:09 × hugo quits (znc@verdigris.lysator.liu.se) (Ping timeout: 245 seconds)
01:20:04 × otto_s quits (~user@p5de2f441.dip0.t-ipconnect.de) (Ping timeout: 245 seconds)
01:21:40 nate2 joins (~nate@c-98-45-169-16.hsd1.ca.comcast.net)
01:21:57 otto_s joins (~user@p4ff276f0.dip0.t-ipconnect.de)
01:22:51 hugo joins (znc@verdigris.lysator.liu.se)
01:26:16 × nate2 quits (~nate@c-98-45-169-16.hsd1.ca.comcast.net) (Ping timeout: 255 seconds)
01:30:39 grnman_ joins (~michaelsc@c-66-176-3-51.hsd1.fl.comcast.net)
01:33:06 machinedgod joins (~machinedg@d198-53-218-113.abhsia.telus.net)
01:40:13 × machinedgod quits (~machinedg@d198-53-218-113.abhsia.telus.net) (Ping timeout: 255 seconds)
01:41:59 machinedgod joins (~machinedg@d198-53-218-113.abhsia.telus.net)
01:51:39 × erisco quits (~erisco@d24-141-66-165.home.cgocable.net) (Quit: ZNC 1.8.2+cygwin2 - https://znc.in)
01:52:56 erisco joins (~erisco@d24-141-66-165.home.cgocable.net)
02:10:14 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:e9bd:5819:8ed0:a709) (Remote host closed the connection)
02:10:30 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:e9bd:5819:8ed0:a709)
02:11:00 × waleee quits (~waleee@2001:9b0:21c:e600:f2f3:f744:435d:137c) (Ping timeout: 240 seconds)
02:11:24 waleee joins (~waleee@h-176-10-137-138.NA.cust.bahnhof.se)
02:13:55 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Ping timeout: 252 seconds)
02:13:55 × ec quits (~ec@gateway/tor-sasl/ec) (Ping timeout: 252 seconds)
02:13:55 × chexum quits (~quassel@gateway/tor-sasl/chexum) (Ping timeout: 252 seconds)
02:13:56 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
02:14:17 × chiselfuse quits (~chiselfus@user/chiselfuse) (Ping timeout: 252 seconds)
02:14:40 chexum joins (~quassel@gateway/tor-sasl/chexum)
02:16:18 FinnElija joins (~finn_elij@user/finn-elija/x-0085643)
02:16:27 ec joins (~ec@gateway/tor-sasl/ec)
02:21:48 chiselfuse joins (~chiselfus@user/chiselfuse)
02:26:44 × waleee quits (~waleee@h-176-10-137-138.NA.cust.bahnhof.se) (Ping timeout: 245 seconds)
02:35:55 × Deide quits (d0130db69a@user/deide) (Quit: Gateway shutdown)
02:36:23 barzo joins (~hd@31.223.56.222)
02:38:40 × aforemny quits (~aforemny@2001:9e8:6cd6:7400:b7d3:7ab0:b698:3db3) (Ping timeout: 252 seconds)
02:39:17 aforemny joins (~aforemny@i59F516F5.versanet.de)
02:39:34 × erisco quits (~erisco@d24-141-66-165.home.cgocable.net) (Quit: ZNC 1.8.2+cygwin2 - https://znc.in)
02:40:13 finn_elija joins (~finn_elij@user/finn-elija/x-0085643)
02:40:13 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Killed (NickServ (Forcing logout FinnElija -> finn_elija)))
02:40:13 finn_elija is now known as FinnElija
02:40:50 erisco joins (~erisco@d24-141-66-165.home.cgocable.net)
02:48:56 × otto_s quits (~user@p4ff276f0.dip0.t-ipconnect.de) (Ping timeout: 255 seconds)
02:50:34 otto_s joins (~user@p4ff27101.dip0.t-ipconnect.de)
02:53:16 × td_ quits (~td@i53870911.versanet.de) (Ping timeout: 255 seconds)
02:54:58 td_ joins (~td@i53870903.versanet.de)
02:55:03 × machinedgod quits (~machinedg@d198-53-218-113.abhsia.telus.net) (Ping timeout: 255 seconds)
02:56:43 × aforemny quits (~aforemny@i59F516F5.versanet.de) (Ping timeout: 255 seconds)
02:59:29 sm joins (~sm@plaintextaccounting/sm)
02:59:49 × hololeap quits (~quassel@user/hololeap) (Quit: Bye)
03:00:04 × sm quits (~sm@plaintextaccounting/sm) (Client Quit)
03:02:32 aforemny joins (~aforemny@2001:9e8:6cfd:3800:9fcb:8345:7151:46cf)
03:07:16 × barzo quits (~hd@31.223.56.222) (Quit: Leaving)
03:07:49 hololeap joins (~quassel@user/hololeap)
03:13:37 lisbeths joins (uid135845@id-135845.lymington.irccloud.com)
03:13:41 aforemny_ joins (~aforemny@i59F516EA.versanet.de)
03:14:20 × aforemny quits (~aforemny@2001:9e8:6cfd:3800:9fcb:8345:7151:46cf) (Ping timeout: 272 seconds)
03:22:31 × ddellacosta quits (~ddellacos@ool-44c738de.dyn.optonline.net) (Ping timeout: 255 seconds)
03:23:12 ddellacosta joins (~ddellacos@ool-44c738de.dyn.optonline.net)
03:42:45 cuiltb^ joins (~cd@76.145.193.217)
03:48:01 × son0p quits (~ff@181.136.122.143) (Quit: Bye)
04:00:01 × sabino quits (~sabino@user/sabino) (Quit: Lambda _ -> x)
04:11:14 son0p joins (~ff@181.136.122.143)
04:14:02 × derpyxdhs quits (~Thunderbi@user/derpyxdhs) (Quit: derpyxdhs)
04:18:24 × grnman_ quits (~michaelsc@c-66-176-3-51.hsd1.fl.comcast.net) (Ping timeout: 245 seconds)
04:45:54 qqq joins (~qqq@92.43.167.61)
04:47:29 sm joins (~sm@plaintextaccounting/sm)
05:04:53 idgaen joins (~idgaen@2a01:e0a:498:fd50:fcc6:bb5d:489a:ce8c)
05:06:08 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:e9bd:5819:8ed0:a709) (Remote host closed the connection)
05:23:11 nate2 joins (~nate@c-98-45-169-16.hsd1.ca.comcast.net)
05:23:35 takuan joins (~takuan@178-116-218-225.access.telenet.be)
05:28:04 × nate2 quits (~nate@c-98-45-169-16.hsd1.ca.comcast.net) (Ping timeout: 255 seconds)
05:37:27 × bliminse quits (~bliminse@user/bliminse) (Quit: leaving)
05:42:05 vglfr joins (~vglfr@88.155.190.13)
05:46:08 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:e9bd:5819:8ed0:a709)
05:54:22 × mrmr155 quits (~mrmr@user/mrmr) (Ping timeout: 260 seconds)
05:55:11 bliminse joins (~bliminse@user/bliminse)
06:10:34 harveypwca joins (~harveypwc@2601:246:c280:6a90:837d:db39:3eea:f7db)
06:16:03 × vglfr quits (~vglfr@88.155.190.13) (Read error: Connection reset by peer)
06:16:24 vglfr joins (vglfr@gateway/vpn/protonvpn/vglfr)
06:21:47 × ddellacosta quits (~ddellacos@ool-44c738de.dyn.optonline.net) (Ping timeout: 255 seconds)
06:23:26 ddellacosta joins (~ddellacos@ool-44c738de.dyn.optonline.net)
06:29:42 × vglfr quits (vglfr@gateway/vpn/protonvpn/vglfr) (Ping timeout: 255 seconds)
06:32:11 × euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Read error: Connection reset by peer)
06:32:36 euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de)
06:37:09 vglfr joins (~vglfr@88.155.190.13)
06:43:30 × idgaen quits (~idgaen@2a01:e0a:498:fd50:fcc6:bb5d:489a:ce8c) (Quit: WeeChat 4.0.5)
06:52:38 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Read error: Connection reset by peer)
06:53:03 × bilegeek quits (~bilegeek@2600:1008:b049:c9c0:75cb:b58c:fd88:3c06) (Quit: Leaving)
06:55:55 × Unicorn_Princess quits (~Unicorn_P@user/Unicorn-Princess/x-3540542) (Remote host closed the connection)
06:59:11 × azimut_ quits (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 252 seconds)
07:13:40 jbalint_ joins (~jbalint@071-090-119-177.res.spectrum.com)
07:13:53 × jbalint quits (~jbalint@2600:6c44:117f:e98a:816a:9488:fb1:7b7) (Ping timeout: 255 seconds)
07:15:14 × acertain_ quits (sid470584@id-470584.hampstead.irccloud.com) (Ping timeout: 255 seconds)
07:15:21 × arkeet quits (arkeet@moriya.ca) (Ping timeout: 260 seconds)
07:15:32 arkeet joins (~arkeet@moriya.ca)
07:16:11 acertain_ joins (sid470584@id-470584.hampstead.irccloud.com)
07:17:56 mango joins (~finn@2001:861:5863:3d50:bff7:69f2:76bb:8d27)
07:24:39 × todi quits (~todi@p4fd1a3e6.dip0.t-ipconnect.de) (Ping timeout: 245 seconds)
07:33:50 billchenchina joins (~billchenc@2408:824e:d2c:5211:999c:9aa6:4dc6:3f84)
07:35:04 × alphacentauri quits (alphacenta@gateway/vpn/protonvpn/alphacentauri) (Ping timeout: 245 seconds)
07:38:19 alphacentauri joins (alphacenta@gateway/vpn/protonvpn/alphacentauri)
07:38:35 billchenchina- joins (~billchenc@103.152.35.21)
07:38:57 gmg joins (~user@user/gehmehgeh)
07:41:36 × billchenchina quits (~billchenc@2408:824e:d2c:5211:999c:9aa6:4dc6:3f84) (Ping timeout: 260 seconds)
07:46:13 × alphacentauri quits (alphacenta@gateway/vpn/protonvpn/alphacentauri) (Ping timeout: 255 seconds)
07:47:38 alphacentauri joins (alphacenta@gateway/vpn/protonvpn/alphacentauri)
07:48:41 × mango quits (~finn@2001:861:5863:3d50:bff7:69f2:76bb:8d27) (Ping timeout: 260 seconds)
07:49:06 Jackneill joins (~Jackneill@20014C4E1E021C00F91B42C66329EB9E.dsl.pool.telekom.hu)
07:49:23 × ChaiTRex quits (~ChaiTRex@user/chaitrex) (Remote host closed the connection)
07:49:47 ChaiTRex joins (~ChaiTRex@user/chaitrex)
08:02:09 biberu joins (~biberu@user/biberu)
08:03:12 × lisbeths quits (uid135845@id-135845.lymington.irccloud.com) (Quit: Connection closed for inactivity)
08:20:00 misterfish joins (~misterfis@84-53-85-146.bbserv.nl)
08:23:40 _ht joins (~Thunderbi@28-52-174-82.ftth.glasoperator.nl)
08:28:14 × euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Read error: Connection reset by peer)
08:28:31 euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de)
08:31:28 × wagle quits (~wagle@quassel.wagle.io) (Quit: No Ping reply in 180 seconds.)
08:32:51 wagle joins (~wagle@quassel.wagle.io)
08:33:35 zmt01 joins (~zmt00@user/zmt00)
08:34:54 myme joins (~myme@2a01:799:d60:e400:8777:ba1a:93ea:8bbd)
08:36:32 × zmt00 quits (~zmt00@user/zmt00) (Ping timeout: 260 seconds)
08:39:23 × alphacentauri quits (alphacenta@gateway/vpn/protonvpn/alphacentauri) (Quit: WeeChat 4.0.5)
08:41:35 × hiredman quits (~hiredman@frontier1.downey.family) (Ping timeout: 240 seconds)
08:42:26 hiredman joins (~hiredman@frontier1.downey.family)
08:43:38 × harveypwca quits (~harveypwc@2601:246:c280:6a90:837d:db39:3eea:f7db) (Quit: Leaving)
08:45:20 pandeyan joins (~pandeyan@135-180-55-136.fiber.dynamic.sonic.net)
08:46:24 × econo_ quits (uid147250@id-147250.tinside.irccloud.com) (Quit: Connection closed for inactivity)
08:46:27 × anpad quits (~pandeyan@user/anpad) (Ping timeout: 260 seconds)
08:52:54 × tzh quits (~tzh@c-71-193-181-0.hsd1.or.comcast.net) (Quit: zzz)
08:56:58 Tuplanolla joins (~Tuplanoll@91-159-68-236.elisa-laajakaista.fi)
09:01:39 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Ping timeout: 252 seconds)
09:02:42 FinnElija joins (~finn_elij@user/finn-elija/x-0085643)
09:24:23 nate2 joins (~nate@c-98-45-169-16.hsd1.ca.comcast.net)
09:25:25 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
09:27:05 × migas quits (~migas@astra4961.startdedicated.net) (Quit: Ping timeout (120 seconds))
09:27:22 migas joins (~migas@astra4961.startdedicated.net)
09:29:31 × nate2 quits (~nate@c-98-45-169-16.hsd1.ca.comcast.net) (Ping timeout: 260 seconds)
09:30:13 danza joins (~francesco@151.35.141.86)
09:30:23 emmanuelux joins (~emmanuelu@user/emmanuelux)
09:36:13 mango joins (~finn@2001:861:5863:3d50:bcc6:b471:f71c:7644)
09:36:34 alphacentauri joins (alphacenta@gateway/vpn/protonvpn/alphacentauri)
09:36:44 × misterfish quits (~misterfis@84-53-85-146.bbserv.nl) (Ping timeout: 245 seconds)
09:43:24 × xigua quits (~xigua@user/xigua) (Remote host closed the connection)
09:43:40 × euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Ping timeout: 255 seconds)
09:44:01 xigua joins (~xigua@user/xigua)
09:44:13 euleritian joins (~euleritia@dynamic-046-114-201-179.46.114.pool.telefonica.de)
09:44:32 miguelnegrao joins (~miguelneg@2001:818:dc71:d100:e682:f5cd:9590:d961)
09:44:36 × euleritian quits (~euleritia@dynamic-046-114-201-179.46.114.pool.telefonica.de) (Read error: Connection reset by peer)
09:44:53 euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de)
09:45:18 <miguelnegrao> Hi all
09:45:23 × berberman quits (~berberman@user/berberman) (Quit: ZNC 1.8.2 - https://znc.in)
09:46:06 berberman joins (~berberman@user/berberman)
09:46:08 <miguelnegrao> writting type signatures for lens functions is really hard. I'm pretty sure this function should work, and it does with concrete examples, but I can't write the type signature. Can anyone help ?
09:46:10 <miguelnegrao> setWithPrism prism newValue source =
09:46:12 <miguelnegrao> case preview prism source of
09:46:14 <miguelnegrao> Just _ -> Just (set prism newValue source)
09:46:16 <miguelnegrao> Nothing -> Nothing
09:46:49 <miguelnegrao> the idea is having prism check if the value exists, and if it does set it something else but return Just so that one can tell if the update was done or not
09:49:39 <[exa]> so basically like a setter, only reporting if stuff actually set anything or not? what would happen if it matches and sets multiple targets?
09:50:25 <[exa]> (you might need to have a monoid handy for such case, which might be why the types refuse to work)
09:51:02 <[exa]> (btw for others debugging here it might be good to have a running example handy on play.haskell.org)
09:53:38 <miguelnegrao> if matches multiple things then would also return a Just
09:54:44 <[exa]> anyway I believe a similar thing existed somewhere already, basically it's an usual optic but instead of the usual Identity or Const you smash in the `\x -> ([x],x)` as the functor
09:55:54 <miguelnegrao> example: https://play.haskell.org/saved/uZHT2NNf
09:57:00 <miguelnegrao> example with multiple targets: https://play.haskell.org/saved/jzTo8y3a
09:57:23 <miguelnegrao> hard to search for a function when you don't know its type signature :-)
09:59:24 <miguelnegrao> setWithPrism :: Prism' s a -> a -> s -> Maybe s Doesn't quite work
09:59:51 × mango quits (~finn@2001:861:5863:3d50:bcc6:b471:f71c:7644) (Ping timeout: 260 seconds)
10:01:45 <miguelnegrao> Anyway, its easy to work around the issue. Thanks exa !
10:02:10 Simikando joins (~Simikando@adsl-dyn158.91-127-59.t-com.sk)
10:02:14 <ncf> miguelnegrao: are you looking for `failover`?
10:02:21 <ncf> https://hackage.haskell.org/package/lens-5.2.3/docs/Control-Lens-Traversal.html#v:failover
10:03:02 <[exa]> miguelnegrao: try this: https://play.haskell.org/saved/f6sjY7Bv
10:03:28 <ncf> > [Left (1::Int), Left (2::Int),Right 3] & failover (_head . _Left) (const 200)
10:03:30 <lambdabot> error:
10:03:30 <lambdabot> • Ambiguous type variable ‘m0’ arising from a use of ‘show_M815894106384...
10:03:30 <lambdabot> prevents the constraint ‘(Show
10:03:53 <ncf> > [Left (1::Int), Left (2::Int),Right 3] & failover (_head . _Left) (const 200) :: Maybe [Either Int Int]
10:03:54 <lambdabot> Just [Left 200,Left 2,Right 3]
10:05:12 <[exa]> miguelnegrao: re the code above, there might be existing Applicative&Functor instances that do the same and I guess `failover` is also kinda isomorphic, but I guess it's the canonical solution that should work for all lensy things (you can also trivially implement `over` with that)
10:08:39 <[exa]> (also visibly `MaybeMatched a == Bool × a`, also an easy fix)
10:11:32 <ncf> Any × a, even, which is how failover is implemented
10:19:34 <[exa]> ah ok nice, there we go. :]
10:19:51 <miguelnegrao> Ah, yes, I think failover is exactly it, thanks !
10:20:42 <miguelnegrao> The lens library is like a holy book, one needs to study it carefully to find the answer :-)
10:21:08 × euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Ping timeout: 258 seconds)
10:21:35 euleritian joins (~euleritia@dynamic-046-114-201-179.46.114.pool.telefonica.de)
10:23:01 × Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
10:25:01 <ncf> more like a grimoire
10:27:39 <danza> i think most people learn it by other means that its official docs. Maybe there is an "optics by example" or similar book that is popular miguelnegrao
10:35:00 <miguelnegrao> having a [(Bool, Int)] I want to use set on the first element which has False on the first element of the tuple if it exists. Is there a better way than this ?
10:35:10 <miguelnegrao> set (taking 1 $ traversed . filtered (not . fst). _2) 100 [(True, 1::Int), (False, 2), (True, 3)]
10:35:16 × sudden quits (~cat@user/sudden) (Ping timeout: 255 seconds)
10:36:20 sudden joins (~cat@user/sudden)
10:36:21 <danza> i must be biased but can't see the advantage of using lenses in this case. Seems more complex than the naive way
10:37:14 × Simikando quits (~Simikando@adsl-dyn158.91-127-59.t-com.sk) (Remote host closed the connection)
10:37:28 <miguelnegrao> This is a simplified example, the complete thing has do drill down much more nested structures
10:37:52 <miguelnegrao> But yeah, fail over does what I need: failover (taking 1 $ traversed . filtered (not . fst). _2) (const 100) [(True, 1::Int), (True, 2), (True, 3)] returns Nothing
10:38:14 Simikando joins (~Simikando@adsl-dyn158.91-127-59.t-com.sk)
10:38:25 <miguelnegrao> and failover (taking 1 $ traversed . filtered (not . fst). _2) (const 100) [(True, 1::Int), (True, 2), (False, 3)] returns Just [(True,1),(True,2),(False,100)]
10:38:29 <miguelnegrao> nice !
10:39:05 <miguelnegrao> and this makes for quite compact code...
10:40:34 <[exa]> danza: BUT LENSES
10:40:40 <[exa]> :D
10:40:58 <danza> :D
10:42:47 <[exa]> anyway yeah the main point is that lenses kinda hold compact while data complexity goes through the roof
10:42:53 <[exa]> usually.
10:43:22 × Simikando quits (~Simikando@adsl-dyn158.91-127-59.t-com.sk) (Ping timeout: 272 seconds)
10:44:45 <ncf> traversed . itraversed . index False
10:45:12 <ncf> this is kinda abusing indexed traversals by making the first element of the tuple an index and then restricting on the index False
10:46:31 × Square quits (~Square@user/square) (Ping timeout: 255 seconds)
10:46:32 × euleritian quits (~euleritia@dynamic-046-114-201-179.46.114.pool.telefonica.de) (Read error: Connection reset by peer)
10:46:48 euleritian joins (~euleritia@77.22.252.56)
10:48:39 <cheater> what is the haskell equivalent of "every tool is a hammer"
10:49:13 <ncf> every function is traverse
10:49:18 Simikando joins (~Simikando@adsl-dyn158.91-127-59.t-com.sk)
10:50:28 <danza> what does "every tool is an hammer" even mean? I know "everything is a nail when you are holding an hammer", but not the former
10:51:59 <[exa]> unsafePerformHammer
10:53:20 × euleritian quits (~euleritia@77.22.252.56) (Ping timeout: 258 seconds)
10:54:01 <danza> when all you meet are nails, every tool is an hammer
10:54:10 euleritian joins (~euleritia@dynamic-046-114-201-179.46.114.pool.telefonica.de)
10:54:38 × euleritian quits (~euleritia@dynamic-046-114-201-179.46.114.pool.telefonica.de) (Read error: Connection reset by peer)
10:54:56 euleritian joins (~euleritia@77.22.252.56)
10:55:46 <cheater> it means if you just need to whack something you can use any piece of iron, even though you have a hammer, because reaching for the hammer is something you're too lazy for if you already have a pliers / wrench / whatever in your hand
10:56:38 <danza> thanks, had not found any reference online
10:58:16 <danza> in my haskell practice i would say "can be done with a bit of recursion"
11:00:12 mango joins (~finn@2001:861:5863:3d50:4228:915:4c70:1b46)
11:02:35 <danza> hum no... it is not really the same. Recursion is a flexible tool that can replace many others. Here we are chatting about a task that does not really need specialization
11:04:12 × arahael quits (~arahael@119-18-2-212.771202.syd.nbn.aussiebb.net) (Ping timeout: 240 seconds)
11:12:22 fendor joins (~fendor@2a02:8388:1640:be00:aab:1226:f274:5021)
11:14:48 × billchenchina- quits (~billchenc@103.152.35.21) (Remote host closed the connection)
11:17:40 <miguelnegrao> @ncf can you explain traversed . itraversed . index False ? Does itraverse interpret the pairs inside the list as index value pairs ?
11:17:40 <lambdabot> Maybe you meant: unpf rc bf
11:17:50 <ncf> miguelnegrao: yes
11:18:05 <ncf> it uses the TraversableWithIndex instance for ((,) i)
11:18:25 <miguelnegrao> nice ! :-D
11:24:17 × mango quits (~finn@2001:861:5863:3d50:4228:915:4c70:1b46) (Ping timeout: 246 seconds)
11:28:52 × td_ quits (~td@i53870903.versanet.de) (Ping timeout: 252 seconds)
11:30:32 td_ joins (~td@i5387092A.versanet.de)
11:40:29 × hugo quits (znc@verdigris.lysator.liu.se) (Ping timeout: 258 seconds)
11:43:50 hugo joins (znc@verdigris.lysator.liu.se)
11:51:52 misterfish joins (~misterfis@84-53-85-146.bbserv.nl)
11:57:50 × dgnl^ quits (~cd@76.145.193.217) (Remote host closed the connection)
11:59:22 × hugo quits (znc@verdigris.lysator.liu.se) (Ping timeout: 272 seconds)
12:08:05 × Simikando quits (~Simikando@adsl-dyn158.91-127-59.t-com.sk) (Ping timeout: 258 seconds)
12:08:57 × bionade24 quits (~bionade24@2a03:4000:33:45b::1) (Remote host closed the connection)
12:10:16 kalalele joins (~kalalele@86-93-144-218.fixed.kpn.net)
12:11:21 privacy joins (~privacy@user/privacy)
12:14:21 Simikando joins (~Simikando@adsl-dyn158.91-127-59.t-com.sk)
12:14:59 × tv quits (~tv@user/tv) (Ping timeout: 258 seconds)
12:16:46 × ThePenguin quits (~ThePengui@cust-95-80-24-166.csbnet.se) (Quit: ThePenguin)
12:17:10 ThePenguin joins (~ThePengui@cust-95-80-24-166.csbnet.se)
12:17:47 hugo joins (znc@verdigris.lysator.liu.se)
12:19:04 × Simikando quits (~Simikando@adsl-dyn158.91-127-59.t-com.sk) (Client Quit)
12:24:25 × hugo quits (znc@verdigris.lysator.liu.se) (Ping timeout: 252 seconds)
12:28:47 × euleritian quits (~euleritia@77.22.252.56) (Ping timeout: 258 seconds)
12:29:24 euleritian joins (~euleritia@dynamic-046-114-201-179.46.114.pool.telefonica.de)
12:31:12 × euleritian quits (~euleritia@dynamic-046-114-201-179.46.114.pool.telefonica.de) (Read error: Connection reset by peer)
12:31:30 euleritian joins (~euleritia@77.22.252.56)
12:37:04 Unicorn_Princess joins (~Unicorn_P@user/Unicorn-Princess/x-3540542)
12:38:03 × danza quits (~francesco@151.35.141.86) (Read error: Connection reset by peer)
12:38:14 danza joins (~francesco@151.35.176.239)
12:40:22 × Vajb quits (~Vajb@2001:999:400:fb4a:5fa:e213:c009:c212) (Ping timeout: 252 seconds)
12:41:02 acidjnk joins (~acidjnk@p200300d6e7072f59fdc2fee6a7217a34.dip0.t-ipconnect.de)
12:42:38 Vajb joins (~Vajb@2001:999:609:3311:fee3:57f4:d80:814b)
12:45:28 __monty__ joins (~toonn@user/toonn)
12:48:23 tv joins (~tv@user/tv)
12:50:32 billchenchina joins (~billchenc@223.104.122.72)
12:53:47 × Unicorn_Princess quits (~Unicorn_P@user/Unicorn-Princess/x-3540542) (Quit: Leaving)
12:54:06 Unicorn_Princess joins (~Unicorn_P@user/Unicorn-Princess/x-3540542)
12:57:37 hugo joins (znc@verdigris.lysator.liu.se)
12:59:51 × billchenchina quits (~billchenc@223.104.122.72) (Ping timeout: 255 seconds)
13:07:57 × xdej quits (~xdej@quatramaran.salle-s.org) (Quit: j'ai lancé irssi avec LC_TYPE=UTF8 faut que je change ça.)
13:10:36 × euleritian quits (~euleritia@77.22.252.56) (Ping timeout: 240 seconds)
13:11:29 euleritian joins (~euleritia@dynamic-046-114-201-179.46.114.pool.telefonica.de)
13:13:55 billchenchina joins (~billchenc@223.104.122.88)
13:14:28 × billchenchina quits (~billchenc@223.104.122.88) (Max SendQ exceeded)
13:17:44 × euleritian quits (~euleritia@dynamic-046-114-201-179.46.114.pool.telefonica.de) (Read error: Connection reset by peer)
13:17:51 × Vajb quits (~Vajb@2001:999:609:3311:fee3:57f4:d80:814b) (Ping timeout: 258 seconds)
13:18:02 × sm quits (~sm@plaintextaccounting/sm) (Quit: sm)
13:18:15 euleritian joins (~euleritia@77.22.252.56)
13:18:16 Vajb joins (~Vajb@2001:999:584:acfe:2adf:4620:2462:b0dd)
13:20:09 × kalalele quits (~kalalele@86-93-144-218.fixed.kpn.net) (Read error: Connection reset by peer)
13:21:37 × ridcully quits (~ridcully@p57b5294c.dip0.t-ipconnect.de) (Remote host closed the connection)
13:21:56 ridcully joins (~ridcully@p57b5294c.dip0.t-ipconnect.de)
13:26:06 nate2 joins (~nate@c-98-45-169-16.hsd1.ca.comcast.net)
13:27:31 × euleritian quits (~euleritia@77.22.252.56) (Read error: Connection reset by peer)
13:28:13 euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de)
13:31:05 × nate2 quits (~nate@c-98-45-169-16.hsd1.ca.comcast.net) (Ping timeout: 255 seconds)
13:39:19 × danza quits (~francesco@151.35.176.239) (Ping timeout: 258 seconds)
13:51:48 waleee joins (~waleee@2001:9b0:21c:e600:f2f3:f744:435d:137c)
14:01:03 × miguelnegrao quits (~miguelneg@2001:818:dc71:d100:e682:f5cd:9590:d961) (Quit: miguelnegrao)
14:13:08 mrmr155 joins (~mrmr@user/mrmr)
14:26:56 × waleee quits (~waleee@2001:9b0:21c:e600:f2f3:f744:435d:137c) (Ping timeout: 272 seconds)
14:29:17 mango joins (~finn@2001:861:5863:3d50:1722:7a12:236d:8e04)
14:29:32 wroathe joins (~wroathe@207-153-38-140.fttp.usinternet.com)
14:29:32 × wroathe quits (~wroathe@207-153-38-140.fttp.usinternet.com) (Changing host)
14:29:32 wroathe joins (~wroathe@user/wroathe)
14:31:32 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
14:45:24 × mango quits (~finn@2001:861:5863:3d50:1722:7a12:236d:8e04) (Ping timeout: 240 seconds)
14:51:23 simendsjo joins (~user@84.211.91.241)
15:02:40 michalz joins (~michalz@185.246.207.197)
15:06:59 idgaen joins (~idgaen@2a01:e0a:498:fd50:fcc6:bb5d:489a:ce8c)
15:08:17 emmanuelux_ joins (~emmanuelu@user/emmanuelux)
15:09:19 × emmanuelux quits (~emmanuelu@user/emmanuelux) (Ping timeout: 255 seconds)
15:10:16 bougatsa54 joins (~quassel@79.140.117.202)
15:13:38 sabino joins (~sabino@user/sabino)
15:19:54 <haskellbridge> <I​nst> btw, if you guys want a fun game
15:20:31 <haskellbridge> <I​nst> how long does it take for you to figure out why this code is valid?
15:20:32 <haskellbridge> <I​nst> https://paste.tomsmeding.com/6Kj3Wk2U
15:20:59 <haskellbridge> <I​nst> i'm 20-30 seconds, a senior moderator on Discord was maybe 5 seconds
15:21:50 <bougatsa54> I don't unnderstand the question, isn't it valid because show converts x to a string?
15:22:44 <haskellbridge> <I​nst> it's just a silly trick question, i guess
15:22:55 <ncf> bougatsa54: note that it wouldn't work with Text (if you used Text.show)
15:23:38 <haskellbridge> <I​nst> yeah, cause text isn't monadic
15:23:58 <haskellbridge> <I​nst> so i guess most people here are under 10 seconds?
15:24:43 <bougatsa54> :D oh I see
15:25:25 × bougatsa54 quits (~quassel@79.140.117.202) ()
15:29:05 post64k joins (~quassel@79.140.117.202)
15:29:31 econo_ joins (uid147250@id-147250.tinside.irccloud.com)
15:29:43 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 264 seconds)
15:31:01 <geekosaur> about a second and a half, fwiw
15:31:11 <mauke> I was confused why it wouldn't be valid
15:32:15 <haskellbridge> <I​nst> i guess the trick is that some people hate strings
15:32:24 <haskellbridge> <I​nst> and don't think about it often enough
15:34:03 × biberu quits (~biberu@user/biberu) (Read error: Connection reset by peer)
15:36:10 azimut joins (~azimut@gateway/tor-sasl/azimut)
15:41:25 <haskellbridge> <I​nst> mauke: at the outset, i was thinking "what monadic type does return stuff True into?"
15:42:23 <haskellbridge> <I​nst> it also implies any usage of lists under do notation can be trivially terminated with a string
15:42:25 × alphacentauri quits (alphacenta@gateway/vpn/protonvpn/alphacentauri) (Quit: WeeChat 4.0.5)
15:44:56 <mauke> return? any type you want
15:44:57 alphacentauri joins (alphacenta@gateway/vpn/protonvpn/alphacentauri)
15:46:04 <haskellbridge> <I​nst> i mean it's a -> m a, but what's the m
15:46:12 <haskellbridge> <I​nst> also [1..100] >> "Hello" works as an extension
15:47:01 <haskellbridge> <I​nst> odious idioms that must never be used, part 43
15:47:37 × Feuermagier quits (~Feuermagi@user/feuermagier) (Remote host closed the connection)
15:48:15 <ncf> hideoms
15:48:24 <haskellbridge> <I​nst> i guess "Hello" <$ [1..100] is more reasonable
15:49:35 wootehfoot joins (~wootehfoo@user/wootehfoot)
15:52:13 <haskellbridge> <I​nst> does anyone use sequence [[foo,bar],[baz,qux]] as a cartesian product generator?
15:52:32 <geekosaur> it's an idiom I have seen
15:52:35 <monochrom> I do.
15:52:50 × euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Ping timeout: 255 seconds)
15:52:51 <monochrom> I even put it on exams. >:)
15:53:29 <monochrom> "Dove Taylor loves loops. So much that she wants the number of level of loops to depend on input."
15:53:43 machinedgod joins (~machinedg@d198-53-218-113.abhsia.telus.net)
15:54:22 <monochrom> Thus [[a,b], [c,d,e]] is two levels, [[a,b], [c,d,e], [f,g]] is 3 levels.
15:55:08 <int-e> > replicateM 3 [0,1] -- I do this kind of thing on occasion
15:55:17 <int-e> > replicateM 3 [0,1]
15:55:19 <lambdabot> [[0,0,0],[0,0,1],[0,1,0],[0,1,1],[1,0,0],[1,0,1],[1,1,0],[1,1,1]]
15:55:47 <monochrom> If you take a computability course and need to do dovetailing, you immediately see the relevance, and why I called her Dove Taylor. >:)
15:56:52 <haskellbridge> <I​nst> sounds SICPy
15:58:00 <mauke> I once tried to tail a dove, but it got away from me
15:58:17 euleritian joins (~euleritia@dynamic-046-114-206-032.46.114.pool.telefonica.de)
15:59:50 <haskellbridge> <I​nst> what is the actual question?
16:00:04 <haskellbridge> <I​nst> and how many people try to implement it via sequence, how many via monadic do, and how many via list comprehensions?
16:00:32 <monochrom> How to implement sequence.
16:01:22 <haskellbridge> <I​nst> ah
16:02:07 <haskellbridge> <I​nst> with the strict Applicative constraint, or Monads are allowed?
16:02:40 <monochrom> Applicative
16:03:19 × azimut quits (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 252 seconds)
16:04:04 <haskellbridge> <I​nst> it's actually sequenceA that has the applicative constraint, ffff
16:04:12 <mauke> :t traverse (fmap fix pure)
16:04:13 <lambdabot> (Traversable t, Applicative f) => t (f b) -> f (t b)
16:04:50 <geekosaur> historically `Applicative` didn't exist and `sequence` required `Monad`
16:05:08 <mauke> @src sequence
16:05:08 <lambdabot> sequence [] = return []
16:05:08 <lambdabot> sequence (x:xs) = do v <- x; vs <- sequence xs; return (v:vs)
16:05:08 <lambdabot> --OR
16:05:08 <lambdabot> sequence xs = foldr (liftM2 (:)) (return []) xs
16:05:17 <mauke> oh, lambdabot
16:05:54 <int-e> huh when did the bot get +v...
16:06:00 <mauke> :t foldr (liftA2 (:)) (pure [])
16:06:00 <lambdabot> (Foldable t, Applicative f) => t (f a) -> f [a]
16:06:10 <mauke> a while ago when someone said bots should be +v
16:06:30 <mauke> presumably to exempt them from spam detection?
16:06:43 <geekosaur> a couple days ago, on advice of A_Dragon (libera staff) who said bots should ave +v while ozone (spambot) is present in the room
16:06:44 <geekosaur> yes
16:06:55 <int-e> ah, that makes sense
16:06:56 <int-e> thanks
16:07:03 × post64k quits (~quassel@79.140.117.202) (Ping timeout: 240 seconds)
16:14:45 mango joins (~finn@2001:861:5863:3d50:aeee:4ef7:3c6:a745)
16:15:43 <haskellbridge> <I​nst> busy working on my own challenge, thanks for interesting haskell for the day
16:16:14 × euleritian quits (~euleritia@dynamic-046-114-206-032.46.114.pool.telefonica.de) (Read error: Connection reset by peer)
16:16:39 euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de)
16:17:03 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:e9bd:5819:8ed0:a709) (Remote host closed the connection)
16:17:18 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:e9bd:5819:8ed0:a709)
16:20:17 ensyde joins (~ensyde@2600:381:f429:4668:5188:5a77:b1c6:d864)
16:20:55 <haskellbridge> <I​nst> wait, isn't sequenceA just traverse id?
16:21:00 <haskellbridge> <I​nst> I'm an idiot :(
16:25:08 × dcoutts quits (~duncan@cpc69402-oxfd27-2-0-cust903.4-3.cable.virginm.net) (Ping timeout: 255 seconds)
16:25:12 <haskellbridge> <I​nst> was looking at the type signature looking for something cool, then i realized, all you need is traverse id to derive sequenceA from traverse, and looked it up, traverse = (sequence .). fmap
16:29:10 <haskellbridge> <I​nst> instance Traversable [] where
16:29:10 <haskellbridge> <I​nst> sequenceA (x:xs) = liftA2 (:) x $ sequenceA xs
16:29:12 <haskellbridge> <I​nst> sequenceA [] = pure []
16:29:13 <haskellbridge> <I​nst> canonical, i think
16:30:00 <haskellbridge> <I​nst> whoops, different implementation, intended to fuse
16:30:07 Inst joins (~Inst@120.244.192.250)
16:33:19 <haskellbridge> <I​nst> and based off traverse, not sequenceA
16:36:34 × idgaen quits (~idgaen@2a01:e0a:498:fd50:fcc6:bb5d:489a:ce8c) (Quit: WeeChat 4.0.5)
16:38:17 × L29Ah quits (~L29Ah@wikipedia/L29Ah) (Ping timeout: 255 seconds)
16:39:18 × mango quits (~finn@2001:861:5863:3d50:aeee:4ef7:3c6:a745) (Ping timeout: 272 seconds)
16:40:05 × thegeekinside quits (~thegeekin@189.217.90.224) (Remote host closed the connection)
16:41:18 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:e9bd:5819:8ed0:a709) (Remote host closed the connection)
16:51:35 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:189c:98ad:f16d:aaa6)
16:57:21 × Unicorn_Princess quits (~Unicorn_P@user/Unicorn-Princess/x-3540542) (Remote host closed the connection)
17:04:12 × euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Ping timeout: 248 seconds)
17:04:53 AlexNoo_ joins (~AlexNoo@178.34.151.245)
17:07:22 billchenchina joins (~billchenc@103.152.35.21)
17:07:27 × hugo quits (znc@verdigris.lysator.liu.se) (Ping timeout: 240 seconds)
17:07:59 × Alex_test quits (~al_test@94.233.241.173) (Ping timeout: 245 seconds)
17:08:07 × AlexZenon quits (~alzenon@94.233.241.173) (Ping timeout: 255 seconds)
17:08:43 × AlexNoo quits (~AlexNoo@94.233.241.173) (Ping timeout: 264 seconds)
17:09:08 euleritian joins (~euleritia@dynamic-046-114-206-032.46.114.pool.telefonica.de)
17:12:53 Alex_test joins (~al_test@178.34.151.245)
17:13:48 hugo joins (znc@verdigris.lysator.liu.se)
17:17:29 AlexNoo_ is now known as AlexNoo
17:18:45 AlexZenon joins (~alzenon@178.34.151.245)
17:27:37 nate2 joins (~nate@c-98-45-169-16.hsd1.ca.comcast.net)
17:30:44 × hugo quits (znc@verdigris.lysator.liu.se) (Ping timeout: 246 seconds)
17:31:42 waleee joins (~waleee@2001:9b0:21c:e600:f2f3:f744:435d:137c)
17:32:09 azimut joins (~azimut@gateway/tor-sasl/azimut)
17:32:25 × nate2 quits (~nate@c-98-45-169-16.hsd1.ca.comcast.net) (Ping timeout: 252 seconds)
17:33:30 × euleritian quits (~euleritia@dynamic-046-114-206-032.46.114.pool.telefonica.de) (Read error: Connection reset by peer)
17:33:48 euleritian joins (~euleritia@77.22.252.56)
17:42:32 hugo joins (znc@verdigris.lysator.liu.se)
17:49:18 × euleritian quits (~euleritia@77.22.252.56) (Read error: Connection reset by peer)
17:50:01 euleritian joins (~euleritia@77.22.252.56)
17:51:18 rgw joins (~R@2605:a601:a0df:5600:2810:3d3e:92e6:48c8)
17:53:15 × stites quits (~stites@130.44.147.204) (Ping timeout: 255 seconds)
17:53:59 stites joins (~stites@2607:fb91:def:c37e:edbd:2ad:99e8:11e0)
17:56:44 tzh joins (~tzh@c-71-193-181-0.hsd1.or.comcast.net)
17:58:23 × euleritian quits (~euleritia@77.22.252.56) (Read error: Connection reset by peer)
17:58:45 sm joins (~sm@plaintextaccounting/sm)
17:59:30 euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de)
17:59:31 × sm quits (~sm@plaintextaccounting/sm) (Client Quit)
18:03:57 × euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Read error: Connection reset by peer)
18:05:00 euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de)
18:07:35 Guest|25 joins (~Guest|25@154.118.26.186.static.intelnet.net.gt)
18:08:16 <Guest|25> Hello, could someone help me to remove Haskell completely in Windows?
18:10:27 × Guest|25 quits (~Guest|25@154.118.26.186.static.intelnet.net.gt) (Client Quit)
18:12:57 <monochrom> Did you use ghcup to install? I think it has an uninstall command.
18:14:18 <rgw> Nuclear Commands:
18:14:19 <rgw> nuke Completely remove ghcup from your system
18:15:36 <rgw> it should have added an uninstall powershell script to your desktop when you installed it, you could just run that
18:15:59 <tomsmeding> (they already left)
18:16:05 <rgw> of course
18:17:06 <tomsmeding> that's a ccTLD you don't see all that often
18:17:13 <tomsmeding> s/you/I/
18:21:46 sm joins (~sm@plaintextaccounting/sm)
18:22:09 × driib5 quits (~driib@vmi931078.contaboserver.net) (Quit: The Lounge - https://thelounge.chat)
18:24:07 × sm quits (~sm@plaintextaccounting/sm) (Client Quit)
18:25:23 <haskellbridge> <I​nst> check your users/ directory
18:25:29 <haskellbridge> <I​nst> expose hidden folders
18:25:36 <tomsmeding> Inst: they left like 2 minutes after asking
18:25:43 <haskellbridge> <I​nst> Guest|25: didn't like it, or had --lib blow up in your face?
18:26:27 <Inst> whoops
18:26:36 <monochrom> Haha sorry what did I start :)
18:26:56 <tomsmeding> Inst: do you not see the /leave event on the matrix side?
18:27:04 <tomsmeding> that's a downside of the bridging
18:27:20 <Inst> nooooooope :(
18:27:47 <rgw> i honestly just disable join/parts because of the crazy noise
18:28:42 <tomsmeding> I have my irc client set up to only show join/leave events when within 30 minutes of something they said
18:28:47 <tomsmeding> it's a neat weechat feature
18:29:06 <tomsmeding> (the join event gets retroactively inserted in the stream when someone says something <30mins after)
18:29:15 <tomsmeding> gives you the most relevant events without the spam
18:29:16 <rgw> i was gonna ask about the retroactive join
18:29:19 <rgw> that's pretty neat
18:29:28 <yushyin> well, that's smart of weechat
18:29:37 <tomsmeding> irc.look.smart_filter and suboptions, for the weechat people around
18:30:38 <tomsmeding> the only downside is that if someone leaves because their connection broke, and they immediately rejoin but don't say anything, it looks to me like they just left
18:31:07 <tomsmeding> I typically double-check by trying nick autocomplete
18:31:20 <tomsmeding> (the nicklist is way too long in this channel)
18:31:30 <tomsmeding> (doesn't even reach b on the screen)
18:31:57 <Inst> alternate solution: 10pt 4k res :)
18:31:58 <rgw> that's always been a problem in big chats
18:32:23 <Inst> although that's pretty useless for haskell, imo
18:32:31 <tomsmeding> Inst: 15pt 1440p here, large enough for me :p
18:32:39 <rgw> kinda wish you could filter the nicklist by activity using logs
18:32:52 <tomsmeding> ooh that would be neat
18:32:53 <ncf> half-decent clients show nicknames of absent people in a different colour
18:33:06 <tomsmeding> that would actually make the nicklist useless instead of making me now think why I even have it shown in #haskell
18:33:11 <rgw> still fills up the list though
18:33:23 <tomsmeding> ncf: that's not helpful if the lowest nick on the list starts with 'as'
18:33:25 <yushyin> tomsmeding: i have set weechat.color.chat_nick_offline to darkgray. it will recolor the nickname in chat
18:33:43 <ncf> huh?
18:33:55 <tomsmeding> yushyin: ooh
18:34:13 <ncf> is that not the default?
18:34:33 <yushyin> maybe? maybe the defaults have changed
18:35:13 <tomsmeding> maybe the defaults have changed indeed
18:35:23 <tomsmeding> ah no the default is still off
18:35:25 <yushyin> well ok, you also need to set weechat.look.color_nick_offline to on
18:36:01 <tomsmeding> yeah weechat.look.color_nick_offline is default off, and I had it off (now on); weechat.color.chat_nick_offline was the non-default value "default" (instead of the default value 242), for some reason
18:36:10 <tomsmeding> thanks!
18:37:29 <tomsmeding> oh now it shows all bridged users as offline because my plugin rewrites '<haskellbridge> <nick>' to '<↑nick>', and '↑nick' is of course never in the nicklist
18:37:46 <tomsmeding> oh well
18:38:26 <yushyin> you cannot have it all it seems xD
18:38:35 driib5 joins (~driib@vmi931078.contaboserver.net)
18:45:27 × __monty__ quits (~toonn@user/toonn) (Ping timeout: 240 seconds)
18:45:55 × machinedgod quits (~machinedg@d198-53-218-113.abhsia.telus.net) (Ping timeout: 264 seconds)
18:50:47 __monty__ joins (~toonn@user/toonn)
18:51:04 wroathe joins (~wroathe@207-153-38-140.fttp.usinternet.com)
18:51:04 × wroathe quits (~wroathe@207-153-38-140.fttp.usinternet.com) (Changing host)
18:51:04 wroathe joins (~wroathe@user/wroathe)
18:57:48 × stites quits (~stites@2607:fb91:def:c37e:edbd:2ad:99e8:11e0) (Read error: Connection reset by peer)
18:58:10 stites joins (~stites@130.44.147.204)
19:04:00 apache_ is now known as apache2
19:11:12 × waleee quits (~waleee@2001:9b0:21c:e600:f2f3:f744:435d:137c) (Ping timeout: 260 seconds)
19:11:37 waleee joins (~waleee@h-176-10-137-138.NA.cust.bahnhof.se)
19:12:39 × John_Ivan_ quits (~John_Ivan@user/john-ivan/x-1515935) (Ping timeout: 240 seconds)
19:17:23 John_Ivan_ joins (~John_Ivan@user/john-ivan/x-1515935)
19:19:59 × John_Ivan_ quits (~John_Ivan@user/john-ivan/x-1515935) (Remote host closed the connection)
19:20:45 John_Ivan_ joins (~John_Ivan@user/john-ivan/x-1515935)
19:23:56 × michalz quits (~michalz@185.246.207.197) (Ping timeout: 258 seconds)
19:28:58 × __monty__ quits (~toonn@user/toonn) (Ping timeout: 255 seconds)
19:30:48 __monty__ joins (~toonn@user/toonn)
19:33:28 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 255 seconds)
19:35:16 × __monty__ quits (~toonn@user/toonn) (Ping timeout: 255 seconds)
19:36:11 × vglfr quits (~vglfr@88.155.190.13) (Read error: Connection reset by peer)
19:41:43 Sgeo joins (~Sgeo@user/sgeo)
19:46:25 vglfr joins (~vglfr@88.155.190.13)
20:08:16 × vglfr quits (~vglfr@88.155.190.13) (Read error: Connection reset by peer)
20:10:07 × finsternis quits (~X@23.226.237.192) (Read error: Connection reset by peer)
20:11:50 × _ht quits (~Thunderbi@28-52-174-82.ftth.glasoperator.nl) (Remote host closed the connection)
20:15:54 talismanick joins (~user@2601:204:ef80:2980::b23e)
20:20:17 roboguy_ joins (~roboguy_@2605:a601:ac4a:2700:d466:7d9:bddf:805)
20:29:06 × Maxdamantus quits (~Maxdamant@user/maxdamantus) (Ping timeout: 258 seconds)
20:29:53 <asivitz> anyone know what the reason is that heap profiling options (-hy, -hm, etc) are exclusive? it seems like I should be able to get a view of my heap that tells me: the types of the values, where they come from, their size, the other values they point to, etc. all in one report
20:30:46 Maxdamantus joins (~Maxdamant@user/maxdamantus)
20:36:30 machinedgod joins (~machinedg@d198-53-218-113.abhsia.telus.net)
20:43:09 × benjaminl quits (~benjaminl@user/benjaminl) (Remote host closed the connection)
20:47:30 wroathe joins (~wroathe@207-153-38-140.fttp.usinternet.com)
20:47:30 × wroathe quits (~wroathe@207-153-38-140.fttp.usinternet.com) (Changing host)
20:47:30 wroathe joins (~wroathe@user/wroathe)
20:47:45 dcoutts joins (~duncan@cpc69402-oxfd27-2-0-cust903.4-3.cable.virginm.net)
20:54:16 × gmg quits (~user@user/gehmehgeh) (Remote host closed the connection)
20:54:57 gmg joins (~user@user/gehmehgeh)
20:55:39 mango joins (~finn@2001:861:5863:3d50:dac0:d4d6:7487:3192)
20:57:30 benjaminl joins (~benjaminl@user/benjaminl)
20:57:48 × billchenchina quits (~billchenc@103.152.35.21) (Remote host closed the connection)
21:02:43 × Inst quits (~Inst@120.244.192.250) (Ping timeout: 264 seconds)
21:05:54 × mango quits (~finn@2001:861:5863:3d50:dac0:d4d6:7487:3192) (Ping timeout: 258 seconds)
21:06:23 Guest|53 joins (~Guest|53@8.9.86.238)
21:06:41 × Guest|53 quits (~Guest|53@8.9.86.238) (Client Quit)
21:08:13 × dolio quits (~dolio@130.44.134.54) (Quit: ZNC 1.8.2 - https://znc.in)
21:09:53 dolio joins (~dolio@130.44.134.54)
21:12:34 × dolio quits (~dolio@130.44.134.54) (Client Quit)
21:14:05 dolio joins (~dolio@130.44.134.54)
21:17:14 × Pozyomka quits (~pyon@user/pyon) (Quit: Pozyomka, my beloved: https://i.imgur.com/BMmVfTq.png)
21:17:52 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 255 seconds)
21:23:28 John_Ivan__ joins (~John_Ivan@user/john-ivan/x-1515935)
21:25:44 × emmanuelux_ quits (~emmanuelu@user/emmanuelux) (Ping timeout: 255 seconds)
21:26:11 emmanuelux joins (~emmanuelu@user/emmanuelux)
21:26:34 × John_Ivan_ quits (~John_Ivan@user/john-ivan/x-1515935) (Ping timeout: 255 seconds)
21:29:08 nate2 joins (~nate@c-98-45-169-16.hsd1.ca.comcast.net)
21:29:16 × roboguy_ quits (~roboguy_@2605:a601:ac4a:2700:d466:7d9:bddf:805) (Remote host closed the connection)
21:29:48 roboguy_ joins (~roboguy_@2605:a601:ac4a:2700:d466:7d9:bddf:805)
21:32:08 × dolio quits (~dolio@130.44.134.54) (Ping timeout: 255 seconds)
21:34:04 × nate2 quits (~nate@c-98-45-169-16.hsd1.ca.comcast.net) (Ping timeout: 255 seconds)
21:34:36 × roboguy_ quits (~roboguy_@2605:a601:ac4a:2700:d466:7d9:bddf:805) (Ping timeout: 260 seconds)
21:35:48 roboguy_ joins (~roboguy_@2605:a601:ac4a:2700:d466:7d9:bddf:805)
21:35:48 × acidjnk quits (~acidjnk@p200300d6e7072f59fdc2fee6a7217a34.dip0.t-ipconnect.de) (Ping timeout: 258 seconds)
21:37:31 dolio joins (~dolio@130.44.134.54)
21:43:20 Square joins (~Square@user/square)
21:47:56 × fendor quits (~fendor@2a02:8388:1640:be00:aab:1226:f274:5021) (Remote host closed the connection)
21:50:27 <talismanick> Are there libraries for fault tolerance by spawning lots of greenthreads in a process hierarchy like Erlang?
21:51:18 <talismanick> Closest that comes to mind is Cloud Haskell, but that's dead iirc (correct me if I'm wrong)
21:52:01 <talismanick> never mind!
21:54:35 × Jackneill quits (~Jackneill@20014C4E1E021C00F91B42C66329EB9E.dsl.pool.telekom.hu) (Ping timeout: 258 seconds)
21:54:46 × elkcl quits (~elkcl@broadband-95-84-226-240.ip.moscow.rt.ru) (Ping timeout: 255 seconds)
22:00:38 elkcl joins (~elkcl@broadband-95-84-226-240.ip.moscow.rt.ru)
22:14:54 <EvanR> the async library allows setting up relationships between threads, but doesn't go as far as cloud haskell with the network transparency
22:15:43 × takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection)
22:28:43 wroathe joins (~wroathe@207-153-38-140.fttp.usinternet.com)
22:28:43 × wroathe quits (~wroathe@207-153-38-140.fttp.usinternet.com) (Changing host)
22:28:43 wroathe joins (~wroathe@user/wroathe)
22:31:45 jmorris joins (uid604645@id-604645.hampstead.irccloud.com)
22:34:11 × ec quits (~ec@gateway/tor-sasl/ec) (Ping timeout: 252 seconds)
22:34:28 × talismanick quits (~user@2601:204:ef80:2980::b23e) (Remote host closed the connection)
22:36:17 ec joins (~ec@gateway/tor-sasl/ec)
22:38:00 × tcard quits (~tcard@2400:4051:5801:7500:cf17:befc:ff82:5303) (Remote host closed the connection)
22:38:16 tcard joins (~tcard@2400:4051:5801:7500:cf17:befc:ff82:5303)
22:42:28 × simendsjo quits (~user@84.211.91.241) (Ping timeout: 255 seconds)
22:44:39 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 245 seconds)
22:46:25 × alphacentauri quits (alphacenta@gateway/vpn/protonvpn/alphacentauri) (Quit: WeeChat 4.0.5)
22:49:16 alphacentauri joins (alphacenta@gateway/vpn/protonvpn/alphacentauri)
22:54:10 × misterfish quits (~misterfis@84-53-85-146.bbserv.nl) (Ping timeout: 255 seconds)
22:54:54 talismanick joins (~user@2601:204:ef80:2980::b23e)
23:00:21 bilegeek joins (~bilegeek@2600:1008:b094:3e4e:83d7:cfc2:3666:8d15)
23:03:56 sm joins (~sm@plaintextaccounting/sm)
23:05:30 × gmg quits (~user@user/gehmehgeh) (Quit: Leaving)
23:19:57 × lg188 quits (~lg188@82.18.98.230) (Ping timeout: 255 seconds)
23:22:16 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:189c:98ad:f16d:aaa6) (Read error: Connection reset by peer)
23:25:22 × sm quits (~sm@plaintextaccounting/sm) (Quit: sm)
23:26:31 sm joins (~sm@plaintextaccounting/sm)
23:29:01 × roboguy_ quits (~roboguy_@2605:a601:ac4a:2700:d466:7d9:bddf:805) (Remote host closed the connection)
23:29:16 roboguy_ joins (~roboguy_@2605:a601:ac4a:2700:d466:7d9:bddf:805)
23:30:11 × sm quits (~sm@plaintextaccounting/sm) (Client Quit)
23:32:01 wroathe joins (~wroathe@207-153-38-140.fttp.usinternet.com)
23:32:01 × wroathe quits (~wroathe@207-153-38-140.fttp.usinternet.com) (Changing host)
23:32:01 wroathe joins (~wroathe@user/wroathe)
23:33:53 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:189c:98ad:f16d:aaa6)
23:34:04 arahael joins (~arahael@119-18-2-212.771202.syd.nbn.aussiebb.net)
23:42:57 × emmanuelux quits (~emmanuelu@user/emmanuelux) (Quit: au revoir)
23:48:39 Sgeo_ joins (~Sgeo@user/sgeo)
23:48:43 × Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
23:50:25 × madnight quits (~madnight@static.59.103.201.195.clients.your-server.de) (Ping timeout: 255 seconds)
23:51:22 madnight joins (~madnight@static.59.103.201.195.clients.your-server.de)
23:55:30 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:189c:98ad:f16d:aaa6) (Remote host closed the connection)
23:57:23 × hugo quits (znc@verdigris.lysator.liu.se) (Ping timeout: 255 seconds)

All times are in UTC on 2023-10-14.