00:00:17 | * | keyle quit (Quit: http://twitter.com/keyle/) |
00:01:00 | * | yglukhov quit (Ping timeout: 255 seconds) |
00:22:10 | * | vendethiel quit (Ping timeout: 240 seconds) |
00:24:27 | Varriount_ | Araq: Next time the Mingw distribution is updated, it needs to be the sjlj exception version, so that gcc will build both 32 and 64 bit executables. |
00:33:38 | * | ^aurora^ quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
00:41:51 | * | NimBot joined #nim |
00:51:35 | * | bendiken quit () |
00:55:52 | * | X67r quit (Quit: leaving) |
00:57:37 | * | FedeOmoto quit (Ping timeout: 246 seconds) |
01:00:00 | * | Varriount_ quit (Read error: Connection reset by peer) |
01:27:33 | * | NimBot joined #nim |
01:45:16 | * | yglukhov joined #nim |
01:47:37 | * | chemist69 joined #nim |
01:48:13 | * | BitPuffin|osx joined #nim |
01:50:02 | * | yglukhov quit (Ping timeout: 260 seconds) |
01:50:39 | * | chemist69_ quit (Ping timeout: 244 seconds) |
02:04:59 | * | NimBot joined #nim |
02:14:25 | * | BitPuffin|osx quit (Ping timeout: 244 seconds) |
02:25:03 | * | nande joined #nim |
02:40:40 | * | TheGodBanjo is now known as nchambers |
02:42:21 | * | FedeOmoto joined #nim |
03:04:31 | * | darkf joined #nim |
03:11:03 | * | Varriount joined #nim |
03:16:37 | * | Kingsquee joined #nim |
03:19:04 | * | vegansk joined #nim |
03:58:25 | * | pregressive quit (Remote host closed the connection) |
04:49:40 | * | nande quit (Remote host closed the connection) |
04:50:42 | * | pregressive joined #nim |
05:12:41 | * | umurgdk joined #nim |
05:15:46 | * | jszymanski joined #nim |
05:17:12 | * | umurgdk quit (Ping timeout: 264 seconds) |
05:21:27 | * | yglukhov joined #nim |
05:26:12 | * | yglukhov quit (Ping timeout: 264 seconds) |
05:28:51 | * | jck quit (Quit: No Ping reply in 180 seconds.) |
05:30:08 | * | jck joined #nim |
05:47:19 | * | NimBot joined #nim |
05:50:54 | * | FedeOmoto quit (Ping timeout: 244 seconds) |
05:59:11 | * | pregressive quit (Remote host closed the connection) |
06:11:09 | * | yglukhov joined #nim |
06:22:23 | * | yglukhov quit (Remote host closed the connection) |
06:34:54 | * | Demon_Fox quit (Ping timeout: 265 seconds) |
06:35:32 | * | NimBot joined #nim |
06:40:55 | * | Demon_Fox joined #nim |
07:00:37 | * | kilon quit () |
07:03:09 | * | Ven joined #nim |
07:09:17 | * | yglukhov joined #nim |
07:11:45 | * | yglukhov quit (Remote host closed the connection) |
07:14:18 | * | yglukhov joined #nim |
07:19:30 | * | yglukhov quit (Remote host closed the connection) |
07:30:38 | * | yglukhov joined #nim |
07:36:33 | * | gokr1 is now known as gokr |
07:44:39 | * | ^aurora^ joined #nim |
07:47:34 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
07:49:52 | * | Kingsquee quit (Quit: http://i.imgur.com/EsXzoum.png) |
07:54:40 | * | umurgdk joined #nim |
07:59:12 | * | umurgdk quit (Ping timeout: 246 seconds) |
07:59:14 | * | phira quit (Excess Flood) |
07:59:33 | * | Ven joined #nim |
07:59:36 | * | phira joined #nim |
07:59:37 | * | phira quit (Excess Flood) |
08:04:37 | * | phira joined #nim |
08:04:37 | * | phira quit (Excess Flood) |
08:05:07 | * | phira joined #nim |
08:05:07 | * | phira quit (Excess Flood) |
08:06:08 | * | phira joined #nim |
08:06:12 | * | phira quit (Excess Flood) |
08:07:06 | * | phira joined #nim |
08:07:08 | * | phira quit (Excess Flood) |
08:07:34 | * | phira joined #nim |
08:07:36 | * | phira quit (Excess Flood) |
08:08:07 | * | phira joined #nim |
08:08:08 | * | phira quit (Excess Flood) |
08:08:39 | * | phira joined #nim |
08:14:06 | * | Trustable joined #nim |
08:18:41 | * | lokulin quit (Quit: bye!) |
08:34:04 | * | lokulin joined #nim |
08:34:33 | * | yglukhov quit (Remote host closed the connection) |
08:42:41 | * | lokulin quit (Quit: bye!) |
08:45:00 | * | yglukhov joined #nim |
08:52:24 | NimBot | nim-lang/Nim devel ffe5196 Araq [+1 ±3 -0]: fixes a critical codegen bug triggered by .async |
08:52:24 | NimBot | nim-lang/Nim devel d7a4727 Araq [+0 ±6 -0]: fixes #2559 |
08:55:24 | * | xcombelle joined #nim |
08:56:11 | * | ^aurora^ quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
09:05:00 | dom96 | yay |
09:05:05 | * | Demon_Fox quit (Quit: Leaving) |
09:07:50 | vegansk | Hi!. The code "(x: T, y: T) => if(x > y): x else: y" won't compile: "Error: expression expected, but found 'keyword if'" |
09:08:51 | vegansk | I know about x.max(y) ^-) |
09:09:57 | dom96 | Try putting the if statement in parenthesis |
09:10:46 | vegansk | It works, thanks! |
09:15:48 | * | lokulin joined #nim |
09:25:49 | * | Ven quit (Ping timeout: 268 seconds) |
09:33:59 | r-ku | Araq that libcurl wrapper.. made by hand or c2nim? asking because there is 0 info on how you made it. should someone wish to make wrapper for more recent version you know.. |
09:34:36 | Araq | no idea. my educated guess is that I used pas2nim |
09:35:06 | * | umurgdk joined #nim |
09:36:48 | r-ku | pas2nim? curl is c lib |
09:40:06 | * | Kingsquee joined #nim |
09:47:47 | r-ku | Araq ^ ? btw push urhonimo ;) |
09:50:31 | Araq | r-ku: freepascal's C wrappers usually dealt with #define for us and added some typesafety so I pas2nim'ed these wrappers rather than the original header files |
09:50:45 | Araq | back in the days c2nim didn't exist |
09:51:23 | Araq | later I found out these wrappers also add new bugs, so I don't do that anymore :P |
09:51:46 | r-ku | Araq im confused, isnt libcurl wrapper a recent thing? |
09:52:37 | Araq | no, it was moved from stdlib to a nimble package |
09:53:20 | r-ku | ah ok got it. asking cause i made libcurl wrapper myself. however yours was much more nice |
10:00:28 | Araq | dom96: I got rid of the "usage of result triggers void context" rule in the compiler and nothing seems to break. can you remember why we added this rule? |
10:01:36 | Araq | iirc the mongo wrapper showed us why it's a good idea |
10:04:00 | * | yglukhov quit (Remote host closed the connection) |
10:04:21 | dom96 | hrm |
10:05:04 | dom96 | I think it just makes sense |
10:05:28 | dom96 | if you're using result explicitly then you don't want to accidentally override it by implicit returns |
10:06:06 | Araq | it's bad for composition with templates, we need to get rid of it |
10:06:19 | Araq | if result >= 0: # ok |
10:06:42 | Araq | if (echo "foo"; result) >= 0: # not ok? why? |
10:06:50 | * | umurgdk quit (Read error: Connection reset by peer) |
10:07:07 | Araq | note that the (;) stuff can come from a template expansion |
10:07:10 | * | umurgdk joined #nim |
10:12:34 | dom96 | proc foo(): string = result = "foo"; "bar" # will this remain an error? |
10:14:55 | Araq | yeah. for ... reasons I don't really understand |
10:15:36 | * | Ven joined #nim |
10:15:47 | * | yglukhov joined #nim |
10:16:14 | * | umurgdk quit (Remote host closed the connection) |
10:18:55 | Araq | hrm ... it just works better than before |
10:19:06 | Araq | and all I did was removing code from the compiler |
10:19:14 | Araq | bbl |
10:20:17 | NimBot | nim-lang/Nim devel a92f3be Araq [+0 ±1 -0]: fixes #3195 |
10:20:17 | NimBot | nim-lang/Nim devel 051e418 Araq [+0 ±1 -0]: fixes Nim's bigbang regression |
10:20:44 | vegansk | What's the need of the TypelessParam warning? |
10:23:07 | vegansk | Are there some examples when it saves from programming error? |
10:31:00 | * | baabelfish quit (Ping timeout: 264 seconds) |
10:33:52 | * | elrood joined #nim |
10:57:01 | * | umurgdk joined #nim |
10:59:55 | Araq | vegansk: we want to have the opportunity for more elaborate type inference |
11:00:08 | Araq | so that it will infer a concrete rather than a generic type |
11:00:42 | * | thotypous quit (Ping timeout: 260 seconds) |
11:01:20 | Araq | that => is affected by this error is mostly an issue of =>'s implementation plus a compiler bug ... |
11:01:24 | dom96 | that would be really awesome before 1.0 |
11:02:55 | Araq | didn't look hard to fix |
11:03:25 | * | umurgdk quit (Remote host closed the connection) |
11:11:30 | * | thotypous joined #nim |
11:15:31 | * | umurgdk joined #nim |
11:16:06 | * | umurgdk quit (Read error: Connection reset by peer) |
11:16:28 | * | umurgdk joined #nim |
11:30:39 | * | nchambers is now known as dtscode |
11:32:16 | * | umurgdk quit (Remote host closed the connection) |
11:39:33 | * | xcombelle quit (Remote host closed the connection) |
11:42:19 | * | xcombelle joined #nim |
11:42:50 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
11:44:27 | * | enamex joined #nim |
11:48:10 | * | dtscode is now known as nchambers |
11:52:46 | * | raza joined #nim |
11:53:55 | * | enamex quit (Quit: Page closed) |
11:55:11 | * | Ven joined #nim |
11:55:18 | * | umurgdk joined #nim |
11:59:33 | * | umurgdk_ joined #nim |
11:59:33 | * | umurgdk quit (Read error: Connection reset by peer) |
12:02:11 | * | BitPuffin joined #nim |
12:08:15 | * | vegansk quit (Quit: Ухожу я от вас (xchat 2.4.5 или старше)) |
12:34:06 | * | umurgdk_ quit (Remote host closed the connection) |
12:36:48 | * | Sembei joined #nim |
12:44:17 | * | golak joined #nim |
13:01:42 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
13:06:44 | * | umurgdk joined #nim |
13:07:14 | * | umurgdk quit (Remote host closed the connection) |
13:07:28 | * | umurgdk joined #nim |
13:26:15 | * | FedeOmoto joined #nim |
13:36:07 | * | NimBot joined #nim |
13:37:30 | * | Ven joined #nim |
13:59:58 | * | umurgdk quit (Remote host closed the connection) |
14:01:58 | * | pregressive joined #nim |
14:02:54 | * | yglukhov quit (Remote host closed the connection) |
14:04:09 | * | yglukhov joined #nim |
14:04:27 | * | pregress_ joined #nim |
14:05:30 | * | jackv quit (Ping timeout: 240 seconds) |
14:06:18 | * | yglukhov quit (Remote host closed the connection) |
14:06:26 | * | yomiel quit (Ping timeout: 240 seconds) |
14:07:19 | * | yomiel joined #nim |
14:07:22 | * | pregressive quit (Ping timeout: 260 seconds) |
14:09:21 | * | jackv joined #nim |
14:09:41 | * | thotypous quit (Quit: WeeChat 1.2) |
14:11:05 | * | umurgdk joined #nim |
14:16:13 | * | yglukhov joined #nim |
14:16:58 | * | pregressive joined #nim |
14:20:04 | * | pregress_ quit (Ping timeout: 250 seconds) |
14:22:01 | * | thotypous joined #nim |
14:27:04 | * | pregressive quit (Remote host closed the connection) |
14:37:53 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
14:48:23 | * | Ven joined #nim |
14:59:45 | * | NimBot joined #nim |
15:04:00 | * | lyro quit (Read error: Connection reset by peer) |
15:06:56 | * | pregressive joined #nim |
15:07:02 | * | pregressive quit (Remote host closed the connection) |
15:07:36 | * | pregressive joined #nim |
15:11:50 | * | lyro joined #nim |
15:13:56 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
15:17:35 | * | yglukhov quit (Remote host closed the connection) |
15:18:29 | * | yglukhov joined #nim |
15:20:35 | * | filcuc joined #nim |
15:22:34 | * | Ven joined #nim |
15:32:03 | * | thotypous quit (Quit: WeeChat 1.2) |
15:37:01 | * | Arrrr joined #nim |
15:38:26 | * | umurgdk quit (Remote host closed the connection) |
15:38:27 | * | Jesin quit (Quit: Leaving) |
15:38:49 | * | umurgdk joined #nim |
15:40:43 | * | UberLambda joined #nim |
15:41:15 | * | Jesin joined #nim |
15:42:38 | * | filcuc quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) |
15:44:38 | * | raza quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
15:45:25 | * | raza joined #nim |
15:46:47 | * | umurgdk quit (Remote host closed the connection) |
15:53:04 | * | umurgdk joined #nim |
15:53:38 | * | kilon joined #nim |
15:54:06 | * | NimBot joined #nim |
15:57:58 | * | umurgdk quit (Ping timeout: 260 seconds) |
16:00:19 | * | Jesin quit (Quit: Leaving) |
16:00:49 | * | Jesin joined #nim |
16:01:26 | * | umurgdk joined #nim |
16:07:58 | * | boopsiesisaway is now known as boopsies |
16:14:40 | * | gokr_ joined #nim |
16:15:58 | * | raza quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
16:29:00 | * | yglukhov quit (Ping timeout: 244 seconds) |
16:31:53 | * | raza joined #nim |
16:35:49 | * | umurgdk quit (Remote host closed the connection) |
16:37:39 | * | umurgdk joined #nim |
16:54:47 | * | NimBot joined #nim |
17:00:04 | * | jszymanski left #nim ("bye") |
17:00:41 | * | enamex joined #nim |
17:01:03 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
17:01:22 | * | thotypous joined #nim |
17:03:47 | * | unclechu joined #nim |
17:05:39 | * | Sembei quit (Ping timeout: 255 seconds) |
17:07:59 | * | yglukhov joined #nim |
17:08:24 | * | yglukhov quit (Remote host closed the connection) |
17:13:14 | * | ^aurora^ joined #nim |
17:14:12 | * | BitPuffin quit (Ping timeout: 255 seconds) |
17:14:52 | * | Ven joined #nim |
17:24:38 | * | zaquest quit (Remote host closed the connection) |
17:24:55 | * | jaco60 joined #nim |
17:24:57 | * | zaquest joined #nim |
17:56:45 | * | umurgdk quit (Remote host closed the connection) |
18:00:53 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
18:08:17 | * | pregressive quit (Remote host closed the connection) |
18:14:36 | * | kilon quit (Read error: Connection reset by peer) |
18:14:51 | * | darkf quit (Quit: Leaving) |
18:15:17 | * | kilon joined #nim |
18:15:49 | * | yglukhov joined #nim |
18:16:15 | * | enamex quit (Ping timeout: 246 seconds) |
18:42:17 | * | Mat4 joined #nim |
18:42:25 | Mat4 | hello |
18:42:26 | * | redwyn joined #nim |
18:44:00 | * | pregressive joined #nim |
18:45:17 | Arrrr | Hello |
18:46:23 | dom96 | hi |
18:46:23 | * | vendethiel joined #nim |
18:46:46 | * | umurgdk joined #nim |
18:47:37 | redwyn | Hello. I'm testing this parallel for '||': for x in 0||100: echo x all numbers seem to be in order, suggesting that it did not run parallel, right?...is there a way to determine this? |
18:51:56 | Mat4 | use a CPU simulator (like bochs with compiled monitor shell) |
18:54:56 | * | Arrrr quit (Quit: WeeChat 1.2) |
18:56:40 | Mat4 | for this just add an volatile asm statement before the loop inserting the opcode for a breakpoint (such as 0xCC) |
18:57:28 | Mat4 | you can then trace the compiled code for all active (simulated) cores |
18:57:51 | * | Matthias247 joined #nim |
19:01:28 | Mat4 | some versions of the *nix program 'top' are also able to display the number of used processors for specific processes |
19:05:11 | federico3 | What's that? |
19:05:33 | * | UberLambda quit (Quit: GTG) |
19:06:01 | Mat4 | you mean 'top' ? |
19:08:10 | reactormonk | I'd use htop |
19:10:53 | federico3 | No, that double pipe |
19:19:46 | * | thotypous quit (Ping timeout: 246 seconds) |
19:21:09 | * | thotypous joined #nim |
19:22:45 | Mat4 | no idea |
19:40:23 | * | minus left #nim ("WeeChat 1.3") |
19:41:47 | Araq | redwyn: you need to call setupForeignThreadGc() in the loop body (sorry about that) |
19:42:15 | Araq | and then it's quite possible that it's not run in parallel since 'echo' locks on stdout |
19:42:27 | Araq | you need to do a real test, not a toy |
19:44:08 | Araq | also you need to enable openmp via some switch perhaps, don't remember |
19:44:27 | * | redwyn quit (Ping timeout: 246 seconds) |
19:44:54 | Araq | federico3: that || is just an operator iterator defined in system.nim, just like == |
19:47:22 | * | redwyn joined #nim |
19:49:38 | * | ^aurora^ quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
19:50:12 | * | thotypous quit (Ping timeout: 264 seconds) |
19:51:41 | * | thotypous joined #nim |
20:00:12 | * | unclechu quit (Read error: Connection reset by peer) |
20:07:02 | * | davidhq joined #nim |
20:07:21 | * | Ven joined #nim |
20:08:04 | * | enamex joined #nim |
20:13:52 | * | Sembei joined #nim |
20:14:42 | * | raza quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
20:23:05 | * | ^aurora^ joined #nim |
20:25:24 | * | Sembei quit (Excess Flood) |
20:26:36 | * | Sembei joined #nim |
20:32:31 | * | xcombelle quit (Remote host closed the connection) |
20:41:11 | * | redwyn left #nim (#nim) |
20:41:51 | * | enamex quit (Ping timeout: 246 seconds) |
21:05:24 | * | yglukhov quit (Remote host closed the connection) |
21:06:21 | * | Kingsquee quit (Ping timeout: 265 seconds) |
21:08:56 | * | Varriount quit (Read error: Connection reset by peer) |
21:09:26 | * | Varriount joined #nim |
21:19:07 | Araq | Varriount: sjlj exceptions suck for performance, we don't want that |
21:20:57 | * | enamex joined #nim |
21:22:28 | * | golak quit (Ping timeout: 244 seconds) |
21:36:25 | * | Ven quit (Ping timeout: 244 seconds) |
21:38:01 | * | enamex quit (Quit: Page closed) |
21:51:48 | * | Demon_Fox joined #nim |
21:57:08 | * | Trustable quit (Remote host closed the connection) |
22:02:24 | * | pregressive quit (Read error: Connection reset by peer) |
22:03:03 | * | jaco60 quit (Quit: Leaving) |
22:03:09 | * | gunn joined #nim |
22:03:23 | * | Matthias247 quit (Quit: Matthias247) |
22:04:46 | * | pregressive joined #nim |
22:08:18 | * | pregressive quit (Read error: Connection reset by peer) |
22:09:29 | * | Sembei quit (Quit: WeeChat 1.4-dev) |
22:10:46 | * | onionhammer quit (Quit: WeeChat 1.0.1) |
22:10:56 | * | onionhammer joined #nim |
22:15:41 | * | boopsies is now known as boopsiesisaway |
22:17:35 | * | pregressive joined #nim |
22:18:21 | * | pregressive quit (Client Quit) |
22:30:28 | * | NimBot joined #nim |
22:32:39 | * | Matthias247 joined #nim |
22:35:14 | * | thotypous quit (Quit: WeeChat 1.2) |
22:36:52 | * | thotypous joined #nim |
22:41:26 | * | keyle joined #nim |
22:50:58 | * | elrood quit (Quit: Leaving) |
22:55:08 | * | Matthias247 quit (Read error: Connection reset by peer) |
23:11:28 | * | davidhq quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
23:15:23 | * | umurgdk quit (Remote host closed the connection) |
23:17:17 | * | yglukhov joined #nim |
23:21:30 | * | yglukhov quit (Ping timeout: 240 seconds) |
23:22:28 | federico3 | There's no such thing as a seq or table with mixed type elements, how comes? |
23:26:04 | * | kilon quit (Read error: Connection reset by peer) |
23:26:47 | * | kilon joined #nim |
23:27:30 | * | umurgdk joined #nim |
23:31:55 | * | umurgdk quit (Ping timeout: 252 seconds) |
23:42:40 | Araq | federico3: it's called static typing. if you need more flexibility, just use a Table mapping JSon to JSon or RootRef to RootRef etc |
23:42:52 | * | davidhq joined #nim |
23:43:34 | * | davidhq quit (Client Quit) |
23:44:17 | * | BitPuffin|osx joined #nim |