Newest at the top
2025-08-05 08:19:48 +0200 | haritz | (~hrtz@user/haritz) (Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in) |
2025-08-05 08:18:00 +0200 | CiaoSen | (~Jura@2a02:8071:64e1:da0:5a47:caff:fe78:33db) CiaoSen |
2025-08-05 08:16:27 +0200 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn |
2025-08-05 08:14:41 +0200 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 248 seconds) |
2025-08-05 08:13:48 +0200 | Frostillicus | (~Frostilli@pool-71-174-119-69.bstnma.fios.verizon.net) |
2025-08-05 08:12:16 +0200 | trickard_ | (~trickard@cpe-56-98-47-163.wireline.com.au) |
2025-08-05 08:11:42 +0200 | trickard_ | (~trickard@cpe-56-98-47-163.wireline.com.au) (Ping timeout: 252 seconds) |
2025-08-05 08:10:12 +0200 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn |
2025-08-05 08:07:40 +0200 | rvalue | (~rvalue@about/hackers/rvalue) rvalue |
2025-08-05 08:07:15 +0200 | rvalue | (~rvalue@about/hackers/rvalue) (Read error: Connection reset by peer) |
2025-08-05 08:02:50 +0200 | biberu | (~biberu@user/biberu) biberu |
2025-08-05 07:57:22 +0200 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 276 seconds) |
2025-08-05 07:50:22 +0200 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn |
2025-08-05 07:41:38 +0200 | Frostillicus | (~Frostilli@pool-71-174-119-69.bstnma.fios.verizon.net) (Ping timeout: 252 seconds) |
2025-08-05 07:39:33 +0200 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 248 seconds) |
2025-08-05 07:36:01 +0200 | trickard_ | (~trickard@cpe-56-98-47-163.wireline.com.au) |
2025-08-05 07:35:47 +0200 | trickard | (~trickard@cpe-56-98-47-163.wireline.com.au) (Read error: Connection reset by peer) |
2025-08-05 07:34:53 +0200 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn |
2025-08-05 07:30:39 +0200 | caubert | (~caubert@user/caubert) caubert |
2025-08-05 07:28:53 +0200 | caubert | (~caubert@user/caubert) (Ping timeout: 248 seconds) |
2025-08-05 07:24:08 +0200 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 272 seconds) |
2025-08-05 07:19:29 +0200 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn |
2025-08-05 07:09:39 +0200 | humasect | (~humasect@dyn-192-249-132-90.nexicom.net) (Quit: Leaving...) |
2025-08-05 07:08:49 +0200 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 260 seconds) |
2025-08-05 07:06:09 +0200 | euouae | (~euouae@user/euouae) () |
2025-08-05 07:03:59 +0200 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn |
2025-08-05 06:53:13 +0200 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds) |
2025-08-05 06:50:29 +0200 | jmcantrell | (~weechat@user/jmcantrell) (Ping timeout: 248 seconds) |
2025-08-05 06:48:37 +0200 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn |
2025-08-05 06:48:28 +0200 | humasect | (~humasect@dyn-192-249-132-90.nexicom.net) humasect |
2025-08-05 06:46:29 +0200 | euphores | (~SASL_euph@user/euphores) (Ping timeout: 260 seconds) |
2025-08-05 06:44:03 +0200 | fgarcia | (~lei@user/fgarcia) fgarcia |
2025-08-05 06:43:28 +0200 | fgarcia | (~lei@user/fgarcia) (Max SendQ exceeded) |
2025-08-05 06:43:05 +0200 | fgarcia | (~lei@user/fgarcia) fgarcia |
2025-08-05 06:39:17 +0200 | <sshine> | thanks! |
2025-08-05 06:39:15 +0200 | <sshine> | hmm, I'll pass the URLs in via a record, and I can consider doing so via a Reader later. |
2025-08-05 06:38:34 +0200 | davidlbowman | (~dlb@user/davidlbowman) (Ping timeout: 252 seconds) |
2025-08-05 06:38:04 +0200 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 276 seconds) |
2025-08-05 06:37:19 +0200 | trickard_ | trickard |
2025-08-05 06:34:26 +0200 | <sshine> | but I wonder if there's a shorter path today, and I can get back to the free monads later, since they'd change my working code a bit. |
2025-08-05 06:34:08 +0200 | fgarcia | (~lei@user/fgarcia) (Max SendQ exceeded) |
2025-08-05 06:33:57 +0200 | polykernel | (~polykerne@user/polykernel) (Remote host closed the connection) |
2025-08-05 06:33:53 +0200 | fgarcia | (~lei@user/fgarcia) fgarcia |
2025-08-05 06:33:31 +0200 | <sshine> | I've read that you can use free monads to replace the implementation when testing. that seems kind of nicer, since the mock injection happens in the test file rather than in the main code. |
2025-08-05 06:33:14 +0200 | merijn | (~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn |
2025-08-05 06:32:33 +0200 | <sshine> | some web request frameworks come with built-in mocking to avoid that. I don't think req does. |
2025-08-05 06:31:33 +0200 | <sshine> | a simple approach is to simply run a webserver in the test and replace the URLs I'm connecting to with the mock server. but I don't like the idea of having branches in my main code that are triggered in tests only. |
2025-08-05 06:31:15 +0200 | amadaluzia | (~amadaluzi@user/amadaluzia) (Quit: ZNC 1.10.1 - https://znc.in) |
2025-08-05 06:30:32 +0200 | <sshine> | I want to mock req in tests, what's a good approach to that? |
2025-08-05 06:29:09 +0200 | fgarcia | (~lei@user/fgarcia) (Ping timeout: 248 seconds) |