Home liberachat/#haskell: Logs Calendar

Logs on 2024-09-01 (liberachat/#haskell)

00:02:35 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
00:04:46 ddellacosta joins (~ddellacos@ool-44c73c8f.dyn.optonline.net)
00:05:08 ZharMeny joins (~ZharMeny@user/ZharMeny)
00:07:19 × Square quits (~Square@user/square) (Ping timeout: 260 seconds)
00:13:19 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
00:13:24 lockywolf_ is now known as lockywolf
00:17:54 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
00:19:53 peterbecich joins (~Thunderbi@syn-047-229-123-186.res.spectrum.com)
00:23:39 × acidjnk_new quits (~acidjnk@p200300d6e72cfb6904e5b367ab9b2182.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
00:25:11 × stiell_ quits (~stiell@gateway/tor-sasl/stiell) (Ping timeout: 260 seconds)
00:25:45 raehik joins (~raehik@rdng-25-b2-v4wan-169990-cust1344.vm39.cable.virginm.net)
00:28:45 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
00:30:30 × raehik quits (~raehik@rdng-25-b2-v4wan-169990-cust1344.vm39.cable.virginm.net) (Ping timeout: 276 seconds)
00:31:40 × emmanuelux quits (~emmanuelu@user/emmanuelux) (Read error: Connection reset by peer)
00:34:29 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
00:40:13 emmanuelux joins (~emmanuelu@user/emmanuelux)
00:40:18 × ddellacosta quits (~ddellacos@ool-44c73c8f.dyn.optonline.net) (Quit: WeeChat 4.3.4)
00:41:18 stiell_ joins (~stiell@gateway/tor-sasl/stiell)
00:44:34 × athan quits (~athan@syn-098-153-145-140.biz.spectrum.com) (Ping timeout: 248 seconds)
00:45:27 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
00:49:45 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
00:50:27 ddellacosta joins (~ddellacos@ool-44c73c8f.dyn.optonline.net)
00:52:15 × Tuplanolla quits (~Tuplanoll@91-159-69-59.elisa-laajakaista.fi) (Quit: Leaving.)
00:59:06 <probie> > let inf = 1000**1000 in let nan = sqrt (-1) in [0 `min` inf, nan `min` inf, 0 `min` nan]
00:59:07 <lambdabot> [0.0,Infinity,NaN]
01:00:52 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
01:07:33 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
01:18:34 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
01:21:25 athan joins (~athan@syn-098-153-145-140.biz.spectrum.com)
01:23:00 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
01:23:20 <monochrom> Interesting. :)
01:26:03 <int-e> > 1/0
01:26:05 <lambdabot> Infinity
01:26:13 <int-e> > 0/0
01:26:14 <lambdabot> NaN
01:33:57 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
01:40:04 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
01:41:29 <probie> Or for something more terrifying
01:41:32 <probie> > M.fromList [(0/0,"foo"),(0/0,"bar")]
01:41:33 <lambdabot> fromList [(NaN,"foo"),(NaN,"bar")]
01:42:05 <probie> > M.fromList [(0.0, "foo"), (0.0, "bar")]
01:42:07 <lambdabot> fromList [(0.0,"bar")]
01:42:36 <dolio> > let nan = 0/0 ; inf = 1/0 in (nan `min` inf, inf `min` nan)
01:42:38 <lambdabot> (Infinity,NaN)
01:42:42 <geekosaur> > M.fromList [(0.0, "foo"), (-0.0, "bar")]
01:42:44 <lambdabot> fromList [(-0.0,"bar")]
01:42:59 <probie> At least positive 0 is equal to negative 0
01:43:25 <int-e> > 42 `S.member` S.fromList [42,0/0,0/0]
01:43:27 <lambdabot> False
01:44:22 <probie> I do wish there was a distinction in base between an expected lawful `Ord` instance, and a _required_ lawful `Ord` instance
01:48:02 neuroevolutus joins (~neuroevol@146.70.211.24)
01:48:30 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
01:51:22 <dolio> It could be switched to the total ordering relation, I guess. But then -0.0 < 0.0.
01:53:24 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 272 seconds)
01:54:50 × ZharMeny quits (~ZharMeny@user/ZharMeny) (Quit: .)
01:55:28 × ddellacosta quits (~ddellacos@ool-44c73c8f.dyn.optonline.net) (Quit: WeeChat 4.3.4)
02:01:09 × mhatta quits (~mhatta@www21123ui.sakura.ne.jp) (Remote host closed the connection)
02:03:09 mhatta joins (~mhatta@www21123ui.sakura.ne.jp)
02:03:55 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
02:05:03 × op_4 quits (~tslil@user/op-4/x-9116473) (Remote host closed the connection)
02:05:34 op_4 joins (~tslil@user/op-4/x-9116473)
02:07:37 × neuroevolutus quits (~neuroevol@146.70.211.24) (Ping timeout: 256 seconds)
02:10:30 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
02:21:24 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
02:24:00 × Katarushisu1 quits (~Katarushi@finc-20-b2-v4wan-169598-cust1799.vm7.cable.virginm.net) (Read error: Connection reset by peer)
02:25:53 Katarushisu1 joins (~Katarushi@finc-20-b2-v4wan-169598-cust1799.vm7.cable.virginm.net)
02:26:20 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 272 seconds)
02:36:49 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
02:41:14 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 255 seconds)
02:42:15 × terrorjack4 quits (~terrorjac@2a01:4f8:c17:dc9f::) (Quit: The Lounge - https://thelounge.chat)
02:43:37 terrorjack4 joins (~terrorjac@2a01:4f8:c17:dc9f::)
02:52:14 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
02:57:04 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
02:58:12 × td_ quits (~td@i53870912.versanet.de) (Ping timeout: 246 seconds)
03:00:17 td_ joins (~td@i5387091E.versanet.de)
03:02:29 neuroevolutus joins (~neuroevol@146.70.211.24)
03:07:39 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
03:12:05 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
03:17:33 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
03:22:45 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 276 seconds)
03:25:06 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 248 seconds)
03:26:57 Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915)
03:30:10 × sourcetarius quits (~sourcetar@user/sourcetarius) (Quit: nyaa~)
03:32:58 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
03:33:48 <haskellbridge> <Bowuigi> Oh no, I'm late for the IEEE 754 weirdness session
03:34:28 × foul_owl quits (~kerry@174-21-147-232.tukw.qwest.net) (Ping timeout: 252 seconds)
03:34:31 <haskellbridge> <Bowuigi> https://posithub.org/ this seems to be another take on its ideas
03:37:25 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
03:41:14 × peterbecich quits (~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 260 seconds)
03:48:23 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
03:48:38 foul_owl joins (~kerry@157.97.134.165)
03:52:48 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
03:56:53 aforemny joins (~aforemny@i59F516FC.versanet.de)
03:57:42 × aforemny_ quits (~aforemny@2001:9e8:6cf1:7a00:ddbb:e255:c0ea:74ea) (Ping timeout: 246 seconds)
03:58:14 spew joins (~spew@201.141.99.170)
03:58:20 × neuroevolutus quits (~neuroevol@146.70.211.24) (Quit: Client closed)
04:00:27 × jinsun quits (~jinsun@user/jinsun) (Ping timeout: 276 seconds)
04:03:49 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
04:08:56 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 272 seconds)
04:19:14 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
04:24:15 youthlic joins (~Thunderbi@user/youthlic)
04:24:30 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 276 seconds)
04:30:14 myxokephale joins (~myxos@172.93.132.84)
04:31:59 × myxos quits (~myxos@syn-065-028-251-121.res.spectrum.com) (Ping timeout: 260 seconds)
04:34:40 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
04:38:11 takuan joins (~takuan@178-116-218-225.access.telenet.be)
04:38:37 peterbecich joins (~Thunderbi@syn-047-229-123-186.res.spectrum.com)
04:39:09 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
04:39:27 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
04:40:23 × Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
04:40:57 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Client Quit)
04:41:18 × chiselfuse quits (~chiselfus@user/chiselfuse) (Remote host closed the connection)
04:41:56 chiselfuse joins (~chiselfus@user/chiselfuse)
04:44:34 × spew quits (~spew@201.141.99.170) (Quit: spew)
04:47:59 Sgeo joins (~Sgeo@user/sgeo)
04:49:46 × Unicorn_Princess quits (~Unicorn_P@user/Unicorn-Princess/x-3540542) (Quit: Leaving)
04:50:06 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
04:54:41 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
04:56:06 JuanDaugherty joins (~juan@user/JuanDaugherty)
05:05:30 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
05:09:20 × JuanDaugherty quits (~juan@user/JuanDaugherty) (Quit: JuanDaugherty)
05:10:11 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 255 seconds)
05:18:34 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
05:18:55 × youthlic quits (~Thunderbi@user/youthlic) (Remote host closed the connection)
05:23:31 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
05:31:46 jinsun joins (~jinsun@user/jinsun)
05:33:59 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
05:38:23 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
05:49:25 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
05:50:44 × son0p quits (~ff@186.121.18.131) (Ping timeout: 260 seconds)
05:53:48 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
06:04:50 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
06:09:24 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
06:09:41 neuroevolutus joins (~neuroevol@206.217.206.75)
06:12:42 × weary-traveler quits (~user@user/user363627) (Remote host closed the connection)
06:15:02 oneeyedalien joins (~oneeyedal@user/oneeyedalien)
06:15:40 × oneeyedalien quits (~oneeyedal@user/oneeyedalien) (Remote host closed the connection)
06:15:56 oneeyedalien joins (~oneeyedal@user/oneeyedalien)
06:18:43 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
06:19:34 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
06:20:50 × oneeyedalien quits (~oneeyedal@user/oneeyedalien) (Ping timeout: 255 seconds)
06:24:28 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 272 seconds)
06:35:00 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
06:40:21 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 276 seconds)
06:47:55 oneeyedalien joins (~oneeyedal@user/oneeyedalien)
06:48:35 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
06:50:25 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
06:52:18 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
06:55:02 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
06:55:36 oo_miguel joins (~Thunderbi@78.10.207.45)
06:56:04 × peterbecich quits (~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 260 seconds)
06:56:40 CrunchyFlakes joins (~CrunchyFl@ip-109-42-115-64.web.vodafone.de)
06:59:54 × oneeyedalien quits (~oneeyedal@user/oneeyedalien) (Quit: Leaving)
07:05:52 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
07:10:39 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
07:12:49 youthlic joins (~Thunderbi@user/youthlic)
07:15:12 × Tisoxin quits (~Ikosit@user/ikosit) (Quit: The Lounge - https://thelounge.chat)
07:15:43 Tisoxin joins (~Ikosit@user/ikosit)
07:19:15 esnos joins (~user@176.106.34.161)
07:20:37 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
07:25:09 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
07:31:16 × euphores quits (~SASL_euph@user/euphores) (Quit: Leaving.)
07:35:49 <yin> wait. why is 42 not a member of the Set?
07:36:02 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
07:38:04 <yin> oh no, does the search follow the wrong branch?
07:38:35 euphores joins (~SASL_euph@user/euphores)
07:38:51 <yin> > S.member 42 $ S.fromList [0/0,0/0,42]
07:38:52 <lambdabot> True
07:38:59 <yin> > S.member 42 $ S.fromList [0/0,42,0/0]
07:39:01 <lambdabot> True
07:39:10 <yin> > S.member 42 $ S.fromList [42,0/0,0/0]
07:39:11 <lambdabot> False
07:39:18 <yin> yikes
07:39:25 <probie> > 42 < 0/0
07:39:27 <lambdabot> False
07:39:35 <probie> > 0/0 < 42
07:39:36 <lambdabot> False
07:39:45 <probie> > 0/0 < 0/0
07:39:47 <lambdabot> False
07:40:55 <yin> > 0/0 < 42
07:40:56 <lambdabot> False
07:41:06 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 272 seconds)
07:41:22 <yin> so it is the search following the wrong branch
07:41:32 <yin> how is Set represented internally?
07:44:15 <yin> size balanced binary
07:44:19 <yin> apparently
07:45:23 misterfish joins (~misterfis@84.53.85.146)
07:48:47 <yin> i hold the controversial opinion that programming languages should not try to emulate "numbers" but rather make their (and any type) binary representation as transparent as possible
07:50:10 <yin> division should not be this magical operation on bits that lives behind a implementation dependent curtain
07:51:27 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
07:52:24 × Artea quits (~Lufia@2001:41d0:404:200::2d7) (Quit: ZNC 1.8.2 - https://znc.in)
07:53:36 <yin> floats should be an obscure package hidden away from the spotlight
07:55:54 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
07:56:05 <yin> but i also think defaulting to base 10 representation is annoying so maybe i just need to chill
07:57:10 <yin> obligatory "i use base 10" joke
07:59:23 son0p joins (~ff@191.104.26.195)
08:04:01 × neuroevolutus quits (~neuroevol@206.217.206.75) (Quit: Client closed)
08:06:52 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
08:11:12 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
08:11:43 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
08:14:53 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
08:18:51 acidjnk_new joins (~acidjnk@p200300d6e72cfb65c86c0f467d06e1b7.dip0.t-ipconnect.de)
08:24:46 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
08:50:31 × masterbuilder quits (~quassel@user/masterbuilder) (Ping timeout: 252 seconds)
08:54:24 × chiselfuse quits (~chiselfus@user/chiselfuse) (Remote host closed the connection)
08:54:24 × gmg quits (~user@user/gehmehgeh) (Remote host closed the connection)
08:54:24 × ec quits (~ec@gateway/tor-sasl/ec) (Remote host closed the connection)
08:54:24 × stiell_ quits (~stiell@gateway/tor-sasl/stiell) (Remote host closed the connection)
08:55:09 ec joins (~ec@gateway/tor-sasl/ec)
08:55:12 × machinedgod quits (~machinedg@d50-99-47-73.abhsia.telus.net) (Ping timeout: 246 seconds)
08:55:50 stiell_ joins (~stiell@gateway/tor-sasl/stiell)
08:55:58 chiselfuse joins (~chiselfus@user/chiselfuse)
08:56:09 gmg joins (~user@user/gehmehgeh)
09:11:46 ash3en joins (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207)
09:12:31 lxsameer joins (~lxsameer@Serene/lxsameer)
09:15:38 Tuplanolla joins (~Tuplanoll@91-159-69-59.elisa-laajakaista.fi)
09:22:14 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
09:22:51 × ash3en quits (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) (Quit: ash3en)
09:23:08 ash3en joins (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207)
09:26:44 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
09:34:30 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
09:46:24 × youthlic quits (~Thunderbi@user/youthlic) (Ping timeout: 260 seconds)
09:55:08 × tzh quits (~tzh@c-76-115-131-146.hsd1.or.comcast.net) (Quit: zzz)
10:01:02 × econo_ quits (uid147250@id-147250.tinside.irccloud.com) (Quit: Connection closed for inactivity)
10:11:23 × rvalue quits (~rvalue@user/rvalue) (Quit: ZNC - https://znc.in)
10:16:40 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
10:21:34 × Solution quits (~Solution@78-131-74-26.pool.digikabel.hu) (Ping timeout: 260 seconds)
10:22:39 cafkafk joins (~cafkafk@fsf/member/cafkafk)
10:23:16 × cafkafk quits (~cafkafk@fsf/member/cafkafk) (Client Quit)
10:23:52 × Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
10:24:15 ZharMeny joins (~ZharMeny@user/ZharMeny)
10:25:29 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
10:26:22 × Natch quits (~natch@c-9e07225c.038-60-73746f7.bbcust.telenor.se) (Remote host closed the connection)
10:28:28 vglfr joins (~vglfr@c-73-163-164-68.hsd1.md.comcast.net)
10:37:40 × hgolden_ quits (~hgolden@23.162.40.110) (Remote host closed the connection)
10:38:01 hgolden_ joins (~hgolden@23.162.40.110)
10:38:24 × natto17 quits (~natto@129.154.243.159) (Quit: a.)
10:38:25 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
10:38:49 × pikajude quits (~jude@149.28.207.64) (Quit: ZNC 1.8.2 - https://znc.in)
10:39:10 pikajude joins (~jude@2001:19f0:ac01:373:5400:2ff:fe86:3274)
10:39:22 natto joins (~natto@129.154.243.159)
10:39:49 Natch joins (~natch@c-9e07225c.038-60-73746f7.bbcust.telenor.se)
10:43:30 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 272 seconds)
10:50:33 × natto quits (~natto@129.154.243.159) (Quit: a.)
10:53:50 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
10:55:01 natto joins (~natto@129.154.243.159)
10:58:29 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
11:06:32 sourcetarius joins (~sourcetar@user/sourcetarius)
11:09:15 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
11:11:22 youthlic joins (~Thunderbi@user/youthlic)
11:14:32 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 272 seconds)
11:15:23 sawilagar joins (~sawilagar@user/sawilagar)
11:24:17 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
11:25:05 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
11:26:39 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
11:28:56 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
11:39:42 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
11:44:21 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 244 seconds)
11:49:22 × misterfish quits (~misterfis@84.53.85.146) (Ping timeout: 272 seconds)
11:54:10 × xff0x quits (~xff0x@2405:6580:b080:900:482e:12f2:d9e4:60fe) (Ping timeout: 244 seconds)
11:55:07 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
11:55:26 Square joins (~Square@user/square)
11:56:03 xff0x joins (~xff0x@2405:6580:b080:900:ce12:5406:9488:ffd0)
11:59:39 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
12:10:32 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
12:13:00 × son0p quits (~ff@191.104.26.195) (Remote host closed the connection)
12:13:57 son0p joins (~ff@191.104.26.195)
12:15:19 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
12:16:42 <dminuoso> yin: Im not sure whether this is useful. Standards like IEEE 754 exist so mathematical operations behave predictable across differnet CPUs.
12:16:55 <dminuoso> Or some approximation to mathematical operations.
12:17:22 <dminuoso> And I guess in some sense IEEE 754 is fully transparent with respect to binary representation, since the binary representation is standardized.
12:18:09 <mauke> tomsmeding: you were right. I think I've invented a simplification (?) of the shunting yard algorithm
12:18:44 JuanDaugherty joins (~juan@user/JuanDaugherty)
12:18:50 <mauke> only I don't need a full operand stack because there's only ever 0 or 1 pending operands; the rest are already associated with their corresponding operators (on the operator stack)
12:25:18 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
12:30:45 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
12:35:27 mxs joins (~mxs@user/mxs)
12:41:43 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
12:46:18 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
12:47:06 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
12:48:33 __monty__ joins (~toonn@user/toonn)
12:51:05 <tomsmeding> mauke: interesting
12:53:05 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
12:53:13 ski was at one point thinking about doing operator precedence parsing, with delimited continuations
12:54:30 meritamen joins (~user@user/meritamen)
12:57:08 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
12:58:37 × ash3en quits (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) (Quit: ash3en)
12:58:54 ash3en joins (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207)
13:01:48 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
13:02:36 mvk joins (~mvk@2607:fea8:5c96:5800::48f3)
13:03:01 × mvk quits (~mvk@2607:fea8:5c96:5800::48f3) (Client Quit)
13:04:34 <[exa]> btw anyone here uses yi? i just kinda tried and it seems surprisingly good so far
13:04:59 <[exa]> (yi the editor)
13:06:58 <JuanDaugherty> it's still maintained?
13:07:32 × ash3en quits (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) (Ping timeout: 244 seconds)
13:08:07 <JuanDaugherty> a lil bit apparently
13:12:12 × meritamen quits (~user@user/meritamen) (Remote host closed the connection)
13:12:34 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
13:14:09 <[exa]> not sure if it's maintained but it seems to just work™
13:14:25 <Leary> I tried yi a few years back and it was pretty usable, but it didn't support everything that vim does for me out of the box. Trying to extend it to do so led me to the conclusion that it's not well architected, but perhaps someone with time on their hands could resolve that in refactoring.
13:14:46 <[exa]> for sure looks like a cool base to do editors
13:15:20 <JuanDaugherty> it's a holdover from the leksah era at the ignorant masses level of conceptualization
13:16:43 <JuanDaugherty> if ignorant hs masses isn an oxymoron
13:17:24 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 272 seconds)
13:20:07 <mauke> looking at https://www.engr.mun.ca/~theo/Misc/exp_parsing.htm#shunting_yard, it is not immediately obvious that the first operand (x) always ends up as the left child of the first operator (* or +, respectively)
13:20:41 <mauke> but it is true regardless of what other operators follow, so you can always associate x with the first operator immediately
13:21:45 machinedgod joins (~machinedg@d50-99-47-73.abhsia.telus.net)
13:22:17 <[exa]> JuanDaugherty: I love that ignorant mass
13:22:20 <mauke> similarly, if the second operator has higher precedence than the first (x + y * z), you end up with a stack of [(y *), (x +)]
13:23:10 <mauke> otherwise (x * y + z), the whole tree constructed so far becomes the left operand of the second operator: [((x * y) +)]
13:23:32 <JuanDaugherty> [exa], it does appear to be compiling after the usual fumbles
13:24:36 <JuanDaugherty> but didn
13:24:57 <[exa]> I just took it from debian repos
13:24:59 <[exa]> lol
13:25:11 <JuanDaugherty> lol
13:25:31 <[exa]> from there I kinda inferred it's VERY STABLE
13:26:01 <JuanDaugherty> didn i say 'a lil bit'?
13:26:19 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
13:26:58 <[exa]> mauke: the "x is left child of 1st operator" seems okay to me because there's literally no other operator that could pop it
13:27:44 <[exa]> (btw no idea why everyone does two stacks in the explanations, it's plain confusing)
13:31:09 × JuanDaugherty quits (~juan@user/JuanDaugherty) (Quit: JuanDaugherty)
13:32:37 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
13:33:18 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
13:43:37 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
13:45:03 Guest61 joins (~Guest54@210.1.123.198)
13:46:40 × sawilagar quits (~sawilagar@user/sawilagar) (Ping timeout: 265 seconds)
13:48:07 × Guest61 quits (~Guest54@210.1.123.198) (Client Quit)
13:48:42 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 276 seconds)
13:59:02 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
14:03:39 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
14:14:26 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
14:19:01 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
14:27:20 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
14:34:05 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
14:34:36 Alleria joins (~Alleria@user/alleria)
14:44:51 × Angelz quits (Angelz@Angelz.oddprotocol.org) (Changing host)
14:44:51 Angelz joins (Angelz@user/angelz)
14:45:13 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
14:49:33 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 245 seconds)
14:52:32 × esnos quits (~user@176.106.34.161) (Remote host closed the connection)
14:57:56 × Square quits (~Square@user/square) (Ping timeout: 252 seconds)
15:00:38 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
15:02:14 ash3en joins (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207)
15:05:30 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
15:06:02 <fr33domlover> "WARNING: weak pointers to ordinary non-primitive Haskell types are particularly fragile, because the compiler is free to optimise away or duplicate the underlying data structure"
15:06:02 <fr33domlover> So can I (but should I?) use an `Int#` as te key to a `Weak`? I never used these primite with-hash-suffix types, is there any example? Or is it better to use Weak with an IORef as the docs suggest?
15:06:28 <fr33domlover> *primitive
15:16:34 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
15:16:37 × esph quits (~weechat@user/esph) (Read error: Connection reset by peer)
15:20:12 masterbuilder joins (~quassel@user/masterbuilder)
15:20:50 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 244 seconds)
15:23:19 weary-traveler joins (~user@user/user363627)
15:24:21 myxos joins (~myxos@syn-065-028-251-121.res.spectrum.com)
15:26:51 × myxokephale quits (~myxos@172.93.132.84) (Ping timeout: 276 seconds)
15:28:21 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
15:31:51 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
15:31:57 × YoungFrog quits (~youngfrog@39.129-180-91.adsl-dyn.isp.belgacom.be) (Quit: ZNC 1.7.x-git-3-96481995 - https://znc.in)
15:35:01 YoungFrog joins (~youngfrog@39.129-180-91.adsl-dyn.isp.belgacom.be)
15:36:16 × ash3en quits (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) (Quit: ash3en)
15:36:23 benjaminl joins (~benjaminl@user/benjaminl)
15:36:48 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
15:37:32 × benjaminl_ quits (~benjaminl@c-76-144-12-233.hsd1.or.comcast.net) (Ping timeout: 252 seconds)
15:47:45 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
15:47:56 spew joins (~spew@201.141.99.170)
15:52:20 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 255 seconds)
15:54:46 econo_ joins (uid147250@id-147250.tinside.irccloud.com)
16:01:36 × absence quits (~absence@hildring.pvv.ntnu.no) (Quit: Lost terminal)
16:03:10 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
16:06:56 <tomsmeding> fr33domlover: you can't even use an `Int#` as the key to a `Weak`; `k` must be a lifted type
16:07:27 <tomsmeding> (lifted + boxed, to be more precise)
16:07:36 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
16:07:51 <tomsmeding> lifted means that it has an undefined value: Int is lifted because `undefined :: Int` is a thing
16:08:01 <tomsmeding> undefined :: Int# is not something you can create
16:08:13 <tomsmeding> (this is why unlifted values feel "strict")
16:08:29 <tomsmeding> boxed means that it is represented by a pointer on the heap, instead of the actual value
16:08:40 <fr33domlover> tomsmeding: So which types are allowed? Which types are primitive but lifted and boxed?
16:08:44 <tomsmeding> an Int# is unboxed unlifted, meaning that it's an actual 8-byte thing directly
16:09:09 <tomsmeding> Int is boxed lifted, so it's a pointer (which may point to a bottom value) to something else (an Int#)
16:09:10 <int-e> fr33domlover: ByteArray# is one of those
16:09:33 <tomsmeding> int-e: ByteArray# is unlifted
16:09:39 <int-e> but boxed
16:09:44 <tomsmeding> indeed
16:13:08 <tomsmeding> the kind of the `k` type parameter to mkWeak is Type
16:13:14 <tomsmeding> can't pass a ByteArray# in there
16:15:28 <int-e> :t GHC.Internal.mkWeak#
16:15:30 <lambdabot> error:
16:15:30 <lambdabot> Not in scope: ‘GHC.Internal.mkWeak#’
16:15:30 <lambdabot> No module named ‘GHC.Internal’ is imported.
16:15:42 <int-e> :t GHC.Base.mkWeak#
16:15:43 <lambdabot> a -> b -> (GHC.Prim.State# RealWorld -> (# GHC.Prim.State# RealWorld, c #)) -> GHC.Prim.State# RealWorld -> (# GHC.Prim.State# RealWorld, GHC.Prim.Weak# b #)
16:16:07 <int-e> that type lies; a and b are levity polymorphic
16:16:32 <tomsmeding> % :t GHC.Base.mkWeak#
16:16:32 <yahb2> GHC.Base.mkWeak# ; :: forall {l :: GHC.Types.Levity} {k :: GHC.Types.Levity} ; (a :: TYPE ('GHC.Types.BoxedRep l)) ; (b :: TYPE ('GHC.Types.BoxedRep k)) c. ; a ; ...
16:16:39 <tomsmeding> (I set some flags in yahb2)
16:17:07 <tomsmeding> but it would make no sense if there's no sensible way to use mkWeak -- why would it exist then?
16:17:07 <geekosaur> was just about to do that
16:17:07 <int-e> I found a use in the library with MutVar# s a and stopped looking.
16:17:22 <int-e> boxed unlifted objects work
16:17:29 <tomsmeding> with mkWeak#
16:17:34 <tomsmeding> but surely mkWeak exists for a reason?
16:17:37 <int-e> oh
16:17:57 <int-e> @hoogle mkWeak
16:17:57 <lambdabot> System.Mem.Weak mkWeak :: k -> v -> Maybe (IO ()) -> IO (Weak v)
16:17:57 <lambdabot> GHC.Weak mkWeak :: k -> v -> Maybe (IO ()) -> IO (Weak v)
16:17:57 <lambdabot> Control.Concurrent mkWeakThreadId :: ThreadId -> IO (Weak ThreadId)
16:18:36 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
16:19:30 <tomsmeding> the haddocks for Weak essentially say "don't use mkWeak"?
16:19:41 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
16:19:56 <tomsmeding> well, it says "don't set a finalizer with mkWeak"
16:20:06 <int-e> I think the fat WARNING in the docs basically says that that function is not fit for use.
16:20:06 <tomsmeding> (then why does mkWeak take an optional finalizer?)
16:20:14 <tomsmeding> but then why does it exist???
16:20:21 <int-e> But it could make that fact way clearer.
16:20:37 <tomsmeding> accursedUnutterablePerformIO should not be used in general, but there are legitimate use cases (if you're a GHC hacker)
16:20:40 <int-e> I can't answer that; I'd speculate that there are historical reasons.
16:20:43 <fr33domlover> I guess I'll just use mkWeakIORef unless there are other nice options
16:20:49 <tomsmeding> fr33domlover: that sounds like the correct approach
16:21:31 <int-e> As in... I imagine people learned the hard way that mkWeak can't be used. But never removed it somehow. Maybe there's a ticket for that? :)
16:22:44 <geekosaur> at the end of the warning there's an observation about memo tables and such, maybe that's why it's kept?
16:23:36 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 272 seconds)
16:23:49 × Alleria quits (~Alleria@user/alleria) (Ping timeout: 260 seconds)
16:23:51 <int-e> geekosaur: hmm, plausible
16:24:02 <tomsmeding> found something, but not quite the issue we want yet https://gitlab.haskell.org/ghc/ghc/-/issues/6130
16:25:14 <tomsmeding> ah https://gitlab.haskell.org/ghc/ghc/-/issues/7250
16:25:59 <tomsmeding> and here is the warning https://gitlab.haskell.org/ghc/ghc/-/commit/39b9f94a73895dd0f90dd4e12f78e3052b548de1
16:26:46 <geekosaur> the other thing that comes to mind is mkWeakThreadId
16:27:48 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
16:29:23 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
16:34:11 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 255 seconds)
16:37:45 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
16:40:18 × sourcetarius quits (~sourcetar@user/sourcetarius) (Quit: zzz)
16:40:23 <glguy> Perhaps mkWeak is for making a weak reference to a thing that already has a finalizer
16:45:07 peterbecich joins (~Thunderbi@syn-047-229-123-186.res.spectrum.com)
16:45:52 athan_ joins (~athan@syn-098-153-145-140.biz.spectrum.com)
16:46:01 × athan quits (~athan@syn-098-153-145-140.biz.spectrum.com) (Read error: Connection reset by peer)
16:48:21 × athan_ quits (~athan@syn-098-153-145-140.biz.spectrum.com) (Client Quit)
16:49:38 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
16:54:10 × hammond quits (proscan@gateway04.insomnia247.nl) (Ping timeout: 260 seconds)
16:54:10 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
16:56:01 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
16:57:27 target_i joins (~target_i@user/target-i/x-6023099)
16:59:40 Smiles joins (uid551636@id-551636.lymington.irccloud.com)
17:01:58 × youthlic quits (~Thunderbi@user/youthlic) (Quit: youthlic)
17:02:46 × pounce quits (~pounce@user/cute/pounce) (Remote host closed the connection)
17:05:06 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
17:07:51 Square joins (~Square@user/square)
17:11:45 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
17:12:23 × pavonia quits (~user@user/siracusa) (Quit: Bye!)
17:14:35 hammond joins (~abner@gateway04.insomnia247.nl)
17:19:18 × ec quits (~ec@gateway/tor-sasl/ec) (Remote host closed the connection)
17:19:44 ec joins (~ec@gateway/tor-sasl/ec)
17:21:13 tt123109783243 joins (~tt1231@2603:6010:8700:4a81:219f:50d3:618a:a6ee)
17:22:32 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
17:26:46 rvalue joins (~rvalue@user/rvalue)
17:26:54 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 244 seconds)
17:28:21 × gmg quits (~user@user/gehmehgeh) (Ping timeout: 260 seconds)
17:30:22 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
17:30:43 gmg joins (~user@user/gehmehgeh)
17:34:39 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 244 seconds)
17:37:13 × peterbecich quits (~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 265 seconds)
17:38:06 misterfish joins (~misterfis@84.53.85.146)
17:38:38 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
17:45:48 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
17:47:58 <dminuoso> 16:20:37 tomsmeding │ accursedUnutterablePerformIO should not be used in general, but there are legitimate use cases (if you're a GHC hacker)
17:48:18 <dminuoso> I thought the primary use case for accursedUnutterablePerformIO was actually libraries like `text`
17:48:40 <dminuoso> Oh no, bytestring.
17:48:42 <tomsmeding> which is written by? ;)
17:48:58 <dminuoso> Good question, let me git blame chase that.
17:49:29 <tomsmeding> :p maybe they aren't quite active GHC hackers, but slightly less pithily, my point was that it's folly to try to use it unless you know very well what GHC will do with it
17:49:53 <tomsmeding> so its documentation is plastered with warnings, rightfully, but there's still a reason for the function to exist
17:50:23 <tomsmeding> now geekosaur made a good point that the documentation for mkWeak actually mentions a possible use case, so there is a reason for the function to exist
17:50:36 <tomsmeding> but it seemed for a bit (to me) that there wasn't
17:51:00 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 272 seconds)
17:52:39 <dminuoso> Introduced by commit 703b1210b8a77009de593c2ab2ae2ac57f9f9636
17:52:45 <dminuoso> Author: Don Stewart <dons@cse.unsw.edu.au>
17:53:02 <dminuoso> Who I dont think was involved in GHC
17:53:19 <tomsmeding> but also not quite a nobody
17:53:19 <dminuoso> Oh he did hack a bit on GHC actually.
17:53:37 <tomsmeding> okay my claim was maybe a bit strong :)
17:53:40 <dminuoso> He's responsible for some of GHC stream fusion.
17:54:10 <dminuoso> tomsmeding: Oh no worries, this just turned into some quest of curiosity - not to prove you wrong.
17:54:51 <dminuoso> The git commit however suggests that perhaps Simon Marlow was involved in the idea, or perhaps even wrote it - unclear.
17:56:00 <tomsmeding> "courtesy Simon M" is definitely suggestive
17:56:01 L29Ah parts (~L29Ah@wikipedia/L29Ah) ()
17:56:16 <dminuoso> +-- Just like inlinePerformIO, but we inline it.
17:56:41 <tomsmeding> which is a comment above... inlinePerformIO
17:56:45 <dminuoso> It's quite curious how its dangerous consequences were not obvious back then, or perhaps GHC wasn't as aggressive in let floating bacl then
17:56:49 <tomsmeding> feels recursive
17:57:03 <tomsmeding> definitely
17:57:13 <dminuoso> I think that's just a typo, probably meant to read `unsafePerformIO`
17:57:24 <tomsmeding> right
17:58:49 <dminuoso> Actually no, that's not let-float (which is the opposite direction, should not cause faulty code)
17:59:17 CiaoSen joins (~Jura@2a05:5800:21d:ad00:ca4b:d6ff:fec1:99da)
17:59:59 michalz joins (~michalz@185.246.207.203)
18:01:14 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
18:03:12 <monochrom> I think the causality is the other way round. Dons wanted to make bytestring faster, so he helped with the yak shaving of adding stream fusion.
18:03:31 <monochrom> bytestring and/or text.
18:04:21 <int-e> It was named `inlinePerformIO` then :-)
18:04:33 <int-e> And then the bugs piled up.
18:04:44 tzh joins (~tzh@c-76-115-131-146.hsd1.or.comcast.net)
18:04:55 <int-e> (good times)
18:05:39 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
18:05:43 <int-e> (ah the name was mentioned already, of course)
18:06:50 <monochrom> theUnsafePerformIOWhoMustNotBeNamed >:)
18:07:11 <tomsmeding> that sounds like it's a person ;)
18:07:17 <tomsmeding> I mean, maybe it is
18:08:33 <int-e> dminuoso: "it's quite curious" -- IIRC it only broke if the compiler could actually see two bytestring allocations of the same size... which easily happens when you have a lot of them, but not so easily in small test cases
18:10:41 peterbecich joins (~Thunderbi@syn-047-229-123-186.res.spectrum.com)
18:14:30 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
18:17:00 × hammond quits (~abner@gateway04.insomnia247.nl) (Ping timeout: 260 seconds)
18:17:13 pounce joins (~pounce@user/cute/pounce)
18:17:16 hammond joins (proscan@gateway04.insomnia247.nl)
18:19:14 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
18:24:49 × vglfr quits (~vglfr@c-73-163-164-68.hsd1.md.comcast.net) (Ping timeout: 248 seconds)
18:25:42 vglfr joins (~vglfr@2607:fb91:834:1618:ac39:6af7:e3fa:db4a)
18:29:56 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
18:34:55 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 264 seconds)
18:45:11 × weary-traveler quits (~user@user/user363627) (Quit: Konversation terminated!)
18:45:22 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
18:45:43 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
18:45:46 athan joins (~athan@syn-098-153-145-140.biz.spectrum.com)
18:50:32 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 272 seconds)
18:51:39 JuanDaugherty joins (~juan@user/JuanDaugherty)
18:55:18 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
19:00:47 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
19:02:14 raehik joins (~raehik@rdng-25-b2-v4wan-169990-cust1344.vm39.cable.virginm.net)
19:05:23 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 255 seconds)
19:06:35 causal joins (~eric@50.35.88.207)
19:08:47 × Smiles quits (uid551636@id-551636.lymington.irccloud.com) (Quit: Connection closed for inactivity)
19:14:34 L29Ah joins (~L29Ah@wikipedia/L29Ah)
19:19:32 × tabemann quits (~tabemann@2600:1700:7990:24e0:8704:9636:2bf6:fb61) (Remote host closed the connection)
19:21:12 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
19:21:13 tabemann joins (~tabemann@2600:1700:7990:24e0:cad2:d409:de88:d629)
19:21:56 Sgeo joins (~Sgeo@user/sgeo)
19:25:36 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
19:25:38 × raehik quits (~raehik@rdng-25-b2-v4wan-169990-cust1344.vm39.cable.virginm.net) (Ping timeout: 255 seconds)
19:27:45 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
19:36:39 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
19:39:57 × CrunchyFlakes quits (~CrunchyFl@ip-109-42-115-64.web.vodafone.de) (Read error: Connection reset by peer)
19:41:05 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
19:41:09 × lxsameer quits (~lxsameer@Serene/lxsameer) (Ping timeout: 248 seconds)
19:42:58 lxsameer joins (~lxsameer@Serene/lxsameer)
19:43:44 × CiaoSen quits (~Jura@2a05:5800:21d:ad00:ca4b:d6ff:fec1:99da) (Ping timeout: 260 seconds)
19:44:34 ash3en joins (~Thunderbi@2a01:c23:8cca:1e00:9657:55d:41ec:8807)
19:47:25 ash3en1 joins (~Thunderbi@146.70.124.158)
19:49:27 × ash3en quits (~Thunderbi@2a01:c23:8cca:1e00:9657:55d:41ec:8807) (Ping timeout: 276 seconds)
19:49:27 ash3en1 is now known as ash3en
19:52:03 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
19:53:46 × tabemann quits (~tabemann@2600:1700:7990:24e0:cad2:d409:de88:d629) (Quit: Leaving)
19:55:36 × michalz quits (~michalz@185.246.207.203) (Remote host closed the connection)
19:56:24 yazz joins (jarek@user/yazz)
19:57:15 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 276 seconds)
20:00:30 tabemann joins (~tabemann@2600:1700:7990:24e0:d4c9:6f74:4823:c124)
20:05:16 × misterfish quits (~misterfis@84.53.85.146) (Ping timeout: 272 seconds)
20:06:34 × machinedgod quits (~machinedg@d50-99-47-73.abhsia.telus.net) (Ping timeout: 265 seconds)
20:07:28 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
20:12:05 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
20:12:43 biberao joins (~m@user/biberao)
20:13:30 × vglfr quits (~vglfr@2607:fb91:834:1618:ac39:6af7:e3fa:db4a) (Ping timeout: 246 seconds)
20:13:50 × JuanDaugherty quits (~juan@user/JuanDaugherty) (Quit: JuanDaugherty)
20:16:30 × takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection)
20:17:27 × ash3en quits (~Thunderbi@146.70.124.158) (Quit: ash3en)
20:19:12 × spew quits (~spew@201.141.99.170) (Quit: spew)
20:22:53 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
20:23:14 ash3en joins (~Thunderbi@146.70.124.158)
20:27:34 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
20:27:56 × oo_miguel quits (~Thunderbi@78.10.207.45) (Ping timeout: 252 seconds)
20:33:08 <biberao> hi
20:35:22 troojg joins (~troojg@user/troojg)
20:38:19 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
20:41:28 pavonia joins (~user@user/siracusa)
20:42:03 × lxsameer quits (~lxsameer@Serene/lxsameer) (Ping timeout: 245 seconds)
20:43:24 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 276 seconds)
20:53:44 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
20:54:01 <geekosaur> int-e, not quite: it saw two assignments to "the same place" inside a loop, but inlinePerformIO removes the barrier that keeps such things from being hoisted out of the loop
20:55:02 <geekosaur> allocate-and-store, that is, so it hoisted the allocate and stored it multiple times
20:55:21 <int-e> yes and that only happens if the allocations have the same size
20:55:33 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
20:55:37 <int-e> as seen by the compiler; since the allocation size is an argument for the allocation function
20:57:54 <int-e> (I didn't try to explain the bug; I tried to explain why it made it into a release of bytestring without anyone noticing)
20:58:19 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 264 seconds)
20:58:40 × ash3en quits (~Thunderbi@146.70.124.158) (Quit: ash3en)
21:01:17 × mesaoptimizer quits (~mesaoptim@user/PapuaHardyNet) (Quit: mesaoptimizer)
21:01:25 mesaoptimizer joins (~mesaoptim@user/PapuaHardyNet)
21:07:59 × __monty__ quits (~toonn@user/toonn) (Quit: leaving)
21:08:34 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
21:09:10 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
21:13:46 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
21:16:46 vglfr joins (~vglfr@2601:14d:4e01:1370:7d74:cd19:266b:9129)
21:24:35 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
21:26:19 dsrt^ joins (~dsrt@c-98-242-74-66.hsd1.ga.comcast.net)
21:29:13 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
21:29:20 <dmj`> monochrom: VoldemortIO
21:30:09 <dmj`> accIO lumos
21:36:39 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Read error: Connection reset by peer)
21:40:01 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
21:44:21 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds)
21:55:26 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
21:58:42 <monochrom> :)
22:00:14 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
22:06:46 weary-traveler joins (~user@user/user363627)
22:08:49 × tcard quits (~tcard@2400:4051:5801:7500:cf17:befc:ff82:5303) (Remote host closed the connection)
22:09:06 tcard joins (~tcard@2400:4051:5801:7500:cf17:befc:ff82:5303)
22:10:52 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
22:13:00 × target_i quits (~target_i@user/target-i/x-6023099) (Quit: leaving)
22:15:12 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 244 seconds)
22:26:18 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
22:30:25 <haskellbridge> <thirdofmay18081814goya> what is the terminal counterpart of the empty type?
22:31:34 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 272 seconds)
22:32:19 <monochrom> The unit type, ().
22:33:19 <haskellbridge> <thirdofmay18081814goya> ah nice, ty!
22:34:36 <haskellbridge> <thirdofmay18081814goya> is there a type T that satisfies: for all x, x subtypes T?
22:36:39 spew joins (~spew@201.141.99.170)
22:39:13 machinedgod joins (~machinedg@d50-99-47-73.abhsia.telus.net)
22:41:44 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
22:41:56 × weary-traveler quits (~user@user/user363627) (Quit: Konversation terminated!)
22:46:33 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
22:49:13 <monochrom> Although there is no subtyping in Haskell, if you retreat this record type {x::Int, y::String} as a subtype of this other record type {x::Int}, then extrapolating to the extreme, the universal supertype is the 0-tuple, i.e., unit again.
22:54:31 <haskellbridge> <thirdofmay18081814goya> hm i see, ty!
22:55:25 × son0p quits (~ff@191.104.26.195) (Remote host closed the connection)
22:57:08 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
22:58:17 × spew quits (~spew@201.141.99.170) (Quit: spew)
23:01:30 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds)
23:03:40 weary-traveler joins (~user@user/user363627)
23:10:21 × L29Ah quits (~L29Ah@wikipedia/L29Ah) (Read error: Connection reset by peer)
23:12:33 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
23:17:24 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
23:20:42 sourcetarius joins (~sourcetar@user/sourcetarius)
23:25:18 L29Ah joins (~L29Ah@wikipedia/L29Ah)
23:25:30 × ZharMeny quits (~ZharMeny@user/ZharMeny) (Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.4))
23:27:59 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
23:33:03 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 276 seconds)
23:34:09 × xff0x quits (~xff0x@2405:6580:b080:900:ce12:5406:9488:ffd0) (Ping timeout: 260 seconds)
23:34:19 × acidjnk_new quits (~acidjnk@p200300d6e72cfb65c86c0f467d06e1b7.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
23:36:00 son0p joins (~ff@191.104.26.195)
23:37:44 × Tuplanolla quits (~Tuplanoll@91-159-69-59.elisa-laajakaista.fi) (Quit: Leaving.)
23:40:22 JuanDaugherty joins (~juan@user/JuanDaugherty)
23:43:24 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)
23:49:14 × merijn quits (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
23:51:15 × troojg quits (~troojg@user/troojg) (Read error: Connection reset by peer)
23:51:17 neuroevolutus joins (~neuroevol@146.70.211.152)
23:59:59 merijn joins (~merijn@204-220-045-062.dynamic.caiway.nl)

All times are in UTC on 2024-09-01.