00:11:00 | Araq | n |
00:23:53 | * | filwit joined #nim |
02:04:05 | * | yglukhov joined #nim |
02:08:35 | * | yglukhov quit (Ping timeout: 252 seconds) |
02:10:51 | * | pregressive quit (Remote host closed the connection) |
02:46:25 | * | askatasuna joined #nim |
02:56:48 | * | askatasuna quit (Ping timeout: 264 seconds) |
03:03:17 | * | darkf joined #nim |
03:19:35 | Varriount_ | Meep |
03:19:42 | * | Varriount_ is now known as Varriount |
03:23:50 | * | filwit quit (Quit: Leaving) |
03:46:44 | * | shodan45 quit (Quit: Konversation terminated!) |
04:02:24 | Varriount | Araq: Any particular reason why nimsuggest closes the socket after a single command in TCP mode? |
04:05:32 | * | yglukhov joined #nim |
04:09:55 | * | yglukhov quit (Ping timeout: 246 seconds) |
04:50:07 | * | lokulin quit (Changing host) |
04:50:07 | * | lokulin joined #nim |
05:08:38 | * | ehaliewi` quit (Ping timeout: 272 seconds) |
05:31:54 | * | ehaliewi` joined #nim |
05:44:48 | * | jackv quit (Ping timeout: 264 seconds) |
05:46:06 | * | Lain-chan joined #nim |
05:46:13 | * | Lain-chan left #nim ("Leaving") |
05:46:43 | * | jackv joined #nim |
05:54:26 | * | gunn quit (Ping timeout: 240 seconds) |
06:00:04 | * | huonw quit (Ping timeout: 246 seconds) |
06:01:57 | * | jszymanski joined #nim |
06:02:19 | * | phira quit (Excess Flood) |
06:03:09 | * | phira joined #nim |
06:03:13 | * | phira quit (Excess Flood) |
06:03:42 | * | phira joined #nim |
06:05:38 | * | elbow quit (Ping timeout: 272 seconds) |
06:07:08 | * | huonw joined #nim |
06:10:17 | * | yglukhov joined #nim |
06:15:08 | * | yglukhov quit (Ping timeout: 272 seconds) |
06:16:40 | * | elbow joined #nim |
06:38:22 | * | xificurC joined #nim |
06:42:24 | * | BitPuffin|osx quit (Ping timeout: 264 seconds) |
06:43:30 | * | yglukhov joined #nim |
07:06:13 | reactormonk | Varriount, maybe it crashes? |
07:10:49 | Varriount | reactormonk: Nope. |
07:11:06 | Varriount | reactormonk: https://github.com/nim-lang/nimsuggest/blob/master/nimsuggest.nim#L220 |
07:11:19 | Varriount | Unless close() has some other meaning... :3 |
07:12:24 | * | elbow left #nim ("Leaving") |
07:13:25 | * | kilon joined #nim |
07:13:58 | Varriount | reactormonk: Are you the one working on the emacs plugin? |
07:24:15 | * | yglukhov quit (Remote host closed the connection) |
07:25:27 | * | yglukhov joined #nim |
07:26:19 | * | kilon quit (Remote host closed the connection) |
07:42:08 | * | yglukhov quit (Remote host closed the connection) |
07:57:24 | * | ehaliewi` quit (Ping timeout: 264 seconds) |
08:07:14 | reactormonk | Varriount, with other people, yes |
08:18:02 | Varriount | reactormonk: How do you feel about the current dirty-file mechanism? Isn't it a tad inefficient to save to a file so often (such as on every keypress)? |
08:19:08 | reactormonk | Varriount, it's saved to /tmp, which should be a ramdisk, so performance shouldn't be a problem |
08:21:31 | Varriount | Hm. I don't think that can be done on Windows though. How frustrating. |
08:23:35 | reactormonk | Varriount, no ramdisks? |
08:24:53 | * | unclechu joined #nim |
08:24:57 | * | unclechu quit (Max SendQ exceeded) |
08:25:53 | * | unclechu joined #nim |
08:28:36 | * | X67r joined #nim |
08:34:14 | * | xcombelle joined #nim |
09:15:16 | * | yglukhov joined #nim |
09:19:30 | * | yglukhov quit (Ping timeout: 240 seconds) |
09:19:32 | * | Gonzih joined #nim |
09:21:36 | * | NimBot joined #nim |
09:39:10 | * | strcmp1 quit (Quit: Leaving) |
09:53:40 | * | NimBot joined #nim |
10:16:54 | * | yglukhov joined #nim |
10:21:13 | * | yglukhov quit (Ping timeout: 250 seconds) |
10:22:59 | * | mrx1 joined #nim |
10:43:36 | * | Gonzih quit (Ping timeout: 255 seconds) |
11:06:25 | * | titanomachy quit (Quit: Titano quit.) |
11:08:27 | * | titanomachy joined #nim |
11:12:17 | * | jszymanski quit (Quit: computer sleeps...) |
11:12:58 | * | jszymanski joined #nim |
11:17:47 | * | jszymanski quit (Ping timeout: 260 seconds) |
11:24:20 | * | gokr_ joined #nim |
11:37:00 | * | gokr_ quit (Remote host closed the connection) |
11:48:27 | * | drewsrem joined #nim |
12:38:39 | * | yglukhov joined #nim |
12:49:21 | NimBot | nim-lang/Nim devel 4f8d982 Araq [+1 ±1 -0]: fixes #2670 |
12:49:42 | * | mrx1 left #nim ("Leaving") |
12:58:53 | * | yglukhov quit (Remote host closed the connection) |
12:59:42 | * | UberLambda joined #nim |
13:05:46 | baabelfish | is there a const for name of the current module? |
13:05:58 | baabelfish | something like the __FILE__ macro |
13:13:34 | drewsrem | Seems like a nice thing to have |
13:15:05 | def- | baabelfish: http://nim-lang.org/docs/system.html#instantiationInfo, |
13:23:50 | baabelfish | def-: didn't find at there with two checks :P thanks |
13:23:54 | baabelfish | that* |
13:43:52 | drewsrem | Is there a plan to implement VLAs or is escape-analysis higher-priority? |
13:44:25 | drewsrem | Those would overlap tho? |
13:44:34 | drewsrem | Implementation wise |
13:46:10 | dom96 | VLAs? |
13:47:10 | drewsrem | https://en.wikipedia.org/wiki/Variable-length_array |
13:47:37 | drewsrem | on the stack |
13:47:50 | drewsrem | like GNU C does? |
13:47:55 | dom96 | That already exists |
13:48:00 | dom96 | Can't remember the pragma though |
13:48:01 | drewsrem | It does? |
13:50:49 | drewsrem | UnsafeArray? |
13:50:53 | drewsrem | That's just for the type system no? |
13:51:50 | dom96 | hrm, perhaps I am wrong. |
13:52:42 | dom96 | Isn't a VLA in C just an array with a size of SIZE_MAX? |
13:53:22 | dom96 | This is the pragma I was thinking of: http://nim-lang.org/docs/manual.html#foreign-function-interface-unchecked-pragma |
13:53:54 | drewsrem | there's this: http://forum.nim-lang.org/t/499 |
13:55:08 | drewsrem | Well it's alloced on the stack, which is why you need alloca etc. |
13:55:27 | drewsrem | I think I tried the code on the forum once and got weird errors or something like that |
13:56:05 | drewsrem | I mean seqs are always on the heap right and arrays need to know their size at compile-time so there's no stack-based-variable-sized-containers currently |
13:56:33 | * | BitPuffin|osx joined #nim |
13:57:05 | dom96 | Arrays don't with the {.unchecked.} pragma |
13:57:13 | drewsrem | oh |
13:57:30 | drewsrem | I think I tried these too tho and didn't quite work, but I'll try again |
13:57:47 | drewsrem | I thought you just cast Unchecked array types on bytes you allocated yourself |
13:59:31 | * | yglukhov joined #nim |
13:59:35 | drewsrem | dom96, https://github.com/nim-lang/Nim/blob/devel/lib/pure/collections/rtarrays.nim |
14:00:20 | dom96 | Not sure why that was merged when it's unfinished |
14:00:25 | dom96 | But maybe you could finish it? |
14:01:15 | * | xcombelle quit (Quit: Leaving) |
14:01:38 | drewsrem | dom96, I doubt that, but I'll try to figure out how this is supposed to work |
14:02:07 | drewsrem | I know next to nothing about how the compiler works |
14:02:30 | drewsrem | You think this can be done without magic? |
14:04:14 | * | yglukhov quit (Ping timeout: 260 seconds) |
14:04:53 | * | kilon joined #nim |
14:05:09 | drewsrem | I think this needs changes in the compiler, at least for allowing to pass int-variables to the array-constructor |
14:08:15 | * | NimBot joined #nim |
14:09:20 | * | BitPuffin|osx quit (Ping timeout: 245 seconds) |
14:13:04 | * | thekilon joined #nim |
14:22:25 | dom96 | drewsrem: you might need to come up with a slightly different API |
14:22:38 | dom96 | and then try to make it nicer using macros perhaps |
14:23:51 | * | xificurC quit (Ping timeout: 265 seconds) |
14:28:22 | * | kilon_alios joined #nim |
14:31:05 | * | thekilon quit (Ping timeout: 240 seconds) |
14:34:31 | * | jszymanski joined #nim |
14:36:53 | * | kilon_alios quit (Remote host closed the connection) |
14:38:19 | * | NimBot1_ quit (Read error: Connection reset by peer) |
14:43:09 | * | NimBot1_ quit (Ping timeout: 244 seconds) |
14:47:47 | * | yglukhov joined #nim |
14:54:20 | dom96 | So, I sent the bountysource guys an email to give us an invite to the Salt platform: https://salt.bountysource.com/ |
14:54:28 | dom96 | Hopefully we can get a crowdfund campaign going. |
14:57:55 | dom96 | Also a good time to start posting bounties https://www.bountysource.com/teams/nim/issues |
14:58:05 | * | kilon quit () |
15:17:30 | * | NimBot1_ quit (Read error: Connection reset by peer) |
15:20:44 | * | BitPuffin|osx joined #nim |
15:22:30 | * | NimBot1_ quit (Ping timeout: 246 seconds) |
15:31:52 | drewsrem | Escape analysis for strings ++ |
15:32:45 | * | NimBot1_ quit (Remote host closed the connection) |
15:37:54 | * | NimBot1_ quit (Ping timeout: 255 seconds) |
15:53:27 | * | allan0 quit (Quit: WeeChat 1.2) |
15:54:58 | * | xcombelle joined #nim |
15:55:52 | * | Trustable joined #nim |
16:33:16 | * | jszymanski quit (Ping timeout: 272 seconds) |
16:33:55 | * | UberLambda quit (Ping timeout: 246 seconds) |
16:35:32 | * | jszymanski joined #nim |
17:27:30 | * | Sahnvour joined #nim |
17:39:51 | * | darkf quit (Ping timeout: 244 seconds) |
17:51:09 | * | Arrrr joined #nim |
17:56:13 | * | strcmp1 joined #nim |
17:57:30 | * | unclechu quit (Remote host closed the connection) |
17:59:43 | * | unclechu joined #nim |
18:10:52 | * | Gonzih joined #nim |
18:13:18 | * | brson joined #nim |
18:14:45 | * | brson quit (Client Quit) |
18:22:52 | baabelfish | is it a bug or a feature that algorithm.reverse chrashes with an empty array? |
18:24:26 | baabelfish | it gives a range error |
18:24:31 | Arrrr | does it crash with internal error? |
18:24:44 | baabelfish | exception I mean |
18:24:55 | baabelfish | Error: unhandled exception: value out of range: -1 [RangeError] |
18:26:08 | baabelfish | discard newSeq[string]().reversed() |
18:29:04 | * | zahary joined #nim |
18:30:54 | Arrrr | probably it was an unexpected case |
18:42:11 | dom96 | baabelfish: report it |
18:43:41 | baabelfish | Seems like a nice entrypoint for contributions |
18:44:02 | dom96 | better yet, fix it :) |
18:51:48 | * | Arrrr quit (Quit: WeeChat 1.2) |
19:15:50 | * | Gonzih quit (Ping timeout: 250 seconds) |
19:22:23 | * | xificurC joined #nim |
19:24:38 | Sahnvour | why isn't unittest module listed on the doc ? it seems to have documentation in the source though |
19:28:42 | * | yglukhov quit (Remote host closed the connection) |
19:29:50 | dom96 | Sahnvour: because the docs were only introduced recently |
19:41:01 | Sahnvour | dom96: could you elaborate ? the docs are generated automatically right ? |
19:41:29 | dom96 | Sahnvour: Programmers need to document what each procedure does. |
19:41:36 | dom96 | in the source code |
19:42:05 | Sahnvour | you mean they were introduced recently in unittest ? |
19:42:53 | dom96 | yes |
19:43:28 | Sahnvour | ok i get it |
19:54:15 | * | yglukhov joined #nim |
19:56:21 | NimBot | nim-lang/Nim devel f09916d coffeepots [+0 ±1 -0]: Procs to decode Time to TimeInfo & TimeInterval... 2 more lines |
19:56:21 | NimBot | nim-lang/Nim devel a2f0fe0 coffeepots [+0 ±1 -0]: Fixed dayOfWeekJulian, exported SecondScale |
19:56:21 | NimBot | nim-lang/Nim devel 5e0b8d5 coffeepots [+0 ±1 -0]: Implemented changes suggested by dom96... 5 more lines |
19:56:21 | NimBot | nim-lang/Nim devel f9d909b coffeepots [+0 ±1 -0]: Removed unused leapYearsSinceEpoch |
19:56:21 | NimBot | 1 more commits. |
20:03:03 | * | Pisuke joined #nim |
20:04:06 | baabelfish | dom96: indeed |
20:04:31 | * | MyMind quit (Ping timeout: 244 seconds) |
20:18:21 | * | Gonzih joined #nim |
20:30:03 | Sahnvour | I am comparing the output of my program (written to a stringStream instead of stdout) against an in-file raw string of the expected result, and the test fails despite visually identical results. Any idea why ? Something about newlines maybe ? |
20:37:41 | * | yglukhov quit (Remote host closed the connection) |
20:39:10 | * | Gonzih quit (Ping timeout: 240 seconds) |
20:46:04 | * | xcombelle quit (Remote host closed the connection) |
21:03:01 | * | NimBot joined #nim |
21:03:24 | * | xificurC quit (Ping timeout: 246 seconds) |
21:17:04 | * | jszymanski quit (Quit: computer sleeps...) |
21:38:14 | * | yglukhov joined #nim |
21:41:41 | Sahnvour | nobody ? |
21:42:39 | * | yglukhov quit (Ping timeout: 256 seconds) |
21:42:41 | * | Gonzih joined #nim |
21:47:57 | * | Moix joined #nim |
22:10:37 | dom96 | Sahnvour: Try using repr() on the two string |
22:10:39 | dom96 | *strings |
22:10:50 | dom96 | should show you difference |
22:15:24 | Sahnvour | indeed |
22:16:41 | Sahnvour | could figure out my newline issue. thanks dom |
22:24:27 | dom96 | np |
22:28:47 | dom96 | $50 Bounty on RFC: Variadic Generics |
22:28:48 | dom96 | https://www.bountysource.com/issues/1446763-rfc-variadic-generics?utm_campaign=alerts&utm_content=tracker%2F178097&utm_medium=email&utm_source=bounty |
22:28:53 | dom96 | Thanks Henry! |
22:42:54 | * | pregressive joined #nim |
22:43:57 | * | Gonzih quit (Ping timeout: 250 seconds) |
22:46:37 | * | Gonzih joined #nim |
22:55:46 | * | Trustable quit (Remote host closed the connection) |
22:56:06 | * | NimBot joined #nim |
22:58:52 | * | unclechu quit (Quit: Leaving.) |
23:00:04 | * | Gonzih quit (Ping timeout: 246 seconds) |
23:11:41 | * | drewsrem quit (Quit: Leaving) |
23:14:33 | * | FedeOmoto joined #nim |
23:27:01 | * | yglukhov joined #nim |
23:31:22 | * | yglukhov quit (Ping timeout: 260 seconds) |
23:37:43 | zahary | cool, I might write my name in history by claiming the first bounty for nim :) |
23:46:37 | Araq | well your name is on Nim's manual already ... |
23:50:44 | dom96 | hrm, I need to get my name in there somehow :P |