Logs: liberachat/#haskell
| 2025-12-17 14:55:52 | → | mrvdb joins (~mrvdb@185.92.221.186) |
| 2025-12-17 14:57:02 | → | Square joins (~Square4@user/square) |
| 2025-12-17 15:02:57 | → | CiaoSen joins (~Jura@2a02:8071:64e1:da0:5a47:caff:fe78:33db) |
| 2025-12-17 15:05:59 | → | Googulator73 joins (~Googulato@2a01-036d-0106-48e4-3c18-a4bd-1bda-7c8b.pool6.digikabel.hu) |
| 2025-12-17 15:06:02 | × | Googulator quits (~Googulato@2a01-036d-0106-48e4-3c18-a4bd-1bda-7c8b.pool6.digikabel.hu) (Quit: Client closed) |
| 2025-12-17 15:10:56 | Googulator73 | is now known as Googulator |
| 2025-12-17 15:18:55 | → | sajenim joins (~sajenim@user/sajenim) |
| 2025-12-17 15:21:12 | × | fp quits (~Thunderbi@2001:708:20:1406::1370) (Ping timeout: 252 seconds) |
| 2025-12-17 15:22:13 | × | chromoblob quits (~chromoblo@user/chromob1ot1c) (Ping timeout: 264 seconds) |
| 2025-12-17 15:22:24 | → | chromoblob joins (~chromoblo@user/chromob1ot1c) |
| 2025-12-17 15:27:10 | × | srazkvt quits (~sarah@user/srazkvt) (Remote host closed the connection) |
| 2025-12-17 15:32:58 | → | fp joins (~Thunderbi@wireless-86-50-140-165.open.aalto.fi) |
| 2025-12-17 15:33:03 | × | fp quits (~Thunderbi@wireless-86-50-140-165.open.aalto.fi) (Client Quit) |
| 2025-12-17 15:35:59 | → | humasect joins (~humasect@dyn-192-249-132-90.nexicom.net) |
| 2025-12-17 15:39:10 | × | humasect quits (~humasect@dyn-192-249-132-90.nexicom.net) (Remote host closed the connection) |
| 2025-12-17 15:44:32 | × | qqe quits (~qqq@185.54.20.98) (Quit: Lost terminal) |
| 2025-12-17 15:45:56 | × | chromoblob quits (~chromoblo@user/chromob1ot1c) (Read error: Connection reset by peer) |
| 2025-12-17 15:46:18 | → | chromoblob joins (~chromoblo@user/chromob1ot1c) |
| 2025-12-17 15:46:47 | → | lambda_gibbon joins (~lambda_gi@208.83.175.39) |
| 2025-12-17 15:49:31 | × | Lycurgus quits (~juan@user/Lycurgus) (Quit: alsoknownas.renjuan.org ( juan@acm.org )) |
| 2025-12-17 15:49:38 | × | tromp quits (~textual@2001:1c00:3487:1b00:681b:ee7b:c126:c8ee) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 2025-12-17 15:50:16 | × | m_a_r_k quits (~m_a_r_k@archlinux/support/mark) (Remote host closed the connection) |
| 2025-12-17 15:52:55 | × | GdeVolpiano quits (~GdeVolpia@user/GdeVolpiano) (Ping timeout: 240 seconds) |
| 2025-12-17 15:57:46 | → | euphores joins (~SASL_euph@user/euphores) |
| 2025-12-17 15:57:50 | × | oxapentane quits (~oxapentan@user/oxapentane) (Remote host closed the connection) |
| 2025-12-17 15:58:26 | → | oxapentane joins (~oxapentan@user/oxapentane) |
| 2025-12-17 15:58:40 | → | m_a_r_k joins (~m_a_r_k@archlinux/support/mark) |
| 2025-12-17 15:59:49 | × | mrvdb quits (~mrvdb@185.92.221.186) (Quit: ZNC 1.10.1 - https://znc.in) |
| 2025-12-17 16:00:48 | → | mrvdb joins (~mrvdb@2001:19f0:5000:8582:5400:ff:fe07:3df5) |
| 2025-12-17 16:03:32 | → | GdeVolpiano joins (~GdeVolpia@user/GdeVolpiano) |
| 2025-12-17 16:16:34 | × | sp1ff quits (~user@2607:fb90:3390:2ed4:dd14:a562:533d:55cc) (Ping timeout: 246 seconds) |
| 2025-12-17 16:16:34 | × | merijn quits (~merijn@77.242.116.146) (Ping timeout: 246 seconds) |
| 2025-12-17 16:20:40 | → | Googulator95 joins (~Googulato@2a01-036d-0106-48e4-3c18-a4bd-1bda-7c8b.pool6.digikabel.hu) |
| 2025-12-17 16:20:59 | × | Googulator quits (~Googulato@2a01-036d-0106-48e4-3c18-a4bd-1bda-7c8b.pool6.digikabel.hu) (Quit: Client closed) |
| 2025-12-17 16:23:26 | × | CiaoSen quits (~Jura@2a02:8071:64e1:da0:5a47:caff:fe78:33db) (Ping timeout: 244 seconds) |
| 2025-12-17 16:25:14 | → | milan2 joins (~milan@88.212.61.169) |
| 2025-12-17 16:27:13 | → | deptype joins (~deptype@2406:b400:3a:2dd5:59b2:1154:4ab5:509e) |
| 2025-12-17 16:29:24 | × | GdeVolpiano quits (~GdeVolpia@user/GdeVolpiano) (Ping timeout: 252 seconds) |
| 2025-12-17 16:29:24 | → | GdeVolpi1 joins (~GdeVolpia@user/GdeVolpiano) |
| 2025-12-17 16:30:27 | → | merijn joins (~merijn@77.242.116.146) |
| 2025-12-17 16:32:03 | → | tromp joins (~textual@2001:1c00:3487:1b00:681b:ee7b:c126:c8ee) |
| 2025-12-17 16:32:43 | × | lucabtz quits (~lucabtz@user/lucabtz) (Quit: Lost terminal) |
| 2025-12-17 16:38:29 | → | sp1ff joins (~user@2607:fb90:3397:1dee:eb26:2295:32e9:767a) |
| 2025-12-17 16:42:02 | × | GdeVolpi1 quits (~GdeVolpia@user/GdeVolpiano) (Ping timeout: 244 seconds) |
| 2025-12-17 16:43:19 | → | GdeVolpiano joins (~GdeVolpia@user/GdeVolpiano) |
| 2025-12-17 16:47:06 | × | yin quits (~zero@user/zero) (Ping timeout: 244 seconds) |
| 2025-12-17 16:48:44 | → | yin joins (~zero@user/zero) |
| 2025-12-17 16:50:27 | × | Googulator95 quits (~Googulato@2a01-036d-0106-48e4-3c18-a4bd-1bda-7c8b.pool6.digikabel.hu) (Quit: Client closed) |
| 2025-12-17 16:50:43 | → | Googulator95 joins (~Googulato@2a01-036d-0106-48e4-3c18-a4bd-1bda-7c8b.pool6.digikabel.hu) |
| 2025-12-17 16:55:25 | × | merijn quits (~merijn@77.242.116.146) (Ping timeout: 246 seconds) |
| 2025-12-17 16:58:12 | → | merijn joins (~merijn@77.242.116.146) |
| 2025-12-17 16:58:18 | → | cheater joins (~AdminUser@2a02:8388:a180:3500:2936:d5c0:ce56:944) |
| 2025-12-17 17:03:01 | × | merijn quits (~merijn@77.242.116.146) (Ping timeout: 264 seconds) |
| 2025-12-17 17:05:13 | × | lambda_gibbon quits (~lambda_gi@208.83.175.39) (Ping timeout: 246 seconds) |
| 2025-12-17 17:06:07 | × | weary-traveler quits (~user@user/user363627) (Remote host closed the connection) |
| 2025-12-17 17:20:47 | × | Googulator95 quits (~Googulato@2a01-036d-0106-48e4-3c18-a4bd-1bda-7c8b.pool6.digikabel.hu) (Quit: Client closed) |
| 2025-12-17 17:20:53 | → | Googulator99 joins (~Googulato@2a01-036d-0106-48e4-3c18-a4bd-1bda-7c8b.pool6.digikabel.hu) |
| 2025-12-17 17:26:15 | × | trickard_ quits (~trickard@cpe-81-98-47-163.wireline.com.au) (Ping timeout: 240 seconds) |
| 2025-12-17 17:26:42 | → | trickard_ joins (~trickard@cpe-81-98-47-163.wireline.com.au) |
| 2025-12-17 17:32:54 | × | sord937 quits (~sord937@gateway/tor-sasl/sord937) (Quit: sord937) |
| 2025-12-17 17:37:23 | × | TMA quits (tma@twin.jikos.cz) (Ping timeout: 250 seconds) |
| 2025-12-17 17:39:32 | → | humasect joins (~humasect@dyn-192-249-132-90.nexicom.net) |
| 2025-12-17 17:44:18 | × | chele quits (~chele@user/chele) (Remote host closed the connection) |
| 2025-12-17 17:46:22 | → | poscat0x04 joins (~poscat@user/poscat) |
| 2025-12-17 17:46:35 | × | humasect quits (~humasect@dyn-192-249-132-90.nexicom.net) (Ping timeout: 240 seconds) |
| 2025-12-17 17:47:43 | × | poscat quits (~poscat@user/poscat) (Ping timeout: 240 seconds) |
| 2025-12-17 17:51:48 | → | killy joins (~killy@193.142.201.134) |
| 2025-12-17 17:51:52 | → | lambda_gibbon joins (~lambda_gi@208.83.175.39) |
| 2025-12-17 17:56:25 | × | lambda_gibbon quits (~lambda_gi@208.83.175.39) (Ping timeout: 264 seconds) |
| 2025-12-17 17:56:31 | × | infinity0 quits (~infinity0@pwned.gg) (Quit: WeeChat 4.7.2) |
| 2025-12-17 17:57:07 | → | infinity0 joins (~infinity0@pwned.gg) |
| 2025-12-17 17:59:07 | × | _________ quits (~nobody@user/noodly) (Ping timeout: 264 seconds) |
| 2025-12-17 18:04:42 | × | killy quits (~killy@193.142.201.134) (Ping timeout: 244 seconds) |
| 2025-12-17 18:06:33 | → | killy joins (~killy@terminal-3-187.retsat1.com.pl) |
| 2025-12-17 18:10:17 | → | jmcantrell_ joins (~weechat@user/jmcantrell) |
| 2025-12-17 18:10:58 | → | tzh joins (~tzh@c-76-115-131-146.hsd1.or.comcast.net) |
| 2025-12-17 18:15:44 | × | tromp quits (~textual@2001:1c00:3487:1b00:681b:ee7b:c126:c8ee) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 2025-12-17 18:16:05 | × | deptype quits (~deptype@2406:b400:3a:2dd5:59b2:1154:4ab5:509e) (Remote host closed the connection) |
| 2025-12-17 18:19:08 | <milan2> | Hello guyz :) copied "Getting started" example of https://hackage.haskell.org/package/wai-3.2.4 and used this line as first line in app function makeSettingsAndCounter >>= (pure . fst) >>=getCount >>= print Then I run seq 1 2000 | xargs -Iname -n1 -P2000 curl --http1.1 -s "http://localhost:8080/" but my web server still prints 0 connections. Do you have any idea why? |
| 2025-12-17 18:20:55 | → | Googulator67 joins (~Googulato@2a01-036d-0106-48e4-3c18-a4bd-1bda-7c8b.pool6.digikabel.hu) |
| 2025-12-17 18:20:55 | × | Googulator99 quits (~Googulato@2a01-036d-0106-48e4-3c18-a4bd-1bda-7c8b.pool6.digikabel.hu) (Quit: Client closed) |
| 2025-12-17 18:21:58 | × | sp1ff quits (~user@2607:fb90:3397:1dee:eb26:2295:32e9:767a) (Ping timeout: 255 seconds) |
| 2025-12-17 18:22:45 | <milan2> | It should use http1.1 which should open new connection on every curl request.. |
| 2025-12-17 18:26:51 | → | tromp joins (~textual@2001:1c00:3487:1b00:681b:ee7b:c126:c8ee) |
| 2025-12-17 18:28:27 | → | CiaoSen joins (~Jura@2a02:8071:64e1:da0:5a47:caff:fe78:33db) |
| 2025-12-17 18:37:27 | <milan2> | Hmm... maybe there is no "context switch" |
| 2025-12-17 18:40:56 | → | spew joins (~spew@user/spew) |
| 2025-12-17 18:41:31 | → | Square2 joins (~Square@user/square) |
| 2025-12-17 18:42:53 | <int-e> | what is `makeSettingsAndCounter`? The `app` part is executed for each request, so perhaps you're making a new counter every time too. |
| 2025-12-17 18:43:57 | <milan2> | int-e: Here https://hackage-content.haskell.org/package/warp-3.4.11/docs/Network-Wai-Handler-Warp.html#g:5 |
| 2025-12-17 18:44:47 | <milan2> | int-e: Yeah..that might be true.. |
| 2025-12-17 18:44:55 | × | Square quits (~Square4@user/square) (Ping timeout: 240 seconds) |
| 2025-12-17 18:46:20 | <int-e> | milan2: yeah I'm pretty sure you're supposed to do that in `main` and pass the counter to your request handler(s) (which includes `app`). |
| 2025-12-17 18:46:54 | <int-e> | You can have `app :: Counter -> Application`. |
| 2025-12-17 18:47:05 | → | sp1ff joins (~user@c-73-164-203-114.hsd1.wa.comcast.net) |
| 2025-12-17 18:47:47 | <int-e> | (and change the next line to `ap counter _ respond = do` accordingly) |
| 2025-12-17 18:47:51 | <int-e> | *app |
| 2025-12-17 18:50:00 | <milan2> | That makes sense.. this will reuse counter and may show different number. |
| 2025-12-17 18:50:07 | × | jj quits (~apropos@dhcp-128-189-46-128.ubcsecure.wireless.ubc.ca) (Ping timeout: 240 seconds) |
| 2025-12-17 18:53:54 | → | _________ joins (~nobody@user/noodly) |
All times are in UTC.