<< 08-08-2015 >>

00:11:00Araqn
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:35Varriount_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:24VarriountAraq: 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:13reactormonkVarriount, maybe it crashes?
07:10:49Varriountreactormonk: Nope.
07:11:06Varriountreactormonk: https://github.com/nim-lang/nimsuggest/blob/master/nimsuggest.nim#L220
07:11:19VarriountUnless close() has some other meaning... :3
07:12:24*elbow left #nim ("Leaving")
07:13:25*kilon joined #nim
07:13:58Varriountreactormonk: 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:14reactormonkVarriount, with other people, yes
08:18:02Varriountreactormonk: 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:08reactormonkVarriount, it's saved to /tmp, which should be a ramdisk, so performance shouldn't be a problem
08:21:31VarriountHm. I don't think that can be done on Windows though. How frustrating.
08:23:35reactormonkVarriount, 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:21NimBotnim-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:46baabelfishis there a const for name of the current module?
13:05:58baabelfishsomething like the __FILE__ macro
13:13:34drewsremSeems like a nice thing to have
13:15:05def-baabelfish: http://nim-lang.org/docs/system.html#instantiationInfo,
13:23:50baabelfishdef-: didn't find at there with two checks :P thanks
13:23:54baabelfishthat*
13:43:52drewsremIs there a plan to implement VLAs or is escape-analysis higher-priority?
13:44:25drewsremThose would overlap tho?
13:44:34drewsremImplementation wise
13:46:10dom96VLAs?
13:47:10drewsremhttps://en.wikipedia.org/wiki/Variable-length_array
13:47:37drewsremon the stack
13:47:50drewsremlike GNU C does?
13:47:55dom96That already exists
13:48:00dom96Can't remember the pragma though
13:48:01drewsremIt does?
13:50:49drewsremUnsafeArray?
13:50:53drewsremThat's just for the type system no?
13:51:50dom96hrm, perhaps I am wrong.
13:52:42dom96Isn't a VLA in C just an array with a size of SIZE_MAX?
13:53:22dom96This is the pragma I was thinking of: http://nim-lang.org/docs/manual.html#foreign-function-interface-unchecked-pragma
13:53:54drewsremthere's this: http://forum.nim-lang.org/t/499
13:55:08drewsremWell it's alloced on the stack, which is why you need alloca etc.
13:55:27drewsremI think I tried the code on the forum once and got weird errors or something like that
13:56:05drewsremI 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:05dom96Arrays don't with the {.unchecked.} pragma
13:57:13drewsremoh
13:57:30drewsremI think I tried these too tho and didn't quite work, but I'll try again
13:57:47drewsremI thought you just cast Unchecked array types on bytes you allocated yourself
13:59:31*yglukhov joined #nim
13:59:35drewsremdom96, https://github.com/nim-lang/Nim/blob/devel/lib/pure/collections/rtarrays.nim
14:00:20dom96Not sure why that was merged when it's unfinished
14:00:25dom96But maybe you could finish it?
14:01:15*xcombelle quit (Quit: Leaving)
14:01:38drewsremdom96, I doubt that, but I'll try to figure out how this is supposed to work
14:02:07drewsremI know next to nothing about how the compiler works
14:02:30drewsremYou think this can be done without magic?
14:04:14*yglukhov quit (Ping timeout: 260 seconds)
14:04:53*kilon joined #nim
14:05:09drewsremI 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:25dom96drewsrem: you might need to come up with a slightly different API
14:22:38dom96and 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:20dom96So, I sent the bountysource guys an email to give us an invite to the Salt platform: https://salt.bountysource.com/
14:54:28dom96Hopefully we can get a crowdfund campaign going.
14:57:55dom96Also 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:52drewsremEscape 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:52baabelfishis it a bug or a feature that algorithm.reverse chrashes with an empty array?
18:24:26baabelfishit gives a range error
18:24:31Arrrrdoes it crash with internal error?
18:24:44baabelfishexception I mean
18:24:55baabelfishError: unhandled exception: value out of range: -1 [RangeError]
18:26:08baabelfishdiscard newSeq[string]().reversed()
18:29:04*zahary joined #nim
18:30:54Arrrrprobably it was an unexpected case
18:42:11dom96baabelfish: report it
18:43:41baabelfishSeems like a nice entrypoint for contributions
18:44:02dom96better 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:38Sahnvourwhy 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:50dom96Sahnvour: because the docs were only introduced recently
19:41:01Sahnvourdom96: could you elaborate ? the docs are generated automatically right ?
19:41:29dom96Sahnvour: Programmers need to document what each procedure does.
19:41:36dom96in the source code
19:42:05Sahnvouryou mean they were introduced recently in unittest ?
19:42:53dom96yes
19:43:28Sahnvourok i get it
19:54:15*yglukhov joined #nim
19:56:21NimBotnim-lang/Nim devel f09916d coffeepots [+0 ±1 -0]: Procs to decode Time to TimeInfo & TimeInterval... 2 more lines
19:56:21NimBotnim-lang/Nim devel a2f0fe0 coffeepots [+0 ±1 -0]: Fixed dayOfWeekJulian, exported SecondScale
19:56:21NimBotnim-lang/Nim devel 5e0b8d5 coffeepots [+0 ±1 -0]: Implemented changes suggested by dom96... 5 more lines
19:56:21NimBotnim-lang/Nim devel f9d909b coffeepots [+0 ±1 -0]: Removed unused leapYearsSinceEpoch
19:56:21NimBot1 more commits.
20:03:03*Pisuke joined #nim
20:04:06baabelfishdom96: indeed
20:04:31*MyMind quit (Ping timeout: 244 seconds)
20:18:21*Gonzih joined #nim
20:30:03SahnvourI 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:41Sahnvournobody ?
21:42:39*yglukhov quit (Ping timeout: 256 seconds)
21:42:41*Gonzih joined #nim
21:47:57*Moix joined #nim
22:10:37dom96Sahnvour: Try using repr() on the two string
22:10:39dom96*strings
22:10:50dom96should show you difference
22:15:24Sahnvourindeed
22:16:41Sahnvourcould figure out my newline issue. thanks dom
22:24:27dom96np
22:28:47dom96$50 Bounty on RFC: Variadic Generics
22:28:48dom96https://www.bountysource.com/issues/1446763-rfc-variadic-generics?utm_campaign=alerts&utm_content=tracker%2F178097&utm_medium=email&utm_source=bounty
22:28:53dom96Thanks 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:43zaharycool, I might write my name in history by claiming the first bounty for nim :)
23:46:37Araqwell your name is on Nim's manual already ...
23:50:44dom96hrm, I need to get my name in there somehow :P