Newest at the top
| 2025-12-17 21:25:25 +0100 | merijn | (~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 246 seconds) |
| 2025-12-17 21:24:09 +0100 | <milan2> | hmm |
| 2025-12-17 21:21:48 +0100 | <monochrom> | The complementary selection bias being that people who are good at writing in natural languages for other human readers can have much happier careers as writers and/or journalists, or much more wealthy careers as lawyers and/or politicians. |
| 2025-12-17 21:20:35 +0100 | merijn | (~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn |
| 2025-12-17 21:16:59 +0100 | <int-e> | milan2: That's okay; it's less rewarding too :P |
| 2025-12-17 21:16:33 +0100 | <monochrom> | (Then they went on to hide behind the facade of "you can just look at the source code".) |
| 2025-12-17 21:16:17 +0100 | jmcantrell_ | jmcantrell |
| 2025-12-17 21:15:50 +0100 | <milan2> | I find writing good documentation more difficult than comparable good code. |
| 2025-12-17 21:15:46 +0100 | <tomsmeding> | computer science first-year students? |
| 2025-12-17 21:15:41 +0100 | <monochrom> | Past generation of programmers arising from the selection bias of going into programming because they hated natural languages and/or literature. I know, I was one of them. |
| 2025-12-17 21:15:28 +0100 | <tomsmeding> | who'd be the judges? |
| 2025-12-17 21:14:55 +0100 | <int-e> | hmmmm competitive technical writing |
| 2025-12-17 21:11:43 +0100 | TMA | (tma@twin.jikos.cz) TMA |
| 2025-12-17 21:11:31 +0100 | <[exa]> | (why are there no documentation competitions? like programming competitions or art exhibitions or performer fairs, we should have a documentation hall of fame or so) |
| 2025-12-17 21:08:48 +0100 | lambda_gibbon | (~lambda_gi@208.83.175.39) |
| 2025-12-17 21:05:58 +0100 | peterbecich | (~Thunderbi@71.84.33.135) peterbecich |
| 2025-12-17 21:04:35 +0100 | ljdarj1 | ljdarj |
| 2025-12-17 21:04:34 +0100 | ljdarj | (~Thunderbi@user/ljdarj) (Ping timeout: 260 seconds) |
| 2025-12-17 21:03:07 +0100 | ljdarj1 | (~Thunderbi@user/ljdarj) ljdarj |
| 2025-12-17 21:00:16 +0100 | <chromoblob> | the required skill is in inverse relationship with the quality of documentation. |
| 2025-12-17 21:00:15 +0100 | ljdarj | (~Thunderbi@user/ljdarj) ljdarj |
| 2025-12-17 20:58:44 +0100 | ljdarj | (~Thunderbi@user/ljdarj) (Read error: Connection reset by peer) |
| 2025-12-17 20:42:30 +0100 | <milan2> | int-e: It works.. It increased to 6. TO read a documenation of others is a skill in itself :) |
| 2025-12-17 20:38:24 +0100 | olivial | (~benjaminl@user/benjaminl) benjaminl |
| 2025-12-17 20:37:37 +0100 | pavonia | (~user@user/siracusa) siracusa |
| 2025-12-17 20:35:27 +0100 | Lord_of_Life_ | Lord_of_Life |
| 2025-12-17 20:33:04 +0100 | Lord_of_Life | (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 255 seconds) |
| 2025-12-17 20:32:42 +0100 | Lord_of_Life_ | (~Lord@user/lord-of-life/x-2819915) Lord_of_Life |
| 2025-12-17 20:31:24 +0100 | pabs3 | (~pabs3@user/pabs3) pabs3 |
| 2025-12-17 20:30:47 +0100 | pabs3 | (~pabs3@user/pabs3) (Read error: Connection reset by peer) |
| 2025-12-17 20:28:10 +0100 | <milan2> | int-e: You rock! It's there.. It starts to make sense. I am pretty sure it will work now. |
| 2025-12-17 20:26:10 +0100 | <int-e> | You can also look at the Settings record itself, it's exposed by a ...Internal module: https://hackage-content.haskell.org/package/warp-3.4.11/docs/Network-Wai-Handler-Warp-Internal.htm… |
| 2025-12-17 20:25:45 +0100 | sp1ff | (~user@c-73-164-203-114.hsd1.wa.comcast.net) (Ping timeout: 245 seconds) |
| 2025-12-17 20:25:34 +0100 | <int-e> | The docs for makeSettingsAndCounter say: "Create Settings with a connection counter." |
| 2025-12-17 20:24:41 +0100 | sp1ff` | (~user@2601:1c2:4c00:55a0::59db) |
| 2025-12-17 20:23:18 +0100 | <milan2> | Where do you see that Settings has Counter ? |
| 2025-12-17 20:22:36 +0100 | <int-e> | (The thing I was confused about was what the intended use of that `makeSettingsAndCounter` function is, or put differently, why there's utility in tying these two together. The fact that the Settings value has an optional counter for counting connections is what I was missing.) |
| 2025-12-17 20:22:34 +0100 | <milan2> | Well lets try it then. |
| 2025-12-17 20:22:29 +0100 | <milan2> | int-e: Yes I get your point. So even tho makeSettingsAndCounter returns IO (Counter, Settings) this Counter is bound with Settings and If I don't start app with settings explicitly Counter won't be updated. |
| 2025-12-17 20:20:20 +0100 | <int-e> | milan2: But for warp to do it it needs to know about the counter. That information is part of the Settings record that you're not using. |
| 2025-12-17 20:19:13 +0100 | <milan2> | int-e: But how could I? I don't open connections to increment counter. This should be wai/warp work to do right? |
| 2025-12-17 20:18:40 +0100 | <milan2> | int-e: Also it is true that I don't use settings at all.. maybe I really need to runSettings |
| 2025-12-17 20:18:26 +0100 | <int-e> | if nobody updates the counter then it will always be 0 |
| 2025-12-17 20:17:56 +0100 | <milan2> | int-e: No I don't I expect wai/warp to update counter. |
| 2025-12-17 20:17:24 +0100 | <int-e> | which and that means you need https://hackage-content.haskell.org/package/warp-3.4.11/docs/Network-Wai-Handler-Warp.html#v:setPort for setting the port in the settings. |
| 2025-12-17 20:15:46 +0100 | <int-e> | milan2: you also need to use https://hackage-content.haskell.org/package/warp-3.4.11/docs/Network-Wai-Handler-Warp.html#v:runSe… so that it actually uses the settings that include that particular counter. |
| 2025-12-17 20:15:35 +0100 | arahael | (~wetfoot@user/arahael) arahael |
| 2025-12-17 20:14:52 +0100 | arahael | (~wetfoot@user/arahael) (Ping timeout: 244 seconds) |
| 2025-12-17 20:14:14 +0100 | <int-e> | Hmm. I'm actually confused about something here. |
| 2025-12-17 20:13:31 +0100 | <int-e> | milan2: do you increment the counter anywhere? |