00:10:50 | * | Matthias247 quit (Read error: Connection reset by peer) |
00:13:53 | * | space-wizard joined #nim |
00:18:05 | * | space-wizard quit (Client Quit) |
00:50:48 | * | derka joined #nim |
00:50:55 | * | tk__ joined #nim |
00:53:14 | * | derka quit (Client Quit) |
00:56:35 | * | tk__ quit (Quit: Page closed) |
00:57:37 | * | space-wizard joined #nim |
01:09:14 | * | space-wizard quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
01:09:39 | * | chemist69 quit (Ping timeout: 260 seconds) |
01:22:34 | * | chemist69 joined #nim |
01:26:32 | * | zodiak quit (Ping timeout: 250 seconds) |
01:31:24 | * | notfowl joined #nim |
01:43:25 | * | zielmicha quit (Read error: Connection reset by peer) |
01:43:53 | * | NhanH quit (Ping timeout: 250 seconds) |
01:44:11 | * | zielmicha joined #nim |
01:46:00 | * | NhanH joined #nim |
01:46:35 | * | der-landgraf quit (Quit: WeeChat 1.4) |
01:49:02 | * | Senketsu joined #nim |
01:51:15 | * | niv quit (Ping timeout: 250 seconds) |
01:56:11 | * | niv joined #nim |
02:07:08 | * | zodiak joined #nim |
02:28:44 | * | der-landgraf joined #nim |
02:28:44 | * | der-landgraf quit (Changing host) |
02:28:44 | * | der-landgraf joined #nim |
02:29:24 | * | space-wizard joined #nim |
02:45:41 | * | space-wizard quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
03:10:34 | * | brson quit (Quit: leaving) |
03:35:34 | * | jeffc quit () |
03:37:54 | * | bozaloshtsh joined #nim |
03:56:03 | * | chemist69 quit (Ping timeout: 250 seconds) |
04:10:39 | * | chemist69 joined #nim |
04:23:19 | * | GangstaCat quit (Ping timeout: 260 seconds) |
04:45:46 | * | GangstaCat joined #nim |
07:11:19 | * | GangstaCat quit (Ping timeout: 260 seconds) |
07:14:00 | * | novavis quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
07:20:44 | * | kulelu88 quit (Quit: Leaving) |
07:23:38 | * | GangstaCat joined #nim |
08:05:35 | * | yglukhov joined #nim |
08:09:45 | * | yglukhov quit (Ping timeout: 246 seconds) |
08:19:14 | * | Varriount_ quit (Read error: Connection reset by peer) |
08:19:43 | * | Varriount joined #nim |
08:37:35 | * | yglukhov joined #nim |
08:38:51 | * | fastrom joined #nim |
08:45:48 | * | Arrrr joined #nim |
08:45:48 | * | Arrrr quit (Changing host) |
08:45:48 | * | Arrrr joined #nim |
08:58:59 | * | fastrom quit (Quit: Leaving.) |
09:02:50 | * | silven quit (Ping timeout: 250 seconds) |
09:03:36 | * | silven joined #nim |
09:17:17 | * | Ven joined #nim |
09:17:44 | * | Demon_Fox quit (Quit: Leaving) |
09:23:38 | * | yglukhov quit (Remote host closed the connection) |
10:37:49 | * | GangstaCat quit (Ping timeout: 260 seconds) |
10:50:28 | * | GangstaCat joined #nim |
11:00:30 | * | elrood joined #nim |
11:03:44 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
11:07:00 | * | Ven joined #nim |
11:26:18 | * | Matthias247 joined #nim |
11:29:17 | * | apotheon left #nim (#nim) |
12:01:28 | * | vendethiel joined #nim |
12:02:32 | * | vendethiel- quit (Ping timeout: 276 seconds) |
12:02:52 | * | gokr joined #nim |
12:18:52 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
12:20:35 | * | wuehlmaus quit (Quit: Lost terminal) |
12:22:05 | * | wuehlmaus joined #nim |
12:23:04 | * | wuehlmaus quit (Client Quit) |
12:23:31 | * | wuehlmaus joined #nim |
12:30:49 | * | derka joined #nim |
12:36:20 | * | Matthias247 quit (Read error: Connection reset by peer) |
12:45:07 | * | Ven joined #nim |
13:13:26 | * | HaikuUser joined #nim |
13:13:59 | * | HaikuUser quit (Client Quit) |
13:24:26 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
14:10:33 | * | yglukhov joined #nim |
14:14:51 | * | yglukhov quit (Ping timeout: 244 seconds) |
14:51:55 | * | Ven joined #nim |
15:01:29 | * | gokr quit (Ping timeout: 260 seconds) |
15:13:52 | * | yglukhov joined #nim |
15:18:24 | * | yglukhov quit (Ping timeout: 244 seconds) |
15:37:45 | * | arnetheduck quit (Ping timeout: 246 seconds) |
15:42:37 | * | space-wizard joined #nim |
16:00:06 | * | space-wizard quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
16:14:46 | * | derka quit (Ping timeout: 265 seconds) |
16:32:01 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
16:32:06 | * | derka joined #nim |
16:34:14 | * | nande joined #nim |
16:39:29 | * | GangstaCat quit (Ping timeout: 260 seconds) |
16:52:01 | * | GaveUp quit (Quit: You're a bloody puppet!) |
16:52:31 | * | GaveUp joined #nim |
17:06:09 | * | Jesin quit (Quit: Leaving) |
17:07:45 | * | libman joined #nim |
17:10:38 | * | Jesin joined #nim |
17:12:50 | * | space-wizard joined #nim |
17:36:44 | * | Arrrr quit (Quit: WeeChat 1.4) |
17:53:24 | * | space-wizard quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
17:55:54 | zodiak | is there any extra debugging I can enable to track down what is not 'gcsafe' when I try to spawn a method ? |
17:56:45 | zodiak | I am trying to basically thread my app, so I figured I could jst spawn the main method (which takes nothing in) |
17:57:05 | zodiak | (when I say main method, I mean listeningForRequests() not main() ;) |
17:57:38 | zodiak | I mean, I can run like 25 instances of the single thread app but, that feels, weird |
17:59:00 | * | PMunch joined #nim |
18:04:33 | * | derka quit (Ping timeout: 240 seconds) |
18:10:24 | * | derka joined #nim |
18:11:05 | * | Varriount quit (Ping timeout: 276 seconds) |
18:18:57 | * | lubos_cz joined #nim |
18:21:12 | * | Varriount joined #nim |
18:21:59 | * | lubos_cz quit (Client Quit) |
18:22:12 | * | lubos_cz joined #nim |
18:23:05 | * | lubos_cz quit (Remote host closed the connection) |
18:23:25 | * | lubos_cz joined #nim |
18:26:20 | dom96 | zodiak: The compiler should give some hints |
18:26:28 | dom96 | maybe you need to mark your proc {.gcsafe.} |
18:26:40 | dom96 | or compile with --verbosity:4 |
18:26:46 | dom96 | or some other high number :) |
18:27:22 | zodiak | aaahhh.. higher verbosity should give me hints.. dankeschoen |
18:30:25 | zodiak | that's definitely the trick.. danke |
18:36:07 | zodiak | booo |
18:36:09 | zodiak | prune_service.nim(4, 6) Warning: 'find_if_georequest' is not GC-safe as it accesses 'defaultSSLContext' which is a global using GC'ed memory [GcUnsafe2] |
18:36:28 | zodiak | default system library/module not gcsafe |
18:36:34 | zodiak | that kinds screws my pooch |
18:37:59 | zodiak | anyway to make this threadsafe ? ; var res = postContent(url=analyzer, body=need) |
18:38:16 | zodiak | I assume it's that, and not the parseJson |
18:43:53 | zodiak | huh.. I am running nim 0.13 but this https://github.com/nim-lang/Nim/issues/2692 is marked as fixed.. but it's not.. |
18:44:19 | zodiak | oh. right. 0.13 was released jan 9th, this was merged later. got it. |
18:53:02 | libman | I'm always looking for fresh pro-Nim propaganda for my Facebook Page, especially comparing it to Rust, Julia, and especially Go. ;) |
19:04:48 | elrood | i guess we'd prefer convincing people with practicality, efficiency, quality and generally a positive experience than with propaganda |
19:07:46 | notfowl | zodiak: don't you just need to pass your own SSL context to that function |
19:09:37 | * | derka quit (Ping timeout: 260 seconds) |
19:24:28 | * | gokr joined #nim |
19:26:31 | * | fastrom joined #nim |
19:28:17 | * | silven quit (Ping timeout: 260 seconds) |
19:28:44 | * | silven joined #nim |
19:29:35 | zodiak | notfowl: whelp... I am getting a ; prune_service.nim(8, 20) Error: undeclared identifier: 'SSLContext' |
19:29:48 | zodiak | even after including net, httprequest, and jst about everything else under the sun |
19:30:34 | * | GangstaCat joined #nim |
19:33:21 | zodiak | https://glot.io/snippets/eehvn18rns |
19:33:34 | zodiak | I understand os isn't needed tbf |
19:33:38 | * | Varriount quit (Ping timeout: 276 seconds) |
19:37:51 | * | Varriount joined #nim |
19:40:18 | zodiak | if I can create a context (and that snippet apparently doesn't work on glot.io either) then I can do; var res = postContent(url=analyzer, body=need, sslContext=mySSLContext) |
19:49:10 | * | fastrom quit (Quit: Leaving.) |
20:23:05 | * | yglukhov joined #nim |
20:24:22 | dom96 | zodiak: did you compile with the `-d:ssl` option? |
20:24:35 | zodiak | I did.. and it gave me some more socket errors |
20:24:40 | zodiak | I am jst aborting using ssl atm |
20:24:57 | zodiak | I can fallback to regular with jst setting SSLContext=nil which is 'good enough' for me |
20:25:35 | zodiak | and now it's all threaded. vunderbar. |
20:26:50 | * | yglukhov_ joined #nim |
20:27:11 | * | yglukhov quit (Read error: Connection reset by peer) |
20:27:26 | zodiak | any desire to use protothreads at all ? |
20:30:45 | dom96 | zodiak: it's `protTLSv1` not `ProtTLSv1` :) |
20:30:59 | dom96 | what are protothreads? |
20:33:45 | * | derka joined #nim |
20:37:17 | elrood | dom96, http://dunkels.com/adam/pt |
20:41:28 | * | brson joined #nim |
20:44:21 | zodiak | dom96 dear gods.. if that's been my issue all along. I will try that after dinner (good catch :) |
20:44:58 | dom96 | yeah, the compiler really needs to give suggestions about that sort of stuff. |
20:49:51 | * | libman quit (Remote host closed the connection) |
20:51:39 | * | Trustable joined #nim |
20:52:28 | * | space-wizard joined #nim |
20:56:54 | * | derka quit (Quit: derka) |
20:59:10 | * | space-wizard quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
21:12:19 | * | Jesin quit (Quit: Leaving) |
21:25:49 | * | fastrom joined #nim |
21:29:39 | * | derka joined #nim |
21:30:36 | * | derka quit (Client Quit) |
21:42:44 | * | jeffc joined #nim |
21:47:54 | * | Jesin joined #nim |
21:54:01 | * | Trustable quit (Quit: Leaving) |
21:55:55 | * | Jesin quit (Quit: Leaving) |
21:58:20 | * | Jesin joined #nim |
22:05:00 | * | derka joined #nim |
22:08:07 | * | derka quit (Client Quit) |
22:38:29 | * | lubos_cz quit (Quit: Leaving) |
22:38:44 | * | lubos_cz joined #nim |
22:44:55 | * | derka joined #nim |
22:48:29 | * | Demon_Fox joined #nim |
22:49:04 | * | lubos_cz quit (Quit: Leaving) |
22:49:19 | * | lubos_cz joined #nim |
22:53:51 | * | gokr quit (Ping timeout: 246 seconds) |
22:53:54 | * | lubos_cz quit (Client Quit) |
22:54:07 | * | lubos_cz joined #nim |
23:05:04 | * | arnetheduck joined #nim |
23:13:38 | * | perturbation joined #nim |
23:35:44 | * | elrood quit (Quit: Leaving) |
23:42:48 | * | Varriount quit (Read error: Connection reset by peer) |
23:43:05 | * | Varriount joined #nim |
23:54:07 | * | lubos_cz quit (Ping timeout: 252 seconds) |
23:56:34 | * | derka quit (Quit: derka) |