Logs: freenode/#haskell
| 2020-11-25 20:22:49 | ← | pokid parts (~pokid@unaffiliated/pokid) () |
| 2020-11-25 20:22:59 | <merijn> | koz_: 3. generalize functionality so that name is now overly specific >.> |
| 2020-11-25 20:23:06 | <koz_> | merijn: Rofl this. |
| 2020-11-25 20:23:12 | → | Deide joins (~Deide@217.155.19.23) |
| 2020-11-25 20:23:25 | <koz_> | Because if you don't have five type variables and ten constraints, what are you even doing? |
| 2020-11-25 20:23:36 | <koz_> | (four of which must be higher-order) |
| 2020-11-25 20:23:39 | → | LKoen joins (~LKoen@169.244.88.92.rev.sfr.net) |
| 2020-11-25 20:23:55 | <merijn> | koz_: Oh, more like "I named it broadcast-chan and now it's unclear that there's a bunch of super useful parallelisation things in there" :p |
| 2020-11-25 20:24:25 | <koz_> | merijn: I _cannot_ read '-chan' without imagining animu schoolgirls. |
| 2020-11-25 20:25:18 | × | kelsey quits (~keteskyl@2600:6c64:7b7f:fa42:e18f:e78b:7854:f771) (Client Quit) |
| 2020-11-25 20:25:36 | <monochrom> | And the following is true of both complex analysis and lumber work: To take logs, you must cut branches. |
| 2020-11-25 20:25:41 | → | kelsey joins (~keteskyl@2600:6c64:7b7f:fa42:e18f:e78b:7854:f771) |
| 2020-11-25 20:25:49 | <tomjaguarpaw> | Or "I named it product-profunctors and now I realise that sum profunctors are useful too" |
| 2020-11-25 20:25:49 | → | fendor joins (~fendor@178.165.131.166.wireless.dyn.drei.com) |
| 2020-11-25 20:26:01 | → | kuribas joins (~user@ptr-25vy0iacghmhtu8v1sd.18120a2.ip6.access.telenet.be) |
| 2020-11-25 20:26:41 | <merijn> | tbh, broadcast-chan-conduit is some of the most massively useful code I've written and now it's under a cryptic name like that :p |
| 2020-11-25 20:26:56 | → | wonko7 joins (~wonko7@lns-bzn-55-82-255-183-4.adsl.proxad.net) |
| 2020-11-25 20:27:06 | <tomjaguarpaw> | What does it do? |
| 2020-11-25 20:27:08 | <koz_> | merijn: Needs more wordplay. |
| 2020-11-25 20:27:15 | <koz_> | Quick, summon monochrom! |
| 2020-11-25 20:27:32 | → | gproto023 joins (~gproto23@unaffiliated/gproto23) |
| 2020-11-25 20:28:03 | <merijn> | tomjaguarpaw: Suppose you have a stream of items you wanna map an IO function over. You use Conduit.mapM. Except your IO is slow and blocking (like an HTTP request), why not parallelise that part of your conduit pipeline! |
| 2020-11-25 20:28:52 | <tomjaguarpaw> | Ah cool |
| 2020-11-25 20:29:10 | <tomjaguarpaw> | So you have a queue of items in progress whilst you wait for the first to finish? |
| 2020-11-25 20:29:59 | × | gproto23 quits (~gproto23@unaffiliated/gproto23) (Ping timeout: 256 seconds) |
| 2020-11-25 20:30:06 | <merijn> | tomjaguarpaw: You can have N parallel running copies of you "a -> IO b" (or really anything MonadUnliftIO) and just process them in whatever order they finish |
| 2020-11-25 20:30:13 | × | kelsey quits (~keteskyl@2600:6c64:7b7f:fa42:e18f:e78b:7854:f771) (Client Quit) |
| 2020-11-25 20:30:18 | × | LKoen quits (~LKoen@169.244.88.92.rev.sfr.net) (Read error: Connection reset by peer) |
| 2020-11-25 20:30:38 | → | kelsey joins (~keteskyl@2600:6c64:7b7f:fa42:e18f:e78b:7854:f771) |
| 2020-11-25 20:32:43 | × | kelsey quits (~keteskyl@2600:6c64:7b7f:fa42:e18f:e78b:7854:f771) (Client Quit) |
| 2020-11-25 20:32:45 | → | f-a joins (~f-a@151.34.188.246) |
| 2020-11-25 20:33:04 | → | kelsey joins (~keteskyl@2600:6c64:7b7f:fa42:e18f:e78b:7854:f771) |
| 2020-11-25 20:33:14 | × | Iceland_jack quits (~user@31.124.48.169) (Read error: Connection reset by peer) |
| 2020-11-25 20:33:22 | → | LKoen joins (~LKoen@169.244.88.92.rev.sfr.net) |
| 2020-11-25 20:33:32 | → | Iceland_jack joins (~user@31.124.48.169) |
| 2020-11-25 20:33:47 | × | kuribas quits (~user@ptr-25vy0iacghmhtu8v1sd.18120a2.ip6.access.telenet.be) (Quit: ERC (IRC client for Emacs 26.3)) |
| 2020-11-25 20:34:51 | × | danvet quits (~Daniel@2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa) (Ping timeout: 272 seconds) |
| 2020-11-25 20:36:02 | × | conal quits (~conal@64.71.133.70) (Quit: Computer has gone to sleep.) |
| 2020-11-25 20:36:58 | → | justsomeguy joins (~justsomeg@unaffiliated/--/x-3805311) |
| 2020-11-25 20:40:12 | × | heatsink quits (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection) |
| 2020-11-25 20:40:28 | × | kelsey quits (~keteskyl@2600:6c64:7b7f:fa42:e18f:e78b:7854:f771) (Quit: WeeChat 2.8) |
| 2020-11-25 20:40:29 | → | heatsink joins (~heatsink@107-136-5-69.lightspeed.sntcca.sbcglobal.net) |
| 2020-11-25 20:41:50 | × | Kaivo quits (~Kaivo@104-200-86-99.mc.derytele.com) (Quit: WeeChat 2.9) |
| 2020-11-25 20:42:11 | → | Kaivo joins (~Kaivo@104-200-86-99.mc.derytele.com) |
| 2020-11-25 20:42:46 | → | hidedagger joins (~nate@unaffiliated/hidedagger) |
| 2020-11-25 20:43:21 | × | s00pcan quits (~chris@075-133-056-178.res.spectrum.com) (Remote host closed the connection) |
| 2020-11-25 20:44:01 | × | Guest10117 quits (~vollenwei@4e69b241.skybroadband.com) (Ping timeout: 264 seconds) |
| 2020-11-25 20:44:28 | → | kelsey joins (~keteskyl@2600:6c64:7b7f:fa42:880b:e2d1:945a:df75) |
| 2020-11-25 20:44:57 | × | AlterEgo- quits (~ladew@124-198-158-163.dynamic.caiway.nl) (Quit: Leaving) |
| 2020-11-25 20:45:14 | × | hidedagger quits (~nate@unaffiliated/hidedagger) (Client Quit) |
| 2020-11-25 20:45:54 | × | Kaivo quits (~Kaivo@104-200-86-99.mc.derytele.com) (Client Quit) |
| 2020-11-25 20:45:58 | × | geekosaur quits (82659a09@host154-009.vpn.uakron.edu) (Remote host closed the connection) |
| 2020-11-25 20:46:18 | → | Kaivo joins (~Kaivo@104-200-86-99.mc.derytele.com) |
| 2020-11-25 20:49:52 | × | knupfer quits (~Thunderbi@200116b82ca96500dc7bf53810219cf9.dip.versatel-1u1.de) (Ping timeout: 260 seconds) |
| 2020-11-25 20:50:01 | × | wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 264 seconds) |
| 2020-11-25 20:51:15 | → | Guest10117 joins (~vollenwei@4e69b241.skybroadband.com) |
| 2020-11-25 20:53:44 | → | knupfer joins (~Thunderbi@200116b82ca9650038f2d3fffee42921.dip.versatel-1u1.de) |
| 2020-11-25 20:53:44 | × | knupfer quits (~Thunderbi@200116b82ca9650038f2d3fffee42921.dip.versatel-1u1.de) (Client Quit) |
| 2020-11-25 20:54:00 | → | knupfer joins (~Thunderbi@i5E86B492.versanet.de) |
| 2020-11-25 20:54:07 | × | bergey` quits (~user@107.181.19.30) (Ping timeout: 246 seconds) |
| 2020-11-25 20:54:57 | × | Varis quits (~Tadas@unaffiliated/varis) (Remote host closed the connection) |
| 2020-11-25 20:56:17 | × | knupfer quits (~Thunderbi@i5E86B492.versanet.de) (Client Quit) |
| 2020-11-25 20:56:24 | → | knupfer joins (~Thunderbi@200116b82ca9650071867c643babc6d8.dip.versatel-1u1.de) |
| 2020-11-25 20:56:28 | × | gproto023 quits (~gproto23@unaffiliated/gproto23) (Ping timeout: 256 seconds) |
| 2020-11-25 20:58:19 | × | Guest10117 quits (~vollenwei@4e69b241.skybroadband.com) (Ping timeout: 256 seconds) |
| 2020-11-25 20:58:37 | → | dwt joins (~dwt@c-98-200-58-177.hsd1.tx.comcast.net) |
| 2020-11-25 21:02:38 | <dminuoso> | merijn: Why not just mapM with forkIO? |
| 2020-11-25 21:02:49 | <dminuoso> | Oh wait |
| 2020-11-25 21:02:55 | <dminuoso> | This feeds the results back into the conduit? |
| 2020-11-25 21:02:56 | × | f-a quits (~f-a@151.34.188.246) (Ping timeout: 240 seconds) |
| 2020-11-25 21:04:01 | → | Varis joins (~Tadas@unaffiliated/varis) |
| 2020-11-25 21:05:02 | <merijn> | dminuoso: Yes |
| 2020-11-25 21:05:12 | → | f-a joins (~f-a@151.38.94.168) |
| 2020-11-25 21:05:17 | <merijn> | dminuoso: Also it handles retrying on exception or other exception mechanisms |
| 2020-11-25 21:05:31 | → | conal joins (~conal@64.71.133.70) |
| 2020-11-25 21:05:33 | <merijn> | dminuoso: Also the parallelism is bounded, unlike mapConcurrently |
| 2020-11-25 21:05:50 | <merijn> | Which is important, if you're gonna, say, push a few million entries through :) |
| 2020-11-25 21:06:25 | <merijn> | dminuoso: Also, the complexity of handling multiple parallel forkIOs is insane |
| 2020-11-25 21:06:45 | ← | f-a parts (~f-a@151.38.94.168) () |
| 2020-11-25 21:06:49 | <merijn> | dminuoso: Because I implemented it like that in like 3 different projects and figured I might as well do it properly *once* and be done with it |
| 2020-11-25 21:07:14 | <merijn> | Because Async doesn't quite fit my wants/needs |
| 2020-11-25 21:10:02 | → | jonn joins (~sweater@206.81.18.26) |
| 2020-11-25 21:10:04 | <merijn> | dminuoso: That's also why I made sure to keep the dependency footprint superlow (3 transitive dependencies: base, transformers, and unliftio-core), so I can easily slap it in/on things :p |
| 2020-11-25 21:10:14 | → | wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) |
| 2020-11-25 21:13:16 | × | ystael quits (~ystael@209.6.50.55) (Read error: Connection reset by peer) |
| 2020-11-25 21:13:27 | × | machinedgod quits (~machinedg@135-23-192-217.cpe.pppoe.ca) (Quit: leaving) |
| 2020-11-25 21:15:04 | → | Franciman joins (~francesco@host-82-54-193-143.retail.telecomitalia.it) |
| 2020-11-25 21:15:40 | × | takuan quits (~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection) |
| 2020-11-25 21:16:19 | × | Er quits (5fa448e7@95.164.72.231) (Ping timeout: 245 seconds) |
| 2020-11-25 21:16:30 | → | ystael joins (~ystael@209.6.50.55) |
| 2020-11-25 21:17:41 | × | Franciman quits (~francesco@host-82-54-193-143.retail.telecomitalia.it) (Remote host closed the connection) |
| 2020-11-25 21:17:57 | → | Franciman joins (~francesco@host-82-54-193-143.retail.telecomitalia.it) |
| 2020-11-25 21:20:30 | → | matta joins (~user@24-113-169-116.wavecable.com) |
| 2020-11-25 21:20:35 | × | Franciman quits (~francesco@host-82-54-193-143.retail.telecomitalia.it) (Client Quit) |
| 2020-11-25 21:21:34 | → | machinedgod joins (~machinedg@135-23-192-217.cpe.pppoe.ca) |
| 2020-11-25 21:23:16 | × | caecilius quits (~caecilius@pool-108-46-151-95.nycmny.fios.verizon.net) (Remote host closed the connection) |
| 2020-11-25 21:26:44 | × | coot quits (~coot@37.30.49.253.nat.umts.dynamic.t-mobile.pl) (Quit: coot) |
| 2020-11-25 21:26:57 | → | Franciman joins (~francesco@host-82-54-193-143.retail.telecomitalia.it) |
| 2020-11-25 21:27:45 | × | jollygood2 quits (~bc8165ab@217.29.117.252) (Quit: http://www.okay.uz/ (Session timeout)) |
| 2020-11-25 21:29:13 | × | royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Quit: Connection closed) |
All times are in UTC.