14 Jan 2025 |
nervecenter | I meant syncrhonous | 19:45:23 |
nervecenter | * I meant synchronous | 19:45:32 |
leorize | you can just clone asynchttpserver and turn it synchronous | 19:46:28 |
leorize | the code is short and simple, with async only used to facilitate multiple clients at once | 19:47:12 |
leorize | so just dropping all mentions of async should get you a synchronous server | 19:47:37 |
| mjsdev joined the room. | 21:00:02 |
15 Jan 2025 |
| mikeneko.jp joined the room. | 03:41:48 |
blackmius | interesting but no synchronous singlethreaded http server exists in nim (at least well known) | 04:44:12 |
blackmius | try to write yourself get http parser https://github.com/philip-wernersbach/nim-picohttpparser
and nim std/net socket
and make while true: conn = accept() data = recv(conn) method, path, headers, body = http_parse(data) response = handle_request(method, path, headers, body) write(conn, response) close(conn) | 04:51:38 |
funpower | Hi
Can anyone share a good design portfolio code | 09:04:23 |
angelsdust | Find a free html template and slap that bad boy in | 11:28:32 |
| exodecode joined the room. | 19:50:17 |
| lacarota joined the room. | 21:00:35 |
| exinim1 joined the room. | 21:31:24 |
16 Jan 2025 |
| joaooojj joined the room. | 01:38:23 |
| roquess joined the room. | 03:52:28 |
| pithing joined the room. | 07:45:15 |
| @mantixlu:matrix.org joined the room. | 08:24:08 |
| @mantixlu:matrix.org left the room. | 08:24:23 |
| valdar0915 changed their display name from Valdar to valdar0915. | 11:29:07 |
| moeskyhigh joined the room. | 12:46:33 |
| bsdooby joined the room. | 13:41:58 |
| curtis10 set a profile picture. | 15:17:06 |
| @jose1r:matrix.org joined the room. | 17:00:18 |
| nim-lang-mjolnir banned @jose1r:matrix.org (spam). | 17:01:05 |
| aethrvmn_32073 changed their profile picture. | 20:50:48 |
17 Jan 2025 |
| halo508399 joined the room. | 05:41:05 |
| ydgdgyy joined the room. | 06:09:27 |
| cute_pony_20946 joined the room. | 13:36:20 |
| justunknown666 joined the room. | 13:36:50 |