00:00:34 | reactormonk | Araq, yes, I do. I just hope the default doesn't change :-) |
00:01:30 | Araq | reactormonk: what is the default btw? |
00:12:02 | * | apriori| joined #nimrod |
00:14:48 | * | gradha quit (Quit: Leaving) |
00:15:40 | reactormonk | Araq, nimcache |
00:18:37 | Araq | I think you can only change the directory where nimcache/ should be put into |
00:18:49 | Araq | the name 'nimcache' itself cannot be changed |
00:22:54 | NimBot_ | nimrod-code/Aporia 9fb2393 Dominik Picheta [+0 ±4 -0]: Syntax highlighting for any tab can now be changed from the View menu. |
00:28:30 | reactormonk | Araq, oh |
00:29:48 | reactormonk | Araq, will the js work if 'document' does not exist? |
00:30:15 | reactormonk | err... nope |
00:30:21 | reactormonk | :-( |
00:30:36 | reactormonk | echo should compile to 'print' here - can I define my own libs? |
00:31:59 | Araq | reactormonk: yes you can, but I think 'echo' changes its meaning if you use -d:nodejs |
00:41:05 | Araq | good night |
01:23:02 | reactormonk | Araq, yes, it does console.log ^^ |
02:06:14 | * | q66 quit (Quit: Quit) |
03:06:58 | * | apriori| quit (Quit: Konversation terminated!) |
12:24:02 | * | q66 joined #nimrod |
13:03:08 | * | FreeArtMan joined #nimrod |
13:10:55 | * | Trix[a]r_za is now known as Trixar_za |
14:10:38 | * | Trixar_za is now known as Trix[a]r_za |
14:42:51 | * | apriori| joined #nimrod |
14:55:44 | * | FreeArtMan quit (Ping timeout: 255 seconds) |
15:20:46 | * | apriori|| joined #nimrod |
15:22:06 | * | FreeArtMan joined #nimrod |
15:24:15 | * | apriori| quit (Ping timeout: 250 seconds) |
15:25:17 | dom96 | Araq: normalize segfaults when given "" ... |
15:27:07 | dom96 | hrm, or maybe it's my fault |
15:38:42 | dom96 | yeah, nvm |
15:42:06 | dom96 | Araq: Why can't a closure capture the surrounding functions 'var' param? |
15:42:27 | Araq | because that would be bad :P |
15:43:00 | dom96 | how so? |
15:43:19 | Araq | the GC dislikes interior pointers |
15:43:47 | dom96 | well I suppose my workaround is bad then |
15:44:03 | Araq | what is your workaround? |
15:44:19 | dom96 | var adWin = addr(win) |
15:44:29 | dom96 | # win is the 'var' param |
15:44:37 | dom96 | Then I use adWin in the closure |
15:45:06 | Araq | *shrug* you created an unsafe pointer |
15:45:20 | Araq | so the GC is free to deallocate the object under your hood |
15:45:32 | Araq | so have fun :P |
15:46:21 | dom96 | well please tell me how else to accomplish what I want then |
15:47:23 | dom96 | meh, well the solution is simple. |
15:48:03 | Araq | good |
15:49:15 | dom96 | what about if I pass addr(win) to a gtk function? |
15:49:38 | dom96 | Is it just as bad as what I do with my closure? |
15:50:02 | Araq | the gtk function doesn't capture the passed pointer |
15:50:14 | Araq | otherwise you have the same problem ;-) |
15:50:40 | dom96 | define 'capture' :P |
15:52:06 | Araq | proc capture(x: someptr) = |
15:52:16 | Araq | if x == nil: echo someglobal[] |
15:52:25 | Araq | else: someglobal = x |
15:52:38 | Araq | for instance |
15:55:40 | dom96 | Well hopefully the GC won't free this very important object. As it's being used everywhere :P |
17:34:43 | NimBot_ | nimrod-code/Aporia fbe0ccc Dominik Picheta [+0 ±6 -0]: Every compiler execution is now done asynchronously, including suggest and Go to definition. |
17:34:43 | NimBot_ | nimrod-code/Aporia b1a6323 Dominik Picheta [+0 ±2 -0]: Fixed a crash when closing the last tab. |
19:40:33 | reactormonk | Araq, any I write my own -d: ? |
19:40:40 | reactormonk | s/any/can/ |
19:48:04 | dom96 | when defined(whatever): |
19:52:43 | reactormonk | hm |
21:25:53 | * | FreeArtMan quit (Ping timeout: 255 seconds) |
21:25:58 | dom96 | Araq: Please test aporia! |
21:26:13 | Araq | dom96: yeah, wait a sec |
22:27:31 | * | Trix[a]r_za is now known as Trixar_za |
22:40:14 | NimBot_ | nimrod-code/Aporia b027c10 Dominik Picheta [+0 ±2 -0]: Fixed crash when compiling files. |