Logs on 2024-03-22 (liberachat/#haskell)
| 00:01:24 | → | pepexan joins (~oscar@153.27.165.83.dynamic.reverse-mundo-r.com) |
| 00:01:34 | ← | pepexan parts (~oscar@153.27.165.83.dynamic.reverse-mundo-r.com) () |
| 00:07:28 | → | peterbecich joins (~Thunderbi@047-229-123-186.res.spectrum.com) |
| 00:10:22 | × | ph88 quits (~ph88@2a02:8109:9e26:c800:d1f0:3a71:f873:943f) (Remote host closed the connection) |
| 00:13:33 | → | leungbk joins (~user@104-032-221-175.res.spectrum.com) |
| 00:18:26 | × | rvalue quits (~rvalue@user/rvalue) (Ping timeout: 264 seconds) |
| 00:22:08 | × | kimiamania quits (~7da15a40@user/kimiamania) (Quit: PegeLinux) |
| 00:22:58 | → | kimiamania joins (~671c7418@user/kimiamania) |
| 00:23:18 | → | ryanbooker joins (uid4340@id-4340.hampstead.irccloud.com) |
| 00:27:26 | × | mei quits (~mei@user/mei) (Remote host closed the connection) |
| 00:28:03 | → | rvalue joins (~rvalue@user/rvalue) |
| 00:29:52 | → | mei joins (~mei@user/mei) |
| 01:21:14 | × | Tuplanolla quits (~Tuplanoll@91-159-69-59.elisa-laajakaista.fi) (Quit: Leaving.) |
| 01:33:58 | × | justsomeguy quits (~justsomeg@user/justsomeguy) (Ping timeout: 246 seconds) |
| 01:34:59 | × | peterbecich quits (~Thunderbi@047-229-123-186.res.spectrum.com) (Quit: peterbecich) |
| 01:35:29 | → | peterbecich joins (~Thunderbi@047-229-123-186.res.spectrum.com) |
| 01:38:47 | × | TonyStone quits (~TonyStone@074-076-057-186.res.spectrum.com) (Quit: Leaving) |
| 01:43:11 | × | connrs quits (~connrs@user/connrs) (Ping timeout: 264 seconds) |
| 01:54:21 | × | mima quits (~mmh@aftr-62-216-211-224.dynamic.mnet-online.de) (Ping timeout: 252 seconds) |
| 02:04:20 | → | connrs joins (~connrs@user/connrs) |
| 02:04:33 | → | justsomeguy joins (~justsomeg@user/justsomeguy) |
| 02:05:38 | × | chexum quits (~quassel@gateway/tor-sasl/chexum) (Ping timeout: 260 seconds) |
| 02:05:53 | <dmj`> | jle`: o/ hmm, I don't think there's any general way to perform lowering for any (a :: k) in base (unless its like natVal / symbolVal, which have their own special lowering classes, which aren't general ofc). |
| 02:06:12 | → | chexum joins (~quassel@gateway/tor-sasl/chexum) |
| 02:09:28 | <dmj`> | would like to be proved wrong tho |
| 02:10:51 | → | benkard joins (~mulk@p5b112e7d.dip0.t-ipconnect.de) |
| 02:12:19 | × | mulk quits (~mulk@p5b2dc99c.dip0.t-ipconnect.de) (Ping timeout: 268 seconds) |
| 02:12:19 | benkard | is now known as mulk |
| 02:14:50 | × | xff0x quits (~xff0x@2405:6580:b080:900:42bc:ad6f:b5c1:444) (Ping timeout: 264 seconds) |
| 02:28:29 | × | otto_s quits (~user@p5de2faee.dip0.t-ipconnect.de) (Ping timeout: 240 seconds) |
| 02:30:14 | → | otto_s joins (~user@p4ff277d6.dip0.t-ipconnect.de) |
| 02:31:45 | × | waleee quits (~waleee@h-176-10-144-38.NA.cust.bahnhof.se) (Ping timeout: 252 seconds) |
| 02:38:19 | → | machinedgod joins (~machinedg@d173-183-246-216.abhsia.telus.net) |
| 02:42:53 | × | lbseale quits (~quassel@user/ep1ctetus) (Ping timeout: 240 seconds) |
| 02:44:04 | × | peterbecich quits (~Thunderbi@047-229-123-186.res.spectrum.com) (Ping timeout: 268 seconds) |
| 02:44:39 | → | lbseale joins (~quassel@user/ep1ctetus) |
| 02:48:44 | × | oneeyedalien_ quits (~oneeyedal@user/oneeyedalien) (Quit: Leaving) |
| 02:59:35 | → | xff0x joins (~xff0x@125x103x176x34.ap125.ftth.ucom.ne.jp) |
| 03:00:13 | × | leungbk quits (~user@104-032-221-175.res.spectrum.com) (Remote host closed the connection) |
| 03:00:54 | × | Feuermagier quits (~Feuermagi@user/feuermagier) (Ping timeout: 252 seconds) |
| 03:02:59 | × | justsomeguy quits (~justsomeg@user/justsomeguy) (Quit: WeeChat 3.6) |
| 03:19:55 | → | ddellacosta joins (~ddellacos@ool-44c73d16.dyn.optonline.net) |
| 03:26:29 | → | bilegeek joins (~bilegeek@2600:1008:b083:d0bf:8bb:651f:a1a1:6a4d) |
| 03:36:25 | × | ezzieyguywuf quits (~Unknown@user/ezzieyguywuf) (Remote host closed the connection) |
| 03:45:01 | → | ezzieyguywuf joins (~Unknown@user/ezzieyguywuf) |
| 03:45:35 | × | td_ quits (~td@i53870901.versanet.de) (Ping timeout: 264 seconds) |
| 03:47:01 | → | td_ joins (~td@i5387092D.versanet.de) |
| 03:47:10 | → | thalia joins (uid486183@id-486183.uxbridge.irccloud.com) |
| 03:50:00 | → | notzmv joins (~daniel@user/notzmv) |
| 03:50:43 | → | peterbecich joins (~Thunderbi@047-229-123-186.res.spectrum.com) |
| 03:54:18 | × | mmhat quits (~mmh@p200300f1c706a2c7ee086bfffe095315.dip0.t-ipconnect.de) (Quit: WeeChat 4.2.1) |
| 03:56:51 | thalia | is now known as thaliaa |
| 03:59:19 | <jle`> | dmj`: o/ thanks. maybe i feel like it should be possible in ghc in theory |
| 03:59:48 | <jle`> | as in it could maybe be implemented |
| 04:04:26 | × | chexum quits (~quassel@gateway/tor-sasl/chexum) (Remote host closed the connection) |
| 04:04:44 | → | chexum joins (~quassel@gateway/tor-sasl/chexum) |
| 04:07:36 | <jackdk> | What if you had a typelevel version of generics? |
| 04:09:39 | → | aforemny joins (~aforemny@2001:9e8:6ce7:be00:a07f:df32:373b:9c12) |
| 04:11:03 | × | aforemny_ quits (~aforemny@2001:9e8:6cc4:b700:b374:8656:8acd:5fb8) (Ping timeout: 260 seconds) |
| 04:36:40 | × | ezzieyguywuf quits (~Unknown@user/ezzieyguywuf) (Remote host closed the connection) |
| 04:46:31 | × | down200 quits (~down200@shell.lug.mtu.edu) (Quit: ZNC - https://znc.in) |
| 04:47:17 | × | szkl quits (uid110435@id-110435.uxbridge.irccloud.com) (Quit: Connection closed for inactivity) |
| 04:50:40 | → | down200 joins (~down200@shell.lug.mtu.edu) |
| 04:56:39 | × | peterbecich quits (~Thunderbi@047-229-123-186.res.spectrum.com) (Ping timeout: 268 seconds) |
| 05:04:46 | → | _ht joins (~Thunderbi@28-52-174-82.ftth.glasoperator.nl) |
| 05:07:53 | → | igemnace joins (~ian@user/igemnace) |
| 05:12:24 | × | mechap quits (~mechap@user/mechap) (Ping timeout: 260 seconds) |
| 05:19:59 | × | notzmv quits (~daniel@user/notzmv) (Read error: Connection reset by peer) |
| 05:26:52 | × | tv quits (~tv@user/tv) (Ping timeout: 268 seconds) |
| 05:33:03 | × | ryanbooker quits (uid4340@id-4340.hampstead.irccloud.com) (Quit: Connection closed for inactivity) |
| 05:33:08 | → | renpose joins (~renpose@user/renpose) |
| 05:35:58 | → | oneeyedalien joins (~oneeyedal@user/oneeyedalien) |
| 05:36:05 | × | oneeyedalien quits (~oneeyedal@user/oneeyedalien) (Max SendQ exceeded) |
| 05:36:34 | → | oneeyedalien joins (~oneeyedal@user/oneeyedalien) |
| 05:39:11 | × | oneeyedalien quits (~oneeyedal@user/oneeyedalien) (Max SendQ exceeded) |
| 05:39:39 | → | oneeyedalien joins (~oneeyedal@user/oneeyedalien) |
| 05:40:53 | → | tv joins (~tv@user/tv) |
| 05:42:36 | × | hc quits (~hc@mail.hce.li) (Remote host closed the connection) |
| 05:45:39 | → | michalz joins (~michalz@185.246.207.205) |
| 05:50:33 | × | machinedgod quits (~machinedg@d173-183-246-216.abhsia.telus.net) (Ping timeout: 255 seconds) |
| 06:01:53 | → | zetef joins (~quassel@5.2.182.99) |
| 06:12:41 | × | dcoutts_ quits (~duncan@cpc69402-oxfd27-2-0-cust903.4-3.cable.virginm.net) (Remote host closed the connection) |
| 06:12:50 | × | bilegeek quits (~bilegeek@2600:1008:b083:d0bf:8bb:651f:a1a1:6a4d) (Quit: Leaving) |
| 06:13:04 | → | dcoutts_ joins (~duncan@cpc69402-oxfd27-2-0-cust903.4-3.cable.virginm.net) |
| 06:19:21 | × | son0p quits (~ff@167.0.168.212) (Ping timeout: 255 seconds) |
| 06:27:52 | → | Inst_ joins (~Inst@120.244.192.126) |
| 06:29:20 | × | euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Ping timeout: 252 seconds) |
| 06:29:59 | → | euleritian joins (~euleritia@dynamic-046-114-092-064.46.114.pool.telefonica.de) |
| 06:30:35 | × | Inst quits (~Inst@120.244.192.27) (Ping timeout: 260 seconds) |
| 06:32:02 | × | euleritian quits (~euleritia@dynamic-046-114-092-064.46.114.pool.telefonica.de) (Read error: Connection reset by peer) |
| 06:32:19 | → | euleritian joins (~euleritia@77.22.252.56) |
| 06:40:50 | → | bitdex joins (~bitdex@gateway/tor-sasl/bitdex) |
| 06:46:52 | → | sord937 joins (~sord937@gateway/tor-sasl/sord937) |
| 06:47:02 | × | euleritian quits (~euleritia@77.22.252.56) (Ping timeout: 268 seconds) |
| 06:48:01 | → | euleritian joins (~euleritia@dynamic-046-114-092-064.46.114.pool.telefonica.de) |
| 06:54:24 | → | vnogueira_ joins (~vnogueira@user/vnogueira) |
| 06:57:18 | × | vnogueira quits (~vnogueira@user/vnogueira) (Ping timeout: 260 seconds) |
| 07:01:11 | × | qqq quits (~qqq@92.43.167.61) (Ping timeout: 264 seconds) |
| 07:01:14 | → | acidjnk joins (~acidjnk@p200300d6e70d3f76ac4c8c7b0af5042c.dip0.t-ipconnect.de) |
| 07:08:52 | × | germ quits (~quassel@user/mipsel3) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) |
| 07:09:28 | → | CiaoSen joins (~Jura@2a05:5800:290:ef00:e6b9:7aff:fe80:3d03) |
| 07:10:30 | → | germ joins (~quassel@50.39.179.7) |
| 07:14:56 | → | sadie_ joins (~sadie@c-76-155-235-153.hsd1.co.comcast.net) |
| 07:16:59 | × | germ quits (~quassel@50.39.179.7) (Changing host) |
| 07:16:59 | → | germ joins (~quassel@user/mipsel3) |
| 07:18:02 | × | oneeyedalien quits (~oneeyedal@user/oneeyedalien) (Quit: Leaving) |
| 07:19:43 | × | econo_ quits (uid147250@id-147250.tinside.irccloud.com) (Quit: Connection closed for inactivity) |
| 07:21:09 | × | bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Remote host closed the connection) |
| 07:21:16 | × | tcard_ quits (~tcard@2400:4051:5801:7500:cf17:befc:ff82:5303) (Quit: Leaving) |
| 07:22:29 | → | bitdex joins (~bitdex@gateway/tor-sasl/bitdex) |
| 07:23:01 | → | tcard joins (~tcard@2400:4051:5801:7500:cf17:befc:ff82:5303) |
| 07:31:56 | × | jle` quits (~jle`@2603-8001-3b02-84d4-a4df-d2e6-33cd-3e89.res6.spectrum.com) (Ping timeout: 260 seconds) |
| 07:32:51 | → | jle` joins (~jle`@2603-8001-3b02-84d4-e36f-d1aa-df97-c5e9.res6.spectrum.com) |
| 07:35:18 | → | lortabac joins (~lortabac@2a01:e0a:541:b8f0:55ab:e185:7f81:54a4) |
| 07:41:00 | × | euphores quits (~SASL_euph@user/euphores) (Read error: Connection reset by peer) |
| 07:41:50 | → | euphores joins (~SASL_euph@user/euphores) |
| 07:50:13 | × | tzh quits (~tzh@c-73-164-206-160.hsd1.or.comcast.net) (Quit: zzz) |
| 07:56:41 | → | danza joins (~francesco@ba-19-158-240.service.infuturo.it) |
| 08:04:12 | × | sayola quits (~sayola@ip-109-42-241-236.web.vodafone.de) (Read error: Connection reset by peer) |
| 08:04:56 | × | zetef quits (~quassel@5.2.182.99) (Remote host closed the connection) |
| 08:09:49 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 08:10:02 | × | mrvdb quits (~mrvdb@185.92.221.186) (Quit: ZNC 1.8.2 - https://znc.in) |
| 08:15:03 | → | vpan joins (~vpan@212.117.1.172) |
| 08:23:01 | × | Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer) |
| 08:29:01 | → | mima joins (~mmh@aftr-62-216-211-172.dynamic.mnet-online.de) |
| 08:29:09 | → | son0p joins (~ff@152.202.62.108) |
| 08:37:53 | Inst_ | is now known as Inst |
| 08:38:33 | × | euleritian quits (~euleritia@dynamic-046-114-092-064.46.114.pool.telefonica.de) (Read error: Connection reset by peer) |
| 08:39:27 | → | euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) |
| 08:45:26 | → | zetef joins (~quassel@5.2.182.99) |
| 08:49:39 | × | danza quits (~francesco@ba-19-158-240.service.infuturo.it) (Ping timeout: 260 seconds) |
| 09:08:54 | → | chele joins (~chele@user/chele) |
| 09:10:26 | → | __monty__ joins (~toonn@user/toonn) |
| 09:11:15 | → | kuribas joins (~user@ip-188-118-57-242.reverse.destiny.be) |
| 09:13:01 | → | takuan joins (~takuan@178-116-218-225.access.telenet.be) |
| 09:15:01 | × | zetef quits (~quassel@5.2.182.99) (Remote host closed the connection) |
| 09:15:46 | → | gmg joins (~user@user/gehmehgeh) |
| 09:28:58 | × | ft quits (~ft@p508db238.dip0.t-ipconnect.de) (Quit: leaving) |
| 09:31:40 | × | igemnace quits (~ian@user/igemnace) (Read error: Connection reset by peer) |
| 09:41:12 | → | L29Ah joins (~L29Ah@wikipedia/L29Ah) |
| 09:47:40 | → | sroso joins (~sroso@user/SrOso) |
| 09:48:40 | → | igemnace joins (~ian@user/igemnace) |
| 09:52:12 | × | rvalue quits (~rvalue@user/rvalue) (Ping timeout: 255 seconds) |
| 09:52:54 | → | rvalue joins (~rvalue@user/rvalue) |
| 09:59:57 | → | sayola joins (~sayola@ip-109-42-241-236.web.vodafone.de) |
| 10:02:12 | × | rvalue quits (~rvalue@user/rvalue) (Ping timeout: 252 seconds) |
| 10:04:57 | → | rvalue joins (~rvalue@user/rvalue) |
| 10:07:02 | × | xff0x quits (~xff0x@125x103x176x34.ap125.ftth.ucom.ne.jp) (Ping timeout: 264 seconds) |
| 10:07:45 | → | mechap joins (~mechap@user/mechap) |
| 10:19:40 | → | mik3d joins (~mik3d@pool-173-61-131-199.cmdnnj.fios.verizon.net) |
| 10:21:51 | × | Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 272 seconds) |
| 10:21:54 | → | tremon joins (~tremon@83.80.159.219) |
| 10:22:56 | → | Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915) |
| 10:24:24 | → | danse-nr3 joins (~danse@151.47.207.20) |
| 10:25:02 | → | _xor4 joins (~xor@ip-208-102-243-175.dynamic.fuse.net) |
| 10:26:50 | × | _xor quits (~xor@ip-208-102-243-175.dynamic.fuse.net) (Ping timeout: 264 seconds) |
| 10:26:50 | _xor4 | is now known as _xor |
| 10:32:05 | × | CiaoSen quits (~Jura@2a05:5800:290:ef00:e6b9:7aff:fe80:3d03) (Ping timeout: 256 seconds) |
| 10:39:31 | × | lortabac quits (~lortabac@2a01:e0a:541:b8f0:55ab:e185:7f81:54a4) (Ping timeout: 268 seconds) |
| 10:49:23 | × | mik3d quits (~mik3d@pool-173-61-131-199.cmdnnj.fios.verizon.net) (Read error: Connection reset by peer) |
| 10:51:46 | → | lortabac joins (~lortabac@2a01:e0a:541:b8f0:55ab:e185:7f81:54a4) |
| 10:51:51 | × | vpan quits (~vpan@212.117.1.172) (Quit: Leaving.) |
| 10:53:48 | × | kuribas quits (~user@ip-188-118-57-242.reverse.destiny.be) (Remote host closed the connection) |
| 11:01:45 | × | mechap quits (~mechap@user/mechap) (Ping timeout: 272 seconds) |
| 11:09:35 | × | ec quits (~ec@gateway/tor-sasl/ec) (Remote host closed the connection) |
| 11:10:09 | → | ec joins (~ec@gateway/tor-sasl/ec) |
| 11:11:34 | → | lvdv joins (~lvdv@203.7.118.37) |
| 11:16:52 | × | sroso quits (~sroso@user/SrOso) (Quit: Leaving :)) |
| 11:19:08 | × | danse-nr3 quits (~danse@151.47.207.20) (Ping timeout: 256 seconds) |
| 11:24:20 | × | lortabac quits (~lortabac@2a01:e0a:541:b8f0:55ab:e185:7f81:54a4) (Ping timeout: 260 seconds) |
| 11:24:29 | × | mei quits (~mei@user/mei) (Remote host closed the connection) |
| 11:26:55 | × | swamp_ quits (~zmt00@user/zmt00) (Ping timeout: 260 seconds) |
| 11:29:12 | → | mei joins (~mei@user/mei) |
| 11:29:45 | → | ph88 joins (~ph88@2a02:8109:9e26:c800:e5ad:5837:1dbd:508c) |
| 11:30:05 | <ph88> | does deriving Show instances slow down code ? |
| 11:32:58 | <int-e> | By what mechanism? I mean it'll slow down compilation; it may produce extra code so it can affect how code is cached... other than that, I don't think so? Unless you're comparing it to manually written Show instances I guess. |
| 11:33:01 | <ski> | slow down which code ? |
| 11:33:52 | <ph88> | other code in the program on runtime |
| 11:33:53 | × | renpose quits (~renpose@user/renpose) (Quit: Client closed) |
| 11:35:51 | → | lortabac joins (~lortabac@2a01:e0a:541:b8f0:55ab:e185:7f81:54a4) |
| 11:37:13 | <tomsmeding> | not in any obvious ways, but anything might affect anything else once you're concerned about cache effects |
| 11:37:21 | <tomsmeding> | at which point basically your only option is "profile" |
| 11:37:43 | <tomsmeding> | but that's also the point where changing anything anywhere might change anything because code alignment changes or whatever |
| 11:39:18 | → | danse-nr3 joins (~danse@ba-19-137-133.service.infuturo.it) |
| 11:40:07 | × | danse-nr3 quits (~danse@ba-19-137-133.service.infuturo.it) (Remote host closed the connection) |
| 11:40:30 | → | danse-nr3 joins (~danse@ba-19-137-133.service.infuturo.it) |
| 11:43:05 | → | mechap joins (~mechap@user/mechap) |
| 11:53:20 | → | mmhat joins (~mmh@p200300f1c706a2c7ee086bfffe095315.dip0.t-ipconnect.de) |
| 11:56:21 | × | hugo- quits (znc@quicksilver.lysator.liu.se) (Quit: ZNC 1.8.2+deb3.1 - https://znc.in) |
| 11:58:39 | × | ddellacosta quits (~ddellacos@ool-44c73d16.dyn.optonline.net) (Ping timeout: 255 seconds) |
| 12:05:57 | → | mrvdb joins (~mrvdb@2001:19f0:5000:8582:5400:ff:fe07:3df5) |
| 12:06:00 | → | omegatron joins (~some@user/omegatron) |
| 12:09:43 | → | hugo- joins (znc@quicksilver.lysator.liu.se) |
| 12:10:04 | × | migas97 quits (~migas@static.140.65.63.178.clients.your-server.de) (Quit: Ping timeout (120 seconds)) |
| 12:10:17 | → | migas97 joins (~migas@static.140.65.63.178.clients.your-server.de) |
| 12:18:55 | → | CiaoSen joins (~Jura@2a05:5800:290:ef00:e6b9:7aff:fe80:3d03) |
| 12:20:04 | → | xff0x joins (~xff0x@ai082039.d.east.v6connect.net) |
| 12:34:59 | germ | is now known as germtoo |
| 12:35:44 | germtoo | is now known as germ |
| 12:35:52 | germ | is now known as mipseb |
| 12:36:32 | mipseb | is now known as germ |
| 12:36:41 | germ | is now known as germtoo |
| 12:55:22 | <tomsmeding> | I love that the interleaving you get when writing to a Handle from multiple threads is deterministic https://paste.tomsmeding.com/3TbWyDKD |
| 13:00:27 | × | bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Quit: = "") |
| 13:10:22 | <ph88> | does anyone use the ghci debugger actually? i never found i could actually use it to get some practical debugging done and always resolve to Debug.Trace |
| 13:11:19 | <int-e> | ph88: same here but I'm not sure whether it's an old habit that is good enough or an actual shortcoming of the ghci debugger |
| 13:14:09 | <int-e> | I've never seriously tried to use the ghci debugger. Heck, I just had to look up that the command that shows partially evaluated values is :print. |
| 13:15:34 | <sadie_> | i've used it a couple times to try and find non-terminating loops but i found that the profiling tools are way better at that |
| 13:15:39 | <int-e> | (Which is the one feature I actually remember playing around with a few times because it's something that Debug.Trace cannot do at all.) |
| 13:15:44 | <tomsmeding> | wasn't that :sprint |
| 13:16:39 | <int-e> | tomsmeding: :sprint is like :print but less verbose? the s is "simplified" |
| 13:16:46 | <tomsmeding> | oh |
| 13:16:56 | <tomsmeding> | maybe that's why it never did what I wanted it to do? |
| 13:16:57 | <int-e> | there's :force if you want to force a value and print it. |
| 13:17:09 | tomsmeding | has never seriously tried to use this stuff |
| 13:20:16 | <int-e> | I wouldn't know this if I hadn't just looked at the command list :) |
| 13:21:17 | <ph88> | https://github.com/haskell/haskell-language-server/issues/1906 |
| 13:24:17 | <ph88> | https://github.com/haskell/haskell-language-server/discussions/3042 https://github.com/phoityne/haskell-debug-adapter maybe i ought to try that see if the experience improves |
| 13:25:41 | → | zmt00 joins (~zmt00@user/zmt00) |
| 13:29:11 | × | mmhat quits (~mmh@p200300f1c706a2c7ee086bfffe095315.dip0.t-ipconnect.de) (Ping timeout: 260 seconds) |
| 13:29:35 | → | mmhat joins (~mmh@p200300f1c706a2a9ee086bfffe095315.dip0.t-ipconnect.de) |
| 13:38:27 | × | mechap quits (~mechap@user/mechap) (Quit: WeeChat 4.2.1) |
| 13:43:00 | → | waleee joins (~waleee@h-176-10-144-38.NA.cust.bahnhof.se) |
| 13:50:23 | → | sayola1 joins (~sayola@ip-109-42-242-92.web.vodafone.de) |
| 13:51:41 | × | sayola quits (~sayola@ip-109-42-241-236.web.vodafone.de) (Ping timeout: 256 seconds) |
| 13:56:57 | → | ezzieyguywuf joins (~Unknown@user/ezzieyguywuf) |
| 13:59:15 | × | danse-nr3 quits (~danse@ba-19-137-133.service.infuturo.it) (Ping timeout: 255 seconds) |
| 14:03:39 | → | Sgeo joins (~Sgeo@user/sgeo) |
| 14:03:59 | → | zzidun joins (~zzidun@user/zzidun) |
| 14:05:16 | → | danse-nr3 joins (~danse@ba-19-137-133.service.infuturo.it) |
| 14:05:48 | × | zzidun quits (~zzidun@user/zzidun) (Quit: Client closed) |
| 14:25:39 | → | notzmv joins (~daniel@user/notzmv) |
| 14:29:08 | × | euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Read error: Connection reset by peer) |
| 14:29:45 | → | euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) |
| 14:33:55 | × | euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Ping timeout: 255 seconds) |
| 14:34:41 | → | euleritian joins (~euleritia@dynamic-046-114-095-193.46.114.pool.telefonica.de) |
| 14:38:57 | × | omegatron quits (~some@user/omegatron) (Quit: Power is a curious thing. It can be contained, hidden, locked away, and yet it always breaks free.) |
| 14:40:48 | → | kuribas joins (~user@ip-188-118-57-242.reverse.destiny.be) |
| 14:51:27 | × | waleee quits (~waleee@h-176-10-144-38.NA.cust.bahnhof.se) (Ping timeout: 255 seconds) |
| 14:58:54 | → | oo_miguel joins (~Thunderbi@78-11-181-16.static.ip.netia.com.pl) |
| 15:01:44 | → | ht_ joins (~Thunderbi@194.110.115.57) |
| 15:01:48 | × | _ht quits (~Thunderbi@28-52-174-82.ftth.glasoperator.nl) (Ping timeout: 255 seconds) |
| 15:01:48 | ht_ | is now known as _ht |
| 15:04:42 | × | danse-nr3 quits (~danse@ba-19-137-133.service.infuturo.it) (Ping timeout: 256 seconds) |
| 15:08:01 | × | lortabac quits (~lortabac@2a01:e0a:541:b8f0:55ab:e185:7f81:54a4) (Quit: WeeChat 4.1.1) |
| 15:08:27 | → | rosco joins (~rosco@175.136.155.53) |
| 15:10:08 | → | danse-nr3 joins (~danse@ba-19-137-133.service.infuturo.it) |
| 15:10:23 | × | driib quits (~driib@vmi931078.contaboserver.net) (Quit: The Lounge - https://thelounge.chat) |
| 15:16:10 | → | driib joins (~driib@vmi931078.contaboserver.net) |
| 15:24:49 | <dmj`> | jle`: I bet you're right, at the very least there could be a generic deriving made to lower types that data kinds have lifted |
| 15:28:26 | × | euleritian quits (~euleritia@dynamic-046-114-095-193.46.114.pool.telefonica.de) (Read error: Connection reset by peer) |
| 15:28:43 | → | euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) |
| 15:29:25 | → | Lycurgus joins (~georg@user/Lycurgus) |
| 15:31:57 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 15:34:48 | → | ht_ joins (~Thunderbi@28-52-174-82.ftth.glasoperator.nl) |
| 15:35:00 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 15:36:37 | × | _ht quits (~Thunderbi@194.110.115.57) (Ping timeout: 272 seconds) |
| 15:36:37 | ht_ | is now known as _ht |
| 15:40:28 | × | danse-nr3 quits (~danse@ba-19-137-133.service.infuturo.it) (Read error: Connection reset by peer) |
| 15:41:52 | → | danse-nr3 joins (~danse@151.47.198.180) |
| 15:44:35 | → | ft joins (~ft@p508db238.dip0.t-ipconnect.de) |
| 15:49:11 | → | machinedgod joins (~machinedg@d173-183-246-216.abhsia.telus.net) |
| 15:50:20 | × | euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Ping timeout: 260 seconds) |
| 15:50:47 | × | danse-nr3 quits (~danse@151.47.198.180) (Remote host closed the connection) |
| 15:50:49 | → | euleritian joins (~euleritia@dynamic-046-114-095-193.46.114.pool.telefonica.de) |
| 15:52:34 | → | danse-nr3 joins (~danse@151.47.198.180) |
| 15:55:29 | × | euleritian quits (~euleritia@dynamic-046-114-095-193.46.114.pool.telefonica.de) (Read error: Connection reset by peer) |
| 15:55:48 | → | euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) |
| 16:07:54 | × | CiaoSen quits (~Jura@2a05:5800:290:ef00:e6b9:7aff:fe80:3d03) (Ping timeout: 268 seconds) |
| 16:11:15 | → | econo_ joins (uid147250@id-147250.tinside.irccloud.com) |
| 16:15:48 | × | chele quits (~chele@user/chele) (Remote host closed the connection) |
| 16:22:49 | × | sord937 quits (~sord937@gateway/tor-sasl/sord937) (Quit: sord937) |
| 16:23:13 | → | chaouki25 joins (~chaouki@160.178.198.145) |
| 16:25:14 | × | chaouki25 quits (~chaouki@160.178.198.145) (Client Quit) |
| 16:29:50 | × | destituion quits (~destituio@2a02:2121:655:c95b:4730:b7f0:4100:2e91) (Ping timeout: 264 seconds) |
| 16:30:45 | × | L29Ah quits (~L29Ah@wikipedia/L29Ah) (Read error: Connection reset by peer) |
| 16:31:11 | → | destituion joins (~destituio@85.221.111.174) |
| 16:32:11 | → | tzh joins (~tzh@c-73-164-206-160.hsd1.or.comcast.net) |
| 16:33:19 | Catty | is now known as catties |
| 16:34:06 | catties | is now known as Catty |
| 16:35:26 | × | euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Read error: Connection reset by peer) |
| 16:35:27 | × | destituion quits (~destituio@85.221.111.174) (Ping timeout: 256 seconds) |
| 16:35:34 | → | euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) |
| 16:37:15 | → | L29Ah joins (~L29Ah@wikipedia/L29Ah) |
| 16:38:24 | → | target_i joins (~target_i@user/target-i/x-6023099) |
| 16:40:44 | → | destituion joins (~destituio@2a02:2121:655:c95b:2f9:dc47:aa7f:309) |
| 16:42:36 | × | Square2 quits (~Square4@user/square) (Ping timeout: 252 seconds) |
| 16:44:24 | × | danse-nr3 quits (~danse@151.47.198.180) (Ping timeout: 255 seconds) |
| 16:46:42 | × | rosco quits (~rosco@175.136.155.53) (Quit: Lost terminal) |
| 16:50:23 | × | son0p quits (~ff@152.202.62.108) (Ping timeout: 264 seconds) |
| 16:53:42 | → | szkl joins (uid110435@id-110435.uxbridge.irccloud.com) |
| 17:12:29 | × | jargon quits (~jargon@70.sub-174-205-226.myvzw.com) (Read error: Connection reset by peer) |
| 17:15:29 | → | jargon joins (~jargon@70.sub-174-205-226.myvzw.com) |
| 17:16:11 | × | kritzefitz quits (~kritzefit@debian/kritzefitz) (Ping timeout: 264 seconds) |
| 17:16:31 | × | kuribas quits (~user@ip-188-118-57-242.reverse.destiny.be) (Remote host closed the connection) |
| 17:19:28 | × | L29Ah quits (~L29Ah@wikipedia/L29Ah) (Read error: Connection reset by peer) |
| 17:29:11 | × | igemnace quits (~ian@user/igemnace) (Read error: Connection reset by peer) |
| 17:41:07 | × | jargon quits (~jargon@70.sub-174-205-226.myvzw.com) (Read error: Connection reset by peer) |
| 17:43:18 | → | jargon joins (~jargon@70.sub-174-205-226.myvzw.com) |
| 17:46:40 | <hololeap> | I'm trying to understand lazy pattern matching in IO. my intention for this block of code is that it will only run listDirectory when it matches 'e' as True: https://bpa.st/7NEQ |
| 17:47:20 | <hololeap> | will this code behave the way I intend it to? |
| 17:47:38 | <ncf> | no |
| 17:47:42 | × | sadie_ quits (~sadie@c-76-155-235-153.hsd1.co.comcast.net) (Remote host closed the connection) |
| 17:49:23 | <hololeap> | umm... why not? what's wrong here |
| 17:49:53 | <mauke> | e is already "lazy"/irrefutable |
| 17:50:01 | <mauke> | ~e is just e again |
| 17:50:42 | <hololeap> | ok, so ~e should be changed to e and then it will behave the way I want it to? |
| 17:50:44 | <mauke> | (for any variable e, such as cs) |
| 17:50:48 | <mauke> | no |
| 17:51:07 | <ncf> | if you want short-circuiting you should use a monadic boolean operator, like liftIO $ doesDirectoryExist d &&^ (notNull <$> listDirectory d) |
| 17:51:14 | <mauke> | why do you think it would make a difference when I just told you ~e is the same as e? |
| 17:51:26 | × | target_i quits (~target_i@user/target-i/x-6023099) (Quit: leaving) |
| 17:51:47 | × | jargon quits (~jargon@70.sub-174-205-226.myvzw.com) (Read error: Connection reset by peer) |
| 17:51:50 | <hololeap> | the crucial part is (for any variable e, such as cs), which you hadn't said yet... |
| 17:52:14 | <mauke> | ? |
| 17:52:41 | <hololeap> | ? |
| 17:52:58 | <mauke> | I don't see how that's an answer to my question |
| 17:53:19 | <hololeap> | this is getting rediculous |
| 17:53:47 | <mauke> | anyway, the point is that ... <- listDirectory is what causes listDirectory to run, not anything happening to the result later |
| 17:54:19 | <mauke> | there is evil magic that allows for this sort of "lazy I/O", but it's not related to pattern matching |
| 17:54:20 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 17:54:46 | → | target_i joins (~target_i@user/target-i/x-6023099) |
| 17:56:47 | <mauke> | (also, it's "ridiculous", which is quite a silly word considering that it's Latin, and English uses the Germanic "laugh" for everything else) |
| 17:57:05 | <hololeap> | omg the pedantry is off the charts here. I'm going to move to #haskell-beginners |
| 17:59:45 | <mauke> | hololeap: even if you fix the control flow, that code has a race condition (TOC/TOU) |
| 18:00:02 | × | notzmv quits (~daniel@user/notzmv) (Ping timeout: 255 seconds) |
| 18:00:37 | <mauke> | I'd recommend doing listDirectory and catching isDoesNotExistError |
| 18:00:54 | <haskellbridge> | <sm> or #haskell:matrix.org. But yes! It's r*i*diculous :) |
| 18:01:16 | <int-e> | mauke: but if you worry about that you cannot use this whole function in any meaningful way |
| 18:01:23 | <mauke> | oh, there is "risible", but no one says that |
| 18:01:38 | <int-e> | (that I can think of) |
| 18:01:47 | <ncf> | risible : ridiculous :: laughable : ? |
| 18:01:57 | <ncf> | laughabulous |
| 18:02:22 | <int-e> | because the function is itself a check which presumably is used under the assumption that the directory will continue to be non-empty later. |
| 18:03:26 | <mauke> | blargh, why is the unix directory API so awful |
| 18:03:42 | <int-e> | because of POSIX? |
| 18:03:48 | <haskellbridge> | <sm> hysterical raisins |
| 18:04:00 | <mauke> | no, POSIX is after the fact |
| 18:04:33 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 18:05:29 | <mauke> | I'm talking about the unix API, not Haskell stuff specifically |
| 18:05:38 | <int-e> | ah |
| 18:05:56 | <int-e> | sorry, I thought it was the haskell package :) |
| 18:06:11 | × | oo_miguel quits (~Thunderbi@78-11-181-16.static.ip.netia.com.pl) (Quit: oo_miguel) |
| 18:06:23 | <ncf> | hololeap: (you don't have to actually use (&&^), you can just inline its definition. exercise: write its definition) |
| 18:06:29 | × | a51 quits (a51@gateway/vpn/protonvpn/a51) (Quit: WeeChat 4.2.1) |
| 18:06:43 | <ncf> | (&&^) :: Monad m => m Bool -> m Bool -> m Bool |
| 18:07:29 | <mauke> | what package is that from? |
| 18:07:36 | <ncf> | like a dozen of them |
| 18:07:49 | <mauke> | import 12 |
| 18:08:02 | <int-e> | @hackage (&&^) |
| 18:08:02 | <lambdabot> | https://hackage.haskell.org/package/(&&^) |
| 18:08:09 | <int-e> | err |
| 18:08:13 | <int-e> | @hoogle (&&^) |
| 18:08:13 | <lambdabot> | Control.Monad.Extra (&&^) :: Monad m => m Bool -> m Bool -> m Bool |
| 18:08:13 | <lambdabot> | Extra (&&^) :: Monad m => m Bool -> m Bool -> m Bool |
| 18:08:13 | <lambdabot> | Protolude (&&^) :: Monad m => m Bool -> m Bool -> m Bool |
| 18:08:14 | <mauke> | haha |
| 18:09:07 | <mauke> | do you happen to know how readdir() is supposed to behave in the presence of a concurrent process modifying the directory? |
| 18:09:09 | <ncf> | it goes by other names too: and2M |
| 18:09:50 | <int-e> | @hackage extra |
| 18:09:50 | <lambdabot> | https://hackage.haskell.org/package/extra |
| 18:09:53 | <int-e> | (found one of them) |
| 18:09:59 | <ncf> | i wonder what an appropriate generalisation of this would be. perhaps over an arbitrary semiring? |
| 18:10:47 | × | euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Ping timeout: 264 seconds) |
| 18:10:49 | <ncf> | or monoid-with-left-annihilator, whatever that's called |
| 18:10:58 | → | euleritian joins (~euleritia@77.22.252.56) |
| 18:13:22 | <ncf> | found more names: andLazy, (<&&>) |
| 18:13:25 | × | pavonia quits (~user@user/siracusa) (Quit: Bye!) |
| 18:13:43 | <ncf> | (&&&), (<&=>) |
| 18:16:51 | × | destituion quits (~destituio@2a02:2121:655:c95b:2f9:dc47:aa7f:309) (Ping timeout: 272 seconds) |
| 18:17:29 | → | destituion joins (~destituio@84.208.69.255) |
| 18:19:28 | → | a51 joins (a51@gateway/vpn/protonvpn/a51) |
| 18:27:27 | → | Square joins (~Square@user/square) |
| 18:29:00 | × | euphores quits (~SASL_euph@user/euphores) (Read error: Connection reset by peer) |
| 18:31:45 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 18:34:35 | → | kritzefitz joins (~kritzefit@debian/kritzefitz) |
| 18:37:42 | → | wootehfoot joins (~wootehfoo@user/wootehfoot) |
| 18:38:19 | × | wootehfoot quits (~wootehfoo@user/wootehfoot) (Max SendQ exceeded) |
| 18:38:51 | → | wootehfoot joins (~wootehfoo@user/wootehfoot) |
| 18:39:33 | → | euphores joins (~SASL_euph@user/euphores) |
| 18:43:02 | × | destituion quits (~destituio@84.208.69.255) (Ping timeout: 264 seconds) |
| 18:44:30 | → | L29Ah joins (~L29Ah@wikipedia/L29Ah) |
| 18:46:44 | → | destituion joins (~destituio@2a02:2121:655:c95b:88d4:b861:7bfd:c1a4) |
| 18:53:09 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 19:00:47 | → | son0p joins (~ff@152.203.80.45) |
| 19:02:12 | × | target_i quits (~target_i@user/target-i/x-6023099) (Quit: leaving) |
| 19:06:51 | × | wootehfoot quits (~wootehfoo@user/wootehfoot) (Quit: Leaving) |
| 19:14:37 | × | Me-me quits (~me-me@user/me-me) (Remote host closed the connection) |
| 19:17:26 | → | Me-me joins (~me-me@2602:ff16:3:0:1:dc:beef:d00d) |
| 19:20:55 | × | machinedgod quits (~machinedg@d173-183-246-216.abhsia.telus.net) (Ping timeout: 268 seconds) |
| 19:35:41 | → | Tuplanolla joins (~Tuplanoll@91-159-69-59.elisa-laajakaista.fi) |
| 19:46:05 | → | Guest52 joins (~Guest52@185.57.29.142) |
| 19:55:06 | → | esph joins (~weechat@user/esph) |
| 19:57:00 | × | motherfsck quits (~motherfsc@user/motherfsck) (Quit: quit) |
| 19:59:46 | × | kaskal quits (~kaskal@89.144.222.47) (Ping timeout: 268 seconds) |
| 19:59:52 | → | kaskal- joins (~kaskal@089144220117.atnat0029.highway.webapn.at) |
| 20:01:29 | → | jargon joins (~jargon@70.sub-174-205-226.myvzw.com) |
| 20:02:10 | → | dhruvasagar joins (~dhruvasag@49.207.210.202) |
| 20:07:54 | × | jargon quits (~jargon@70.sub-174-205-226.myvzw.com) (Remote host closed the connection) |
| 20:08:24 | → | jargon joins (~jargon@70.sub-174-205-226.myvzw.com) |
| 20:12:54 | × | a51 quits (a51@gateway/vpn/protonvpn/a51) (Quit: WeeChat 4.2.1) |
| 20:13:48 | × | ChaiTRex quits (~ChaiTRex@user/chaitrex) (Remote host closed the connection) |
| 20:19:05 | × | dhruvasagar quits (~dhruvasag@49.207.210.202) (Quit: WeeChat 4.2.1) |
| 20:19:29 | → | dhruvasagar joins (~dhruvasag@49.207.210.202) |
| 20:20:36 | × | dhruvasagar quits (~dhruvasag@49.207.210.202) (Client Quit) |
| 20:20:56 | → | dhruvasagar joins (~dhruvasag@49.207.210.202) |
| 20:23:34 | × | michalz quits (~michalz@185.246.207.205) (Quit: ZNC 1.8.2 - https://znc.in) |
| 20:26:09 | → | bilegeek joins (~bilegeek@2600:1008:b04f:ac16:241:4e7b:fce9:569f) |
| 20:28:02 | → | waleee joins (~waleee@h-176-10-144-38.NA.cust.bahnhof.se) |
| 20:28:32 | → | ChaiTRex joins (~ChaiTRex@user/chaitrex) |
| 20:33:21 | × | dhruvasagar quits (~dhruvasag@49.207.210.202) (Quit: WeeChat 4.2.1) |
| 20:34:11 | → | dhruvasagar joins (~dhruvasag@49.207.210.202) |
| 20:34:26 | × | chexum quits (~quassel@gateway/tor-sasl/chexum) (Ping timeout: 260 seconds) |
| 20:35:31 | × | dhruvasagar quits (~dhruvasag@49.207.210.202) (Client Quit) |
| 20:35:59 | × | bilegeek quits (~bilegeek@2600:1008:b04f:ac16:241:4e7b:fce9:569f) (Read error: Connection reset by peer) |
| 20:36:49 | → | chexum joins (~quassel@gateway/tor-sasl/chexum) |
| 20:37:54 | × | chexum quits (~quassel@gateway/tor-sasl/chexum) (Remote host closed the connection) |
| 20:38:13 | → | chexum joins (~quassel@gateway/tor-sasl/chexum) |
| 20:48:14 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 20:49:33 | × | tessier quits (~treed@ip72-220-57-194.sd.sd.cox.net) (Ping timeout: 252 seconds) |
| 20:51:07 | → | tessier joins (~treed@ec2-184-72-149-67.compute-1.amazonaws.com) |
| 20:58:59 | × | tv quits (~tv@user/tv) (Ping timeout: 272 seconds) |
| 21:00:31 | → | bilegeek joins (~bilegeek@2600:1008:b04f:ac16:241:4e7b:fce9:569f) |
| 21:02:52 | → | machinedgod joins (~machinedg@d173-183-246-216.abhsia.telus.net) |
| 21:09:19 | <shapr> | Wow, I just spent days finding this bug |
| 21:09:40 | <shapr> | As far as I can tell, one of the `shrink` definitions is return the same value, claiming it's a shrunk value |
| 21:10:08 | <shapr> | also as far as I can tell, Test.Hspec.QuickCheck does not have a default value for max shrinks |
| 21:10:39 | <shapr> | combined, that means any failing case would spin forever and never return |
| 21:11:36 | × | jargon quits (~jargon@70.sub-174-205-226.myvzw.com) (Remote host closed the connection) |
| 21:11:44 | → | tv joins (~tv@user/tv) |
| 21:12:08 | <haskellbridge> | <sm> ouch |
| 21:12:28 | <haskellbridge> | <sm> shouldn't the test framework detect that |
| 21:12:31 | → | qeef joins (~qeef@138-169-143-94.cust.centrio.cz) |
| 21:12:31 | × | qeef quits (~qeef@138-169-143-94.cust.centrio.cz) (Client Quit) |
| 21:12:46 | → | jargon joins (~jargon@70.sub-174-205-226.myvzw.com) |
| 21:12:56 | → | qeef joins (~qeef@138-169-143-94.cust.centrio.cz) |
| 21:12:56 | <shapr> | I don't know, should it? |
| 21:13:25 | <haskellbridge> | <sm> if it can, I think it should. Sounds like it doesn't! |
| 21:14:00 | <haskellbridge> | <sm> and/or it should have some hard limit |
| 21:14:15 | <haskellbridge> | <sm> and/or it should have some upper limit |
| 21:14:47 | <shapr> | If there isn't already a default value for maxShrinks in Test.Hspec.QuickCheck, I will put up a pull request to create one |
| 21:15:25 | <shapr> | Another fix could a shrink wrapper that checks for previously return values? |
| 21:15:47 | × | _ht quits (~Thunderbi@28-52-174-82.ftth.glasoperator.nl) (Remote host closed the connection) |
| 21:16:02 | <haskellbridge> | <sm> yeah, you'd think it could compare previous and next value |
| 21:16:24 | <shapr> | that wouldn't find a cycle, but it would catch the simplest case |
| 21:17:03 | <haskellbridge> | <sm> ah, true |
| 21:30:29 | <tomsmeding> | Arbitrary doesn't have Eq as a superclass |
| 21:32:27 | <glguy> | shapr: which shrink default implementation does that? |
| 21:32:57 | <tomsmeding> | QuickCheck has Args.maxShrinks |
| 21:34:06 | <shapr> | glguy: pretty sure it's one of the hand written shrink definitions in this library |
| 21:34:14 | <shapr> | aka, it's likely my own fault |
| 21:35:07 | <tomsmeding> | shapr: and the default value for maxShrinks is maxBound :: Int |
| 21:38:23 | × | machinedgod quits (~machinedg@d173-183-246-216.abhsia.telus.net) (Ping timeout: 264 seconds) |
| 21:38:37 | <shapr> | ohhh |
| 21:38:52 | <shapr> | tomsmeding: is that from hspec or quickcheck? |
| 21:39:47 | × | son0p quits (~ff@152.203.80.45) (Read error: Connection reset by peer) |
| 21:48:29 | <shapr> | tomsmeding: aha I found it https://github.com/nick8325/quickcheck/blob/master/src/Test/QuickCheck/Test.hs#L172 |
| 21:55:10 | <shapr> | so if I'd waited for (maxBound :: Int) shrinks, I would have seen the problem. |
| 21:55:14 | <shapr> | > maxBound :: Int |
| 21:55:15 | <lambdabot> | 9223372036854775807 |
| 21:56:07 | ← | darkling parts (~darkling@2001-ba8-1f1-f0e6-0-0-0-2.autov6rev.bitfolk.space) (Summoning his cosmic powers, and glowing slightly from his toes...) |
| 21:56:18 | → | darkling joins (~darkling@2001-ba8-1f1-f0e6-0-0-0-2.autov6rev.bitfolk.space) |
| 21:57:09 | <haskellbridge> | <sm> how long would that have taken |
| 21:57:58 | × | ec quits (~ec@gateway/tor-sasl/ec) (Ping timeout: 260 seconds) |
| 21:58:46 | → | ec joins (~ec@gateway/tor-sasl/ec) |
| 21:59:35 | <shapr> | too long |
| 21:59:50 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 22:02:30 | → | pavonia joins (~user@user/siracusa) |
| 22:06:04 | × | ec quits (~ec@gateway/tor-sasl/ec) (Remote host closed the connection) |
| 22:06:38 | → | ec joins (~ec@gateway/tor-sasl/ec) |
| 22:12:47 | → | mik3d joins (~mik3d@pool-173-61-131-199.cmdnnj.fios.verizon.net) |
| 22:20:02 | × | mik3d quits (~mik3d@pool-173-61-131-199.cmdnnj.fios.verizon.net) (Read error: Connection reset by peer) |
| 22:24:23 | × | jargon quits (~jargon@70.sub-174-205-226.myvzw.com) (Remote host closed the connection) |
| 22:24:50 | → | mik3d joins (~mik3d@pool-173-61-131-199.cmdnnj.fios.verizon.net) |
| 22:28:25 | × | mik3d quits (~mik3d@pool-173-61-131-199.cmdnnj.fios.verizon.net) (Read error: Connection reset by peer) |
| 22:33:16 | × | takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection) |
| 22:37:20 | <shapr> | I think the moral of this story is to set maxShrinks to a human reasonable value by default. |
| 22:37:34 | <shapr> | Or maybe wrap every QuickCheck test in a timeout? |
| 22:38:20 | <glguy> | Maybe we should lower the value of maxBound :: Int to something more manageable |
| 22:38:55 | <shapr> | That's the enterprise approach |
| 22:39:02 | <shapr> | Do you work for a startup? :-D |
| 22:39:21 | <shapr> | @remember glguy Maybe we should lower the value of maxBound :: Int to something more manageable |
| 22:39:22 | <lambdabot> | Done. |
| 22:39:32 | × | ec quits (~ec@gateway/tor-sasl/ec) (Remote host closed the connection) |
| 22:39:48 | <glguy> | we're turning 25 soon, so probably too old to be a proper up-start |
| 22:40:00 | → | ec joins (~ec@gateway/tor-sasl/ec) |
| 22:40:34 | → | mik3d joins (~mik3d@pool-173-61-131-199.cmdnnj.fios.verizon.net) |
| 22:40:43 | <shapr> | too bad |
| 22:41:19 | <shapr> | glguy: but seriously, any thoughts on this problem? |
| 22:42:18 | <glguy> | I suspect that the QuickCheck authors are using maxBound as a stand-in for infinity and if you want earlier termination you're supposed to explicitly call for a smaller bound |
| 22:43:39 | <shapr> | I'd believe that. |
| 22:44:26 | <glguy> | I don't use quickcheck generally, so I don't have a strong opinion on the topic. It seems like a mistake if this library has a situation where: exists x. x `elem` shrink x |
| 22:45:09 | <glguy> | > A final gotcha: we cannot define shrink as simply shrink x = Nil:genericShrink x as this shrinks Nil to Nil, and shrinking will go into an infinite loop. |
| 22:45:10 | <lambdabot> | <hint>:1:60: error: parse error on input ‘=’ |
| 22:45:44 | <glguy> | the haddocks don't seem to actually explain the requirements of shrinking, but that example seems to preclude returning yourself |
| 22:45:57 | <shapr> | good find |
| 22:51:47 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 22:52:51 | <ph88> | when i have a Data.Map with a key newtype Foo = Foo Int can i expect speed ups when getting rid of that newtype and using IntMap instead ? |
| 22:54:48 | → | o-90 joins (~o-90@gateway/tor-sasl/o-90) |
| 22:55:35 | × | o-90 quits (~o-90@gateway/tor-sasl/o-90) (Remote host closed the connection) |
| 22:57:12 | → | motherfsck joins (~motherfsc@user/motherfsck) |
| 22:57:49 | <monochrom> | I think some benchmarks say yes and some benchmarks say no. :) |
| 23:10:45 | × | tv quits (~tv@user/tv) (Read error: Connection reset by peer) |
| 23:17:54 | × | vnogueira_ quits (~vnogueira@user/vnogueira) (Quit: ZNC 1.8.2 - https://znc.in) |
| 23:20:59 | → | vnogueira joins (~vnogueira@user/vnogueira) |
| 23:21:13 | → | notzmv joins (~daniel@user/notzmv) |
| 23:21:51 | × | ph88 quits (~ph88@2a02:8109:9e26:c800:e5ad:5837:1dbd:508c) (Remote host closed the connection) |
| 23:25:20 | → | tv joins (~tv@user/tv) |
| 23:36:06 | × | gmg quits (~user@user/gehmehgeh) (Quit: Leaving) |
| 23:40:29 | × | acidjnk quits (~acidjnk@p200300d6e70d3f76ac4c8c7b0af5042c.dip0.t-ipconnect.de) (Ping timeout: 240 seconds) |
| 23:47:40 | × | shapr quits (~user@c-24-218-186-89.hsd1.ma.comcast.net) (Quit: whewww) |
| 23:52:55 | × | Lycurgus quits (~georg@user/Lycurgus) (Quit: leaving) |
| 23:56:48 | × | Guest52 quits (~Guest52@185.57.29.142) (Quit: Client closed) |
| 23:56:53 | × | Tuplanolla quits (~Tuplanoll@91-159-69-59.elisa-laajakaista.fi) (Quit: Leaving.) |
| 23:57:10 | × | tremon quits (~tremon@83.80.159.219) (Quit: getting boxed in) |
| 23:59:46 | × | __monty__ quits (~toonn@user/toonn) (Quit: leaving) |
All times are in UTC on 2024-03-22.