Home liberachat/#haskell: Logs Calendar

Logs on 2023-06-20 (liberachat/#haskell)

00:02:20 × xff0x_ quits (~xff0x@178.255.149.135) (Ping timeout: 240 seconds)
00:04:15 jero98772 joins (~jero98772@2800:484:1d7f:5d36::2)
00:04:28 xff0x_ joins (~xff0x@ai098135.d.east.v6connect.net)
00:05:02 × myxos quits (~myxos@cpe-65-28-251-121.cinci.res.rr.com) (Remote host closed the connection)
00:05:51 × user____ quits (~user@46.114.202.36) (Read error: Connection reset by peer)
00:06:34 × kaskal quits (~kaskal@2001:4bb8:2dd:a79d:1a7:8529:b79b:cfa) (Server closed connection)
00:06:55 kaskal joins (~kaskal@2001:4bb8:2dd:a79d:1a7:8529:b79b:cfa)
00:10:44 × dcoutts quits (~duncan@cpc69402-oxfd27-2-0-cust903.4-3.cable.virginm.net) (Ping timeout: 240 seconds)
00:11:59 × son0p quits (~ff@181.136.122.143) (Ping timeout: 240 seconds)
00:13:36 wroathe joins (~wroathe@207-153-38-140.fttp.usinternet.com)
00:13:36 × wroathe quits (~wroathe@207-153-38-140.fttp.usinternet.com) (Changing host)
00:13:36 wroathe joins (~wroathe@user/wroathe)
00:22:10 merijn joins (~merijn@86-86-29-250.fixed.kpn.net)
00:30:49 myxos joins (~myxos@cpe-65-28-251-121.cinci.res.rr.com)
00:35:02 <Umeaboy> dolio: Yeah. I'm wokring on porting it now........ some deps are a hassle.
00:35:34 <Umeaboy> Especially some texlive based ones as some of them are outdated/no longer publicly maintained.
00:36:26 <Umeaboy> I didn't know that texlive-tlpkg conflicts with texlive-collection-basic.
00:36:30 <dolio> Is that for the manual? Possibly you could turn that off.
00:37:20 <glguy> ijqq: I took a look at the burnt sushi TOML tests you mentioned. I'm passing all the decoder tests but the one about a half surrogate pair in a steering literal which seems debatable to check
00:38:28 <glguy> String literal *
00:42:57 <ijqq> oh nice :) that's really cool
00:43:59 <ijqq> yeah that does seem pretty unlikely
00:44:35 <ijqq> still, maybe you should just implement it just so that you can say that you pass every test
00:46:34 <glguy> I'll fix it. I see now that the spec does mandate only "scalar values"
00:46:42 <glguy> Missed that the first time through
00:54:37 × mtjm quits (~mutantmel@2604:a880:2:d0::208b:d001) (Remote host closed the connection)
00:55:16 × mei quits (~mei@user/mei) (Ping timeout: 252 seconds)
00:55:25 mtjm joins (~mutantmel@2604:a880:2:d0::208b:d001)
00:56:29 × merijn quits (~merijn@86-86-29-250.fixed.kpn.net) (Ping timeout: 240 seconds)
00:59:51 mei joins (~mei@user/mei)
01:00:55 × mcglk quits (~mcglk@131.191.19.145) (Read error: Connection reset by peer)
01:01:22 × myxos quits (~myxos@cpe-65-28-251-121.cinci.res.rr.com) (Remote host closed the connection)
01:01:35 × Umeaboy quits (~Umeaboy@94-255-145-133.cust.bredband2.com) (Quit: Leaving)
01:01:52 × jero98772 quits (~jero98772@2800:484:1d7f:5d36::2) (Ping timeout: 240 seconds)
01:04:56 <ijqq> i just parsed my first toml string :)
01:05:08 <ijqq> still long ways to go but it's nice to see
01:06:33 <albet70> what's the name you call "bottom value" to return in recursive function?
01:08:47 <hpc> base case
01:11:16 × albet70 quits (~xxx@2400:8902::f03c:92ff:fe60:98d8) (Remote host closed the connection)
01:13:58 jero98772 joins (~jero98772@2800:484:1d7f:5d36::2)
01:17:24 albet70 joins (~xxx@2400:8902::f03c:92ff:fe60:98d8)
01:22:38 × tubogram44711 quits (~tubogram@user/tubogram) (Quit: Ping timeout (120 seconds))
01:23:01 tubogram44711 joins (~tubogram@user/tubogram)
01:23:05 nate2 joins (~nate@c-98-45-169-16.hsd1.ca.comcast.net)
01:27:29 × nate2 quits (~nate@c-98-45-169-16.hsd1.ca.comcast.net) (Ping timeout: 240 seconds)
01:33:36 myxos joins (~myxos@cpe-65-28-251-121.cinci.res.rr.com)
01:42:56 jargon joins (~jargon@32.sub-174-205-224.myvzw.com)
01:43:34 × szkl quits (uid110435@id-110435.uxbridge.irccloud.com) (Quit: Connection closed for inactivity)
01:43:38 × jargon quits (~jargon@32.sub-174-205-224.myvzw.com) (Remote host closed the connection)
01:44:56 jargon joins (~jargon@32.sub-174-205-224.myvzw.com)
01:46:59 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Ping timeout: 240 seconds)
01:51:29 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
01:59:10 × Hecate quits (~mariposa@user/hecate) (Server closed connection)
01:59:19 Hecate joins (~mariposa@user/hecate)
02:05:12 smoge joins (~smoge@2603-7000-4b42-1100-4596-05e7-d4ae-66e3.res6.spectrum.com)
02:11:56 × jero98772 quits (~jero98772@2800:484:1d7f:5d36::2) (Ping timeout: 240 seconds)
02:13:44 × xff0x_ quits (~xff0x@ai098135.d.east.v6connect.net) (Ping timeout: 252 seconds)
02:18:18 nate2 joins (~nate@c-98-45-169-16.hsd1.ca.comcast.net)
02:18:52 × ft quits (~ft@80.141.189.239) (Ping timeout: 240 seconds)
02:19:39 ec joins (~ec@gateway/tor-sasl/ec)
02:20:57 ft joins (~ft@p4fc2afc9.dip0.t-ipconnect.de)
02:21:13 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Killed (NickServ (Forcing logout FinnElija -> finn_elija)))
02:21:13 finn_elija joins (~finn_elij@user/finn-elija/x-0085643)
02:21:13 finn_elija is now known as FinnElija
02:21:39 × jargon quits (~jargon@32.sub-174-205-224.myvzw.com) (Remote host closed the connection)
02:21:44 son0p joins (~ff@181.136.122.143)
02:24:56 × cafkafk quits (~cafkafk@fsf/member/cafkafk) (Ping timeout: 240 seconds)
02:25:44 × ec quits (~ec@gateway/tor-sasl/ec) (Ping timeout: 240 seconds)
02:25:48 jero98772 joins (~jero98772@2800:484:1d7f:5d36::2)
02:25:50 jargon joins (~jargon@32.sub-174-205-224.myvzw.com)
02:26:45 × waleee quits (~waleee@2001:9b0:21c:4000:5bf9:6515:c030:57b7) (Ping timeout: 260 seconds)
02:29:19 ec joins (~ec@gateway/tor-sasl/ec)
02:29:47 <albet70> f :: a -> (a -> b) is f :: Cont r a?
02:34:32 × ec quits (~ec@gateway/tor-sasl/ec) (Ping timeout: 240 seconds)
02:36:50 × td_ quits (~td@i5387090E.versanet.de) (Ping timeout: 252 seconds)
02:37:48 ec joins (~ec@gateway/tor-sasl/ec)
02:38:43 td_ joins (~td@i53870919.versanet.de)
02:39:02 × bontaq quits (~user@ool-45779b84.dyn.optonline.net) (Ping timeout: 252 seconds)
02:40:42 <glguy> albet70: no
02:41:06 <glguy> ?unmtl Cont r a
02:41:06 <lambdabot> (a -> r) -> r
02:44:08 × ec quits (~ec@gateway/tor-sasl/ec) (Ping timeout: 240 seconds)
02:44:57 × bilegeek quits (~bilegeek@2600:1008:b047:b90f:5137:a48c:4fab:4914) (Quit: Leaving)
02:45:16 × td_ quits (~td@i53870919.versanet.de) (Ping timeout: 252 seconds)
02:46:58 td_ joins (~td@i53870919.versanet.de)
02:49:34 <albet70> right
02:52:43 merijn joins (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl)
02:53:11 cafkafk joins (~cafkafk@fsf/member/cafkafk)
02:54:14 ec joins (~ec@gateway/tor-sasl/ec)
02:54:50 xff0x_ joins (~xff0x@125x103x176x34.ap125.ftth.ucom.ne.jp)
03:01:20 × ec quits (~ec@gateway/tor-sasl/ec) (Ping timeout: 240 seconds)
03:01:49 × jero98772 quits (~jero98772@2800:484:1d7f:5d36::2) (Remote host closed the connection)
03:02:21 ec joins (~ec@gateway/tor-sasl/ec)
03:08:30 × aku quits (~aku@65.108.245.241) (Server closed connection)
03:08:39 aku joins (~aku@65.108.245.241)
03:12:38 severen[m] joins (~severenmt@2001:470:69fc:105::2:9932)
03:18:38 × nate2 quits (~nate@c-98-45-169-16.hsd1.ca.comcast.net) (Ping timeout: 258 seconds)
03:20:32 × ec quits (~ec@gateway/tor-sasl/ec) (Ping timeout: 240 seconds)
03:22:36 ec joins (~ec@gateway/tor-sasl/ec)
03:22:48 aforemny joins (~aforemny@2001:9e8:6cef:c900:b77d:1f31:7b2d:1e41)
03:23:52 × aforemny_ quits (~aforemny@2001:9e8:6cce:9300:5557:5a11:a173:e573) (Ping timeout: 240 seconds)
03:27:26 × merijn quits (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl) (Ping timeout: 252 seconds)
03:28:08 × ec quits (~ec@gateway/tor-sasl/ec) (Ping timeout: 240 seconds)
03:29:04 ec joins (~ec@gateway/tor-sasl/ec)
03:30:43 × shapr quits (~user@2600:1700:c640:3100:ca0d:6e86:9fe3:b540) (Ping timeout: 260 seconds)
03:33:31 <albet70> f :: a -> (a-> r) -> r this f CPS computation?
03:33:52 <albet70> and fit in g >>= f?
03:33:58 × malte quits (~malte@mal.tc) (Server closed connection)
03:34:07 malte joins (~malte@mal.tc)
03:34:08 × ec quits (~ec@gateway/tor-sasl/ec) (Ping timeout: 240 seconds)
03:34:30 × motherfsck quits (~motherfsc@104.129.57.100) (Server closed connection)
03:35:08 ec joins (~ec@gateway/tor-sasl/ec)
03:35:17 motherfsck joins (~motherfsc@user/motherfsck)
03:39:34 ripspin joins (~chatzilla@1.145.143.6)
03:46:58 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Remote host closed the connection)
03:52:08 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 258 seconds)
03:52:08 × cheater quits (~Username@user/cheater) (Read error: Connection reset by peer)
03:52:08 red-snai- joins (~snail@static.151.210.203.116.clients.your-server.de)
03:52:08 × tomsmeding quits (~tomsmedin@static.21.109.88.23.clients.your-server.de) (Quit: ZNC 1.8.2 - https://znc.in)
03:52:08 × Taneb quits (~Taneb@runciman.hacksoc.org) (Quit: I seem to have stopped.)
03:52:08 Taneb joins (~Taneb@2001:41c8:51:10d:aaaa:0:aaaa:0)
03:52:08 × urdh quits (~urdh@user/urdh) (Ping timeout: 240 seconds)
03:52:16 × red-snail1 quits (~snail@static.151.210.203.116.clients.your-server.de) (Read error: Connection reset by peer)
03:52:25 cheater joins (~Username@user/cheater)
03:52:27 tomsmeding joins (~tomsmedin@23.88.109.21)
03:52:56 × ec quits (~ec@gateway/tor-sasl/ec) (Ping timeout: 240 seconds)
03:54:00 × ft quits (~ft@p4fc2afc9.dip0.t-ipconnect.de) (Ping timeout: 240 seconds)
03:55:15 urdh joins (~urdh@user/urdh)
03:56:10 ec joins (~ec@gateway/tor-sasl/ec)
03:57:10 × rf quits (~rf@2605:59c8:179c:f610:381a:41b2:b045:204d) (Ping timeout: 260 seconds)
04:00:08 × ec quits (~ec@gateway/tor-sasl/ec) (Ping timeout: 240 seconds)
04:01:17 ec joins (~ec@gateway/tor-sasl/ec)
04:02:42 jargon_ joins (~jargon@32.sub-174-205-224.myvzw.com)
04:03:59 _ht joins (~Thunderbi@28-52-174-82.ftth.glasoperator.nl)
04:04:05 × jargon quits (~jargon@32.sub-174-205-224.myvzw.com) (Ping timeout: 240 seconds)
04:05:11 misterfish joins (~misterfis@84-53-85-146.bbserv.nl)
04:06:49 jargon_ is now known as jargon
04:14:16 trev joins (~trev@user/trev)
04:14:52 × mei quits (~mei@user/mei) (Ping timeout: 240 seconds)
04:17:39 × wagle quits (~wagle@quassel.wagle.io) (Server closed connection)
04:17:53 wagle joins (~wagle@quassel.wagle.io)
04:18:13 × cafkafk quits (~cafkafk@fsf/member/cafkafk) (Remote host closed the connection)
04:23:45 cafkafk joins (~cafkafk@fsf/member/cafkafk)
04:26:19 × qhong quits (~qhong@rescomp-21-400677.stanford.edu) (Server closed connection)
04:26:29 qhong joins (~qhong@rescomp-21-400677.stanford.edu)
04:37:30 jsomedon joins (uid606872@id-606872.hampstead.irccloud.com)
04:43:44 × azimut quits (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 240 seconds)
04:54:25 × absence_ quits (torgeihe@hildring.pvv.ntnu.no) (Ping timeout: 240 seconds)
04:54:33 absence joins (torgeihe@hildring.pvv.ntnu.no)
04:56:08 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 240 seconds)
04:59:08 × ircbrowse_tom quits (~ircbrowse@static.162.49.55.162.clients.your-server.de) (ZNC 1.8.2+deb2build5 - https://znc.in)
04:59:22 ircbrowse_tom joins (~ircbrowse@static.162.49.55.162.clients.your-server.de)
04:59:28 Server sets mode +Cnt
04:59:35 raoul joins (~raoul@95.179.203.88)
05:01:58 × [exa] quits (~exa@user/exa/x-3587197) (Remote host closed the connection)
05:04:25 × TimWolla quits (~timwolla@2a01:4f8:150:6153:beef::6667) (Ping timeout: 256 seconds)
05:04:32 × yahb2 quits (~yahb2@2a01:4f8:c0c:5c7b::2) (Ping timeout: 260 seconds)
05:04:54 yahb2 joins (~yahb2@2a01:4f8:c0c:5c7b::2)
05:05:16 TimWolla joins (~timwolla@2a01:4f8:150:6153:beef::6667)
05:06:06 × bwe quits (~bwe@2a01:4f8:1c1c:4878::2) (Ping timeout: 246 seconds)
05:06:06 × yushyin quits (PId2DpIzVD@mail.karif.server-speed.net) (Ping timeout: 246 seconds)
05:06:06 × s4msung quits (WMv8rEI0Iy@user/s4msung) (Ping timeout: 246 seconds)
05:06:12 × [_________] quits (~oos95GWG@user/oos95GWG) (Ping timeout: 255 seconds)
05:06:24 × maxfan8_ quits (~max@2a01:4f8:192:5356::2) (Ping timeout: 260 seconds)
05:06:48 maxfan8_ joins (~max@2a01:4f8:192:5356::2)
05:07:54 [_________] joins (~oos95GWG@user/oos95GWG)
05:07:59 bwe joins (~bwe@2a01:4f8:1c1c:4878::2)
05:08:08 s4msung joins (4RqcWUWWqt@user/s4msung)
05:19:46 takuan joins (~takuan@178-116-218-225.access.telenet.be)
05:19:59 yushyin joins (tGG5pLVJ8Y@2a01:4f8:1c17:80de::2)
05:21:50 harveypwca joins (~harveypwc@2601:246:c180:a570:3828:d8:e523:3f67)
05:23:09 × johnw quits (~johnw@76-234-69-149.lightspeed.frokca.sbcglobal.net) (Quit: ZNC - http://znc.in)
05:23:40 johnw joins (~johnw@76-234-69-149.lightspeed.frokca.sbcglobal.net)
05:23:44 merijn joins (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl)
05:25:50 oneeyedalien joins (~oneeyedal@user/oneeyedalien)
05:28:42 bilegeek joins (~bilegeek@2600:1008:b047:b90f:5137:a48c:4fab:4914)
05:30:01 × jargon quits (~jargon@32.sub-174-205-224.myvzw.com) (Remote host closed the connection)
05:32:38 × phma quits (phma@2001:5b0:211b:a558:6f16:d106:7587:769) (Read error: Connection reset by peer)
05:43:00 lisbeths joins (uid135845@id-135845.lymington.irccloud.com)
05:43:11 × _ht quits (~Thunderbi@28-52-174-82.ftth.glasoperator.nl) (Remote host closed the connection)
05:43:27 michalz joins (~michalz@185.246.207.217)
05:55:35 acidjnk_new joins (~acidjnk@p200300d6e7072f4400c7022870e66fcb.dip0.t-ipconnect.de)
05:57:05 × merijn quits (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl) (Ping timeout: 240 seconds)
06:05:16 titibandit joins (~titibandi@user/titibandit)
06:16:20 × ripspin quits (~chatzilla@1.145.143.6) (Read error: Connection reset by peer)
06:16:25 × misterfish quits (~misterfis@84-53-85-146.bbserv.nl) (Ping timeout: 240 seconds)
06:16:55 × titibandit quits (~titibandi@user/titibandit) (Remote host closed the connection)
06:17:27 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Remote host closed the connection)
06:17:40 × smoge quits (~smoge@2603-7000-4b42-1100-4596-05e7-d4ae-66e3.res6.spectrum.com) (Quit: Client closed)
06:18:44 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
06:19:05 × cheater quits (~Username@user/cheater) (Ping timeout: 240 seconds)
06:20:32 jonathan_ joins (~jonathan@83.252.3.92)
06:25:30 cheater joins (~Username@user/cheater)
06:32:07 dcoutts joins (~duncan@cpc69402-oxfd27-2-0-cust903.4-3.cable.virginm.net)
06:36:19 × drlkf quits (~drlkf@192.184.163.34.bc.googleusercontent.com) (Server closed connection)
06:36:44 drlkf joins (~drlkf@192.184.163.34.bc.googleusercontent.com)
06:48:24 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
06:48:42 × shailangsa quits (~shailangs@host86-186-142-69.range86-186.btcentralplus.com) (Ping timeout: 258 seconds)
06:55:34 fendor joins (~fendor@2a02:8388:1640:be00:7aca:a77a:4a28:631a)
07:00:48 lortabac joins (~lortabac@2a01:e0a:541:b8f0:dc4c:5747:7214:81a1)
07:04:52 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 252 seconds)
07:06:20 × hugo quits (znc@verdigris.lysator.liu.se) (Ping timeout: 240 seconds)
07:06:41 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
07:11:20 wz1000 joins (~zubin@static.11.113.47.78.clients.your-server.de)
07:16:01 nate2 joins (~nate@c-98-45-169-16.hsd1.ca.comcast.net)
07:16:17 gmg joins (~user@user/gehmehgeh)
07:20:02 coot joins (~coot@89-69-206-216.dynamic.chello.pl)
07:20:45 × nate2 quits (~nate@c-98-45-169-16.hsd1.ca.comcast.net) (Ping timeout: 240 seconds)
07:20:55 × bilegeek quits (~bilegeek@2600:1008:b047:b90f:5137:a48c:4fab:4914) (Quit: Leaving)
07:21:40 merijn joins (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl)
07:22:13 × srk quits (~sorki@user/srk) (Remote host closed the connection)
07:22:33 srk joins (~sorki@user/srk)
07:26:06 misterfish joins (~misterfis@87.215.131.102)
07:30:10 Ellenor is now known as Reinhilde
07:31:39 hugo joins (znc@verdigris.lysator.liu.se)
07:37:29 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
07:44:59 cods joins (~fred@82-65-232-44.subs.proxad.net)
07:51:02 machinedgod joins (~machinedg@d198-53-218-113.abhsia.telus.net)
07:51:29 cfricke joins (~cfricke@user/cfricke)
07:53:18 fweht joins (uid404746@id-404746.lymington.irccloud.com)
07:54:56 × gmg quits (~user@user/gehmehgeh) (Ping timeout: 240 seconds)
07:56:20 × noctux quits (~noctux@user/noctux) (Read error: Connection reset by peer)
07:56:29 noctux joins (~noctux@user/noctux)
07:56:44 gmg joins (~user@user/gehmehgeh)
08:01:02 × tzh quits (~tzh@24.21.73.154) (Quit: zzz)
08:06:10 ft joins (~ft@p4fc2afc9.dip0.t-ipconnect.de)
08:08:48 × sanjai quits (uid606752@id-606752.uxbridge.irccloud.com) (Quit: Updating details, brb)
08:09:01 daemon_ joins (uid606752@id-606752.uxbridge.irccloud.com)
08:11:03 user____ joins (~user@89.204.130.113)
08:15:07 gnalzo joins (~gnalzo@2a01:e0a:498:fd50:fcc6:bb5d:489a:ce8c)
08:21:41 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
08:25:46 × gmg quits (~user@user/gehmehgeh) (Quit: Leaving)
08:29:10 × ghostbuster quits (~admin@user/ghostbuster) (Server closed connection)
08:29:57 ghostbuster joins (~admin@user/ghostbuster)
08:34:33 × ijqq quits (uid603979@id-603979.helmsley.irccloud.com) (Quit: Connection closed for inactivity)
08:37:33 × NinjaTrappeur quits (~ninja@user/ninjatrappeur) (Quit: WeeChat 3.8)
08:37:39 × ham quits (~ham@user/ham) (Server closed connection)
08:38:03 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:347f:c197:daa9:fd59) (Remote host closed the connection)
08:38:05 ham joins (~ham@user/ham)
08:38:39 × Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
08:39:35 × cfricke quits (~cfricke@user/cfricke) (Ping timeout: 246 seconds)
08:45:03 [exa] joins (~exa@user/exa/x-3587197)
08:47:13 NinjaTrappeur joins (~ninja@user/ninjatrappeur)
08:47:39 phma joins (phma@2001:5b0:211f:2f08:1cac:200:a297:82b8)
08:50:50 × koala_man quits (~vidar@157.146.251.23.bc.googleusercontent.com) (Server closed connection)
08:51:00 koala_man joins (~vidar@157.146.251.23.bc.googleusercontent.com)
08:52:51 × ft quits (~ft@p4fc2afc9.dip0.t-ipconnect.de) (Quit: leaving)
08:54:10 MajorBiscuit joins (~MajorBisc@2001:1c00:31c:8400:f184:4168:559b:d91b)
09:05:32 mmhat joins (~mmh@p200300f1c702b018ee086bfffe095315.dip0.t-ipconnect.de)
09:05:35 × mmhat quits (~mmh@p200300f1c702b018ee086bfffe095315.dip0.t-ipconnect.de) (Client Quit)
09:11:46 waleee joins (~waleee@2001:9b0:21c:4000:5bf9:6515:c030:57b7)
09:13:17 Lord_of_Life_ joins (~Lord@user/lord-of-life/x-2819915)
09:14:18 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 252 seconds)
09:14:38 Lord_of_Life_ is now known as Lord_of_Life
09:16:15 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Remote host closed the connection)
09:18:10 × meinside quits (uid24933@id-24933.helmsley.irccloud.com) (Server closed connection)
09:18:19 meinside joins (uid24933@id-24933.helmsley.irccloud.com)
09:18:23 × gnalzo quits (~gnalzo@2a01:e0a:498:fd50:fcc6:bb5d:489a:ce8c) (Quit: WeeChat 3.8)
09:18:56 cfricke joins (~cfricke@user/cfricke)
09:19:08 × waleee quits (~waleee@2001:9b0:21c:4000:5bf9:6515:c030:57b7) (Ping timeout: 240 seconds)
09:19:17 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
09:19:57 ubert joins (~Thunderbi@2a02:8109:abc0:6434:3ea7:94a2:aa4d:9d0b)
09:21:08 × misterfish quits (~misterfis@87.215.131.102) (Ping timeout: 240 seconds)
09:21:19 × acidjnk_new quits (~acidjnk@p200300d6e7072f4400c7022870e66fcb.dip0.t-ipconnect.de) (Remote host closed the connection)
09:21:34 waleee joins (~waleee@2001:9b0:21c:4000:5bf9:6515:c030:57b7)
09:21:42 acidjnk_new joins (~acidjnk@p200300d6e7072f4400c7022870e66fcb.dip0.t-ipconnect.de)
09:25:36 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
09:30:02 × Luj quits (~Luj@2a01:e0a:5f9:9681:f71f:fbb2:cbdf:4da0) (Quit: Ping timeout (120 seconds))
09:30:20 Luj joins (~Luj@2a01:e0a:5f9:9681:5880:c9ff:fe9f:3dfb)
09:31:35 × user____ quits (~user@89.204.130.113) (Read error: Connection reset by peer)
09:33:02 user____ joins (~user@dynamic-089-204-130-113.89.204.130.pool.telefonica.de)
09:34:00 × econo_ quits (uid147250@id-147250.tinside.irccloud.com) (Quit: Connection closed for inactivity)
09:38:33 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:347f:c197:daa9:fd59)
09:41:01 __monty__ joins (~toonn@user/toonn)
09:43:11 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:347f:c197:daa9:fd59) (Ping timeout: 258 seconds)
09:45:14 ripspin joins (~chatzilla@1.145.156.212)
09:45:23 × kimiamania6 quits (~6790af62@user/kimiamania) (Quit: Ping timeout (120 seconds))
09:46:13 kimiamania6 joins (~6790af62@user/kimiamania)
09:47:55 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
09:52:26 × lisbeths quits (uid135845@id-135845.lymington.irccloud.com) (Quit: Connection closed for inactivity)
09:53:20 × ec quits (~ec@gateway/tor-sasl/ec) (Ping timeout: 240 seconds)
09:54:36 ec joins (~ec@gateway/tor-sasl/ec)
09:55:23 × MajorBiscuit quits (~MajorBisc@2001:1c00:31c:8400:f184:4168:559b:d91b) (Ping timeout: 258 seconds)
09:57:22 MajorBiscuit joins (~MajorBisc@c-001-031-045.client.tudelft.eduvpn.nl)
09:58:15 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
10:01:39 laxmik joins (~user@cfeld-pcx40162.desy.de)
10:01:59 Unicorn_Princess joins (~Unicorn_P@user/Unicorn-Princess/x-3540542)
10:03:57 laxmik is now known as michals
10:06:32 × stiell quits (~stiell@gateway/tor-sasl/stiell) (Ping timeout: 240 seconds)
10:09:23 stiell joins (~stiell@gateway/tor-sasl/stiell)
10:18:00 × waleee quits (~waleee@2001:9b0:21c:4000:5bf9:6515:c030:57b7) (Ping timeout: 240 seconds)
10:18:05 × xff0x_ quits (~xff0x@125x103x176x34.ap125.ftth.ucom.ne.jp) (Ping timeout: 240 seconds)
10:24:58 waleee joins (~waleee@2001:9b0:21c:4000:5bf9:6515:c030:57b7)
10:26:57 misterfish joins (~misterfis@87.215.131.102)
10:27:00 × swistak- quits (~swistak@185.21.216.141) (Quit: bye bye)
10:28:40 swistak joins (~swistak@185.21.216.141)
10:29:20 × ec quits (~ec@gateway/tor-sasl/ec) (Ping timeout: 240 seconds)
10:30:06 ec joins (~ec@gateway/tor-sasl/ec)
10:30:45 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
10:35:26 × tubogram44711 quits (~tubogram@user/tubogram) (Quit: Ping timeout (120 seconds))
10:35:50 tubogram44711 joins (~tubogram@user/tubogram)
10:38:30 × foul_owl quits (~kerry@71.212.137.212) (Ping timeout: 240 seconds)
10:40:12 × Unicorn_Princess quits (~Unicorn_P@user/Unicorn-Princess/x-3540542) (Remote host closed the connection)
10:41:34 Unicorn_Princess joins (~Unicorn_P@user/Unicorn-Princess/x-3540542)
10:53:34 foul_owl joins (~kerry@45.143.82.39)
10:56:43 × waleee quits (~waleee@2001:9b0:21c:4000:5bf9:6515:c030:57b7) (Ping timeout: 258 seconds)
10:58:04 barcisz joins (~barcisz@79.191.69.198.ipv4.supernova.orange.pl)
11:00:08 <zazaeil> What would you say about this piece of code:
11:00:09 <zazaeil> mapMR:: Monad m => (a -> m b) -> [a] -> m [b]
11:00:09 <zazaeil> mapMR f xs = go xs []
11:00:09 <zazaeil> where
11:00:12 <zazaeil> go (z:zs) buf = do
11:00:15 <zazaeil> y <- f z
11:00:19 <zazaeil> y `seq` go zs $! y : buf
11:00:20 <zazaeil> go _ buf = pure $ reverse buf
11:00:24 <zazaeil> what's the usecase for it?
11:05:21 <probie> for making sure all the IO actions run before returning anything in the presence of `unsafeInterleaveIO`?
11:06:30 × hugo quits (znc@verdigris.lysator.liu.se) (Ping timeout: 240 seconds)
11:07:00 × Unicorn_Princess quits (~Unicorn_P@user/Unicorn-Princess/x-3540542) (Read error: Connection reset by peer)
11:07:20 Unicorn_Princess joins (~Unicorn_P@user/Unicorn-Princess/x-3540542)
11:07:23 <zazaeil> probie: why would you `reverse` then?
11:07:57 <probie> To get the results in the original order
11:08:06 waleee joins (~waleee@2001:9b0:21c:4000:5bf9:6515:c030:57b7)
11:10:35 <ncf> go (a:b:c:[]) [] → go (b:c:[]) (a:[]) → go (c:[]) (b:a:[]) → go [] (c:b:a:[]) → a:b:c:[]
11:10:46 <probie> Try something like `let prompt s = putStrLn s >> fmap (s ++) getLine in mapMR prompt ["One: ", "Two: ", "Three: "]` both with and without the reverse
11:13:56 xff0x_ joins (~xff0x@ai098135.d.east.v6connect.net)
11:15:14 × chromoblob quits (~user@37.113.180.121) (Ping timeout: 265 seconds)
11:16:26 Guest38 joins (~Guest38@176.122.87.241)
11:17:13 <tomsmeding> probie: is this not the same as mapMR f xs = do { ys <- traverse f xs ; foldr seq () ys `seq` return ys }
11:17:26 <tomsmeding> I struggle to see why all the acrobatics are necessary
11:17:43 nate2 joins (~nate@c-98-45-169-16.hsd1.ca.comcast.net)
11:18:17 <Guest38> hello
11:18:23 <geekosaur> hello
11:18:29 <tomsmeding> also communicates the intent much more clearly -- it's traverse/mapM, but evaluating the spine before returning
11:18:49 hugo joins (znc@2001:6b0:17:f0a0::17)
11:20:06 shailangsa joins (~shailangs@host86-186-142-69.range86-186.btcentralplus.com)
11:22:38 × nate2 quits (~nate@c-98-45-169-16.hsd1.ca.comcast.net) (Ping timeout: 252 seconds)
11:27:19 <Guest38> https://paste.tomsmeding.com/VlDjNyVW
11:27:22 <Guest38> while the second one needs an extension?
11:27:28 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
11:29:39 <geekosaur> because ghc is conservative when it comes to the Hskell standard, and the second one isn't part of the standard (https://www.haskell.org/onlinereport/haskell2010/)
11:29:47 <[Leary]> tomsmeding: AKA deepseq`ap`pure: the Aztec god of strict IO.
11:30:22 <tomsmeding> [Leary]: deepseq /= foldr seq ()
11:30:43 <tomsmeding> Guest38: see also https://downloads.haskell.org/ghc/latest/docs/users_guide/exts/constraint_kind.html#extension-ConstraintKinds
11:31:10 <tomsmeding> [Leary]: foldr seq () only evaluates the _spine_
11:31:35 <tomsmeding> ah, no, the spine plus WHNF of the elements
11:31:40 <tomsmeding> which is proper
11:31:50 <tomsmeding> deepseq would evaluate the elements to NF
11:31:55 <probie> tomsmeding: I don't know why all the acrobatics are there, I was just attempting to rationalise a use for it after the fact
11:32:02 <tomsmeding> yeah
11:34:39 <[Leary]> Close enough. <.<
11:36:26 <[Leary]> Also, the `deepseq` version is what you'd actually need to overcome lazy IO.
11:36:50 <tomsmeding> in general, yes; in specific cases this one might be sufficient
11:37:07 <tomsmeding> another use might be forcing some list evaluation in a lazy monad
11:37:20 <tomsmeding> i.e. a monad where (>>=) doesn't seq the argument to the continuation
11:42:32 × jpds quits (~jpds@gateway/tor-sasl/jpds) (Ping timeout: 240 seconds)
11:44:39 jpds joins (~jpds@gateway/tor-sasl/jpds)
11:46:09 × waleee quits (~waleee@2001:9b0:21c:4000:5bf9:6515:c030:57b7) (Ping timeout: 246 seconds)
11:52:55 × dminuoso quits (~dminuoso@user/dminuoso) (Server closed connection)
11:53:28 waleee joins (~waleee@h-176-10-137-138.NA.cust.bahnhof.se)
11:54:16 × Guest38 quits (~Guest38@176.122.87.241) (Quit: Client closed)
11:54:36 × sagax quits (~sagax_nb@user/sagax) (Remote host closed the connection)
11:54:45 dminuoso joins (~dminuoso@user/dminuoso)
11:58:44 × waleee quits (~waleee@h-176-10-137-138.NA.cust.bahnhof.se) (Ping timeout: 265 seconds)
12:01:06 gemmaro joins (~user@240f:74:d1f0:1:ba1:e787:c9e:b1dc)
12:05:55 × Me-me quits (~me-me@user/me-me) (Server closed connection)
12:06:35 arrowhead joins (~arrowhead@2603-7000-9b3f-6934-a971-d3cb-1596-4118.res6.spectrum.com)
12:07:11 × wns quits (~user@103.206.114.101) (Ping timeout: 260 seconds)
12:08:29 Me-me joins (~me-me@2602:ff16:3:0:1:dc:beef:d00d)
12:08:32 × cafkafk quits (~cafkafk@fsf/member/cafkafk) (Ping timeout: 240 seconds)
12:10:56 cafkafk joins (~cafkafk@fsf/member/cafkafk)
12:12:06 lisbeths joins (uid135845@id-135845.lymington.irccloud.com)
12:14:23 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
12:15:21 × dcoutts quits (~duncan@cpc69402-oxfd27-2-0-cust903.4-3.cable.virginm.net) (Ping timeout: 260 seconds)
12:25:00 × cfricke quits (~cfricke@user/cfricke) (Ping timeout: 246 seconds)
12:25:43 × coot quits (~coot@89-69-206-216.dynamic.chello.pl) (Quit: coot)
12:25:43 × arrowhead quits (~arrowhead@2603-7000-9b3f-6934-a971-d3cb-1596-4118.res6.spectrum.com) (Read error: Connection reset by peer)
12:25:58 dcoutts joins (~duncan@82.14.199.136)
12:27:13 arrowhead joins (~arrowhead@2603-7000-9b3f-6934-a971-d3cb-1596-4118.res6.spectrum.com)
12:30:54 × bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Quit: = "")
12:41:06 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:347f:c197:daa9:fd59)
12:42:35 waleee joins (~waleee@2001:9b0:21c:4000:5bf9:6515:c030:57b7)
12:45:30 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:347f:c197:daa9:fd59) (Ping timeout: 240 seconds)
12:48:59 bontaq joins (~user@ool-45779b84.dyn.optonline.net)
12:53:39 × cafkafk quits (~cafkafk@fsf/member/cafkafk) (Remote host closed the connection)
12:54:05 cafkafk joins (~cafkafk@fsf/member/cafkafk)
12:57:55 × fr33domlover quits (~fr33domlo@towards.vision) (Server closed connection)
12:58:18 fr33domlover joins (~fr33domlo@towards.vision)
13:04:06 azimut joins (~azimut@gateway/tor-sasl/azimut)
13:10:55 × beaky quits (~beaky@2a03:b0c0:0:1010::1e:a001) (Server closed connection)
13:11:14 beaky joins (~beaky@2a03:b0c0:0:1010::1e:a001)
13:11:52 × pavonia quits (~user@user/siracusa) (Quit: Bye!)
13:15:15 × amir quits (sid22336@user/amir) (Server closed connection)
13:15:24 amir joins (sid22336@user/amir)
13:15:56 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 240 seconds)
13:18:32 × acidjnk_new quits (~acidjnk@p200300d6e7072f4400c7022870e66fcb.dip0.t-ipconnect.de) (Ping timeout: 246 seconds)
13:19:19 raehik joins (~raehik@82.21.176.157)
13:19:19 × andreas303 quits (andreas303@is.drunk.and.ready-to.party) (Server closed connection)
13:19:39 andreas303 joins (andreas303@is.drunk.and.ready-to.party)
13:24:21 coot joins (~coot@89-69-206-216.dynamic.chello.pl)
13:25:20 × chexum quits (~quassel@gateway/tor-sasl/chexum) (Ping timeout: 240 seconds)
13:26:02 chexum joins (~quassel@gateway/tor-sasl/chexum)
13:28:48 × user____ quits (~user@dynamic-089-204-130-113.89.204.130.pool.telefonica.de) (Read error: Connection reset by peer)
13:35:26 rf joins (~rf@2605:59c8:179c:f610:fdc:f9e0:5115:df48)
13:36:51 wroathe joins (~wroathe@207-153-38-140.fttp.usinternet.com)
13:36:51 × wroathe quits (~wroathe@207-153-38-140.fttp.usinternet.com) (Changing host)
13:36:52 wroathe joins (~wroathe@user/wroathe)
13:44:09 jero98772 joins (~jero98772@2800:484:1d7f:5d36::2)
13:53:03 × waleee quits (~waleee@2001:9b0:21c:4000:5bf9:6515:c030:57b7) (Ping timeout: 258 seconds)
13:53:20 × cafkafk quits (~cafkafk@fsf/member/cafkafk) (Ping timeout: 240 seconds)
13:53:26 × kimiamania6 quits (~6790af62@user/kimiamania) (Quit: PegeLinux)
13:54:55 kimiamania6 joins (~6790af62@user/kimiamania)
13:57:15 cafkafk joins (~cafkafk@fsf/member/cafkafk)
13:59:16 captnemo joins (~captnemo@193.32.127.239)
14:00:00 × captnemo quits (~captnemo@193.32.127.239) (Client Quit)
14:00:21 × kitzman quits (~kitzman@user/dekenevs) (Ping timeout: 255 seconds)
14:02:20 euandreh joins (~Thunderbi@189.6.18.7)
14:05:33 kitzman joins (~kitzman@user/dekenevs)
14:21:40 gensyst joins (~gensyst@user/gensyst)
14:22:18 × wroathe quits (~wroathe@user/wroathe) (Ping timeout: 252 seconds)
14:28:00 × Unicorn_Princess quits (~Unicorn_P@user/Unicorn-Princess/x-3540542) (Ping timeout: 240 seconds)
14:28:00 × arrowhead quits (~arrowhead@2603-7000-9b3f-6934-a971-d3cb-1596-4118.res6.spectrum.com) (Read error: Connection reset by peer)
14:28:48 × fweht quits (uid404746@id-404746.lymington.irccloud.com) (Quit: Connection closed for inactivity)
14:29:06 arrowhead joins (~arrowhead@2603-7000-9b3f-6934-a971-d3cb-1596-4118.res6.spectrum.com)
14:30:16 <gensyst> How to debug a weird issue like this?
14:30:16 <gensyst> The program crashes with runtime error "thread blocked indefinitely in an mvar operation" usually.
14:30:17 <gensyst> If I redirect stdout&stderr to a file, the program also crashes but with the different error: "thread blocked indefinitely in an STM transaction"
14:30:17 <gensyst> And if I simply put a liftIO $ putStrLn "foo" at one place, the program stops crashing!
14:30:17 <gensyst> Does anything like this sound familiar?
14:30:38 <gensyst> s/usually/without any stdout/stderr redirection
14:33:01 × harveypwca quits (~harveypwc@2601:246:c180:a570:3828:d8:e523:3f67) (Quit: Leaving)
14:34:00 acidjnk joins (~acidjnk@p200300d6e7072f44f8bdafc80b96a078.dip0.t-ipconnect.de)
14:34:29 L29Ah parts (~L29Ah@wikipedia/L29Ah) ()
14:34:29 × arrowhead quits (~arrowhead@2603-7000-9b3f-6934-a971-d3cb-1596-4118.res6.spectrum.com) (Read error: Connection reset by peer)
14:36:28 arrowhead joins (~arrowhead@2603:7000:9b3f:6934:a971:d3cb:1596:4118)
14:41:44 × misterfish quits (~misterfis@87.215.131.102) (Ping timeout: 258 seconds)
14:44:49 × arrowhead quits (~arrowhead@2603:7000:9b3f:6934:a971:d3cb:1596:4118) (Remote host closed the connection)
14:50:59 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Read error: Connection reset by peer)
14:51:26 <tomsmeding> gensyst: are you starting external processes, or is this just one haskell program?
14:54:32 × mechap quits (~mechap@user/mechap) (Quit: WeeChat 3.8)
14:56:01 k`` joins (~user@136.56.140.2)
14:56:30 <k``> Is there a way to write PatternSynonyms without ViewPatterns?
14:57:03 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:347f:c197:daa9:fd59)
14:59:03 <gensyst> tomsmeding, one haskell program
15:00:20 × euandreh quits (~Thunderbi@189.6.18.7) (Ping timeout: 240 seconds)
15:00:35 arrowhead joins (~arrowhead@2603-7000-9b3f-6934-a971-d3cb-1596-4118.res6.spectrum.com)
15:01:38 <tomsmeding> k``: yes, but ViewPatterns make pattern synonyms much more expressive :p
15:01:38 × arrowhead quits (~arrowhead@2603-7000-9b3f-6934-a971-d3cb-1596-4118.res6.spectrum.com) (Read error: Connection reset by peer)
15:01:48 euandreh joins (~Thunderbi@189.6.18.7)
15:02:18 <tomsmeding> gensyst: I was thinking of this one but it's something different then possibly https://tomsmeding.com/blog/bugs/efault
15:02:34 × gemmaro quits (~user@240f:74:d1f0:1:ba1:e787:c9e:b1dc) (Remote host closed the connection)
15:03:17 <tomsmeding> gensyst: are you using any unsafe stuff, like unsafeIOToSTM?
15:04:57 shapr joins (~user@2600:1700:c640:3100:c563:6739:a435:1e16)
15:05:12 <gensyst> tomsmeding, nope
15:05:41 <gensyst> the only thing i can think of is some weird/obscure GC finalization stuff (and it's coincidental that the putStrLn somehow affects GC)
15:05:57 <gensyst> can't think of anything else :S
15:06:02 <zero> `The record update x { field = ... } with type A is ambiguous. This will not be supported by -XDuplicateRecordFields in future releases of GHC.`
15:06:05 <zero> why am i getting this warning?
15:06:06 × machinedgod quits (~machinedg@d198-53-218-113.abhsia.telus.net) (Remote host closed the connection)
15:07:03 <zero> is DuplicateRecordFields being deprecated?
15:07:25 machinedgod joins (~machinedg@198.53.218.113)
15:08:26 <zero> As of GHC 9.4.1, selector names have to be entirely unambiguous (under the usual name resolution rules), while for record updates, there must be at most one datatype that has all the field names being updated.
15:08:37 <zero> i'm not sure what this means
15:12:57 <tomsmeding> zero: presumably it means in your example that there must be at most one type that has the field 'field'
15:13:08 <tomsmeding> which is no advantage over plain haskell
15:13:43 <tomsmeding> it becomes more flexible when you go x { a = ..., b = ... }, where there must be at most one type that has _both_ 'a' and 'b' -- there could be other types that have 'a' but not 'b'
15:13:55 <tomsmeding> in short, not very useful
15:14:28 <zero> i have two types with a 'field' field (i'm using Aeson with Generics) and i want to update one of them
15:14:35 <zero> how should i do it then?
15:15:08 <gensyst> why can't they just make it... easy lol. Like... dotsyntax. something that just works. (of course there must be good reasons for this, otherwise it would be done already)
15:16:01 <zero> `x { field = ... , b = b x }` seems ridiculous
15:17:09 <geekosaur> they should have implemented row types and then all of this would just work. instead we get hacks
15:17:17 <merijn> geekosaur: facts
15:17:25 <zero> what i have now is `x { field = ... } :: A` how is that ambiguous?
15:17:27 <merijn> the whole dot field selector story is a farce
15:18:14 <merijn> There's like 10 different field selector extensions and they all just make more of a mess
15:19:10 <zero> i'll just make an updateField function *sigh*
15:19:13 nate2 joins (~nate@c-98-45-169-16.hsd1.ca.comcast.net)
15:21:33 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:347f:c197:daa9:fd59) (Remote host closed the connection)
15:21:35 <zero> ok that didn't solve it
15:23:54 × nate2 quits (~nate@c-98-45-169-16.hsd1.ca.comcast.net) (Ping timeout: 252 seconds)
15:26:40 <Athas> How does the -maxN RTS flag interact with 'getNumCapabilities'?
15:27:07 <Athas> I pass -maxN8, yet getNumCapabilities returns 1.
15:27:23 <merijn> Athas: Does max change the actual, though?
15:27:30 <Athas> If I pass -N8, getNumCapabilitiles returns 8.
15:27:44 <Athas> merijn: I thought it did. The documentation implies that it's like -N, but with an upper bound.
15:27:52 <Athas> Which would be a very useful thing!
15:27:54 <merijn> that makes no sense, though
15:28:05 mechap joins (~mechap@user/mechap)
15:28:07 <merijn> setting directly to upperbound
15:28:18 <Athas> You are incorrect; it makes sense.
15:28:23 <geekosaur> I would expect it to limit `setNumCapabilities`
15:28:35 <merijn> Athas: What do -N8 -maxN8 and -N16 -maxN8 do?
15:29:02 Unicorn_Princess joins (~Unicorn_P@user/Unicorn-Princess/x-3540542)
15:29:12 <merijn> I'm with geekosaur
15:29:20 <Athas> merijn: 1 capability.
15:29:50 <Athas> My use case is that I want to use a hardware thread per core, but with an upper limit of 16 (because I know empirically my program will not scale beyond that).
15:30:03 <Athas> I thought -maxN was a convenient way to express that, but apparently I have to actually write code.
15:32:11 <Athas> Oh, wait, this seems to also behave differently when using a runtime with profiling enabled.
15:32:32 jneira[m] parts (~jneiramat@2001:470:69fc:105::d729) ()
15:32:59 <Athas> Alright I don't know what the profiling runtime is doing, but the non-profiling one fits my intuition of what -maxN should do.
15:34:32 × Unicorn_Princess quits (~Unicorn_P@user/Unicorn-Princess/x-3540542) (Ping timeout: 252 seconds)
15:34:35 danse-nr3 joins (~francesco@151.46.191.96)
15:38:15 × darkling quits (~darkling@2001-ba8-1f1-f0e6-0-0-0-2.autov6rev.bitfolk.space) (Server closed connection)
15:38:48 <tomsmeding> this being influenced by being in profiling mode or not sounds like a bug
15:38:54 darkling joins (~darkling@2001:ba8:1f1:f0e6::2)
15:38:58 <tomsmeding> of all things that it should do, that it ought not to do, surely
15:40:32 × cafkafk quits (~cafkafk@fsf/member/cafkafk) (Ping timeout: 240 seconds)
15:41:02 <tomsmeding> the documentation on -maxN is unclear
15:41:26 <tomsmeding> it implies that the runtime should choose the number of capabilities, respecting your explicit upper bound as well as the implicit number-of-processors bound
15:41:32 <tomsmeding> but the runtime never chooses anything
15:41:49 <tomsmeding> it just does what you tell it to do (using -N or with setNumCapabilities), and doesn't budge from that
15:42:01 cafkafk joins (~cafkafk@fsf/member/cafkafk)
15:42:12 <tomsmeding> so naively I'd expect -maxN to do absolutely _nothing_ -- I don't see what functionality would use an "upper bound"
15:42:14 <EvanR> of all the number of capabilities you chose, that is the max
15:42:29 <EvanR> it's the max of all possible worlds
15:42:43 <tomsmeding> perhaps that works for someone called Max, but I'm not
15:42:55 <Athas> tomsmeding: the runtime "chooses" if you use -N without an argument.
15:42:59 <EvanR> -evaN
15:43:19 <Athas> My intuition was that -maxN is like "no-argument -N but with an upper limit".
15:43:34 <tomsmeding> Athas: I see that as "'-N' means '-N$(ncpus)'", not as "'-N' means 'the runtime chooses something with $(ncpus) as an upper bound'"
15:43:38 <Athas> Originally I simply used -N but then I tried to run my program on a 96 core machine and disaster ensued.
15:43:50 <tomsmeding> Athas: but no-argument -N is _documented_ as being precisely -N$(ncpus)
15:44:09 <Athas> What do you think -maxN should do?
15:44:23 <tomsmeding> right
15:44:28 <merijn> Athas: Set the upperbound for allowed number of capabilities and not touch the number of capabilities
15:44:45 <tomsmeding> you're right, the only sensible thing for -maxN<x> to mean, is -N<min($(ncpus), x)>
15:44:59 <merijn> tomsmeding: why?
15:44:59 <tomsmeding> given the documentation
15:45:09 <tomsmeding> merijn: because that's the only sensible interpretation of the docs
15:45:12 <merijn> ah, I'm only reading the channel :p
15:45:16 <tomsmeding> not because that's the only sensible thing that -maxN could do
15:45:18 <tomsmeding> merijn: https://downloads.haskell.org/ghc/latest/docs/users_guide/using-concurrent.html?highlight=maxn#rts-flag--maxN%20%E2%9F%A8x%E2%9F%A9
15:45:30 × barcisz quits (~barcisz@79.191.69.198.ipv4.supernova.orange.pl) (Quit: Connection closed)
15:45:31 <Athas> What does "allowed number of capabilities" mean? Would this be about restricting setNumCapabilities, or whatever it's called?
15:45:32 <merijn> tomsmeding: That sounds like work and I'm already debugging obscure things ;)
15:45:38 <merijn> Athas: yes
15:46:02 <Athas> I am not convinced that is terribly useful. It seems only useful for limiting ill-behaved Haskell code, and you can always use taskset for that.
15:46:03 <merijn> Anyway, I haven't read the actual docs, so... :p
15:48:31 Unicorn_Princess joins (~Unicorn_P@user/Unicorn-Princess/x-3540542)
15:49:07 <tomsmeding> Athas: https://gitlab.haskell.org/ghc/ghc/-/blob/master/rts/RtsFlags.c#L1252-1270
15:49:29 × ripspin quits (~chatzilla@1.145.156.212) (Remote host closed the connection)
15:49:34 <tomsmeding> there's your profiling dependence too
15:50:17 L29Ah joins (~L29Ah@wikipedia/L29Ah)
15:50:41 isomorpheme[m] joins (~isomorphe@2001:470:69fc:105::3:731a)
15:50:44 <Athas> Right, so it's just an add-hoc hack for the profiling case. That's fine.
15:50:57 <Athas> I'm guessing the profiling RTS does not handle true concurrency well.
15:52:32 <tomsmeding> there's also no discussion at all about this in the original MR https://gitlab.haskell.org/ghc/ghc/-/commit/7ed0da6cde909e662d09e1f39c3fccfa10f91a7f
15:53:46 bilegeek joins (~bilegeek@2600:1008:b06e:a5ba:1ed2:b1b5:3d65:1eea)
15:54:38 chromoblob joins (~user@37.113.180.121)
15:54:45 × danse-nr3 quits (~francesco@151.46.191.96) (Ping timeout: 240 seconds)
15:58:11 Inst joins (~Inst@2601:6c4:4081:2fc0:9dc5:964c:79f7:7570)
15:58:15 <Inst> https://techcrunch.com/2023/06/19/reddit-communities-adopt-alternative-forms-of-protest-as-the-company-threats-action-on-moderators/
15:58:20 <Inst> re the /r/Haskell fracas
15:58:48 <Inst> it looks like it's more a question of whether we want Taylor / Dons / Kmett etc to remain mods and remain in control of /r/Haskell, or have it seized from us
15:59:08 × chromoblob quits (~user@37.113.180.121) (Ping timeout: 240 seconds)
16:00:12 econo_ joins (uid147250@id-147250.tinside.irccloud.com)
16:00:39 <EvanR> Moderators you better keep the community open or we will close you. Which it already is
16:01:09 gnalzo joins (~gnalzo@2a01:e0a:498:fd50:fcc6:bb5d:489a:ce8c)
16:01:09 <EvanR> what the hell
16:07:27 <[exa]> "seized"
16:08:05 × euandreh quits (~Thunderbi@189.6.18.7) (Ping timeout: 240 seconds)
16:08:55 <dolio> The prospects don't seem very good, from what I've seen.
16:09:47 euandreh joins (~Thunderbi@189.6.18.7)
16:13:46 _ht joins (~Thunderbi@28-52-174-82.ftth.glasoperator.nl)
16:15:16 × MajorBiscuit quits (~MajorBisc@c-001-031-045.client.tudelft.eduvpn.nl) (Quit: WeeChat 3.6)
16:15:24 MajorBiscuit joins (~MajorBisc@c-001-031-045.client.tudelft.eduvpn.nl)
16:16:12 × machinedgod quits (~machinedg@198.53.218.113) (Ping timeout: 240 seconds)
16:16:50 × coot quits (~coot@89-69-206-216.dynamic.chello.pl) (Quit: coot)
16:17:20 coot joins (~coot@89-69-206-216.dynamic.chello.pl)
16:18:23 mc47 joins (~mc47@xmonad/TheMC47)
16:22:03 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:347f:c197:daa9:fd59)
16:23:35 × ubert quits (~Thunderbi@2a02:8109:abc0:6434:3ea7:94a2:aa4d:9d0b) (Remote host closed the connection)
16:23:51 × euandreh quits (~Thunderbi@189.6.18.7) (Ping timeout: 260 seconds)
16:24:46 euandreh joins (~Thunderbi@189.6.18.7)
16:26:23 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:347f:c197:daa9:fd59) (Ping timeout: 258 seconds)
16:27:32 × kritzefitz quits (~kritzefit@debian/kritzefitz) (Ping timeout: 258 seconds)
16:30:53 Sgeo joins (~Sgeo@user/sgeo)
16:31:50 kritzefitz joins (~kritzefit@debian/kritzefitz)
16:36:00 × kritzefitz quits (~kritzefit@debian/kritzefitz) (Ping timeout: 240 seconds)
16:39:27 ddellacosta joins (~ddellacos@146.70.165.245)
16:41:19 × lisbeths quits (uid135845@id-135845.lymington.irccloud.com) (Quit: Connection closed for inactivity)
16:42:12 kritzefitz joins (~kritzefit@debian/kritzefitz)
16:42:20 user____ joins (~user@dynamic-089-204-130-184.89.204.130.pool.telefonica.de)
16:44:32 × raehik quits (~raehik@82.21.176.157) (Ping timeout: 240 seconds)
16:46:44 × kritzefitz quits (~kritzefit@debian/kritzefitz) (Ping timeout: 240 seconds)
16:48:19 kritzefitz joins (~kritzefit@debian/kritzefitz)
16:48:26 × MajorBiscuit quits (~MajorBisc@c-001-031-045.client.tudelft.eduvpn.nl) (Quit: WeeChat 3.6)
16:53:13 × michals quits (~user@cfeld-pcx40162.desy.de) (Quit: ERC (IRC client for Emacs 26.3))
17:02:28 tzh joins (~tzh@c-24-21-73-154.hsd1.wa.comcast.net)
17:03:34 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 258 seconds)
17:06:11 segfaultfizzbuzz joins (~segfaultf@12.172.217.142)
17:08:09 dibblego joins (~dibblego@122-199-1-30.ip4.superloop.au)
17:08:09 × dibblego quits (~dibblego@122-199-1-30.ip4.superloop.au) (Changing host)
17:08:09 dibblego joins (~dibblego@haskell/developer/dibblego)
17:13:35 × kritzefitz quits (~kritzefit@debian/kritzefitz) (Remote host closed the connection)
17:15:03 kritzefitz joins (~kritzefit@debian/kritzefitz)
17:17:44 ai5lk joins (~ai5lk@209-188-121-236.taosnet.com)
17:18:12 ai5lk is now known as shef
17:20:48 danse-nr3 joins (~francesco@151.46.190.79)
17:21:56 × kritzefitz quits (~kritzefit@debian/kritzefitz) (Ping timeout: 240 seconds)
17:29:04 smoge joins (~smoge@2603-7000-4b42-1100-45e9-092e-53fe-8cc3.res6.spectrum.com)
17:29:19 <jade[m]1> hm, I wonder what the best way to render an animation in haskell. So far I think I could just render the individual frames unsing hip and then use ffmpeg
17:29:20 <smoge> Is there a forum for haskell in arts / music ?
17:30:10 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:347f:c197:daa9:fd59)
17:30:24 kritzefitz joins (~kritzefit@debian/kritzefitz)
17:31:24 <smoge> I'm just a beginner in Haskell. If someone could check this code and suggest something, I'd be very grateful.
17:31:25 <smoge> https://github.com/smoge/music-types
17:33:22 dumptruckman joins (~dumptruck@143-42-239-71.ip.linodeusercontent.com)
17:34:34 <smoge> Thank you
17:39:35 smoge18 joins (~smoge@2603-7000-4b42-1100-45e9-092e-53fe-8cc3.res6.spectrum.com)
17:39:47 × smoge18 quits (~smoge@2603-7000-4b42-1100-45e9-092e-53fe-8cc3.res6.spectrum.com) (Client Quit)
17:41:54 × euandreh quits (~Thunderbi@189.6.18.7) (Ping timeout: 265 seconds)
17:42:28 euandreh joins (~Thunderbi@189.6.18.7)
17:45:14 × coot quits (~coot@89-69-206-216.dynamic.chello.pl) (Quit: coot)
17:53:06 <[exa]> smoge: does it play sounds?
17:53:46 <smoge> No, I'm just starting it. It implements a data type for music rhythms
17:53:59 <segfaultfizzbuzz> [exa]: hey feel like teaching me stuff today?
17:54:03 <smoge> references on the bottom of the src file
17:54:38 <smoge> I'm quite new to haskell, any comment is appreciated
17:55:04 chromoblob joins (~user@37.113.180.121)
17:56:32 × __monty__ quits (~toonn@user/toonn) (Quit: leaving)
17:58:42 <sm> it looks great smoge
18:00:30 × chromoblob quits (~user@37.113.180.121) (Ping timeout: 240 seconds)
18:00:37 danse-nr3_ joins (~francesco@151.46.222.202)
18:00:45 × danse-nr3 quits (~francesco@151.46.190.79) (Read error: Connection reset by peer)
18:01:05 × zazaeil quits (~user@91.234.25.217) (Remote host closed the connection)
18:02:32 × segfaultfizzbuzz quits (~segfaultf@12.172.217.142) (Ping timeout: 240 seconds)
18:03:12 __monty__ joins (~toonn@user/toonn)
18:06:43 segfaultfizzbuzz joins (~segfaultf@12.172.217.142)
18:13:36 <smoge> Is there a type of Fraction that doesn't reduce? For example, stays 4/8, and won't reduce to 1/2 automatically?
18:14:53 <c_wraith> if you're looking for time signatures, just use two numbers. They're not really fractions anyway
18:15:13 <darkling> Yeah.
18:15:21 <darkling> You got there before me. :)
18:16:32 <dolio> smoge: (,)? :)
18:16:36 dcoutts_ joins (~duncan@cpc69402-oxfd27-2-0-cust903.4-3.cable.virginm.net)
18:16:56 jinsun__ joins (~jinsun@user/jinsun)
18:16:56 × jinsun quits (~jinsun@user/jinsun) (Killed (calcium.libera.chat (Nickname regained by services)))
18:16:57 jinsun__ is now known as jinsun
18:17:12 <smoge> ok thanks
18:17:39 <smoge> in some OOP those 'fractions' inherent from Rational
18:17:41 <smoge> go figures
18:17:43 apache joins (apache2@anubis.0x90.dk)
18:17:47 jonathan__ joins (~jonathan@c83-252-3-92.bredband.tele2.se)
18:18:02 ft joins (~ft@p4fc2afc9.dip0.t-ipconnect.de)
18:18:38 <dolio> That won't get you all the arithmetic, of course. I'm not aware of any non-reduced rational that's actually an instance of all the numeric stuff in the right way.
18:19:13 shriekingnoise_ joins (~shrieking@186.137.175.87)
18:19:15 Lears joins (~Leary]@user/Leary/x-0910699)
18:19:35 k``` joins (~user@136.56.140.2)
18:19:48 nefercheprure joins (tma@twin.jikos.cz)
18:21:00 tom_ joins (~tom@2a00:23c8:970c:4801:c75:579a:9201:4dd9)
18:21:00 × dunj3 quits (~dunj3@kingdread.de) (Ping timeout: 240 seconds)
18:21:00 × dcoutts quits (~duncan@82.14.199.136) (Ping timeout: 240 seconds)
18:21:00 × shriekingnoise quits (~shrieking@186.137.175.87) (Ping timeout: 240 seconds)
18:21:00 × ghostbuster quits (~admin@user/ghostbuster) (Ping timeout: 240 seconds)
18:21:00 × m1dnight quits (~christoph@78-22-4-67.access.telenet.be) (Ping timeout: 240 seconds)
18:21:00 × Ekho quits (~Ekho@user/ekho) (Ping timeout: 240 seconds)
18:21:00 × TMA quits (tma@91.219.245.39) (Ping timeout: 240 seconds)
18:21:00 × davean quits (~davean@67.205.182.208) (Ping timeout: 240 seconds)
18:21:00 × Rembane quits (~Rembane@li346-36.members.linode.com) (Ping timeout: 240 seconds)
18:21:00 × disconnect3d quits (~disconnec@user/disconnect3d) (Ping timeout: 240 seconds)
18:21:00 × motherfsck quits (~motherfsc@user/motherfsck) (Ping timeout: 240 seconds)
18:21:00 × tom__ quits (~tom@81.151.255.71) (Ping timeout: 240 seconds)
18:21:00 × esph quits (~weechat@user/esph) (Ping timeout: 240 seconds)
18:21:00 × apache2 quits (apache2@46.101.137.181) (Ping timeout: 240 seconds)
18:21:00 × tomku quits (~tomku@user/tomku) (Ping timeout: 240 seconds)
18:21:00 × monochrom quits (trebla@216.138.220.146) (Ping timeout: 240 seconds)
18:21:00 × hpc quits (~juzz@98.169.35.163) (Ping timeout: 240 seconds)
18:21:00 × tomboy64 quits (~tomboy64@user/tomboy64) (Ping timeout: 240 seconds)
18:21:00 × int-e quits (~noone@int-e.eu) (Ping timeout: 240 seconds)
18:21:01 × reverse quits (~inversed@bcdcac82.skybroadband.com) (Ping timeout: 240 seconds)
18:21:01 × k`` quits (~user@136.56.140.2) (Ping timeout: 240 seconds)
18:21:01 × jonathan_ quits (~jonathan@83.252.3.92) (Ping timeout: 240 seconds)
18:21:01 × tomsmeding quits (~tomsmedin@23.88.109.21) (Ping timeout: 240 seconds)
18:21:01 × hiredman quits (~hiredman@138.68.1.198) (Ping timeout: 240 seconds)
18:21:01 × Teacup quits (~teacup@user/teacup) (Ping timeout: 240 seconds)
18:21:01 × thaumavorio quits (~thaumavor@162.243.123.105) (Ping timeout: 240 seconds)
18:21:01 × [Leary] quits (~Leary]@user/Leary/x-0910699) (Ping timeout: 240 seconds)
18:21:01 × shane quits (~shane@ana.rch.ist) (Ping timeout: 240 seconds)
18:21:09 monochrm joins (trebla@216.138.220.146)
18:21:12 × Dykam quits (Dykam@dykam.nl) (Ping timeout: 240 seconds)
18:21:19 reverse joins (~inversed@188.220.172.130)
18:21:26 thaumavorio joins (~thaumavor@162.243.123.105)
18:21:28 Dykam joins (Dykam@dykam.nl)
18:21:29 monochrm is now known as monochrom
18:21:31 m1dnight joins (~christoph@78-22-4-67.access.telenet.be)
18:21:35 disconnect3d joins (~disconnec@user/disconnect3d)
18:21:37 ghostbuster joins (~admin@user/ghostbuster)
18:21:38 davean joins (~davean@67.205.182.208)
18:21:46 tomsmeding joins (~tomsmedin@static.21.109.88.23.clients.your-server.de)
18:21:54 dunj3 joins (~dunj3@kingdread.de)
18:21:55 hpc joins (~juzz@ip98-169-35-163.dc.dc.cox.net)
18:21:55 esph joins (~weechat@user/esph)
18:22:01 int-e joins (~noone@int-e.eu)
18:22:05 hiredman joins (~hiredman@frontier1.downey.family)
18:22:06 Rembane joins (~Rembane@178.79.177.36)
18:22:07 tomku joins (~tomku@user/tomku)
18:22:13 shane joins (~shane@ana.rch.ist)
18:22:24 <smoge> I think they will need to have their rational number somehow integrated, so they can be ordered, compared, arithmetic operations (addition etc) etc
18:22:32 motherfsck joins (~motherfsc@user/motherfsck)
18:22:52 <EvanR> time signatures don't seem to need much in the way of arithmetic
18:23:18 <smoge> they are just like durations
18:23:21 Teacup joins (~teacup@user/teacup)
18:23:33 <EvanR> but right now I am using rationals and debugging is though when they get reduced
18:23:37 <darkling> They have additional semantics beyond duration -- phrasing, for example.
18:23:49 <darkling> 6/8 is not the same as 3/4.
18:24:16 <smoge> yes, although they las the same time
18:24:35 <darkling> Well, physical duration also depends on tempo. :)
18:24:51 <smoge> metric hierarchies would be yet another improvement, of course
18:25:05 <EvanR> by duration I would think you mean a time diff, while time signature is a combination of count of beats per measure and a code for what a beat is
18:25:13 <darkling> Personally, I'd just write them as a pair of (top, bottom)
18:26:26 <darkling> I literally can't think of a case where I've had to do any kind of arithmetic on two time signatures.
18:26:36 <smoge> Duration as in Music Notation. Duration -> Tempo -> Time (in seconds)
18:27:09 <darkling> OK, but it's still just counting notes of given length. When do you need to add the time signatures themselves?
18:27:35 Ekho joins (~Ekho@user/ekho)
18:28:34 <darkling> If you need to keep track of the number of beats that have elapsed since some previous event, I'd count (fractions of) beats, *derived from* the time signature, rather than trying to do anything fancy with the time signatures themselves.
18:29:04 <darkling> The Western notation of music isn't necessarily the best driver of appropriate data structures for representing it.
18:29:17 <smoge> With some approaches, you can start with the measure, and then subdivide it. So you need to know the duration.
18:30:39 <smoge> Yes, it depends a lot of how it will be used.
18:30:53 <EvanR> not enough info on what the goals are to suggest a best or even good abstraction
18:30:53 <darkling> Sure, but turn the time signature into length-of-notes up front, and just work in units of length-of-notes.
18:31:01 × segfaultfizzbuzz quits (~segfaultf@12.172.217.142) (Ping timeout: 260 seconds)
18:31:16 × danse-nr3_ quits (~francesco@151.46.222.202) (Ping timeout: 252 seconds)
18:31:19 × dolio quits (~dolio@130.44.134.54) (Server closed connection)
18:31:19 <smoge> For example, it can be quite difficult to adapt a code to embrace microtones if it was not thought in advance etc
18:31:53 <smoge> Euterpea is an example, I think
18:32:50 <smoge>   - https://support.ircam.fr/docs/om/om6-manual/co/RT1.html
18:32:51 <smoge>   - https://www.tenor-conference.org/proceedings/2017/18_Jacquemard_tenor2017.pdf
18:32:51 <smoge>   - http://repmus.ircam.fr/_media/jacquemard/strn-mcm.pdf
18:33:14 <smoge> The code tries to implement this idea. maybe it gives context
18:33:24 tomboy64 joins (~tomboy64@user/tomboy64)
18:33:59 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:347f:c197:daa9:fd59) (Remote host closed the connection)
18:39:48 segfaultfizzbuzz joins (~segfaultf@12.172.217.142)
18:41:40 dolio joins (~dolio@130.44.134.54)
18:44:47 ddellaco1 joins (~ddellacos@143.244.47.100)
18:47:32 × ddellacosta quits (~ddellacos@146.70.165.245) (Ping timeout: 240 seconds)
18:48:50 × fiddlerwoaroof_ quits (~fiddlerwo@user/fiddlerwoaroof) (Server closed connection)
18:50:24 fiddlerwoaroof_ joins (~fiddlerwo@user/fiddlerwoaroof)
18:51:41 × smoge quits (~smoge@2603-7000-4b42-1100-45e9-092e-53fe-8cc3.res6.spectrum.com) (Quit: Client closed)
18:53:35 × dcoutts_ quits (~duncan@cpc69402-oxfd27-2-0-cust903.4-3.cable.virginm.net) (Ping timeout: 258 seconds)
19:02:58 kritty joins (~crumb@c-76-155-235-153.hsd1.co.comcast.net)
19:03:13 Guest52 joins (~Guest52@109-206-198-75.host.skynet.net.pl)
19:03:45 × gensyst quits (~gensyst@user/gensyst) (Quit: Leaving)
19:05:19 Tuplanolla joins (~Tuplanoll@91-159-68-236.elisa-laajakaista.fi)
19:16:24 machinedgod joins (~machinedg@d198-53-218-113.abhsia.telus.net)
19:20:46 nate2 joins (~nate@c-98-45-169-16.hsd1.ca.comcast.net)
19:21:32 × Guest52 quits (~Guest52@109-206-198-75.host.skynet.net.pl) (Quit: Client closed)
19:22:20 × Nokurn quits (~jeremiah@cpe-76-86-186-227.socal.res.rr.com) (Ping timeout: 258 seconds)
19:23:11 × shef quits (~ai5lk@209-188-121-236.taosnet.com) (Quit: WeeChat 3.8)
19:25:51 × nate2 quits (~nate@c-98-45-169-16.hsd1.ca.comcast.net) (Ping timeout: 260 seconds)
19:27:36 × foul_owl quits (~kerry@45.143.82.39) (Ping timeout: 260 seconds)
19:29:46 × kritty quits (~crumb@c-76-155-235-153.hsd1.co.comcast.net) (Quit: Leaving)
19:34:29 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:347f:c197:daa9:fd59)
19:39:00 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:347f:c197:daa9:fd59) (Ping timeout: 240 seconds)
19:41:22 chromoblob joins (~user@37.113.180.121)
19:42:33 foul_owl joins (~kerry@94.140.8.28)
19:45:08 × segfaultfizzbuzz quits (~segfaultf@12.172.217.142) (Ping timeout: 240 seconds)
19:48:45 segfaultfizzbuzz joins (~segfaultf@12.172.217.142)
19:55:01 × mechap quits (~mechap@user/mechap) (Ping timeout: 260 seconds)
19:55:40 mechap joins (~mechap@user/mechap)
19:55:49 × emmanuelux quits (~emmanuelu@user/emmanuelux) (Read error: Connection reset by peer)
19:57:07 <[exa]> segfaultfizzbuzz: sorry I was fixing other stuff tbh
19:57:31 <[exa]> segfaultfizzbuzz: questions welcome but I don't have much time
20:08:56 coot joins (~coot@89-69-206-216.dynamic.chello.pl)
20:09:13 × jonathan__ quits (~jonathan@c83-252-3-92.bredband.tele2.se) (Remote host closed the connection)
20:11:14 jonathan joins (~jonathan@c83-252-3-92.bredband.tele2.se)
20:12:25 × merijn quits (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl) (Ping timeout: 240 seconds)
20:15:56 × machinedgod quits (~machinedg@d198-53-218-113.abhsia.telus.net) (Ping timeout: 240 seconds)
20:17:28 × _ht quits (~Thunderbi@28-52-174-82.ftth.glasoperator.nl) (Remote host closed the connection)
20:17:43 × matijja quits (~matijja@193.77.181.201) (Quit: ZNC 1.8.2 - https://znc.in)
20:20:40 <segfaultfizzbuzz> [exa]: no worries maybe later
20:22:38 matijja joins (~matijja@193.77.181.201)
20:23:07 × segfaultfizzbuzz quits (~segfaultf@12.172.217.142) (Quit: segfaultfizzbuzz)
20:23:50 bilegeek_ joins (~bilegeek@79.sub-174-209-41.myvzw.com)
20:24:25 segfaultfizzbuzz joins (~segfaultf@12.172.217.142)
20:24:27 × matijja quits (~matijja@193.77.181.201) (Client Quit)
20:26:00 × bilegeek quits (~bilegeek@2600:1008:b06e:a5ba:1ed2:b1b5:3d65:1eea) (Ping timeout: 240 seconds)
20:26:01 matijja joins (~matijja@193.77.181.201)
20:30:06 enoq joins (~enoq@2a05:1141:1f5:5600:b9c9:721a:599:bfe7)
20:31:20 × lortabac quits (~lortabac@2a01:e0a:541:b8f0:dc4c:5747:7214:81a1) (Quit: WeeChat 2.8)
20:34:04 ryantrinkle joins (~ryantrink@204.2.90.61)
20:34:25 <ryantrinkle> is it possible to generate a valid Typeable instance for a phantom type?
20:34:29 <ryantrinkle> something like what ST does
20:34:36 azimut_ joins (~azimut@gateway/tor-sasl/azimut)
20:36:06 <monochrom> I think it's simply "deriving Typeable" and you turn on the DeriveDataTypeable extension.
20:37:44 × azimut quits (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 240 seconds)
20:39:07 × trev quits (~trev@user/trev) (Quit: trev)
20:41:07 <hellwolf[m]> what is _other?
20:43:21 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
20:54:59 <monochrom> Perhaps just an arbitrary variable name.
20:55:41 × jonathan quits (~jonathan@c83-252-3-92.bredband.tele2.se) (Ping timeout: 260 seconds)
20:56:03 merijn joins (~merijn@86-86-29-250.fixed.kpn.net)
20:58:16 user____ is now known as gurkenglas
21:01:36 dcoutts_ joins (~duncan@cpc69402-oxfd27-2-0-cust903.4-3.cable.virginm.net)
21:01:37 <EvanR> can I buy a 'b'
21:01:52 <gurkenglas> oh no if we equip [a] with lubs :: [a] -> a from Data.Lub I think it's the cocompletion of a
21:05:03 smoge joins (~smoge@2603-7000-4b42-1100-45e9-092e-53fe-8cc3.res6.spectrum.com)
21:05:54 <gurkenglas> and that if we merely assume that lub exists then so is (a -> ()) -> ()
21:06:32 × jpds quits (~jpds@gateway/tor-sasl/jpds) (Ping timeout: 240 seconds)
21:06:53 <ncf> what
21:09:10 <gurkenglas> ncf: like, you can use (a -> ()) -> () to represent xs :: [a] using \f -> lubs (map f xs)
21:09:27 jpds joins (~jpds@gateway/tor-sasl/jpds)
21:09:41 <c_wraith> monochrom: you don't even need to derive Typeable on any recent GHC. It's automatic for all data types. (you of course still need to specify the constraint at use sites)
21:09:57 <ncf> gurkenglas: why is lubs :: [a] -> () ?
21:10:09 <ncf> (a -> ()) -> () is equivalent to ()
21:10:38 <gurkenglas> ncf: () has two (what is it called, values? elements?), bottom and ()
21:10:55 <gurkenglas> ncf: lubs is [a] -> a
21:11:37 <ncf> so what's the type of \f -> lubs (map f xs) ?
21:12:02 <gurkenglas> (a -> ()) -> ()
21:12:11 <gurkenglas> (where xs :: [a])
21:12:26 × michalz quits (~michalz@185.246.207.217) (Remote host closed the connection)
21:12:30 <smoge> How do you guys set up a workspace / envr with stack? I always get into some trouble
21:13:00 <ncf> and how do you get [a] back from that?
21:14:09 <gurkenglas> uh, i should have noted that the order and multiplicity is lost
21:15:20 <smoge> music-types> /Users/smoge/src3/music-types/music-types/src/Rtm.hs:21:1: error:
21:15:21 <smoge> music-types>     Could not load module ‘Text.Parsec.String’
21:15:21 <smoge> music-types>     It is a member of the hidden package ‘parsec-3.1.16.1’.
21:15:22 <smoge> music-types>     Perhaps you need to add ‘parsec’ to the build-depends in your .cabal file.
21:15:22 <smoge> music-types>     It is a member of the hidden package ‘parsec-3.1.15.0’.
21:15:23 <smoge> music-types>     Perhaps you need to add ‘parsec’ to the build-depends in your .cabal file.
21:15:23 <smoge> music-types>     Use -v (or `:set -v` in ghci) to see a list of the files searched for.
21:15:24 <smoge> music-types>    |
21:15:24 <smoge> music-types> 21 | import Text.Parsec.String  (Parser)
21:15:53 <smoge> resolver:
21:15:53 <smoge>   url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/20/24.yaml
21:15:54 <smoge> packages:
21:15:54 <smoge> - .
21:15:55 <smoge> - parsec-3.1.16.1
21:15:55 <smoge> - pretty-show-1.10
21:16:05 <smoge> what am I doing wrong?
21:17:02 <smoge> https://github.com/smoge/music-types/blob/main/stack.yaml
21:17:06 <ncf> Perhaps you need to add ‘parsec’ to the build-depends in your .cabal file.
21:17:31 <sclv> smoge please don't paste long sets of lines into irc. use the pastebin in the topic
21:17:34 <smoge> When I do, and run stack build, it is deleted by the script
21:18:14 × fendor quits (~fendor@2a02:8388:1640:be00:7aca:a77a:4a28:631a) (Remote host closed the connection)
21:19:07 machinedgod joins (~machinedg@d198-53-218-113.abhsia.telus.net)
21:20:00 <sclv> smoge your cabal file is generated from an hpack file i believe and that should be named project.yaml
21:20:05 <glguy> It's probably because you also have a package.yaml file. Once you delete that it will stop overwriting your .cabal file
21:20:14 <sclv> er package.yaml
21:20:28 <sclv> or yeah what glguy said
21:21:12 <gurkenglas> but the scuffed way is, given xs_ :: (a -> ()) -> () you assume Eq a and enumeration :: [a] and you go (map (\x -> seq (xs_ (\y -> if x == y then () else undefined)) x) enumeration)
21:21:32 nate2 joins (~nate@c-98-45-169-16.hsd1.ca.comcast.net)
21:21:32 <gurkenglas> it gets slightly less scuffed if we replace (a -> ()) -> () with HasLub b => (a -> b) -> b
21:22:28 <gurkenglas> and the not scuffed way is to not try to recover the [a] at all but use it as one would use the cocompletion
21:26:00 × nate2 quits (~nate@c-98-45-169-16.hsd1.ca.comcast.net) (Ping timeout: 240 seconds)
21:27:45 <gurkenglas> aka "values that if we actually lubbed them might error because they have no common upper bound, but we plan to process them in a way that never actually runs into this problem"
21:29:59 <monochrom> Perhaps delete hpack, too. >:D
21:30:08 taupiqueur joins (~taupiqueu@2a02-8440-2440-b664-9470-bc4f-0f68-f846.rev.sfr.net)
21:30:34 × merijn quits (~merijn@86-86-29-250.fixed.kpn.net) (Ping timeout: 252 seconds)
21:33:45 × takuan quits (~takuan@178-116-218-225.access.telenet.be) (Ping timeout: 240 seconds)
21:34:43 taupiqueur1 joins (~taupiqueu@2a02-842a-8180-4601-e4d4-f43e-9943-8902.rev.sfr.net)
21:36:20 × taupiqueur quits (~taupiqueu@2a02-8440-2440-b664-9470-bc4f-0f68-f846.rev.sfr.net) (Ping timeout: 240 seconds)
21:39:12 × segfaultfizzbuzz quits (~segfaultf@12.172.217.142) (Ping timeout: 240 seconds)
21:39:13 × taupiqueur1 quits (~taupiqueu@2a02-842a-8180-4601-e4d4-f43e-9943-8902.rev.sfr.net) (Ping timeout: 265 seconds)
21:39:18 taupiqueur2 joins (~taupiqueu@2a02-8440-2440-b664-9c72-b816-0500-13c5.rev.sfr.net)
21:40:05 <smoge> thanks!
21:43:43 segfaultfizzbuzz joins (~segfaultf@12.172.217.142)
21:47:10 catch22 joins (~catch22@2406:3400:418:d7e0:67c:16ff:fe3e:b769)
21:49:56 × acidjnk quits (~acidjnk@p200300d6e7072f44f8bdafc80b96a078.dip0.t-ipconnect.de) (Ping timeout: 240 seconds)
21:55:31 justsomeguy joins (~justsomeg@user/justsomeguy)
21:58:35 ijqq joins (uid603979@id-603979.helmsley.irccloud.com)
21:59:52 × ft quits (~ft@p4fc2afc9.dip0.t-ipconnect.de) (Remote host closed the connection)
22:01:26 ft joins (~ft@p4fc2afc9.dip0.t-ipconnect.de)
22:02:03 <ijqq> I have haskell language server set up, and now I can go to the definition of functions I've locally defined. When I hover over library functions, e.g. asum from Data.Foldable or intercalate from Data.List, the popup shows a link to the function source code for my local install. However, I can't jump to definition for those library functions.
22:02:19 <ijqq> Is there a way to make it work so that I am able to do it?
22:02:56 × gnalzo quits (~gnalzo@2a01:e0a:498:fd50:fcc6:bb5d:489a:ce8c) (Quit: WeeChat 3.8)
22:04:43 <geekosaur> not yet
22:05:18 × coot quits (~coot@89-69-206-216.dynamic.chello.pl) (Quit: coot)
22:06:06 <geekosaur> https://github.com/haskell/haskell-language-server/issues/708
22:09:50 × __monty__ quits (~toonn@user/toonn) (Quit: leaving)
22:13:00 × Angelz quits (~Angelz@2605:6400:30:fc15:9bd1:2217:41cd:bb15) (Ping timeout: 240 seconds)
22:13:28 <ijqq> Ah okay, I did see that issue but I thought that since HLS clearly knows where the source file is, there would be a fix.
22:14:32 <ijqq> Oh nevermind, I missunderstood
22:14:33 <ijqq> Ignroe me
22:14:35 <ijqq> Ignore*
22:15:32 × segfaultfizzbuzz quits (~segfaultf@12.172.217.142) (Ping timeout: 240 seconds)
22:18:18 <ijqq> I didn't realise the source is just a html page not the actual source
22:18:44 × justsomeguy quits (~justsomeg@user/justsomeguy) (Ping timeout: 240 seconds)
22:19:06 <ijqq> Which is obvious oops
22:19:22 × Unicorn_Princess quits (~Unicorn_P@user/Unicorn-Princess/x-3540542) (Remote host closed the connection)
22:20:09 pavonia joins (~user@user/siracusa)
22:24:52 × bilegeek_ quits (~bilegeek@79.sub-174-209-41.myvzw.com) (Quit: Leaving)
22:29:55 × samhh quits (7569f027cf@2604:bf00:561:2000::e4) (Server closed connection)
22:29:55 samhh_ is now known as samhh
22:30:06 samhh_ joins (7569f027cf@2604:bf00:561:2000::e4)
22:34:55 segfaultfizzbuzz joins (~segfaultf@12.172.217.142)
22:35:54 × berberman quits (~berberman@user/berberman) (Server closed connection)
22:36:15 berberman joins (~berberman@user/berberman)
22:37:06 × smoge quits (~smoge@2603-7000-4b42-1100-45e9-092e-53fe-8cc3.res6.spectrum.com) (Quit: Client closed)
22:38:47 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
22:38:52 × segfaultfizzbuzz quits (~segfaultf@12.172.217.142) (Ping timeout: 240 seconds)
22:43:43 Angelz joins (Angelz@2605:6400:30:fc15:d55b:fa6c:bd14:9973)
22:44:21 diod joins (~diod@bras-base-london140cw-grc-07-142-112-183-155.dsl.bell.ca)
22:45:02 wroathe joins (~wroathe@user/wroathe)
22:49:03 merijn joins (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl)
22:52:06 justsomeguy joins (~justsomeg@user/justsomeguy)
22:53:40 × enoq quits (~enoq@2a05:1141:1f5:5600:b9c9:721a:599:bfe7) (Quit: enoq)
22:55:35 × machinedgod quits (~machinedg@d198-53-218-113.abhsia.telus.net) (Quit: Lost terminal)
22:55:55 machinedgod joins (~machinedg@d198-53-218-113.abhsia.telus.net)
22:59:59 × totbwf quits (sid402332@id-402332.uxbridge.irccloud.com) (Server closed connection)
23:00:08 totbwf joins (sid402332@id-402332.uxbridge.irccloud.com)
23:00:10 × canta1 quits (~canta@cvm0.d5k.one) (Server closed connection)
23:00:32 canta1 joins (~canta@cvm0.d5k.one)
23:12:56 segfaultfizzbuzz joins (~segfaultf@12.172.217.142)
23:13:20 Reinhilde is now known as Ellenor
23:15:21 <ijqq> http://sprunge.us/s3Ta6g would anybody be able to help me? i'm trying to cabal install https://github.com/arybczak/ghc-tags and i get errors about base
23:16:04 <ijqq> i have ghcup too, but seeing this message i don't really know how to go about fixing it
23:16:34 bitdex joins (~bitdex@gateway/tor-sasl/bitdex)
23:17:16 × segfaultfizzbuzz quits (~segfaultf@12.172.217.142) (Ping timeout: 252 seconds)
23:17:31 <Nosrep> newer version of ghc i think
23:17:39 <Nosrep> 9.6 needed
23:17:52 <ijqq> is it saying that I need base ver 4.18, but i don't have that installed?
23:18:13 <Nosrep> think so, don't really use cabal
23:18:19 <Nosrep> that's the only way i'm reading it that makes sense
23:18:22 <c_wraith> ijqq: no, it's saying that you have it installed and ghc-tags doesn't say it supports 4.18
23:18:39 <c_wraith> and 4.18 just means a recent version of GHC
23:18:57 <c_wraith> just tell cabal --allow-newer=base
23:19:45 × k``` quits (~user@136.56.140.2) (Ping timeout: 240 seconds)
23:19:57 <c_wraith> it *probably* will work. base 4.18 didn't change much that already existed.
23:20:34 × merijn quits (~merijn@c-001-001-001.client.esciencecenter.eduvpn.nl) (Ping timeout: 252 seconds)
23:20:39 × diod quits (~diod@bras-base-london140cw-grc-07-142-112-183-155.dsl.bell.ca) (Quit: Client closed)
23:22:17 nate2 joins (~nate@c-98-45-169-16.hsd1.ca.comcast.net)
23:22:25 <ijqq> i tried this `cabal install --allow-newer=base ghc-tags`it said the same
23:22:58 <ijqq> btw i'm running this command in a directory where i haven't done any cabal init or anything, maybe that is an issue?
23:26:52 × nate2 quits (~nate@c-98-45-169-16.hsd1.ca.comcast.net) (Ping timeout: 240 seconds)
23:27:20 <geekosaur> no, you shouldn't need to cabal init to install an executable
23:28:32 <geekosaur> cabal install ghc-tags --allow-newer=base,ghc-prim
23:28:38 <geekosaur> is working for me
23:28:56 <geekosaur> or at least it's trying to build now
23:29:15 <ijqq> oh it's trying to build for me now too
23:29:21 <ijqq> maybe it was the ghc-prim?
23:29:33 <c_wraith> probably
23:29:34 <ijqq> what is that btw?
23:29:48 <c_wraith> a wrapper exposing a bunch of ghc internals
23:30:07 <c_wraith> data types, primitives, etc
23:30:21 <ijqq> ah right
23:30:41 × wroathe quits (~wroathe@user/wroathe) (Quit: Lost terminal)
23:33:40 <ijqq> so "constraint from user target" means the requirement imposed by the library i'm trying to install?
23:34:11 <geekosaur> generally, yes
23:34:29 <geekosaur> "user target" is what you're installing
23:34:31 exeo joins (~exeo@97-119-96-49.omah.qwest.net)
23:35:36 <geekosaur> but ghc-tags uses ghc-lib and ghc-lib-parser, which have tight version constraints
23:36:31 <ijqq> http://sprunge.us/wS9zWi
23:36:38 <geekosaur> ghc-lib-parser just failed for me
23:36:42 <ijqq> :(
23:36:56 × cafkafk quits (~cafkafk@fsf/member/cafkafk) (Ping timeout: 240 seconds)
23:37:05 <ijqq> yep same
23:37:47 <c_wraith> So yeah... lots of libraries still aren't compatible with recent versions of ghc.
23:37:53 <geekosaur> versioning makes me think it's using the one for ghc 9.4, which won't fly with 9.6. trying an allow-newer
23:40:06 <ijqq> so I have ghcup which allows me to change my ghc install. so is there some way to get cabal to tell me which version of ghc i need in order to install a package? and then I can change my ghc version in ghcup and be assured that there won't be any conflicts?
23:40:44 <c_wraith> if you use `ghcup tui' it will list what versions of base come with each version of ghc. That's about the most effective approach I know
23:40:45 <geekosaur> no, because packages only contain that information in the form of constraints on packages that come with ghc
23:41:02 <c_wraith> as version conflicts are usually on the base package.
23:41:10 <c_wraith> (though sometimes they aren't... then have fun!)
23:41:28 × exeo quits (~exeo@97-119-96-49.omah.qwest.net) (Ping timeout: 252 seconds)
23:41:49 <ijqq> hmm perhaps it is because i'm new and i don't really understand it, but i though the whole installing packages would be a better experience for a cool language like hasklel
23:41:54 <geekosaur> in this case, ghc-tags excludes the versions of base, ghc-prim, and ghc-lib that come with ghc 9.6, but accept the ones that come with 9.4
23:42:24 <ijqq> i mean npm, cargo, pip generally tend to get it right
23:42:42 <ijqq> ok
23:42:47 <geekosaur> so cabal install -w ghc-9.4.5 (because I have that 9.4 version installed)
23:42:59 cafkafk joins (~cafkafk@fsf/member/cafkafk)
23:43:05 <geekosaur> that said I did an allow-newer on ghc-lib and it seems to be going
23:43:08 <ijqq> so do i need to change ghc in ghcup?
23:43:16 <ijqq> to 9.4.x?
23:43:27 <geekosaur> just install it, you don't have to set it as current, just use -w to specify it
23:43:37 <c_wraith> npm and pip usually don't get it right, in my experience.
23:44:03 <c_wraith> cargo does, but mostly because not breaking it is a primary concern in rust.
23:44:07 exeo joins (~exeo@97-119-96-49.omah.qwest.net)
23:46:20 × aforemny quits (~aforemny@2001:9e8:6cef:c900:b77d:1f31:7b2d:1e41) (Ping timeout: 240 seconds)
23:47:34 <ijqq> yeah fair enough, i just figured the smart haskell guys probably had a good solution for it
23:47:39 <ijqq> im sure once i get used to it it should be fine
23:47:53 <geekosaur> stack has a solution, not necessarily the best one
23:48:01 × lottaquestions_ quits (~nick@2607:fa49:503f:6d00:ed09:2f19:74f7:7b05) (Quit: Konversation terminated!)
23:48:09 <c_wraith> There really isn't a solution to "people change their libraries, breaking downstream stuff"
23:48:30 <geekosaur> (the package has to come with a stack.yaml which tells it among other things what ghc version to install)
23:49:20 aforemny joins (~aforemny@i59F516E1.versanet.de)
23:49:24 <geekosaur> okay, ghc-tags really does not support ghc 9.6
23:49:27 <geekosaur> use ghc 9.4
23:50:42 <ijqq> what i meant is for a library version x, if you can specify all the dependencies down the the commit hash, then it should be possible to recreate that same environment for the person downloading it?
23:51:06 <c_wraith> ijqq: that doesn't cover how to interoperate with other libraries
23:51:09 bilegeek joins (~bilegeek@79.sub-174-209-41.myvzw.com)
23:51:48 <c_wraith> Admittedly, you're looking at an executable, which is somewhat simpler in that sense.
23:52:14 <c_wraith> But the general case is that you haven't solved the problem yet by specifying only dependencies
23:52:29 mauke_ joins (~mauke@user/mauke)
23:52:49 lottaquestions joins (~nick@2607:fa49:503f:6d00:ee98:182c:4ae3:99fe)
23:53:32 <ijqq> so if i write a library and my library version x depends on two libraries, version y and z and i know this, surely someone else can recreate that build?
23:54:06 segfaultfizzbuzz joins (~segfaultf@12.172.217.142)
23:54:18 × mauke quits (~mauke@user/mauke) (Ping timeout: 252 seconds)
23:54:19 mauke_ is now known as mauke
23:54:23 <c_wraith> but what if they use another library that depends on different versions of the dependencies?
23:55:52 <c_wraith> Library dependencies can be part of their public interface, not just their implementation
23:57:31 <c_wraith> cabal v1 not having any answer to this is what led to "cabal hell" and the creation of stack. Cabal v2 has much better answers in place - but they still can't help if you're asking it to do something where the pieces legitimately don't work together
23:58:04 <ijqq> thanks for the help geekosaur, i've got it working now
23:58:30 <ijqq> ah yep i see what you mean

All times are in UTC on 2023-06-20.