Logs on 2023-11-14 (liberachat/#haskell)
| 00:00:37 | × | euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Ping timeout: 268 seconds) |
| 00:01:47 | → | euleritian joins (~euleritia@x5271790e.dyn.telefonica.de) |
| 00:05:19 | × | CiaoSen quits (~Jura@5.83.177.67) (Ping timeout: 264 seconds) |
| 00:10:01 | × | eggplantade quits (~Eggplanta@2600:1700:38c5:d800:3080:2ce:4a2:17) (Ping timeout: 260 seconds) |
| 00:12:49 | × | cstml quits (~cstml@user/cstml) (Ping timeout: 260 seconds) |
| 00:15:37 | × | caryhartline quits (~caryhartl@168.182.58.169) (Quit: caryhartline) |
| 00:22:51 | × | ph88^ quits (~ph88@2a02:8109:9e26:c800::302a) (Quit: Leaving) |
| 00:27:45 | × | alp quits (~alp@2001:861:5e02:eff0:ab69:69ba:52c5:1a83) (Ping timeout: 260 seconds) |
| 00:29:58 | × | Jackneill quits (~Jackneill@20014C4E1E058A00375EBC4DD70FB6A2.dsl.pool.telekom.hu) (Ping timeout: 258 seconds) |
| 00:30:23 | × | Maxdamantus quits (~Maxdamant@user/maxdamantus) (Ping timeout: 260 seconds) |
| 00:32:03 | → | Maxdamantus joins (~Maxdamant@user/maxdamantus) |
| 00:39:10 | × | billchenchina quits (~billchenc@2a0d:2580:ff0c:1:e3c9:c52b:a429:5bfe) (Remote host closed the connection) |
| 00:39:26 | → | billchenchina joins (~billchenc@2a0d:2580:ff0c:1:e3c9:c52b:a429:5bfe) |
| 00:39:54 | × | szkl quits (uid110435@id-110435.uxbridge.irccloud.com) (Quit: Connection closed for inactivity) |
| 00:44:39 | × | jinsun quits (~jinsun@user/jinsun) (Read error: Connection reset by peer) |
| 00:44:44 | × | lhpitn quits (~tn@mail.lebenshilfe-pi.de) (Read error: Connection reset by peer) |
| 00:44:54 | → | jinsun joins (~jinsun@user/jinsun) |
| 00:46:47 | → | lhpitn joins (~tn@mail.lebenshilfe-pi.de) |
| 00:54:03 | → | johnw joins (~johnw@69.62.242.138) |
| 00:55:40 | × | sabino quits (~sabino@user/sabino) (Ping timeout: 255 seconds) |
| 00:57:44 | → | sabino joins (~sabino@user/sabino) |
| 01:01:46 | <haskellbridge> | 08<tewuzij> The opposite of constitution |
| 01:02:08 | <ski> | destitution ? |
| 01:04:03 | → | yosef` joins (~yosef`@user/yosef/x-2947716) |
| 01:04:14 | × | pretty_dumm_guy quits (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Quit: WeeChat 3.5) |
| 01:11:26 | → | zero joins (~z@user/zero) |
| 01:15:03 | × | zzz quits (~z@user/zero) (Ping timeout: 240 seconds) |
| 01:18:50 | × | Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 255 seconds) |
| 01:19:51 | → | Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915) |
| 01:20:21 | → | sdz joins (~sdz@user/sdz) |
| 01:28:14 | × | thegman quits (~thegman@072-239-207-086.res.spectrum.com) (Read error: Connection reset by peer) |
| 01:44:54 | → | caryhartline joins (~caryhartl@168.182.58.169) |
| 01:46:22 | × | sabino quits (~sabino@user/sabino) (Quit: Lambda _ -> x) |
| 01:54:28 | → | machinedgod joins (~machinedg@d198-53-218-113.abhsia.telus.net) |
| 02:00:34 | tabemann_ | is now known as tabemann |
| 02:07:25 | → | eggplantade joins (~Eggplanta@2600:1700:38c5:d800:3080:2ce:4a2:17) |
| 02:10:11 | → | pavonia joins (~user@user/siracusa) |
| 02:10:54 | × | kritzefitz quits (~kritzefit@debian/kritzefitz) (Server closed connection) |
| 02:11:00 | × | fweht quits (uid404746@id-404746.lymington.irccloud.com) (Quit: Connection closed for inactivity) |
| 02:11:07 | → | kritzefitz joins (~kritzefit@debian/kritzefitz) |
| 02:14:01 | × | otto_s quits (~user@p5b044659.dip0.t-ipconnect.de) (Ping timeout: 240 seconds) |
| 02:15:13 | × | caryhartline quits (~caryhartl@168.182.58.169) (Quit: caryhartline) |
| 02:15:45 | → | nate3 joins (~nate@c-98-45-158-125.hsd1.ca.comcast.net) |
| 02:16:08 | → | otto_s joins (~user@p5de2f612.dip0.t-ipconnect.de) |
| 02:16:39 | × | xff0x quits (~xff0x@2405:6580:b080:900:a560:5a24:e27a:a22e) (Ping timeout: 240 seconds) |
| 02:21:27 | × | billchenchina quits (~billchenc@2a0d:2580:ff0c:1:e3c9:c52b:a429:5bfe) (Remote host closed the connection) |
| 02:21:46 | → | billchenchina joins (~billchenc@2a0d:2580:ff0c:1:e3c9:c52b:a429:5bfe) |
| 02:23:44 | → | caryhartline joins (~caryhartl@168.182.58.169) |
| 02:26:34 | → | bitdex joins (~bitdex@gateway/tor-sasl/bitdex) |
| 02:29:05 | × | RMSBach quits (~guygastin@137.184.131.156) (Server closed connection) |
| 02:29:29 | × | dontdieych_ quits (~alarm@132.226.169.184) (Server closed connection) |
| 02:29:54 | → | dontdieych_ joins (~alarm@132.226.169.184) |
| 02:30:26 | → | RMSBach joins (~guygastin@137.184.131.156) |
| 02:30:35 | × | APic quits (apic@apic.name) (Server closed connection) |
| 02:30:48 | → | APic joins (apic@apic.name) |
| 02:35:11 | × | piele_ quits (~piele@tbonesteak.creativeserver.net) (Server closed connection) |
| 02:35:23 | → | piele joins (~piele@tbonesteak.creativeserver.net) |
| 02:40:55 | × | caryhartline quits (~caryhartl@168.182.58.169) (Quit: caryhartline) |
| 02:43:17 | × | davean quits (~davean@davean.sciesnet.net) (Server closed connection) |
| 02:43:35 | → | davean joins (~davean@davean.sciesnet.net) |
| 02:53:08 | × | markasoftware quits (~quassel@107.161.26.124) (Server closed connection) |
| 02:53:25 | → | markasoftware joins (~quassel@107.161.26.124) |
| 02:54:18 | × | Clint quits (~Clint@user/clint) (Server closed connection) |
| 02:54:26 | → | Clint joins (~Clint@user/clint) |
| 02:55:54 | × | ChaiTRex quits (~ChaiTRex@user/chaitrex) (Remote host closed the connection) |
| 02:56:18 | → | ChaiTRex joins (~ChaiTRex@user/chaitrex) |
| 03:01:23 | × | cross quits (~cross@spitfire.i.gajendra.net) (Server closed connection) |
| 03:01:56 | → | cross joins (~cross@spitfire.i.gajendra.net) |
| 03:05:29 | → | xff0x joins (~xff0x@125x103x176x34.ap125.ftth.ucom.ne.jp) |
| 03:06:23 | × | ByronJohnson quits (~bairyn@50-250-232-19-static.hfc.comcastbusiness.net) (Server closed connection) |
| 03:06:32 | → | ByronJohnson joins (~bairyn@50-250-232-19-static.hfc.comcastbusiness.net) |
| 03:06:42 | × | loonycyborg quits (loonycybor@wesnoth/developer/loonycyborg) (Server closed connection) |
| 03:07:17 | → | loonycyborg joins (loonycybor@wesnoth/developer/loonycyborg) |
| 03:14:02 | × | polux quits (~polux@51-15-169-172.rev.poneytelecom.eu) (Server closed connection) |
| 03:14:19 | → | polux joins (~polux@51-15-169-172.rev.poneytelecom.eu) |
| 03:18:53 | × | nate3 quits (~nate@c-98-45-158-125.hsd1.ca.comcast.net) (Ping timeout: 240 seconds) |
| 03:20:07 | × | td_ quits (~td@i5387093F.versanet.de) (Ping timeout: 255 seconds) |
| 03:20:45 | × | _xor quits (~xor@72.49.195.41) (Read error: Connection reset by peer) |
| 03:21:44 | → | td_ joins (~td@i53870929.versanet.de) |
| 03:23:12 | → | _xor joins (~xor@72.49.195.41) |
| 03:25:31 | → | sadmax joins (~user@64.130.91.66) |
| 03:26:11 | × | sadmax quits (~user@64.130.91.66) (Remote host closed the connection) |
| 03:27:10 | → | sadmax joins (~user@64.130.91.66) |
| 03:27:45 | × | sadmax quits (~user@64.130.91.66) (Remote host closed the connection) |
| 03:28:16 | → | sadmax joins (~user@64.130.91.66) |
| 03:30:08 | <hammond> | https://benchmarksgame-team.pages.debian.net/benchmarksgame/performance/fannkuchredux.html |
| 03:30:26 | <hammond> | i find this hard to believe, pyhton and php faster than haskell? |
| 03:33:17 | × | eggplantade quits (~Eggplanta@2600:1700:38c5:d800:3080:2ce:4a2:17) (Remote host closed the connection) |
| 03:33:20 | × | ario quits (~ario@159.65.220.102) (Server closed connection) |
| 03:33:29 | → | ario joins (~ario@159.65.220.102) |
| 03:33:32 | → | eggplantade joins (~Eggplanta@2600:1700:38c5:d800:3080:2ce:4a2:17) |
| 03:36:35 | × | ent quits (entgod@kapsi.fi) (Server closed connection) |
| 03:36:43 | → | ent joins (entgod@kapsi.fi) |
| 03:38:50 | × | dminuoso quits (~dminuoso@user/dminuoso) (Server closed connection) |
| 03:39:11 | → | dminuoso joins (~dminuoso@user/dminuoso) |
| 03:42:17 | <yushyin> | run the benchmark yourself for php,python and haskell and see :) |
| 03:47:30 | × | yosef` quits (~yosef`@user/yosef/x-2947716) (Ping timeout: 250 seconds) |
| 03:48:02 | × | simpleauthority quits (~simpleaut@user/simpleauthority) (Server closed connection) |
| 03:48:22 | → | simpleauthority joins (~simpleaut@user/simpleauthority) |
| 03:53:23 | × | YuutaW quits (~YuutaW@mail.yuuta.moe) (Ping timeout: 260 seconds) |
| 03:53:27 | <EvanR> | look at the cpu load column |
| 03:53:47 | <[Leary]> | hammond: If you look at the CPU load, clearly something is going very wrong with the parallelism in that particular piece of code. If you also look a bit lower, there are more competitive Haskell entries in the "unsafe" category. |
| 03:55:07 | <EvanR> | also PHP 8 might not be a badly implemented as I remember from last time I used php (like php4) |
| 03:56:52 | <[Leary]> | Python can also be very fast when all the glue code falls away and it's just BLAS underneath. I'm actually surprised it's so low in the ranks. |
| 03:58:40 | <EvanR> | haskell code has this, flop (7:x1:x2:x3:x4:x5:x6:t) = x6:x5:x4:x3:x2:x1:7:t. I wonder if at this point using a vector or a strict data type with 8 fields would be better |
| 03:59:27 | → | finn_elija joins (~finn_elij@user/finn-elija/x-0085643) |
| 03:59:27 | × | FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Killed (NickServ (Forcing logout FinnElija -> finn_elija))) |
| 03:59:27 | finn_elija | is now known as FinnElija |
| 04:00:45 | <EvanR> | nvm, it seems to be a longer list |
| 04:05:47 | × | agander_m quits (sid407952@id-407952.tinside.irccloud.com) (Server closed connection) |
| 04:05:57 | → | agander_m joins (sid407952@id-407952.tinside.irccloud.com) |
| 04:09:30 | × | edr quits (~edr@user/edr) (Quit: Leaving) |
| 04:09:41 | → | YuutaW joins (~YuutaW@mail.yuuta.moe) |
| 04:10:44 | × | dy quits (sid3438@user/dy) (Server closed connection) |
| 04:10:54 | → | dy joins (sid3438@user/dy) |
| 04:11:14 | × | infinity0 quits (~infinity0@pwned.gg) (Remote host closed the connection) |
| 04:11:23 | × | xelxebar quits (~xelxebar@wilsonb.com) (Server closed connection) |
| 04:11:44 | → | xelxebar joins (~xelxebar@wilsonb.com) |
| 04:11:50 | → | aforemny joins (~aforemny@i59F516FE.versanet.de) |
| 04:12:59 | × | sadmax quits (~user@64.130.91.66) (Ping timeout: 260 seconds) |
| 04:12:59 | × | aforemny_ quits (~aforemny@2001:9e8:6ce5:8e00:9c3e:9c3b:5b8a:f18d) (Ping timeout: 255 seconds) |
| 04:13:27 | → | infinity0 joins (~infinity0@pwned.gg) |
| 04:15:29 | × | ddellacosta quits (~ddellacos@ool-44c738de.dyn.optonline.net) (Ping timeout: 260 seconds) |
| 04:17:03 | → | ddellacosta joins (~ddellacos@ool-44c738de.dyn.optonline.net) |
| 04:18:53 | × | sdz quits (~sdz@user/sdz) (Quit: leaving) |
| 04:19:13 | → | sdz joins (~sdz@user/sdz) |
| 04:20:02 | × | mzg quits (mzg@37.221.213.54) (Server closed connection) |
| 04:20:11 | → | mzg joins (mzg@lazy.unconscious.biz) |
| 04:21:13 | × | notzmv quits (~zmv@user/notzmv) (Ping timeout: 246 seconds) |
| 04:21:14 | × | sdz quits (~sdz@user/sdz) (Client Quit) |
| 04:21:41 | → | sdz joins (~sdz@user/sdz) |
| 04:22:25 | × | sdz quits (~sdz@user/sdz) (Client Quit) |
| 04:23:14 | → | sdz joins (~sdz@user/sdz) |
| 04:28:37 | × | friendshipaka quits (~Friendshi@user/Friendship) (Read error: Connection reset by peer) |
| 04:28:50 | × | bcmiller quits (~bm3719@66.42.95.185) (Server closed connection) |
| 04:28:57 | → | friendshipaka joins (~Friendshi@user/Friendship) |
| 04:29:00 | → | bcmiller joins (~bm3719@66.42.95.185) |
| 04:35:29 | × | hook54321 quits (sid149355@user/hook54321) (Server closed connection) |
| 04:36:47 | → | hook54321 joins (sid149355@user/hook54321) |
| 04:37:08 | × | jakesyl_____ quits (sid56879@id-56879.hampstead.irccloud.com) (Server closed connection) |
| 04:37:37 | → | jakesyl_____ joins (sid56879@id-56879.hampstead.irccloud.com) |
| 04:39:11 | × | carbolymer quits (~carbolyme@dropacid.net) (Server closed connection) |
| 04:39:22 | → | carbolymer joins (~carbolyme@dropacid.net) |
| 04:41:22 | → | libman08701 joins (~Thunderbi@66.sub-174-198-194.myvzw.com) |
| 04:45:19 | → | Inst joins (~Inst@120.244.192.250) |
| 04:45:38 | ← | Inst parts (~Inst@120.244.192.250) (Leaving) |
| 04:47:32 | × | libman08701 quits (~Thunderbi@66.sub-174-198-194.myvzw.com) (Quit: libman08701) |
| 04:50:05 | × | euleritian quits (~euleritia@x5271790e.dyn.telefonica.de) (Read error: Connection reset by peer) |
| 04:50:23 | → | euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) |
| 04:51:26 | × | taktoa[c] quits (sid282096@id-282096.tinside.irccloud.com) (Server closed connection) |
| 04:51:36 | → | taktoa[c] joins (sid282096@id-282096.tinside.irccloud.com) |
| 04:52:49 | × | waleee quits (~waleee@h-176-10-144-38.NA.cust.bahnhof.se) (Ping timeout: 255 seconds) |
| 04:52:50 | × | billchenchina quits (~billchenc@2a0d:2580:ff0c:1:e3c9:c52b:a429:5bfe) (Quit: Leaving) |
| 04:53:38 | × | pepeiborra quits (sid443799@id-443799.ilkley.irccloud.com) (Server closed connection) |
| 04:53:48 | → | pepeiborra joins (sid443799@id-443799.ilkley.irccloud.com) |
| 04:57:29 | × | evertedsphere quits (sid434122@id-434122.hampstead.irccloud.com) (Server closed connection) |
| 04:57:38 | → | evertedsphere joins (sid434122@id-434122.hampstead.irccloud.com) |
| 05:03:17 | × | machinedgod quits (~machinedg@d198-53-218-113.abhsia.telus.net) (Ping timeout: 240 seconds) |
| 05:04:54 | → | _ht joins (~Thunderbi@28-52-174-82.ftth.glasoperator.nl) |
| 05:13:27 | × | [_] quits (~itchyjunk@user/itchyjunk/x-7353470) (Read error: Connection reset by peer) |
| 05:13:45 | → | trev joins (~trev@user/trev) |
| 05:15:00 | → | Inst joins (~Inst@120.244.192.250) |
| 05:15:50 | × | energizer quits (~energizer@user/energizer) (Server closed connection) |
| 05:15:57 | ← | Inst parts (~Inst@120.244.192.250) () |
| 05:16:10 | → | energizer joins (~energizer@user/energizer) |
| 05:19:47 | → | misterfish joins (~misterfis@84-53-85-146.bbserv.nl) |
| 05:21:08 | × | wz1000 quits (~zubin@static.11.113.47.78.clients.your-server.de) (Server closed connection) |
| 05:21:26 | → | wz1000 joins (~zubin@static.11.113.47.78.clients.your-server.de) |
| 05:21:45 | × | raym quits (~ray@user/raym) (Quit: Upgrade to FreeBSD 14.0-RELEASE) |
| 05:26:00 | → | _xor5 joins (~xor@72.49.195.41) |
| 05:26:00 | × | _xor quits (~xor@72.49.195.41) (Read error: Connection reset by peer) |
| 05:26:00 | _xor5 | is now known as _xor |
| 05:28:05 | × | sweater1 quits (~sweater@206.81.18.26) (Server closed connection) |
| 05:28:25 | → | sweater1 joins (~sweater@206.81.18.26) |
| 05:28:36 | → | Inst joins (~Inst@120.244.192.250) |
| 05:30:24 | × | _xor quits (~xor@72.49.195.41) (Read error: Connection reset by peer) |
| 05:31:02 | × | Pent quits (sid313808@id-313808.lymington.irccloud.com) (Server closed connection) |
| 05:31:15 | → | Pent joins (sid313808@id-313808.lymington.irccloud.com) |
| 05:31:35 | × | hamishmack quits (sid389057@id-389057.hampstead.irccloud.com) (Server closed connection) |
| 05:31:45 | → | hamishmack joins (sid389057@id-389057.hampstead.irccloud.com) |
| 05:32:28 | → | _xor joins (~xor@72.49.195.41) |
| 05:33:02 | × | ezzieyguywuf quits (~Unknown@user/ezzieyguywuf) (Remote host closed the connection) |
| 05:34:28 | × | _xor quits (~xor@72.49.195.41) (Read error: Connection reset by peer) |
| 05:36:45 | → | _xor joins (~xor@72.49.195.41) |
| 05:38:17 | × | _xor quits (~xor@72.49.195.41) (Read error: Connection reset by peer) |
| 05:39:31 | → | michalz joins (~michalz@185.246.207.222) |
| 05:41:37 | → | ezzieyguywuf joins (~Unknown@user/ezzieyguywuf) |
| 05:42:01 | → | _xor joins (~xor@72.49.195.41) |
| 05:56:37 | → | rosco joins (~rosco@175.136.157.149) |
| 05:59:55 | × | Inst quits (~Inst@120.244.192.250) (Ping timeout: 245 seconds) |
| 06:04:49 | Wstfgl0 | is now known as Me-me |
| 06:04:52 | × | Me-me quits (~me-me@2602:ff16:3:0:1:dc:beef:d00d) (Changing host) |
| 06:04:52 | → | Me-me joins (~me-me@user/me-me) |
| 06:09:49 | × | euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Ping timeout: 260 seconds) |
| 06:10:43 | → | euleritian joins (~euleritia@x5271790e.dyn.telefonica.de) |
| 06:14:10 | → | zetef joins (~quassel@95.77.17.251) |
| 06:14:33 | × | euleritian quits (~euleritia@x5271790e.dyn.telefonica.de) (Read error: Connection reset by peer) |
| 06:14:41 | × | siers quits (~ij@user/ij) (Server closed connection) |
| 06:14:51 | → | euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) |
| 06:15:02 | → | siers joins (~ij@user/ij) |
| 06:17:21 | × | oats quits (~thomas@user/oats) (Server closed connection) |
| 06:20:31 | → | lisbeths joins (uid135845@id-135845.lymington.irccloud.com) |
| 06:21:35 | × | darkling quits (~darkling@2001-ba8-1f1-f0e6-0-0-0-2.autov6rev.bitfolk.space) (Server closed connection) |
| 06:21:40 | → | oats joins (~thomas@user/oats) |
| 06:21:47 | → | darkling joins (~darkling@savella.carfax.org.uk) |
| 06:21:48 | → | yosef` joins (~yosef`@user/yosef/x-2947716) |
| 06:23:59 | → | siw5ohs0 joins (~aiw5ohs0@user/aiw5ohs0) |
| 06:24:14 | ← | siw5ohs0 parts (~aiw5ohs0@user/aiw5ohs0) () |
| 06:24:48 | × | misterfish quits (~misterfis@84-53-85-146.bbserv.nl) (Ping timeout: 268 seconds) |
| 06:25:11 | → | acidjnk joins (~acidjnk@p200300d6e72b93217d79895cb809dcc2.dip0.t-ipconnect.de) |
| 06:27:15 | → | takuan joins (~takuan@178-116-218-225.access.telenet.be) |
| 06:28:32 | → | idgaen joins (~idgaen@2a01:e0a:498:fd50:fcc6:bb5d:489a:ce8c) |
| 06:30:05 | × | Arsen quits (arsen@gentoo/developer/managarm.dev.Arsen) (Server closed connection) |
| 06:30:29 | → | Arsen joins (arsen@gentoo/developer/managarm.dev.Arsen) |
| 06:31:35 | × | euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Ping timeout: 268 seconds) |
| 06:31:56 | → | euleritian joins (~euleritia@x5271790e.dyn.telefonica.de) |
| 06:36:12 | × | _ht quits (~Thunderbi@28-52-174-82.ftth.glasoperator.nl) (Quit: _ht) |
| 06:38:51 | × | nadja quits (~dequbed@banana-new.kilobyte22.de) (Server closed connection) |
| 06:39:00 | → | nadja joins (~dequbed@banana-new.kilobyte22.de) |
| 06:41:44 | × | remmie quits (ianremsen@tilde.team) (Server closed connection) |
| 06:42:11 | × | sshine quits (~simon@zhen.mechanicus.xyz) (Server closed connection) |
| 06:42:24 | → | sshine joins (~simon@zhen.mechanicus.xyz) |
| 06:44:08 | × | andreas303 quits (andreas303@is.drunk.and.ready-to.party) (Server closed connection) |
| 06:44:14 | → | remmie joins (ianremsen@tilde.team) |
| 06:44:23 | → | andreas303 joins (andreas303@is.drunk.and.ready-to.party) |
| 06:49:29 | × | lyxia quits (~lyxia@poisson.chat) (Server closed connection) |
| 06:49:47 | → | lyxia joins (~lyxia@poisson.chat) |
| 06:50:35 | × | yoyofreeman quits (~yoyofreem@176.97.76.178) (Quit: Leaving) |
| 06:52:03 | → | hsw_ joins (~hsw@2001-b030-2303-0104-0172-0025-0012-0132.hinet-ip6.hinet.net) |
| 06:53:38 | × | hsw quits (~hsw@2001-b030-2303-0104-0172-0025-0012-0132.hinet-ip6.hinet.net) (Ping timeout: 255 seconds) |
| 06:54:03 | → | chomwitt joins (~chomwitt@2a02:587:7a12:2d00:1ac0:4dff:fedb:a3f1) |
| 06:59:14 | → | aliosablack joins (~chomwitt@athedsl-346287.home.otenet.gr) |
| 06:59:20 | × | chomwitt quits (~chomwitt@2a02:587:7a12:2d00:1ac0:4dff:fedb:a3f1) (Ping timeout: 268 seconds) |
| 07:10:03 | × | lav quits (~pi@wikipedia/maddy-from-celeste) (Server closed connection) |
| 07:10:28 | → | lav joins (~pi@wikipedia/maddy-from-celeste) |
| 07:14:09 | × | sdz quits (~sdz@user/sdz) (Quit: leaving) |
| 07:16:11 | → | nate3 joins (~nate@c-98-45-158-125.hsd1.ca.comcast.net) |
| 07:16:38 | × | noctux quits (~noctux@user/noctux) (Server closed connection) |
| 07:16:46 | → | noctux joins (~noctux@user/noctux) |
| 07:18:50 | × | fr33domlover quits (~fr33domlo@towards.vision) (Server closed connection) |
| 07:19:14 | → | fr33domlover joins (~fr33domlo@towards.vision) |
| 07:21:32 | × | nate3 quits (~nate@c-98-45-158-125.hsd1.ca.comcast.net) (Ping timeout: 268 seconds) |
| 07:28:19 | × | zetef quits (~quassel@95.77.17.251) (Ping timeout: 268 seconds) |
| 07:30:50 | → | _xor2 joins (~xor@72.49.195.41) |
| 07:30:53 | × | emergence quits (emergence@2607:5300:60:5910:dcad:beff:feef:5bc) (Server closed connection) |
| 07:31:06 | → | emergence joins (emergence@2607:5300:60:5910:dcad:beff:feef:5bc) |
| 07:31:14 | × | _xor quits (~xor@72.49.195.41) (Read error: Connection reset by peer) |
| 07:31:15 | _xor2 | is now known as _xor |
| 07:32:02 | × | meinside quits (uid24933@id-24933.helmsley.irccloud.com) (Server closed connection) |
| 07:32:11 | → | meinside joins (uid24933@id-24933.helmsley.irccloud.com) |
| 07:33:18 | → | zetef joins (~quassel@95.77.17.251) |
| 07:33:23 | × | Unicorn_Princess quits (~Unicorn_P@user/Unicorn-Princess/x-3540542) (Remote host closed the connection) |
| 07:34:48 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 07:39:11 | × | lockywolf quits (~lockywolf@public.lockywolf.net) (Server closed connection) |
| 07:39:30 | → | lockywolf joins (~lockywolf@public.lockywolf.net) |
| 07:40:38 | × | abrar quits (~abrar@pool-108-52-90-30.phlapa.fios.verizon.net) (Server closed connection) |
| 07:41:02 | → | abrar joins (~abrar@pool-108-52-90-30.phlapa.fios.verizon.net) |
| 07:45:17 | × | beaky quits (~beaky@2a03:b0c0:0:1010::1e:a001) (Server closed connection) |
| 07:45:36 | → | beaky joins (~beaky@2a03:b0c0:0:1010::1e:a001) |
| 07:47:43 | × | thegeekinside quits (~thegeekin@189.141.80.123) (Ping timeout: 246 seconds) |
| 07:48:32 | × | rune_ quits (sid21167@id-21167.ilkley.irccloud.com) (Server closed connection) |
| 07:48:40 | → | rune_ joins (sid21167@id-21167.ilkley.irccloud.com) |
| 07:50:11 | × | hexology quits (~hexology@user/hexology) (Server closed connection) |
| 07:50:32 | → | hexology joins (~hexology@user/hexology) |
| 07:50:50 | → | machinedgod joins (~machinedg@d198-53-218-113.abhsia.telus.net) |
| 07:51:17 | → | lortabac joins (~lorenzo@2a01:e0a:541:b8f0:eb3:c118:e5b7:cdf3) |
| 07:51:33 | × | zetef quits (~quassel@95.77.17.251) (Ping timeout: 260 seconds) |
| 07:52:02 | → | gmg joins (~user@user/gehmehgeh) |
| 07:57:03 | → | sord937 joins (~sord937@gateway/tor-sasl/sord937) |
| 07:58:59 | × | hammond quits (proscan@user/hammond2) (Server closed connection) |
| 07:59:08 | → | hammond joins (proscan@gateway02.insomnia247.nl) |
| 08:02:17 | × | mjacob quits (~mjacob@adrastea.uberspace.de) (Server closed connection) |
| 08:02:26 | → | mjacob joins (~mjacob@adrastea.uberspace.de) |
| 08:04:12 | → | misterfish joins (~misterfis@87.215.131.102) |
| 08:07:07 | → | arahael joins (~arahael@119-18-2-212.771202.syd.nbn.aussiebb.net) |
| 08:07:11 | × | patrl quits (~patrl@user/patrl) (Server closed connection) |
| 08:07:25 | → | patrl joins (~patrl@user/patrl) |
| 08:08:18 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 08:13:00 | → | zetef joins (~quassel@95.77.17.251) |
| 08:14:59 | → | Inst joins (~Inst@120.244.192.250) |
| 08:15:17 | <Inst> | is a program of main = undefined tautologically correct in type theory? |
| 08:15:41 | <Inst> | i.e, is it a vacuous truth? |
| 08:17:16 | <Inst> | or main = main ;) |
| 08:17:43 | × | phma quits (phma@2001:5b0:211f:6428:acc1:d82a:ec2e:4fd2) (Read error: Connection reset by peer) |
| 08:18:44 | × | roosterphant quits (~roosterph@user/roosterphant) (Server closed connection) |
| 08:18:48 | → | phma joins (phma@2001:5b0:2144:1ea8:391e:cdf9:d3a7:e03) |
| 08:19:05 | → | roosterphant joins (~roosterph@user/roosterphant) |
| 08:22:54 | × | nshepper1 quits (nshepperd@2600:3c03::f03c:92ff:fe28:92c9) (Server closed connection) |
| 08:23:11 | → | nshepper1 joins (nshepperd@2600:3c03::f03c:92ff:fe28:92c9) |
| 08:29:59 | × | S11001001 quits (sid42510@ilkley.irccloud.com) (Server closed connection) |
| 08:30:07 | → | S11001001 joins (sid42510@id-42510.ilkley.irccloud.com) |
| 08:30:59 | × | Lord_of_Life quits (~Lord@user/lord-of-life/x-2819915) (Read error: Connection reset by peer) |
| 08:31:49 | → | jmdaemon joins (~jmdaemon@user/jmdaemon) |
| 08:34:53 | × | mmaruseacph2 quits (~mihai@mihai.page) (Server closed connection) |
| 08:34:56 | × | wallymathieu quits (sid533252@uxbridge.irccloud.com) (Server closed connection) |
| 08:35:06 | → | wallymathieu joins (sid533252@id-533252.uxbridge.irccloud.com) |
| 08:35:08 | → | mmaruseacph2 joins (~mihai@mihai.page) |
| 08:37:31 | → | fendor joins (~fendor@2a02:8388:1640:be00:ca17:ceee:5bbe:1594) |
| 08:38:13 | → | Lord_of_Life joins (~Lord@user/lord-of-life/x-2819915) |
| 08:40:12 | → | CiaoSen joins (~Jura@2a05:5800:2a1:b00:2a3a:4dff:fe84:dbd5) |
| 08:42:38 | × | dragestil quits (~znc@user/dragestil) (Server closed connection) |
| 08:42:59 | → | dragestil joins (~znc@user/dragestil) |
| 08:44:08 | → | nilradical joins (~nilradica@user/naso) |
| 08:47:33 | × | apache2 quits (apache2@anubis.0x90.dk) (Read error: Connection reset by peer) |
| 08:47:41 | → | apache2 joins (apache2@anubis.0x90.dk) |
| 08:47:42 | × | [_________] quits (~oos95GWG@user/oos95GWG) (Server closed connection) |
| 08:48:00 | → | [_________] joins (~oos95GWG@user/oos95GWG) |
| 08:48:21 | → | polyphem joins (~polyphem@ip-109-43-49-92.web.vodafone.de) |
| 08:49:15 | × | ncf quits (~n@monade.li) (Server closed connection) |
| 08:49:21 | × | gmg quits (~user@user/gehmehgeh) (Remote host closed the connection) |
| 08:49:34 | → | ncf joins (~n@monade.li) |
| 08:50:08 | × | Dykam quits (Dykam@dykam.nl) (Server closed connection) |
| 08:50:17 | → | Dykam joins (Dykam@dykam.nl) |
| 08:51:04 | × | terrorjack quits (~terrorjac@2a01:4f8:c17:87f8::) (Ping timeout: 246 seconds) |
| 08:51:22 | × | V quits (~v@ircpuzzles/2022/april/winner/V) (Ping timeout: 258 seconds) |
| 08:51:24 | × | xnbya quits (~xnbya@2a01:4f8:c17:cbdd::1) (Ping timeout: 248 seconds) |
| 08:51:31 | × | s4msung quits (RZuYfCKc6a@user/s4msung) (Ping timeout: 264 seconds) |
| 08:51:35 | × | yushyin quits (lVHsxtO6yj@mail.karif.server-speed.net) (Ping timeout: 260 seconds) |
| 08:51:55 | → | V joins (~v@ircpuzzles/2022/april/winner/V) |
| 08:52:00 | × | polyphem quits (~polyphem@ip-109-43-49-92.web.vodafone.de) (Read error: Connection reset by peer) |
| 08:52:00 | × | zetef quits (~quassel@95.77.17.251) (Ping timeout: 245 seconds) |
| 08:53:23 | → | gmg joins (~user@user/gehmehgeh) |
| 08:54:11 | × | alinab quits (sid468903@helmsley.irccloud.com) (Server closed connection) |
| 08:54:20 | → | alinab joins (sid468903@id-468903.helmsley.irccloud.com) |
| 08:54:31 | → | s4msung joins (qaYkM6pCDy@user/s4msung) |
| 08:54:52 | → | xnbya joins (~xnbya@116.202.23.221) |
| 09:01:36 | × | lortabac quits (~lorenzo@2a01:e0a:541:b8f0:eb3:c118:e5b7:cdf3) (Quit: WeeChat 3.5) |
| 09:01:41 | → | pretty_dumm_guy joins (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) |
| 09:02:10 | × | tzh quits (~tzh@c-71-193-181-0.hsd1.or.comcast.net) (Quit: zzz) |
| 09:06:28 | × | econo_ quits (uid147250@id-147250.tinside.irccloud.com) (Quit: Connection closed for inactivity) |
| 09:06:49 | → | yushyin joins (XznNkBgf65@karif.server-speed.net) |
| 09:06:53 | → | caryhartline joins (~caryhartl@168.182.58.169) |
| 09:07:25 | × | caryhartline quits (~caryhartl@168.182.58.169) (Client Quit) |
| 09:08:29 | × | aristid quits (sid1599@uxbridge.irccloud.com) (Server closed connection) |
| 09:08:37 | → | aristid joins (sid1599@id-1599.uxbridge.irccloud.com) |
| 09:09:51 | × | qhong_ quits (~qhong@DN160vrd000d6kpg009l6c0000fj.stanford.edu) (Ping timeout: 240 seconds) |
| 09:10:48 | → | qhong joins (~qhong@DN160vrd000d6kpg009l6c0000fj.stanford.edu) |
| 09:10:58 | → | zetef joins (~quassel@95.77.17.251) |
| 09:11:11 | → | terrorjack joins (~terrorjac@2a01:4f8:c17:87f8::) |
| 09:14:12 | → | Square joins (~Square@user/square) |
| 09:14:53 | → | chele joins (~chele@user/chele) |
| 09:17:08 | × | Sgeo quits (~Sgeo@user/sgeo) (Read error: Connection reset by peer) |
| 09:17:16 | → | danse-nr3 joins (~danse@151.47.252.179) |
| 09:17:26 | × | nilradical quits (~nilradica@user/naso) (Remote host closed the connection) |
| 09:17:45 | → | Jackneill joins (~Jackneill@20014C4E1E1AA2006F74B99BA9A50702.dsl.pool.telekom.hu) |
| 09:18:45 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 09:18:55 | → | nilradical joins (~nilradica@user/naso) |
| 09:20:49 | × | euleritian quits (~euleritia@x5271790e.dyn.telefonica.de) (Read error: Connection reset by peer) |
| 09:21:07 | → | euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) |
| 09:22:06 | → | alp joins (~alp@2001:861:5e02:eff0:453a:9a31:40c7:7965) |
| 09:23:03 | × | vjoki quits (~vjoki@2a00:d880:3:1::fea1:9ae) (Ping timeout: 240 seconds) |
| 09:23:17 | × | nilradical quits (~nilradica@user/naso) (Ping timeout: 240 seconds) |
| 09:23:17 | → | vjoki joins (~vjoki@2a00:d880:3:1::fea1:9ae) |
| 09:23:27 | × | hamess quits (~hamess@user/hamess) (Ping timeout: 240 seconds) |
| 09:23:38 | × | lambdap2371 quits (~lambdap@static.167.190.119.168.clients.your-server.de) (Server closed connection) |
| 09:23:47 | → | hamess joins (~hamess@user/hamess) |
| 09:23:55 | → | lambdap2371 joins (~lambdap@static.167.190.119.168.clients.your-server.de) |
| 09:27:08 | → | coot joins (~coot@89-69-206-216.dynamic.chello.pl) |
| 09:29:11 | × | nek0 quits (~nek0@2a01:4f8:222:2b41::12) (Server closed connection) |
| 09:29:15 | × | eggplantade quits (~Eggplanta@2600:1700:38c5:d800:3080:2ce:4a2:17) (Remote host closed the connection) |
| 09:29:30 | → | nek0 joins (~nek0@2a01:4f8:222:2b41::12) |
| 09:31:51 | × | lambdabot quits (~lambdabot@haskell/bot/lambdabot) (Ping timeout: 240 seconds) |
| 09:32:39 | × | mira quits (~aranea@wireguard/contributorcat/mira) (Ping timeout: 240 seconds) |
| 09:33:03 | → | mira joins (~aranea@wireguard/contributorcat/mira) |
| 09:33:40 | → | lambdabot joins (~lambdabot@silicon.int-e.eu) |
| 09:33:40 | × | lambdabot quits (~lambdabot@silicon.int-e.eu) (Changing host) |
| 09:33:40 | → | lambdabot joins (~lambdabot@haskell/bot/lambdabot) |
| 09:33:40 | ChanServ | sets mode +v lambdabot |
| 09:35:26 | × | b20n quits (sid115913@uxbridge.irccloud.com) (Server closed connection) |
| 09:35:35 | → | b20n joins (sid115913@id-115913.uxbridge.irccloud.com) |
| 09:35:54 | × | yosef` quits (~yosef`@user/yosef/x-2947716) (Ping timeout: 250 seconds) |
| 09:37:03 | × | sefidel quits (~sefidel@user/sefidel) (Ping timeout: 240 seconds) |
| 09:38:36 | × | chexum quits (~quassel@gateway/tor-sasl/chexum) (Remote host closed the connection) |
| 09:38:48 | → | chexum joins (~quassel@gateway/tor-sasl/chexum) |
| 09:39:51 | × | whatsupdoc quits (uid509081@id-509081.hampstead.irccloud.com) (Ping timeout: 240 seconds) |
| 09:40:08 | → | sefidel joins (~sefidel@user/sefidel) |
| 09:41:50 | → | whatsupdoc joins (uid509081@id-509081.hampstead.irccloud.com) |
| 09:42:50 | <danse-nr3> | i thought `sort` could leverage non-strictness in order to be more efficient when parts of the returned list are not used, but it does not seem to be the case |
| 09:43:05 | <danse-nr3> | also, good morning from this slice of the world |
| 09:46:44 | × | _d0t quits (~{-d0t-}@user/-d0t-/x-7915216) (Server closed connection) |
| 09:46:59 | → | _d0t joins (~{-d0t-}@user/-d0t-/x-7915216) |
| 09:48:59 | × | mrmonday quits (~robert@what.i.hope.is.not.a.tabernaevagant.es) (Server closed connection) |
| 09:49:09 | → | mrmonday joins (~robert@what.i.hope.is.not.a.tabernaevagant.es) |
| 09:50:32 | <Hecate> | morning danse-nr3 |
| 09:50:38 | × | anon1123_ quits (~anon1123@2a02:ab88:282:b00:da3a:ddff:fe3a:947c) (Server closed connection) |
| 09:50:43 | <danse-nr3> | ^^ |
| 09:50:55 | → | anon1123 joins (~anon1123@2a02:ab88:282:b00:da3a:ddff:fe3a:947c) |
| 09:51:15 | × | acidsys quits (~crameleon@openSUSE/member/crameleon) (Server closed connection) |
| 09:51:29 | → | acidsys joins (~crameleon@openSUSE/member/crameleon) |
| 09:53:56 | × | c_wraith quits (~c_wraith@adjoint.us) (Server closed connection) |
| 09:55:38 | → | c_wraith joins (~c_wraith@adjoint.us) |
| 09:55:54 | × | lisq quits (~quassel@lis.moe) (Server closed connection) |
| 09:56:03 | → | lisq joins (~quassel@lis.moe) |
| 09:57:47 | × | mcfrdy quits (~mcfrdy@user/mcfrdy) (Server closed connection) |
| 09:58:07 | → | mcfrdy joins (~mcfrdy@user/mcfrdy) |
| 09:59:02 | × | sus0 quits (zero@user/zeromomentum) (Read error: Connection reset by peer) |
| 09:59:10 | → | sus02 joins (zero@user/zeromomentum) |
| 10:10:44 | → | eggplantade joins (~Eggplanta@104-55-37-220.lightspeed.sntcca.sbcglobal.net) |
| 10:12:58 | × | xff0x quits (~xff0x@125x103x176x34.ap125.ftth.ucom.ne.jp) (Ping timeout: 268 seconds) |
| 10:13:03 | × | Philonous quits (~Philonous@user/philonous) (Ping timeout: 240 seconds) |
| 10:13:50 | → | Philonous joins (~Philonous@user/philonous) |
| 10:14:49 | → | __monty__ joins (~toonn@user/toonn) |
| 10:14:50 | × | Moyst_ quits (~moyst@user/moyst) (Server closed connection) |
| 10:16:07 | → | Moyst_ joins (~moyst@user/moyst) |
| 10:22:12 | → | fendor_ joins (~fendor@046125249112.public.t-mobile.at) |
| 10:23:57 | → | fweht joins (uid404746@id-404746.lymington.irccloud.com) |
| 10:23:58 | <mauke> | danse-nr3: how did you measure it? |
| 10:24:05 | → | lucasaiu joins (~lucasaiu@user/lucasaiu) |
| 10:24:15 | ← | lucasaiu parts (~lucasaiu@user/lucasaiu) (ERC 5.6-git (IRC client for GNU Emacs 30.0.50)) |
| 10:25:18 | × | fendor quits (~fendor@2a02:8388:1640:be00:ca17:ceee:5bbe:1594) (Ping timeout: 268 seconds) |
| 10:26:01 | <danse-nr3> | not very accurately, i just did a quick test sorting a reversed list [0..<bignumber>] and calling head on it, and compared with the same + force |
| 10:26:15 | <danse-nr3> | and compared with `minimum` |
| 10:27:58 | → | fendor__ joins (~fendor@84-115-228-189.cable.dynamic.surfer.at) |
| 10:28:48 | <mauke> | I think you'd have to time 'head (sort list)' for increasingly longer lists |
| 10:29:07 | × | zetef quits (~quassel@95.77.17.251) (Ping timeout: 260 seconds) |
| 10:29:25 | <mauke> | if it sorts the whole list, the time taken should grow faster than O(n) |
| 10:29:48 | <danse-nr3> | yeah not a bad idea, but if comparing with `force` for a long list does not show any advantage, it is enough for me i guess |
| 10:30:13 | × | fendor_ quits (~fendor@046125249112.public.t-mobile.at) (Ping timeout: 260 seconds) |
| 10:30:39 | × | int-e quits (~noone@int-e.eu) (Ping timeout: 240 seconds) |
| 10:31:35 | → | int-e joins (~noone@int-e.eu) |
| 10:31:51 | × | bwe quits (~bwe@2a01:4f8:1c1c:4878::2) (Ping timeout: 240 seconds) |
| 10:32:01 | → | bwe joins (~bwe@2a01:4f8:1c1c:4878::2) |
| 10:34:48 | → | zetef joins (~quassel@95.77.17.251) |
| 10:39:34 | → | cstml joins (~cstml@user/cstml) |
| 10:40:27 | × | rosco quits (~rosco@175.136.157.149) (Read error: Connection reset by peer) |
| 10:41:18 | <__monty__> | wg 16 |
| 10:41:26 | <__monty__> | >.< disregard |
| 10:44:47 | × | danse-nr3 quits (~danse@151.47.252.179) (Read error: Connection reset by peer) |
| 10:45:22 | → | danse-nr3 joins (~danse@151.47.234.14) |
| 10:47:10 | × | idgaen quits (~idgaen@2a01:e0a:498:fd50:fcc6:bb5d:489a:ce8c) (Quit: WeeChat 4.1.1) |
| 10:48:44 | × | eggplantade quits (~Eggplanta@104-55-37-220.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 268 seconds) |
| 10:48:53 | × | ft quits (~ft@p508db3bc.dip0.t-ipconnect.de) (Quit: leaving) |
| 10:50:34 | × | picnoir quits (~picnoir@about/aquilenet/vodoo/NinjaTrappeur) (Quit: WeeChat 4.1.1) |
| 10:53:42 | → | picnoir joins (~picnoir@about/aquilenet/vodoo/NinjaTrappeur) |
| 10:54:48 | × | PotatoGim quits (sid99505@id-99505.lymington.irccloud.com) (Server closed connection) |
| 10:55:10 | → | PotatoGim joins (sid99505@id-99505.lymington.irccloud.com) |
| 10:58:05 | × | fendor__ quits (~fendor@84-115-228-189.cable.dynamic.surfer.at) (Remote host closed the connection) |
| 10:59:48 | <tomsmeding> | danse-nr3: head (sort list) cannot be better than O(n) because it has to locate the minimal element in the list |
| 11:00:01 | <tomsmeding> | and it'll do it less efficiently than `minimum` because, well, it's also sorting :p |
| 11:01:02 | → | fendor joins (~fendor@2a02:8388:1640:be00:ca17:ceee:5bbe:1594) |
| 11:01:26 | <danse-nr3> | sure, what i had hoped is it being faster than head . force . sort |
| 11:02:06 | <danse-nr3> | which it seems to be, but by less than 1% |
| 11:04:08 | <[Leary]> | danse-nr3: Try a random list. `sort` has special handling for ascending/descending runs, so you're sorting the whole list in linear time anyway. |
| 11:05:41 | × | zetef quits (~quassel@95.77.17.251) (Ping timeout: 240 seconds) |
| 11:05:51 | <danse-nr3> | does it? Had not expected that. I will try, thanks. In any case, it could be that an algorithm that works efficiently with `take` is not convenient in the general case, and maybe there is a sorting functions in some other package that works better for that case. I will try with random, thanks |
| 11:07:14 | × | cstml quits (~cstml@user/cstml) (Ping timeout: 268 seconds) |
| 11:08:34 | → | `2jt joins (~jtomas@vdf-128.vdf.upv.es) |
| 11:09:13 | <xerox> | https://www.stackage.org/haddock/lts-21.20/base-4.17.2.0/src/Data.OldList.html#sort |
| 11:09:50 | <danse-nr3> | oooh. Thanks xerox |
| 11:09:56 | <xerox> | I was curious as well |
| 11:10:39 | <[Leary]> | Well, rather than "special handling", it would be better to say that it leverages the structure of the input list to provide better best-case and average-case performance. That involves pulling out these runs instead of merging up from singletons. |
| 11:11:29 | × | pieguy128 quits (~pieguy128@65.92.163.232) (Server closed connection) |
| 11:11:34 | <[Leary]> | Otherwise mergesort is always in the worst-case. |
| 11:12:19 | → | pieguy128 joins (~pieguy128@bas1-montreal02-65-92-163-232.dsl.bell.ca) |
| 11:15:20 | × | carter quits (sid14827@id-14827.helmsley.irccloud.com) (Server closed connection) |
| 11:15:53 | → | xff0x joins (~xff0x@2405:6580:b080:900:6c8e:2e92:196f:e24b) |
| 11:15:55 | → | carter joins (sid14827@id-14827.helmsley.irccloud.com) |
| 11:17:42 | → | nate3 joins (~nate@c-98-45-158-125.hsd1.ca.comcast.net) |
| 11:21:41 | × | euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Ping timeout: 240 seconds) |
| 11:22:07 | × | Nixkernal quits (~Nixkernal@115.16.194.178.dynamic.wline.res.cust.swisscom.ch) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) |
| 11:22:34 | → | euleritian joins (~euleritia@x5271790e.dyn.telefonica.de) |
| 11:22:39 | → | Nixkernal joins (~Nixkernal@115.16.194.178.dynamic.wline.res.cust.swisscom.ch) |
| 11:23:16 | × | nate3 quits (~nate@c-98-45-158-125.hsd1.ca.comcast.net) (Ping timeout: 268 seconds) |
| 11:24:41 | × | alanz quits (sid110616@id-110616.uxbridge.irccloud.com) (Server closed connection) |
| 11:24:50 | → | alanz joins (sid110616@id-110616.uxbridge.irccloud.com) |
| 11:25:47 | × | rembo10_ quits (~rembo10@main.remulis.com) (Server closed connection) |
| 11:26:04 | → | rembo10 joins (~rembo10@main.remulis.com) |
| 11:28:05 | × | hueso quits (~root@user/hueso) (Quit: hueso) |
| 11:29:17 | × | edwtjo quits (~edwtjo@fsf/member/edwtjo) (Server closed connection) |
| 11:29:33 | → | sawilagar joins (~sawilagar@user/sawilagar) |
| 11:29:38 | → | edwtjo joins (~edwtjo@h-46-59-62-248.A213.priv.bahnhof.se) |
| 11:29:38 | × | edwtjo quits (~edwtjo@h-46-59-62-248.A213.priv.bahnhof.se) (Changing host) |
| 11:29:38 | → | edwtjo joins (~edwtjo@fsf/member/edwtjo) |
| 11:29:38 | × | tomsmeding quits (~tomsmedin@static.21.109.88.23.clients.your-server.de) (Server closed connection) |
| 11:29:58 | → | tomsmeding joins (~tomsmedin@static.21.109.88.23.clients.your-server.de) |
| 11:31:28 | → | hueso joins (~root@user/hueso) |
| 11:32:41 | → | zmt01 joins (~zmt00@user/zmt00) |
| 11:33:13 | × | jmdaemon quits (~jmdaemon@user/jmdaemon) (Ping timeout: 260 seconds) |
| 11:34:17 | × | zmt00 quits (~zmt00@user/zmt00) (Ping timeout: 258 seconds) |
| 11:36:11 | × | tessier quits (~treed@ec2-184-72-149-67.compute-1.amazonaws.com) (Server closed connection) |
| 11:36:33 | → | tessier joins (~treed@ec2-184-72-149-67.compute-1.amazonaws.com) |
| 11:40:01 | × | `2jt quits (~jtomas@vdf-128.vdf.upv.es) (Quit: Leaving) |
| 11:45:02 | × | maxfan8_ quits (~max@2a01:4f8:192:5356::2) (Server closed connection) |
| 11:45:14 | → | lortabac joins (~lorenzo@2a01:e0a:541:b8f0:4c6e:8da1:9508:f9c1) |
| 11:45:27 | → | maxfan8_ joins (~max@2a01:4f8:192:5356::2) |
| 11:50:34 | × | stiell quits (~stiell@gateway/tor-sasl/stiell) (Remote host closed the connection) |
| 11:51:10 | → | stiell joins (~stiell@gateway/tor-sasl/stiell) |
| 11:52:49 | × | CiaoSen quits (~Jura@2a05:5800:2a1:b00:2a3a:4dff:fe84:dbd5) (Ping timeout: 260 seconds) |
| 11:53:33 | × | euleritian quits (~euleritia@x5271790e.dyn.telefonica.de) (Read error: Connection reset by peer) |
| 11:53:52 | → | euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) |
| 11:56:05 | × | arahael quits (~arahael@119-18-2-212.771202.syd.nbn.aussiebb.net) (Ping timeout: 240 seconds) |
| 12:01:44 | × | erisco quits (~erisco@d24-141-66-165.home.cgocable.net) (Server closed connection) |
| 12:02:04 | → | erisco joins (~erisco@d24-141-66-165.home.cgocable.net) |
| 12:04:53 | → | _xor9 joins (~xor@72.49.195.41) |
| 12:06:49 | × | _xor quits (~xor@72.49.195.41) (Ping timeout: 260 seconds) |
| 12:06:50 | _xor9 | is now known as _xor |
| 12:10:28 | → | _xor3 joins (~xor@72.49.195.41) |
| 12:12:08 | × | _xor quits (~xor@72.49.195.41) (Ping timeout: 252 seconds) |
| 12:12:09 | _xor3 | is now known as _xor |
| 12:14:08 | → | CiaoSen joins (~Jura@2a05:5800:2a1:b00:2a3a:4dff:fe84:dbd5) |
| 12:15:20 | × | Square quits (~Square@user/square) (Ping timeout: 245 seconds) |
| 12:20:11 | × | echoreply quits (~echoreply@2001:19f0:9002:1f3b:5400:ff:fe6f:8b8d) (Server closed connection) |
| 12:20:34 | → | echoreply joins (~echoreply@2001:19f0:9002:1f3b:5400:ff:fe6f:8b8d) |
| 12:23:27 | × | danse-nr3 quits (~danse@151.47.234.14) (Ping timeout: 260 seconds) |
| 12:28:56 | × | stiell quits (~stiell@gateway/tor-sasl/stiell) (Remote host closed the connection) |
| 12:29:20 | → | stiell joins (~stiell@gateway/tor-sasl/stiell) |
| 12:31:44 | × | Hobbyboy quits (Hobbyboy@hobbyboy.co.uk) (Server closed connection) |
| 12:32:01 | → | Hobbyboy joins (Hobbyboy@hobbyboy.co.uk) |
| 12:32:41 | × | thelounge793 quits (~thelounge@2a05:f480:1400:24b2:5400:4ff:fe76:a8f3) (Server closed connection) |
| 12:32:53 | × | yaroot quits (~yaroot@p3477236-ipngn9802souka.saitama.ocn.ne.jp) (Server closed connection) |
| 12:32:57 | → | thelounge793 joins (~thelounge@2a05:f480:1400:24b2:5400:4ff:fe76:a8f3) |
| 12:33:09 | → | yaroot joins (~yaroot@2400:4052:ac0:d900:1cf4:2aff:fe51:c04c) |
| 12:36:36 | × | lhpitn quits (~tn@mail.lebenshilfe-pi.de) (Ping timeout: 245 seconds) |
| 12:37:28 | → | danse-nr3 joins (~danse@151.47.234.14) |
| 12:41:56 | → | lhpitn joins (~tn@mail.lebenshilfe-pi.de) |
| 12:42:34 | → | lhpitn_ joins (~tn@mail.lebenshilfe-pi.de) |
| 12:46:13 | → | eggplantade joins (~Eggplanta@2600:1700:38c5:d800:3080:2ce:4a2:17) |
| 12:46:24 | × | opqdonut quits (opqdonut@pseudo.fixme.fi) (Server closed connection) |
| 12:46:31 | → | opqdonut joins (opqdonut@pseudo.fixme.fi) |
| 12:47:08 | × | lhpitn quits (~tn@mail.lebenshilfe-pi.de) (Ping timeout: 268 seconds) |
| 12:48:52 | Feuermagier | is now known as Guest8603 |
| 12:48:52 | → | Feuermagier_ joins (~Feuermagi@user/feuermagier) |
| 12:48:52 | × | Guest8603 quits (~Feuermagi@user/feuermagier) (Killed (cadmium.libera.chat (Nickname regained by services))) |
| 12:48:52 | Feuermagier_ | is now known as Feuermagier |
| 12:49:17 | → | Pixi` joins (~Pixi@user/pixi) |
| 12:50:16 | → | califax_ joins (~califax@user/califx) |
| 12:50:28 | × | califax quits (~califax@user/califx) (Ping timeout: 264 seconds) |
| 12:50:55 | × | Ranhir quits (~Ranhir@157.97.53.139) (Ping timeout: 264 seconds) |
| 12:51:32 | califax_ | is now known as califax |
| 12:52:43 | × | Pixi quits (~Pixi@user/pixi) (Ping timeout: 264 seconds) |
| 12:59:14 | × | shane quits (~shane@ana.rch.ist) (Server closed connection) |
| 12:59:21 | → | shane joins (~shane@ana.rch.ist) |
| 13:03:47 | → | Ranhir joins (~Ranhir@157.97.53.139) |
| 13:04:15 | × | telser quits (~quassel@user/telser) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) |
| 13:06:17 | <ski> | Inst : "tautologically correct" ? "is it a vacuous truth" ? |
| 13:07:10 | <Inst> | Just curious, it was something that came up when someone commented on some other handle |
| 13:07:32 | × | df quits (~ben@justworks.xyz) (Server closed connection) |
| 13:07:46 | → | df joins (~ben@justworks.xyz) |
| 13:09:08 | × | hrberg quits (~quassel@171.79-160-161.customer.lyse.net) (Server closed connection) |
| 13:09:14 | <Inst> | i mean, is there any other way to make it so that main :: IO a? |
| 13:09:22 | → | hrberg joins (~quassel@171.79-160-161.customer.lyse.net) |
| 13:09:40 | <Inst> | well, forget it, it's a silly brain fart on my end |
| 13:10:13 | <ski> | main = exitSuccess -- ? |
| 13:11:38 | × | danse-nr3 quits (~danse@151.47.234.14) (Remote host closed the connection) |
| 13:12:01 | → | danse-nr3 joins (~danse@151.47.234.14) |
| 13:15:08 | lhpitn_ | is now known as lhpitn |
| 13:15:51 | × | Igloo quits (~ian@matrix.chaos.earth.li) (Server closed connection) |
| 13:16:02 | → | Igloo joins (~ian@matrix.chaos.earth.li) |
| 13:20:23 | × | raoul quits (~raoul@95.179.203.88) (Server closed connection) |
| 13:20:44 | → | raoul joins (~raoul@95.179.203.88) |
| 13:21:17 | × | danse-nr3 quits (~danse@151.47.234.14) (Ping timeout: 240 seconds) |
| 13:21:41 | → | danse-nr3 joins (~danse@151.47.234.14) |
| 13:21:57 | → | ares joins (~ares@37-48-1-56.nat.epc.tmcz.cz) |
| 13:22:23 | × | ares quits (~ares@37-48-1-56.nat.epc.tmcz.cz) (Client Quit) |
| 13:23:01 | → | ares123 joins (~ares123@37-48-1-56.nat.epc.tmcz.cz) |
| 13:23:04 | ← | ares123 parts (~ares123@37-48-1-56.nat.epc.tmcz.cz) () |
| 13:23:54 | → | cstml joins (~cstml@user/cstml) |
| 13:24:09 | × | liskin quits (~liskin@xmonad/liskin) (Server closed connection) |
| 13:24:27 | → | liskin joins (~liskin@xmonad/liskin) |
| 13:29:17 | × | CiaoSen quits (~Jura@2a05:5800:2a1:b00:2a3a:4dff:fe84:dbd5) (Ping timeout: 240 seconds) |
| 13:30:35 | × | farn quits (~farn@2a03:4000:7:3cd:d4ab:85ff:feeb:f505) (Server closed connection) |
| 13:30:54 | → | farn joins (~farn@2a03:4000:7:3cd:d4ab:85ff:feeb:f505) |
| 13:32:26 | × | cstml quits (~cstml@user/cstml) (Ping timeout: 252 seconds) |
| 13:34:38 | <bwe> | how can I replace single char of a ByteString? I did it with T.replace for Text. There is no BS.replace. |
| 13:37:16 | → | erty joins (~user@user/aeroplane) |
| 13:37:17 | <danse-nr3> | there is no char in byte strings i think, without an encoding |
| 13:39:56 | × | koolazer quits (~koo@user/koolazer) (Server closed connection) |
| 13:40:17 | → | koolazer joins (~koo@user/koolazer) |
| 13:44:15 | → | vilya joins (~vilya@user/vilya) |
| 13:49:57 | × | byorgey quits (~byorgey@155.138.238.211) (Server closed connection) |
| 13:50:09 | → | byorgey joins (~byorgey@155.138.238.211) |
| 13:51:00 | → | kuribas joins (~user@ip-188-118-57-242.reverse.destiny.be) |
| 13:51:15 | <exarkun> | bwe: ByteString is made out of Word8 |
| 13:51:16 | × | Inst quits (~Inst@120.244.192.250) (Ping timeout: 268 seconds) |
| 13:52:05 | <exarkun> | bwe: You might be looking for Data.ByteString.map |
| 13:52:08 | <bwe> | hell, the chaos of String, Text, ByteString, Word8 makes me wanna leave Haskell… |
| 13:52:29 | <danse-nr3> | it is a commonly shared disappointment |
| 13:52:34 | <hc> | Huh? It's very simple, except maybe that String shouldn't be the default |
| 13:52:40 | <exarkun> | It's a lot to keep straight. |
| 13:52:57 | × | dcoutts quits (~duncan@cpc69402-oxfd27-2-0-cust903.4-3.cable.virginm.net) (Ping timeout: 255 seconds) |
| 13:53:56 | <hc> | I'm guessing a lot of people understand all the straingforward concepts like monoids in the category of endofactors and higher kinded types, then despair because they don't know they should have used Texts instead of Strings %} |
| 13:54:54 | → | dcoutts joins (~duncan@cpc69402-oxfd27-2-0-cust903.4-3.cable.virginm.net) |
| 13:55:32 | <bwe> | I am coming from an implementation with Text and consider changing Text to ByteString for performance. What's the improvement in your experience if I switch from Text to ByteString? |
| 13:56:07 | <exarkun> | bwe: "Performance" is not the reason to switch from Text to ByteString. |
| 13:56:16 | <exarkun> | Text is for unicode. ByteString is for bytes. |
| 13:56:28 | <bwe> | I need a guide when to use what |
| 13:56:38 | <exarkun> | Use Text for unicode. Use ByteString for bytes. ;) (sorry) |
| 13:57:01 | <exarkun> | (Of course you also have the strict vs lazy dimension to consider...) |
| 13:57:22 | <bwe> | exarkun: I assume you personally did not create that mess, nor whoever did planned to do so. |
| 13:57:26 | <hc> | Don't forget about ShortByteStrings btw ;p |
| 13:57:32 | <exarkun> | Did you do some profiling to determine that your Text operations are the bottleneck? |
| 13:58:52 | <bwe> | exarkun: yes, but I couldn't identify the bottleneck with profiling, except that TagSoup is slow. |
| 13:59:37 | <bwe> | exarkun: so, my I reasoned to provide it ByteString instead of Text to see what happens. |
| 14:00:01 | <bwe> | exarkun: however, if I get you right I will not get any benefit out of it in execution time, right? |
| 14:00:23 | <exarkun> | okay, reasonable I guess. But ByteString doesn't readily support all the same operations as Text so the transition might be tricky while preserving correctness. |
| 14:00:40 | <exarkun> | bwe: No, I don't mean to suggest Text and ByteString will always perform the same under the same operations. |
| 14:00:56 | → | Inst joins (~Inst@120.244.192.250) |
| 14:00:59 | <exarkun> | I just meant to point out that a naive substitution of ByteString for Text might break your program. |
| 14:01:02 | <bwe> | exarkun: well, my use case is parsing HTML and text. |
| 14:01:15 | <bwe> | exarkun: that's exactly where I am in right now |
| 14:01:23 | × | acertain_ quits (sid470584@id-470584.hampstead.irccloud.com) (Server closed connection) |
| 14:01:39 | → | acertain_ joins (sid470584@id-470584.hampstead.irccloud.com) |
| 14:01:42 | <exarkun> | bwe: Indeed. Sadly, HTML often carries non-ASCII code points, eg UTF-8 encoded, so using ByteString to deal with it is tricky. |
| 14:02:08 | <exarkun> | Do you know that there will be no non-ASCII, or that none of your operations will break if they run on the encoded form of those code points? |
| 14:02:18 | → | cheater_ joins (~Username@user/cheater) |
| 14:02:30 | <bwe> | exarkun: no, I don't know |
| 14:02:49 | <bwe> | exarkun: so, then does Text handle UTF-8 encoded input? |
| 14:02:58 | → | thegeekinside joins (~thegeekin@189.141.80.123) |
| 14:03:07 | <exarkun> | bwe: You can decode a ByteString using UTF-8 into a Text |
| 14:03:16 | <exarkun> | bwe: I assume that's what tagsoup does. |
| 14:03:31 | <exarkun> | (Or maybe it even reads the encoding from the input and decodes using the correct codec) |
| 14:03:55 | <exarkun> | Functions for that kind of thing are in Data.Text.Encoding |
| 14:04:23 | <exarkun> | Hum |
| 14:04:32 | × | euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Read error: Connection reset by peer) |
| 14:04:38 | <stefan-__> | bwe: I found this quite helpful: https://gist.github.com/dino-/28b09c465c756c44b2c91d777408e166 |
| 14:04:39 | <exarkun> | However, looking at tagsoup, I see that it parses with a `StringLike` typeclass .. which has both Text and ByteString instances |
| 14:04:45 | → | euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) |
| 14:04:57 | × | dsrt^ quits (~cd@76.145.193.217) (Remote host closed the connection) |
| 14:05:03 | × | cheater quits (~Username@user/cheater) (Ping timeout: 240 seconds) |
| 14:05:03 | cheater_ | is now known as cheater |
| 14:05:17 | × | end quits (end@user/end/x-0094621) (Server closed connection) |
| 14:05:21 | <exarkun> | So, I dunno, maybe tagsoup knows how to safely operate directly on ByteString through the whole process. |
| 14:05:41 | <exarkun> | Then you only have to take care not to spoil that with whatever you add on top. |
| 14:05:59 | <exarkun> | (But also, maybe StringLike is where part of your runtime costs come from?) |
| 14:06:22 | <bwe> | exarkun: that's my feeling. |
| 14:08:08 | × | gmc quits (sid58314@id-58314.ilkley.irccloud.com) (Server closed connection) |
| 14:08:18 | → | gmc joins (sid58314@id-58314.ilkley.irccloud.com) |
| 14:08:26 | → | Simikando joins (~Simikando@adsl-dyn216.91-127-84.t-com.sk) |
| 14:08:29 | <exarkun> | I wish I already had more experience with profiling in Haskell. I've probably now said everything useful I can say about it. |
| 14:09:08 | × | diagprov quits (sid348783@user/diagprov) (Server closed connection) |
| 14:09:21 | → | end joins (~end@user/end/x-0094621) |
| 14:09:21 | → | diagprov joins (sid348783@user/diagprov) |
| 14:10:11 | × | jmct quits (sid160793@id-160793.tinside.irccloud.com) (Server closed connection) |
| 14:10:19 | → | jmct joins (sid160793@id-160793.tinside.irccloud.com) |
| 14:10:21 | <bwe> | exarkun: thanks for your time :) |
| 14:10:23 | × | thegeekinside quits (~thegeekin@189.141.80.123) (Ping timeout: 268 seconds) |
| 14:10:39 | → | waleee joins (~waleee@h-176-10-144-38.NA.cust.bahnhof.se) |
| 14:13:50 | → | falafel joins (~falafel@146.70.171.74) |
| 14:15:19 | × | euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Ping timeout: 268 seconds) |
| 14:15:20 | <carter> | The bottleneck is usually wherever you’re doing lots of allocations |
| 14:16:15 | → | euleritian joins (~euleritia@dynamic-089-204-135-241.89.204.135.pool.telefonica.de) |
| 14:16:17 | × | AndreasK quits (sid320732@id-320732.uxbridge.irccloud.com) (Server closed connection) |
| 14:16:25 | → | AndreasK joins (sid320732@id-320732.uxbridge.irccloud.com) |
| 14:19:03 | → | thegeekinside joins (~thegeekin@189.141.80.123) |
| 14:19:17 | × | alp quits (~alp@2001:861:5e02:eff0:453a:9a31:40c7:7965) (Ping timeout: 240 seconds) |
| 14:22:20 | × | ysh____ quits (sid6017@id-6017.ilkley.irccloud.com) (Server closed connection) |
| 14:22:28 | → | ysh____ joins (sid6017@id-6017.ilkley.irccloud.com) |
| 14:23:38 | × | ircbrowse_tom quits (~ircbrowse@static.162.49.55.162.clients.your-server.de) (ZNC 1.8.2+deb2build5 - https://znc.in) |
| 14:23:53 | → | ircbrowse_tom joins (~ircbrowse@2a01:4f8:1c1c:9319::1) |
| 14:23:59 | Server | sets mode +Cnt |
| 14:24:05 | <bwe> | carter: how can I locate those? well, profiling is not trivial for the uninitiated. |
| 14:24:36 | <carter> | So you do a profiling build of your code |
| 14:24:56 | <carter> | And then run the program with various choices of profiling flags to get more info |
| 14:25:39 | <carter> | Handily enough, most profiling types are around what’s allocating data, what retaining data, and so forth |
| 14:26:09 | <carter> | Plus what type is being allocated etc |
| 14:26:11 | × | mustafa quits (sid502723@rockylinux/releng/mustafa) (Server closed connection) |
| 14:26:21 | → | mustafa joins (sid502723@rockylinux/releng/mustafa) |
| 14:26:47 | <carter> | With text and bytestring slicing isn’t a copy, so there’s possibly the issue that you aren’t copying those. Or maybe you should! |
| 14:27:09 | <carter> | Or you’re writing code generic over the string like interface and you should commit to TEXT |
| 14:27:26 | <bwe> | carter: so which profiling flags do you recommend me to use? I've got the profiling to turn out the .prof file, already. But the results are not enlightening yet. |
| 14:27:34 | → | BasketSong joins (~BasketSon@pool-98-115-165-154.phlapa.fios.verizon.net) |
| 14:27:36 | <carter> | TRY ALL OD THEM |
| 14:27:46 | <bwe> | :) |
| 14:28:00 | <carter> | if you don’t know what’s happening, do each type, and read the what sortah info each does in the manual |
| 14:28:10 | <carter> | Also time profiling |
| 14:28:26 | <carter> | Dependent on the platform you can even use Linux perf or something |
| 14:28:32 | <carter> | Measure measure measure |
| 14:28:33 | × | Inst quits (~Inst@120.244.192.250) (Remote host closed the connection) |
| 14:28:46 | <carter> | Maybe start with time profiling |
| 14:29:41 | × | tureba quits (~tureba@tureba.org) (Server closed connection) |
| 14:29:57 | → | tureba joins (~tureba@tureba.org) |
| 14:34:35 | × | danse-nr3 quits (~danse@151.47.234.14) (Ping timeout: 260 seconds) |
| 14:36:45 | → | sm joins (~sm@plaintextaccounting/sm) |
| 14:37:56 | × | malte quits (~malte@mal.tc) (Server closed connection) |
| 14:38:08 | × | joeyh quits (~joeyh@kitenet.net) (Server closed connection) |
| 14:38:09 | → | malte joins (~malte@mal.tc) |
| 14:38:19 | → | joeyh joins (joeyh@kitenet.net) |
| 14:38:40 | → | danse-nr3 joins (~danse@151.47.234.14) |
| 14:43:04 | × | aliosablack quits (~chomwitt@athedsl-346287.home.otenet.gr) (Ping timeout: 268 seconds) |
| 14:47:26 | × | danse-nr3 quits (~danse@151.47.234.14) (Ping timeout: 245 seconds) |
| 14:47:51 | → | falafel_ joins (~falafel@62.175.113.194.dyn.user.ono.com) |
| 14:48:14 | → | danse-nr3 joins (~danse@151.35.226.222) |
| 14:48:49 | × | sm quits (~sm@plaintextaccounting/sm) (Quit: sm) |
| 14:48:57 | → | sm[i] joins (~user@plaintextaccounting/sm) |
| 14:50:05 | × | falafel quits (~falafel@146.70.171.74) (Ping timeout: 240 seconds) |
| 14:53:09 | <dmj`> | bwe: did you paste your code? |
| 14:55:05 | <bwe> | ok, the system ran out of memory (64 GB) with +RTS -p -pj params. |
| 14:55:33 | <bwe> | dmj`: No, I am just thinking which parts I could share. |
| 14:55:54 | <dmj`> | bwe: are you using strict or lazy bytestrings, or both |
| 14:57:29 | × | theesm quits (2cbdf4b38a@2604:bf00:561:2000::11c8) (Server closed connection) |
| 14:57:33 | × | BasketSong quits (~BasketSon@pool-98-115-165-154.phlapa.fios.verizon.net) (Quit: Client closed) |
| 14:57:38 | → | theesm joins (2cbdf4b38a@2604:bf00:561:2000::11c8) |
| 14:58:52 | × | bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Quit: = "") |
| 14:58:55 | <bwe> | dmj`: I am using req to save HTML files to disk. I write and read them as lazy ByteStrings. The remainder of the parser lib uses Text with Scalpel (that internally uses TagSoup which uses StringLike). |
| 14:59:26 | <dmj`> | bwe: how far do you get into that process before you get an OOM ? |
| 15:00:06 | × | lisbeths quits (uid135845@id-135845.lymington.irccloud.com) (Quit: Connection closed for inactivity) |
| 15:00:39 | <dmj`> | bwe: how large is the html file on disk too |
| 15:01:15 | × | Nikopol quits (nikopol@user/astrorigin) (Server closed connection) |
| 15:01:25 | → | Nikopol joins (nikopol@yoga.astrorigin.com) |
| 15:01:25 | × | Nikopol quits (nikopol@yoga.astrorigin.com) (Changing host) |
| 15:01:25 | → | Nikopol joins (nikopol@user/astrorigin) |
| 15:02:44 | → | notzmv joins (~zmv@user/notzmv) |
| 15:02:53 | <bwe> | HTML -> Dto -> ParsedEntity -- that's the process actually. |
| 15:03:19 | <bwe> | I do do a `scrapeStringLike (decodeUtf8 $ BL.toStrict bs) scraper` to realise the Dto. |
| 15:03:31 | <bwe> | dmj`: 800k on average |
| 15:05:35 | → | zetef joins (~quassel@95.77.17.251) |
| 15:05:47 | × | fryguybob quits (~fryguybob@cpe-24-94-50-22.stny.res.rr.com) (Server closed connection) |
| 15:06:03 | → | fryguybob joins (~fryguybob@cpe-24-94-50-22.stny.res.rr.com) |
| 15:08:27 | <dmj`> | I was about to ask if you're using toStrict :) |
| 15:08:29 | × | fvr quits (ef3e56ca8b@2604:bf00:561:2000::3c4) (Server closed connection) |
| 15:08:38 | → | fvr joins (ef3e56ca8b@2604:bf00:561:2000::3c4) |
| 15:08:41 | <bwe> | here's the profiling: https://uploadpie.com/jJipKZ |
| 15:08:46 | <dmj`> | bwe: that's going to force everything into the heap |
| 15:09:16 | <dmj`> | bwe: Data.Text.Lazy.Encoding |
| 15:11:45 | <bwe> | so, should I then turn any Text type into lazy Text through the scraping pipeline? |
| 15:11:54 | → | _73 joins (~anon_73@2600:4040:5205:d800:21e8:9777:49a5:db28) |
| 15:11:55 | × | fweht quits (uid404746@id-404746.lymington.irccloud.com) (Quit: Connection closed for inactivity) |
| 15:13:46 | <dmj`> | bwe: is 'bs' just a chunk here, or is it the entire file? Also, are you using concurrency to read all files from disk at the same time when you're doing this? |
| 15:14:14 | × | Athas quits (athas@sigkill.dk) (Server closed connection) |
| 15:14:25 | → | Athas joins (athas@sigkill.dk) |
| 15:15:48 | <bwe> | dmj`: bs is the entire html file; no, I am doing a `mapM BL.readfile files`). |
| 15:16:11 | <bwe> | dmj`: I was thinking of cutting the html down before putting it into the parsing pipeline. |
| 15:16:20 | × | ringo___ quits (~ringo@157.230.117.128) (Server closed connection) |
| 15:16:41 | → | ringo___ joins (~ringo@157.230.117.128) |
| 15:16:42 | <bwe> | dmj`: did you look into the profiling screenshot? |
| 15:17:55 | × | Simikando quits (~Simikando@adsl-dyn216.91-127-84.t-com.sk) (Remote host closed the connection) |
| 15:18:18 | → | Simikando joins (~Simikando@adsl-dyn216.91-127-84.t-com.sk) |
| 15:19:24 | → | nate3 joins (~nate@c-98-45-158-125.hsd1.ca.comcast.net) |
| 15:22:17 | × | mrvdb quits (~mrvdb@2001:19f0:5000:8582:5400:ff:fe07:3df5) (Server closed connection) |
| 15:22:34 | → | mrvdb joins (~mrvdb@185.92.221.186) |
| 15:23:46 | × | Angelz quits (Angelz@2605:6400:30:fc15:9bd1:2217:41cd:bb15) (Ping timeout: 268 seconds) |
| 15:24:05 | × | nate3 quits (~nate@c-98-45-158-125.hsd1.ca.comcast.net) (Ping timeout: 252 seconds) |
| 15:25:32 | × | filwisher quits (2e6936c793@2604:bf00:561:2000::170) (Server closed connection) |
| 15:25:39 | → | filwisher joins (2e6936c793@2604:bf00:561:2000::170) |
| 15:39:56 | × | falafel_ quits (~falafel@62.175.113.194.dyn.user.ono.com) (Ping timeout: 245 seconds) |
| 15:42:45 | → | nate3 joins (~nate@c-98-45-158-125.hsd1.ca.comcast.net) |
| 15:44:32 | → | nate4 joins (~nate@c-98-45-158-125.hsd1.ca.comcast.net) |
| 15:45:18 | <erty> | The inventor of unix-pipes Mcllroy have happened to use haskell |
| 15:45:34 | <erty> | https://www.cs.dartmouth.edu/~doug/powser.html |
| 15:47:26 | × | nate3 quits (~nate@c-98-45-158-125.hsd1.ca.comcast.net) (Ping timeout: 245 seconds) |
| 15:49:56 | × | Simikando quits (~Simikando@adsl-dyn216.91-127-84.t-com.sk) (Ping timeout: 252 seconds) |
| 15:50:17 | × | nate4 quits (~nate@c-98-45-158-125.hsd1.ca.comcast.net) (Ping timeout: 268 seconds) |
| 15:51:11 | × | misterfish quits (~misterfis@87.215.131.102) (Ping timeout: 245 seconds) |
| 15:52:13 | × | kimiamania46 quits (~b4f4a2ab@user/kimiamania) (Ping timeout: 255 seconds) |
| 15:55:20 | <danse-nr3> | he could not fail appreciating the composing power ;) |
| 15:56:36 | × | eggplantade quits (~Eggplanta@2600:1700:38c5:d800:3080:2ce:4a2:17) (Ping timeout: 245 seconds) |
| 15:57:18 | → | Guest|37 joins (~Guest|37@client.svinov.net) |
| 15:57:33 | × | Guest|37 quits (~Guest|37@client.svinov.net) (Client Quit) |
| 15:58:53 | × | zetef quits (~quassel@95.77.17.251) (Ping timeout: 240 seconds) |
| 16:01:20 | × | mjs2600 quits (~mjs2600@c-174-169-225-239.hsd1.vt.comcast.net) (Server closed connection) |
| 16:01:26 | → | chomwitt joins (~chomwitt@athedsl-346287.home.otenet.gr) |
| 16:01:37 | → | mjs2600 joins (~mjs2600@c-174-169-225-239.hsd1.vt.comcast.net) |
| 16:06:11 | → | kimiamania46 joins (~b4f4a2ab@user/kimiamania) |
| 16:07:10 | × | ChaiTRex quits (~ChaiTRex@user/chaitrex) (Quit: ChaiTRex) |
| 16:10:14 | × | ec quits (~ec@gateway/tor-sasl/ec) (Remote host closed the connection) |
| 16:10:15 | × | pretty_dumm_guy quits (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Ping timeout: 260 seconds) |
| 16:10:42 | → | ec joins (~ec@gateway/tor-sasl/ec) |
| 16:12:28 | → | Angelz joins (Angelz@2605:6400:30:fc15:9bd1:2217:41cd:bb15) |
| 16:13:17 | → | zetef joins (~quassel@95.77.17.251) |
| 16:13:59 | × | qqq quits (~qqq@92.43.167.61) (Quit: leaving) |
| 16:15:21 | → | alphastate joins (~alphastat@176.254.244.83) |
| 16:15:39 | × | bjs quits (sid190364@user/bjs) (Ping timeout: 258 seconds) |
| 16:15:49 | × | systemfault quits (sid267009@about/typescript/member/systemfault) (Read error: Connection reset by peer) |
| 16:15:57 | → | systemfault joins (sid267009@about/typescript/member/systemfault) |
| 16:16:03 | → | bjs joins (sid190364@user/bjs) |
| 16:16:18 | → | pretty_dumm_guy joins (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) |
| 16:16:29 | × | lortabac quits (~lorenzo@2a01:e0a:541:b8f0:4c6e:8da1:9508:f9c1) (Ping timeout: 240 seconds) |
| 16:16:56 | × | [Leary] quits (~Leary]@user/Leary/x-0910699) (Server closed connection) |
| 16:18:20 | × | alphastate_ quits (~alphastat@176.254.244.83) (Ping timeout: 258 seconds) |
| 16:22:47 | × | manwithluck quits (manwithluc@ec2-52-197-234-151.ap-northeast-1.compute.amazonaws.com) (Server closed connection) |
| 16:23:14 | → | manwithluck joins (~manwithlu@2406:da14:5ea:e400:7863:dbc1:6a84:3050) |
| 16:23:53 | × | danso quits (~danso@user/danso) (Server closed connection) |
| 16:24:06 | → | danso joins (~danso@user/danso) |
| 16:26:44 | → | Simikando joins (~Simikando@adsl-dyn216.91-127-84.t-com.sk) |
| 16:27:38 | × | TMA quits (tma@twin.jikos.cz) (Server closed connection) |
| 16:27:55 | → | TMA joins (tma@twin.jikos.cz) |
| 16:30:40 | → | nate4 joins (~nate@c-98-45-158-125.hsd1.ca.comcast.net) |
| 16:33:42 | → | Inst joins (~Inst@120.244.192.250) |
| 16:37:17 | × | tv quits (~tv@user/tv) (Server closed connection) |
| 16:37:41 | → | tv joins (~tv@user/tv) |
| 16:39:14 | × | lukec quits (9dfd4d094e@2604:bf00:561:2000::10e) (Server closed connection) |
| 16:39:21 | → | lukec joins (9dfd4d094e@2604:bf00:561:2000::10e) |
| 16:39:25 | → | econo_ joins (uid147250@id-147250.tinside.irccloud.com) |
| 16:44:29 | × | machinedgod quits (~machinedg@d198-53-218-113.abhsia.telus.net) (Ping timeout: 260 seconds) |
| 16:45:05 | → | eggplantade joins (~Eggplanta@2600:1700:38c5:d800:a1fe:14ba:659d:abed) |
| 16:45:10 | × | nate4 quits (~nate@c-98-45-158-125.hsd1.ca.comcast.net) (Ping timeout: 268 seconds) |
| 16:48:10 | → | sadmax joins (~user@64.130.91.66) |
| 16:53:32 | × | fendor quits (~fendor@2a02:8388:1640:be00:ca17:ceee:5bbe:1594) (Remote host closed the connection) |
| 16:53:44 | × | acidjnk quits (~acidjnk@p200300d6e72b93217d79895cb809dcc2.dip0.t-ipconnect.de) (Remote host closed the connection) |
| 16:54:07 | → | acidjnk joins (~acidjnk@p200300d6e72b93217d79895cb809dcc2.dip0.t-ipconnect.de) |
| 16:55:25 | <dmj`> | bwe: instead of "do { xs <- mapM BL.readFile files }", try doing -- "do { forM_ files $ \file -> do { bytes <- readFile file; processThing bytes } }" |
| 16:55:47 | × | neptun quits (neptun@2607:5300:60:5910:dcad:beff:feef:5bc) (Server closed connection) |
| 16:55:48 | <dmj`> | bwe: the latter will ensure bytes gets GC'd before the next file is read |
| 16:55:58 | → | neptun joins (neptun@2607:5300:60:5910:dcad:beff:feef:5bc) |
| 16:56:00 | × | eggplantade quits (~Eggplanta@2600:1700:38c5:d800:a1fe:14ba:659d:abed) (Remote host closed the connection) |
| 16:57:23 | → | _ht joins (~Thunderbi@28-52-174-82.ftth.glasoperator.nl) |
| 16:58:38 | × | cayley5 quits (~cayley5@user/phileasfogg) (Server closed connection) |
| 16:58:58 | → | cayley5 joins (~cayley5@user/phileasfogg) |
| 16:59:31 | × | danse-nr3 quits (~danse@151.35.226.222) (Ping timeout: 245 seconds) |
| 17:00:41 | → | tzh joins (~tzh@c-71-193-181-0.hsd1.or.comcast.net) |
| 17:02:53 | × | zetef quits (~quassel@95.77.17.251) (Ping timeout: 240 seconds) |
| 17:04:23 | × | tomboy64 quits (~tomboy64@user/tomboy64) (Ping timeout: 260 seconds) |
| 17:05:05 | × | bsima1 quits (9d7e39c8ad@2604:bf00:561:2000::dd) (Server closed connection) |
| 17:05:13 | → | bsima1 joins (9d7e39c8ad@2604:bf00:561:2000::dd) |
| 17:05:50 | × | ubert quits (~Thunderbi@178.165.177.1.wireless.dyn.drei.com) (Ping timeout: 252 seconds) |
| 17:09:10 | × | euleritian quits (~euleritia@dynamic-089-204-135-241.89.204.135.pool.telefonica.de) (Read error: Connection reset by peer) |
| 17:09:27 | → | euleritian joins (~euleritia@dynamic-089-204-135-241.89.204.135.pool.telefonica.de) |
| 17:09:49 | × | euleritian quits (~euleritia@dynamic-089-204-135-241.89.204.135.pool.telefonica.de) (Read error: Connection reset by peer) |
| 17:10:08 | → | euleritian joins (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) |
| 17:10:31 | → | eggplantade joins (~Eggplanta@2600:1700:38c5:d800:a1fe:14ba:659d:abed) |
| 17:12:19 | × | califax quits (~califax@user/califx) (Remote host closed the connection) |
| 17:12:48 | → | califax joins (~califax@user/califx) |
| 17:13:29 | × | __monty__ quits (~toonn@user/toonn) (Quit: leaving) |
| 17:17:58 | → | misterfish joins (~misterfis@84-53-85-146.bbserv.nl) |
| 17:19:35 | → | tomboy64 joins (~tomboy64@user/tomboy64) |
| 17:20:32 | × | troydm quits (~troydm@user/troydm) (Server closed connection) |
| 17:20:55 | → | troydm joins (~troydm@user/troydm) |
| 17:21:57 | <dmj`> | bwe: I assume you have two nested mapM calls, one to read all the files, and the other to process them all. This will guarantee that all bytes are read into memory before xs is discard, killing incremental processing, guaranteeing large heap growth |
| 17:22:13 | <dmj`> | since mapM is implemented in terms of foldr |
| 17:22:27 | → | zetef joins (~quassel@95.77.17.251) |
| 17:22:46 | → | cstml joins (~cstml@user/cstml) |
| 17:22:49 | <dmj`> | bwe: link expired |
| 17:23:12 | × | cstml quits (~cstml@user/cstml) (Client Quit) |
| 17:24:13 | → | ravamrt joins (~ravamrt@2402:d000:8130:d6c:7aa6:9a23:1f08:33b2) |
| 17:27:16 | ← | ravamrt parts (~ravamrt@2402:d000:8130:d6c:7aa6:9a23:1f08:33b2) () |
| 17:29:20 | × | dfordvm quits (~dfordivam@160.16.87.223.v6.sakura.ne.jp) (Server closed connection) |
| 17:29:46 | → | dfordvm joins (~dfordivam@160.16.87.223.v6.sakura.ne.jp) |
| 17:29:50 | × | raghavgururajan quits (ea769b8000@user/raghavgururajan) (Server closed connection) |
| 17:29:58 | → | raghavgururajan joins (ea769b8000@user/raghavgururajan) |
| 17:30:26 | × | eggplantade quits (~Eggplanta@2600:1700:38c5:d800:a1fe:14ba:659d:abed) (Remote host closed the connection) |
| 17:31:04 | × | Simikando quits (~Simikando@adsl-dyn216.91-127-84.t-com.sk) (Remote host closed the connection) |
| 17:31:27 | → | Simikando joins (~Simikando@adsl-dyn216.91-127-84.t-com.sk) |
| 17:32:39 | → | cstml joins (~pi@user/cstml) |
| 17:33:25 | → | eggplantade joins (~Eggplanta@2600:1700:38c5:d800:a1fe:14ba:659d:abed) |
| 17:34:45 | × | kuribas quits (~user@ip-188-118-57-242.reverse.destiny.be) (Quit: ERC (IRC client for Emacs 27.1)) |
| 17:34:47 | × | ggb quits (a62ffbaf4f@2604:bf00:561:2000::3ac) (Server closed connection) |
| 17:34:54 | → | ggb joins (a62ffbaf4f@2604:bf00:561:2000::3ac) |
| 17:35:07 | × | califax quits (~califax@user/califx) (Remote host closed the connection) |
| 17:35:26 | × | jrm quits (~jrm@user/jrm) (Quit: ciao) |
| 17:35:47 | → | califax joins (~califax@user/califx) |
| 17:36:44 | → | ravamrt joins (~ravamrt@2402:d000:8130:d6c:7aa6:9a23:1f08:33b2) |
| 17:36:52 | → | jrm joins (~jrm@user/jrm) |
| 17:37:28 | → | Unicorn_Princess joins (~Unicorn_P@user/Unicorn-Princess/x-3540542) |
| 17:40:57 | × | Simikando quits (~Simikando@adsl-dyn216.91-127-84.t-com.sk) (Ping timeout: 260 seconds) |
| 17:43:04 | ← | ravamrt parts (~ravamrt@2402:d000:8130:d6c:7aa6:9a23:1f08:33b2) () |
| 17:44:42 | × | mxs quits (~mxs@user/mxs) (Server closed connection) |
| 17:44:53 | → | mxs joins (~mxs@user/mxs) |
| 17:46:49 | <EvanR> | you sometimes hear about lazy ML (LML), but it seems hard to find much info about it. There's an ftp site with some examples like executable semantics of lambda calculus |
| 17:46:57 | <EvanR> | but no compiler |
| 17:47:08 | × | Aleksejs quits (~Aleksejs@107.170.21.106) (Server closed connection) |
| 17:47:31 | <Inst> | is it a bad thing |
| 17:47:51 | <Inst> | if all my attempts to use ReaderT end up with me refactoring to reuse StateT? |
| 17:48:01 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 17:48:29 | → | Simikando joins (~Simikando@adsl-dyn216.91-127-84.t-com.sk) |
| 17:48:40 | <EvanR> | that's like changing your usage of "r" file open flags to "rw" |
| 17:48:50 | × | chele quits (~chele@user/chele) (Remote host closed the connection) |
| 17:48:54 | <EvanR> | two different animals |
| 17:49:54 | <Inst> | I should just sober up instead and figure out what to do, I'm still playing around with Vty and this whole hexgrid experiment, written in 4 different styles |
| 17:50:11 | × | fgaz_ quits (1ff9197ed6@2604:bf00:561:2000::11ea) (Server closed connection) |
| 17:50:19 | → | fgaz_ joins (1ff9197ed6@2604:bf00:561:2000::11ea) |
| 17:50:26 | → | Aleksejs joins (~Aleksejs@107.170.21.106) |
| 17:50:53 | <Inst> | https://github.com/haskript/big-book-of-small-haskell-projects/blob/master/35.HexGrid/HexGridVty.hs |
| 17:51:07 | <EvanR> | if you want to try more than 4 styles i could probably come up with a few more xD |
| 17:51:18 | → | potato44 joins (uid421314@id-421314.lymington.irccloud.com) |
| 17:51:25 | <EvanR> | evolution of a haskell GUI programmer |
| 17:52:41 | <Inst> | sure, why not |
| 17:52:53 | <Inst> | tbh I'd be happy if someone were to take control / be responsible for at least BBoSHP |
| 17:53:10 | <Inst> | I wouldn't mind if people were to toss random implementation of the originally python projects in there willy nilly, it'd be fun |
| 17:53:12 | <EvanR> | your usage of bare Reader could probably pretty easily just be 1 extra parameter of a bare function |
| 17:53:14 | → | danse-nr3 joins (~danse@151.35.226.222) |
| 17:53:37 | × | zetef quits (~quassel@95.77.17.251) (Ping timeout: 268 seconds) |
| 17:53:37 | <Inst> | including Singletons based implementations of all of the original Py projects >:D |
| 17:57:54 | <EvanR> | what is BBoSHP |
| 17:58:03 | <Inst> | Big Book of Small Haskell Projects |
| 17:59:45 | <Inst> | but if I didn't use bare reader, how else would I get the opportunity to enjoy Gabriella Gonzalez's wonderful mmorph library? |
| 18:00:50 | <EvanR> | is it big book of getting things done or big book of using stuff because you can |
| 18:01:26 | × | tomjaguarpaw quits (~tom@172-104-25-182.ip.linodeusercontent.com) (Server closed connection) |
| 18:01:40 | → | tomjaguarpaw joins (~tom@172-104-25-182.ip.linodeusercontent.com) |
| 18:01:49 | <EvanR> | so you want to make textmode board game, let me introduce you to some category theory xD |
| 18:03:18 | <EvanR> | in elixir they have barely any features beyond recursion and pattern matching, so they have the luxury of not wondering which combination of arcane abstractions to use for tasks |
| 18:03:59 | → | idgaen joins (~idgaen@2a01:e0a:498:fd50:fcc6:bb5d:489a:ce8c) |
| 18:04:13 | <EvanR> | (they do have lisp-like metaprogramming, but I think it's discouraged for day to day tasks) |
| 18:05:33 | <cstml> | EvanR: ReaderT is useful when you want some static resources through the life of your App. If you need to change them, then they're probably not a Reader usecase. (also) Don't feel bad about using StateT |
| 18:06:33 | <EvanR> | Inst, ^ |
| 18:06:40 | <dmj`> | unless you're using concurrency w/ StateT |
| 18:07:08 | <cstml> | If you really feel like it, stack a couple StateT's - break the "rules". You'll get a better sense of what works and what doesn't. |
| 18:07:17 | × | codedmart quits (~codedmart@li335-49.members.linode.com) (Server closed connection) |
| 18:07:18 | <EvanR> | (and then, ReaderT over IO is kind of redundant since you can put IORefs in the resources) |
| 18:07:30 | <EvanR> | er StateT over IO |
| 18:07:35 | → | codedmart joins (codedmart@2600:3c01::f03c:92ff:fefe:8511) |
| 18:07:43 | <EvanR> | vs ReaderT IO with IORefs in the resources |
| 18:10:02 | × | davl_ quits (~davl@207.154.228.18) (Server closed connection) |
| 18:10:17 | <cstml> | EvanR: I'd go down STM path + TVar having seen that ~ but maybe your usecase is better with IORefs. |
| 18:10:23 | → | davl joins (~davl@207.154.228.18) |
| 18:10:38 | <EvanR> | dmj`, ^ |
| 18:11:55 | <John_Ivan> | anyone else ever get a build by ghc that just "seems to run an endless loop"? |
| 18:12:10 | <dmj`> | John_Ivan: did you compile w/ -v |
| 18:12:16 | <John_Ivan> | nope. |
| 18:12:33 | <John_Ivan> | "cabal build" | "cabal run" |
| 18:12:35 | <John_Ivan> | is what I did. |
| 18:12:44 | × | shreyasminocha quits (51fdc93eda@user/shreyasminocha) (Server closed connection) |
| 18:12:53 | → | shreyasminocha joins (51fdc93eda@user/shreyasminocha) |
| 18:12:55 | <John_Ivan> | my program hangs. even though it compiled succesfully. and I don't see any code here that might run into an endless loop... |
| 18:13:05 | <John_Ivan> | I don't even have loops |
| 18:13:25 | <dmj`> | John_Ivan: can you paste your code, and just try `cabal run`, it should build if it needs to |
| 18:13:50 | × | jleightcap quits (7bc4014b62@user/jleightcap) (Server closed connection) |
| 18:14:00 | → | jleightcap joins (7bc4014b62@user/jleightcap) |
| 18:14:48 | <c_wraith> | John_Ivan: are you compiling with -Wall? a good number of infinite loops are the result of accidental shadowing |
| 18:15:03 | <c_wraith> | and -Wall would tell you about shadowing |
| 18:15:19 | <John_Ivan> | main :: IO () |
| 18:15:19 | <John_Ivan> | main = do |
| 18:15:19 | <John_Ivan> | let dirPath = "C:\\Ruby31-x64" |
| 18:15:19 | <John_Ivan> | setWorkingDirectory dirPath |
| 18:15:19 | <John_Ivan> | getWorkingDirectory >>= putStrLn |
| 18:15:20 | <John_Ivan> | files <- getFiles dirPath |
| 18:15:22 | <John_Ivan> | putStrLn $ show files |
| 18:15:42 | <John_Ivan> | that's all my code |
| 18:15:55 | <John_Ivan> | compiles and links. hangs when I run it. process being at 100% cpu |
| 18:16:22 | <Inst> | thanks cstml |
| 18:16:31 | <Inst> | EvanR: why not both? |
| 18:16:57 | <EvanR> | both what |
| 18:17:01 | <Inst> | that's Haskell for me, at least, you can be knuckle-dragging, you can be responsible, you can be astronauting |
| 18:17:11 | <Inst> | "big book of getting things done" vs "big book of just because you can"? |
| 18:17:40 | <exarkun> | John_Ivan: setWorkingDirectory and getWorkingDirectory and getFiles aren't in Prelude. Where are they from? |
| 18:18:15 | <EvanR> | because they are counterproductive to each other, so a book that unfocused is less useful |
| 18:18:26 | <dmj`> | John_Ivan: maybe getFiles is recursively looping over the same directory, causing an infinite loop |
| 18:19:14 | <c_wraith> | there's also the remote chance it's a hardware failure. I've had drives fail in ways that resulted in trying to access them causing 100% CPU use |
| 18:19:30 | <John_Ivan> | exarkun, they're just wrappers over getCurrentDirectory, setCurrentDirectory and getDirectoryContents from `directory` lib. nothing special. |
| 18:19:37 | <Inst> | it's not a book, though, more like feedstock |
| 18:19:43 | <Inst> | for potentially one |
| 18:19:43 | <exarkun> | John_Ivan: Details count, though. Let's see them. |
| 18:19:53 | <c_wraith> | John_Ivan: simple wrappers can have infinite loops in them |
| 18:20:29 | × | disconnect3d quits (~disconnec@user/disconnect3d) (Server closed connection) |
| 18:20:32 | <exarkun> | Or perhaps better yet, remove them from your pasted `main` and use the original functions instead and see if it still loops (and if so, share the new `main`) |
| 18:20:33 | <c_wraith> | John_Ivan: also, please use a pastebin. IRC isn't good for code. (it's not collapsable, and multi-line sends aren't atomic) |
| 18:20:39 | → | disconnect3d joins (~disconnec@user/disconnect3d) |
| 18:20:46 | × | otto_s quits (~user@p5de2f612.dip0.t-ipconnect.de) (Ping timeout: 245 seconds) |
| 18:21:07 | <John_Ivan> | fair enough - https://i.imgur.com/ESd0BLS.png |
| 18:21:18 | <John_Ivan> | c_wraith, .. a bit late. |
| 18:21:27 | → | otto_s joins (~user@p5de2f612.dip0.t-ipconnect.de) |
| 18:23:14 | <EvanR> | you could even implement that with setWorkingDirectory = setCurrentDirectory |
| 18:23:22 | <EvanR> | and getFiles = getDirectoryContents |
| 18:24:01 | <John_Ivan> | any idea why it hangs though? |
| 18:24:02 | <EvanR> | and because of the type on getWorkingDirectory, the liftIO doesn't do anything |
| 18:24:04 | <ski> | EvanR : hm, i think the HBC distribution may include LML. try <https://web.archive.org/web/20060902080757/http://haskell.org/hbc/hbc-2004-06-29.bin-i386-linux.tar.gz>,<https://web.archive.org/web/20060618025811/http://haskell.org/hbc/hbc-2004-06-29.src.tar.gz>,<https://archive.org/details/haskell-b-compiler> (also see |
| 18:24:09 | <ski> | <https://web.archive.org/web/20100526120524/http://www.cs.chalmers.se/pub/users/hallgren/Alfa/Haskell/>,<https://cth.altocumulus.org/~hallgren/software.html>,<https://web.archive.org/web/20060718204135/http://www.cs.chalmers.se/pub/users/hallgren/Alfa/Haskell/snapshot/2003-02-11>,<http://www.altocumulus.org/~hallgren/untested/Source_code/old>,..) |
| 18:24:43 | <EvanR> | John_Ivan, is it a stdio buffering issue, it just appears to hang? |
| 18:25:31 | <dmj`> | John_Ivan: try filtering out "." and ".." from getFiles |
| 18:26:29 | <dmj`> | ah, its not recursive, nvm |
| 18:26:50 | <ski> | .. too bad augustss/lennart doesn't hang out on IRC anymore |
| 18:26:53 | <EvanR> | John_Ivan, your code is loading all the files into a giant linked list, each element being it's own linked list (String = [Char]), and it must all be loaded before the IO action completes and you can start to print anything |
| 18:27:36 | <EvanR> | so it's a very large amount of list nodes |
| 18:27:38 | → | tromp joins (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
| 18:27:39 | <EvanR> | one for each char |
| 18:27:57 | <EvanR> | it shouldn't freeze, but it is consistent with 100% CPU |
| 18:28:30 | <EvanR> | ski, oh, that is worth a look |
| 18:28:57 | <John_Ivan> | I guess I'll just do more testing. thanks. |
| 18:29:17 | <John_Ivan> | I assumed it was something stupid I was doing that I couldn't see. guess there's more to it than that. |
| 18:29:30 | <dmj`> | ski: yea I wonder what he thinks about GRIN |
| 18:29:45 | <EvanR> | hrm... but you are only loading 1 directory, so it's not like it's trying to load your entire hard drive |
| 18:29:55 | × | motherfsck quits (~motherfsc@user/motherfsck) (Ping timeout: 264 seconds) |
| 18:30:02 | <John_Ivan> | EvanR, and there's barely anything in it. yeah. |
| 18:30:05 | <geekosaur> | yeh, I was thinking it'd need to be a really big directory for lists to matter |
| 18:30:10 | <John_Ivan> | not even recursively. |
| 18:30:23 | × | ph88 quits (~ph88@2a02:8109:9e26:c800::302a) (Server closed connection) |
| 18:30:26 | <EvanR> | could be a windows issue! |
| 18:30:47 | → | ph88 joins (~ph88@2a02:8109:9e26:c800::302a) |
| 18:30:48 | <John_Ivan> | it could very well be a windows issue indeed.... |
| 18:30:51 | <exarkun> | What is "barely anything"? 3 files? 3000 files? |
| 18:30:59 | <John_Ivan> | exarkun, 4 files. 3 directories. |
| 18:31:05 | <cstml> | John_Ivan: try an empty directory. Does it still hang? |
| 18:32:08 | <John_Ivan> | cstml, just did now. yeah. |
| 18:32:32 | <John_Ivan> | let me add a bunch of print statements... |
| 18:32:43 | <geekosaur> | hm, I'd add some `traceIO`s in there to see where it's hanging |
| 18:33:03 | <cstml> | try and add error statements, and see where you get to. |
| 18:33:18 | <cstml> | or as geekosaur suggested. |
| 18:33:36 | <John_Ivan> | it hangs before even the first "let" even makes it's way. |
| 18:33:37 | <geekosaur> | come to think of it, setCurrentDirectory with a drive letter doesn't do what unixers expect; make sure you're running it from drive C |
| 18:34:00 | <John_Ivan> | what bothers me is that CTRL+C doesn't work in the console |
| 18:34:02 | <geekosaur> | (current dir is per drive on Windows) |
| 18:34:06 | <John_Ivan> | I have to kill the process myself. |
| 18:34:07 | <exarkun> | What does `main = pure ()` do? |
| 18:34:14 | <EvanR> | ctrl+z in cmd.exe right |
| 18:34:14 | × | L29Ah quits (~L29Ah@wikipedia/L29Ah) (Server closed connection) |
| 18:34:31 | <geekosaur> | that doesn't surprise me; it's only responded to after an allocation, and if it's not looping on an allocation it will be ignored |
| 18:34:33 | <exarkun> | How are you running it? |
| 18:34:36 | <John_Ivan> | EvanR, CTRL+C in cmd.exe. it should do the same thing. |
| 18:34:52 | <exarkun> | Have you run any Haskell programs successfully in this environment? |
| 18:35:02 | <John_Ivan> | yup. the same program. with roughly the same code. about an hour ago. |
| 18:35:11 | <exarkun> | What changed? ;) |
| 18:35:18 | <EvanR> | the time |
| 18:35:22 | <EvanR> | at least xD |
| 18:35:30 | <John_Ivan> | me removing a mapM_ line |
| 18:35:33 | <John_Ivan> | which worked before. |
| 18:35:42 | <John_Ivan> | otherwise, nothing. probably the system/os/windows. |
| 18:35:43 | <exarkun> | Do you have the code from before? Maybe in vcs history? Can you run it again? |
| 18:35:50 | × | jmcantrell quits (644f1bed9a@user/jmcantrell) (Server closed connection) |
| 18:35:51 | <John_Ivan> | I'll try. |
| 18:35:58 | → | jmcantrell joins (644f1bed9a@user/jmcantrell) |
| 18:36:52 | <John_Ivan> | yeah. ok. I can confirm now. the same code which ran before, now doesn't work anymore. process hangs. so it sounds like an os issue. |
| 18:37:12 | <John_Ivan> | or just an "external" issue anyway. |
| 18:37:22 | <John_Ivan> | @exarkun, |
| 18:37:22 | <lambdabot> | Unknown command, try @list |
| 18:37:29 | × | jakzale quits (6291399afa@user/jakzale) (Server closed connection) |
| 18:37:38 | → | jakzale joins (6291399afa@user/jakzale) |
| 18:38:04 | <John_Ivan> | Dr Dre - "Today was not a good day." |
| 18:38:53 | <John_Ivan> | sigh. Fuck this. |
| 18:39:15 | × | myxos quits (~myxos@cpe-65-28-251-121.cinci.res.rr.com) (Remote host closed the connection) |
| 18:39:39 | <dmj`> | John_Ivan: are you on an NFS |
| 18:39:50 | <John_Ivan> | nope. local disk. |
| 18:39:50 | <EvanR> | stories of how for some reason the literal time of day would factor into windows bugs |
| 18:40:16 | <geekosaur> | hm, the only ones I recall of that were in excel |
| 18:40:32 | <dmj`> | John_Ivan: it doesn't print getWorkingDirectory >>= putStrLn ? |
| 18:40:37 | <John_Ivan> | I'll just move my code onto a linux vm |
| 18:40:42 | <John_Ivan> | dmj`, it "used to" |
| 18:40:46 | <John_Ivan> | I saw the result of the code |
| 18:41:13 | <dmj`> | are you using cygwin |
| 18:41:26 | <John_Ivan> | I'm not. |
| 18:41:32 | <dmj`> | I'd try it w/ cygwin |
| 18:42:35 | <John_Ivan> | dmj`, I'd be surprised if this just works if I reboot my machine. one moment. I'll do just that. |
| 18:43:05 | → | edr joins (~edr@user/edr) |
| 18:43:46 | × | John_Ivan quits (~John_Ivan@user/john-ivan/x-1515935) (Read error: Connection reset by peer) |
| 18:45:38 | × | euleritian quits (~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Read error: Connection reset by peer) |
| 18:46:26 | → | euleritian joins (~euleritia@77.22.252.56) |
| 18:46:39 | → | John_Ivan joins (~John_Ivan@user/john-ivan/x-1515935) |
| 18:47:31 | × | danse-nr3 quits (~danse@151.35.226.222) (Ping timeout: 260 seconds) |
| 18:47:55 | → | danse-nr3 joins (~danse@151.35.232.159) |
| 18:50:11 | <John_Ivan> | same issue. fuck it. in the linux vm it goes. |
| 18:50:55 | × | eggplantade quits (~Eggplanta@2600:1700:38c5:d800:a1fe:14ba:659d:abed) (Remote host closed the connection) |
| 18:51:02 | <dmj`> | John_Ivan: try cygwin, I've had success using Haskell on Windows w/ iit |
| 18:51:16 | <John_Ivan> | dmj`, call cabal through cygwin? |
| 18:51:29 | <dmj`> | yea |
| 18:51:40 | <dmj`> | cabal run in there |
| 18:52:17 | <dmj`> | or I guess you could just use the WSL now |
| 18:52:27 | <John_Ivan> | dmj`, hangs there too. |
| 18:52:37 | <John_Ivan> | CTRL+C doesn't work here either. fuck. |
| 18:53:18 | <EvanR> | can you get haskell to print hello world |
| 18:53:20 | × | ames quits (~amelia@offtopia/offtopian/amelia) (Server closed connection) |
| 18:53:33 | → | ames joins (~amelia@offtopia/offtopian/amelia) |
| 18:53:43 | <John_Ivan> | EvanR, no. it still hangs. |
| 18:53:57 | <EvanR> | maybe your haskell is just broken |
| 18:54:01 | <John_Ivan> | anyway I'm sick of this. I'll put it in a vm on linux. if it doesn't work there, i'm just cursed. |
| 18:56:18 | <dmj`> | John_Ivan: do we know if the problem is the compilation hanging, or actual program execution? Did -v show cabal had completed linking? |
| 18:56:51 | <John_Ivan> | dmj`, yes. the compilation and linking succeeds. execution hangs. |
| 18:58:28 | <dmj`> | even a simple hello world hangs? |
| 18:58:37 | → | nate4 joins (~nate@c-98-45-158-125.hsd1.ca.comcast.net) |
| 18:58:40 | <John_Ivan> | yes. |
| 19:00:02 | × | sus quits (1b7af6299f@user/zeromomentum) (Server closed connection) |
| 19:00:11 | → | sus_ joins (1b7af6299f@user/zeromomentum) |
| 19:00:16 | sus_ | is now known as sus |
| 19:00:53 | × | misterfish quits (~misterfis@84-53-85-146.bbserv.nl) (Ping timeout: 240 seconds) |
| 19:03:23 | × | nate4 quits (~nate@c-98-45-158-125.hsd1.ca.comcast.net) (Ping timeout: 260 seconds) |
| 19:03:25 | → | Guest|22 joins (~Guest|22@161.130.189.254) |
| 19:04:12 | <Guest|22> | I am on macOS Sonoma 14.0 and finished installing the curl command on my terminal |
| 19:04:19 | × | dcoutts quits (~duncan@cpc69402-oxfd27-2-0-cust903.4-3.cable.virginm.net) (Ping timeout: 260 seconds) |
| 19:04:56 | <Guest|22> | after completing all downloads, I tried run command ghc --version or ghci on my command line then it says command not found |
| 19:05:24 | <xerox> | how did you install ghc? |
| 19:06:24 | <Guest|22> | nevermind me. I fixed my problem by restarting my terminal. |
| 19:06:44 | <xerox> | wonderful :) |
| 19:06:55 | × | Guest|22 quits (~Guest|22@161.130.189.254) (Client Quit) |
| 19:07:44 | × | evanrelf quits (3addc196af@2604:bf00:561:2000::f0) (Server closed connection) |
| 19:07:52 | → | evanrelf joins (3addc196af@2604:bf00:561:2000::f0) |
| 19:08:20 | × | shachaf quits (~shachaf@user/shachaf) (Server closed connection) |
| 19:08:29 | → | shachaf joins (~shachaf@user/shachaf) |
| 19:09:04 | × | Simikando quits (~Simikando@adsl-dyn216.91-127-84.t-com.sk) (Remote host closed the connection) |
| 19:09:41 | × | gmg quits (~user@user/gehmehgeh) (Remote host closed the connection) |
| 19:09:44 | <EvanR> | you probably had the old environment variables like PATH still set |
| 19:10:03 | → | ec_ joins (~ec@gateway/tor-sasl/ec) |
| 19:10:11 | <EvanR> | oh they ragequit already |
| 19:10:36 | → | gmg joins (~user@user/gehmehgeh) |
| 19:10:47 | → | eggplantade joins (~Eggplanta@2600:1700:38c5:d800:a1fe:14ba:659d:abed) |
| 19:11:47 | × | danse-nr3 quits (~danse@151.35.232.159) (Ping timeout: 260 seconds) |
| 19:13:16 | × | ec quits (~ec@gateway/tor-sasl/ec) (Ping timeout: 264 seconds) |
| 19:15:52 | → | mechap joins (~mechap@user/mechap) |
| 19:16:29 | <probie> | I don't think they rage quit per se, they simply had their problem fixed |
| 19:17:23 | <tomsmeding> | they glee quit |
| 19:19:17 | × | sord937 quits (~sord937@gateway/tor-sasl/sord937) (Quit: sord937) |
| 19:20:45 | → | myxos joins (~myxos@cpe-65-28-251-121.cinci.res.rr.com) |
| 19:21:07 | <bwe> | dmj`: https://uploadpie.com/3XBLsy |
| 19:22:49 | <sm[i]> | John_Ivan: that's a good one. Have you isolated which line is hanging ? Eg which line lets it run when removed ? |
| 19:23:11 | × | nurupo quits (~nurupo.ga@user/nurupo) (Server closed connection) |
| 19:23:25 | → | nurupo joins (~nurupo.ga@user/nurupo) |
| 19:24:28 | × | eggplantade quits (~Eggplanta@2600:1700:38c5:d800:a1fe:14ba:659d:abed) (Remote host closed the connection) |
| 19:28:53 | × | gabriel_sevecek quits (~gabriel@188-167-229-200.dynamic.chello.sk) (Server closed connection) |
| 19:29:19 | → | gabriel_sevecek joins (~gabriel@188-167-229-200.dynamic.chello.sk) |
| 19:30:32 | × | xdej quits (~xdej@quatramaran.salle-s.org) (Server closed connection) |
| 19:30:42 | → | xdej joins (~xdej@quatramaran.salle-s.org) |
| 19:31:22 | × | pretty_dumm_guy quits (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) (Quit: WeeChat 3.5) |
| 19:32:04 | → | eggplantade joins (~Eggplanta@2600:1700:38c5:d800:a1fe:14ba:659d:abed) |
| 19:32:39 | → | pretty_dumm_guy joins (trottel@gateway/vpn/protonvpn/prettydummguy/x-88029655) |
| 19:33:17 | × | gawen quits (~gawen@user/gawen) (Server closed connection) |
| 19:34:04 | → | gawen joins (~gawen@user/gawen) |
| 19:34:41 | × | aniketd quits (32aa4844cd@2604:bf00:561:2000::dcb) (Server closed connection) |
| 19:34:50 | → | aniketd joins (32aa4844cd@2604:bf00:561:2000::dcb) |
| 19:39:36 | <Inst> | okay... evanr: https://www.bilibili.com/video/BV1Ah4y1D7Mf/?spm_id_from=333.999.0.0 |
| 19:39:46 | <Inst> | bleh, I got e-mailed back from her, but I think I blew it because I didn't watch enough of her vids |
| 19:40:12 | → | alp_ joins (~alp@2001:861:5e02:eff0:71ff:2767:de27:9471) |
| 19:44:35 | × | fluffyballoon quits (45ce440a48@2604:bf00:561:2000::e2) (Server closed connection) |
| 19:44:44 | → | fluffyballoon joins (45ce440a48@2604:bf00:561:2000::e2) |
| 19:45:44 | × | riatre quits (~quassel@2001:310:6000:f::5198:1) (Server closed connection) |
| 19:45:54 | → | riatre joins (~quassel@2001:310:6000:f::5198:1) |
| 19:46:16 | → | motherfsck joins (~motherfsc@user/motherfsck) |
| 19:49:20 | × | mrmr1553 quits (~mrmr@user/mrmr) (Quit: Ping timeout (120 seconds)) |
| 19:49:40 | → | mrmr1553 joins (~mrmr@user/mrmr) |
| 19:51:14 | × | EvanR quits (~EvanR@user/evanr) (Server closed connection) |
| 19:51:39 | → | EvanR joins (~EvanR@user/evanr) |
| 19:53:46 | × | mrmr1553 quits (~mrmr@user/mrmr) (Client Quit) |
| 19:54:05 | × | remmie quits (ianremsen@tilde.team) (Ping timeout: 240 seconds) |
| 19:54:07 | → | mrmr1553 joins (~mrmr@user/mrmr) |
| 19:55:21 | × | eggplantade quits (~Eggplanta@2600:1700:38c5:d800:a1fe:14ba:659d:abed) (Remote host closed the connection) |
| 19:56:50 | <phma> | I've been working on a program where one function uses "par s01 $ par s23 $ par s02 $ par s13 $ par s03 $ par s12 $" and computes them in parallel, |
| 19:57:24 | <phma> | whereas another uses the exact same construction, but computes them sequentially, taking much longer. Can someone look at it? |
| 19:59:23 | → | _xor6 joins (~xor@72.49.195.41) |
| 19:59:37 | <phma> | I've looked at it in Threadscope and used Okteta to search the eventlog for events. |
| 20:00:02 | × | _xor quits (~xor@72.49.195.41) (Ping timeout: 268 seconds) |
| 20:00:02 | _xor6 | is now known as _xor |
| 20:01:19 | <EvanR> | Inst, what |
| 20:01:26 | <Inst> | forget it |
| 20:02:11 | <EvanR> | my mandarin is a bit rusty, is there anything interesting being said |
| 20:02:15 | <int-e> | phma: I guess the stupid thing to rule out is... are both using the threaded RTS? |
| 20:02:29 | <Inst> | nothing, it's more that it's amazing that she's actually doing it, i screwed up because i asked her whether she was real |
| 20:02:44 | <Inst> | but it's not really a relevant discussion |
| 20:02:44 | × | sm2n quits (ae95cb1267@user/sm2n) (Server closed connection) |
| 20:02:55 | <EvanR> | I wonder if one of those holographic girlfriends would be better or worse at category theory |
| 20:02:57 | → | sm2n joins (ae95cb1267@user/sm2n) |
| 20:03:33 | <monochrom> | I don't know, I could be asking whether you are real, too. :) |
| 20:03:34 | <phma> | int-e: yes, and the program is calling both in the same run |
| 20:03:50 | <int-e> | . o O ( There are two categories of people, those who don't understand category theory, and those that do. ) |
| 20:04:04 | <monochrom> | IRC is not exactly realer than random websites. |
| 20:04:48 | <monochrom> | And there are two categories of category theorists, those who work with n-categories and those who don't. >:) |
| 20:04:51 | <int-e> | phma: anyway, the usual thing applies... people are unlikely to commit up front, but if you have code to show people might look at it and tell you what they find. |
| 20:05:04 | <int-e> | always a shot into the dark |
| 20:05:32 | <phma> | https://github.com/phma/wring-twistree |
| 20:05:58 | <phma> | command line: stack run -- -c relkey +RTS -ls |
| 20:10:49 | → | tomih_ joins (tomith@85-156-187-17.elisa-laajakaista.fi) |
| 20:10:55 | <hc> | Na ja, the original joke was that 10 could be read as ten (by those who don't understand binary) or as 2 (by those who do) |
| 20:11:08 | <hc> | Either I don't get the category theory adaption or it's just not funny, -v please |
| 20:12:04 | <EvanR> | there's a 2-category of people who don't understand category theory |
| 20:12:23 | × | earthy quits (~arthurvl@2a02-a469-f5e2-1-83d2-ca43-57a2-dc81.fixed6.kpn.net) (Server closed connection) |
| 20:12:41 | <monochrom> | I'm just going to change subject. |
| 20:12:43 | → | earthy joins (~arthurvl@2a02-a469-f5e2-1-83d2-ca43-57a2-dc81.fixed6.kpn.net) |
| 20:12:47 | <EvanR> | probably the second one hc |
| 20:12:55 | × | alp_ quits (~alp@2001:861:5e02:eff0:71ff:2767:de27:9471) (Remote host closed the connection) |
| 20:13:02 | → | L29Ah joins (~L29Ah@wikipedia/L29Ah) |
| 20:13:02 | <monochrom> | How do you visualize 6 dimensions? Answer: Visualize n dimensions then let n=6. |
| 20:13:11 | × | probie quits (cc0b34050a@user/probie) (Server closed connection) |
| 20:13:19 | → | probie joins (cc0b34050a@user/probie) |
| 20:13:31 | → | danza joins (~francesco@151.35.232.159) |
| 20:13:43 | × | tomith quits (tomith@user/tomith) (Ping timeout: 264 seconds) |
| 20:13:52 | tomih_ | is now known as tomith |
| 20:14:05 | × | biberu quits (~biberu@user/biberu) (Read error: Connection reset by peer) |
| 20:14:17 | <EvanR> | how do you visualize infinite dimensions. Visualize an ordinal number of dimensions and let n = omega |
| 20:14:25 | <monochrom> | Actually that's how I understood a particular hybrid discrete-continuous and highly dependent probabiliy distribution. |
| 20:14:28 | <geekosaur> | I use a zipper xD |
| 20:14:57 | <monochrom> | I understood measure theory and the Giry monad in general, then let mu be that particular distribution. :) |
| 20:15:41 | <monochrom> | This is the talk I gave after figuring it out: https://www.cs.utoronto.ca/~trebla/cpm.pdf |
| 20:18:08 | × | whereiseveryone quits (206ba86c98@2604:bf00:561:2000::2e4) (Server closed connection) |
| 20:18:17 | → | whereiseveryone joins (206ba86c98@2604:bf00:561:2000::2e4) |
| 20:23:38 | × | brettgilio quits (a35ba67324@2604:bf00:561:2000::260) (Server closed connection) |
| 20:23:47 | → | brettgilio joins (a35ba67324@2604:bf00:561:2000::260) |
| 20:24:58 | → | Tuplanolla joins (~Tuplanoll@91-159-68-236.elisa-laajakaista.fi) |
| 20:26:09 | <EvanR> | does/can probability of probability represent conditional probability |
| 20:26:33 | <monochrom> | No. But conditional probability is easy. |
| 20:27:04 | × | lyxia quits (~lyxia@poisson.chat) (Quit: WeeChat 4.0.2) |
| 20:27:39 | → | eggplantade joins (~Eggplanta@2600:1700:38c5:d800:a1fe:14ba:659d:abed) |
| 20:27:49 | <monochrom> | "randomly pick a parameter for binomial" is where you have probability of probabilities. |
| 20:27:49 | <EvanR> | P (a ∩ b) / P b |
| 20:27:58 | <EvanR> | you just need intersection types! |
| 20:28:03 | <monochrom> | :( |
| 20:28:23 | <int-e> | phma: you should change the base lowerbound to base >= 4.17 constraint to that code; the .>>. bit rotation operations aren't available in earlier versions |
| 20:29:52 | <monochrom> | Later when I have time, I will look into something like ContT ? Giry to absorb conditional probability. |
| 20:31:09 | <monochrom> | But it probably won't make anything easier. |
| 20:31:23 | × | ACuriousMoose quits (~ACuriousM@142.166.18.53) (Server closed connection) |
| 20:31:45 | → | ACuriousMoose joins (~ACuriousM@142.166.18.53) |
| 20:31:50 | → | fendor joins (~fendor@2a02:8388:1640:be00:ca17:ceee:5bbe:1594) |
| 20:33:28 | <EvanR> | P X is like a random variable yielding an X ? |
| 20:34:19 | <EvanR> | I should just take the tardis and attend that talk |
| 20:34:24 | <monochrom> | I decided to demote the whole notion of "random variable". |
| 20:34:48 | <phma> | int-e: done, didn't affect the parallelism |
| 20:35:55 | <monochrom> | Instead, P is either a monad from package random, or the Giry monad. In the latter case, P X is the set of all probability distributions over X. |
| 20:35:56 | <int-e> | phma: of course not, this comment was a result of me wasting a bunch of time building all the dependencies with ghc-9.2.7 |
| 20:36:21 | <int-e> | phma: only to find out in the end that your code doesn't compile with that ghc version |
| 20:37:08 | <phma> | I'm running 9.4.5 in stack |
| 20:37:28 | <geekosaur> | you need to document that in the cabal file so people don't try to use older versions and fail |
| 20:38:08 | <int-e> | phma: Anyway, all those three calls show parallelism to me here... but the 6 "jobs" aren't the same cost, so CPU usage drops from close to 600% to about 100% as they finish one after another. |
| 20:38:20 | <geekosaur> | you waste the time of people trying to help you if your bounds are wrong |
| 20:39:23 | <int-e> | hmmm |
| 20:39:51 | <int-e> | sorry, ignore that, I'm not on the right branch here |
| 20:41:35 | <phma> | The marker with -con- in the middle is placed at the start of the computation; it looks like it starts each when the previous one finishes. |
| 20:41:41 | → | machinedgod joins (~machinedg@d198-53-218-113.abhsia.telus.net) |
| 20:42:27 | → | [Leary] joins (~Leary]@user/Leary/x-0910699) |
| 20:42:58 | <phma> | The ones with -diff- in the middle are placed nearly simultaneously, then activity goes up to 4ish and stays high until they all finish about the same time. |
| 20:43:23 | × | TimWolla quits (~timwolla@2a01:4f8:150:6153:beef::6667) (Server closed connection) |
| 20:43:34 | → | TimWolla joins (~timwolla@2a01:4f8:150:6153:beef::6667) |
| 20:44:20 | <int-e> | > (undefined, undefined) `seq` 42 |
| 20:44:22 | <lambdabot> | 42 |
| 20:44:26 | <phma> | The ones placed by traceMarkerIO show up as vertical lines in Threadscope; the ones placed by traceEvent show up only in the event log, and I had to use Okteta to find them. |
| 20:45:21 | <int-e> | phma: It's because of the different result type. Forcing a pair constructor doesn't force the values it holds, so your `par` essentially don't do anything. |
| 20:45:33 | <phma> | Ah! |
| 20:46:46 | <phma> | If I did "par (fst s01)" would it work? |
| 20:47:04 | sajith_ | is now known as sajith |
| 20:48:26 | <int-e> | It would. Or a strict pair type instead of (Double,Double), or something like deepseq. (There's `rnf`, which package is that again?) |
| 20:49:23 | <phma> | Okay. I'll try par fst tonight; I have to go out and pick up a print job. |
| 20:50:03 | <int-e> | Oh, that *is* deepseq. With `rnf` you can do rnf s01 `par` rnf s02 `par` ... |
| 20:50:13 | <int-e> | https://hackage.haskell.org/package/deepseq-1.4.8.1/docs/Control-DeepSeq.html#v:rnf |
| 20:50:47 | × | vulpine quits (xfnw@tilde.team) (Ping timeout: 252 seconds) |
| 20:51:13 | × | danza quits (~francesco@151.35.232.159) (Ping timeout: 268 seconds) |
| 20:51:35 | <int-e> | (I prefer writing `par` as an infix operator. It even has a convenient fixity, infixr 0 `seq`.) |
| 20:51:53 | <int-e> | (which is the same as $) |
| 20:52:30 | <int-e> | sorry, `seq` was supposed to be `par`. `seq` *also* has the same fixity. |
| 20:59:23 | × | henrytill quits (e0180937c3@2604:bf00:561:2000::e8c) (Server closed connection) |
| 20:59:32 | → | henrytill joins (e0180937c3@2604:bf00:561:2000::e8c) |
| 21:01:28 | × | gmg quits (~user@user/gehmehgeh) (Quit: Leaving) |
| 21:02:47 | × | trev quits (~trev@user/trev) (Quit: trev) |
| 21:04:20 | × | MonsoonSecrecy quits (f78c86e960@2604:bf00:561:2000::f99) (Server closed connection) |
| 21:04:30 | → | MonsoonSecrecy joins (f78c86e960@2604:bf00:561:2000::f99) |
| 21:04:55 | × | myxos quits (~myxos@cpe-65-28-251-121.cinci.res.rr.com) (Remote host closed the connection) |
| 21:07:41 | → | kspalaiologos joins (~kspalaiol@user/kspalaiologos) |
| 21:08:59 | × | steew quits (~steew@user/steew) (Server closed connection) |
| 21:09:16 | → | steew joins (~steew@204.red-81-33-65.dynamicip.rima-tde.net) |
| 21:09:36 | × | kspalaiologos quits (~kspalaiol@user/kspalaiologos) (Client Quit) |
| 21:09:39 | steew | is now known as Guest1194 |
| 21:10:35 | × | mniip quits (mniip@libera/staff/mniip) (*.net *.split) |
| 21:10:42 | → | mniip joins (mniip@libera/staff/mniip) |
| 21:14:56 | × | eggplantade quits (~Eggplanta@2600:1700:38c5:d800:a1fe:14ba:659d:abed) (Ping timeout: 245 seconds) |
| 21:16:50 | → | caryhartline joins (~caryhartl@168.182.58.169) |
| 21:18:20 | → | zetef joins (~quassel@95.77.17.251) |
| 21:19:44 | × | Ankhers quits (e99e97ef8e@2604:bf00:561:2000::2a2) (Server closed connection) |
| 21:19:53 | → | Ankhers joins (e99e97ef8e@2604:bf00:561:2000::2a2) |
| 21:21:11 | × | caryhartline quits (~caryhartl@168.182.58.169) (Ping timeout: 245 seconds) |
| 21:22:36 | → | lyxia joins (~lyxia@poisson.chat) |
| 21:23:19 | → | misterfish joins (~misterfis@84-53-85-146.bbserv.nl) |
| 21:24:50 | × | _ht quits (~Thunderbi@28-52-174-82.ftth.glasoperator.nl) (Remote host closed the connection) |
| 21:26:21 | × | zetef quits (~quassel@95.77.17.251) (Ping timeout: 260 seconds) |
| 21:26:31 | → | zetef joins (~quassel@5.2.182.98) |
| 21:26:39 | × | barrucadu quits (~barrucadu@carcosa.barrucadu.co.uk) (Server closed connection) |
| 21:26:55 | → | barrucadu joins (~barrucadu@carcosa.barrucadu.co.uk) |
| 21:27:59 | × | rselim quits (ce261f06ff@user/milesrout) (Server closed connection) |
| 21:28:11 | → | rselim joins (ce261f06ff@user/milesrout) |
| 21:30:20 | → | ft joins (~ft@p508db3bc.dip0.t-ipconnect.de) |
| 21:33:00 | × | Guest1194 quits (~steew@204.red-81-33-65.dynamicip.rima-tde.net) (Changing host) |
| 21:33:00 | → | Guest1194 joins (~steew@user/steew) |
| 21:33:00 | Guest1194 | is now known as steew |
| 21:33:24 | × | titibandit quits (~titibandi@user/titibandit) (Server closed connection) |
| 21:33:39 | → | titibandit joins (~titibandi@user/titibandit) |
| 21:39:42 | → | jmdaemon joins (~jmdaemon@user/jmdaemon) |
| 21:42:35 | → | dcoutts joins (~duncan@cpc69402-oxfd27-2-0-cust903.4-3.cable.virginm.net) |
| 21:43:38 | × | misterfish quits (~misterfis@84-53-85-146.bbserv.nl) (Ping timeout: 268 seconds) |
| 21:45:00 | → | nate4 joins (~nate@c-98-45-158-125.hsd1.ca.comcast.net) |
| 21:46:15 | × | fendor quits (~fendor@2a02:8388:1640:be00:ca17:ceee:5bbe:1594) (Remote host closed the connection) |
| 21:49:59 | × | nate4 quits (~nate@c-98-45-158-125.hsd1.ca.comcast.net) (Ping timeout: 260 seconds) |
| 21:53:32 | × | seeg123456 quits (~seeg12345@64.176.64.83) (Server closed connection) |
| 21:54:06 | <EvanR> | >par is generally used when the value of a is likely to be required later, but not immediately. |
| 21:55:10 | <EvanR> | it makes me think par might be beneficial to use in "normal code" in judicious places, rather than / in addition to programs that are intentionally trying to do a big parallel computation as parallel as possible |
| 21:55:36 | × | tstat quits (~tstat@user/tstat) (Server closed connection) |
| 21:55:52 | × | takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection) |
| 21:55:56 | → | tstat joins (~tstat@user/tstat) |
| 21:57:53 | <EvanR> | or in the former case it might at least less likely you make it worse by trying to make it parallel |
| 21:58:01 | <EvanR> | be |
| 21:58:47 | × | arcadewise quits (52968ed80d@2604:bf00:561:2000::3df) (Server closed connection) |
| 21:58:56 | → | arcadewise joins (52968ed80d@2604:bf00:561:2000::3df) |
| 21:59:35 | × | zaquest quits (~notzaques@5.130.79.72) (Server closed connection) |
| 21:59:56 | → | zaquest joins (~notzaques@5.130.79.72) |
| 22:00:36 | <EvanR> | par x y = case (par# x) of { _ -> lazy y }, hmm where is this function lazy coming from |
| 22:01:12 | <c_wraith> | EvanR: are you familiar with https://hackage.haskell.org/package/speculation ? |
| 22:01:43 | <c_wraith> | EvanR: in other news, https://hackage.haskell.org/package/base-4.19.0.0/docs/GHC-Exts.html#v:lazy (it's very much a GHC internal) |
| 22:04:30 | <EvanR> | not familiar no |
| 22:04:55 | × | Inst quits (~Inst@120.244.192.250) (Ping timeout: 245 seconds) |
| 22:07:26 | × | sadmax quits (~user@64.130.91.66) (Ping timeout: 245 seconds) |
| 22:08:23 | × | johnw quits (~johnw@69.62.242.138) (Quit: ZNC - http://znc.in) |
| 22:08:29 | × | notzmv quits (~zmv@user/notzmv) (Ping timeout: 240 seconds) |
| 22:11:22 | <EvanR> | spec :: Eq a => a -> (a -> b) -> a -> b, spec x f y evaluates to f x if x==y else f y. So kind of like memoization, but instead of remembering, you perform a speculative computation in parallel, which might be what you wanted by the time y is available |
| 22:12:42 | → | remmie joins (ianremsen@tilde.team) |
| 22:14:35 | × | dolio quits (~dolio@130.44.134.54) (Quit: ZNC 1.8.2 - https://znc.in) |
| 22:16:03 | → | dolio joins (~dolio@130.44.134.54) |
| 22:16:04 | <monochrom> | "lazy" is a pretended function to tell GHC to increase laziness. |
| 22:16:42 | <monochrom> | You can find it in some GHC.* module, but clearly, the real code is baked into the compiler not the library. |
| 22:16:50 | <EvanR> | the source is not found so I guess it's like lazy# or something |
| 22:16:59 | <EvanR> | lazy# _ |
| 22:16:59 | <monochrom> | Or rather, there is no real code, it's a annotation. |
| 22:18:23 | × | dolio quits (~dolio@130.44.134.54) (Client Quit) |
| 22:18:47 | <monochrom> | It's times like this (and the RealWord# -> ... thing) that I wonder whether "use the source Luke" is harmful advice or people do not actually take it to its logical conclusion. |
| 22:19:23 | <monochrom> | Because the middle ground of using the library source code, but not one step further to also use the compiler source code, is the worst of both worlds. |
| 22:19:34 | <geekosaur> | actually the whole versioned package is missing on Hackage |
| 22:20:08 | → | dolio joins (~dolio@130.44.134.54) |
| 22:20:15 | <monochrom> | Ugh pun opportunity on "world" haha. |
| 22:20:28 | <geekosaur> | https://hackage.haskell.org/package/ghc-prim-0.11.0/docs/src/GHC.Magic.html#lazy |
| 22:20:51 | <geekosaur> | see the comment after its definition; the real magic is inside of ghc |
| 22:24:33 | × | incertia quits (~incertia@209.122.71.127) (Server closed connection) |
| 22:24:55 | → | incertia joins (~incertia@209.122.71.127) |
| 22:25:44 | × | cpli quits (77fc530071@2604:bf00:561:2000::252) (Server closed connection) |
| 22:25:54 | → | cpli joins (77fc530071@2604:bf00:561:2000::252) |
| 22:27:05 | × | zetef quits (~quassel@5.2.182.98) (Read error: Connection reset by peer) |
| 22:27:14 | × | stefan-__ quits (~m-yh2rcc@42dots.de) (Server closed connection) |
| 22:27:27 | → | stefan-__ joins (~m-yh2rcc@42dots.de) |
| 22:28:27 | → | vulpine joins (xfnw@tilde.team) |
| 22:30:38 | <zero> | using the source to understand anything in haskell as a beginner is terrible advice |
| 22:31:18 | <zero> | source: was once beginner |
| 22:32:02 | × | Teacup quits (~teacup@user/teacup) (Server closed connection) |
| 22:32:13 | → | Teacup joins (~teacup@user/teacup) |
| 22:33:05 | × | acidjnk quits (~acidjnk@p200300d6e72b93217d79895cb809dcc2.dip0.t-ipconnect.de) (Ping timeout: 260 seconds) |
| 22:33:26 | → | ubert joins (~Thunderbi@77.119.172.155.wireless.dyn.drei.com) |
| 22:33:26 | × | ymherklotz quits (cb2c9cfbdd@2604:bf00:561:2000::29a) (Server closed connection) |
| 22:33:34 | → | ymherklotz joins (cb2c9cfbdd@2604:bf00:561:2000::29a) |
| 22:38:30 | × | connrs quits (~connrs@user/connrs) (Server closed connection) |
| 22:38:31 | × | euleritian quits (~euleritia@77.22.252.56) (Ping timeout: 260 seconds) |
| 22:38:47 | → | connrs joins (~connrs@user/connrs) |
| 22:38:47 | → | euleritian joins (~euleritia@dynamic-089-204-135-248.89.204.135.pool.telefonica.de) |
| 22:38:53 | × | idgaen quits (~idgaen@2a01:e0a:498:fd50:fcc6:bb5d:489a:ce8c) (Quit: WeeChat 4.1.1) |
| 22:39:29 | × | b0o quits (0e4a0bf4c9@2604:bf00:561:2000::1bf) (Server closed connection) |
| 22:39:39 | → | b0o joins (0e4a0bf4c9@2604:bf00:561:2000::1bf) |
| 22:40:02 | × | akspecs quits (00cc8321af@sourcehut/user/akspecs) (Server closed connection) |
| 22:40:11 | → | akspecs joins (00cc8321af@sourcehut/user/akspecs) |
| 22:43:20 | × | samhh quits (7569f027cf@2604:bf00:561:2000::e4) (Server closed connection) |
| 22:43:20 | samhh_ | is now known as samhh |
| 22:45:03 | → | samhh_ joins (7569f027cf@2604:bf00:561:2000::e4) |
| 22:49:41 | × | tromp quits (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 22:53:30 | × | robbert-vdh quits (~robbert@robbertvanderhelm.nl) (Server closed connection) |
| 22:53:54 | → | robbert-vdh joins (~robbert@robbertvanderhelm.nl) |
| 22:58:05 | × | chomwitt quits (~chomwitt@athedsl-346287.home.otenet.gr) (Ping timeout: 240 seconds) |
| 23:03:41 | × | chaitlatte0 quits (ea29c0bb16@user/chaitlatte0) (Server closed connection) |
| 23:03:51 | → | chaitlatte0 joins (ea29c0bb16@user/chaitlatte0) |
| 23:04:16 | × | Tuplanolla quits (~Tuplanoll@91-159-68-236.elisa-laajakaista.fi) (Quit: Leaving.) |
| 23:04:36 | × | coot quits (~coot@89-69-206-216.dynamic.chello.pl) (Quit: coot) |
| 23:12:25 | → | eggplantade joins (~Eggplanta@2600:1700:38c5:d800:a1fe:14ba:659d:abed) |
| 23:20:44 | × | fn_lumi quits (3d621153a5@2604:bf00:561:2000::df7) (Server closed connection) |
| 23:20:52 | → | fn_lumi joins (3d621153a5@2604:bf00:561:2000::df7) |
| 23:22:23 | × | jkoshy quits (99b9359beb@user/jkoshy) (Server closed connection) |
| 23:22:33 | → | jkoshy joins (99b9359beb@user/jkoshy) |
| 23:23:42 | → | emmanuelux joins (~emmanuelu@user/emmanuelux) |
| 23:30:47 | × | GoldsteinQ quits (~goldstein@goldstein.rs) (Server closed connection) |
| 23:32:08 | → | GoldsteinQ joins (~goldstein@goldstein.rs) |
| 23:34:18 | × | TheCoffeMaker quits (~TheCoffeM@user/thecoffemaker) (Server closed connection) |
| 23:34:40 | → | TheCoffeMaker joins (~TheCoffeM@user/thecoffemaker) |
| 23:35:23 | → | myxos joins (~myxos@cpe-65-28-251-121.cinci.res.rr.com) |
| 23:37:14 | × | JoelMcCracken quits (5ea8252fbb@2604:bf00:561:2000::10e3) (Server closed connection) |
| 23:37:26 | → | JoelMcCracken joins (5ea8252fbb@2604:bf00:561:2000::10e3) |
| 23:41:50 | × | mechap quits (~mechap@user/mechap) (Ping timeout: 252 seconds) |
| 23:42:28 | × | michalz quits (~michalz@185.246.207.222) (Remote host closed the connection) |
| 23:51:30 | → | larnee joins (~gm@APN-123-251-154-gprs.simobil.net) |
| 23:59:24 | × | puke quits (~puke@user/puke) (Ping timeout: 240 seconds) |
| 23:59:42 | → | talismanick joins (~user@campus-116-122.ucdavis.edu) |
All times are in UTC on 2023-11-14.