Home liberachat/#haskell: Logs Calendar

Logs on 2021-11-12 (liberachat/#haskell)

00:01:24 × johnny_sitar quits (~artur@078088015209.bialystok.vectranet.pl) (Remote host closed the connection)
00:03:19 brainfreeze joins (~brainfree@2a03:1b20:4:f011::20d)
00:04:35 × acidjnk_new3 quits (~acidjnk@p200300d0c721b739c4928bd7ecc09c55.dip0.t-ipconnect.de) (Ping timeout: 250 seconds)
00:06:12 × takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection)
00:11:02 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
00:15:25 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 250 seconds)
00:17:42 rekahsoft joins (~rekahsoft@cpe0008a20f982f-cm64777d666260.cpe.net.cable.rogers.com)
00:19:10 × Topsi2 quits (~Tobias@dyndsl-091-249-082-100.ewe-ip-backbone.de) (Read error: Connection reset by peer)
00:26:44 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 246 seconds)
00:27:59 Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915)
00:33:32 × jgeerds quits (~jgeerds@55d41b94.access.ecotel.net) (Ping timeout: 240 seconds)
00:38:56 acidjnk_new3 joins (~acidjnk@p200300d0c721b725a4c2c29d62041356.dip0.t-ipconnect.de)
00:39:27 × Tuplanolla quits (~Tuplanoll@91-159-69-50.elisa-laajakaista.fi) (Quit: Leaving.)
00:39:43 × jmorris quits (uid433911@hampstead.irccloud.com) (Quit: Connection closed for inactivity)
00:55:12 vysn joins (~vysn@user/vysn)
01:00:25 _xor joins (~xor@72.49.199.147)
01:03:15 × DNH quits (~DNH@8.43.122.53) (Quit: Textual IRC Client: www.textualapp.com)
01:03:57 × rekahsoft quits (~rekahsoft@cpe0008a20f982f-cm64777d666260.cpe.net.cable.rogers.com) (Ping timeout: 250 seconds)
01:04:44 × pretty_dumm_guy quits (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Quit: WeeChat 3.3)
01:05:19 benin6 joins (~benin@106.198.92.35)
01:07:15 × benin quits (~benin@183.82.178.244) (Ping timeout: 256 seconds)
01:07:16 benin6 is now known as benin
01:09:20 fluffyballoon joins (~user@131.93.208.196)
01:11:08 × albet70 quits (~xxx@2400:8902::f03c:92ff:fe60:98d8) (Remote host closed the connection)
01:15:59 × Midjak quits (~Midjak@82-65-111-221.subs.proxad.net) (Quit: This computer has gone to sleep)
01:17:15 albet70 joins (~xxx@2400:8902::f03c:92ff:fe60:98d8)
01:17:47 × mark__ quits (~a@p200300ef973db1b24086f0a6a24fc4dd.dip0.t-ipconnect.de) (Ping timeout: 264 seconds)
01:18:15 <ddb> int-e: I was able to get all of what you said, and it works as far as I can tell! Even got djinn working with your patch instructions.
01:18:41 × cheater quits (~Username@user/cheater) (Ping timeout: 250 seconds)
01:21:06 × acidjnk_new3 quits (~acidjnk@p200300d0c721b725a4c2c29d62041356.dip0.t-ipconnect.de) (Read error: Connection reset by peer)
01:25:19 acco[m] joins (~accotedom@2001:470:69fc:105::1:3236)
01:27:12 × severen quits (~severen@202.36.179.72) (Quit: WeeChat 3.3)
01:29:12 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
01:30:00 × Vajb quits (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) (Read error: Connection reset by peer)
01:32:59 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 250 seconds)
01:34:13 × mmhat quits (~mmh@55d4bd26.access.ecotel.net) (Quit: WeeChat 3.3)
01:37:07 × max22- quits (~maxime@2a01cb08833598008a48d8a24ae7f102.ipv6.abo.wanadoo.fr) (Quit: Leaving)
01:40:58 Vajb joins (~Vajb@2001:999:51:5bc5:881:a4da:a7db:528d)
01:41:02 × fluffyballoon quits (~user@131.93.208.196) (Ping timeout: 240 seconds)
01:42:59 wei2912 joins (~wei2912@138.75.71.147)
01:50:49 × burnsidesLlama quits (~burnsides@dhcp168-011.wadham.ox.ac.uk) (Remote host closed the connection)
01:52:46 × wei2912 quits (~wei2912@138.75.71.147) (Quit: leaving)
01:54:14 × vysn quits (~vysn@user/vysn) (Ping timeout: 246 seconds)
01:58:03 asen joins (~asen@2408:821b:618:2ef0:ab85:814b:bf8f:a143)
01:58:04 × unit73e quits (~emanuel@2001:818:e8dd:7c00:32b5:c2ff:fe6b:5291) (Quit: Leaving)
01:58:56 × acidsys quits (~LSD@2.lsd.systems) (Excess Flood)
01:59:30 acidsys joins (~LSD@2.lsd.systems)
02:01:54 lavaman joins (~lavaman@98.38.249.169)
02:06:11 × lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 256 seconds)
02:14:43 × roconnor quits (~roconnor@host-45-58-217-8.dyn.295.ca) (Read error: Connection reset by peer)
02:22:35 × jkaye quits (~jkaye@2601:281:8300:7530:abba:ebaf:fffa:714f) (Ping timeout: 264 seconds)
02:23:18 dajoer joins (~david@user/gvx)
02:25:42 cheater joins (~Username@user/cheater)
02:28:44 renzhi joins (~xp@2607:fa49:6500:b100::6e7f)
02:28:45 × Vajb quits (~Vajb@2001:999:51:5bc5:881:a4da:a7db:528d) (Read error: Connection reset by peer)
02:31:35 Vajb joins (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi)
02:40:32 × machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 240 seconds)
02:47:41 zzz is now known as onion
02:49:15 × benin quits (~benin@106.198.92.35) (Ping timeout: 256 seconds)
02:52:58 <hololeap> I want to reference a whole pattern match in a type family. is there any way to do this or some other way to make this snippet work? http://sprunge.us/9fimdF
02:53:42 × xkuru quits (~xkuru@user/xkuru) (Read error: Connection reset by peer)
02:55:17 × xff0x quits (~xff0x@2001:1a81:53e8:a400:4be3:10c9:a6eb:9cd9) (Ping timeout: 264 seconds)
02:55:19 <awpr> can do some workaround like `type ActualTypeFamily a0 a1 where ...` and `type Wrapper a = ActualTypeFamily a a`
02:55:42 <awpr> things are just less convenient in type family land, pretty frequently
02:56:39 xff0x joins (~xff0x@2001:1a81:522c:6200:1a00:c61c:e1e7:955f)
03:00:37 yauhsien joins (~yauhsien@118-167-47-187.dynamic-ip.hinet.net)
03:01:06 × kupi quits (uid212005@hampstead.irccloud.com) (Quit: Connection closed for inactivity)
03:01:30 × ec quits (~ec@gateway/tor-sasl/ec) (Ping timeout: 276 seconds)
03:04:48 falafel joins (~falafel@2603-8000-d800-688c-2092-0e6f-020e-f136.res6.spectrum.com)
03:08:23 × asen quits (~asen@2408:821b:618:2ef0:ab85:814b:bf8f:a143) (Quit: Leaving)
03:15:02 × alx741 quits (~alx741@186.178.109.114) (Quit: alx741)
03:26:29 × shapr quits (~user@pool-100-36-247-68.washdc.fios.verizon.net) (Ping timeout: 264 seconds)
03:28:39 Guest42 joins (~Guest42@eth-west-pareq2-46-193-4-100.wb.wifirst.net)
03:29:53 × alzgh quits (~alzgh@user/alzgh) (Remote host closed the connection)
03:30:14 alzgh joins (~alzgh@user/alzgh)
03:33:58 onion is now known as yin
03:34:02 finn_elija joins (~finn_elij@user/finn-elija/x-0085643)
03:34:02 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Killed (NickServ (Forcing logout FinnElija -> finn_elija)))
03:34:02 finn_elija is now known as FinnElija
03:35:57 × Vajb quits (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) (Read error: Connection reset by peer)
03:40:13 × santiagopim[m] quits (~santiagop@2001:470:69fc:105::e57d) (Quit: Client limit exceeded: 20000)
03:41:34 × hippoid quits (~idris@c-98-220-13-8.hsd1.il.comcast.net) (Remote host closed the connection)
03:41:45 Vajb joins (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi)
03:44:31 mbuf joins (~Shakthi@122.178.204.176)
03:47:11 × falafel quits (~falafel@2603-8000-d800-688c-2092-0e6f-020e-f136.res6.spectrum.com) (Ping timeout: 245 seconds)
03:49:41 <hololeap> awpr: I cannot seem to get it to let me specify at the top of a recursive datakind that the root and all ancestors satisfy some constraints: http://dpaste.com/D63462PXP
03:50:03 santiagopim[m] joins (~santiagop@2001:470:69fc:105::e57d)
03:56:12 <awpr> so for one, I think this will be hard to work with, since even knowing what the constraint is requires knowing which constructor of Tree/Root the parameter is
03:56:47 <awpr> in particular `KnownTreeR t` doesn't imply `KnownTree t` until _after_ you prove which case it is
03:57:59 <awpr> the way it's written is a bit like `case t of Node x y -> knownTree t; Leaf -> knownTree t`, in that it has to "force" the present node before making any progress
03:58:59 <awpr> probably more useful to compare against `case t of Node x y -> (knownTree t, otherStuff x y); Leaf -> (knownTree t, ())` actually
03:59:16 × emf quits (~emf@2620:10d:c090:400::5:538d) (Ping timeout: 245 seconds)
03:59:16 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
04:00:26 deadmarshal joins (~deadmarsh@95.38.228.222)
04:00:30 × yauhsien quits (~yauhsien@118-167-47-187.dynamic-ip.hinet.net) (Read error: Connection reset by peer)
04:00:58 yauhsien joins (~yauhsien@118-167-47-187.dynamic-ip.hinet.net)
04:01:08 <awpr> refactoring that to `(knownTree t, case t of Node x y -> otherStuff x y; Leaf -> ())` means you can immediately find `knownTree t`, and only the recursive stuff depends on which constructor it is
04:01:31 × td_ quits (~td@94.134.91.245) (Ping timeout: 268 seconds)
04:02:46 td_ joins (~td@94.134.91.243)
04:03:44 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 246 seconds)
04:04:12 jkaye joins (~jkaye@2601:281:8300:7530:866a:9967:5f85:58dd)
04:05:29 × yauhsien quits (~yauhsien@118-167-47-187.dynamic-ip.hinet.net) (Ping timeout: 246 seconds)
04:07:20 <awpr> the other side of this is: with the `singTree` method, `KnownTree` already provides knowledge about the shape of the entire tree, it's just not convenient to get the subtrees back into the form of `KnownTree` instances. so instead of recursing on `KnownTree` instances, you can recurse on `SingTree` values, and use `KnownTree` only as a convenient way of supplying `SingTree` arguments automatically
04:07:26 × fresheyeball quits (~fresheyeb@c-76-25-93-164.hsd1.co.comcast.net) (Quit: WeeChat 2.9)
04:08:18 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 268 seconds)
04:08:47 × jkaye quits (~jkaye@2601:281:8300:7530:866a:9967:5f85:58dd) (Ping timeout: 264 seconds)
04:10:14 <awpr> a third, somewhat weirder angle: `data SingTree t where SingNode :: (KnownTree tl, KnownTree tr) => SingTree (Node tl tr); ...`, so that matching `SingNode` inherently brings the instances into scope, and you regain the ability to recurse on instances. I've never tried this style of recursive singletons, though, so I'm not sure whether it will go smoothly
04:12:37 × renzhi quits (~xp@2607:fa49:6500:b100::6e7f) (Ping timeout: 268 seconds)
04:24:53 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
04:24:53 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Changing host)
04:24:53 wroathe joins (~wroathe@user/wroathe)
04:28:21 × hololeap quits (~hololeap@user/hololeap) (Remote host closed the connection)
04:29:21 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 250 seconds)
04:29:47 hololeap joins (~hololeap@user/hololeap)
04:32:53 × aidy quits (~aidy@2001:470:69fc:105::c7b4) (Quit: Client limit exceeded: 20000)
04:34:55 rkrishnan joins (~user@122.167.19.65)
04:36:21 Philonous_ joins (~Philonous@user/philonous)
04:38:43 fryguybo1 joins (~fryguybob@cpe-74-67-169-145.rochester.res.rr.com)
04:39:27 kosmikus_ joins (~kosmikus@nullzig.kosmikus.org)
04:39:44 lavaman joins (~lavaman@98.38.249.169)
04:39:47 × hololeap quits (~hololeap@user/hololeap) (Remote host closed the connection)
04:39:59 v01d4lph4 joins (~v01d4lph4@223.190.93.72)
04:39:59 × v01d4lph4 quits (~v01d4lph4@223.190.93.72) (Changing host)
04:39:59 v01d4lph4 joins (~v01d4lph4@user/v01d4lph4)
04:40:19 × Vajb quits (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi) (Ping timeout: 256 seconds)
04:40:46 benin joins (~benin@106.198.85.27)
04:41:06 hololeap joins (~hololeap@user/hololeap)
04:43:51 × Codaraxis quits (~Codaraxis@user/codaraxis) (*.net *.split)
04:43:51 × fryguybob quits (~fryguybob@cpe-74-67-169-145.rochester.res.rr.com) (*.net *.split)
04:43:51 × infinity0 quits (~infinity0@occupy.ecodis.net) (*.net *.split)
04:43:51 × edwtjo quits (~edwtjo@user/edwtjo) (*.net *.split)
04:43:51 × niko quits (~niko@libera/staff/niko) (*.net *.split)
04:43:51 × Philonous quits (~Philonous@user/philonous) (*.net *.split)
04:43:51 × kosmikus quits (~kosmikus@nullzig.kosmikus.org) (*.net *.split)
04:43:51 × duckonomy quits (~duckonomy@177.ip-144-217-84.net) (*.net *.split)
04:43:51 × marienz quits (~marienz@libera/staff/marienz) (*.net *.split)
04:43:51 × chronon quits (~chronon@user/chronon) (*.net *.split)
04:43:51 × Inoperable quits (~PLAYER_1@fancydata.science) (*.net *.split)
04:43:51 × dkeohane2 quits (~dkeohane@ec2-18-189-29-140.us-east-2.compute.amazonaws.com) (*.net *.split)
04:43:51 × glguy quits (x@libera/staff/glguy) (*.net *.split)
04:44:42 jmorris joins (uid433911@hampstead.irccloud.com)
04:45:02 niko joins (~niko@libera/staff/niko)
04:48:24 Codaraxis joins (~Codaraxis@user/codaraxis)
04:48:24 infinity0 joins (~infinity0@occupy.ecodis.net)
04:48:24 Inoperable joins (~PLAYER_1@fancydata.science)
04:48:24 duckonomy joins (~duckonomy@177.ip-144-217-84.net)
04:48:24 chronon joins (~chronon@user/chronon)
04:48:24 marienz joins (~marienz@libera/staff/marienz)
04:48:24 dkeohane2 joins (~dkeohane@ec2-18-189-29-140.us-east-2.compute.amazonaws.com)
04:48:24 glguy joins (x@libera/staff/glguy)
04:49:21 <dsal> Is there a less repetitive way to do `liftA3 c (f a) (f b) (f c)` ?
04:49:27 edwtjo joins (~edwtjo@h-109-228-137-133.A213.priv.bahnhof.se)
04:49:27 × edwtjo quits (~edwtjo@h-109-228-137-133.A213.priv.bahnhof.se) (Changing host)
04:49:27 edwtjo joins (~edwtjo@user/edwtjo)
04:49:41 <dsal> Er, those aren't the same c...
04:49:48 aidy joins (~aidy@2001:470:69fc:105::c7b4)
04:50:59 Vajb joins (~Vajb@2001:999:51:5bc5:881:a4da:a7db:528d)
04:58:39 × mud quits (~mud@user/kadoban) (Quit: quit)
04:58:39 × Vajb quits (~Vajb@2001:999:51:5bc5:881:a4da:a7db:528d) (Read error: Connection reset by peer)
04:58:58 <koz> dsal: c <$> f a <*> f b <*> f c?
04:59:55 <dsal> Heh I was hoping mainly to avoid writing `f` three times in this case.
05:00:04 <dsal> That's more obvious on my screen.
05:01:36 Vajb joins (~Vajb@hag-jnsbng11-58c3a8-176.dhcp.inet.fi)
05:04:07 × deadmarshal quits (~deadmarsh@95.38.228.222) (Ping timeout: 256 seconds)
05:04:39 ec joins (~ec@gateway/tor-sasl/ec)
05:06:48 shidima joins (~shidima@84-104-108-90.cable.dynamic.v4.ziggo.nl)
05:15:02 <kronicmage> @pl g f = liftA3 c (f a) (f b) (f c)
05:15:02 <lambdabot> g = ap (ap (liftA3 c . ($ a)) ($ b)) ($ c)
05:15:10 falafel joins (~falafel@cpe-76-168-195-162.socal.res.rr.com)
05:15:43 <kronicmage> Sometimes repetition is more readable lol
05:19:02 <Axman6> @pl g f = c <$> f a <*> f b <*> f c -- this is not going to be better...
05:19:02 <lambdabot> g = (c <$>) . ap ((<*>) . liftM2 (<*>) ($ a) ($ b)) ($ c)
05:19:03 <awpr> @let on3 f g x y z = f (g x) (g y) (g z)
05:19:04 <lambdabot> Defined.
05:19:32 <Axman6> :t on3
05:19:33 <lambdabot> (t1 -> t1 -> t1 -> t2) -> (t3 -> t1) -> t3 -> t3 -> t3 -> t2
05:19:38 <awpr> (liftA3 f `on` c) x y z
05:19:58 <awpr> :t on -- for comparison
05:19:59 <lambdabot> (b -> b -> c) -> (a -> b) -> a -> a -> c
05:28:19 yauhsien joins (~yauhsien@118-167-47-187.dynamic-ip.hinet.net)
05:39:02 × yauhsien quits (~yauhsien@118-167-47-187.dynamic-ip.hinet.net) (Remote host closed the connection)
05:39:55 yauhsien joins (~yauhsien@118-167-47-187.dynamic-ip.hinet.net)
05:44:21 × falafel quits (~falafel@cpe-76-168-195-162.socal.res.rr.com) (Ping timeout: 256 seconds)
05:44:45 × yauhsien quits (~yauhsien@118-167-47-187.dynamic-ip.hinet.net) (Ping timeout: 250 seconds)
05:53:02 falafel joins (~falafel@cpe-76-168-195-162.socal.res.rr.com)
05:54:35 × alzgh quits (~alzgh@user/alzgh) (Remote host closed the connection)
05:54:55 alzgh joins (~alzgh@user/alzgh)
05:55:52 × dagit quits (~dagit@2001:558:6025:38:6476:a063:d05a:44da) (Read error: Connection reset by peer)
05:56:01 dagit joins (~dagit@2001:558:6025:38:6476:a063:d05a:44da)
05:57:45 × falafel quits (~falafel@cpe-76-168-195-162.socal.res.rr.com) (Ping timeout: 250 seconds)
06:06:36 falafel joins (~falafel@2603-8000-d800-688c-34f9-26f3-71b0-5b78.res6.spectrum.com)
06:08:15 × Axman6 quits (~Axman6@user/axman6) ()
06:09:19 kmein_ joins (~weechat@user/kmein)
06:10:56 × kmein quits (~weechat@user/kmein) (Ping timeout: 245 seconds)
06:16:46 vysn joins (~vysn@user/vysn)
06:16:57 × lavaman quits (~lavaman@98.38.249.169) (Remote host closed the connection)
06:17:02 Axman6 joins (~Axman6@user/axman6)
06:19:08 <DemiMarieObenour> Anyone else wished that GHC had a concurrent compacting garbage collector?
06:20:10 × img quits (~img@user/img) (Quit: ZNC 1.8.2 - https://znc.in)
06:23:35 × zebrag quits (~chris@user/zebrag) (Remote host closed the connection)
06:23:58 <sm> sure!
06:24:29 <sm> and sub second program compile times
06:27:42 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
06:29:16 <Axman6> doesn't it have both those things? not at the same time? I haven't looked at the state of the art in GHC garbage collection
06:29:30 geekosaur joins (~geekosaur@xmonad/geekosaur)
06:29:35 <dolio> I don't think it has a compacting collector.
06:30:21 <Axman6> copying totally does compacting :P
06:30:31 <dolio> Well, that's true.
06:32:33 img joins (~img@user/img)
06:35:50 benin6 joins (~benin@183.82.176.36)
06:36:02 lavaman joins (~lavaman@98.38.249.169)
06:37:23 × aplainzetakind quits (~johndoe@captainludd.powered.by.lunarbnc.net) (Ping timeout: 246 seconds)
06:37:37 × benin quits (~benin@106.198.85.27) (Ping timeout: 256 seconds)
06:37:37 benin6 is now known as benin
06:37:52 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Remote host closed the connection)
06:40:36 × lavaman quits (~lavaman@98.38.249.169) (Remote host closed the connection)
06:43:53 × Guest42 quits (~Guest42@eth-west-pareq2-46-193-4-100.wb.wifirst.net) (Ping timeout: 256 seconds)
06:44:34 <DemiMarieObenour> yes, but it is stop-the-world
06:44:44 × shidima quits (~shidima@84-104-108-90.cable.dynamic.v4.ziggo.nl) (Ping timeout: 246 seconds)
06:44:50 <DemiMarieObenour> looks at Java ZGC
06:46:00 aplainzetakind joins (~johndoe@captainludd.powered.by.lunarbnc.net)
06:46:29 <opqdonut> DemiMarieObenour: how about https://well-typed.com/blog/2019/10/nonmoving-gc-merge/ ?
06:46:30 × aplainzetakind quits (~johndoe@captainludd.powered.by.lunarbnc.net) (Client Quit)
06:47:21 × waleee quits (~waleee@h-98-128-228-119.NA.cust.bahnhof.se) (Quit: WeeChat 3.3)
06:47:45 <DemiMarieObenour> opqdonut: yes, but a non-moving GC still may run into heap fragmentation problems. A concurrent compacting collector is the holy grail of GC technology, but is a massive amount of work.
06:48:59 × falafel quits (~falafel@2603-8000-d800-688c-34f9-26f3-71b0-5b78.res6.spectrum.com) (Ping timeout: 264 seconds)
06:52:00 waleee joins (~waleee@2001:9b0:216:8200:d457:9189:7843:1dbd)
06:53:48 aplainzetakind joins (~johndoe@captainludd.powered.by.lunarbnc.net)
06:56:50 × slowButPresent quits (~slowButPr@user/slowbutpresent) (Quit: leaving)
06:58:02 × aplainzetakind quits (~johndoe@captainludd.powered.by.lunarbnc.net) (Ping timeout: 240 seconds)
07:02:35 aplainzetakind joins (~johndoe@captainludd.powered.by.lunarbnc.net)
07:03:06 × aplainzetakind quits (~johndoe@captainludd.powered.by.lunarbnc.net) (Client Quit)
07:04:16 × v01d4lph4 quits (~v01d4lph4@user/v01d4lph4) (Remote host closed the connection)
07:05:31 yauhsien joins (~yauhsien@118-167-47-187.dynamic-ip.hinet.net)
07:09:24 × alzgh quits (~alzgh@user/alzgh) (Ping timeout: 256 seconds)
07:09:54 × yauhsien quits (~yauhsien@118-167-47-187.dynamic-ip.hinet.net) (Ping timeout: 260 seconds)
07:11:07 lavaman joins (~lavaman@98.38.249.169)
07:11:12 retroid_ joins (~retro@2e41e9c8.skybroadband.com)
07:12:24 × Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
07:14:32 × retro_ quits (~retro@2e41e9c8.skybroadband.com) (Ping timeout: 268 seconds)
07:15:03 × brainfreeze quits (~brainfree@2a03:1b20:4:f011::20d) (Remote host closed the connection)
07:15:31 × lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 245 seconds)
07:16:04 alzgh joins (alzgh@user/alzgh)
07:20:14 aplainzetakind joins (~johndoe@captainludd.powered.by.lunarbnc.net)
07:30:34 <int-e> ddb: nice :)
07:32:49 deadmarshal joins (~deadmarsh@95.38.228.222)
07:32:51 takuan joins (~takuan@178-116-218-225.access.telenet.be)
07:33:48 mcgroin joins (~mcgroin@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr)
07:37:26 × deadmarshal quits (~deadmarsh@95.38.228.222) (Ping timeout: 260 seconds)
07:43:36 kupi joins (uid212005@hampstead.irccloud.com)
07:44:48 deadmarshal joins (~deadmarsh@95.38.228.222)
07:45:46 lavaman joins (~lavaman@98.38.249.169)
07:50:18 × lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 268 seconds)
07:50:36 shidima joins (~shidima@46.44.183.25)
07:55:06 lortabac joins (~lortabac@2a01:e0a:541:b8f0:906e:b8e3:dc89:8d11)
07:58:01 cfricke joins (~cfricke@user/cfricke)
07:58:09 michalz joins (~michalz@185.246.204.37)
08:02:10 × shriekingnoise quits (~shrieking@186.137.144.80) (Quit: Quit)
08:07:29 × fendor quits (~fendor@77.119.192.182.wireless.dyn.drei.com) (Read error: Connection reset by peer)
08:12:18 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
08:12:19 chomwitt joins (~chomwitt@2a02:587:dc0f:7c00:12c3:7bff:fe6d:d374)
08:18:23 × deadmarshal quits (~deadmarsh@95.38.228.222) (Ping timeout: 264 seconds)
08:20:16 hololeap_ joins (~hololeap@user/hololeap)
08:20:42 × hololeap quits (~hololeap@user/hololeap) (Remote host closed the connection)
08:21:30 acidjnk joins (~acidjnk@p200300d0c721b72570e3bb829407e876.dip0.t-ipconnect.de)
08:23:22 jakalx parts (~jakalx@base.jakalx.net) (Disconnected: Replaced by new connection)
08:23:28 jakalx joins (~jakalx@base.jakalx.net)
08:30:19 vpan joins (~0@212.117.1.172)
08:30:32 yauhsien joins (~yauhsien@118-167-47-187.dynamic-ip.hinet.net)
08:34:59 × yauhsien quits (~yauhsien@118-167-47-187.dynamic-ip.hinet.net) (Ping timeout: 246 seconds)
08:37:28 deadmarshal joins (~deadmarsh@95.38.228.222)
08:37:52 CiaoSen joins (~Jura@p200300c95730dd002a3a4dfffe84dbd5.dip0.t-ipconnect.de)
08:39:07 × hololeap_ quits (~hololeap@user/hololeap) (Remote host closed the connection)
08:40:31 hololeap_ joins (~hololeap@user/hololeap)
08:40:52 aliosablack joins (~chomwitt@2a02:587:dc0f:7c00:12c3:7bff:fe6d:d374)
08:41:36 × chomwitt quits (~chomwitt@2a02:587:dc0f:7c00:12c3:7bff:fe6d:d374) (Read error: Connection reset by peer)
08:44:01 oxide joins (~lambda@user/oxide)
08:48:13 dhruvasagar joins (~dhruvasag@49.207.218.36)
08:50:39 AlexNoo_ is now known as AlexNoo
08:52:12 chele joins (~chele@user/chele)
08:53:18 v01d4lph4 joins (~v01d4lph4@user/v01d4lph4)
08:56:13 × econo quits (uid147250@user/econo) (Quit: Connection closed for inactivity)
08:56:46 × aliosablack quits (~chomwitt@2a02:587:dc0f:7c00:12c3:7bff:fe6d:d374) (Ping timeout: 245 seconds)
08:59:17 × mcgroin quits (~mcgroin@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) (Ping timeout: 256 seconds)
09:01:04 mcgroin joins (~mcgroin@2a04:cec0:117a:2bdc:138b:9371:fd4b:83f7)
09:01:31 cosimone joins (~user@93-47-231-139.ip115.fastwebnet.it)
09:02:27 × bitmapper quits (uid464869@lymington.irccloud.com) (Quit: Connection closed for inactivity)
09:02:41 × deadmarshal quits (~deadmarsh@95.38.228.222) (Ping timeout: 256 seconds)
09:05:31 × jlamothe quits (~jlamothe@198.251.61.229) (Ping timeout: 256 seconds)
09:06:02 chomwitt joins (~chomwitt@2a02:587:dc0f:7c00:12c3:7bff:fe6d:d374)
09:06:27 gehmehgeh joins (~user@user/gehmehgeh)
09:08:22 jgeerds joins (~jgeerds@55d41b94.access.ecotel.net)
09:10:26 max22- joins (~maxime@2a01cb08833598005dabd5498813ae20.ipv6.abo.wanadoo.fr)
09:16:02 × mcgroin quits (~mcgroin@2a04:cec0:117a:2bdc:138b:9371:fd4b:83f7) (Ping timeout: 240 seconds)
09:16:35 × vysn quits (~vysn@user/vysn) (Ping timeout: 264 seconds)
09:17:33 allbery_b joins (~geekosaur@xmonad/geekosaur)
09:17:33 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
09:17:36 allbery_b is now known as geekosaur
09:18:01 vysn joins (~vysn@user/vysn)
09:18:23 mcgroin joins (~mcgroin@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr)
09:20:35 johnny_sitar joins (~artur@078088015209.bialystok.vectranet.pl)
09:22:01 Guest13 joins (~Guest13@44.51-174-234.customer.lyse.net)
09:22:58 × Guest13 quits (~Guest13@44.51-174-234.customer.lyse.net) (Client Quit)
09:26:58 kadir joins (~kadir@78.178.105.36)
09:27:20 × phma quits (phma@2001:5b0:210d:9d18:7608:a226:de13:2590) (Read error: Connection reset by peer)
09:27:59 × aplainzetakind quits (~johndoe@captainludd.powered.by.lunarbnc.net) (Ping timeout: 264 seconds)
09:28:35 phma joins (phma@2001:5b0:211f:3178:45a8:8496:3ea1:a73a)
09:29:37 aplainzetakind joins (~johndoe@captainludd.powered.by.lunarbnc.net)
09:32:25 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:c075:f6f7:f2c7:7314) (Remote host closed the connection)
09:34:30 deadmarshal joins (~deadmarsh@95.38.228.222)
09:36:11 tengu1 joins (~tengu1@cpe-70-121-244-14.neb.res.rr.com)
09:38:55 yauhsien joins (~yauhsien@118-167-47-187.dynamic-ip.hinet.net)
09:45:03 jakalx parts (~jakalx@base.jakalx.net) ()
09:45:52 jakalx joins (~jakalx@base.jakalx.net)
09:48:32 × yauhsien quits (~yauhsien@118-167-47-187.dynamic-ip.hinet.net) (Remote host closed the connection)
09:51:06 yauhsien joins (~yauhsien@118-167-47-187.dynamic-ip.hinet.net)
09:51:19 × jgeerds quits (~jgeerds@55d41b94.access.ecotel.net) (Ping timeout: 250 seconds)
09:54:47 × chomwitt quits (~chomwitt@2a02:587:dc0f:7c00:12c3:7bff:fe6d:d374) (Ping timeout: 246 seconds)
09:55:03 × aegon quits (~mike@174.127.249.180) (Remote host closed the connection)
09:55:13 × v01d4lph4 quits (~v01d4lph4@user/v01d4lph4) (Remote host closed the connection)
09:55:13 chomwitt joins (~chomwitt@2a02:587:dc0f:7c00:12c3:7bff:fe6d:d374)
09:56:02 × yauhsien quits (~yauhsien@118-167-47-187.dynamic-ip.hinet.net) (Ping timeout: 260 seconds)
09:57:35 × deadmarshal quits (~deadmarsh@95.38.228.222) (Ping timeout: 246 seconds)
09:57:42 lavaman joins (~lavaman@98.38.249.169)
10:00:09 × cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 3.3)
10:01:38 deadmarshal joins (~deadmarsh@95.38.228.222)
10:02:11 × lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 256 seconds)
10:04:24 × tengu1 quits (~tengu1@cpe-70-121-244-14.neb.res.rr.com) (Quit: Client closed)
10:06:11 × alzgh quits (alzgh@user/alzgh) (Ping timeout: 256 seconds)
10:09:25 benin2 joins (~benin@106.198.85.27)
10:10:56 × benin quits (~benin@183.82.176.36) (Ping timeout: 245 seconds)
10:12:59 benin joins (~benin@183.82.176.36)
10:15:05 × benin2 quits (~benin@106.198.85.27) (Ping timeout: 246 seconds)
10:18:09 benin3 joins (~benin@106.198.85.27)
10:18:56 × benin quits (~benin@183.82.176.36) (Ping timeout: 246 seconds)
10:18:56 benin3 is now known as benin
10:20:39 × gehmehgeh quits (~user@user/gehmehgeh) (Remote host closed the connection)
10:21:23 gehmehgeh joins (~user@user/gehmehgeh)
10:30:03 yauhsien joins (~yauhsien@118-167-47-187.dynamic-ip.hinet.net)
10:30:30 × cheater quits (~Username@user/cheater) (Remote host closed the connection)
10:31:14 Midjak joins (~Midjak@82-65-111-221.subs.proxad.net)
10:32:38 benin7 joins (~benin@183.82.176.36)
10:32:47 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:c075:f6f7:f2c7:7314)
10:32:56 × xff0x quits (~xff0x@2001:1a81:522c:6200:1a00:c61c:e1e7:955f) (Ping timeout: 246 seconds)
10:33:52 xff0x joins (~xff0x@2001:1a81:522c:6200:54c8:e05a:349a:7362)
10:34:20 × benin quits (~benin@106.198.85.27) (Ping timeout: 246 seconds)
10:34:20 benin7 is now known as benin
10:34:20 × CiaoSen quits (~Jura@p200300c95730dd002a3a4dfffe84dbd5.dip0.t-ipconnect.de) (Ping timeout: 268 seconds)
10:34:57 × yauhsien quits (~yauhsien@118-167-47-187.dynamic-ip.hinet.net) (Ping timeout: 268 seconds)
10:37:35 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:c075:f6f7:f2c7:7314) (Ping timeout: 264 seconds)
10:37:52 cheater joins (~Username@user/cheater)
10:48:57 × deadmarshal quits (~deadmarsh@95.38.228.222) (Ping timeout: 250 seconds)
10:49:03 kadir parts (~kadir@78.178.105.36) (WeeChat 3.3)
10:52:30 kadir joins (~kadir@78.178.105.36)
10:53:02 × waleee quits (~waleee@2001:9b0:216:8200:d457:9189:7843:1dbd) (Ping timeout: 240 seconds)
10:53:10 × mei3 quits (~mei@user/mei) (Read error: Connection reset by peer)
10:53:23 × kupi quits (uid212005@hampstead.irccloud.com) (Quit: Connection closed for inactivity)
10:53:26 waleee joins (~waleee@h-98-128-228-119.NA.cust.bahnhof.se)
10:54:17 deadmarshal joins (~deadmarsh@95.38.228.222)
10:54:37 finn_elija joins (~finn_elij@user/finn-elija/x-0085643)
10:54:37 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Killed (NickServ (Forcing logout FinnElija -> finn_elija)))
10:54:37 finn_elija is now known as FinnElija
10:55:50 mmhat joins (~mmh@55d4bb38.access.ecotel.net)
10:57:30 × Midjak quits (~Midjak@82-65-111-221.subs.proxad.net) (Quit: Leaving)
10:58:10 × vysn quits (~vysn@user/vysn) (Quit: WeeChat 3.2)
10:58:45 Midjak joins (~Midjak@82-65-111-221.subs.proxad.net)
10:59:02 × loonycyborg_ quits (~loonycybo@chat.chantal.wesnoth.org) (Quit: ZNC - http://znc.sourceforge.net)
11:00:11 loonycyborg joins (~loonycybo@wesnoth/developer/loonycyborg)
11:00:51 alx741 joins (~alx741@186.178.109.114)
11:01:55 Gurkenglas joins (~Gurkengla@dslb-002-203-144-204.002.203.pools.vodafone-ip.de)
11:03:05 DNH joins (~DNH@8.43.122.53)
11:03:42 × whatsupdoc quits (uid509081@hampstead.irccloud.com) (Quit: Connection closed for inactivity)
11:03:55 yauhsien joins (~yauhsien@118-167-47-187.dynamic-ip.hinet.net)
11:04:09 × tzh quits (~tzh@c-24-21-73-154.hsd1.or.comcast.net) (Quit: zzz)
11:06:42 jakalx parts (~jakalx@base.jakalx.net) ()
11:08:32 × yauhsien quits (~yauhsien@118-167-47-187.dynamic-ip.hinet.net) (Ping timeout: 240 seconds)
11:09:45 × acidjnk quits (~acidjnk@p200300d0c721b72570e3bb829407e876.dip0.t-ipconnect.de) (Ping timeout: 250 seconds)
11:12:43 zava joins (~zava@ip5f5bdf0f.dynamic.kabel-deutschland.de)
11:13:04 cfricke joins (~cfricke@user/cfricke)
11:14:07 benin6 joins (~benin@106.198.85.27)
11:14:35 × benin quits (~benin@183.82.176.36) (Ping timeout: 246 seconds)
11:15:40 Pickchea joins (~private@user/pickchea)
11:16:28 benin joins (~benin@183.82.176.36)
11:18:26 × benin6 quits (~benin@106.198.85.27) (Ping timeout: 246 seconds)
11:19:14 __monty__ joins (~toonn@user/toonn)
11:25:05 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
11:26:16 zer0bitz joins (~zer0bitz@dsl-hkibng31-54fae3-116.dhcp.inet.fi)
11:27:05 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 264 seconds)
11:30:29 mark___ joins (~a@p200300ef973db1b24086f0a6a24fc4dd.dip0.t-ipconnect.de)
11:30:40 × rookie101 quits (~rookie@207.154.204.166) (Quit: WeeChat 1.9.1)
11:31:17 f-a joins (f2a@f2a.jujube.ircnow.org)
11:32:54 <f-a> hello, one some linux machines my compiled program fails with «error while loading shared libraries: libffi.so.7: cannot open shared object file: No such file or directory»
11:33:14 <f-a> reasonably enough, since I use ForeignFunctionInterface in a module
11:33:57 <f-a> question is: if I somehow remove that module, will I still need libffi? In general, is there a way to check which module/import necessitases libxyz?
11:34:27 <f-a> and second question: is there a way I can pack libffi.so.7 in the same executable (or at least in the same zip)?
11:35:32 × cosimone quits (~user@93-47-231-139.ip115.fastwebnet.it) (Remote host closed the connection)
11:35:53 <[exa]> f-a: "pack in the same executable" is basically "link it statically", so yes
11:36:30 <[exa]> otoh it is kinda preferable that the library is supplied by the target system
11:37:11 <f-a> it is such a basic library, but when I have a friend try it it complains about the wrong number (API?) at the end?
11:37:25 <f-a> makes me wonder if it could somehow choose a different one and pray
11:37:35 × chomwitt quits (~chomwitt@2a02:587:dc0f:7c00:12c3:7bff:fe6d:d374) (Ping timeout: 264 seconds)
11:37:55 <[exa]> usually if you're distributing a binary package you need to properly list dependencies, and the target site needs to install these right
11:38:19 <[exa]> depending on what you're trying to do I'd just advice for static linking :D
11:38:21 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 250 seconds)
11:38:50 chomwitt joins (~chomwitt@2a02:587:dc0f:7c00:12c3:7bff:fe6d:d374)
11:39:23 <f-a> thanks, I will try
11:39:57 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
11:40:19 <[exa]> f-a: in any case, what are you precisely trying to achieve? move the software without recompilation?
11:41:05 <f-a> distribute a binary without people having to fetch a library
11:41:32 <f-a> since it is a frigging console app and not anything complex
11:51:33 × Pickchea quits (~private@user/pickchea) (Ping timeout: 256 seconds)
11:51:52 jakalx joins (~jakalx@base.jakalx.net)
11:52:27 <[exa]> f-a: in that case the static build is the way to go :]
11:52:39 × deadmarshal quits (~deadmarsh@95.38.228.222) (Ping timeout: 250 seconds)
11:53:05 <f-a> I am tryig executable-static, wonder why I did not think about it before…
11:53:29 jrm2 joins (~jrm@156.34.187.65)
11:53:31 × jrm quits (~jrm@156.34.187.65) (Read error: Connection reset by peer)
11:54:12 jrm2 is now known as jrm
11:56:24 burnsidesLlama joins (~burnsides@dhcp168-014.wadham.ox.ac.uk)
11:59:37 lavaman joins (~lavaman@98.38.249.169)
12:05:11 × lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 264 seconds)
12:06:21 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 245 seconds)
12:07:23 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
12:10:03 × hiredman quits (~hiredman@frontier1.downey.family) (Ping timeout: 265 seconds)
12:10:17 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
12:10:34 × siraben quits (~siraben@user/siraben) (Quit: Bridge terminating on SIGTERM)
12:10:34 × sm quits (~sm@plaintextaccounting/sm) (Quit: Bridge terminating on SIGTERM)
12:10:34 × peddie quits (~peddie@2001:470:69fc:105::25d) (Quit: Bridge terminating on SIGTERM)
12:10:34 × ongy[m] quits (~ongymatri@2001:470:69fc:105::5018) (Quit: Bridge terminating on SIGTERM)
12:10:35 × jophish quits (~jophish@2001:470:69fc:105::670) (Quit: Bridge terminating on SIGTERM)
12:10:35 × Christoph[m] quits (~hpotsirhc@2001:470:69fc:105::2ff8) (Quit: Bridge terminating on SIGTERM)
12:10:35 × vaibhavsagar[m] quits (~vaibhavsa@2001:470:69fc:105::ffe) (Quit: Bridge terminating on SIGTERM)
12:10:35 × jmcantrell quits (~jmcantrel@user/jmcantrell) (Quit: Bridge terminating on SIGTERM)
12:10:35 × Ollie[m] quits (~ollieocha@2001:470:69fc:105::41a5) (Quit: Bridge terminating on SIGTERM)
12:10:35 × amesgen[m] quits (~amesgenm]@2001:470:69fc:105::82b) (Quit: Bridge terminating on SIGTERM)
12:10:35 × jinsun_ quits (~jinsun@user/jinsun) (Quit: Bridge terminating on SIGTERM)
12:10:35 × smichel17[m] quits (~smichel17@2001:470:69fc:105::2d32) (Quit: Bridge terminating on SIGTERM)
12:10:35 × maralorn quits (~maralorn@2001:470:69fc:105::251) (Quit: Bridge terminating on SIGTERM)
12:10:35 × Magnus[m] quits (~magthetch@2001:470:69fc:105::d1a7) (Quit: Bridge terminating on SIGTERM)
12:10:35 × SawyerBergeron[m quits (~sawyerber@2001:470:69fc:105::3036) (Quit: Bridge terminating on SIGTERM)
12:10:35 × maerwald[m] quits (~maerwaldm@2001:470:69fc:105::1ee) (Quit: Bridge terminating on SIGTERM)
12:10:35 × hughjfchen[m] quits (~hughjfche@2001:470:69fc:105::c29d) (Quit: Bridge terminating on SIGTERM)
12:10:35 × asdofindia-m quits (~akshaymat@2001:470:69fc:105::831) (Quit: Bridge terminating on SIGTERM)
12:10:36 × reza[m] quits (~rezaphone@2001:470:69fc:105::3eda) (Quit: Bridge terminating on SIGTERM)
12:10:36 × xosdy[m] quits (~xosdyalet@2001:470:69fc:105::31f7) (Quit: Bridge terminating on SIGTERM)
12:10:37 × oak- quits (~oakuniver@2001:470:69fc:105::fcd) (Quit: Bridge terminating on SIGTERM)
12:10:37 × iammrinal0[m] quits (~iammrinal@2001:470:69fc:105::1:2248) (Quit: Bridge terminating on SIGTERM)
12:10:37 × ru0mad[m] quits (~ru0madmat@2001:470:69fc:105::9b2) (Quit: Bridge terminating on SIGTERM)
12:10:37 × hsiktas[m] quits (~hsiktasma@2001:470:69fc:105::30d4) (Quit: Bridge terminating on SIGTERM)
12:10:37 × srid[m] quits (~sridmatri@2001:470:69fc:105::1c2) (Quit: Bridge terminating on SIGTERM)
12:10:37 × Deewiant quits (~deewiant@2001:470:69fc:105::2fd3) (Quit: Bridge terminating on SIGTERM)
12:10:37 × unrooted quits (~unrooted@2001:470:69fc:105::a4a) (Quit: Bridge terminating on SIGTERM)
12:10:37 × sky_lounge[m] quits (~skylounge@2001:470:69fc:105::efa6) (Quit: Bridge terminating on SIGTERM)
12:10:37 × soft quits (~soft@2001:470:69fc:105::c75) (Quit: Bridge terminating on SIGTERM)
12:10:37 × anotherbruce[m] quits (~anotherbr@2001:470:69fc:105::1:2548) (Quit: Bridge terminating on SIGTERM)
12:10:37 × dexmad[m] quits (~dexmadmat@2001:470:69fc:105::e056) (Quit: Bridge terminating on SIGTERM)
12:10:38 × carmysilna quits (~brightly-@2001:470:69fc:105::2190) (Quit: Bridge terminating on SIGTERM)
12:10:38 × Morrow[m] quits (~morrowmma@2001:470:69fc:105::1d0) (Quit: Bridge terminating on SIGTERM)
12:10:38 × schuelermine[m] quits (~schuelerm@user/schuelermine) (Quit: Bridge terminating on SIGTERM)
12:10:38 × surgeon[m] quits (~surge9nma@2001:470:69fc:105::f585) (Quit: Bridge terminating on SIGTERM)
12:10:38 × kevin[m]1 quits (~pnotequal@2001:470:69fc:105::a54) (Quit: Bridge terminating on SIGTERM)
12:10:38 × TomWesterhout[m] quits (~twesterho@2001:470:69fc:105::1:2918) (Quit: Bridge terminating on SIGTERM)
12:10:39 × Arathorn quits (~arathorn@2001:470:69fc:105::1f) (Quit: Bridge terminating on SIGTERM)
12:10:39 × moats quits (~oats@user/oats) (Quit: Bridge terminating on SIGTERM)
12:10:39 × Domino[m] quits (~dominothe@2001:470:69fc:105::1:271b) (Quit: Bridge terminating on SIGTERM)
12:10:39 × thomasjm[m] quits (~thomasjmm@2001:470:69fc:105::c6d9) (Quit: Bridge terminating on SIGTERM)
12:10:39 × afotgkmnzj7asv3r quits (~afotgkmnz@2001:470:69fc:105::c24b) (Quit: Bridge terminating on SIGTERM)
12:10:39 × ilkecan[m] quits (~ilkecanma@2001:470:69fc:105::1:79b) (Quit: Bridge terminating on SIGTERM)
12:10:39 × ericson2314 quits (~ericson23@2001:470:69fc:105::70c) (Quit: Bridge terminating on SIGTERM)
12:10:39 × unclechu quits (~unclechu@2001:470:69fc:105::354) (Quit: Bridge terminating on SIGTERM)
12:10:39 × justosophy[m] quits (~justosoph@2001:470:69fc:105::572f) (Quit: Bridge terminating on SIGTERM)
12:10:40 × wysteriary[m] quits (~wysteriar@2001:470:69fc:105::a42e) (Quit: Bridge terminating on SIGTERM)
12:10:40 × jesser[m] quits (~jessermat@2001:470:69fc:105::d5ae) (Quit: Bridge terminating on SIGTERM)
12:10:40 × bb010g quits (~bb010g@2001:470:69fc:105::9a5) (Quit: Bridge terminating on SIGTERM)
12:10:40 × MatrixTravelerbo quits (~voyagert2@2001:470:69fc:105::22) (Quit: Bridge terminating on SIGTERM)
12:10:40 × codygman[m] quits (~codygman@2001:470:69fc:105::b4ba) (Quit: Bridge terminating on SIGTERM)
12:10:40 × Drew[m] quits (~drewefenw@2001:470:69fc:105::c8c4) (Quit: Bridge terminating on SIGTERM)
12:10:40 × wildsebastian quits (~wildsebas@2001:470:69fc:105::1:14b1) (Quit: Bridge terminating on SIGTERM)
12:10:40 × rednaZ[m] quits (~r3dnazmat@2001:470:69fc:105::ba70) (Quit: Bridge terminating on SIGTERM)
12:10:40 × RosarioPulella[m quits (~rosariopu@2001:470:69fc:105::a57) (Quit: Bridge terminating on SIGTERM)
12:10:40 × psydroid quits (~psydroid@user/psydroid) (Quit: Bridge terminating on SIGTERM)
12:10:41 × cdsmith quits (~cdsmithma@2001:470:69fc:105::284) (Quit: Bridge terminating on SIGTERM)
12:10:41 × PotatoHatsue quits (~berberman@2001:470:69fc:105::b488) (Quit: Bridge terminating on SIGTERM)
12:10:41 × fakehacker[m] quits (~fakehacke@2001:470:69fc:105::b5f0) (Quit: Bridge terminating on SIGTERM)
12:10:41 × Topik[m] quits (~topikmatr@2001:470:69fc:105::a082) (Quit: Bridge terminating on SIGTERM)
12:10:41 × jchia[m] quits (~jchiamatr@2001:470:69fc:105::c50b) (Quit: Bridge terminating on SIGTERM)
12:10:41 × zwro[m] quits (~zwromatri@2001:470:69fc:105::1d4) (Quit: Bridge terminating on SIGTERM)
12:10:41 × fcortesi quits (~fcortesi@2001:470:69fc:105::f3a9) (Quit: Bridge terminating on SIGTERM)
12:10:41 × zfnmxt quits (~zfnmxtzfn@user/zfnmxt) (Quit: Bridge terminating on SIGTERM)
12:10:41 × mekeor[m] quits (~mekeormat@2001:470:69fc:105::17e4) (Quit: Bridge terminating on SIGTERM)
12:10:41 × Tisoxin quits (~ikosit@user/ikosit) (Quit: Bridge terminating on SIGTERM)
12:10:41 × Artem[m] quits (~artemtype@2001:470:69fc:105::75b) (Quit: Bridge terminating on SIGTERM)
12:10:41 × ppseafield[m] quits (~elementpp@2001:470:69fc:105::1:250a) (Quit: Bridge terminating on SIGTERM)
12:10:42 × puffnfresh[m] quits (~puffnfres@2001:470:69fc:105::1:22da) (Quit: Bridge terminating on SIGTERM)
12:10:42 × Tavi[m] quits (~factoidde@2001:470:69fc:105::1:819) (Quit: Bridge terminating on SIGTERM)
12:10:43 × alexfmpe[m] quits (~alexfmpem@2001:470:69fc:105::38ba) (Quit: Bridge terminating on SIGTERM)
12:10:43 × kadoban quits (~kadoban@user/kadoban) (Quit: Bridge terminating on SIGTERM)
12:10:43 × gdhffd[m] quits (~gdhffdmat@2001:470:69fc:105::1:799) (Quit: Bridge terminating on SIGTERM)
12:10:43 × fgaz quits (~fgaz@2001:470:69fc:105::842) (Quit: Bridge terminating on SIGTERM)
12:10:43 × jneira[m] quits (~jneiramat@2001:470:69fc:105::d729) (Quit: Bridge terminating on SIGTERM)
12:10:43 × conphiz[m] quits (~conphizma@2001:470:69fc:105::c052) (Quit: Bridge terminating on SIGTERM)
12:10:43 × ManofLetters[m] quits (~manoflett@2001:470:69fc:105::3be) (Quit: Bridge terminating on SIGTERM)
12:10:43 × Deide quits (~deide@user/deide) (Quit: Bridge terminating on SIGTERM)
12:10:43 × stoicswe[m] quits (~deadlette@2001:470:69fc:105::d277) (Quit: Bridge terminating on SIGTERM)
12:10:43 × Orbstheorem quits (~orbstheor@2001:470:69fc:105::a56) (Quit: Bridge terminating on SIGTERM)
12:10:44 × InternetManaging quits (~imjmatrix@2001:470:69fc:105::1:2ea5) (Quit: Bridge terminating on SIGTERM)
12:10:44 × OndejSkup[m] quits (~mimivxmat@2001:470:69fc:105::c300) (Quit: Bridge terminating on SIGTERM)
12:10:44 × JoelMcCracken[m] quits (~joelmccra@2001:470:69fc:105::8405) (Quit: Bridge terminating on SIGTERM)
12:10:44 × tomku[m] quits (~tomkumozi@2001:470:69fc:105::1:2fcb) (Quit: Bridge terminating on SIGTERM)
12:10:45 × utk quits (~utk@2001:470:69fc:105::1:2fe0) (Quit: Bridge terminating on SIGTERM)
12:10:45 × thedward[m] quits (~thedwardm@2001:470:69fc:105::f79) (Quit: Bridge terminating on SIGTERM)
12:10:45 × lambdandy[m] quits (~lambdandy@2001:470:69fc:105::1:3045) (Quit: Bridge terminating on SIGTERM)
12:10:45 × quantum quits (~quantum@user/quantum/x-8556232) (Quit: Bridge terminating on SIGTERM)
12:10:45 × alex[m]1231 quits (~alexchete@2001:470:69fc:105::1:1001) (Quit: Bridge terminating on SIGTERM)
12:10:45 × denbrahe[m] quits (~denbrahem@2001:470:69fc:105::19c0) (Quit: Bridge terminating on SIGTERM)
12:10:45 × bitonic quits (~bitonic@2001:470:69fc:105::1812) (Quit: Bridge terminating on SIGTERM)
12:10:45 × fendor[m] quits (~fendormat@2001:470:69fc:105::fcbd) (Quit: Bridge terminating on SIGTERM)
12:10:45 × DemiMarieObenour quits (~alwayscur@2001:470:69fc:105::4886) (Quit: Bridge terminating on SIGTERM)
12:10:45 × marinelli[m] quits (~marinelli@2001:470:69fc:105::2d8) (Quit: Bridge terminating on SIGTERM)
12:10:45 × TomasJakl[m] quits (~jaklttchn@2001:470:69fc:105::a42) (Quit: Bridge terminating on SIGTERM)
12:10:45 × craige[m] quits (~craigemcw@2001:470:69fc:105::35f1) (Quit: Bridge terminating on SIGTERM)
12:10:45 × kosmikus[m] quits (~andresloe@2001:470:69fc:105::95d) (Quit: Bridge terminating on SIGTERM)
12:10:45 × the-coot[m] quits (~the-cootm@2001:470:69fc:105::95f) (Quit: Bridge terminating on SIGTERM)
12:10:45 × ServerStatsDisco quits (~serversta@2001:470:69fc:105::1a) (Quit: Bridge terminating on SIGTERM)
12:10:46 × xddq[m] quits (~xddqmatri@2001:470:69fc:105::bfd8) (Quit: Bridge terminating on SIGTERM)
12:10:46 × jkachmar quits (~jkachmar@2001:470:69fc:105::c72d) (Quit: Bridge terminating on SIGTERM)
12:10:46 × acco[m] quits (~accotedom@2001:470:69fc:105::1:3236) (Quit: Bridge terminating on SIGTERM)
12:10:46 × santiagopim[m] quits (~santiagop@2001:470:69fc:105::e57d) (Quit: Bridge terminating on SIGTERM)
12:10:46 × aidy quits (~aidy@2001:470:69fc:105::c7b4) (Quit: Bridge terminating on SIGTERM)
12:10:56 × unmanbearpig quits (~unmanbear@user/unmanbearpig) (Ping timeout: 245 seconds)
12:11:33 hiredman joins (~hiredman@frontier1.downey.family)
12:11:43 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 250 seconds)
12:12:57 unmanbearpig joins (~unmanbear@user/unmanbearpig)
12:13:08 <dminuoso> Mmm, I really miss: fromListEff :: Applicative f => (k -> a -> f ()) -> [(k, a)] -> f (Map k a)
12:13:11 <dminuoso> This would be so useful :(
12:13:26 <yin> do we have linear types yet?
12:13:48 <dminuoso> I mean I can build something similar with alterF, but definitely not with the same asymptotics
12:22:13 deadmarshal joins (~deadmarsh@95.38.228.222)
12:27:07 <tomsmeding> yin: {-# LANGUAGE LinearTypes #-} works on ghc 9.0 :)
12:27:12 × deadmarshal quits (~deadmarsh@95.38.228.222) (Ping timeout: 268 seconds)
12:28:34 <hpc> my dream of an automatic type-safe rust ffi are inching ever closer to reality :D
12:28:35 jchia[m] joins (~jchiamatr@2001:470:69fc:105::c50b)
12:28:52 <tomsmeding> dminuoso: I assume that's not just fromListEff f l = Map.fromList l <$ traverse (uncurry f) l
12:28:55 MatrixTravelerbo joins (~voyagert2@2001:470:69fc:105::22)
12:28:55 fgaz joins (~fgaz@2001:470:69fc:105::842)
12:28:55 peddie joins (~peddie@2001:470:69fc:105::25d)
12:28:55 cdsmith joins (~cdsmithma@2001:470:69fc:105::284)
12:28:56 Morrow[m] joins (~morrowmma@2001:470:69fc:105::1d0)
12:29:08 thomasjm[m] joins (~thomasjmm@2001:470:69fc:105::c6d9)
12:29:22 ru0mad[m] joins (~ru0madmat@2001:470:69fc:105::9b2)
12:29:34 gdhffd[m] joins (~gdhffdmat@2001:470:69fc:105::1:799)
12:29:48 bb010g joins (~bb010g@2001:470:69fc:105::9a5)
12:29:48 ServerStatsDisco joins (~serversta@2001:470:69fc:105::1a)
12:29:49 amesgen[m] joins (~amesgenm]@2001:470:69fc:105::82b)
12:29:49 the-coot[m] joins (~the-cootm@2001:470:69fc:105::95f)
12:29:49 moats joins (~oats@user/oats)
12:30:01 soft joins (~soft@2001:470:69fc:105::c75)
12:30:02 zfnmxt joins (~zfnmxtzfn@2001:470:69fc:105::2b32)
12:30:15 oak- joins (~oakuniver@2001:470:69fc:105::fcd)
12:30:15 kadoban joins (~kadoban@user/kadoban)
12:30:15 bitonic joins (~bitonic@2001:470:69fc:105::1812)
12:30:15 jophish joins (~jophish@2001:470:69fc:105::670)
12:30:15 ericson2314 joins (~ericson23@2001:470:69fc:105::70c)
12:30:15 Arathorn joins (~arathorn@2001:470:69fc:105::1f)
12:30:15 Ollie[m] joins (~ollieocha@2001:470:69fc:105::41a5)
12:30:15 PotatoHatsue joins (~berberman@2001:470:69fc:105::b488)
12:30:16 unclechu joins (~unclechu@2001:470:69fc:105::354)
12:30:29 Deewiant joins (~deewiant@2001:470:69fc:105::2fd3)
12:30:29 unrooted joins (~unrooted@2001:470:69fc:105::a4a)
12:30:29 rednaZ[m] joins (~r3dnazmat@2001:470:69fc:105::ba70)
12:30:42 xddq[m] joins (~xddqmatri@2001:470:69fc:105::bfd8)
12:30:42 maralorn joins (~maralorn@2001:470:69fc:105::251)
12:30:42 denbrahe[m] joins (~denbrahem@2001:470:69fc:105::19c0)
12:30:54 jesser[m] joins (~jessermat@2001:470:69fc:105::d5ae)
12:31:06 reza[m] joins (~rezaphone@2001:470:69fc:105::3eda)
12:31:06 quantum joins (~quantum@user/quantum/x-8556232)
12:31:06 marinelli[m] joins (~marinelli@2001:470:69fc:105::2d8)
12:31:06 hsiktas[m] joins (~hsiktasma@2001:470:69fc:105::30d4)
12:31:22 Orbstheorem joins (~orbstheor@2001:470:69fc:105::a56)
12:31:22 craige[m] joins (~craigemcw@2001:470:69fc:105::35f1)
12:31:39 afotgkmnzj7asv3r joins (~afotgkmnz@2001:470:69fc:105::c24b)
12:31:39 schuelermine[m] joins (~schuelerm@user/schuelermine)
12:31:39 sm joins (~sm@plaintextaccounting/sm)
12:31:54 justosophy[m] joins (~justosoph@2001:470:69fc:105::572f)
12:31:58 kevin[m]1 joins (~pnotequal@2001:470:69fc:105::a54)
12:32:16 ppseafield[m] joins (~elementpp@2001:470:69fc:105::1:250a)
12:32:20 Deide joins (~deide@user/deide)
12:32:34 fakehacker[m] joins (~fakehacke@2001:470:69fc:105::b5f0)
12:32:34 hughjfchen[m] joins (~hughjfche@2001:470:69fc:105::c29d)
12:32:34 Artem[m] joins (~artemtype@2001:470:69fc:105::75b)
12:32:35 psydroid joins (~psydroid@user/psydroid)
12:32:35 Christoph[m] joins (~hpotsirhc@2001:470:69fc:105::2ff8)
12:32:58 wysteriary[m] joins (~wysteriar@2001:470:69fc:105::a42e)
12:33:02 zwro[m] joins (~zwromatri@2001:470:69fc:105::1d4)
12:33:14 stoicswe[m] joins (~deadlette@2001:470:69fc:105::d277)
12:33:14 Topik[m] joins (~topikmatr@2001:470:69fc:105::a082)
12:33:14 ongy[m] joins (~ongymatri@2001:470:69fc:105::5018)
12:33:14 alexfmpe[m] joins (~alexfmpem@2001:470:69fc:105::38ba)
12:33:29 asdofindia-m joins (~akshaymat@2001:470:69fc:105::831)
12:33:29 Drew[m] joins (~drewefenw@2001:470:69fc:105::c8c4)
12:33:29 jneira[m] joins (~jneiramat@2001:470:69fc:105::d729)
12:33:29 Magnus[m] joins (~magthetch@2001:470:69fc:105::d1a7)
12:33:29 siraben joins (~siraben@user/siraben)
12:33:42 dexmad[m] joins (~dexmadmat@2001:470:69fc:105::e056)
12:33:42 Movedtosridoneem joins (~sridmatri@2001:470:69fc:105::1c2)
12:33:42 smichel17[m] joins (~smichel17@2001:470:69fc:105::2d32)
12:33:42 alex[m] joins (~alexchete@2001:470:69fc:105::1:1001)
12:33:42 SawyerBergeron[m joins (~sawyerber@2001:470:69fc:105::3036)
12:33:54 anotherbruce[m] joins (~anotherbr@2001:470:69fc:105::1:2548)
12:33:54 ManofLetters[m] joins (~manoflett@2001:470:69fc:105::3be)
12:33:54 Tisoxin joins (~ikosit@user/ikosit)
12:33:54 carmysilna joins (~brightly-@2001:470:69fc:105::2190)
12:33:54 fendor[m] joins (~fendormat@2001:470:69fc:105::fcbd)
12:33:54 aidy joins (~aidy@2001:470:69fc:105::c7b4)
12:33:55 DemiMarieObenour joins (~alwayscur@2001:470:69fc:105::4886)
12:34:07 iammrinal0[m] joins (~iammrinal@2001:470:69fc:105::1:2248)
12:34:20 TomasJakl[m] joins (~jaklttchn@2001:470:69fc:105::a42)
12:34:20 OndejSkup[m] joins (~mimivxmat@2001:470:69fc:105::c300)
12:34:20 InternetManaging joins (~imjmatrix@2001:470:69fc:105::1:2ea5)
12:34:32 kosmikus[m] joins (~andresloe@2001:470:69fc:105::95d)
12:34:32 ilkecan[m] joins (~ilkecanma@2001:470:69fc:105::1:79b)
12:34:46 codygman[m] joins (~codygman@2001:470:69fc:105::b4ba)
12:34:51 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:c075:f6f7:f2c7:7314)
12:34:58 xosdy[m] joins (~xosdyalet@2001:470:69fc:105::31f7)
12:34:58 vaibhavsagar[m] joins (~vaibhavsa@2001:470:69fc:105::ffe)
12:34:58 santiagopim[m] joins (~santiagop@2001:470:69fc:105::e57d)
12:35:11 Tavi[m] joins (~factoidde@2001:470:69fc:105::1:819)
12:35:11 jmcantrell joins (~jmcantrel@user/jmcantrell)
12:35:11 maerwald[m] joins (~maerwaldm@2001:470:69fc:105::1ee)
12:35:25 jkachmar joins (~jkachmar@2001:470:69fc:105::c72d)
12:35:38 × Kaipi quits (~Kaiepi@156.34.44.192) (Remote host closed the connection)
12:35:39 JoelMcCracken[m] joins (~joelmccra@2001:470:69fc:105::8405)
12:35:50 RosarioPulella[m joins (~rosariopu@2001:470:69fc:105::a57)
12:35:50 puffnfresh[m] joins (~puffnfres@2001:470:69fc:105::1:22da)
12:35:52 <dminuoso> tomsmeding: Yeah.
12:35:59 <dminuoso> I want that to be called on conflict.
12:36:02 Kaipi joins (~Kaiepi@156.34.44.192)
12:36:02 TomWesterhout[m] joins (~twesterho@2001:470:69fc:105::1:2918)
12:36:05 <dminuoso> Oh
12:36:07 <dminuoso> It should rather be:
12:36:14 sky_lounge[m] joins (~skylounge@2001:470:69fc:105::efa6)
12:36:14 wildsebastian joins (~wildsebas@2001:470:69fc:105::1:14b1)
12:36:14 jinsun_ joins (~jinsun@user/jinsun)
12:36:16 <dminuoso> fromListEff :: Applicative f => (k -> k -> a -> f ()) -> [(k, a)] -> f (Map k a)
12:36:18 <dminuoso> Obviously
12:36:26 conphiz[m] joins (~conphizma@2001:470:69fc:105::c052)
12:36:29 <dminuoso> That would have avoided the ambiguity here I think
12:36:39 acco[m] joins (~accotedom@2001:470:69fc:105::1:3236)
12:36:39 surgeon[m] joins (~surge9nma@2001:470:69fc:105::f585)
12:36:51 Domino[m] joins (~dominothe@2001:470:69fc:105::1:271b)
12:36:52 tomku[m] joins (~tomkumozi@2001:470:69fc:105::1:2fcb)
12:36:52 fcortesi joins (~fcortesi@2001:470:69fc:105::f3a9)
12:36:56 utk joins (~utk@2001:470:69fc:105::1:2fe0)
12:36:59 × rkrishnan quits (~user@122.167.19.65) (Ping timeout: 264 seconds)
12:37:08 thedward[m] joins (~thedwardm@2001:470:69fc:105::f79)
12:37:20 lambdandy[m] joins (~lambdandy@2001:470:69fc:105::1:3045)
12:38:27 zer0bitz_ joins (~zer0bitz@2001:2003:f6e3:7400:d8e7:a6fa:245:fafa)
12:39:32 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:c075:f6f7:f2c7:7314) (Ping timeout: 265 seconds)
12:41:14 × zer0bitz quits (~zer0bitz@dsl-hkibng31-54fae3-116.dhcp.inet.fi) (Ping timeout: 260 seconds)
12:41:53 cosimone joins (~user@93-47-231-139.ip115.fastwebnet.it)
12:42:42 machinedgod joins (~machinedg@24.105.81.50)
12:43:35 <tomsmeding> ah right
12:44:25 <tomsmeding> if you want the right asymptotics without much hassle, but perhaps non-optimal constant factor: sort on key first, then groupBy ((==) `on` fst), do the deduplication yourself, and then Map.fromListAsc
12:44:30 <tomsmeding> but yeah
12:45:06 wennefer0 joins (~wennefer0@c-73-69-143-60.hsd1.ma.comcast.net)
12:45:42 × wennefer0 quits (~wennefer0@c-73-69-143-60.hsd1.ma.comcast.net) (Remote host closed the connection)
12:46:10 × DNH quits (~DNH@8.43.122.53) (Quit: My MacBook has gone to sleep. ZZZzzz…)
12:47:50 <dminuoso> tomsmeding: Id probably just write something custom as opposed to groupBy
12:50:00 × ericson2314 quits (~ericson23@2001:470:69fc:105::70c) (Quit: Client limit exceeded: 20000)
12:50:00 × Christoph[m] quits (~hpotsirhc@2001:470:69fc:105::2ff8) (Quit: Client limit exceeded: 20000)
12:50:00 × siraben quits (~siraben@user/siraben) (Quit: Client limit exceeded: 20000)
12:50:01 × max22- quits (~maxime@2a01cb08833598005dabd5498813ae20.ipv6.abo.wanadoo.fr) (Ping timeout: 268 seconds)
12:50:02 × MatrixTravelerbo quits (~voyagert2@2001:470:69fc:105::22) (Quit: Client limit exceeded: 20000)
12:50:11 × ServerStatsDisco quits (~serversta@2001:470:69fc:105::1a) (Quit: Client limit exceeded: 20000)
12:50:31 × puffnfresh[m] quits (~puffnfres@2001:470:69fc:105::1:22da) (Quit: Client limit exceeded: 20000)
12:50:43 × peddie quits (~peddie@2001:470:69fc:105::25d) (Quit: Client limit exceeded: 20000)
12:50:43 × kadoban quits (~kadoban@user/kadoban) (Quit: Client limit exceeded: 20000)
12:50:46 × fgaz quits (~fgaz@2001:470:69fc:105::842) (Quit: Client limit exceeded: 20000)
12:50:47 × unrooted quits (~unrooted@2001:470:69fc:105::a4a) (Quit: Client limit exceeded: 20000)
12:50:48 × sm quits (~sm@plaintextaccounting/sm) (Quit: Client limit exceeded: 20000)
12:50:51 × Arathorn quits (~arathorn@2001:470:69fc:105::1f) (Quit: Client limit exceeded: 20000)
12:50:54 × wildsebastian quits (~wildsebas@2001:470:69fc:105::1:14b1) (Quit: Client limit exceeded: 20000)
12:50:54 × psydroid quits (~psydroid@user/psydroid) (Quit: Client limit exceeded: 20000)
12:50:58 × hsiktas[m] quits (~hsiktasma@2001:470:69fc:105::30d4) (Quit: Client limit exceeded: 20000)
12:51:01 × cdsmith quits (~cdsmithma@2001:470:69fc:105::284) (Quit: Client limit exceeded: 20000)
12:51:09 × quantum quits (~quantum@user/quantum/x-8556232) (Quit: Client limit exceeded: 20000)
12:51:10 × Tisoxin quits (~ikosit@user/ikosit) (Quit: Client limit exceeded: 20000)
12:51:15 × Deide quits (~deide@user/deide) (Quit: Client limit exceeded: 20000)
12:51:16 × denbrahe[m] quits (~denbrahem@2001:470:69fc:105::19c0) (Quit: Client limit exceeded: 20000)
12:51:16 × rednaZ[m] quits (~r3dnazmat@2001:470:69fc:105::ba70) (Quit: Client limit exceeded: 20000)
12:51:16 × InternetManaging quits (~imjmatrix@2001:470:69fc:105::1:2ea5) (Quit: Client limit exceeded: 20000)
12:51:16 × amesgen[m] quits (~amesgenm]@2001:470:69fc:105::82b) (Quit: Client limit exceeded: 20000)
12:51:23 × the-coot[m] quits (~the-cootm@2001:470:69fc:105::95f) (Quit: Client limit exceeded: 20000)
12:51:23 × jophish quits (~jophish@2001:470:69fc:105::670) (Quit: Client limit exceeded: 20000)
12:51:24 × PotatoHatsue quits (~berberman@2001:470:69fc:105::b488) (Quit: Client limit exceeded: 20000)
12:51:25 × unclechu quits (~unclechu@2001:470:69fc:105::354) (Quit: Client limit exceeded: 20000)
12:51:50 × maralorn quits (~maralorn@2001:470:69fc:105::251) (Quit: Client limit exceeded: 20000)
12:51:50 × vaibhavsagar[m] quits (~vaibhavsa@2001:470:69fc:105::ffe) (Quit: Client limit exceeded: 20000)
12:52:04 × Topik[m] quits (~topikmatr@2001:470:69fc:105::a082) (Quit: Client limit exceeded: 20000)
12:52:06 × carmysilna quits (~brightly-@2001:470:69fc:105::2190) (Quit: Client limit exceeded: 20000)
12:52:08 × zfnmxt quits (~zfnmxtzfn@2001:470:69fc:105::2b32) (Quit: Client limit exceeded: 20000)
12:52:26 MatrixTravelerbo joins (~voyagert2@2001:470:69fc:105::22)
12:52:26 fgaz joins (~fgaz@2001:470:69fc:105::842)
12:52:26 ServerStatsDisco joins (~serversta@2001:470:69fc:105::1a)
12:52:26 amesgen[m] joins (~amesgenm]@2001:470:69fc:105::82b)
12:52:26 the-coot[m] joins (~the-cootm@2001:470:69fc:105::95f)
12:52:26 kadoban joins (~kadoban@user/kadoban)
12:52:26 ericson2314 joins (~ericson23@2001:470:69fc:105::70c)
12:52:26 PotatoHatsue joins (~berberman@2001:470:69fc:105::b488)
12:52:27 hsiktas[m] joins (~hsiktasma@2001:470:69fc:105::30d4)
12:52:27 sm joins (~sm@plaintextaccounting/sm)
12:52:27 Deide joins (~deide@user/deide)
12:52:27 Christoph[m] joins (~hpotsirhc@2001:470:69fc:105::2ff8)
12:52:27 psydroid joins (~psydroid@user/psydroid)
12:52:27 siraben joins (~siraben@user/siraben)
12:52:28 Tisoxin joins (~ikosit@user/ikosit)
12:52:28 wildsebastian joins (~wildsebas@2001:470:69fc:105::1:14b1)
12:52:30 zfnmxt joins (~zfnmxtzfn@2001:470:69fc:105::2b32)
12:52:39 Topik[m] joins (~topikmatr@2001:470:69fc:105::a082)
12:52:39 rednaZ[m] joins (~r3dnazmat@2001:470:69fc:105::ba70)
12:52:39 InternetManaging joins (~imjmatrix@2001:470:69fc:105::1:2ea5)
12:52:40 unrooted joins (~unrooted@2001:470:69fc:105::a4a)
12:52:40 denbrahe[m] joins (~denbrahem@2001:470:69fc:105::19c0)
12:52:40 jophish joins (~jophish@2001:470:69fc:105::670)
12:52:40 unclechu joins (~unclechu@2001:470:69fc:105::354)
12:52:40 puffnfresh[m] joins (~puffnfres@2001:470:69fc:105::1:22da)
12:52:40 peddie joins (~peddie@2001:470:69fc:105::25d)
12:52:40 cdsmith joins (~cdsmithma@2001:470:69fc:105::284)
12:52:40 Arathorn joins (~arathorn@2001:470:69fc:105::1f)
12:52:41 carmysilna joins (~brightly-@2001:470:69fc:105::2190)
12:52:41 quantum joins (~quantum@user/quantum/x-8556232)
12:52:43 vaibhavsagar[m] joins (~vaibhavsa@2001:470:69fc:105::ffe)
12:52:43 maralorn joins (~maralorn@2001:470:69fc:105::251)
12:53:47 × shidima quits (~shidima@46.44.183.25) (Ping timeout: 264 seconds)
12:54:42 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
12:56:23 geekosaur joins (~geekosaur@xmonad/geekosaur)
12:56:42 sunarch joins (uid526836@user/sunarch)
13:00:41 × unmanbearpig quits (~unmanbear@user/unmanbearpig) (Ping timeout: 256 seconds)
13:00:41 × mcgroin quits (~mcgroin@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) (Ping timeout: 250 seconds)
13:02:25 unmanbearpig joins (~unmanbear@user/unmanbearpig)
13:03:21 DNH joins (~DNH@8.43.122.53)
13:04:50 × [Kalisto] quits (~nico@user/kalisto/x-8968079) (Ping timeout: 246 seconds)
13:07:20 desantra joins (~skykanin@user/skykanin)
13:12:19 [Kalisto] joins (~nico@user/kalisto/x-8968079)
13:14:42 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Quit: = "")
13:17:42 whatif joins (~user@114.250.136.140)
13:18:22 <whatif> list comprehension is really fun, map f alist = [ f(i) | i <- alist ]
13:18:45 <Hecate> yes
13:19:35 × dsrt^ quits (~dsrt@h50.174.139.63.static.ip.windstream.net) (Remote host closed the connection)
13:20:47 <yushyin> i don't use it that often in haskell, but fun nevertheless, yes.
13:21:35 deadmarshal joins (~deadmarsh@95.38.228.222)
13:22:45 wei2912 joins (~wei2912@138.75.71.147)
13:23:09 <whatif> how to express a list that current one element to end, like in [1..10] but I want [3..10]
13:23:50 mcgroin joins (~mcgroin@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr)
13:24:41 <whatif> in python, [ alist[i::] for i in range(len(alist)) if i == 3 ]
13:25:44 <whatif> emm, for example, there's an element 3 in alist, I'd like to get the rest, start from 3
13:26:30 <whatif> normal way is splitOn or splitAt stuff... I'd like to know the list comprehension way
13:26:58 <whatif> [ alist[i::] for i in range(len(alist)) if alist[i] == 3 ]
13:28:22 × zava quits (~zava@ip5f5bdf0f.dynamic.kabel-deutschland.de) (Ping timeout: 260 seconds)
13:29:56 <hpc> [f x | x <- list, some boolean expression that contains x]
13:30:01 <whatif> haskell no list slice, but has `drop`
13:30:15 <tromp> there is no list comprehension equivalent of dropWhile (/= 3)
13:30:23 <hpc> (which outside a list comprehension is guard)
13:30:27 <hpc> :t guard
13:30:28 <lambdabot> Alternative f => Bool -> f ()
13:30:31 <hpc> there's also filter
13:30:32 <hpc> :t filter
13:30:33 <lambdabot> (a -> Bool) -> [a] -> [a]
13:30:43 <xddq[m]> * I think you look for "break"?
13:30:43 <xddq[m]> `snd $ break (==3) [1..10]`
13:30:43 <xddq[m]> nvm. I should read the full post :D
13:30:44 <xddq[m]> whatif: I think you look for "break"?
13:30:44 <xddq[m]> ```snd $ break (==3) xs```
13:30:44 <xddq[m]> > <@whatif:libera.chat> how to express a list that current one element to end, like in [1..10] but I want [3..10]
13:30:44 <xddq[m]> * I think you look for "break"?
13:30:45 <xddq[m]> `snd $ break (==3) [1..10]`
13:30:45 <lambdabot> <hint>:1:1: error: parse error on input ‘<@’
13:30:50 × sagax quits (~sagax_nb@user/sagax) (Quit: Konversation terminated!)
13:31:23 <whatif> xddq[m]: I wonder the list comprehension way
13:31:56 <whatif> I found that list comprehension and list slice are very useful in python
13:32:02 <whatif> and fun
13:32:30 × jmorris quits (uid433911@hampstead.irccloud.com) (Quit: Connection closed for inactivity)
13:32:39 <yushyin> your python example returns a list in list
13:33:10 <yushyin> it's not really a slice, i would argue
13:34:32 × Gurkenglas quits (~Gurkengla@dslb-002-203-144-204.002.203.pools.vodafone-ip.de) (Ping timeout: 240 seconds)
13:34:33 <whatif> for example, get the a digit string from a string's end, "abc12" -> "12", "ab12c3" -> "3", with python, [ alist[i::] for i in range(len(alist)) if alist[i::].isdigit() ]
13:34:34 <yushyin> i can translate your example `[ alist[i::] for i in range(len(alist)) if alist[i] == 3 ]' directly to haskell and it would look like this `let alist = [1..10] in [[i .. (length alist)] | i <- alist, i == 3]'
13:36:13 <whatif> yushyin: what if the list is [1,3,2,7,9]
13:36:28 × cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 3.3)
13:36:52 <whatif> python code still return [3,2,7,9], the right one
13:37:36 <yushyin> we would use dropWhile/takeWhile or so
13:38:43 <whatif> yushyin: get the a digit string from a string's end, "abc12" -> "12", "ab12c3" -> "3", what's the haskell list comprehension way?
13:38:45 <yushyin> or at least I wouldn't use list comprehension for such things
13:39:58 <whatif> python lack Data.List, toolz module lack lots of function than Data.List
13:47:07 jlamothe joins (~jlamothe@198.251.61.229)
13:48:12 <whatif> [ if (isDigit (drop n alist)) then (drop n alist) else [] | n <- [0.. (length alist)] ]
13:48:24 × Kaipi quits (~Kaiepi@156.34.44.192) (Remote host closed the connection)
13:48:47 Kaipi joins (~Kaiepi@156.34.44.192)
13:49:56 yauhsien joins (~yauhsien@118-167-47-187.dynamic-ip.hinet.net)
13:52:16 × Flonk quits (~Flonk@ec2-52-40-29-25.us-west-2.compute.amazonaws.com) (Quit: The Lounge - https://thelounge.chat)
13:53:57 Flonk joins (~Flonk@ec2-52-40-29-25.us-west-2.compute.amazonaws.com)
13:54:58 × yauhsien quits (~yauhsien@118-167-47-187.dynamic-ip.hinet.net) (Ping timeout: 260 seconds)
13:56:52 × Flonk quits (~Flonk@ec2-52-40-29-25.us-west-2.compute.amazonaws.com) (Client Quit)
13:58:31 Flonk joins (~Flonk@ec2-52-40-29-25.us-west-2.compute.amazonaws.com)
13:58:35 × xff0x quits (~xff0x@2001:1a81:522c:6200:54c8:e05a:349a:7362) (Ping timeout: 264 seconds)
13:59:00 kadir parts (~kadir@78.178.105.36) (WeeChat 3.3)
13:59:18 × ec quits (~ec@gateway/tor-sasl/ec) (Ping timeout: 276 seconds)
13:59:29 ubert1 joins (~Thunderbi@2a02:8109:9880:303c:ca5b:76ff:fe29:f233)
14:01:07 × Flonk quits (~Flonk@ec2-52-40-29-25.us-west-2.compute.amazonaws.com) (Client Quit)
14:03:46 × desantra quits (~skykanin@user/skykanin) (Quit: WeeChat 3.3)
14:04:57 hololeap_ is now known as hololeap
14:05:24 desantra joins (~skykanin@user/skykanin)
14:06:49 shriekingnoise joins (~shrieking@186.137.144.80)
14:07:50 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
14:08:31 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
14:08:51 × mcgroin quits (~mcgroin@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) (Ping timeout: 245 seconds)
14:09:07 Flonk joins (~Flonk@ec2-52-40-29-25.us-west-2.compute.amazonaws.com)
14:10:23 <whatif> > let alist = "ab12c36" in [ drop n alist | n <- [0..((length alist) -1)], all isDigit (drop n alist) ]
14:10:24 <lambdabot> ["36","6"]
14:11:07 <_________> > let alist = "abc12c3" in [ alist !! idx | idx <- map fst $ reverse.takeWhile (Data.Char.isDigit.snd).reverse $ zip [0..] alist ]
14:11:08 <lambdabot> "3"
14:11:38 <_________> list comprehension is ugly :p
14:12:23 × vpan quits (~0@212.117.1.172) (Ping timeout: 246 seconds)
14:12:57 × stiell quits (~stiell@gateway/tor-sasl/stiell) (Ping timeout: 276 seconds)
14:13:23 stiell joins (~stiell@gateway/tor-sasl/stiell)
14:13:27 <whatif> _________: you should use it like that...
14:13:31 Pickchea joins (~private@user/pickchea)
14:14:08 × ubert1 quits (~Thunderbi@2a02:8109:9880:303c:ca5b:76ff:fe29:f233) (Remote host closed the connection)
14:14:10 <whatif> what's the point? if you use split to split list and zip to address the index
14:16:47 <_________> you wanted to translate python code using list comprehensions into haskell code using list comprehensions, right ? that's how it would look in haskell - without indexing it wouldn't be python equivalent ;)
14:16:56 × Flonk quits (~Flonk@ec2-52-40-29-25.us-west-2.compute.amazonaws.com) (Quit: The Lounge - https://thelounge.chat)
14:18:07 <_________> without list comprehension it would be something like this in haskell: reverse.takeWhile Data.Char.isDigit $ reverse "abc12c3"
14:18:35 Flonk joins (~Flonk@ec2-52-40-29-25.us-west-2.compute.amazonaws.com)
14:18:47 f-a parts (f2a@f2a.jujube.ircnow.org) ()
14:20:03 CiaoSen joins (~Jura@p5dcc1a24.dip0.t-ipconnect.de)
14:20:43 xff0x joins (~xff0x@2001:1a81:522c:6200:54c8:e05a:349a:7362)
14:22:01 × desantra quits (~skykanin@user/skykanin) (Quit: WeeChat 3.3)
14:22:58 max22- joins (~maxime@2a01cb08833598004449f124191f767f.ipv6.abo.wanadoo.fr)
14:23:19 <dminuoso> What does alist[i::] do in python?
14:23:35 <whatif> dminuoso: drop i alist
14:23:36 <yushyin> a slice from the index i to the end
14:23:45 <dminuoso> Including i?
14:23:53 <whatif> including
14:23:55 <yushyin> i think so, yes.
14:24:02 desantra joins (~skykanin@user/skykanin)
14:24:41 <whatif> dminuoso: it's fancy to express something with that list slice
14:26:00 <whatif> for example, remove the duplicate element, [ alist[i] for i in range(len(alist)) if alist[i] not in alist[i+1::] ]
14:26:29 <whatif> so [1,1,2,3,2] would be [1,3,2]
14:26:50 <dminuoso> let s = "ab12c3" in reverse . takeWhile isDigit . reverse $ s
14:26:55 <dminuoso> % let s = "ab12" in reverse . takeWhile isDigit . reverse $ s
14:26:55 <yahb> dminuoso: "12"
14:26:58 <dminuoso> % let s = "ab12" in reverse . takeWhile isDigit . reverse $ s
14:26:58 <yahb> dminuoso: "12"
14:27:40 <yushyin> but they want it to be list comprehension
14:27:45 <dminuoso> The answer is: dont?
14:28:28 <dminuoso> I dont understand why you'd insist on using a list comprehension in the first place, both Haskell or Python
14:30:35 <dminuoso> 14:34:33 whatif | for example, get the a digit string from a string's end, "abc12" -> "12", "ab12c3" -> "3", with python, [ alist[i::] for i in range(len(alist)) if alist[i::].isdigit() ]
14:30:39 <yushyin> me neither, i find it ugly in haskell as well in python. there are a few situations in which it is halfway nice
14:30:44 <geekosaur> it might be the easiest way to do it in python, but that doesn't necessarily carry over to haskell
14:30:46 <dminuoso> This is *very* unidiomatic python code to begin with
14:30:59 <dminuoso> And terribly inefficient ontop
14:31:09 × desantra quits (~skykanin@user/skykanin) (Quit: WeeChat 3.3)
14:33:10 <dminuoso> The pythonista way would probably be: re.match('.*?([0-9]+)$', str).group(1)
14:34:00 <whatif> > let alist = [1,1,2,3,2] in [ alist !! n | n <- [0..(lenght(alist) - 1)], (alist !! n) `notElem` (drop (n+1) alist) ]
14:34:02 <lambdabot> error:
14:34:02 <lambdabot> • Variable not in scope: lenght :: [a0] -> Int
14:34:02 <lambdabot> • Perhaps you meant one of these:
14:34:18 × pavonia quits (~user@user/siracusa) (Quit: Bye!)
14:34:25 <dminuoso> Anyway. Not sure what the point of translating poor python code into poor Haskell is.
14:34:27 <whatif> > let alist = [1,1,2,3,2] in [ alist !! n | n <- [0..(lengh(alist) - 1)], (alist !! n) `notElem` (drop (n+1) alist) ]
14:34:29 <lambdabot> error:
14:34:29 <lambdabot> • Variable not in scope: lengh :: [a0] -> Int
14:34:29 <lambdabot> • Perhaps you meant one of these:
14:34:39 <dminuoso> It's certainly not insightful or helpful
14:34:41 × Flonk quits (~Flonk@ec2-52-40-29-25.us-west-2.compute.amazonaws.com) (Ping timeout: 245 seconds)
14:35:11 <dminuoso> Let me give you a direct translation:
14:35:48 <whatif> let alist = [1,1,2,3,2] in [ alist !! n | n <- [0..(length(alist) - 1)], (alist !! n) `notElem` (drop (n+1) alist) ]
14:36:02 <whatif> > let alist = [1,1,2,3,2] in [ alist !! n | n <- [0..(length(alist) - 1)], (alist !! n) `notElem` (drop (n+1) alist) ]
14:36:04 <lambdabot> [1,3,2]
14:36:47 <whatif> the list comprehension, express the question with list comprehension, and the anwser it is
14:37:12 <yushyin> indexing haskell linked lists is usually not a good idea
14:37:17 <[exa]> whatif: I always kinda guessed that the !! operator is named like that so that people know it should not be used very often :]
14:37:41 <dminuoso> whatif: Even the python code is very poor already.
14:37:46 <[exa]> whatif: what should the code do btw? (in human words)
14:37:47 <yushyin> [exa]: lol, maybe your are right
14:38:01 <[exa]> yushyin: you can literally read it as BANG BANG MAAN
14:38:26 <dminuoso> % let xs = "foo123" in [ drop i xs | i <- [0..length xs], all isDigit (drop i xs) ] -- whatif
14:38:26 <yahb> dminuoso: ["123","23","3",""]
14:38:34 <dminuoso> whatif: ^- that is a direct translation of what your python code does.
14:38:45 <whatif> [exa]: remove the duplicate element in alist, so if element is not show up in the rest, then it is single
14:38:47 <dminuoso> Without random access
14:38:58 <dminuoso> Let me rewrite with a let binding
14:39:17 <dminuoso> % let xs = "foo123" in [ xs' | i <- [0..length xs], let xs' = drop i xs, all isDigit xs' ]
14:39:18 <yahb> dminuoso: ["123","23","3",""]
14:39:35 × max22- quits (~maxime@2a01cb08833598004449f124191f767f.ipv6.abo.wanadoo.fr) (Remote host closed the connection)
14:39:41 <yushyin> looks like tails with filter all isDigit
14:39:51 <dminuoso> Yeah
14:40:23 <[exa]> whatif: what about: alist input = [x | (x:xs) <- tails input, x `notElem` xs]
14:40:58 <dminuoso> Why are we discussing *poor* translations of *poor* python code anyway?
14:41:31 <dminuoso> The real answer is: In python nobody sane would have written that, and in Python you'd just have used `reverse . takeWhile isDigit . reverse`
14:41:41 <dminuoso> Both would have ended up with better readable code with better asymptotics
14:41:49 <dminuoso> And better cache behavior ontop
14:42:02 <whatif> python doesn't have Data.List
14:42:09 <dminuoso> Yes, in Python you would have used a regex.
14:42:18 × zer0bitz_ quits (~zer0bitz@2001:2003:f6e3:7400:d8e7:a6fa:245:fafa) (Read error: Connection reset by peer)
14:42:20 <dminuoso> re.match('.*?([0-9]+)$', str).group(1)
14:42:23 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 264 seconds)
14:43:27 <[exa]> whatif: well if that was the only thing Python would be missing... :]
14:43:29 xkuru joins (~xkuru@user/xkuru)
14:43:35 zer0bitz joins (~zer0bitz@2001:2003:f6e3:7400:d8e7:a6fa:245:fafa)
14:43:50 <dminuoso> Side note of interest, String being a list is not always a good thing either.
14:46:52 shidima joins (~shidima@84-104-108-90.cable.dynamic.v4.ziggo.nl)
14:49:16 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
14:49:16 × gentauro quits (~gentauro@user/gentauro) (Read error: Connection reset by peer)
14:49:17 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Changing host)
14:49:17 wroathe joins (~wroathe@user/wroathe)
14:49:33 <whatif> re.match('.*?([0-9]+)$', str).group(1) I think regex is not good readable
14:49:52 <dminuoso> If you have any regex experience, it's very readable.
14:50:07 <dminuoso> And since regex are very common and idiomatic in Python, Im going to suggest that any pythonista can make quick sense of it
14:50:09 <whatif> I know BRE
14:50:13 <dminuoso> Much quicker than with a list comprehension
14:51:20 <whatif> since then, why list comprehension is created at the first?
14:51:46 <whatif> 70s'? first apperance in which language?
14:52:20 <dminuoso> Python burrowed them from Haskell
14:52:41 <whatif> python burrowed a lot of things from others
14:52:45 <dminuoso> And whether Haskelled burrowed them from another language Im not sure, but the syntax/semantics was inspired by set builder notation in mathematics
14:53:18 <dminuoso> That is, <- is an ascii approximation of a ∈ A
14:55:23 gentauro joins (~gentauro@user/gentauro)
14:58:15 zebrag joins (~chris@user/zebrag)
15:00:04 bitmapper joins (uid464869@lymington.irccloud.com)
15:00:09 lavaman joins (~lavaman@98.38.249.169)
15:00:21 <janus> what, i thought it was supposed to be an arrow
15:00:55 <janus> never even considered that it would be a ∈
15:01:12 <janus> and even the fancy haskell typesetting contracts them to an arrow, i thought
15:01:46 <dminuoso> \ is an ASCII approximatino of λ
15:01:51 <dminuoso> :)
15:02:20 <yushyin> whatif: with re.search the regex kann be even simpler. re.search('[0-9]+$', str).group(0) # i think this is readable enough
15:02:48 <dminuoso> janus: Consider in Math you might write [ x * 2 | x ∈ ℕ ]
15:03:12 × mark___ quits (~a@p200300ef973db1b24086f0a6a24fc4dd.dip0.t-ipconnect.de) (Ping timeout: 268 seconds)
15:03:26 <whatif> > let alist=["ab","ef","ij"], blist = ["cd","gh","kl"] in [ (alist !! n) <> (blist !! n) | n <- [0..(length alist)-1] ]
15:03:28 <lambdabot> <hint>:1:27: error: parse error on input ‘,’
15:03:34 mark___ joins (~a@p200300ef973db1754086f0a6a24fc4dd.dip0.t-ipconnect.de)
15:04:47 × lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 256 seconds)
15:05:44 justsomeguy joins (~justsomeg@user/justsomeguy)
15:06:06 <[exa]> whatif: you mean `zip` right?
15:06:34 <whatif> or get the sequence of x * y < 10, x and y <- [0..10], use list comprehension is readable
15:06:44 jkaye joins (~jkaye@2601:281:8300:7530:eb77:89f5:e0e9:4928)
15:06:49 <janus> dminuoso: but just because it has one origin in the list comprehension syntax, it could have another origin in monadic syntax
15:07:43 <janus> i mean, if '<-' is used to set an MVar, it doesn't seem similar to "is a member of"
15:08:16 × CiaoSen quits (~Jura@p5dcc1a24.dip0.t-ipconnect.de) (Quit: CiaoSen)
15:08:55 <whatif> [exa]: yes, zip
15:09:36 <whatif> I forget how to use two variable in let
15:09:54 <whatif> not let a=..., b=... in ?
15:11:04 <_________> let a = 1; b = 2 in [a, b]
15:11:06 <_________> > let a = 1; b = 2 in [a, b]
15:11:07 <lambdabot> [1,2]
15:11:09 <whatif> I hate people add 's in English if it's not one, in my mother language, no such thing
15:11:32 <whatif> one apple, two apple, three apple
15:11:38 max22- joins (~maxime@2a01cb0883359800c4fcd1c1f62060a2.ipv6.abo.wanadoo.fr)
15:11:44 × max22- quits (~maxime@2a01cb0883359800c4fcd1c1f62060a2.ipv6.abo.wanadoo.fr) (Remote host closed the connection)
15:12:22 <whatif> _________: yes
15:15:29 × cosimone quits (~user@93-47-231-139.ip115.fastwebnet.it) (Remote host closed the connection)
15:15:42 × betelgeuse quits (~betelgeus@94-225-47-8.access.telenet.be) (Ping timeout: 260 seconds)
15:18:05 WhateverRabbit joins (~rabbit@206.81.18.26)
15:18:33 <WhateverRabbit> hi all
15:20:22 <whatif> what's function name that fmap take two lists?
15:20:45 slowButPresent joins (~slowButPr@user/slowbutpresent)
15:20:46 <whatif> fmap (+) alist blist, I forget the name
15:20:49 Guest42 joins (~Guest42@eth-west-pareq2-46-193-4-100.wb.wifirst.net)
15:20:55 <_________> zipWith ?
15:21:03 <WhateverRabbit> +
15:24:13 <whatif> _________: right
15:24:27 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
15:24:32 <_________> you can also use hoogle to find them by type signature
15:24:33 allbery_b joins (~geekosaur@xmonad/geekosaur)
15:24:36 allbery_b is now known as geekosaur
15:25:01 <whatif> _________: then hoogle will tell me liftM2
15:25:17 <_________> https://hoogle.haskell.org/?hoogle=(a%20-%3E%20b%20-%3E%20c)%20-%3E%20%5Ba%5D%20-%3E%20%5Bb%5D%20-%3E%20%5Bc%5D - it tells me it's zipWith
15:26:41 cosimone joins (~user@93-47-231-139.ip115.fastwebnet.it)
15:27:27 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 256 seconds)
15:28:31 jurjen joins (~jurjen@188-206-102-198.mobile.kpn.net)
15:37:27 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:c075:f6f7:f2c7:7314)
15:42:00 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Quit: Laa shay'a waqi'un moutlaq bale kouloun moumkine)
15:42:23 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:c075:f6f7:f2c7:7314) (Ping timeout: 264 seconds)
15:44:34 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
15:44:34 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Changing host)
15:44:34 wroathe joins (~wroathe@user/wroathe)
15:44:47 × johnny_sitar quits (~artur@078088015209.bialystok.vectranet.pl) (Ping timeout: 246 seconds)
15:48:59 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 256 seconds)
15:50:12 mcgroin joins (~mcgroin@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr)
15:50:27 mimmy joins (~mimmy@72.142.88.18)
15:50:32 Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915)
15:51:36 Gurkenglas joins (~Gurkengla@dslb-002-203-144-204.002.203.pools.vodafone-ip.de)
15:52:35 × Pickchea quits (~private@user/pickchea) (Ping timeout: 264 seconds)
15:56:26 dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net)
15:56:46 × mimmy quits (~mimmy@72.142.88.18) (Ping timeout: 245 seconds)
15:58:07 yauhsien joins (~yauhsien@118-167-47-187.dynamic-ip.hinet.net)
15:59:13 <hololeap> awpr: I figured out a (the?) trick, which is to add constraints to the singleton GADT constructors, that way the compiler is assured that they will be satisfied at each layer of the tree
15:59:50 <hololeap> I threw out the type family constraint thing as it was not working
16:01:07 johnny_sitar joins (~artur@078088015209.bialystok.vectranet.pl)
16:02:35 × yauhsien quits (~yauhsien@118-167-47-187.dynamic-ip.hinet.net) (Ping timeout: 256 seconds)
16:04:55 smhbvd^ joins (~smhbvd@h50.174.139.63.static.ip.windstream.net)
16:06:05 mimmy joins (~mimmy@72.142.88.18)
16:09:46 max22- joins (~maxime@lfbn-ren-1-762-224.w81-53.abo.wanadoo.fr)
16:10:59 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:c075:f6f7:f2c7:7314)
16:11:02 × unmanbearpig quits (~unmanbear@user/unmanbearpig) (Ping timeout: 268 seconds)
16:12:28 unmanbearpig joins (~unmanbear@user/unmanbearpig)
16:12:56 × wei2912 quits (~wei2912@138.75.71.147) (Quit: Lost terminal)
16:15:47 × smhbvd^ quits (~smhbvd@h50.174.139.63.static.ip.windstream.net) (Remote host closed the connection)
16:18:03 × dajoer quits (~david@user/gvx) (Quit: leaving)
16:20:04 Flonk joins (~Flonk@ec2-34-221-56-110.us-west-2.compute.amazonaws.com)
16:20:20 × max22- quits (~maxime@lfbn-ren-1-762-224.w81-53.abo.wanadoo.fr) (Remote host closed the connection)
16:20:57 × whatif quits (~user@114.250.136.140) (Quit: ERC (IRC client for Emacs 26.3))
16:21:13 servytor joins (uid525486@hampstead.irccloud.com)
16:21:18 × lortabac quits (~lortabac@2a01:e0a:541:b8f0:906e:b8e3:dc89:8d11) (Quit: WeeChat 2.8)
16:24:06 × DNH quits (~DNH@8.43.122.53) (Quit: My MacBook has gone to sleep. ZZZzzz…)
16:26:21 xstill- joins (xstill@fimu/xstill)
16:29:47 × mimmy quits (~mimmy@72.142.88.18) (Ping timeout: 264 seconds)
16:30:13 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:c075:f6f7:f2c7:7314) (Remote host closed the connection)
16:31:12 × justsomeguy quits (~justsomeg@user/justsomeguy) (Quit: WeeChat 3.2)
16:33:27 a6a45081-2b83 joins (~aditya@2601:249:4300:1296:88ec:cc73:84d4:1507)
16:33:27 × dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.3)
16:33:31 × a6a45081-2b83 quits (~aditya@2601:249:4300:1296:88ec:cc73:84d4:1507) (Remote host closed the connection)
16:35:50 shapr joins (~user@pool-100-36-247-68.washdc.fios.verizon.net)
16:37:18 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:c075:f6f7:f2c7:7314)
16:37:37 max22- joins (~maxime@lfbn-ren-1-762-224.w81-53.abo.wanadoo.fr)
16:38:34 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
16:43:57 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 256 seconds)
16:44:29 × max22- quits (~maxime@lfbn-ren-1-762-224.w81-53.abo.wanadoo.fr) (Remote host closed the connection)
16:44:36 yauhsien joins (~yauhsien@118-167-47-187.dynamic-ip.hinet.net)
16:44:57 Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915)
16:45:34 × yauhsien quits (~yauhsien@118-167-47-187.dynamic-ip.hinet.net) (Remote host closed the connection)
16:46:06 yauhsien joins (~yauhsien@118-167-47-187.dynamic-ip.hinet.net)
16:46:17 max22- joins (~maxime@lfbn-ren-1-762-224.w81-53.abo.wanadoo.fr)
16:47:28 × Flonk quits (~Flonk@ec2-34-221-56-110.us-west-2.compute.amazonaws.com) (Quit: The Lounge - https://thelounge.chat)
16:47:55 johnjay joins (~pi@192.142.100.50)
16:48:22 <johnjay> i tried installing something with cabal and it says error couldn't find opt from llvm. but i have llvm. is llvm required for haskell packages?
16:48:48 <monochrom> No.
16:49:13 <geekosaur> er, that depends. if you are on an m1 mac and you are using 8.10.7 to build natively, you need llvm
16:49:38 <monochrom> Sorry.
16:49:49 <geekosaur> 9.2.1 has direct-to-asm compilation, but recently it was found to be broken
16:49:59 <johnjay> i don't know what i want to do. i just typed 'cabal install -j <name>' because it said to
16:50:08 <johnjay> do i have to build natively?
16:50:32 <johnjay> and yes this is an m1 mac. XD
16:50:50 <johnjay> seems to have a few bugs. scikit-learn doesn't install for instance
16:51:00 <johnjay> although somehow i got numpy
16:51:12 <geekosaur> if you install an x86 cabal you can use: arch x86 cabal install -j whatever
16:51:50 × notzmv quits (~zmv@user/notzmv) (Ping timeout: 260 seconds)
16:51:53 <johnjay> ah so that's how you run one of the parts in a universal binary
16:51:55 <geekosaur> but you'll have to install x86 versions of any C library dependencies, and if you're using e.g. brew to install such dependencies it will *relaly* want to install native versions instead of x86
16:52:10 <johnjay> yes i'm using brew. it's like you know my life story
16:52:27 <geekosaur> pretty much everyone on a kmac does these days
16:52:43 mimmy joins (~mimmy@72.142.88.18)
16:52:50 <geekosaur> and ghc would only look for llc/opt when using -fllvm, which is only default on m1 macs
16:53:05 <geekosaur> so it's not that hard to work out :)
16:53:57 <johnjay> i see
16:54:26 <johnjay> i tried briefly to install things from the app store. but quickly gave that up
16:54:38 <johnjay> brew and macports are the only alternatives i know of. not even sure if there's a native llvm you can get
16:54:49 <johnjay> although clang is installed by default but pretends to be gcc for some reason
16:55:49 × yauhsien quits (~yauhsien@118-167-47-187.dynamic-ip.hinet.net) (Remote host closed the connection)
16:56:22 yauhsien joins (~yauhsien@118-167-47-187.dynamic-ip.hinet.net)
16:57:23 <geekosaur> yeh, apple does that. it's really confusing
16:57:44 <geekosaur> and you have to install a full llvm via brew or macports because apple only provides part of it
16:58:46 Flonk joins (~Flonk@ec2-34-221-56-110.us-west-2.compute.amazonaws.com)
16:58:56 <sm> what's the package failing to install ?
16:59:31 <johnjay> some haskell project i wanted to look at with cabal
16:59:38 <johnjay> never installed with cabal before
16:59:58 <johnjay> and the readme doesn't say how to build it. should i read the stack manual to build it myself? or how do i do that
17:01:04 × Flonk quits (~Flonk@ec2-34-221-56-110.us-west-2.compute.amazonaws.com) (Client Quit)
17:01:10 × yauhsien quits (~yauhsien@118-167-47-187.dynamic-ip.hinet.net) (Ping timeout: 260 seconds)
17:02:34 Flonk joins (~Flonk@ec2-34-221-56-110.us-west-2.compute.amazonaws.com)
17:07:06 yauhsien joins (~yauhsien@118-167-47-187.dynamic-ip.hinet.net)
17:07:33 <sm> if you tell us more, I'd be willing to look at it a little more
17:07:38 × leah2 quits (~leah@vuxu.org) (Remote host closed the connection)
17:07:44 <sm> otherwise it's hard to say
17:08:53 × deadmarshal quits (~deadmarsh@95.38.228.222) (Ping timeout: 256 seconds)
17:09:29 × turlando quits (~turlando@user/turlando) (Ping timeout: 246 seconds)
17:09:34 leah2 joins (~leah@vuxu.org)
17:10:29 betelgeuse joins (~betelgeus@94-225-47-8.access.telenet.be)
17:13:02 turlando joins (~turlando@93-42-250-112.ip89.fastwebnet.it)
17:13:02 × turlando quits (~turlando@93-42-250-112.ip89.fastwebnet.it) (Changing host)
17:13:02 turlando joins (~turlando@user/turlando)
17:13:21 × yauhsien quits (~yauhsien@118-167-47-187.dynamic-ip.hinet.net) (Remote host closed the connection)
17:13:53 yauhsien joins (~yauhsien@118-167-47-187.dynamic-ip.hinet.net)
17:15:40 × urdh quits (~urdh@user/urdh) (Remote host closed the connection)
17:16:09 <maerwald> johnjay: llvm isn't added to path by default
17:16:49 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 256 seconds)
17:17:20 × max22- quits (~maxime@lfbn-ren-1-762-224.w81-53.abo.wanadoo.fr) (Remote host closed the connection)
17:17:23 × mimmy quits (~mimmy@72.142.88.18) (Ping timeout: 256 seconds)
17:17:26 <maerwald> on M1 it should be in /opt/llvm/bin or so
17:18:15 zincy_ joins (~zincy@2a00:23c8:970c:4801:350f:7ee:191a:6f65)
17:18:26 × yauhsien quits (~yauhsien@118-167-47-187.dynamic-ip.hinet.net) (Ping timeout: 260 seconds)
17:19:51 <sm> I have a homebrew `llvm` package installed, which provides `clang*` and `llvm*` binaries, don't know if that's normal
17:20:13 deadmarshal joins (~deadmarsh@95.38.228.222)
17:20:23 max22- joins (~maxime@lfbn-ren-1-762-224.w81-53.abo.wanadoo.fr)
17:24:15 justsomeguy joins (~justsomeg@user/justsomeguy)
17:26:21 notzmv joins (~zmv@user/notzmv)
17:26:55 yauhsien joins (~yauhsien@118-167-47-187.dynamic-ip.hinet.net)
17:27:05 zava joins (~zava@ip5f5bdf0f.dynamic.kabel-deutschland.de)
17:27:10 × yauhsien quits (~yauhsien@118-167-47-187.dynamic-ip.hinet.net) (Remote host closed the connection)
17:27:12 <johnjay> yes i recompiled with llvm in the path and it seemed to work
17:27:27 <johnjay> what i meant is i thought ghc was the compiler so why is it using llvm
17:27:42 yauhsien joins (~yauhsien@118-167-47-187.dynamic-ip.hinet.net)
17:27:52 <johnjay> also i can link you the project when i'm back on my m1
17:28:03 <johnjay> it had some .yaml and a .cabal or something file
17:28:23 <johnjay> (meaning in the cloned git repo)
17:29:56 × Flonk quits (~Flonk@ec2-34-221-56-110.us-west-2.compute.amazonaws.com) (Quit: The Lounge - https://thelounge.chat)
17:30:44 × yauhsien quits (~yauhsien@118-167-47-187.dynamic-ip.hinet.net) (Remote host closed the connection)
17:31:16 yauhsien joins (~yauhsien@118-167-47-187.dynamic-ip.hinet.net)
17:31:22 × max22- quits (~maxime@lfbn-ren-1-762-224.w81-53.abo.wanadoo.fr) (Remote host closed the connection)
17:32:16 econo joins (uid147250@user/econo)
17:33:05 <maerwald> johnjay: native codegen for aarch64 M1 isn't in 8.10.7 yet, so it uses the llvm backend
17:34:28 <johnjay> oh ok. i assume this is somehow plugging into the llvm framework then
17:34:54 × deadmarshal quits (~deadmarsh@95.38.228.222) (Ping timeout: 268 seconds)
17:34:54 <johnjay> should i be using stack or cabal for something cloned directly from github?
17:35:22 <WhateverRabbit> you can use it
17:35:28 Flonk joins (~Flonk@vps-zap441517-1.zap-srv.com)
17:35:47 Flonk parts (~Flonk@vps-zap441517-1.zap-srv.com) ()
17:35:57 Flonk joins (~Flonk@vps-zap441517-1.zap-srv.com)
17:36:02 <maerwald> johnjay: depends on the project
17:36:04 <sclv> ghc has a llvm backend to the compiler, and that's the only way you will be able to compile for M1 in the short term
17:36:05 × yauhsien quits (~yauhsien@118-167-47-187.dynamic-ip.hinet.net) (Ping timeout: 256 seconds)
17:36:17 <johnjay> it had a stack.yaml if i recall and also a somethingsomething.cabal
17:36:21 mimmy joins (~mimmy@72.142.88.18)
17:36:25 <sclv> both stack and cabal can drive ghc in llvm mode, so it doesn't really matter
17:36:37 <maerwald> there's no native stack M1 binary yet, though
17:36:40 <johnjay> ok
17:36:50 <maerwald> so it may pick x86 arch and so weird stuff
17:36:52 <sclv> for native compilation you'll want to stick to cabal/ghcup since that supports M1 properly -- but again, that native compilation is busted until the next ghc patch release
17:37:29 × mikoto-c1 quits (~mikoto-ch@esm-84-240-99-143.netplaza.fi) (Quit: mikoto-c1)
17:37:36 mikoto-chan joins (~mikoto-ch@esm-84-240-99-143.netplaza.fi)
17:37:37 <johnjay> i think i have ghc8 something
17:37:38 max22- joins (~maxime@lfbn-ren-1-762-224.w81-53.abo.wanadoo.fr)
17:37:44 <johnjay> you said it needs a patch update for M1 aarch64?
17:37:46 <johnjay> ghc that is
17:37:54 <maerwald> only if you want to use native codegen
17:38:20 <geekosaur> I said that earlier, 8.10.7 uses llvm and works, 9.2.1 has native codegen but is broken
17:38:27 <geekosaur> bugs they only found after release
17:38:42 <johnjay> ah ok. so if I did have 9.2.1 would it try to native codegen and fail?
17:38:49 <johnjay> yeah 8.10
17:38:49 × Flonk quits (~Flonk@vps-zap441517-1.zap-srv.com) (Read error: Connection reset by peer)
17:38:51 <johnjay> whatever brew has
17:39:01 <geekosaur> it would produce a binary that would probably crash
17:39:08 <johnjay> oof
17:39:44 <maerwald> https://discourse.haskell.org/t/psa-9-2-1-aarch64-miscompilation/3638/2
17:41:01 Flonk joins (~Flonk@vps-zap441517-1.zap-srv.com)
17:42:52 × zincy_ quits (~zincy@2a00:23c8:970c:4801:350f:7ee:191a:6f65) (Remote host closed the connection)
17:45:03 zincy_ joins (~zincy@2a00:23c8:970c:4801:350f:7ee:191a:6f65)
17:47:27 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
17:47:40 desantra joins (~skykanin@user/skykanin)
17:49:13 × desantra quits (~skykanin@user/skykanin) (Client Quit)
17:49:22 desantra joins (~skykanin@user/skykanin)
17:50:32 × oxide quits (~lambda@user/oxide) (Quit: oxide)
17:52:15 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 265 seconds)
17:53:17 × zincy_ quits (~zincy@2a00:23c8:970c:4801:350f:7ee:191a:6f65) (Remote host closed the connection)
17:55:18 × johnny_sitar quits (~artur@078088015209.bialystok.vectranet.pl) (Ping timeout: 260 seconds)
17:56:47 × jurjen quits (~jurjen@188-206-102-198.mobile.kpn.net) (Ping timeout: 264 seconds)
17:58:14 × mbuf quits (~Shakthi@122.178.204.176) (Quit: Leaving)
17:58:48 × justsomeguy quits (~justsomeg@user/justsomeguy) (Quit: WeeChat 3.2)
17:59:30 × waleee quits (~waleee@h-98-128-228-119.NA.cust.bahnhof.se) (Ping timeout: 260 seconds)
18:00:51 whatsupdoc joins (uid509081@hampstead.irccloud.com)
18:01:22 f-a joins (f2a@f2a.jujube.ircnow.org)
18:01:51 waleee joins (~waleee@2001:9b0:216:8200:d457:9189:7843:1dbd)
18:02:20 <f-a> hello, I am asking a friend to test something on his win machine with the new io manager (-with-rtsopts=--io-manager=native). I am getting a series of errors like this: {handle: <stdout>}: handleToHANDLE: inappropriate type (not a file HANDLE)
18:02:34 <f-a> any idea where I should start to debug this?
18:02:55 × bitmapper quits (uid464869@lymington.irccloud.com) (Quit: Connection closed for inactivity)
18:04:11 <geekosaur> not sure you'll find any windows experts in here, reddit or the discourse may be better
18:04:51 <f-a> sensible idea, also I should of course read carefully the release notes
18:04:58 zincy_ joins (~zincy@2a00:23c8:970c:4801:350f:7ee:191a:6f65)
18:05:16 <geekosaur> but it being stdout makes me wonder… is this a gui program by any chance? it won't have proper stdin/stdout/stderr in that case
18:05:20 anduril1 joins (~anduril1@167-248-67-166.oa01.lnk02.ne.dynamic.allophone.net)
18:05:29 <f-a> this is a terminal application geekosaur
18:05:49 × desantra quits (~skykanin@user/skykanin) (Quit: WeeChat 3.3)
18:05:53 <f-a> https://hackage.haskell.org/package/ansi-terminal-game using this
18:07:25 <maerwald> ghc version?
18:07:33 sydddddd joins (~syd@cpc91646-hart11-2-0-cust432.11-3.cable.virginm.net)
18:07:36 <f-a> x86_64-mingw32 ghc-Version {versionBranch = [9,2], versionTags = []}
18:07:50 <f-a> (the one my friend is using to test this)
18:08:35 mc47 joins (~mc47@xmonad/TheMC47)
18:08:46 <f-a> 9.2.1 precisely
18:16:16 × zincy_ quits (~zincy@2a00:23c8:970c:4801:350f:7ee:191a:6f65) (Remote host closed the connection)
18:21:18 jollygood2 joins (~bc8165b6@217.29.117.252)
18:21:21 <dsal> "Woah, you can't put a comment here! There's already a word on this line!" -- ormolu
18:21:23 × mark___ quits (~a@p200300ef973db1754086f0a6a24fc4dd.dip0.t-ipconnect.de) (Ping timeout: 264 seconds)
18:25:29 × zaquest quits (~notzaques@5.128.210.178) (Quit: Leaving)
18:26:22 acertain_ is now known as acertain
18:26:50 × chomwitt quits (~chomwitt@2a02:587:dc0f:7c00:12c3:7bff:fe6d:d374) (Ping timeout: 246 seconds)
18:27:15 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
18:27:42 × anduril1 quits (~anduril1@167-248-67-166.oa01.lnk02.ne.dynamic.allophone.net) (Ping timeout: 256 seconds)
18:28:14 zincy_ joins (~zincy@host86-181-60-139.range86-181.btcentralplus.com)
18:28:43 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 250 seconds)
18:28:53 chomwitt joins (~chomwitt@2a02:587:dc0f:7c00:12c3:7bff:fe6d:d374)
18:30:01 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:c075:f6f7:f2c7:7314) (Remote host closed the connection)
18:30:03 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
18:30:16 × acertain quits (sid470584@hampstead.irccloud.com) ()
18:30:27 acertain joins (sid470584@hampstead.irccloud.com)
18:30:43 deadmarshal joins (~deadmarsh@95.38.228.222)
18:30:56 johnny_sitar joins (~artur@078088015209.bialystok.vectranet.pl)
18:31:23 fvr joins (uid503686@uxbridge.irccloud.com)
18:34:41 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 245 seconds)
18:38:21 ec joins (~ec@gateway/tor-sasl/ec)
18:40:11 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
18:41:04 tzh joins (~tzh@c-24-21-73-154.hsd1.wa.comcast.net)
18:43:21 DNH joins (~DNH@8.43.122.53)
18:45:30 pretty_dumm_guy joins (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655)
18:45:38 Sgeo joins (~Sgeo@user/sgeo)
18:46:27 × pretty_dumm_guy quits (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Client Quit)
18:46:33 urdh joins (~urdh@user/urdh)
18:47:20 pretty_dumm_guy joins (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655)
18:48:27 gdown joins (~gavin@h69-11-248-109.kndrid.broadband.dynamic.tds.net)
18:52:01 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 256 seconds)
18:52:15 × chele quits (~chele@user/chele) (Remote host closed the connection)
18:53:54 × zincy_ quits (~zincy@host86-181-60-139.range86-181.btcentralplus.com) (Remote host closed the connection)
18:54:19 × max22- quits (~maxime@lfbn-ren-1-762-224.w81-53.abo.wanadoo.fr) (Remote host closed the connection)
18:58:15 × cosimone quits (~user@93-47-231-139.ip115.fastwebnet.it) (Ping timeout: 256 seconds)
18:59:04 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:c075:f6f7:f2c7:7314)
18:59:07 mark___ joins (~a@p200300ef973db1754086f0a6a24fc4dd.dip0.t-ipconnect.de)
19:00:55 myShoggoth joins (~myShoggot@97-120-85-195.ptld.qwest.net)
19:01:42 × stiell quits (~stiell@gateway/tor-sasl/stiell) (Remote host closed the connection)
19:02:02 unit73e joins (~emanuel@2001:818:e8dd:7c00:32b5:c2ff:fe6b:5291)
19:02:06 stiell joins (~stiell@gateway/tor-sasl/stiell)
19:03:04 mc47 joins (~mc47@xmonad/TheMC47)
19:03:14 lavaman joins (~lavaman@98.38.249.169)
19:11:09 emf joins (~emf@2620:10d:c090:400::5:6b1)
19:16:53 × bontaq quits (~user@ool-45779fe5.dyn.optonline.net) (Ping timeout: 246 seconds)
19:16:57 <f-a> geekosaur: in case you care, http://www.ariis.it/link/t/paste1132317-0 this very minimal example fails with the same error, I will file a bug against ansi-terminal
19:17:10 bontaq joins (~user@ool-45779fe5.dyn.optonline.net)
19:17:57 <f-a> although it is a bit puzzling that all it takes to fail is a simple `clearScreen`
19:19:41 jurjen joins (~jurjen@31-161-184-96.mobile.kpn.net)
19:19:51 × papa quits (~papa@user/papa) (Quit: connection reset again by peer.)
19:21:36 × glider quits (~glider@user/glider) (Quit: ZNC 1.9.x-git-111-f2cdc3db - https://znc.in)
19:22:32 neurocyte0132889 joins (~neurocyte@94.46.73.137)
19:22:32 × neurocyte0132889 quits (~neurocyte@94.46.73.137) (Changing host)
19:22:32 neurocyte0132889 joins (~neurocyte@user/neurocyte)
19:23:11 × anderson quits (~ande@user/anderson) (Quit: bye)
19:23:11 × eldritch quits (~eldritch@user/eldritch/x-9272577) (Quit: bye)
19:24:02 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
19:27:24 eldritch_ joins (~eldritch@user/eldritch/x-9272577)
19:28:51 × mimmy quits (~mimmy@72.142.88.18) (Ping timeout: 256 seconds)
19:30:03 mimmy joins (~mimmy@72.142.88.18)
19:32:03 glider joins (~glider@user/glider)
19:32:33 × AlexZenon quits (~alzenon@178.34.163.122) (Read error: Connection reset by peer)
19:34:08 AlexZenon joins (~alzenon@178.34.163.122)
19:36:20 anderson joins (~ande@user/anderson)
19:38:12 brandonh joins (brandonh@gateway/vpn/protonvpn/brandonh)
19:38:27 × deadmarshal quits (~deadmarsh@95.38.228.222) (Quit: ZNC 1.8.2 - https://znc.in)
19:38:47 × AlexZenon quits (~alzenon@178.34.163.122) (Ping timeout: 264 seconds)
19:38:51 deadmarshal joins (~deadmarsh@95.38.228.222)
19:39:33 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 265 seconds)
19:41:19 × xff0x quits (~xff0x@2001:1a81:522c:6200:54c8:e05a:349a:7362) (Ping timeout: 268 seconds)
19:42:56 xff0x joins (~xff0x@2001:1a81:5251:b200:1b67:fb84:b521:2e46)
19:46:12 AlexZenon joins (~alzenon@178.34.163.122)
19:47:03 × hololeap quits (~hololeap@user/hololeap) (Excess Flood)
19:47:26 viole joins (~viole@user/viole)
19:48:33 hololeap joins (~hololeap@user/hololeap)
19:48:59 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
19:49:52 <int-e> f-a: Hmm the error comes from here, https://gitlab.haskell.org/ghc/ghc/-/blob/master/libraries/base/GHC/IO/Handle/Windows.hs#L216-226 ...so part of the story is that GHC distinguishes between console handles and native handles, both of which embed a HANDLE (See https://gitlab.haskell.org/ghc/ghc/-/blob/master/libraries/base/GHC/IO/Windows/Handle.hsc#L106 ) but that code only supports the...
19:49:58 <int-e> ...NativeHandle case.
19:50:41 × brandonh quits (brandonh@gateway/vpn/protonvpn/brandonh) (Quit: brandonh)
19:50:45 <int-e> I don't know whether that's an oversight or a conscious decision; however, given the lack of comments about it I assume the former.
19:50:58 <geekosaur> that sounds kinda pointless when part of the intent is to be able to use 16-bit functions for console I/O
19:51:15 <geekosaur> instead of the chcp hack
19:51:15 <int-e> disclaimer: I'm just reading code, not running anything
19:51:39 <viole> I have a function validate :: ByteString -> Either String Address, Address constructor not exported, and I want to declare a couple of costant addresses in top level. I could do case validate bs of Right x -> x, but I'd like to avoid such thing. I agree this is bad practice but only for external data; for stuff defined literally that are known to be ok, I should be able to do it partially and
19:51:42 <viole> in case something's not right, it shouldn't compile. What's the recommended way to do this?
19:53:02 <int-e> the whole logic was introduced in this commit two years ago, so it's relatively new: https://gitlab.haskell.org/ghc/ghc/-/commit/356dc3feae967b1c361130f1f356ef9ad6a693e4
19:54:23 × jess quits (~jess@libera/staff/jess) (Quit: I try to be an optimist / but my glass is always bone dry)
19:55:00 <maerwald> viole: should be possible with TH
20:00:23 × DNH quits (~DNH@8.43.122.53) (Quit: My MacBook has gone to sleep. ZZZzzz…)
20:03:23 × jkaye quits (~jkaye@2601:281:8300:7530:eb77:89f5:e0e9:4928) (Ping timeout: 264 seconds)
20:04:08 × lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 268 seconds)
20:05:41 × juhp quits (~juhp@128.106.188.220) (Ping timeout: 256 seconds)
20:08:15 juhp joins (~juhp@128.106.188.220)
20:10:44 × zmt01 quits (~zmt00@user/zmt00) (Quit: Gone.)
20:11:51 DNH joins (~DNH@8.44.0.72)
20:14:14 zmt00 joins (~zmt00@user/zmt00)
20:15:51 × deadmarshal quits (~deadmarsh@95.38.228.222) (Ping timeout: 268 seconds)
20:19:35 × alx741 quits (~alx741@186.178.109.114) (Ping timeout: 264 seconds)
20:22:35 × betelgeuse quits (~betelgeus@94-225-47-8.access.telenet.be) (Ping timeout: 264 seconds)
20:22:38 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 268 seconds)
20:24:57 yauhsien joins (~yauhsien@118-167-47-187.dynamic-ip.hinet.net)
20:30:55 jkaye joins (~jkaye@2601:281:8300:7530:25cb:799d:2790:e606)
20:32:27 pavonia joins (~user@user/siracusa)
20:33:33 alx741 joins (~alx741@181.196.68.187)
20:34:35 lortabac joins (~lortabac@88.125.6.227)
20:41:23 × yauhsien quits (~yauhsien@118-167-47-187.dynamic-ip.hinet.net) (Ping timeout: 256 seconds)
20:44:57 × neurocyte0132889 quits (~neurocyte@user/neurocyte) (Quit: The Lounge - https://thelounge.chat)
20:45:45 anduril1 joins (~anduril1@167-248-67-166.oa01.lnk02.ne.dynamic.allophone.net)
20:47:30 × mimmy quits (~mimmy@72.142.88.18) (Ping timeout: 260 seconds)
20:48:15 × Alex_test quits (~al_test@178.34.163.122) (Ping timeout: 250 seconds)
20:48:31 neurocyte0132889 joins (~neurocyte@94.46.73.137)
20:48:31 × johnny_sitar quits (~artur@078088015209.bialystok.vectranet.pl) (Read error: Connection reset by peer)
20:48:31 × neurocyte0132889 quits (~neurocyte@94.46.73.137) (Changing host)
20:48:31 neurocyte0132889 joins (~neurocyte@user/neurocyte)
20:51:16 × phma quits (phma@2001:5b0:211f:3178:45a8:8496:3ea1:a73a) (Read error: Connection reset by peer)
20:51:43 × AlexZenon quits (~alzenon@178.34.163.122) (Ping timeout: 250 seconds)
20:52:06 phma joins (phma@2001:5b0:2144:33f8:194f:6c28:dad5:4e86)
20:53:28 × neurocyte0132889 quits (~neurocyte@user/neurocyte) (Ping timeout: 268 seconds)
20:54:09 neurocyte0132889 joins (~neurocyte@94.46.73.137)
20:54:09 × neurocyte0132889 quits (~neurocyte@94.46.73.137) (Changing host)
20:54:09 neurocyte0132889 joins (~neurocyte@user/neurocyte)
20:56:16 Alex_test joins (~al_test@178.34.163.122)
20:56:33 × zava quits (~zava@ip5f5bdf0f.dynamic.kabel-deutschland.de) (Ping timeout: 268 seconds)
20:57:04 mimmy joins (~mimmy@72.142.88.18)
20:57:59 × chomwitt quits (~chomwitt@2a02:587:dc0f:7c00:12c3:7bff:fe6d:d374) (Ping timeout: 264 seconds)
20:58:49 AlexZenon joins (~alzenon@178.34.163.122)
20:58:57 × mcgroin quits (~mcgroin@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) (Ping timeout: 256 seconds)
21:00:49 × jurjen quits (~jurjen@31-161-184-96.mobile.kpn.net) (Read error: Connection reset by peer)
21:06:10 jurjen joins (~jurjen@31-161-184-96.mobile.kpn.net)
21:07:35 × shapr quits (~user@pool-100-36-247-68.washdc.fios.verizon.net) (Ping timeout: 264 seconds)
21:07:40 johnny_sitar joins (~artur@078088015209.bialystok.vectranet.pl)
21:12:23 × Flonk quits (~Flonk@vps-zap441517-1.zap-srv.com) (Quit: The Lounge - https://thelounge.chat)
21:12:39 Flonk joins (~Flonk@vps-zap441517-1.zap-srv.com)
21:15:10 aegon joins (~mike@174.127.249.180)
21:17:39 <energizer> is there a way to pattern match a concatenation into left++right | left++mid:right ? maybe there's some package that supports this?
21:19:43 <dsal> It's not super clear what you're trying to do. Are you wanting a snoc list? You can't pattern match infinite lists, but you can do some guarding.
21:20:05 acidjnk joins (~acidjnk@p200300d0c721b72570e3bb829407e876.dip0.t-ipconnect.de)
21:20:12 mcgroin joins (~mcgroin@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr)
21:20:14 <energizer> in this case i have a finite list
21:20:28 <dsal> Sure, but you can't tell the compiler that.
21:21:00 <dsal> You can make specific patterns for the cardinalities you expect, but I think you're doing something else, but I don't know what it is. :)
21:21:10 acidjnk_new joins (~acidjnk@p200300d0c725147020cf3de033c5d4d3.dip0.t-ipconnect.de)
21:21:26 <energizer> i want it to work for any finite size
21:21:53 deadmarshal joins (~deadmarsh@95.38.228.222)
21:21:54 <dsal> Sure, just define `it` a bit better. 2^32 is a finite size, but you probably don't want to pattern match it.
21:22:05 <energizer> why not?
21:22:27 <energizer> i can take the left and right halves of that, no?
21:23:31 <dsal> As long as you don't mind allocating 2^31 new elements, I guess. But you're definitely using the wrong data structure for whatever you're trying to do.
21:24:22 × mimmy quits (~mimmy@72.142.88.18) (Ping timeout: 260 seconds)
21:24:32 <dsal> ViewPatterns will kind of get you part of the way there, but it'd be easier if you stated your problem a bit better and used the right tools to solve it. :)
21:24:55 × acidjnk quits (~acidjnk@p200300d0c721b72570e3bb829407e876.dip0.t-ipconnect.de) (Ping timeout: 265 seconds)
21:25:37 × anduril1 quits (~anduril1@167-248-67-166.oa01.lnk02.ne.dynamic.allophone.net) (Ping timeout: 256 seconds)
21:26:40 × Flonk quits (~Flonk@vps-zap441517-1.zap-srv.com) (Quit: The Lounge - https://thelounge.chat)
21:26:51 × farn quits (~farn@2a03:4000:7:3cd:d4ab:85ff:feeb:f505) (Ping timeout: 260 seconds)
21:27:00 mimmy joins (~mimmy@72.142.88.18)
21:27:12 farn joins (~farn@2a03:4000:7:3cd:d4ab:85ff:feeb:f505)
21:27:50 jgeerds joins (~jgeerds@55d41b94.access.ecotel.net)
21:30:16 Flonk joins (~Flonk@vps-zap441517-1.zap-srv.com)
21:30:34 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:c075:f6f7:f2c7:7314) (Remote host closed the connection)
21:30:52 brainfreeze joins (~brainfree@2a03:1b20:4:f011::20d)
21:31:24 <energizer> say i have a tuple of 1000 and i want to define leftHalfView
21:32:58 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:c075:f6f7:f2c7:7314)
21:34:06 <energizer> i guess it's not allowed to say (1,2)++(3,4) anyway
21:34:16 <geekosaur> tuples are not lists
21:34:23 alzgh joins (~alzgh@user/alzgh)
21:34:57 × lortabac quits (~lortabac@88.125.6.227) (Quit: WeeChat 2.8)
21:34:58 <geekosaur> and the maximum number of elements in a tuple is 63, not that you can do much with such tuples
21:35:50 Pickchea joins (~private@user/pickchea)
21:36:08 <energizer> maybe fixed-vector is better for this conversation?
21:36:53 <geekosaur> it's still not clear what you are actually trying to do.l or what problem you are trying to solve
21:37:33 shapr joins (~user@pool-100-36-247-68.washdc.fios.verizon.net)
21:38:24 <dsal> I keep guessing, but if my guesses are wrong, it's just going to be more confusing. Can you describe your goal, energizer?
21:39:17 <energizer> pattern matching is useful for decomposing a collection of data and i want to decompose a finite-length sequence into a its left and right halves. the goal seems straightfoward, no?
21:40:03 falafel joins (~falafel@2603-8000-d800-688c-34f9-26f3-71b0-5b78.res6.spectrum.com)
21:40:07 <geekosaur> only if it is specifically constructed as left and right halves
21:40:09 <dsal> Screwdrivers are useful for adjusting screws. If you clamp two of them together with vice grips, you can use them to loosen bolts.
21:40:48 <dsal> Things like Set and Map can be chopped in ~half because that's how the data structure was defined.
21:41:07 <dsal> If you do that with something like a list, the left half is going to be super expensive to construct, but the right half will be cheap once you get there.
21:41:19 <energizer> [1,2]++[3]++[4] isn't constructed from left and right halves but we still know what it means to decompose it into left and right halves
21:41:34 <geekosaur> "we" do but the compiler doesn't
21:41:50 <geekosaur> and it's a list so it will be expensive regardless
21:42:25 <geekosaur> lists are not *designed* to be split into halves
21:42:35 <dsal> Data.Sequence might be a better starting point.
21:42:59 × mcgroin quits (~mcgroin@roc37-h01-176-170-197-243.dsl.sta.abo.bbox.fr) (Remote host closed the connection)
21:43:17 <dsal> 𝑂(log(min(𝑖,𝑛−𝑖))) split isn't too bad.
21:47:04 <[exa]> energizer: a bit more generally, "half of some sequence" isn't a constant-looking pattern, right?
21:47:39 <energizer> [exa]: constant-looking?
21:48:49 <[exa]> like, "everytime the same"
21:51:20 jmorris joins (uid433911@hampstead.irccloud.com)
21:51:24 <[exa]> moreover, no matter how cool the patternmatching looks, it's basically a precise deconstruction of the constructed datastructure. If you didn't construct the sequence explicitly by joining 2 halves with a special half-and-half constructor, you can't match it because it's not going to magically appear there
21:53:25 <[exa]> anyway -- more practically -- Vectors support creating any kind of slices (incl. halves) in O(1), so I'd advise trying these. :]
21:54:12 max22- joins (~maxime@lfbn-ren-1-762-224.w81-53.abo.wanadoo.fr)
21:55:38 × falafel quits (~falafel@2603-8000-d800-688c-34f9-26f3-71b0-5b78.res6.spectrum.com) (Read error: Connection reset by peer)
21:55:44 falafel_ joins (~falafel@2603-8000-d800-688c-34f9-26f3-71b0-5b78.res6.spectrum.com)
21:56:49 <hololeap> data SomeX = forall t. SomeX (X t)
21:57:02 <hololeap> data SomeY = forall t. SomeY (Y t)
21:57:55 <hololeap> how do I write a function that will handle X and Y given any t, where it is the same t for both types
21:58:45 <dsal> That sounds like a type class.
21:59:08 <dsal> Otherwise, "how do I write a function that works on any type that contains an Int"
22:00:33 <monochrom> You will never be told that you have two values of the same t type. In fact existential typing decrees that you have two different t's.
22:02:37 <monochrom> The solution is to completely redesign your design based on to what extent you actually need this.
22:02:53 <dsal> Good general advice.
22:02:59 <geekosaur> I call xy problem. what problem are you actually trying to solve?
22:03:34 <monochrom> Heh I avoided saying "xy" because this one literally has an X and a Y >:)
22:03:41 <hololeap> ok, I think I see how I might do this
22:03:44 <dsal> Yeah, it's got both X, Y, and SomeX, SomeY
22:03:53 <hololeap> I can try to explain...
22:04:41 <hololeap> problem involves a binary tree which is parsed from input, and a path (also parsed from input) which serves as a key to locate a single node
22:06:21 <monochrom> That doesn't sound like needing any polymorphism in the first place.
22:06:45 <hololeap> I made a skeleton tree type Tree, which just stores the shape of the tree, and I'm using DataKinds to prevent a path being constructed that would be out-of-bounds
22:07:00 × fvr quits (uid503686@uxbridge.irccloud.com) (Quit: Connection closed for inactivity)
22:07:07 <hololeap> I already wrote my entire program using this and now I hit the part where I write the parser...
22:08:17 <hololeap> but I think I see how I can do it, still. 1) parse the tree as SomeTree 2) parse the path within the `withSomeTree` function
22:09:15 falafel__ joins (~falafel@2603-8000-d800-688c-34f9-26f3-71b0-5b78.res6.spectrum.com)
22:11:20 × Flonk quits (~Flonk@vps-zap441517-1.zap-srv.com) (Quit: The Lounge - https://thelounge.chat)
22:11:50 seanparsons joins (~seanparso@cpc158525-gill21-2-0-cust151.20-1.cable.virginm.net)
22:11:52 Flonk joins (~Flonk@vps-zap441517-1.zap-srv.com)
22:12:11 × falafel_ quits (~falafel@2603-8000-d800-688c-34f9-26f3-71b0-5b78.res6.spectrum.com) (Ping timeout: 245 seconds)
22:12:39 <seanparsons> Hmmm, looks like Hackage has done a dead to me...
22:13:50 × brainfreeze quits (~brainfree@2a03:1b20:4:f011::20d) (Quit: Leaving)
22:14:23 <dolio> Yeah, 503.
22:17:18 <ddb> int-e: ok, so I have lambdabot running famously, but when I try to connect to irc I get the following error
22:17:20 <ddb> lambdabot> irc-connect tilde club.tilde.chat 6697 lambdabot
22:17:22 <ddb> [ERROR] : <socket: 12>: hGetLine: end of file
22:17:54 <int-e> 6697? it doesn't do TLS
22:18:24 <ddb> ah gotcha
22:18:46 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
22:18:53 <int-e> I'm using this for lambdabot here: socat TCP4-LISTEN:6667,bind=127.0.0.1,reuseaddr,fork,forever OPENSSL:irc.libera.chat:6697
22:19:10 <int-e> (and the bot connects to 127.0.0.1:6667)
22:20:38 <int-e> I've also heard of people using a bouncer (znc?)
22:21:00 dustee joins (~dustee@n2-77-150.dhcp.drexel.edu)
22:21:21 × shidima quits (~shidima@84-104-108-90.cable.dynamic.v4.ziggo.nl) (Ping timeout: 245 seconds)
22:21:47 × dustee quits (~dustee@n2-77-150.dhcp.drexel.edu) (Remote host closed the connection)
22:22:36 × burnsidesLlama quits (~burnsides@dhcp168-014.wadham.ox.ac.uk) (Remote host closed the connection)
22:23:11 × falafel__ quits (~falafel@2603-8000-d800-688c-34f9-26f3-71b0-5b78.res6.spectrum.com) (Ping timeout: 264 seconds)
22:24:52 <ddb> I'm not familiar with socat, but I think I can do plaintext on localhost in my situation
22:24:59 × johnny_sitar quits (~artur@078088015209.bialystok.vectranet.pl) (Ping timeout: 264 seconds)
22:25:23 × jurjen quits (~jurjen@31-161-184-96.mobile.kpn.net) (Read error: Connection reset by peer)
22:26:43 <statusbot> Status update: Hackage and many www services are down due to host connectivity issues. We hope this will be resolved shortly. -- http://status.haskell.org/pages/incident/537c07b0cf1fad5830000093/618eea229604e60540fd03ad
22:28:35 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 264 seconds)
22:29:31 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
22:37:56 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:c075:f6f7:f2c7:7314) (Remote host closed the connection)
22:39:08 <statusbot> Status update: Connectivity at our host appears to have been restored. -- http://status.haskell.org/pages/incident/537c07b0cf1fad5830000093/618eea229604e60540fd03ad
22:39:56 johnny_sitar joins (~artur@078088015209.bialystok.vectranet.pl)
22:42:55 × Codaraxis quits (~Codaraxis@user/codaraxis) (Quit: Leaving)
22:44:10 × unmanbearpig quits (~unmanbear@user/unmanbearpig) (Ping timeout: 260 seconds)
22:44:45 × gehmehgeh quits (~user@user/gehmehgeh) (Quit: Leaving)
22:46:05 <ddb> alright, getting close now, it's connected, but how do I get it to join a room?
22:46:24 <ddb> I tried /invite, but that did not seem to work
22:47:06 × Flonk quits (~Flonk@vps-zap441517-1.zap-srv.com) (Quit: The Lounge - https://thelounge.chat)
22:47:19 <geekosaur> http://users.ece.cmu.edu/~allbery/lambdabot/COMMANDS.more
22:47:37 <geekosaur> I think that's still the only reference to lambdabot admin commands
22:47:40 Flonk joins (~Flonk@vps-zap441517-1.zap-srv.com)
22:48:29 <dsal> heh. I spent a while trying to parse that as CoMonads, no wait, it's spelled wrong. CommaNDS? What's NDS?
22:48:38 <geekosaur> and no, I don't think lambdabot knows how to respond to an /invite
22:49:29 pwug joins (~pwug@user/pwug)
22:50:06 <dsal> I'm having a bit of trouble understanding `review`. It seems strange and unnecessary.
22:50:12 <dsal> > review _Just 3
22:50:14 <lambdabot> Just 3
22:50:38 × deadmarshal quits (~deadmarsh@95.38.228.222) (Ping timeout: 268 seconds)
22:50:41 × mimmy quits (~mimmy@72.142.88.18) (Quit: WeeChat 3.3)
22:51:02 <ddb> hmm now how to become an admin
22:51:12 <energizer> (1+2)+(3+4) which side gets evaluated first?
22:51:48 <geekosaur> undefined, since it's a pure expression
22:52:04 <geekosaur> the compiler is free to pick any evaluation order
22:52:06 <dsal> It's possible none of that gets evaluated.
22:52:51 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 256 seconds)
22:53:11 × benin quits (~benin@183.82.176.36) (Ping timeout: 246 seconds)
22:54:05 meatfeather[m] joins (~meatfeath@2001:470:69fc:105::1:3311)
22:54:07 <monochrom> dsal, a long time ago when I was learning unix, the textbook explained that uucp is acronym for "Unix-to-Unix CoPy". For a long long time I was splitting that camelcase CoPy into "co" "py" and wondering what would "py" mean such that it had a co- version called "co-py".
22:54:48 <energizer> python
22:54:58 <dsal> haha. And now we have a new python derivative that does everything backwards.
22:55:19 <geekosaur> ddb, the console and config file are always run as admin. you can use that to add users to the admin acl, which should also be documented (@admin +, iirc, but it's been a decade)
22:56:29 <geekosaur> note that lambdabot does not check user registrations, so for safety you should only add users who are registered with nickserv and have protected their accounts
22:57:06 benin joins (~benin@183.82.176.36)
23:00:14 dsrt^ joins (~dsrt@h50.174.139.63.static.ip.windstream.net)
23:01:18 burnsidesLlama joins (~burnsides@dhcp168-014.wadham.ox.ac.uk)
23:05:59 gabiruh_ is now known as gabiruh
23:07:02 × burnsidesLlama quits (~burnsides@dhcp168-014.wadham.ox.ac.uk) (Ping timeout: 260 seconds)
23:11:30 <Franciman> been trying to write a sexpr parser in Zig
23:11:36 <Franciman> it is insanely fast and small
23:11:50 <Franciman> what are the usual techniques to improve Haskell's parsing?
23:11:54 <Franciman> I am using attoparsec
23:11:58 <Franciman> for example
23:12:08 <Franciman> i give up on size, because ehe
23:12:11 <Franciman> it's not fair
23:12:13 × johnny_sitar quits (~artur@078088015209.bialystok.vectranet.pl) (Ping timeout: 268 seconds)
23:12:30 × unit73e quits (~emanuel@2001:818:e8dd:7c00:32b5:c2ff:fe6b:5291) (Quit: Leaving)
23:12:30 <Franciman> haskell is a dinosaur if compared with zig, talking about runtimes. so it's unfair
23:12:51 <Franciman> to improve haskell's parsing speed
23:14:47 × shapr quits (~user@pool-100-36-247-68.washdc.fios.verizon.net) (Ping timeout: 264 seconds)
23:19:20 × takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection)
23:20:08 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:c075:f6f7:f2c7:7314)
23:22:00 unit73e joins (~emanuel@2001:818:e8dd:7c00:32b5:c2ff:fe6b:5291)
23:22:35 × mikoto-chan quits (~mikoto-ch@esm-84-240-99-143.netplaza.fi) (Quit: mikoto-chan)
23:22:40 × max22- quits (~maxime@lfbn-ren-1-762-224.w81-53.abo.wanadoo.fr) (Remote host closed the connection)
23:23:22 × stefan-_ quits (~cri@42dots.de) (Ping timeout: 260 seconds)
23:25:31 zava joins (~zava@ip5f5bdf0f.dynamic.kabel-deutschland.de)
23:26:57 stefan-_ joins (~cri@42dots.de)
23:28:24 × zer0bitz quits (~zer0bitz@2001:2003:f6e3:7400:d8e7:a6fa:245:fafa) (Read error: Connection reset by peer)
23:28:51 × zebrag quits (~chris@user/zebrag) (Remote host closed the connection)
23:29:47 × jkaye quits (~jkaye@2601:281:8300:7530:25cb:799d:2790:e606) (Ping timeout: 264 seconds)
23:32:43 <maerwald[m]> <Franciman> "what are the usual techniques to..." <- Streamly can be really fast, but needs a lot of library knowledge
23:33:07 <maerwald[m]> The fastest is an ad-hoc xeno approach, using only bytestring functions that use memchr under the hood like elemIndex
23:33:31 <maerwald[m]> attoparsec for example is really slow compared to that
23:33:55 × michalz quits (~michalz@185.246.204.37) (Remote host closed the connection)
23:35:32 <maerwald[m]> Simple line parsing is slow even in attoparsec
23:35:32 <maerwald[m]> https://github.com/hasufell/parselines/blob/master/app/Main.hs
23:35:54 <maerwald[m]> Someone tweaked the streamly code to make it almost as fast as the bytestring variant afair, but I don't have the code
23:37:41 <maerwald[m]> streamly is lacking partial parsers where you can reset to some position in the chunked input array. That would allow to combine memchr based primitives I believe
23:38:24 <maerwald[m]> There are some non-idiomatic workarounds of course, but that's hairv
23:38:47 × Pickchea quits (~private@user/pickchea) (Ping timeout: 264 seconds)
23:38:55 <dsal> I find it strange that Aeson returns a `Result` type that looks just like `Either String` but doesn't offer any conversions. I wonder how many codebases convert that to `Either String` or `Maybe`
23:41:55 <monochrom> But I would use eitherDecode which gives an Either.
23:42:15 <monochrom> I don't think I ever needed to touch Result.
23:42:57 <maerwald[m]> Maybe it has interesting instances?
23:45:37 <janus> how do i find the minimum calculated using a custom function, but with the ability to recover the original item?
23:46:36 <janus> i was thinking to make a newtype and have one item be 'Min a' and the other be 'a' but feel like i am reinventing the wheel
23:47:03 <monochrom> Something about ArgMin or Arg.
23:47:43 <monochrom> in Data.Semigroup
23:48:45 <janus> oooh perfect!
23:48:49 <monochrom> :)
23:53:32 × son0p quits (~ff@181.136.122.143) (Ping timeout: 268 seconds)
23:53:34 × ec quits (~ec@gateway/tor-sasl/ec) (Remote host closed the connection)
23:53:43 × pooryorick quits (~pooryoric@87-119-174-173.tll.elisa.ee) (Ping timeout: 250 seconds)
23:53:49 zebrag joins (~chris@user/zebrag)
23:54:03 ec joins (~ec@gateway/tor-sasl/ec)
23:55:57 <dsal> If you use fromJSON, you get a Result. It just seems odd to have a custom type for that. I don't know why it'd *need* to be less powerful.
23:57:13 <dsal> It might have something interesting. I'm looking at a piece of code that converts it to a `Maybe` and wonder how often that function is written.
23:57:37 <monochrom> But I don't use fromJSON. I use eitherDecode.
23:58:29 <monochrom> I bet the vibe is "Result is internal and/or if you bypass part of normal aeson workflow".
23:58:39 <dsal> Sure, those just do different things. This codebase I'm using has three different uses of fromJSON
23:59:00 <dsal> Making it slightly more annoying, I guess...
23:59:03 <Franciman> thanks maerwald[m] awesome

All times are in UTC on 2021-11-12.