<< 04-07-2015 >>

00:14:02*FedeOmoto quit (Ping timeout: 252 seconds)
00:24:13*johnsoft joined #nim
00:32:47*Learath2 quit (Ping timeout: 248 seconds)
00:33:58*Varriount|Mobile joined #nim
00:35:03*Learath2 joined #nim
00:38:01Varriount|MobileHello Learath2
00:42:13*Varriount|Mobile quit (Ping timeout: 246 seconds)
00:49:41*gokr quit (Quit: Leaving.)
01:07:56*Kingsquee quit (Ping timeout: 252 seconds)
01:12:56*EXetoC quit (Ping timeout: 264 seconds)
01:13:16*Kingsquee joined #nim
01:21:20*jaco60 quit (Ping timeout: 256 seconds)
01:37:08*yglukhov_ joined #nim
01:41:44*yglukhov_ quit (Ping timeout: 256 seconds)
02:02:52*thaless quit (Quit: Leaving)
02:09:35*pleiosaur quit (Ping timeout: 250 seconds)
02:12:56*federico3 quit (Ping timeout: 264 seconds)
02:17:34*pleiosaur joined #nim
02:28:16*vasher_ joined #nim
02:39:48*federico3 joined #nim
02:49:44*darkf joined #nim
02:51:16*pregressive joined #nim
02:54:37*Demon_Fox quit (Quit: Leaving)
02:58:23*BitPuffin|osx quit (Ping timeout: 256 seconds)
03:26:34*pregressive quit (Ping timeout: 256 seconds)
03:33:34*pregressive joined #nim
03:35:08*FedeOmoto joined #nim
03:46:58*pregressive quit (Remote host closed the connection)
04:13:41*dalarmmst joined #nim
04:19:12*pregressive joined #nim
04:58:49*vasher_ quit (Quit: Connection closed for inactivity)
05:01:14*pregressive quit (Remote host closed the connection)
05:12:47*vendethiel quit (Ping timeout: 248 seconds)
05:25:54*vendethiel joined #nim
05:43:37*saml_ quit (Ping timeout: 264 seconds)
05:46:33*vendethiel quit (Ping timeout: 244 seconds)
06:15:24*yglukhov_ joined #nim
06:46:46*vendethiel joined #nim
07:13:55*elbow quit (Ping timeout: 255 seconds)
07:21:57*FedeOmoto quit (Quit: Leaving)
07:25:48*jaco60 joined #nim
07:27:33*vendethiel quit (Ping timeout: 256 seconds)
07:28:55*Matthias247 joined #nim
07:29:06*vendethiel joined #nim
07:39:09*bcinman quit (Quit: My Mac has gone to sleep. ZZZzzz…)
07:44:33*johnsoft quit (Ping timeout: 256 seconds)
07:47:16*johnsoft joined #nim
07:51:16*vendethiel quit (Ping timeout: 252 seconds)
08:02:35*jszymanski joined #nim
08:09:28*vendethiel joined #nim
08:24:05*Matthias247 quit (Read error: Connection reset by peer)
08:32:00*vendethiel quit (Ping timeout: 256 seconds)
08:40:21*gokr joined #nim
08:43:17*vendethiel joined #nim
08:49:20*rainbowism quit ()
08:49:24*xcombelle joined #nim
08:55:01*wan quit (Ping timeout: 276 seconds)
08:56:56*jszymanski quit (Quit: computer sleeps...)
09:07:11*wan joined #nim
09:30:31*dom96_ joined #nim
09:31:15*Araq0 joined #nim
09:36:23*NimBot joined #nim
09:38:11r-kuany way i could write this in nim? char n[-((char*)tos - (char*)&sp)]; tos and sp are ByteAddress in nim
09:39:17*Araq joined #nim
09:39:40*dom96 joined #nim
09:44:28*Araq0 quit (Quit: Page closed)
09:44:59*dom96 quit (Changing host)
09:44:59*dom96 joined #nim
09:53:45*dom96_ quit (Quit: Page closed)
09:55:00*ozra joined #nim
10:03:49*vasher_ joined #nim
10:05:21fowlr-ku, cast them to int
10:05:32fowlunless byteaddress is an int, im not sure
10:07:53fowlthats pointer arithmetic right
10:10:19r-kuright fowl
10:10:32r-kucant find a way to make compiler happy doing these things
10:11:18fowloh thats a declaration?
10:11:32r-kuyes, evil trickery to shift stack
10:12:16fowlit creates a variable length array to shift the stack?
10:12:30r-kuyes
10:13:02fowluse {.emit.} its your only hope
10:14:16fowlr-ku, if alloca() would help you can import it
10:14:48r-kuyeah i was thinking of that just now, still better than emit i guess
10:16:58*yglukhov_ quit (Quit: Be back later ...)
10:17:38*yglukhov_ joined #nim
10:22:50*boopsiesisaway is now known as boopsies
10:58:29*EXetoC joined #nim
11:00:16*yglukhov_ quit (Quit: Be back later ...)
11:42:22*milosn quit (Read error: Connection reset by peer)
11:46:57*milosn joined #nim
11:53:22*vendethiel quit (Ping timeout: 244 seconds)
12:00:07*vendethiel joined #nim
12:18:48*vasher_ quit (Quit: Connection closed for inactivity)
12:20:45*vendethiel quit (Ping timeout: 244 seconds)
12:22:25*vendethiel joined #nim
12:38:53*Kingsquee quit (Quit: Konversation terminated!)
12:50:53*devzerp quit (Remote host closed the connection)
12:50:53*no_name quit (Remote host closed the connection)
12:52:09*no_name joined #nim
12:52:11*devzerp joined #nim
12:55:57*jszymanski joined #nim
13:06:15*xcombelle quit (Ping timeout: 255 seconds)
13:52:37*jszymanski quit (Ping timeout: 246 seconds)
13:55:07*jszymanski joined #nim
14:23:37*ekarlso slaps @here https://glot.io/new < has nim support now :P
14:30:22r-kuthanks ekarlso, this will be really useful
14:30:55pigmejekarlso: cool
14:31:14ekarlsoa guy a know of that runs it added it on request ;p
14:37:34*perturbation joined #nim
14:40:45*MyMind joined #nim
14:41:17*Sembei quit (Ping timeout: 244 seconds)
14:58:59*aziz joined #nim
15:00:54r-kuAraq: should isOnStack*(p: pointer) check if p is on current stack or should it check if p is on any stack?
15:01:38*yglukhov_ joined #nim
15:06:20*yglukhov_ quit (Ping timeout: 264 seconds)
15:22:40*Pisuke joined #nim
15:25:39*MyMind quit (Ping timeout: 276 seconds)
15:27:01*vendethiel quit (Ping timeout: 252 seconds)
15:30:57*aziz quit (Remote host closed the connection)
15:31:24*vendethiel joined #nim
15:34:47*darkf quit (Quit: Leaving)
15:36:44*FedeOmoto joined #nim
15:46:37*milosn quit (Read error: Connection reset by peer)
15:47:23*Matthias247 joined #nim
15:51:44*bcinman joined #nim
15:52:26*milosn joined #nim
15:54:06*vendethiel quit (Ping timeout: 255 seconds)
16:04:04*vendethiel joined #nim
16:04:39*xcombelle joined #nim
16:13:06*Arrrr joined #nim
16:16:52*johnsoft quit (Ping timeout: 244 seconds)
16:17:30*johnsoft joined #nim
16:18:16Araqr-ku: isOnStack is not used anyway in the M&S GC, just remove it
16:19:10AraqOnO: you broke bootstrapping
16:24:07Araqalso since you're working on the error messages:
16:24:19Araqhttp://forum.nim-lang.org/t/1404
16:33:06*xet7 quit (Quit: Leaving)
16:40:38*xet7 joined #nim
16:48:22*vendethiel quit (Ping timeout: 250 seconds)
16:51:23*perturbation quit (Remote host closed the connection)
16:55:50reactormonkAraq, could you look at https://github.com/nim-lang/Nim/pull/3061 ?
16:57:40*vendethiel joined #nim
17:08:52*rkj-b joined #nim
17:13:26*Trustable joined #nim
17:20:07*vendethiel quit (Ping timeout: 256 seconds)
17:20:53*elbow joined #nim
17:25:02Araqreactormonk: looks good to me, but it's dom96's domain
17:27:45*vendethiel joined #nim
17:51:29*vasher_ joined #nim
18:13:30Arrrris there a way to specify where do i want nimcache to be?
18:17:06Araq--nimcache:foobar
18:19:36Arrrrthank you araq
18:22:48ArrrrAnd the same with the exe? if i execute nim c file/main.nim, i want to tell nim to put main.exe at the same level of 'file'
18:29:27*Demon_Fox joined #nim
18:30:49*milosn_ joined #nim
18:31:27*milosn quit (Ping timeout: 252 seconds)
18:31:45*milosn_ is now known as milosn
18:33:41boopsieshmm-
18:33:50boopsieswhat's the name of the notation grammar.txt is written in?
18:33:52boopsieshttps://github.com/nim-lang/Nim/blob/devel/doc/grammar.txt
18:38:08federico3Arrrr: any benefit in putting the nimcache somewhere else? (Well, maybe in a hidden dir)
18:38:48Arrrrboopsies http://nim-lang.org/docs/manual.html#about-this-document
18:39:02boopsiesahh!
18:39:17ArrrrWell, i have a folder where all the source is, and i dont want to generate the cache there
18:39:31boopsiesthanks
18:39:59boopsiesArrrr: --out:file/main.exe?
18:40:02*Jesin joined #nim
18:40:16ArrrrI'll try, thanks
18:42:55*Demon_Fox quit (Quit: Leaving)
18:44:00ArrrrWhen using --gc:none, i get "Error: system module needs 'initStackBottomWith'". Is that a proc that i have to call or something?
18:46:14*Amrykid joined #nim
18:55:40*Jesin quit (Quit: Leaving)
18:56:29*Arrrr quit (Quit: WeeChat 1.2)
19:02:16*thales joined #nim
19:02:39*thales is now known as Guest25669
19:30:53dom96reactormonk: Araq: the syntax highlighter issues on github make it tough to review :\
19:32:43reactormonkdom96, yeah, I know
19:32:47reactormonkdom96, got an idea?
19:32:54dom96idea for waht?
19:32:55dom96*what
19:35:48reactormonkfixing the syntax HL stuff
19:37:29dom96it will be fixed once Github deploys the new version
19:40:56federico3uhmmm, and what is this? http://irclogs.nim-lang.org/packages?callback=gotPackageList
19:51:29EXetoCwhat's special about that value?
19:51:33EXetoCother values seem to work
19:51:35*Varriount_ joined #nim
19:51:56*Varriount_ is now known as Varriount|Mobile
19:54:10*beatmox_ is now known as beatmox
19:55:56Varriount|MobileAraq: Is there a way I can specify an int literal type in a type declaration, such as type = static[int] or int?
19:58:32Araqno.
20:02:27*Varriount|Mobile quit (Ping timeout: 246 seconds)
20:22:01*FedeOmoto quit (Ping timeout: 256 seconds)
20:31:49*BitPuffin|osx joined #nim
20:32:19*Guest25669 quit (Ping timeout: 246 seconds)
20:34:11*BitPuffin|osx quit (Remote host closed the connection)
20:34:24*BitPuffin|osx joined #nim
20:35:01*FedeOmoto joined #nim
20:39:35dom96federico3: packages.json
20:49:52*johnsoft quit (Ping timeout: 246 seconds)
20:52:17*Jesin joined #nim
20:59:01federico3dom96: encoded in some way
21:00:27Xefederico3: base 64
21:00:33Xelook at the last two characters
21:00:36Xe'=='
21:07:07federico3yep
21:07:42federico3anyone using nim.vim?
21:08:48*vasher_ quit (Quit: Connection closed for inactivity)
21:09:36*xcombelle quit (Quit: Leaving)
21:09:52*rkj-b quit (Quit: ChatZilla 0.9.91.1 [Firefox 38.0.5/20150525141253])
21:15:39*Guest25669 joined #nim
21:19:51*jszymanski quit (Quit: computer sleeps...)
21:29:30reactormonkfederico3, I'm using nim-mode, does that count? >:)
21:36:54*Jehan_ joined #nim
21:37:08*Trustable quit (Remote host closed the connection)
21:37:44Jehan_federico3: I am, but haven't updated it in ages. Mostly just for syntax coloring. Works for the most part.
21:42:20*rainbowism joined #nim
21:47:47federico3reactormonk: it doesn't ;D
21:48:03reactormonkfederico3, just use evil and you're good to go :-P
21:48:07federico3Jehan_: how do you start a compilation?
21:49:58Jehan_federico3: On the command line?
21:59:57federico3Jehan_: in vim :)
22:00:37Jehan_federico3: I don't do that. Well, I guess I could call "make", since I tend to use makefiles to build Nim projects.
22:01:08federico3ok, I was trying to have nim.vim parse the errors from the compilation, thanks anyways
22:01:42Jehan_federico3: Hmm, I've never tried to make that work, but it shouldn't be too hard.
22:01:51*ekarlso slaps @here https://glot.io/new < has nim support now :P
22:01:55ekarlsojust so people know :)
22:02:48federico3very nice! (hi ekarlso)
22:05:58Araqekarlso: that's really cool :-)
22:13:13EXetoC:o
22:19:14federico3I suspect I'm running into something like #297 https://glot.io/snippets/e51b1o4bmr
22:21:00Jehan_federico3: :set errorformat=\%E%f(%l\\,\ %c)\ Error:\ %m
22:26:12*X67r joined #nim
22:30:15*Demon_Fox joined #nim
22:31:54*Matthias247 quit (Read error: Connection reset by peer)
22:33:12federico3Jehan_: https://github.com/zah/nim.vim/blob/597cca20eb31dc55cd285f108b37ff5ca6256a69/compiler/nim.vim
22:33:56Jehan_federico3: Yeah, but that includes every single hint, and most hints are noise.
22:37:32*X67r quit (Quit: Changing server)
22:37:53*X67r joined #nim
22:40:13*X67r quit (Client Quit)
22:46:35*X67r joined #nim
23:00:44*boopsies is now known as boopsiesisaway
23:37:58*bjz_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
23:44:46*def- quit (Ping timeout: 252 seconds)
23:49:40*def- joined #nim