00:08:21 | * | yglukhov quit (Remote host closed the connection) |
00:20:38 | * | yglukhov joined #nim |
00:21:04 | * | yglukhov quit (Remote host closed the connection) |
00:22:41 | * | BitPuffin|osx joined #nim |
00:25:59 | NimBot | nim-lang/Nim devel 2f721f0 Araq [+0 ±4 -0]: 'parallel' now requires --experimental mode |
00:25:59 | NimBot | nim-lang/Nim devel 2299318 Araq [+0 ±3 -0]: toplevel .closure procs are deprecated |
00:25:59 | NimBot | nim-lang/Nim devel dd0acfd Araq [+0 ±1 -0]: todo.txt update |
00:25:59 | NimBot | nim-lang/Nim devel 134c44f Araq [+0 ±2 -0]: refs #2973; manual contains almost all pragmas now, few are left in the compiler guide |
00:29:40 | * | yglukhov joined #nim |
00:34:10 | * | yglukhov quit (Ping timeout: 245 seconds) |
01:09:06 | * | brson quit (Ping timeout: 244 seconds) |
01:10:18 | * | EXetoC quit (Ping timeout: 260 seconds) |
01:14:51 | * | drewsrem quit (Quit: Leaving) |
01:17:19 | * | strcmp1 joined #nim |
01:17:57 | * | pregressive quit (Remote host closed the connection) |
01:19:19 | * | bendiken quit () |
01:30:42 | * | EXetoC joined #nim |
01:40:26 | * | nande joined #nim |
01:59:18 | * | BitPuffin|osx quit (Ping timeout: 260 seconds) |
02:05:32 | * | Kingsquee quit (Ping timeout: 272 seconds) |
02:10:01 | * | saml_ joined #nim |
02:10:02 | * | CryptoToad quit (Quit: Leaving) |
02:14:42 | * | Kingsquee joined #nim |
02:16:09 | * | Jehan_ quit (Quit: Leaving) |
02:21:08 | * | Amrykid2 joined #nim |
02:31:05 | * | EXetoC quit (Ping timeout: 252 seconds) |
02:31:15 | * | yglukhov joined #nim |
02:35:00 | * | strcmp1 quit (Quit: Leaving) |
02:35:24 | * | yglukhov quit (Ping timeout: 246 seconds) |
02:44:42 | Xe | dom96: https://i.imgur.com/hjHtwK8.png the Content-Type in the reply is text/html |
02:45:57 | Xe | oh wait |
02:46:00 | Xe | hmm |
02:47:09 | Xe | never mind |
02:47:11 | Xe | I did it wrong |
02:56:57 | * | saml_ quit (Remote host closed the connection) |
03:09:02 | * | EXetoC joined #nim |
03:09:06 | * | EXetoC quit (Client Quit) |
03:26:47 | * | darkf joined #nim |
03:32:46 | * | yglukhov joined #nim |
03:37:07 | * | yglukhov quit (Ping timeout: 246 seconds) |
03:41:33 | * | Amrykid2 quit (Ping timeout: 246 seconds) |
04:08:54 | * | Kingsquee quit (Read error: Connection reset by peer) |
04:09:08 | * | Kingsquee joined #nim |
04:42:14 | * | mal`` quit (Quit: Leaving) |
04:49:58 | * | mal`` joined #nim |
04:57:06 | * | FedeOmoto quit (Ping timeout: 255 seconds) |
05:00:19 | * | NimBot joined #nim |
05:22:33 | * | NimBot joined #nim |
05:34:25 | * | dv- quit (Ping timeout: 252 seconds) |
06:19:11 | * | yglukhov joined #nim |
06:23:20 | * | yglukhov quit (Ping timeout: 245 seconds) |
06:50:29 | * | jszymanski joined #nim |
06:54:14 | * | nande quit (Remote host closed the connection) |
07:00:38 | * | johnsoft joined #nim |
07:08:31 | * | Trustable joined #nim |
07:28:44 | * | Gonzih joined #nim |
07:29:33 | * | Demon_Fox quit (Quit: Leaving) |
07:47:54 | * | ingsoc joined #nim |
07:54:20 | * | jszymanski quit (Quit: bye) |
07:58:37 | * | jszymanski joined #nim |
08:03:58 | * | coffeepot joined #nim |
08:05:50 | * | yglukhov joined #nim |
08:19:05 | * | mtj_ quit (Ping timeout: 240 seconds) |
08:21:21 | * | gokr quit (Quit: Leaving.) |
08:23:48 | * | mtj_ joined #nim |
08:36:18 | * | Matthias247 joined #nim |
08:37:20 | * | Kingsquee quit (Read error: Connection reset by peer) |
08:37:35 | * | Kingsquee joined #nim |
09:27:05 | * | coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
09:33:17 | * | coffeepot joined #nim |
09:42:30 | * | Ven joined #nim |
09:49:16 | * | jszymanski quit (Quit: computer sleeps...) |
10:11:22 | * | Ven quit (Ping timeout: 250 seconds) |
10:18:14 | * | lokulin quit (Changing host) |
10:18:14 | * | lokulin joined #nim |
10:19:00 | * | BitPuffin joined #nim |
10:23:40 | * | Kingsquee quit (Quit: http://i.imgur.com/EsXzoum.png) |
10:28:52 | * | xcombelle joined #nim |
10:32:09 | * | Matthias247 quit (Read error: Connection reset by peer) |
10:34:04 | * | Jehan_ joined #nim |
11:05:42 | * | xcombelle quit (Ping timeout: 246 seconds) |
11:23:49 | * | jszymanski joined #nim |
11:24:24 | * | jaco60 joined #nim |
11:39:38 | * | Jehan_ quit (Quit: Leaving) |
11:45:57 | * | zama quit (Ping timeout: 246 seconds) |
11:46:54 | * | zama joined #nim |
12:02:50 | * | Jehan_ joined #nim |
12:07:18 | * | askatasuna quit (Ping timeout: 246 seconds) |
12:12:42 | * | Matthias247 joined #nim |
12:13:55 | * | Ohtotasche joined #nim |
12:18:17 | Araq | hi Ohtotasche welcome |
12:21:54 | Ohtotasche | Hi Araq, thanks |
12:30:24 | * | zama quit (Ping timeout: 264 seconds) |
12:31:16 | * | zama joined #nim |
12:52:35 | * | xcombelle joined #nim |
12:58:52 | * | Gonzih quit (Ping timeout: 246 seconds) |
13:00:03 | Jehan_ | Araq: The bug with reversed is that a.high becomes -1 for an empty sequence and the reversed(sequence, first, last) call requires first and last to be natural numbers. Do you want a special case for the empty sequence for reversed(sequence) or extend reversed(sequence, first, last) so that last can be -1? |
13:02:49 | * | ingsoc1 joined #nim |
13:03:24 | * | ingsoc quit (Ping timeout: 250 seconds) |
13:05:20 | * | Amrykid2 joined #nim |
13:08:50 | * | drewsrem joined #nim |
13:09:59 | * | askatasuna joined #nim |
13:11:53 | * | itPuffinB joined #nim |
13:11:53 | * | BitPuffin quit (Disconnected by services) |
13:12:57 | * | itPuffinB is now known as BitPuffin |
13:16:44 | Jehan_ | Nevermind, just made a decision myself and submitted a PR. :) |
13:16:50 | * | dalarmmst quit (Ping timeout: 250 seconds) |
13:21:17 | * | jszymanski quit (Quit: computer sleeps...) |
13:29:26 | * | Gonzih joined #nim |
13:41:05 | federico3 | is there an equivalent of execve? |
13:42:28 | * | yglukhov quit (Remote host closed the connection) |
13:43:09 | * | xcombelle quit (Ping timeout: 255 seconds) |
13:44:22 | * | yglukhov joined #nim |
13:46:04 | * | yglukhov quit (Remote host closed the connection) |
13:47:55 | * | xet7 quit (Quit: Leaving) |
13:49:37 | * | yglukhov joined #nim |
13:55:39 | Jehan_ | federico3: What do you mean? |
13:59:20 | * | xet7 joined #nim |
13:59:37 | federico3 | executing an program without forking |
14:00:43 | * | kilon joined #nim |
14:04:19 | * | yglukhov quit (Remote host closed the connection) |
14:05:43 | * | pregressive joined #nim |
14:07:36 | * | yglukhov joined #nim |
14:11:11 | Araq | osproc doesn't use fork if your OS supports it |
14:13:17 | * | yglukhov quit (Remote host closed the connection) |
14:13:38 | * | yglukhov joined #nim |
14:21:37 | federico3 | but it starts a new process in any case? |
14:21:54 | Araq | sure |
14:22:18 | federico3 | I want to terminate the execution of the Nim application |
14:25:49 | * | yglukhov quit (Remote host closed the connection) |
14:34:07 | * | NimBot joined #nim |
14:36:25 | Jehan_ | federico3: posix.execve exists. It just doesn't work on platforms that don't have it. |
14:42:56 | * | yglukhov joined #nim |
14:47:20 | * | Demos joined #nim |
14:47:41 | * | drewsrem quit (Quit: Leaving) |
14:52:58 | * | aziz joined #nim |
14:55:17 | * | NimBot joined #nim |
15:08:06 | * | Jehan_ quit (Quit: Leaving) |
15:20:57 | * | Gonzih quit (Ping timeout: 265 seconds) |
15:34:14 | * | yglukhov quit (Remote host closed the connection) |
15:35:33 | * | yglukhov joined #nim |
15:42:31 | * | darkf quit (Quit: Leaving) |
15:45:54 | * | ChrisMAN joined #nim |
15:46:00 | * | ChrisMAN quit (Remote host closed the connection) |
15:48:15 | * | Demos quit (Remote host closed the connection) |
15:52:51 | * | thekilon joined #nim |
16:07:03 | * | jszymanski joined #nim |
16:13:10 | * | Ohtotasche quit (Quit: Leaving) |
16:13:45 | * | Jesin quit (Quit: Leaving) |
16:14:01 | NimBot | nim-lang/Nim devel 22789a8 Reimer Behrends [+0 ±1 -0]: Fix exponentiation operation to avoid overflow.... 4 more lines |
16:14:01 | NimBot | nim-lang/Nim devel 769e0e3 Dominik Picheta [+0 ±1 -0]: Merge pull request #3214 from rbehrends/fix-exponentiation... 2 more lines |
16:17:43 | NimBot | nim-lang/Nim devel 2f8d4c1 Yuriy Glukhov [+0 ±1 -0]: Fixed compilation of times module with JS. |
16:17:43 | NimBot | nim-lang/Nim devel bb2aa24 Dominik Picheta [+0 ±1 -0]: Merge pull request #3213 from yglukhov/times-js-fix... 2 more lines |
16:26:40 | * | Demos joined #nim |
16:32:11 | * | coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
16:35:23 | * | strcmp1 joined #nim |
16:36:17 | * | Amrykid2 quit (Ping timeout: 250 seconds) |
16:39:03 | * | Jesin joined #nim |
16:50:53 | * | UberLambda joined #nim |
16:51:23 | * | Jehan_ joined #nim |
16:54:45 | * | BitPuffin quit (Disconnected by services) |
16:54:45 | * | itPuffinB joined #nim |
16:55:50 | * | itPuffinB is now known as BitPuffin |
16:58:23 | * | Demos_ joined #nim |
17:02:12 | * | Demos quit (Ping timeout: 264 seconds) |
17:02:56 | * | Demos_ quit (Ping timeout: 265 seconds) |
17:04:44 | * | Demos joined #nim |
17:07:00 | * | NimBot joined #nim |
17:09:00 | * | brson joined #nim |
17:19:39 | * | Demos quit (Remote host closed the connection) |
17:20:13 | * | Arrrr joined #nim |
17:25:44 | * | Demos joined #nim |
17:26:33 | * | NimBot joined #nim |
17:27:07 | * | thekilon quit (Remote host closed the connection) |
17:27:40 | * | BitPuffin quit (Ping timeout: 244 seconds) |
17:30:42 | * | CryptoToad joined #nim |
17:39:05 | * | yglukhov quit (Remote host closed the connection) |
17:42:31 | * | NimBot joined #nim |
17:42:33 | * | yglukhov joined #nim |
17:46:24 | dom96 | I like the idea of crater: http://blog.rust-lang.org/2015/08/14/Next-year.html |
17:46:34 | dom96 | We need an equivalent for Nimble packages. |
17:46:43 | * | FedeOmoto joined #nim |
17:51:57 | Jehan_ | dom96: For that to work, packages need to be able to specify how to test them (especially libraries). |
17:52:19 | dom96 | Jehan_: you're right |
17:52:32 | Jehan_ | That, however, should be easy. |
17:53:12 | * | UberLambda quit (Ping timeout: 264 seconds) |
17:53:26 | Jehan_ | I would personally be in favor of both a "build" and a "test" option in Nimble files. |
17:54:08 | Jehan_ | The first would allow you to override "nimble build" with a shell command, the second would supply a shell command for how to test the project. |
17:54:24 | Jehan_ | Which should usually be "nim c -r something" for either. |
17:55:21 | * | Demon_Fox joined #nim |
17:56:17 | Jehan_ | Another concern I also have is security. |
17:56:23 | Jehan_ | E.g.: https://blog.liftsecurity.io/2015/01/27/a-malicious-module-on-npm |
17:56:35 | Jehan_ | That's about npm, but it really applies to _any_ package manager. |
18:10:32 | dom96 | Jehan_: Solving security issues sounds challenging. |
18:10:46 | Jehan_ | dom96: It's definitely not trivial. |
18:11:39 | * | Demos quit (Remote host closed the connection) |
18:12:10 | * | brson quit (Ping timeout: 240 seconds) |
18:13:13 | * | Demos joined #nim |
18:13:19 | * | Demos quit (Remote host closed the connection) |
18:13:54 | * | Demos joined #nim |
18:15:22 | * | brson joined #nim |
18:18:16 | * | solidsnack joined #nim |
18:32:48 | * | solidsnack quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
18:33:18 | * | dalarmmst joined #nim |
18:36:51 | * | bendiken joined #nim |
18:42:29 | * | ingsoc1 quit (Quit: Leaving.) |
18:47:57 | * | yglukhov quit (Remote host closed the connection) |
18:50:18 | * | yglukhov joined #nim |
18:52:35 | * | solidsnack joined #nim |
18:55:04 | * | solidsnack quit (Client Quit) |
18:55:25 | * | xcombelle joined #nim |
18:57:58 | Arrrr | I like the idea of incremental compilation |
18:58:13 | Arrrr | Will nim has it one day? |
19:00:17 | Jehan_ | Arrrr: the basic mechanism already exists, it's just currently broken (used to work, though). |
19:00:57 | Jehan_ | There are also some things that need to be improved with respect to C code generation to make it more reproducible. |
19:02:11 | Arrrr | That's a relief. When did it broke? |
19:04:15 | Jehan_ | Umm, some time last year? I don't remember. |
19:05:25 | Jehan_ | Arrrr: You can try with --symbolFiles:on, but I think it's still broken. |
19:05:44 | * | unistereo joined #nim |
19:06:21 | Demos | nobody has written a project large enough for them to be motivated to fix it :D |
19:06:28 | Demos | nim compiles pretty fast |
19:06:31 | * | jszymanski quit (Quit: computer sleeps...) |
19:09:58 | Jehan_ | Demos: Yeah, pretty much that. |
19:10:15 | Jehan_ | Once you hit a few hundred KLOC, it does start to get slow, however. |
19:11:20 | Demos | how big is the compiler |
19:11:26 | Demos | probably a few 10s of kloc |
19:11:41 | Jehan_ | 40-50 KLOC last I looked. |
19:12:50 | Jehan_ | About 42k (i.e. without blank lines and comments). |
19:12:56 | Arrrr | everytime i have to compile something, it takes at least 30 secs, up to 50 secs. Im used to java, where it hardly takes more than 3 secs |
19:13:36 | * | xcombelle quit (Remote host closed the connection) |
19:13:37 | Demos | wowah, how big is your project? |
19:14:03 | Arrrr | Maybe is because my computer is slow |
19:18:25 | Jehan_ | Arrrr: Huh, that is very odd, unless you have a lot of compile-time evaluated code. |
19:19:18 | Jehan_ | Compiling from scratch can sometimes be slow because the generated C code has to be compiled at least once. |
19:19:50 | Jehan_ | But unless the C files completely change, recompilation should be pretty fast. |
19:20:08 | Demos | if you don't use -d:release when you build the compiler things can get super slow |
19:20:43 | Arrrr | i just use koch boot |
19:21:07 | * | aziz quit (Remote host closed the connection) |
19:21:25 | Demos | koch boot -d:release |
19:21:27 | Demos | do it |
19:21:29 | Demos | it will help |
19:21:31 | Demos | a lot |
19:21:42 | Arrrr | nice suggestion, i'll try it and report |
19:22:57 | Arrrr | i think i used to use that switch, but then i saw it was included in the cfg file |
19:23:19 | Arrrr | but i may be wrong |
19:23:51 | Jehan_ | Arrrr: It's not in the .cfg file for the compiler, AFAIK. |
19:25:19 | Arrrr | that would explain a lot |
19:31:09 | Arrrr | Damn, now after the first compilation, it took only 5~ seconds! Thank you Demos and Jehan_ |
19:31:19 | Arrrr | This will save me a lot of time |
19:31:22 | Demos | Arrrr: cheers! |
19:31:32 | Demos | dem optimizations :D |
19:31:48 | Jehan_ | Still, 5 seconds is a lot (unless it's a fresh compile). 5 seconds is what incremental compiles of the compiler itself take for me. |
19:32:23 | Arrrr | I have only one core with 1.7 ghz |
19:32:32 | Arrrr | That switch should be on by default |
19:32:39 | Jehan_ | Ah, but still ... |
19:33:19 | Demos | that switch is in the documentation |
19:35:18 | Arrrr | Jehan_: '37793 lines compiled; 4.141 sec total' |
19:35:38 | Jehan_ | Okay, for that size project it makes sense. |
19:36:41 | Arrrr | Im happy now, i dont know why it took me so much time to realize it was compiling the code very slow. Again, thanks, now i have to leave |
19:36:46 | * | Arrrr quit (Quit: WeeChat 1.2) |
20:01:41 | * | kilon quit (Read error: Connection reset by peer) |
20:02:12 | * | kilon joined #nim |
20:12:43 | * | NimBot joined #nim |
20:15:20 | * | solidsnack joined #nim |
20:20:18 | * | NimBot joined #nim |
20:22:39 | * | Jehan_ quit (Quit: Leaving) |
20:28:59 | * | bendiken quit () |
20:31:07 | * | Gonzih joined #nim |
20:37:13 | * | Demos quit (Remote host closed the connection) |
20:39:11 | * | solidsnack quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
20:40:57 | * | solidsnack joined #nim |
20:43:46 | * | Amrykid2 joined #nim |
20:47:58 | * | jszymanski joined #nim |
20:49:49 | * | yglukhov quit (Remote host closed the connection) |
21:06:30 | * | Kingsquee joined #nim |
21:06:39 | * | kilon quit () |
21:11:32 | * | Demos joined #nim |
21:12:38 | * | X67r joined #nim |
21:13:26 | * | solidsnack quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
21:25:45 | * | xificurC quit (Ping timeout: 240 seconds) |
21:27:38 | * | Demos_ joined #nim |
21:31:01 | * | Demos quit (Ping timeout: 244 seconds) |
21:32:08 | * | Demos_ quit (Ping timeout: 250 seconds) |
21:35:50 | * | askatasuna quit (Ping timeout: 245 seconds) |
21:39:25 | * | solidsnack joined #nim |
21:39:32 | * | Trustable quit (Remote host closed the connection) |
21:39:48 | * | FedeOmoto quit (Quit: Leaving) |
21:40:10 | * | NimBot joined #nim |
21:44:23 | * | yglukhov joined #nim |
21:47:19 | * | jszymanski quit (Quit: computer sleeps...) |
21:48:43 | * | yglukhov quit (Ping timeout: 250 seconds) |
21:50:18 | * | NimBot joined #nim |
21:51:22 | * | Gonzih quit (Ping timeout: 260 seconds) |
21:55:39 | * | solidsnack quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
21:58:54 | * | unistereo quit (Quit: This computer has gone to sleep) |
21:59:35 | * | solidsnack joined #nim |
22:02:02 | * | Kingsquee quit (Quit: http://i.imgur.com/EsXzoum.png) |
22:02:21 | * | yglukhov joined #nim |
22:09:39 | * | yglukhov quit (Remote host closed the connection) |
22:13:37 | * | brson quit (Ping timeout: 246 seconds) |
22:21:31 | * | saml quit (Quit: Leaving) |
22:21:43 | * | Kingsquee joined #nim |
22:25:19 | * | Amrykid2 quit (Ping timeout: 252 seconds) |
22:33:52 | * | Amrykid2 joined #nim |
22:38:46 | * | brson joined #nim |
22:47:19 | * | Demon_Fox quit (Quit: Leaving) |
22:51:25 | * | NimBot joined #nim |
23:08:22 | * | solidsnack quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
23:15:10 | * | yglukhov joined #nim |
23:19:48 | * | yglukhov quit (Ping timeout: 272 seconds) |
23:26:45 | * | Demon_Fox joined #nim |
23:28:48 | * | NimBot joined #nim |
23:34:33 | * | solidsnack joined #nim |
23:38:46 | * | Matthias247 quit (Read error: Connection reset by peer) |