<< 14-05-2016 >>

00:13:25*arnetheduck joined #nim
00:19:28*Matthias247 quit (Read error: Connection reset by peer)
00:20:09*lubos_cz quit (Ping timeout: 276 seconds)
00:29:54*brson quit (Ping timeout: 276 seconds)
00:30:12*yglukhov joined #nim
00:34:33*yglukhov quit (Ping timeout: 240 seconds)
00:43:24cheatfatedom96, i have made small reproducable source of `deep recursion` bug. https://github.com/nim-lang/Nim/issues/4160
00:43:59dom96cheatfate: thank you!
00:54:33*yglukhov joined #nim
00:59:02*yglukhov quit (Ping timeout: 250 seconds)
01:03:37*sorakun joined #nim
01:07:17*nsf quit (Quit: WeeChat 1.4)
01:18:49*yglukhov joined #nim
01:22:27*sorakun quit (Ping timeout: 260 seconds)
01:22:44*sora joined #nim
01:23:16*yglukhov quit (Ping timeout: 252 seconds)
01:29:16*GangstaCat quit (Quit: Leaving)
01:37:10tautologicodom96: thanks, but now I can't login because I never received the confirmation email
01:38:30*GangstaCat joined #nim
01:54:11*sora quit (Quit: No Ping reply in 180 seconds.)
01:55:14*yglukhov joined #nim
01:55:24*sora joined #nim
01:59:20*yglukhov quit (Ping timeout: 244 seconds)
02:03:10*lcm337 quit (Quit: Page closed)
02:31:21*yglukhov joined #nim
02:35:57*yglukhov quit (Ping timeout: 260 seconds)
02:55:48*yglukhov joined #nim
03:00:06*yglukhov quit (Ping timeout: 246 seconds)
03:11:22*sora quit (Quit: No Ping reply in 180 seconds.)
03:12:37*sorakun joined #nim
03:19:43*yglukhov joined #nim
03:24:04*yglukhov quit (Ping timeout: 244 seconds)
03:47:33*sorakun quit (Ping timeout: 240 seconds)
03:55:58*yglukhov joined #nim
04:00:32*yglukhov quit (Ping timeout: 260 seconds)
04:32:37*yglukhov joined #nim
04:36:42*yglukhov quit (Ping timeout: 246 seconds)
04:56:31*yglukhov joined #nim
05:00:41*yglukhov quit (Ping timeout: 244 seconds)
05:20:51*yglukhov joined #nim
05:24:58*yglukhov quit (Ping timeout: 244 seconds)
05:56:54*yglukhov joined #nim
06:01:08*yglukhov quit (Ping timeout: 244 seconds)
06:07:53*rok joined #nim
06:16:51*nsf joined #nim
06:21:16*arnetheduck quit (Remote host closed the connection)
06:21:29*yglukhov joined #nim
06:24:37*arnetheduck joined #nim
06:26:06*yglukhov quit (Ping timeout: 276 seconds)
06:57:41*yglukhov joined #nim
07:01:57*yglukhov quit (Ping timeout: 246 seconds)
07:11:16*wuehlmaus joined #nim
07:16:08*yglukhov joined #nim
07:19:33yglukhovcheatfate: so your fix doesnt fix your new bug?
07:36:34*kulelu88 joined #nim
07:52:52*MyMind quit (Quit: WeeChat 1.5-dev)
08:11:41*rok quit (Read error: Connection reset by peer)
08:11:54*rok joined #nim
08:29:47*gokr joined #nim
08:30:55*Matthias247 joined #nim
08:32:28*yglukhov quit (Read error: Connection reset by peer)
08:32:54*yglukhov joined #nim
08:34:27*yglukhov quit (Read error: Connection reset by peer)
08:37:30*silven quit (Ping timeout: 246 seconds)
08:38:00*yglukhov joined #nim
08:38:22*silven joined #nim
08:40:14*rok quit (Quit: rok)
08:42:58*yglukhov quit (Read error: Connection reset by peer)
08:43:56*Sembei joined #nim
08:48:17*yglukhov joined #nim
08:53:42*yglukhov quit (Ping timeout: 244 seconds)
08:57:39*Salewski joined #nim
08:58:21*yglukhov joined #nim
08:59:39cheatfateyglukhov: bugs are equal
08:59:54cheatfateyglukhov, and my way to fix this bug is no longer working
09:00:23cheatfateyglukhov, i found such usage in test cases... this is usage without poll() so there no place to dequeue callbacks...
09:04:27SalewskiDominik explained parseUntil() in his book, that proc uses "token = substr(s, start, i-1)". I wonder how substr() really works, can find only this in Nim sources:
09:04:33Salewskiproc substr*(s: string, first, last: int): string {.magic: "CopyStrLast", importc: "copyStrLast", noSideEffect.}
09:05:31SalewskiIs substr written in C, what is this magic pragma, where can I find the source?
09:19:18*elrood joined #nim
09:25:48*gokr quit (Ping timeout: 246 seconds)
09:26:21SalewskiStill wondering. Dom told us that parseUntil is most efficient because it has not to allocate new string (and later GC). But how can "token = substr(s, start, i-1)" work without allocating token?
09:30:06*Demon_Fox quit (Quit: Leaving)
09:31:35*nsf quit (Quit: WeeChat 1.4)
09:32:27*Arrrr joined #nim
09:32:27*Arrrr quit (Changing host)
09:32:27*Arrrr joined #nim
09:34:11*Ven joined #nim
09:35:11*Ven quit (Client Quit)
09:37:06*Ven joined #nim
09:47:18*Kerp_ joined #nim
09:48:07Kerp_HELLO
09:48:11Kerp_sorry caps
09:49:23*Kerp_ quit (Client Quit)
09:53:07*kulelu88 quit (Ping timeout: 244 seconds)
09:55:34Arrrrlol
10:01:30*gokr joined #nim
10:04:19*yglukhov quit (Read error: Connection reset by peer)
10:04:37*yglukhov joined #nim
10:11:47*autumnl joined #nim
10:11:54*gokr quit (Read error: Connection reset by peer)
10:12:45*Arrrr quit (Ping timeout: 244 seconds)
10:16:05*kulelu88 joined #nim
10:19:10*der-landgraf quit (Quit: WeeChat 1.5)
10:19:41*der-landgraf joined #nim
10:35:06*yglukhov quit (Read error: Connection reset by peer)
10:35:30*yglukhov joined #nim
10:38:28*yglukhov quit (Read error: Connection reset by peer)
10:40:38*yglukhov joined #nim
10:42:42*yglukhov quit (Read error: Connection reset by peer)
10:47:25*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
10:49:30*Salewski quit ()
10:50:57*yglukhov joined #nim
11:04:22*Ven joined #nim
11:17:07IcyFoxyIs size_t culong?
11:17:30IcyFoxySpecifically for FFI
11:21:48dom96IcyFoxy: http://nim-lang.org/docs/system.html#csize
11:25:43*Salewski joined #nim
11:25:48*nsf joined #nim
11:26:00IcyFoxydom96: I had just found that. Thanks :)
11:27:13SalewskiHello Dominik, I have explained my problems with your explanations in the Forum, I am still a bit confused, sorry.
11:30:24SalewskiHave to leave now, will see if someone can comment on that later. Bye.
11:30:28*Salewski quit (Client Quit)
11:30:40dom96hrm, I guess in that case the optimisation doesn't do much.
11:30:40*kulelu88 left #nim ("Leaving")
11:30:49dom96I just noticed that parseToken is deprecated
11:30:52dom96something I will need to fix
11:46:16cheatfatedom96, do you have any ideas about how to resolve deep recursion?
11:50:23federico3dom96: I ran into https://github.com/nim-lang/nimble/issues/203 as well. Wouldn't it be better for Nimble to ship with all the source code files it needs? It would also solve the issue of compiling it without checking out the Nim repo
11:51:29dom96federico3: the problem of installing the latest version would still remain
11:51:35dom96cheatfate: haven't thought about it yet
11:51:39dom96so no
11:55:33federico3dom96: uh?
11:58:02*sorakun joined #nim
12:17:14*silven quit (Remote host closed the connection)
12:17:44*fastrom joined #nim
12:19:21*Trustable joined #nim
12:26:30*silven joined #nim
12:28:15*silven quit (Remote host closed the connection)
12:30:05tautologicowhat are good testing libraries for nim?
12:30:57federico3tautologico: unittest in the standard library, and coverage (see nimble)
12:34:03tautologicofederico3: thanks
12:34:28tautologicois there a quickcheck-style property-based testing lib?
12:35:02*BlaXpirit quit (Quit: Bye)
12:35:25*BlaXpirit joined #nim
12:36:18federico3tautologico: property-based?
13:00:14*fastrom quit (Quit: Leaving.)
13:02:37*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
13:05:55*yglukhov quit (Read error: Connection reset by peer)
13:06:12*yglukhov joined #nim
13:17:34*gokr joined #nim
13:18:31dom96tautologico: sorry, I activated your account manually.
13:25:36*ratiotile joined #nim
13:43:36IcyFoxyHow should one import a constant from a header?
13:44:29IcyFoxyOr better for this case... Set a constant to the value of a const function that returns a macro
13:46:13IcyFoxy(type is csize)
13:49:23*rok joined #nim
13:51:54*elrood quit (Quit: Leaving)
13:57:19*zahary quit (Quit: Leaving.)
14:02:48*Ven joined #nim
14:19:06tautologicofederico3: http://fsharpforfunandprofit.com/posts/property-based-testing/
14:19:16tautologicodom96: thanks
14:24:09*CARAM__ quit (Read error: Connection reset by peer)
14:25:54*CARAM__ joined #nim
14:32:15*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
14:34:41*Ven joined #nim
14:37:14*Matthias247 quit (Read error: Connection reset by peer)
14:37:30*Ven quit (Client Quit)
14:44:15*GangstaCat quit (Quit: Leaving)
14:45:15*GangstaCat joined #nim
14:49:50*elrood joined #nim
14:57:09*rok quit (Quit: rok)
15:00:53*libman joined #nim
15:01:40*yglukhov quit (Read error: Connection reset by peer)
15:02:05*yglukhov joined #nim
15:04:09*yglukhov quit (Read error: Connection reset by peer)
15:07:20*yglukhov joined #nim
15:08:58*yglukhov quit (Read error: Connection reset by peer)
15:09:59*arnetheduck quit (Ping timeout: 260 seconds)
15:13:01*fastrom joined #nim
15:13:44*Arrrr joined #nim
15:13:44*Arrrr quit (Changing host)
15:13:44*Arrrr joined #nim
15:17:35*yglukhov joined #nim
15:19:23*yglukhov quit (Remote host closed the connection)
15:31:03*fastrom quit (Quit: Leaving.)
15:31:12*yglukhov joined #nim
15:36:00*yglukhov quit (Ping timeout: 276 seconds)
15:39:44*GangstaCat quit (Ping timeout: 260 seconds)
15:41:20*GangstaCat joined #nim
15:53:34*fastrom joined #nim
15:55:48*yglukhov joined #nim
15:59:57*yglukhov quit (Ping timeout: 244 seconds)
16:02:52tautologicocan I pass an object by reference without creating a reference type? (like &T in C++) / related: if I have XObj and XRef, how can I convert an instance of XObj to XRef?
16:03:43Arrrrhttp://nim-lang.org/docs/manual.html#types-reference-and-pointer-types
16:04:05ArrrrAnd for your second question, just use ref[XObj]
16:05:16tautologicoArrrr: I was just reading this section on the manual
16:06:12tautologicolet me rephrase, can I declare a reference type on the fly? like proc xf(xref: ref XObj) ? or do I need to create a XRef type?
16:06:46ArrrrYes, you can proc myProc(i: ref int)
16:07:14tautologicoArrrr: cool, thanks
16:10:04*boop quit (Ping timeout: 260 seconds)
16:14:47tautologico"Documentation comments are comments that start with two ##. Documentation comments are tokens; they are only allowed at certain places in the input file as they belong to the syntax tree!"
16:14:52*boop joined #nim
16:15:48tautologicothis is from the manual. considering it's the ultimate reference for the language, it probably should say where doc comments are allowed, or link to somewhere where this is specified
16:24:40*fastrom1 joined #nim
16:24:40*fastrom quit (Read error: Connection reset by peer)
16:31:57*yglukhov joined #nim
16:34:51ArrrrIf you can, fill an issue on the subject https://github.com/nim-lang/Nim/issues
16:37:05*elrood wonders how many issue reports would exist if one didn't have to log into github to file them
16:37:06*yglukhov quit (Ping timeout: 276 seconds)
16:38:02ArrrrFrom my part, a bunch
16:39:15elroodby the way, do we have any estimates on how many active users nim has? git pulls, downloads, nimble accesses, anything of the sort?
16:49:29*PMunch joined #nim
16:51:04dom96elrood: The github repo gets around ~40 clones per day.
16:51:18dom96500 page views
16:56:29*yglukhov joined #nim
16:58:55elrooddom96, not too shabby, thanks for the info. is that literally git clones, or pulls?
17:00:08dom96literally git clone :)
17:00:20dom96basically what Github shows in the "Traffic" tab
17:00:28tautologicoArrrr: will do, what is the label for manual/documentation issues?
17:00:42dom96elrood: the main site gets about ~1200 page views per day
17:00:43tautologicooh, "Documentation", duh
17:00:55*yglukhov quit (Ping timeout: 244 seconds)
17:01:02tautologicothe site could seriously use a redesign
17:01:41dom96tautologico: are you any good at designing websites? :)
17:02:01tautologicoI'm a terrible designer, sorry :)
17:02:45tautologicoI happily use predefined templates for my sites/blogs/whatever
17:03:40*lubos_cz joined #nim
17:04:02dom96same :P
17:07:07*BitPuffin|osx joined #nim
17:07:13dom96if somebody creates a redesign for nim-lang.org and the forum then we will happily accept it
17:08:53tautologicowe need more frontend devs using nim
17:08:57tautologico:)
17:09:35federico3Adding a "##" comments outside from procs leads to the text being joined together in one big chunk at the beginning of the generated html file
17:11:14tautologicoissue filed
17:19:32*PMunch quit (Ping timeout: 276 seconds)
17:27:52*sorakun quit (Ping timeout: 260 seconds)
17:28:13*sorakun joined #nim
17:32:29*yglukhov joined #nim
17:36:51*yglukhov quit (Ping timeout: 246 seconds)
17:57:02*yglukhov joined #nim
17:59:22*sora_kun joined #nim
17:59:39*sorakun quit (Ping timeout: 276 seconds)
18:01:22*yglukhov quit (Ping timeout: 244 seconds)
18:21:15*yglukhov joined #nim
18:26:18*yglukhov quit (Ping timeout: 276 seconds)
18:27:22*BitPuffin|osx quit (Ping timeout: 260 seconds)
18:45:07*yglukhov joined #nim
18:46:41*brson joined #nim
18:49:25*yglukhov quit (Ping timeout: 244 seconds)
18:58:42*Jesin quit (Quit: Leaving)
19:01:30*lubos_cz quit (Ping timeout: 250 seconds)
19:02:02*Jesin joined #nim
19:05:19*gokr quit (Ping timeout: 252 seconds)
19:09:30*yglukhov joined #nim
19:11:46*Matthias247 joined #nim
19:11:58*lubos_cz joined #nim
19:12:53*boop quit (Quit: WeeChat 1.4)
19:13:48*yglukhov quit (Ping timeout: 246 seconds)
19:14:00*Ven joined #nim
19:20:35*Arrrr quit (Quit: WeeChat 1.4)
19:29:13*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
19:35:19*irrequietus joined #nim
19:40:20*boop joined #nim
19:42:30*boop quit (Read error: Connection reset by peer)
19:45:34*yglukhov joined #nim
19:46:58*yglukhov quit (Remote host closed the connection)
19:47:11*boop joined #nim
19:47:21*irrequietus quit ()
19:48:05*boop quit (Client Quit)
19:50:33*yglukhov joined #nim
19:51:50*irrequietus joined #nim
19:55:46*boop joined #nim
19:55:56*boop quit (Client Quit)
19:58:35*boop joined #nim
20:01:03*yglukhov quit (Read error: Connection reset by peer)
20:01:29*yglukhov joined #nim
20:01:43*Jesin quit (Quit: Leaving)
20:03:16*yglukhov quit (Read error: Connection reset by peer)
20:06:27*Jesin joined #nim
20:09:47*yglukhov joined #nim
20:11:51*yglukhov quit (Read error: Connection reset by peer)
20:15:03*yglukhov joined #nim
20:17:07*yglukhov quit (Read error: Connection reset by peer)
20:25:16*yglukhov joined #nim
20:53:48*ephja joined #nim
20:56:11*Gary joined #nim
20:56:25*libman quit (Remote host closed the connection)
20:56:34*Gary is now known as Guest83043
20:57:18*Guest83043 quit (Client Quit)
21:01:43*yglukhov quit (Read error: Connection reset by peer)
21:02:03*yglukhov joined #nim
21:04:05*yglukhov quit (Read error: Connection reset by peer)
21:07:16*yglukhov joined #nim
21:24:51*Mat4 joined #nim
21:24:58Mat4hello
21:27:45*elrood quit (Quit: Leaving)
21:31:33Araq_hi Mat4
21:31:59Mat4hi Araq
21:33:38*irrequietus quit (Read error: Connection reset by peer)
21:35:54*ratiotile quit (Quit: Leaving)
21:43:24Mat4does there exist a plan for writing a new compiler ?
21:44:08ephja:-)
21:48:07*irrequietus joined #nim
21:49:18Araq_Mat4: why?
21:59:45Mat4for something like a Nim subset
22:01:47*yglukhov quit (Read error: Connection reset by peer)
22:04:44Mat4a reduced Nim varient for restricted platforms (like the PIC16)
22:04:52Mat4^variant
22:05:28*yglukhov joined #nim
22:20:11Araq_Mat4: restricted Nim? So don't use what you cannot use :P
22:25:02Mat4some time, there may be no choice (other than the programming language to use)
22:43:21*Ven joined #nim
22:56:55Mat4ciao
22:57:09*Mat4 left #nim (#nim)
23:00:59*yglukhov quit (Read error: Connection reset by peer)
23:01:27*yglukhov joined #nim
23:01:45*Motan joined #nim
23:03:16*yglukhov quit (Read error: Connection reset by peer)
23:03:28*sarlalian_ quit (Ping timeout: 252 seconds)
23:05:11*sarlalian joined #nim
23:16:27*yglukhov joined #nim
23:20:40*yglukhov quit (Ping timeout: 244 seconds)
23:21:33*Demon_Fox joined #nim
23:27:35*Trustable quit (Remote host closed the connection)
23:27:43*irrequietus quit ()
23:31:47*sora_kun quit (Remote host closed the connection)
23:34:33*sarlalian quit (Ping timeout: 240 seconds)
23:39:50*sarlalian joined #nim
23:40:55Motananyone seen nim bindings for tensorflow?
23:43:26Araq_Hi Motan. c2nim it. :-)
23:43:38Araq_c2nim supports C++.
23:43:57Motani'm trying to figure out bazel, python coding for the last decade has made me dumb
23:44:21Motanit looks like there is a c api to tensorflow too...
23:48:53*zaquest quit (Read error: Connection reset by peer)
23:52:13*yglukhov joined #nim
23:56:58*Matthias247 quit (Read error: Connection reset by peer)
23:57:09*yglukhov quit (Ping timeout: 276 seconds)