00:02:57 | * | space-wizard quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
00:03:49 | * | darkf joined #nim |
00:04:52 | * | space-wizard joined #nim |
00:05:27 | * | space-wizard quit (Max SendQ exceeded) |
00:06:03 | * | space-wizard joined #nim |
00:06:33 | * | desophos quit (Remote host closed the connection) |
00:19:50 | * | Jesin joined #nim |
00:34:14 | * | ephja quit (Ping timeout: 260 seconds) |
00:48:06 | * | gokr quit (Ping timeout: 246 seconds) |
01:37:35 | * | brson quit (Quit: leaving) |
02:07:43 | * | desophos joined #nim |
02:16:15 | * | space-wi_ joined #nim |
02:18:22 | * | desophos_ joined #nim |
02:19:01 | * | space-wizard quit (Ping timeout: 252 seconds) |
02:23:03 | * | desophos_ quit (Ping timeout: 240 seconds) |
03:02:10 | * | Varriount quit (Quit: No Ping reply in 180 seconds.) |
03:03:49 | * | Varriount joined #nim |
03:29:55 | * | vendethiel joined #nim |
03:38:46 | * | vendethiel quit (Ping timeout: 252 seconds) |
04:10:39 | * | kingofoz quit (Ping timeout: 260 seconds) |
04:10:51 | * | kingofoz joined #nim |
04:53:25 | * | krux02 quit (Remote host closed the connection) |
04:56:35 | * | space-wi_ quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
05:00:08 | * | endragor joined #nim |
05:13:05 | * | silvermere joined #nim |
05:13:10 | * | silvermere left #nim (#nim) |
05:18:58 | * | desophos_ joined #nim |
05:23:12 | * | desophos_ quit (Ping timeout: 246 seconds) |
05:29:02 | * | ephja joined #nim |
05:34:32 | * | BrotherLy quit (Quit: Leaving) |
05:45:22 | * | s4 joined #nim |
05:58:35 | * | dyce_ quit (Read error: Connection reset by peer) |
06:07:05 | * | dyce joined #nim |
06:16:30 | * | endragor_ joined #nim |
06:19:33 | * | endragor quit (Ping timeout: 246 seconds) |
06:30:48 | * | desophos quit (Read error: Connection reset by peer) |
06:34:01 | IcyFoxy | Where is --app:* used? |
06:35:02 | * | Ven joined #nim |
06:38:48 | * | endragor_ quit (Remote host closed the connection) |
06:39:18 | * | endragor joined #nim |
06:40:06 | * | yglukhov joined #nim |
07:51:13 | * | endragor_ joined #nim |
07:54:04 | * | endragor quit (Ping timeout: 260 seconds) |
07:55:26 | * | rok joined #nim |
07:57:49 | * | dorei joined #nim |
07:58:40 | * | Demon_Fox quit (Quit: Leaving) |
08:04:33 | * | McSpiros joined #nim |
08:06:39 | * | fredrik92 joined #nim |
08:14:51 | * | zahary joined #nim |
08:17:50 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
08:24:31 | * | Trustable joined #nim |
08:32:27 | * | gokr joined #nim |
08:58:48 | * | Ven joined #nim |
09:13:35 | * | elrood joined #nim |
09:24:32 | * | Ven quit (Ping timeout: 276 seconds) |
09:42:17 | * | arnetheduck joined #nim |
09:55:48 | * | coffeepot joined #nim |
09:59:17 | * | fredrik92 quit (Ping timeout: 250 seconds) |
10:24:20 | * | Ven joined #nim |
10:29:30 | * | derka_ joined #nim |
10:29:32 | * | Ven quit (Ping timeout: 276 seconds) |
10:29:58 | * | derka quit (Ping timeout: 244 seconds) |
10:29:59 | * | derka_ is now known as derka |
10:31:10 | * | Ven joined #nim |
10:43:31 | * | Varriount_ joined #nim |
10:43:31 | * | Varriount quit (Disconnected by services) |
10:46:06 | * | jeffc joined #nim |
10:50:38 | * | jeffc quit (Ping timeout: 244 seconds) |
10:53:04 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
10:59:59 | * | rok quit (Quit: rok) |
11:05:03 | * | Ven joined #nim |
11:17:34 | * | dorei quit (Ping timeout: 250 seconds) |
11:19:11 | * | dorei_ joined #nim |
11:26:26 | * | zaquest quit (Ping timeout: 250 seconds) |
11:35:23 | * | krux02 joined #nim |
11:37:32 | * | thotypous joined #nim |
11:39:00 | * | thotypous quit (Client Quit) |
11:41:23 | * | fredrik92 joined #nim |
11:41:27 | * | fredrik92 quit (Client Quit) |
11:46:19 | * | fredrik92 joined #nim |
11:48:20 | krux02 | is anyone online who uses nim-mode? |
11:50:53 | federico3 | nim-mode? |
11:59:55 | * | vegansk is now known as veganskaway |
12:05:49 | krux02 | federico: nim-mode is the nim support for emacs |
12:06:30 | krux02 | since I found out about spacemacs, I would like to use it there, but somehow I could only get it to work in spacemacs |
12:14:11 | * | Xolem joined #nim |
12:21:10 | * | PMunch joined #nim |
12:21:53 | * | Xolem left #nim (#nim) |
12:26:41 | * | BitPuffin joined #nim |
12:29:44 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
12:36:53 | reactormonk | krux02, hm? works somewhat here. |
12:42:23 | * | zaquest joined #nim |
12:43:21 | * | Ven joined #nim |
12:44:12 | krux02 | reactormonk: I can't get completion to work |
12:44:50 | krux02 | I had completion working in emacs without spacemacs, but in spacemacs I just can't get it working |
12:45:13 | krux02 | autocompletion is on, and it also completes, but it doesn't have semantic completion, just word based completion |
12:45:33 | krux02 | and I don't know what to do to find out what is going wrong |
12:48:23 | reactormonk | krux02, does it find nimsuggest? |
12:53:03 | krux02 | yes it does |
12:54:43 | krux02 | nim-nimsuggest-path is a variable defined in `nim-vars.el'. |
12:54:43 | krux02 | Its value is "/home/arne/.nimble/bin/nimsuggest" |
12:56:49 | * | derka quit (Ping timeout: 260 seconds) |
12:58:03 | * | derka joined #nim |
12:59:15 | * | rok joined #nim |
12:59:59 | * | derka quit (Client Quit) |
13:17:23 | * | gmpreussner quit (Ping timeout: 250 seconds) |
13:17:35 | * | gmpreussner joined #nim |
13:27:42 | * | s4 quit (Quit: Konversation terminated!) |
13:30:32 | * | coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
13:35:11 | krux02 | reactormonk: is there something spacemacs that I need to enable so that nim semantic completion works? |
13:36:23 | reactormonk | krux02, dunno, works for me :-) |
13:36:24 | * | ics joined #nim |
13:36:53 | krux02 | reactormonk: then what is your config? |
13:37:31 | krux02 | can I have your .spacemacs if there is nothing private in it? |
13:37:57 | reactormonk | just plain spacemacs |
13:38:15 | reactormonk | grep nim .spacemacs shows just the layer |
13:39:24 | krux02 | what other layers do you have |
13:40:47 | reactormonk | nothing specific I'd say |
13:42:14 | krux02 | can I please have it? |
13:42:30 | krux02 | I would like to know if I have anything that might be incompatible |
13:43:15 | krux02 | reactormonk: or you just forgot to mention something it would really help me if I would have a config file, where I already know it works |
13:51:17 | * | def- quit (Ping timeout: 260 seconds) |
13:55:26 | * | def- joined #nim |
13:55:38 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
13:59:31 | * | Ven joined #nim |
14:12:22 | * | rtroxler joined #nim |
14:13:20 | * | jeffc joined #nim |
14:16:26 | cheatfate | Araq_, i'm reading macros.html and want to ask you, how nnkAsmStmt working with vcc? because vcc dont have support of inline assembler for x64 targets |
14:17:27 | Araq_ | same as the 'asm' keyword works for vcc. not at all, it barfs on the produced C code ... |
14:17:47 | Araq_ | the lack of an inline assembler makes the whole compiler a bad joke, if you ask me. |
14:19:38 | cheatfate | Araq_, yeah, but thanks |
14:21:18 | cheatfate | Araq_, how do you think is it possible to replace msvcrt specific code from nim executable stub |
14:21:53 | Araq_ | we need to get rid of lib C dependencies and write our own stuff based on the Windows API. |
14:22:20 | cheatfate | what do you think about replacement for setjmp/longjmp |
14:23:05 | cheatfate | i think its the only problem |
14:26:42 | * | rok quit (Quit: rok) |
14:47:27 | * | arnetheduck quit (Ping timeout: 250 seconds) |
14:58:37 | cheatfate | Araq_, question about concurrency, how do you think to made it with async? Like call callbacks in threadpoll or start N threads with poll()? |
14:58:39 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
15:01:35 | * | jeffc quit (Remote host closed the connection) |
15:01:41 | * | Jesin quit (Quit: Leaving) |
15:02:02 | * | rtroxler quit (Ping timeout: 250 seconds) |
15:02:30 | * | jeffc joined #nim |
15:04:14 | * | jeffc quit (Remote host closed the connection) |
15:04:51 | * | jeffc joined #nim |
15:06:45 | Araq_ | cheatfate: not sure, what did I do in my crazy_concurrency branch? :-) |
15:06:51 | Araq_ | can't remember. |
15:07:20 | cheatfate | there no final stage in crazy_concurrency, just preparations |
15:08:08 | * | McSpiros quit (Quit: Page closed) |
15:08:16 | Araq_ | well one solution is to have N threads that listen to the shared table for 'tasks' to execute |
15:09:09 | * | desophos joined #nim |
15:09:34 | * | jeffc quit (Ping timeout: 252 seconds) |
15:10:08 | Araq_ | another solution is to keep it single threaded but since the shared data structures are concurrency safe, you can 'spawn' on your own in a longer running request (whatever that is) |
15:10:38 | Araq_ | that's a worse solution since then application developers need to use 'spawn'. |
15:11:54 | cheatfate | windows iocp for best performance must be handled by N threads where N = number of cores, so there must be N getqueuedcompletionstatus() |
15:13:09 | cheatfate | nginx uses spawn on linux so N processes calling epoll_wait so situation is same |
15:13:52 | Araq_ | IME #thread > number of cores is better for performance. |
15:16:18 | cheatfate | Araq_, of course it can be better for windows like 2x number of cores... but there no advantage for linux/bsd because there no kernel threads like in windows |
15:16:47 | Araq_ | what about hyperthreading? |
15:18:03 | * | BitPuffin quit (Ping timeout: 240 seconds) |
15:18:26 | cheatfate | Araq_, lol ok let formula be #threads = #cores * 2 * 2 if HT else 1 |
15:23:02 | * | Jesin joined #nim |
15:30:55 | * | darkf quit (Quit: Leaving) |
15:31:57 | * | jeffc joined #nim |
15:33:26 | * | yglukhov quit (Ping timeout: 250 seconds) |
15:38:54 | * | jeffc quit (Remote host closed the connection) |
15:45:23 | * | brson joined #nim |
15:47:28 | * | filcuc joined #nim |
15:51:26 | * | A3hr0 joined #nim |
16:02:37 | * | vendethiel joined #nim |
16:07:03 | * | filcuc quit (Ping timeout: 240 seconds) |
16:10:02 | * | rok joined #nim |
16:22:45 | * | yglukhov joined #nim |
16:24:04 | * | space-wizard joined #nim |
16:27:41 | * | yglukhov quit (Ping timeout: 276 seconds) |
16:31:18 | * | A3hr0 quit (Ping timeout: 250 seconds) |
16:35:54 | * | PMunch quit (Ping timeout: 246 seconds) |
16:36:02 | * | Jesin quit (Quit: Leaving) |
16:39:37 | ephja | I wonder if it's possible to generate binary expression trees with glossolalia |
16:40:03 | ephja | PN ftw though ;) |
16:47:40 | * | jeffc joined #nim |
16:49:00 | * | jeffc quit (Remote host closed the connection) |
16:49:03 | * | def- quit (Ping timeout: 240 seconds) |
16:53:09 | * | yglukhov joined #nim |
16:54:48 | * | gokr quit (Ping timeout: 276 seconds) |
16:58:48 | * | nsf quit (Ping timeout: 250 seconds) |
17:04:34 | * | nsf joined #nim |
17:06:28 | * | def- joined #nim |
17:06:43 | * | desophos quit (Remote host closed the connection) |
17:10:33 | * | def- quit (Ping timeout: 240 seconds) |
17:14:56 | * | endragor_ quit (Ping timeout: 268 seconds) |
17:28:34 | * | yglukhov quit (Remote host closed the connection) |
17:29:30 | * | def- joined #nim |
17:31:28 | * | yglukhov joined #nim |
17:48:11 | * | maxgonzih quit (Quit: WeeChat 1.4) |
18:02:32 | * | yglukhov quit (Remote host closed the connection) |
18:02:43 | * | desophos joined #nim |
18:07:56 | * | jeffc joined #nim |
18:10:45 | * | yglukhov joined #nim |
18:17:27 | * | jeffc quit (Remote host closed the connection) |
18:17:54 | * | jeffc joined #nim |
18:20:39 | * | Gonzih joined #nim |
18:21:50 | * | jeffc quit (Remote host closed the connection) |
18:22:27 | * | jeffc joined #nim |
18:26:26 | * | PMunch joined #nim |
18:26:59 | * | jeffc quit (Ping timeout: 260 seconds) |
18:31:03 | * | huonw quit (Ping timeout: 264 seconds) |
18:33:01 | * | huonw joined #nim |
18:33:13 | * | jeffc joined #nim |
18:40:20 | ephja | getType(enumType) returns "typeDesc[enum enum a b, c]". is this right? |
18:46:06 | * | PMunch quit (Ping timeout: 246 seconds) |
18:52:35 | * | yglukhov quit (Remote host closed the connection) |
18:59:11 | * | yglukhov joined #nim |
19:00:24 | Araq_ | ephja: no it might be related to some bug I'm hunting |
19:05:07 | * | yglukhov quit (Remote host closed the connection) |
19:11:04 | * | yglukhov joined #nim |
19:20:06 | * | Jesin joined #nim |
19:42:25 | ephja | ok |
19:49:54 | * | yglukhov2 joined #nim |
19:53:10 | * | yglukhov2 quit (Remote host closed the connection) |
19:56:41 | * | fredrik92 quit (Read error: Connection reset by peer) |
20:02:00 | * | def- quit (Ping timeout: 276 seconds) |
20:19:34 | * | Matthias247 joined #nim |
20:39:52 | * | jeffc quit (Remote host closed the connection) |
20:40:33 | * | jeffc joined #nim |
20:42:46 | * | jeffc quit (Remote host closed the connection) |
20:43:27 | * | jeffc joined #nim |
20:44:59 | * | jeffc quit (Remote host closed the connection) |
20:45:06 | * | jeffc joined #nim |
20:47:29 | * | jeffc quit (Remote host closed the connection) |
20:48:08 | * | jeffc joined #nim |
20:53:12 | * | jeffc quit (Remote host closed the connection) |
20:53:43 | * | jeffc joined #nim |
20:54:59 | * | gokr joined #nim |
20:55:34 | * | jeffc quit (Remote host closed the connection) |
20:55:42 | * | jeffc joined #nim |
20:58:55 | * | jeffc quit (Remote host closed the connection) |
20:59:27 | * | jeffc joined #nim |
21:00:04 | * | jeffc quit (Remote host closed the connection) |
21:00:10 | * | jeffc joined #nim |
21:01:54 | * | yglukhov_ joined #nim |
21:01:54 | * | yglukhov quit (Read error: Connection reset by peer) |
21:03:59 | * | jeffc quit (Remote host closed the connection) |
21:06:10 | * | jeffc joined #nim |
21:09:49 | * | Demon_Fox joined #nim |
21:15:15 | * | yglukhov_ quit (Remote host closed the connection) |
21:34:31 | * | elrood quit (Quit: Leaving) |
21:58:36 | * | ephja quit (Ping timeout: 268 seconds) |
22:37:26 | * | rok quit (Quit: rok) |
22:48:26 | * | Matthias247 quit (Read error: Connection reset by peer) |
22:56:02 | * | Trustable quit (Remote host closed the connection) |
23:08:44 | * | ephja joined #nim |
23:14:11 | * | space-wizard quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
23:17:05 | krux02 | Araq_: why do bracket expressions have a very big impact on the way untyped ast's are parsed? |
23:18:22 | krux02 | dumpTree: |
23:18:23 | krux02 | C[i,m,n] = A[l,i,k] ∗ B[l,k,j] ∗ D[j,n,m] + A[l,i,m] ∗ E[l,n] |
23:18:23 | krux02 | C = A * B * D + A * E |
23:18:45 | * | space-wizard joined #nim |
23:19:01 | Araq_ | what's wrong with it? |
23:19:13 | krux02 | the second one parses with "Infix +" as the first token on the right hand side of the assignment |
23:19:25 | * | space-wizard quit (Max SendQ exceeded) |
23:19:42 | krux02 | the first one parses with command BracketExpre A |
23:20:04 | * | space-wizard joined #nim |
23:22:55 | krux02 | this is the output: http://pastebin.com/QyX004mF |
23:24:02 | krux02 | I would expect, that the order and the kind of the nim nodes would not change from the first and the second version |
23:24:28 | * | gokr quit (Ping timeout: 250 seconds) |
23:25:18 | krux02 | I would expect that the version with the bracket experssions would be the same as the one without the bracket expressions, just with bracket expressions instead of the identifiers |
23:25:21 | Araq_ | what the fuck, that AST is completely wrong :-) |
23:25:28 | Araq_ | I agree with you. |
23:26:01 | krux02 | should I create an issue on github? |
23:26:48 | Araq_ | but it's because your asterisks are Unicode shit ;-) |
23:26:54 | Araq_ | use Ascii ones |
23:27:39 | Araq_ | unicode asterisks are parses as ordinary identifiers, not operators |
23:27:47 | Araq_ | which completely explains the difference. |
23:28:42 | krux02 | maybe then you should add a message in the compiler when something is not ascii |
23:29:00 | krux02 | I think it came from copy paste |
23:29:02 | Araq_ | the spec says it's valid Nim code. |
23:29:52 | cheatfate | interesting, why everybody playing with macroses :) |
23:30:18 | Araq_ | I could add warnings, but dealing with unicode is always so messy. and you need to constantly update all these lookup tables. yay, a moving "standard". |
23:30:46 | cheatfate | dom96, common, please review my PR i want to add more to dispute :) |
23:31:11 | krux02 | cheatfate: I think the reason is, because macros are the strong features of nim |
23:31:46 | krux02 | if you don't use macros, why not use a programming language that is a bit more stable |
23:31:56 | krux02 | like D |
23:32:10 | cheatfate | just because i love C |
23:32:27 | cheatfate | and assembler |
23:33:13 | cheatfate | i think macroses just give some comfort even not for yourself but for somebody who will use them :) |
23:33:59 | krux02 | Araq_: thanks a lot, I would never thought that there was non-Ascii |
23:34:42 | krux02 | I now feel the urge to put a greek question mark into someone's c++ sourcecode |
23:34:57 | Araq_ | try trigraphs instead. |
23:35:06 | Araq_ | use !!? in a string literal. |
23:35:40 | Araq_ | speaking of which ... does Nim produce that sequence in its C output? |
23:35:46 | Araq_ | that would be wrong ... :-) |
23:41:34 | krux02 | the unicode definitively confused emacs about where identifiers were |
23:42:43 | krux02 | that expression uses l as identifiers, and nim warn about them, but with each unicode asterisk, the warnings were off by one more column |
23:43:37 | krux02 | I did not create any code based on the asterisk values, it was all just compile time, and therefore not in the generated C code |
23:52:10 | Araq_ | the columns are byte-based :P |
23:52:42 | Araq_ | which is wrong, but not hard to fix, except perhaps some editors actually prefer bytebased columns |