Home liberachat/#haskell: Logs Calendar

Logs on 2024-02-02 (liberachat/#haskell)

00:09:14 × rvalue quits (~rvalue@user/rvalue) (Ping timeout: 252 seconds)
00:11:39 × gmg quits (~user@user/gehmehgeh) (Quit: Leaving)
00:13:04 × yeahitsme quits (~bob@user/yeahitsme) (Read error: Connection reset by peer)
00:13:26 yeahitsme joins (~bob@2a01:799:15e7:a300:e39d:52a9:ef69:ac)
00:14:27 × ph88 quits (~ph88@ip5b403f30.dynamic.kabel-deutschland.de) (Quit: Leaving)
00:17:42 × EsoAlgo811 quits (~EsoAlgo@129.146.136.145) (Remote host closed the connection)
00:18:04 × trnry quits (~nate@c-67-169-255-59.hsd1.ut.comcast.net) (Quit: WeeChat 4.0.4)
00:18:23 rvalue joins (~rvalue@user/rvalue)
00:19:01 EsoAlgo811 joins (~EsoAlgo@129.146.136.145)
00:27:14 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
00:38:26 × Ranhir quits (~Ranhir@157.97.53.139) (Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/)
00:56:39 × mei quits (~mei@user/mei) (Remote host closed the connection)
00:59:04 mei joins (~mei@user/mei)
01:03:51 <johnw> it sounds like the forall k was over the function, not the argument
01:04:30 Ranhir joins (~Ranhir@157.97.53.139)
01:05:36 rosco joins (~rosco@175.136.156.77)
01:39:41 × Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 240 seconds)
01:41:28 Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915)
01:44:38 × synapse quits (~synapse@176.254.244.83) (Ping timeout: 268 seconds)
01:52:18 tri joins (~tri@ool-18bc2e74.dyn.optonline.net)
01:53:35 × mima quits (~mmh@aftr-62-216-211-188.dynamic.mnet-online.de) (Ping timeout: 268 seconds)
01:56:47 × tri quits (~tri@ool-18bc2e74.dyn.optonline.net) (Ping timeout: 256 seconds)
02:12:44 TonyStone joins (~TonyStone@074-076-057-186.res.spectrum.com)
02:19:20 peterbecich joins (~Thunderbi@047-229-123-186.res.spectrum.com)
02:23:53 ark_ joins (~ark_@2401:4900:1cba:d594:a141:b6ce:5948:8799)
02:29:29 × otto_s quits (~user@p5de2f5d1.dip0.t-ipconnect.de) (Ping timeout: 252 seconds)
02:31:18 otto_s joins (~user@p5de2f232.dip0.t-ipconnect.de)
02:40:33 × xff0x quits (~xff0x@ai099196.d.east.v6connect.net) (Ping timeout: 256 seconds)
02:42:05 × mei quits (~mei@user/mei) (Remote host closed the connection)
02:44:30 mei joins (~mei@user/mei)
02:57:07 lisbeths joins (uid135845@2a03:5180:f:2::2:12a5)
03:00:36 jmdaemon joins (~jmdaemon@user/jmdaemon)
03:09:28 machinedgod joins (~machinedg@d173-183-246-216.abhsia.telus.net)
03:14:08 × rosco quits (~rosco@175.136.156.77) (Read error: Connection reset by peer)
03:14:32 ddellacosta joins (~ddellacos@ool-44c73d16.dyn.optonline.net)
03:16:19 × euleritian quits (~euleritia@dynamic-176-002-142-068.176.2.pool.telefonica.de) (Read error: Connection reset by peer)
03:16:38 euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de)
03:19:44 × drrzmr quits (~Eder@179.113.240.37) (Remote host closed the connection)
03:30:52 xff0x joins (~xff0x@125x103x176x34.ap125.ftth.ucom.ne.jp)
03:33:05 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:297e:a163:e05a:2925) (Remote host closed the connection)
03:33:33 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:297e:a163:e05a:2925)
03:43:21 × td_ quits (~td@i53870937.versanet.de) (Ping timeout: 268 seconds)
03:44:45 td_ joins (~td@i53870917.versanet.de)
03:47:16 × TonyStone quits (~TonyStone@074-076-057-186.res.spectrum.com) (Quit: Leaving)
03:51:53 substance joins (~substance@176.254.244.83)
03:54:40 × machinedgod quits (~machinedg@d173-183-246-216.abhsia.telus.net) (Ping timeout: 276 seconds)
03:59:36 × ark_ quits (~ark_@2401:4900:1cba:d594:a141:b6ce:5948:8799) (Quit: Client closed)
04:04:53 × waleee quits (~waleee@h-176-10-144-38.NA.cust.bahnhof.se) (Ping timeout: 240 seconds)
04:14:37 rosco joins (~rosco@175.136.156.77)
04:17:42 × peterbecich quits (~Thunderbi@047-229-123-186.res.spectrum.com) (Ping timeout: 260 seconds)
04:19:19 gmg joins (~user@user/gehmehgeh)
04:29:30 × phma quits (phma@2001:5b0:215a:d678:f408:ffdb:4b4d:84f0) (Read error: Connection reset by peer)
04:30:40 phma joins (phma@2001:5b0:2143:a7b8:a117:6ef2:c93d:4ded)
04:40:01 × moixa quits (~moixa@customer-178-16-208-85.stosn.net) (Ping timeout: 264 seconds)
04:40:50 × gmg quits (~user@user/gehmehgeh) (Ping timeout: 255 seconds)
04:42:55 gmg joins (~user@user/gehmehgeh)
04:43:33 gorignak joins (~gorignak@user/gorignak)
04:45:54 × Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer)
04:49:11 aforemny_ joins (~aforemny@2001:9e8:6cd4:7000:1147:a02d:ce1e:1838)
04:49:20 × aforemny quits (~aforemny@i59F516F8.versanet.de) (Ping timeout: 268 seconds)
04:51:17 × gmg quits (~user@user/gehmehgeh) (Quit: Leaving)
04:59:43 × Ranhir quits (~Ranhir@157.97.53.139) (Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/)
05:11:18 × gorignak quits (~gorignak@user/gorignak) (Quit: quit)
05:18:14 lockywolf is now known as bigot_age_dude_l
05:19:49 bilegeek joins (~bilegeek@2600:1008:b060:4bcb:3529:e349:2177:5af4)
05:20:28 trev joins (~trev@user/trev)
05:22:12 bigot_age_dude_l is now known as lockywolf
05:25:17 Square joins (~Square@user/square)
05:29:23 × mobivme quits (~mobivme@130.105.134.228) (Ping timeout: 264 seconds)
05:33:34 ark_ joins (~ark_@2401:4900:1cba:d594:a141:b6ce:5948:8799)
05:34:26 × bilegeek quits (~bilegeek@2600:1008:b060:4bcb:3529:e349:2177:5af4) (Quit: Leaving)
05:39:17 peterbecich joins (~Thunderbi@047-229-123-186.res.spectrum.com)
05:39:22 bilegeek joins (~bilegeek@2600:1008:b060:4bcb:3529:e349:2177:5af4)
05:42:16 Lycurgus joins (~georg@user/Lycurgus)
05:44:01 × peterbecich quits (~Thunderbi@047-229-123-186.res.spectrum.com) (Ping timeout: 256 seconds)
05:47:54 × ark_ quits (~ark_@2401:4900:1cba:d594:a141:b6ce:5948:8799) (Ping timeout: 250 seconds)
05:47:54 peterbecich joins (~Thunderbi@047-229-123-186.res.spectrum.com)
06:00:51 igemnace joins (~ian@user/igemnace)
06:05:19 bliminse joins (~bliminse@user/bliminse)
06:06:47 _ht joins (~Thunderbi@28-52-174-82.ftth.glasoperator.nl)
06:08:07 michalz joins (~michalz@185.246.207.222)
06:18:27 takuan joins (~takuan@178-116-218-225.access.telenet.be)
06:25:38 × michalz quits (~michalz@185.246.207.222) (Quit: ZNC 1.8.2 - https://znc.in)
06:28:31 michalz joins (~michalz@185.246.207.222)
06:33:07 acidjnk_new joins (~acidjnk@p200300d6e737e767f4b3e4c03bbe3045.dip0.t-ipconnect.de)
06:40:51 × euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Ping timeout: 260 seconds)
06:41:20 euleritian joins (~euleritia@dynamic-176-001-247-039.176.1.pool.telefonica.de)
06:42:09 Katarushisu13 joins (~Katarushi@finc-20-b2-v4wan-169598-cust1799.vm7.cable.virginm.net)
06:42:38 × [itchyjunk] quits (~itchyjunk@user/itchyjunk/x-7353470) (Remote host closed the connection)
06:42:53 × Katarushisu1 quits (~Katarushi@cpc147790-finc20-2-0-cust502.4-2.cable.virginm.net) (Ping timeout: 240 seconds)
06:42:53 Katarushisu13 is now known as Katarushisu1
06:47:25 zetef joins (~quassel@95.77.17.251)
06:50:14 × zetef quits (~quassel@95.77.17.251) (Read error: Connection reset by peer)
06:51:20 × azimut quits (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 255 seconds)
06:51:25 × peterbecich quits (~Thunderbi@047-229-123-186.res.spectrum.com) (Ping timeout: 264 seconds)
06:57:13 ark_ joins (~ark_@2401:4900:1cba:d594:a141:b6ce:5948:8799)
07:01:55 gmg joins (~user@user/gehmehgeh)
07:18:28 × ark_ quits (~ark_@2401:4900:1cba:d594:a141:b6ce:5948:8799) (Ping timeout: 250 seconds)
07:24:50 × Erutuon quits (~Erutuon@user/erutuon) (Ping timeout: 252 seconds)
07:26:30 × paddymahoney quits (~paddymaho@cpe883d24bcf597-cmbc4dfb741f80.cpe.net.cable.rogers.com) (Read error: Connection reset by peer)
07:30:16 sord937 joins (~sord937@gateway/tor-sasl/sord937)
07:35:45 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
07:50:39 × gmg quits (~user@user/gehmehgeh) (Remote host closed the connection)
07:51:20 gmg joins (~user@user/gehmehgeh)
07:52:07 machinedgod joins (~machinedg@d173-183-246-216.abhsia.telus.net)
08:03:43 × euleritian quits (~euleritia@dynamic-176-001-247-039.176.1.pool.telefonica.de) (Read error: Connection reset by peer)
08:04:01 euleritian joins (~euleritia@77.22.252.56)
08:06:18 × euleritian quits (~euleritia@77.22.252.56) (Read error: Connection reset by peer)
08:06:24 CiaoSen joins (~Jura@2a05:5800:2db:7f00:e6b9:7aff:fe80:3d03)
08:06:44 mima joins (~mmh@aftr-62-216-211-123.dynamic.mnet-online.de)
08:06:56 euleritian joins (~euleritia@77.22.252.56)
08:07:50 danse-nr3 joins (~danse@151.57.182.181)
08:07:57 cfricke joins (~cfricke@user/cfricke)
08:08:00 × danse-nr3 quits (~danse@151.57.182.181) (Remote host closed the connection)
08:08:22 lortabac joins (~lortabac@2a01:e0a:541:b8f0:55ab:e185:7f81:54a4)
08:08:46 danse-nr3 joins (~danse@151.57.182.181)
08:16:47 × euleritian quits (~euleritia@77.22.252.56) (Read error: Connection reset by peer)
08:17:43 euleritian joins (~euleritia@77.22.252.56)
08:18:29 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:297e:a163:e05a:2925) (Remote host closed the connection)
08:18:40 kuribas joins (~user@ip-188-118-57-242.reverse.destiny.be)
08:19:59 mobivme joins (~mobivme@130.105.162.231)
08:24:25 × Maxdamantus quits (~Maxdamant@user/maxdamantus) (Ping timeout: 264 seconds)
08:30:43 × danse-nr3 quits (~danse@151.57.182.181) (Read error: Connection reset by peer)
08:31:11 Maxdamantus joins (~Maxdamant@user/maxdamantus)
08:31:24 danse-nr3 joins (~danse@151.57.131.112)
08:36:14 × lisbeths quits (uid135845@2a03:5180:f:2::2:12a5) (Quit: Connection closed for inactivity)
08:36:59 × mobivme quits (~mobivme@130.105.162.231) (Changing host)
08:36:59 mobivme joins (~mobivme@user/mobivme)
08:37:03 × whatsupdoc quits (uid509081@id-509081.hampstead.irccloud.com) (Quit: Connection closed for inactivity)
08:41:23 <cheater> is there a way in the runtime to say "give me a list of all strings you know of"?
08:41:34 <cheater> or "all bytestring", "all floats" etc
08:44:55 <c_wraith> it really doesn't keep type information around for ordinary data types.
08:45:36 <cheater> hmm right that's true, what about "give me all things that have the shape of a bytestring and cast them to bytestrings"?
08:46:40 <c_wraith> you might be able to find all the ByteArray# values, and guess which of them correspond to bytestrings.
08:46:50 <c_wraith> I don't remember if those are tracked specially.
08:47:13 <cheater> oh, i'd probably be fine just getting *all* of them and just interpreting them as bytestrings
08:47:35 <cheater> same with texts or strings
08:47:54 <cheater> how would i go about "tell me all ByteArray# values"?
08:51:18 mmhat joins (~mmh@p200300f1c73bf49eee086bfffe095315.dip0.t-ipconnect.de)
08:52:00 <kuribas> cheater: you mean, in a module? There could be some template haskell function to do that. But then the question is why?
08:52:26 <kuribas> sounds rather XY problem-ish.
08:53:30 <cheater> no, i mean in the runtime.
08:54:34 causal joins (~eric@50.35.85.7)
08:55:36 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:297e:a163:e05a:2925)
08:56:38 × mmhat quits (~mmh@p200300f1c73bf49eee086bfffe095315.dip0.t-ipconnect.de) (Quit: WeeChat 4.2.1)
08:56:41 coot joins (~coot@89-69-206-216.dynamic.chello.pl)
08:57:02 <cheater> as in, what's in memory, right now, while the program is running.
08:58:42 zetef joins (~quassel@86.121.125.252)
09:00:49 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:297e:a163:e05a:2925) (Ping timeout: 276 seconds)
09:06:27 lisbeths joins (uid135845@id-135845.lymington.irccloud.com)
09:17:16 × econo_ quits (uid147250@id-147250.tinside.irccloud.com) (Quit: Connection closed for inactivity)
09:17:59 × mima quits (~mmh@aftr-62-216-211-123.dynamic.mnet-online.de) (Ping timeout: 264 seconds)
09:18:23 × cheater quits (~Username@user/cheater) (Read error: Connection reset by peer)
09:19:11 cheater joins (~Username@user/cheater)
09:20:25 × krei-se quits (~krei-se@p508747fd.dip0.t-ipconnect.de) (Quit: ZNC 1.8.2 - https://znc.in)
09:21:14 krei-se joins (~krei-se@p508747fd.dip0.t-ipconnect.de)
09:22:13 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
09:23:16 <tomsmeding> shot in the dark, but: ghc-debug?
09:23:38 × Square quits (~Square@user/square) (Ping timeout: 252 seconds)
09:27:20 gentauro joins (~gentauro@user/gentauro)
09:30:27 pruiz joins (~user@user/pruiz)
09:30:31 × zetef quits (~quassel@86.121.125.252) (Remote host closed the connection)
09:43:03 × tzh quits (~tzh@c-71-193-181-0.hsd1.or.comcast.net) (Quit: zzz)
09:44:31 yotta joins (~cha0s@113.23.50.194)
09:45:36 <yotta> is it possible to pin unpinned bytearray ?
09:51:39 csn joins (~csn@115.96.219.126)
09:54:39 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:297e:a163:e05a:2925)
09:58:50 × kuribas quits (~user@ip-188-118-57-242.reverse.destiny.be) (Ping timeout: 252 seconds)
10:02:41 × bilegeek quits (~bilegeek@2600:1008:b060:4bcb:3529:e349:2177:5af4) (Quit: Leaving)
10:05:59 × mobivme quits (~mobivme@user/mobivme) (Ping timeout: 252 seconds)
10:07:04 × ft quits (~ft@p508dbdf9.dip0.t-ipconnect.de) (Quit: leaving)
10:07:11 × xff0x quits (~xff0x@125x103x176x34.ap125.ftth.ucom.ne.jp) (Ping timeout: 264 seconds)
10:11:52 fendor joins (~fendor@2a02:8388:1605:d100:267b:1353:13d7:4f0c)
10:14:23 <lyxia> this comment in bytestring suggests that there are different representations for "shared" and "unshared" bytestrings. Does anyone have a clue what this is talking about? https://hackage.haskell.org/package/bytestring-0.12.0.2/docs/Data-ByteString-Short.html#g:2
10:15:17 × igemnace quits (~ian@user/igemnace) (Quit: WeeChat 4.2.1)
10:16:23 igemnace joins (~ian@user/igemnace)
10:17:00 <lyxia> afaik ByteString is a ForeignPtr and a length, and I don't see what could be "shared" about that
10:17:34 azimut joins (~azimut@gateway/tor-sasl/azimut)
10:17:35 mima joins (~mmh@176.2.142.173)
10:19:26 <danse-nr3> hmm... this https://hackage.haskell.org/package/bytestring-plain-0.1.0.2/docs/Data-ByteString-Plain.html is also referencing "shared" ByteString
10:20:49 × yeahitsme quits (~bob@2a01:799:15e7:a300:e39d:52a9:ef69:ac) (Changing host)
10:20:49 yeahitsme joins (~bob@user/yeahitsme)
10:20:55 <danse-nr3> maybe the fromStrict doc gives some clues? "If possible, the internally used MutableByteArray# is shared with the original ByteString in which case the conversion is cheap."
10:23:49 × lortabac quits (~lortabac@2a01:e0a:541:b8f0:55ab:e185:7f81:54a4) (Ping timeout: 264 seconds)
10:26:00 × yotta quits (~cha0s@113.23.50.194) (Ping timeout: 252 seconds)
10:31:55 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
10:37:01 × jmdaemon quits (~jmdaemon@user/jmdaemon) (Ping timeout: 276 seconds)
10:37:53 lortabac joins (~lortabac@2a01:e0a:541:b8f0:55ab:e185:7f81:54a4)
10:43:02 __monty__ joins (~toonn@user/toonn)
10:43:04 ark_ joins (~ark_@2401:4900:1cba:d594:a141:b6ce:5948:8799)
10:44:15 × ark_ quits (~ark_@2401:4900:1cba:d594:a141:b6ce:5948:8799) (Client Quit)
10:47:47 <tomsmeding> lyxia: https://hackage.haskell.org/package/bytestring-0.10.4.0/docs/src/Data-ByteString-Internal.html#ByteString
10:47:51 <tomsmeding> note the age of 0.10.4.0
10:47:57 <tomsmeding> that's the first version that had Data.ByteString.Short
10:48:12 <tomsmeding> back then, strict ByteString was ForeignPtr + offset + length
10:48:20 <tomsmeding> I suspect the comment you're talking about is outdated :p
10:49:16 <danse-nr3> maybe send an issue about that then lyxia, otherwise the next one stumbling upon that will be equally puzzled
10:52:14 × mima quits (~mmh@176.2.142.173) (Ping timeout: 268 seconds)
11:00:36 ark_ joins (~ark_@2401:4900:1cba:d594:a141:b6ce:5948:8799)
11:05:11 × CiaoSen quits (~Jura@2a05:5800:2db:7f00:e6b9:7aff:fe80:3d03) (Ping timeout: 268 seconds)
11:07:19 × lortabac quits (~lortabac@2a01:e0a:541:b8f0:55ab:e185:7f81:54a4) (Ping timeout: 260 seconds)
11:08:27 rekahsoft joins (~rekahsoft@70.51.99.248)
11:10:17 × danse-nr3 quits (~danse@151.57.131.112) (Ping timeout: 260 seconds)
11:12:07 _ark joins (~Adium@2401:4900:1cba:d594:a141:b6ce:5948:8799)
11:13:17 _ark parts (~Adium@2401:4900:1cba:d594:a141:b6ce:5948:8799) ()
11:13:22 × yeahitsme quits (~bob@user/yeahitsme) (Read error: Connection reset by peer)
11:13:33 yeahitsme joins (~bob@80.158-248-1.customer.lyse.net)
11:13:52 × jb3 quits (~jb3@core.jb3.dev) (Quit: ZNC 1.8.2 - https://znc.in)
11:23:09 bobby joins (~bob@2a01:799:15e7:a300:ec6d:31d6:69ce:cbe2)
11:23:17 × yeahitsme quits (~bob@80.158-248-1.customer.lyse.net) (Ping timeout: 240 seconds)
11:28:33 × bobby quits (~bob@2a01:799:15e7:a300:ec6d:31d6:69ce:cbe2) (Quit: Leaving)
11:29:35 × rekahsoft quits (~rekahsoft@70.51.99.248) (Ping timeout: 252 seconds)
11:32:56 × euleritian quits (~euleritia@77.22.252.56) (Ping timeout: 268 seconds)
11:33:21 euleritian joins (~euleritia@dynamic-176-006-201-240.176.6.pool.telefonica.de)
11:37:31 ark_26 joins (~ark_@2401:4900:1cba:d594:a141:b6ce:5948:8799)
11:39:08 ark_26 parts (~ark_@2401:4900:1cba:d594:a141:b6ce:5948:8799) ()
11:40:20 ark_76 joins (~ark_@2401:4900:1cba:d594:a141:b6ce:5948:8799)
11:40:42 ark_76 parts (~ark_@2401:4900:1cba:d594:a141:b6ce:5948:8799) ()
11:41:32 × ark_ quits (~ark_@2401:4900:1cba:d594:a141:b6ce:5948:8799) (Quit: Client closed)
11:41:45 ark_76 joins (~ark_@2401:4900:1cba:d594:a141:b6ce:5948:8799)
11:42:15 ark_76 is now known as ark_
11:42:21 Unicorn_Princess joins (~Unicorn_P@user/Unicorn-Princess/x-3540542)
11:44:56 × euleritian quits (~euleritia@dynamic-176-006-201-240.176.6.pool.telefonica.de) (Read error: Connection reset by peer)
11:45:19 euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de)
11:47:59 × rosco quits (~rosco@175.136.156.77) (Ping timeout: 264 seconds)
11:52:33 × FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Remote host closed the connection)
11:53:03 FinnElija joins (~finn_elij@user/finn-elija/x-0085643)
11:53:36 waleee joins (~waleee@h-176-10-144-38.NA.cust.bahnhof.se)
12:02:51 × euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Read error: Connection reset by peer)
12:03:00 euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de)
12:03:34 lortabac joins (~lortabac@2a01:e0a:541:b8f0:55ab:e185:7f81:54a4)
12:05:42 × Fijxu quits (~Fijxu@user/fijxu) (Quit: XD!!)
12:06:30 Fijxu joins (~Fijxu@user/fijxu)
12:09:00 xff0x joins (~xff0x@2405:6580:b080:900:75cb:e38c:de45:4f2e)
12:10:50 × andscape quits (~andscape@77.18.52.196.tmi.telenormobil.no) (Read error: Connection reset by peer)
12:11:18 andscape joins (~andscape@85.221.111.174)
12:11:43 pretty_dumm_guy joins (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655)
12:13:42 × destituion quits (~destituio@2a02:2121:304:cc78:a079:4ba5:932e:f993) (Ping timeout: 260 seconds)
12:13:49 destituion joins (~destituio@85.221.111.174)
12:19:00 danse-nr3 joins (~danse@151.57.133.204)
12:20:58 CiaoSen joins (~Jura@2a05:5800:2db:7f00:e6b9:7aff:fe80:3d03)
12:22:25 × danse-nr3 quits (~danse@151.57.133.204) (Remote host closed the connection)
12:23:11 danse-nr3 joins (~danse@151.57.133.204)
12:25:58 × lisbeths quits (uid135845@id-135845.lymington.irccloud.com) (Quit: Connection closed for inactivity)
12:27:00 × ark_ quits (~ark_@2401:4900:1cba:d594:a141:b6ce:5948:8799) (Quit: Client closed)
12:29:11 × pretty_dumm_guy quits (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Quit: WeeChat 3.5)
12:30:10 <carbolymer> cabal haddock --haddock-hoogle should generate hoogle database right? I cna't find any '*.hoo' files after that command
12:30:43 pretty_dumm_guy joins (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655)
12:34:32 Ranhir joins (~Ranhir@157.97.53.139)
12:38:14 Achylles joins (~Achylles_@45.182.57.38)
12:42:13 × xff0x quits (~xff0x@2405:6580:b080:900:75cb:e38c:de45:4f2e) (Ping timeout: 256 seconds)
12:44:19 xff0x joins (~xff0x@ai099196.d.east.v6connect.net)
12:47:19 × pretty_dumm_guy quits (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Quit: WeeChat 3.5)
12:48:19 rosco joins (~rosco@175.136.156.77)
12:50:06 × pavonia quits (~user@user/siracusa) (Quit: Bye!)
12:51:02 akegalj joins (~akegalj@78-2-87-93.adsl.net.t-com.hr)
12:52:16 × AlexZenon quits (~alzenon@94.233.240.229) (Quit: ;-)
12:52:28 × AlexNoo quits (~AlexNoo@94.233.240.229) (Quit: Leaving)
12:55:57 Platao joins (~mirc-rc@ip121.ip-149-56-160.net)
12:56:07 × akegalj quits (~akegalj@78-2-87-93.adsl.net.t-com.hr) (Ping timeout: 276 seconds)
12:56:14 Platao parts (~mirc-rc@ip121.ip-149-56-160.net) ()
13:00:17 Square joins (~Square@user/square)
13:03:41 × ddellacosta quits (~ddellacos@ool-44c73d16.dyn.optonline.net) (Ping timeout: 240 seconds)
13:07:07 akegalj joins (~akegalj@95.168.105.29)
13:09:00 vpan joins (~vpan@mail.elitnet.lt)
13:14:29 × gmg quits (~user@user/gehmehgeh) (Remote host closed the connection)
13:15:22 gmg joins (~user@user/gehmehgeh)
13:17:49 × gmg quits (~user@user/gehmehgeh) (Remote host closed the connection)
13:18:35 gmg joins (~user@user/gehmehgeh)
13:20:35 AlexZenon joins (~alzenon@94.233.240.229)
13:21:07 AlexNoo joins (~AlexNoo@94.233.240.229)
13:22:57 × szkl quits (uid110435@id-110435.uxbridge.irccloud.com) (Quit: Connection closed for inactivity)
13:25:14 × igemnace quits (~ian@user/igemnace) (Read error: Connection reset by peer)
13:27:06 × cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 4.1.2)
13:41:08 <lyxia> tomsmeding: the difference to now is just the lack of an offset though, so I don't see how that comment would apply back then and not now
13:41:58 igemnace joins (~ian@user/igemnace)
13:42:10 <lyxia> danse-nr3: I did ask about it, bodigrim has no idea either. I'm asking because I want to fix the comment :)
13:42:12 <tomsmeding> lyxia: perhaps when there was an offset, two bytestrings could share the same ForeignPtr, thus taking up less memory than having two separate ForeignPtrs
13:42:39 <lyxia> ah, that could be it
13:42:50 <tomsmeding> I haven't done the computations, so please check all that I say
13:43:18 × csn quits (~csn@115.96.219.126) (Read error: Connection reset by peer)
13:43:20 <lyxia> that would be the 4 words of the extra ByteString constructor indeed
13:44:05 <tomsmeding> they would be separate ByteString constructors anyway, right?
13:44:12 <tomsmeding> just shared or unshared ForeignPtrs
13:44:17 <lyxia> oh yeah
13:44:25 <tomsmeding> dunno how large a ForeignPtr is
13:48:36 <probie> It probably depends on how many finalizers are attached to it (unless you want to count those separately)
13:49:16 <tomsmeding> presumably the assumption is that it's allocated by the bytestring library, meaning that there's probably exactly one finaliser attached
13:59:45 <probie> (I haven't actually looked at what bytestring does, so take this with a grain of salt) Probably 0 finalizers, and you'll end up with `ForeignPtr someUnboxedAddress (PlainPtr someMutableByteArrayAtTheSameAddress)`
14:00:49 Nixkernal joins (~Nixkernal@115.16.194.178.dynamic.wline.res.cust.swisscom.ch)
14:00:54 × Nixkernal quits (~Nixkernal@115.16.194.178.dynamic.wline.res.cust.swisscom.ch) (Client Quit)
14:03:53 × akegalj quits (~akegalj@95.168.105.29) (Ping timeout: 260 seconds)
14:05:20 akegalj joins (~akegalj@78-2-87-93.adsl.net.t-com.hr)
14:18:10 × rvalue quits (~rvalue@user/rvalue) (Quit: ZNC - https://znc.in)
14:18:24 rvalue joins (~rvalue@user/rvalue)
14:19:49 × mei quits (~mei@user/mei) (Quit: mei)
14:22:50 × lortabac quits (~lortabac@2a01:e0a:541:b8f0:55ab:e185:7f81:54a4) (Quit: WeeChat 4.1.1)
14:29:26 tri joins (~tri@ool-18bc2e74.dyn.optonline.net)
14:32:02 [itchyjunk] joins (~itchyjunk@user/itchyjunk/x-7353470)
14:33:46 <haskellbridge> 15<J​ade> what does `listThreads` from `GHC.Conc` actually list?
14:33:53 <haskellbridge> 15<J​ade> because in ghci the output seems to grow continously
14:36:11 alexherbo2 joins (~alexherbo@2a02-8440-3140-a426-1123-58b1-94b3-e4fc.rev.sfr.net)
14:37:27 <danse-nr3> not sure i do not seem to have that in my machine
14:39:16 billchenchina joins (~billchenc@103.152.35.21)
14:40:06 × euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Ping timeout: 268 seconds)
14:40:28 euleritian joins (~euleritia@176.6.190.3)
14:46:12 <int-e> It looks like if you `listThreads` repeatedly, the result (`it`) will keep the threads alive. With `ghci -fno-it` the list grows a bit until GC kicks in and collects inactive threads with no reference to them (thread ids act as references, I think)
14:47:30 <int-e> "inactive" - finished, that is.
14:48:44 <danse-nr3> @hoogle (Foldable f, Semigroup s) => f (s a) -> f a
14:48:44 <lambdabot> No results found
14:49:07 <Hecate> y'all
14:49:14 <Hecate> read this: https://hexdocs.pm/elixir/compatibility-and-deprecations.html#deprecations
14:49:28 <Hecate> amazing, a language whose culture include a clear and actionable deprecation policy
14:49:42 <Hecate> predictible ecosystem changes!
14:49:56 × billchenchina quits (~billchenc@103.152.35.21) (Remote host closed the connection)
14:51:03 <int-e> Hecate: Predictable, hmm. So when will they make a 2.0 or 2.1 release? :-P
14:51:43 <Hecate> int-e: when they break shit up in a major way
14:51:56 <int-e> (And which deprecated features will they keep when that happens? :-P)
14:52:13 <Hecate> int-e: https://github.com/elixir-lang/elixir/milestone/19
14:52:39 <int-e> "No due date"
14:53:43 <Hecate> int-e: yes but look at the items
14:54:01 × Achylles quits (~Achylles_@45.182.57.38) (Remote host closed the connection)
14:54:05 <Hecate> in truth there are some changes that have been deemed to be disturbing enough that this would warrant an inclusion in a v2
14:54:21 Achylles joins (~Achylles_@45.182.57.38)
14:54:28 mei joins (~mei@user/mei)
14:56:47 × waleee quits (~waleee@h-176-10-144-38.NA.cust.bahnhof.se) (Quit: updating stuff)
14:57:16 <int-e> Anyway. It's a policy, but I'm wondering how close it is to "we'll depreceate features but never remove them".
14:58:16 <int-e> And the answer to that seems to be... you won't know until it happens. You'll have some warning if you actually follow Elixir's development.
14:59:12 <Hecate> warnings are good
15:03:37 × CiaoSen quits (~Jura@2a05:5800:2db:7f00:e6b9:7aff:fe80:3d03) (Ping timeout: 260 seconds)
15:08:56 × akegalj quits (~akegalj@78-2-87-93.adsl.net.t-com.hr) (Quit: leaving)
15:09:48 <tomsmeding> danse-nr3: what would that return if the foldable is empty
15:10:38 <danse-nr3> an empty foldable?
15:11:56 <danse-nr3> real problem seemed to be how to turn a semigroup to a. I think i was looking for Foldable1
15:17:27 <ski> @kind Semigroup -- danse-nr3
15:17:29 <lambdabot> * -> Constraint
15:17:50 <danse-nr3> so?
15:18:11 <ski> `s a' makes no sense, if `Semigroup s'
15:18:37 <danse-nr3> ^^;
15:19:51 <ski> i guess, by `Foldable1', you mean one working on non-empty collections, rather than one working on some kind of higher-order collection (cf. `Eq1')
15:21:18 <danse-nr3> yes i found it in semigroupoids. So my Semigroup a was a Foldable1 actually
15:21:30 <danse-nr3> Foldable1 a
15:25:55 <danse-nr3> thanks ski had not noticed that
15:28:04 <ncf> so you have a Foldable of Foldable1 of as, and you want a Foldable of as?
15:28:50 <danse-nr3> yep, did that with a maybe and fold1
15:29:56 × Achylles quits (~Achylles_@45.182.57.38) (Quit: Leaving)
15:30:00 <danse-nr3> but actually i needed a [e] coming from [NonEmpty e] so solved with toList
15:31:26 mobivme joins (~mobivme@130.105.162.162)
15:32:14 Achylles joins (~Achylles_@45.182.57.38)
15:36:48 <ski> danse-nr3 : yea .. which makes me wonder what you actually intended, in place of that
15:37:50 <danse-nr3> something like
15:37:54 <danse-nr3> @hoogle (Foldable f, Foldable1 s) => f (s a) -> f a
15:37:55 <lambdabot> No results found
15:38:21 <danse-nr3> but now that i solved the concrete problem i have less steam to think that through in class terms
15:39:48 × Achylles quits (~Achylles_@45.182.57.38) (Quit: Leaving)
15:40:27 <tomsmeding> I don't think you can have that signature in general
15:40:57 <tomsmeding> no reason for f to allow the full set of results as elements
15:41:08 <tomsmeding> e.g. a vector of length 5 is also Foldable
15:41:41 <tomsmeding> in this case you could `foldMap toList` or `toList . fold`
15:42:37 <danse-nr3> i don't follow you, i am afraid
15:43:30 ft joins (~ft@p508dbdf9.dip0.t-ipconnect.de)
15:44:48 × danse-nr3 quits (~danse@151.57.133.204) (Read error: Connection reset by peer)
15:45:40 danse-nr3 joins (~danse@151.46.129.58)
15:47:03 × tri quits (~tri@ool-18bc2e74.dyn.optonline.net) (Remote host closed the connection)
15:47:38 × mobivme quits (~mobivme@130.105.162.162) (Remote host closed the connection)
15:48:36 × pruiz quits (~user@user/pruiz) (Remote host closed the connection)
15:49:15 Sgeo joins (~Sgeo@user/sgeo)
15:49:38 mobivme joins (~mobivme@130.105.162.162)
15:51:12 <ski> > let fragments :: MonadPlus m => [a] -> m [NonEmptyList a]; fragments [ ] = return []; fragments (x:xs) = do yss <- fragments xs; return (NonEmpty [x] : yss) `mplus` case yss of NonEmpty ys:yss -> return (NonEmpty (x:ys):yss); [] -> mzero in (map . map) getNonEmpty (fragments "abcd") :: [[String]]
15:51:14 <lambdabot> [["a","b","c","d"],["ab","c","d"],["a","bc","d"],["abc","d"],["a","b","cd"],...
15:55:57 × APic quits (apic@apic.name) (Ping timeout: 268 seconds)
15:58:08 rscastilho2024 joins (~rscastilh@189.61.140.215)
16:00:59 × mobivme quits (~mobivme@130.105.162.162) (Read error: Connection reset by peer)
16:02:21 tri joins (~tri@24.188.46.116)
16:02:23 × tessier quits (~treed@ec2-184-72-149-67.compute-1.amazonaws.com) (Ping timeout: 252 seconds)
16:02:46 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
16:03:32 tessier joins (~treed@ec2-184-72-149-67.compute-1.amazonaws.com)
16:03:50 gorignak joins (~gorignak@user/gorignak)
16:06:07 mobivme joins (~mobivme@130.105.162.162)
16:06:59 × eggplantade quits (~Eggplanta@2600:1700:38c5:d800:297e:a163:e05a:2925) (Remote host closed the connection)
16:07:25 eggplantade joins (~Eggplanta@104-55-37-220.lightspeed.sntcca.sbcglobal.net)
16:07:40 × andscape quits (~andscape@85.221.111.174) (Ping timeout: 268 seconds)
16:07:46 × rscastilho2024 quits (~rscastilh@189.61.140.215) (Remote host closed the connection)
16:08:26 × destituion quits (~destituio@85.221.111.174) (Ping timeout: 252 seconds)
16:08:41 kuribas joins (~user@ip-188-118-57-242.reverse.destiny.be)
16:12:07 × Unicorn_Princess quits (~Unicorn_P@user/Unicorn-Princess/x-3540542) (Read error: Connection reset by peer)
16:12:31 × qqq quits (~qqq@92.43.167.61) (Remote host closed the connection)
16:13:25 APic joins (apic@apic.name)
16:17:34 Unicorn_Princess joins (~Unicorn_P@user/Unicorn-Princess/x-3540542)
16:18:20 × azimut quits (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 255 seconds)
16:21:05 × dibblego quits (~dibblego@haskell/developer/dibblego) (Ping timeout: 252 seconds)
16:22:11 × mobivme quits (~mobivme@130.105.162.162) (Ping timeout: 264 seconds)
16:23:10 destituion joins (~destituio@2a02:2121:304:cc78:71fe:5788:2033:9f91)
16:23:27 andscape joins (~andscape@2a02:2121:304:cc78:71fe:5788:2033:9f91)
16:24:12 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
16:24:30 × igemnace quits (~ian@user/igemnace) (Quit: WeeChat 4.2.1)
16:25:56 × gmg quits (~user@user/gehmehgeh) (Remote host closed the connection)
16:26:07 mobivme joins (~mobivme@130.105.162.162)
16:26:50 gmg joins (~user@user/gehmehgeh)
16:27:15 pruiz joins (~user@user/pruiz)
16:31:08 dibblego joins (~dibblego@122-199-1-93.ip4.superloop.au)
16:31:08 × dibblego quits (~dibblego@122-199-1-93.ip4.superloop.au) (Changing host)
16:31:08 dibblego joins (~dibblego@haskell/developer/dibblego)
16:36:37 × pruiz quits (~user@user/pruiz) (Remote host closed the connection)
16:36:50 pruiz joins (~user@user/pruiz)
16:38:26 econo_ joins (uid147250@id-147250.tinside.irccloud.com)
16:42:48 AlexNoo_ joins (~AlexNoo@178.34.161.225)
16:44:22 × AlexZenon quits (~alzenon@94.233.240.229) (Ping timeout: 264 seconds)
16:45:13 Erutuon joins (~Erutuon@user/erutuon)
16:45:31 ark_ joins (~ark_@2401:4900:1cba:d594:a141:b6ce:5948:8799)
16:46:12 × AlexNoo quits (~AlexNoo@94.233.240.229) (Ping timeout: 268 seconds)
16:48:35 × pruiz quits (~user@user/pruiz) (Ping timeout: 252 seconds)
16:48:50 pruiz joins (~user@user/pruiz)
16:48:53 tzh joins (~tzh@c-71-193-181-0.hsd1.or.comcast.net)
16:48:54 AlexZenon joins (~alzenon@178.34.161.225)
16:49:25 AlexNoo_ is now known as AlexNoo
16:51:03 × rosco quits (~rosco@175.136.156.77) (Quit: Lost terminal)
16:52:10 × danse-nr3 quits (~danse@151.46.129.58) (Ping timeout: 256 seconds)
17:02:05 goterg joins (~goterg@2a01:c844:2497:7b00:582:6a0e:ecc5:bf6c)
17:02:10 × ark_ quits (~ark_@2401:4900:1cba:d594:a141:b6ce:5948:8799) (Quit: Client closed)
17:03:02 × goterg quits (~goterg@2a01:c844:2497:7b00:582:6a0e:ecc5:bf6c) (Client Quit)
17:03:35 Joao003 joins (~Joao003@190.108.108.40)
17:07:13 × pruiz quits (~user@user/pruiz) (Remote host closed the connection)
17:07:26 pruiz joins (~user@user/pruiz)
17:20:29 × mobivme quits (~mobivme@130.105.162.162) (Remote host closed the connection)
17:21:23 × vpan quits (~vpan@mail.elitnet.lt) (Quit: Leaving.)
17:22:27 boukenshaou joins (~Boukensha@223.178.80.31)
17:22:30 mobivme joins (~mobivme@130.105.162.162)
17:27:27 peterbecich joins (~Thunderbi@047-229-123-186.res.spectrum.com)
17:27:28 × kuribas quits (~user@ip-188-118-57-242.reverse.destiny.be) (Remote host closed the connection)
17:30:17 × sord937 quits (~sord937@gateway/tor-sasl/sord937) (Quit: sord937)
17:31:13 × mobivme quits (~mobivme@130.105.162.162) (Ping timeout: 256 seconds)
17:33:07 mobivme joins (~mobivme@130.105.162.162)
17:35:00 × gorignak quits (~gorignak@user/gorignak) (Quit: quit)
17:35:21 tri_ joins (~tri@172.59.8.121)
17:36:09 × tri quits (~tri@24.188.46.116) (Ping timeout: 268 seconds)
17:36:19 × peterbecich quits (~Thunderbi@047-229-123-186.res.spectrum.com) (Ping timeout: 256 seconds)
17:48:28 × ChaiTRex quits (~ChaiTRex@user/chaitrex) (Remote host closed the connection)
17:48:28 × ec quits (~ec@gateway/tor-sasl/ec) (Read error: Connection reset by peer)
17:48:28 × gmg quits (~user@user/gehmehgeh) (Remote host closed the connection)
17:48:52 azimut joins (~azimut@gateway/tor-sasl/azimut)
17:48:58 ec joins (~ec@gateway/tor-sasl/ec)
17:49:09 ChaiTRex joins (~ChaiTRex@user/chaitrex)
17:49:20 gmg joins (~user@user/gehmehgeh)
17:49:57 × gmg quits (~user@user/gehmehgeh) (Remote host closed the connection)
17:50:12 average joins (uid473595@user/average)
17:50:40 gmg joins (~user@user/gehmehgeh)
18:01:44 × rvalue quits (~rvalue@user/rvalue) (Ping timeout: 252 seconds)
18:02:09 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
18:11:44 Achylles_ joins (~Achylles_@45.182.57.38)
18:12:25 rvalue joins (~rvalue@user/rvalue)
18:13:01 × mobivme quits (~mobivme@130.105.162.162) (Ping timeout: 264 seconds)
18:15:38 × doyougnu- quits (~doyougnu@045-046-170-068.res.spectrum.com) (Quit: ZNC 1.8.2 - https://znc.in)
18:15:54 doyougnu joins (~doyougnu@045-046-170-068.res.spectrum.com)
18:19:49 × trev quits (~trev@user/trev) (Quit: trev)
18:20:09 trev joins (~trev@user/trev)
18:20:31 × trev quits (~trev@user/trev) (Client Quit)
18:20:49 trev joins (~trev@user/trev)
18:24:40 tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
18:39:36 Achylles joins (~Achylles_@45.182.57.38)
18:40:45 irrgit joins (~irrgit@176.113.74.138)
18:43:31 × azimut quits (~azimut@gateway/tor-sasl/azimut) (Remote host closed the connection)
18:44:01 azimut joins (~azimut@gateway/tor-sasl/azimut)
18:44:57 zer0bitz_ joins (~zer0bitz@user/zer0bitz)
18:46:58 × tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Read error: Connection reset by peer)
18:48:55 × zer0bitz quits (~zer0bitz@user/zer0bitz) (Ping timeout: 246 seconds)
18:51:26 Feuermagier is now known as Guest8582
18:51:26 Feuermagier_ joins (~Feuermagi@user/feuermagier)
18:51:26 × Guest8582 quits (~Feuermagi@user/feuermagier) (Killed (silver.libera.chat (Nickname regained by services)))
18:51:26 Feuermagier_ is now known as Feuermagier
18:53:59 × Erutuon quits (~Erutuon@user/erutuon) (Ping timeout: 264 seconds)
19:00:21 pavonia joins (~user@user/siracusa)
19:01:52 × notzmv quits (~zmv@user/notzmv) (Ping timeout: 268 seconds)
19:06:17 × __monty__ quits (~toonn@user/toonn) (Quit: leaving)
19:07:39 __monty__ joins (~toonn@user/toonn)
19:08:44 Tuplanolla joins (~Tuplanoll@91-159-68-95.elisa-laajakaista.fi)
19:13:16 × machinedgod quits (~machinedg@d173-183-246-216.abhsia.telus.net) (Ping timeout: 256 seconds)
19:17:32 × Fijxu quits (~Fijxu@user/fijxu) (Quit: XD!!)
19:17:58 Fijxu joins (~Fijxu@user/fijxu)
19:19:39 waleee joins (~waleee@h-176-10-144-38.NA.cust.bahnhof.se)
19:34:37 bilegeek joins (~bilegeek@2600:1008:b014:2394:f1:4073:7d5:b5fa)
19:34:41 peterbecich joins (~Thunderbi@047-229-123-186.res.spectrum.com)
19:34:56 × bilegeek quits (~bilegeek@2600:1008:b014:2394:f1:4073:7d5:b5fa) (Remote host closed the connection)
19:38:51 × euleritian quits (~euleritia@176.6.190.3) (Read error: Connection reset by peer)
19:39:14 euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de)
19:44:02 × pruiz quits (~user@user/pruiz) (Ping timeout: 252 seconds)
19:44:03 × eggplantade quits (~Eggplanta@104-55-37-220.lightspeed.sntcca.sbcglobal.net) (Read error: Connection reset by peer)
19:45:02 × tri_ quits (~tri@172.59.8.121) (Remote host closed the connection)
19:46:26 tri joins (~tri@ool-18bc2e74.dyn.optonline.net)
19:51:11 pruiz joins (~user@user/pruiz)
19:51:11 × tri quits (~tri@ool-18bc2e74.dyn.optonline.net) (Ping timeout: 252 seconds)
19:52:07 × peterbecich quits (~Thunderbi@047-229-123-186.res.spectrum.com) (Ping timeout: 276 seconds)
19:56:35 × azimut quits (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 255 seconds)
20:00:49 × pruiz quits (~user@user/pruiz) (Ping timeout: 256 seconds)
20:02:46 × euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Read error: Connection reset by peer)
20:03:11 euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de)
20:16:11 × Joao003 quits (~Joao003@190.108.108.40) (Quit: Bye!)
20:16:29 Joao003 joins (~Joao003@190.108.108.40)
20:17:00 × __monty__ quits (~toonn@user/toonn) (Quit: leaving)
20:21:23 eggplantade joins (~Eggplanta@2600:1700:38c5:d800:2c99:d08b:e47b:79d3)
20:23:57 jmdaemon joins (~jmdaemon@user/jmdaemon)
20:24:29 jelewis2 joins (~lewisje@74.215.19.22)
20:26:58 × lewisje quits (~lewisje@74.215.19.22) (Ping timeout: 268 seconds)
20:32:30 pruiz joins (~user@user/pruiz)
20:34:51 × euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Read error: Connection reset by peer)
20:35:24 euleritian joins (~euleritia@77.22.252.56)
20:35:47 × alexherbo2 quits (~alexherbo@2a02-8440-3140-a426-1123-58b1-94b3-e4fc.rev.sfr.net) (Remote host closed the connection)
20:39:59 × average quits (uid473595@user/average) (Quit: Connection closed for inactivity)
20:40:29 × pruiz quits (~user@user/pruiz) (Remote host closed the connection)
20:44:37 pruiz joins (~user@user/pruiz)
20:44:37 × pruiz quits (~user@user/pruiz) (Remote host closed the connection)
20:44:51 pruiz joins (~user@user/pruiz)
20:49:05 × motherfsck quits (~motherfsc@user/motherfsck) (Remote host closed the connection)
20:50:34 motherfsck joins (~motherfsc@user/motherfsck)
20:57:04 masterbuilder joins (~quassel@user/masterbuilder)
20:57:14 pretty_dumm_guy joins (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655)
21:04:39 dunj3 joins (~dunj3@85.214.18.208)
21:07:37 machinedgod joins (~machinedg@173.183.246.216)
21:11:47 notzmv joins (~zmv@user/notzmv)
21:13:37 mobivme joins (~mobivme@130.105.162.162)
21:15:06 × motherfsck quits (~motherfsc@user/motherfsck) (Quit: quit)
21:15:26 motherfsck joins (~motherfsc@user/motherfsck)
21:15:36 <tomsmeding> in what way is 'x `seq` return () :: IO ()' different from 'evaluate x >> return ()'?
21:16:33 <tomsmeding> I have often blissfully used the former, but now my benchmark consistently measured at ~0 seconds despite it actually taking a long time; using the latter ('evaluate') fixed it
21:16:53 <tomsmeding> is there a good explanation for this?
21:17:02 <beogrif> would an exception thrown in the seq one bubble up through the IO monad like evaluate would?
21:17:30 <tomsmeding> this code doesn't throw exceptions (at least not in my experiments); I'm not terribly interested in the behaviour around exceptions
21:17:32 <tomsmeding> but good point
21:17:56 <beogrif> yeah, I do wonder if perhaps it generates different exception handling code though in either case
21:18:01 <monochrom> The doc shows an example. But it is a pretty rare case.
21:18:48 <tomsmeding> monochrom: note that I'm not doing 'return (x `seq` ())', I'm doing 'x `seq` return ()'
21:18:55 <tomsmeding> and also that the code in question doesn't throw exceptions
21:19:17 <tomsmeding> (if you were referring to the haddocks of 'evaluate')
21:19:49 × trev quits (~trev@user/trev) (Quit: trev)
21:20:10 × mei quits (~mei@user/mei) (Remote host closed the connection)
21:21:06 <monochrom> Then there is a theoretical difference that I don't know how often it shows up in practice. (I don't usually scaremonger about this.) Basically similar to seq vs pseq. seq does not guarantee "right now", only "soon enough". evaluate guarantees right now.
21:21:27 stef204 joins (~stef204@user/stef204)
21:22:18 <monochrom> Or rather, seq just marks "strict in this" and let the optimizer make its choice.
21:22:34 <tomsmeding> right
21:22:35 mei joins (~mei@user/mei)
21:22:47 <tomsmeding> naive intuitive semantics of seq strike again
21:23:23 <monochrom> Of course 99% of the time it means "evaluate now" anyway so I don't like to emphasize the difference.
21:23:35 <tomsmeding> maybe this is a case where it matters!
21:24:20 <tomsmeding> I see that 'evaluate' doesn't use 'seq', it uses 'seq#', whatever that may do
21:24:33 <tomsmeding> ah, it's the fseq of https://gitlab.haskell.org/ghc/ghc/-/issues/2273 except in IO
21:24:43 <tomsmeding> which is also suitable because the state monad has a continuation in there
21:24:57 <tomsmeding> okay I officially hate seq now and will cease using it
21:25:10 <tomsmeding> (this includes deepseq, which this question was really about)
21:25:22 × _ht quits (~Thunderbi@28-52-174-82.ftth.glasoperator.nl) (Remote host closed the connection)
21:26:09 <tomsmeding> seq is a design mistake
21:26:22 <monochrom> I am a nice and accomodating person towards computers. If I just mean "it is more efficient if you evaluate this earlier, but this is just a hint", I use seq, I don't need the strong guarantee of evaluate or pseq.
21:26:50 <tomsmeding> right
21:26:59 <tomsmeding> well at the very least it has a bad name, then
21:26:59 <monochrom> If I do need the strong guarantee of evaluate (as in "I need the precise exception"), then I use evaluate.
21:27:21 <tomsmeding> or as in "I need my benchmark framework to see this work between its timing points"
21:27:43 <monochrom> I think it was a good name but bad revisionist semantics.
21:28:30 <monochrom> It's called "seq" because John Hughes invented it to really mean "seq" because only when you kill lazy evaluation do you get the memory-saving benefit of foldl'
21:29:09 <monochrom> But things went south when people realized that the Haskell Report cannot even talk about evaluation orders.
21:30:07 <monochrom> OTOH I'm OK with "don't be a control freak backseat driver to the optimizer; give strictness hints and let the optimizer consider all factors".
21:30:34 × pruiz quits (~user@user/pruiz) (Ping timeout: 264 seconds)
21:31:22 <monochrom> Bird called it "strict" in his book. Maybe that's a good name under the revisionist history.
21:31:35 × takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection)
21:32:07 <monochrom> But it is a bad name in the context of that chapter because it uses evaluation orders not denotational semantics.
21:32:28 <monochrom> (It explains why foldl' saves memory. Denotational semantic cannot tell you that.)
21:33:47 <tomsmeding> "strict" feels like a more appropriate name, indeed
21:34:02 <tomsmeding> and apparently (?) ghc treats it like "strict", not like "seq"
21:34:30 <monochrom> "strict" would be a good name in the Haskell Report and when we say "seq is a strictness hint".
21:34:53 <monochrom> But I still don't like "strict vs lazy". Level mismatch.
21:35:32 <johnw> so true monochrom
21:35:56 <monochrom> But since even Bird wrote like that, it's a lost cause. People worship opinion leaders.
21:36:02 <monochrom> To hell with opinion leaders.
21:37:18 pruiz joins (~user@user/pruiz)
21:38:05 <tomsmeding> monochrom: because it's strict vs non-strict on the semantics level, and lazy is an evaluation strategy?
21:38:16 <johnw> indeed
21:38:19 <monochrom> Right.
21:38:21 <johnw> strict has a mathematical definition
21:38:31 <johnw> lazy is one way of doing it
21:38:50 × pruiz quits (~user@user/pruiz) (Client Quit)
21:39:41 <johnw> reminds me of a presentation I was watching last week about "functions", where I quickly realized he wasn't really talking about functions, but the code sequences that processors execute -- even though it was a Haskell talk!
21:40:00 <johnw> levels, people
21:40:18 <tomsmeding> that just sounds like a terminology clash
21:42:07 <tomsmeding> as in, when talking about assembly, one also often talks about "functions", but those are indeed of course different things from "functions" in the haskell language
21:42:31 <johnw> I was just expecting him to say things about mathematical functions
21:44:22 <monochrom> It's a Haskell talk so one should not say "function" for machine code!
21:45:01 <tomsmeding> can they also not use "label" for labels in assembly code, because we have -XOverloadedLabels?
21:45:16 <johnw> let me restate: the title of the talk led me to believe it was about mathematical functions, but when I started listening I realized it was about operational functions. Not saying you shouldn't use the term for whatever audience you have.
21:45:28 <monochrom> I have -XNoOverloadedLabels so I'm fine. :)
21:45:40 <tomsmeding> right, then the title may have mismatched the audience :)
21:45:59 <geekosaur> -XMassivelyOverloadedLabels
21:45:59 <monochrom> Oh wait. -XOverloadedLabels is license to overload the word "labels", no? >:)
21:46:18 tomsmeding sighs
21:53:25 <johnw> hahaha
21:55:30 peterbecich joins (~Thunderbi@047-229-123-186.res.spectrum.com)
22:01:11 × gmg quits (~user@user/gehmehgeh) (Quit: Leaving)
22:04:02 × peterbecich quits (~Thunderbi@047-229-123-186.res.spectrum.com) (Ping timeout: 260 seconds)
22:07:55 × ec quits (~ec@gateway/tor-sasl/ec) (Remote host closed the connection)
22:08:03 tri joins (~tri@24.188.46.116)
22:08:37 × coot quits (~coot@89-69-206-216.dynamic.chello.pl) (Quit: coot)
22:08:43 ec joins (~ec@gateway/tor-sasl/ec)
22:11:14 emmanuelux joins (~emmanuelu@user/emmanuelux)
22:12:18 ddellacosta joins (~ddellacos@ool-44c73d16.dyn.optonline.net)
22:13:32 × Joao003 quits (~Joao003@190.108.108.40) (Quit: Bye!)
22:19:55 mud joins (~mud@user/kadoban)
22:24:13 <jackdk> @remember monochrom To hell with opinion leaders.
22:24:14 <lambdabot> It is forever etched in my memory.
22:28:17 lisbeths joins (uid135845@id-135845.lymington.irccloud.com)
22:28:26 jargon joins (~jargon@105.sub-174-205-230.myvzw.com)
22:32:00 bilegeek joins (~bilegeek@2600:1008:b014:2394:f1:4073:7d5:b5fa)
22:37:30 × michalz quits (~michalz@185.246.207.222) (Quit: ZNC 1.8.2 - https://znc.in)
22:49:49 × Square quits (~Square@user/square) (Ping timeout: 255 seconds)
22:57:25 peterbecich joins (~Thunderbi@047-229-123-186.res.spectrum.com)
23:03:23 × fendor quits (~fendor@2a02:8388:1605:d100:267b:1353:13d7:4f0c) (Remote host closed the connection)
23:06:52 × acidjnk_new quits (~acidjnk@p200300d6e737e767f4b3e4c03bbe3045.dip0.t-ipconnect.de) (Ping timeout: 246 seconds)
23:11:41 × Tuplanolla quits (~Tuplanoll@91-159-68-95.elisa-laajakaista.fi) (Quit: Leaving.)
23:37:17 × peterbecich quits (~Thunderbi@047-229-123-186.res.spectrum.com) (Ping timeout: 256 seconds)
23:43:25 × stef204 quits (~stef204@user/stef204) (Quit: WeeChat 4.2.1)
23:49:35 ski uses "(sub)routine" for assembly
23:49:47 × mechap quits (~mechap@user/mechap) (Remote host closed the connection)
23:50:12 mechap joins (~mechap@user/mechap)

All times are in UTC on 2024-02-02.