<< 04-02-2016 >>

00:01:11*Egon_ joined #nim
00:05:00*Matthias247 quit (Read error: Connection reset by peer)
00:10:12*vendethiel quit (Ping timeout: 256 seconds)
00:12:27*Egon_ quit (Ping timeout: 252 seconds)
00:16:36*vendethiel joined #nim
00:19:21*Varriount quit (Disconnected by services)
00:19:21*Varriount_ joined #nim
00:25:01*Varriount joined #nim
00:25:51*derka joined #nim
00:27:10*Varriount_ quit (Ping timeout: 245 seconds)
00:29:52*Varriount quit (Disconnected by services)
00:29:52*Varriount_ joined #nim
00:31:36*liori quit (Remote host closed the connection)
00:32:25*Varriount joined #nim
00:34:22*Varriount__ joined #nim
00:34:22*Varriount quit (Disconnected by services)
00:35:05*Varriount_ quit (Ping timeout: 245 seconds)
00:35:17*junw_ quit (Read error: Connection reset by peer)
00:35:46*junw_ joined #nim
00:37:13*Varriount joined #nim
00:39:31*vendethiel quit (Ping timeout: 245 seconds)
00:39:47*skyfex quit (Quit: My Mac has gone to sleep. ZZZzzz…)
00:40:05*Varriount__ quit (Ping timeout: 245 seconds)
00:40:12*Varriount_ joined #nim
00:40:12*Varriount quit (Disconnected by services)
00:41:36*Varriount joined #nim
00:44:20*Varriount_ quit (Ping timeout: 248 seconds)
00:44:29*Trustable quit (Remote host closed the connection)
00:49:30*Varriount quit (Disconnected by services)
00:49:30*Varriount_ joined #nim
00:52:24*Varriount joined #nim
00:55:32*Varriount_ quit (Ping timeout: 248 seconds)
01:17:20*derka quit (Quit: derka)
01:24:24*aziz quit (Remote host closed the connection)
02:10:26*ephja quit (Ping timeout: 240 seconds)
02:18:07*vendethiel joined #nim
02:25:19*gokr quit (Quit: Leaving.)
02:28:22*def- quit (Ping timeout: 250 seconds)
02:29:35*brson quit (Ping timeout: 264 seconds)
02:37:24*FreezerburnV quit (Ping timeout: 252 seconds)
02:38:58*vendethiel quit (Ping timeout: 240 seconds)
02:50:18*def- joined #nim
03:03:35*junw_ quit (Ping timeout: 240 seconds)
03:03:57*vendethiel joined #nim
03:17:00*lg_ quit (Ping timeout: 252 seconds)
03:26:53*vendethiel quit (Ping timeout: 276 seconds)
03:50:10*pregress_ joined #nim
03:52:06*pregressive quit (Ping timeout: 240 seconds)
03:54:25onionhammerVarriount found a job? :D
03:54:41*pregressive joined #nim
03:56:35*pregress_ quit (Ping timeout: 264 seconds)
04:02:57Varriountonionhammer: Maybe.
04:04:00Varriountonionhammer: Regarding NimLime, all it needs is this one last command for setting up the internal NimLime executable.
04:04:19Xewhy doesn't the irc module support SSL connections?
04:04:54VarriountXe: Probably because there isn't any code in it to support SSL connections.
04:11:36*mikolalysenko quit (Ping timeout: 260 seconds)
04:12:47*CARAM__ quit (Ping timeout: 260 seconds)
04:13:23*Learath2 quit (Ping timeout: 260 seconds)
04:13:34*Learath2 joined #nim
04:13:55*Jesin quit (Ping timeout: 260 seconds)
04:13:56*mountaingoat quit (Ping timeout: 260 seconds)
04:17:04*CARAM__ joined #nim
04:18:07*gmpreussner_ joined #nim
04:19:05*Araq joined #nim
04:19:08*gmpreussner quit (Ping timeout: 260 seconds)
04:19:08*Araq_ quit (Ping timeout: 260 seconds)
04:19:14*delian66_ quit (Ping timeout: 263 seconds)
04:19:15*zama quit (Ping timeout: 263 seconds)
04:19:25*delian66 joined #nim
04:19:41*zama joined #nim
04:19:45*vegansk quit (Ping timeout: 260 seconds)
04:19:45*Senketsu quit (Ping timeout: 260 seconds)
04:19:46*cncl quit (Ping timeout: 260 seconds)
04:20:09*vegansk joined #nim
04:20:29*cncl joined #nim
04:21:29*mikolalysenko joined #nim
04:21:52*Senketsu joined #nim
04:22:42*mountaingoat joined #nim
04:22:42*Jesin joined #nim
04:34:55*lompik quit (Ping timeout: 260 seconds)
04:51:43*rohitverma007 joined #nim
05:00:34*rohitverma007 is now known as ece2017
05:03:11*pregressive quit (Ping timeout: 264 seconds)
05:06:51*s4 joined #nim
05:07:13*ece2017 is now known as QTip
05:07:14*endragor joined #nim
05:33:40*cyraxjoe_ joined #nim
05:34:14*cyraxjoe quit (Ping timeout: 250 seconds)
07:06:52*desophos_ joined #nim
07:07:45*zaquest quit (Ping timeout: 260 seconds)
07:10:28*desophos quit (Ping timeout: 248 seconds)
07:20:12*zaquest joined #nim
07:23:53*brson joined #nim
07:36:08*gokr joined #nim
07:40:02*gour joined #nim
07:46:00*mothatt joined #nim
07:46:07*mothatt left #nim ("Leaving")
07:56:52*Demon_Fox quit (Ping timeout: 248 seconds)
07:57:35*warkid joined #nim
08:02:01*qazwsx_ joined #nim
08:03:53gokrAraq: PHP?
08:05:14*qazwsx_ quit (Client Quit)
08:11:16*qazwsx_ joined #nim
08:18:36*qazwsx_ quit (Quit: qazwsx_)
08:24:05*qazwsx_ joined #nim
08:25:15*darkf joined #nim
08:26:18*brson quit (Quit: leaving)
08:27:37*skyfex joined #nim
08:35:17*qazwsx_ quit (Quit: qazwsx_)
08:39:51*qazwsx_ joined #nim
08:53:04*qazwsx_ quit (Quit: qazwsx_)
08:54:28veganskHow I miss ``nim secret``. Long live the REPL!
08:57:47veganskOops! I thought it was removed, but it was a typo in command line ^-)
09:07:27Araqgokr: it's an experiment. we got lots of PHP here unfortunately and want to use Nim instead ;-)
09:14:06*filwit quit (Quit: Leaving)
09:14:45*warkid quit (Ping timeout: 252 seconds)
09:20:31*desophos_ quit (Read error: Connection reset by peer)
09:21:11*coffeepot joined #nim
09:21:38*skyfex quit (Quit: My Mac has gone to sleep. ZZZzzz…)
09:31:14*derka joined #nim
09:31:57*qazwsx_ joined #nim
09:38:21gokrAraq: Hehe.
09:38:49*derka quit (Ping timeout: 250 seconds)
09:38:56Araqbut we won't officially support it. I don't even intend to document it.
09:38:57gokrAraq: I got my travis going for Ni, but I needed to upgrade GCC to 4.8 in my travis.yml to get Nim to build properly.
09:39:13AraqI thought this issue was fixed with 0.13
09:39:27gokrHmmm...
09:40:09gokrI use master and devel, it failed on master for me I think.
09:41:23gokrAh, let me correct that. Nim built fine, but it failed building Ni.
09:42:16gokrhttp://pastebin.com/HEjySBL4
09:44:45*derka joined #nim
09:49:37Araqah yeah, that would be some work to support. old GCCs don't have the proper atomic instructions
09:56:56gokrBut it worked fine with 4.8 so I am good :)
10:00:18*arnetheduck joined #nim
10:03:47*yglukhov joined #nim
10:06:42*coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
10:08:29*coffeepot joined #nim
10:14:43*Trustable joined #nim
10:19:44*qazwsx_ quit (Quit: qazwsx_)
10:29:55*gokr quit (Quit: Leaving.)
10:32:34*warkid joined #nim
10:33:05*StarBrilliant quit (Ping timeout: 260 seconds)
10:33:54*gokr joined #nim
10:34:42*derka quit (Quit: derka)
10:36:45*StarBrilliant joined #nim
10:37:25*derka joined #nim
10:38:41*nchambers quit (Ping timeout: 245 seconds)
10:38:54*warkid quit (Ping timeout: 252 seconds)
10:42:37*nchambers joined #nim
10:51:12*vendethiel joined #nim
10:51:31*gokr quit (Quit: Leaving.)
11:13:58*vendethiel quit (Ping timeout: 272 seconds)
11:27:55*junw joined #nim
11:48:43*qazwsx_ joined #nim
11:52:48*vendethiel joined #nim
11:58:15*warkid joined #nim
12:02:30*warkid quit (Ping timeout: 252 seconds)
12:06:02*warkid joined #nim
12:06:35*filwit joined #nim
12:11:36*jaco60 quit (Ping timeout: 250 seconds)
12:22:45*junw quit (Ping timeout: 260 seconds)
12:35:35*vendethiel quit (Ping timeout: 240 seconds)
12:38:34*vendethiel joined #nim
12:42:48*gokr joined #nim
12:53:00*ics_ joined #nim
12:53:56*ics quit (Ping timeout: 240 seconds)
12:54:09*ics_ is now known as ics
12:59:46*vendethiel quit (Ping timeout: 240 seconds)
13:05:12*warkid quit (Ping timeout: 252 seconds)
13:06:26*junw joined #nim
13:11:31*FreezerburnV joined #nim
13:21:10*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
13:21:27*bjz joined #nim
13:25:41*filcuc joined #nim
13:28:19*filwit quit (Quit: Leaving)
13:33:11*s4 quit (Quit: Konversation terminated!)
13:45:34*lompik joined #nim
14:02:11*coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
14:02:33*ephja joined #nim
14:03:27*coffeepot joined #nim
14:06:38*yglukhov_ joined #nim
14:08:00*yglukhov quit (Ping timeout: 245 seconds)
14:17:55*lompik quit (Ping timeout: 240 seconds)
14:18:33*yglukhov_ quit (Remote host closed the connection)
14:19:56*FreezerburnV quit (Ping timeout: 252 seconds)
14:20:56*vendethiel joined #nim
14:23:59*yglukhov joined #nim
14:29:12*yglukhov quit (Remote host closed the connection)
14:35:40*yglukhov joined #nim
14:40:54*dashed joined #nim
14:42:05*yglukhov quit (Remote host closed the connection)
14:42:37*yglukhov joined #nim
14:47:01*yglukhov quit (Ping timeout: 245 seconds)
14:53:26*gokr quit (Quit: Leaving.)
14:55:50*gokr joined #nim
15:02:56*vendethiel quit (Ping timeout: 240 seconds)
15:07:02*Egon_ joined #nim
15:08:30*Egon_ quit (Client Quit)
15:22:17*yglukhov joined #nim
15:22:20*yglukhov quit (Remote host closed the connection)
15:22:58*yglukhov joined #nim
15:22:59*yglukhov quit (Remote host closed the connection)
15:23:35*vendethiel joined #nim
15:23:54*endragor quit (Remote host closed the connection)
15:27:16*yglukhov joined #nim
15:31:20*yglukhov quit (Ping timeout: 245 seconds)
15:33:24*yglukhov joined #nim
15:33:26*yglukhov quit (Remote host closed the connection)
15:45:08*vendethiel quit (Ping timeout: 248 seconds)
15:50:29*endragor joined #nim
15:56:16*vendethiel joined #nim
16:07:04*gokr quit (Quit: Leaving.)
16:11:29*qazwsx_ quit (Quit: qazwsx_)
16:17:47*arnetheduck quit (Ping timeout: 276 seconds)
16:18:12*vendethiel quit (Ping timeout: 250 seconds)
16:25:28*NimBot joined #nim
16:30:20*yglukhov joined #nim
16:39:25*jaco60 joined #nim
16:48:24*endragor quit (Remote host closed the connection)
17:02:17*jsudlow joined #nim
17:03:43*vendethiel joined #nim
17:06:40*filcuc quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)
17:14:06*qazwsx_ joined #nim
17:16:01*coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
17:46:26*vendethiel quit (Ping timeout: 240 seconds)
17:48:25*yglukhov quit (Ping timeout: 245 seconds)
17:50:51*qazwsx_ quit (Quit: qazwsx_)
17:52:17*brson joined #nim
17:57:12*vendethiel joined #nim
17:57:17*pregressive joined #nim
18:18:44*vendethiel quit (Ping timeout: 248 seconds)
18:20:57*vendethiel joined #nim
18:32:13*yglukhov joined #nim
18:36:52*yglukhov quit (Ping timeout: 276 seconds)
18:38:28*allan0 quit (Quit: no)
18:40:47*allan0 joined #nim
18:45:40*endragor joined #nim
18:57:11*Egon_ joined #nim
18:59:13*Egon_ quit (Client Quit)
18:59:36*Gretz joined #nim
19:02:06GretzWould it be too difficult to implement (at least partially) Rust traits with macros? I have never used metaprogramming (just some really basic scheme)
19:03:12reactormonkGretz, what do they do? There's concepts
19:03:20GretzSo I think it could be a nice project to implement my favorite Rust feature in Nim
19:03:51GretzYou can use them as polymorphic types
19:04:11GretzI'm not complaining about Nim...
19:04:51reactormonkGretz, not sure what traits do in rust exactly. I guess they compare to concepts, that's why I mentioned them.
19:05:27GretzBut I would like to start a project to understand how programming languages work better
19:06:21GretzSo I'm asking because I don't know anything on the topic
19:11:30*Gretz quit (Ping timeout: 252 seconds)
19:19:07*Egon_ joined #nim
19:21:44VarriountAraq: Oh goodness, you're planning to build a PHP backend?
19:21:53VarriountThat can only end in disaster.
19:22:49Araqno, I already built one.
19:23:14Araqbut relax, it's not officially supported anytime soon and I won't document it either
19:24:53VarriountAraq: Good. General use of something like that can only end in computers blowing up and people's faces melting off their skulls.
19:27:57Araqit's based on the JS codegen and might evolve into a "general high level language codegen" whatever that means
19:28:00*Egon_ quit (Ping timeout: 252 seconds)
19:29:06Araqbut I dunno. New crap keeps getting thrown at me, for instance for an IntelliJ-Plugin I would like to have a Nim-to-Java codegen...
19:31:27*yglukhov joined #nim
19:31:54*yglukhov quit (Remote host closed the connection)
19:32:20*yglukhov joined #nim
19:33:07*Matthias247 joined #nim
19:39:10*qazwsx_ joined #nim
19:39:24*dunpeal joined #nim
19:40:30*yglukhov quit (Remote host closed the connection)
19:40:59dunpealHi. Nim looks pretty neat, but is anyone using it in production?
19:43:57federico3dunpeal: give it another 5 years
19:45:57dunpealI don't have 5 years. I have new projects waiting to be done right now :>
19:50:16Varriountdunpeal: It is being used in production systems (or at least, several members here and on the forum have mentioned it) however there are no big 'public' examples.
19:50:58VarriountEG, no famous company website proudly exhorting the use of Nim in their systems.
19:54:20VarriountAraq: Didn't you say a Nim-To-Java codegen would be too much work?
19:54:41*yglukhov joined #nim
19:57:39Araqyeah I'm talking about source-to-source translators
19:58:11Araqso it would translate the Nim parser and lexer into Java and I end up with an 80% solution that I can tweak afterwards
19:59:39VarriountAh, so not Java bytecode output.
20:02:20*dunpeal left #nim (#nim)
20:02:37ephjanim to *
20:06:03Varriountephja: Nim to Malbolge?
20:07:01ephjayeah why not
20:08:39Varriountephja: Have you seen malbolge?
20:13:52ephjayep
20:24:21*qazwsx_ quit (Quit: qazwsx_)
20:32:07VarriountAraq: Good news - I found a less system-wide way of disabling the Windows Error Reporting 'feature' for the test suite.
20:37:18*mahasamoot joined #nim
20:40:11mahasamootI'm trying to do sum u32 +%, -%, /% and it keeps telling me it's a type mismatch? I RTFMed, what gives?
20:40:52federico3is anyone else aware of https://github.com/nim-lang/Nim/issues/3823 : koch web fails to build. dom96 maybe ?
20:43:30mahasamoothttp://pastebin.com/WszE0fLD, I'm trying to port a little program from python as a learning exercise. Can I get any tips?
20:44:34federico3mahasamoot: why using uint32?
20:45:08mahasamootbecause my max is 2**32
20:45:47mahasamootwhich is ridicules and unnecessary, but seemed like fun at the time.
20:45:52federico3except ValueError ?
20:46:09mahasamootwell... that's still python
20:46:44*gour quit (Quit: WeeChat 1.3)
20:47:46*Trustable quit (*.net *.split)
20:47:46*Sornaensis quit (*.net *.split)
20:47:47*tstm quit (*.net *.split)
20:47:47*cratuki quit (*.net *.split)
20:47:47*mrkishi quit (*.net *.split)
20:48:43ephjayes it's a type match, because there are only overloads for IntMax32 and int64
20:49:43*Trustable joined #nim
20:49:43*cratuki joined #nim
20:49:43*tstm joined #nim
20:50:30mahasamootso how do I fix it? just never ever use unsigned ints because it can't be added, subtracted, mul, or div'ed?
20:50:55*Trustable quit (Ping timeout: 250 seconds)
20:50:55*cratuki quit (Ping timeout: 250 seconds)
20:51:25ephjamahasamoot: are you using an older version where such operations are defined in the 'unsigned' module?
20:51:34*QTip quit (Ping timeout: 272 seconds)
20:51:44mahasamoot0.16
20:51:50ephjapreferably upgrade to 0.13.0, but if you can't then import unsigned
20:51:51*cratuki joined #nim
20:51:52ephjahuh
20:52:47mahasamootno, I meant 0.13... I guess I'm getting ahead of myself
20:53:22*ludocode_ quit (Ping timeout: 250 seconds)
20:53:22*lankanmon quit (Ping timeout: 276 seconds)
20:53:28mahasamootNim Compiler Version 0.13.0 (2016-02-01) [Linux: amd64]
20:53:38ephjathey were moved after that? or maybe the operations haven't been moved yet
20:54:25*Sornaensis joined #nim
20:54:44mahasamootWarning: unsigned is deprecated [Deprecated], and then the same error
20:54:56*mrkishi joined #nim
20:55:53ephjayes, and those operations should be imported implicitly since they are located in the system module now
20:56:07ephja"echo 1u32 + 1u32" yep, works
20:58:14mahasamootI just tried that, and got the same error
20:59:00mahasamootI thought I had the latest version, should I upgrade to a nightly, or something?
20:59:34*desophos joined #nim
21:03:48mahasamootI'm compiling the devel branch now
21:03:54*Trustable joined #nim
21:08:07*ludocode joined #nim
21:09:19*lankanmon joined #nim
21:23:52ephjayou said 0.13.0, and you got a deprecation warning. apparently it was merged in july
21:26:35ephjaso I dunno what is going on
21:29:13*BitPuffin|osx joined #nim
21:34:57*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
21:35:16*desophos quit (Ping timeout: 272 seconds)
21:36:37*yglukhov quit (Remote host closed the connection)
21:37:26*xificurC joined #nim
21:47:29*gokr joined #nim
21:47:29*mahasamoot quit (Ping timeout: 240 seconds)
21:57:02*xificurC quit (Quit: WeeChat 1.3)
22:06:59*kier joined #nim
22:08:43*kier quit (Quit: leaving)
22:08:56*kier joined #nim
22:15:23kierhi guys, I'm declaring a big array (30K elements) but getting an OverflowError when I try to access it. Do I need to initialise the array, and if so, how?
22:17:00kierah ignore that, I just didn't understand the semantics of array indices
22:23:02def-kier: hi. if you have a really big array, you might want to put it on the heap instead of stack btw
22:54:47*vendethiel quit (Ping timeout: 264 seconds)
22:57:49*jaco60 quit (Read error: Connection timed out)
22:58:40*jaco60 joined #nim
23:00:00kierdef-: cheers. how would I go about doing that? would I just use a ref?
23:03:03*FreezerburnV joined #nim
23:03:05*desophos joined #nim
23:06:16Xewhat is the difference between a macro and a template?
23:08:33*junw quit (Ping timeout: 240 seconds)
23:09:14*ThePythonicCow joined #nim
23:09:18*endragor quit (Remote host closed the connection)
23:09:26def-kier: right, or a seq
23:09:37*vendethiel joined #nim
23:11:21def-Xe: both are at compile time, templates are less powerful, like text substitution (but on the AST). macros are more powerful, you can analyze the passed parameters and output any kind of AST you want
23:12:38def-and for the sake of simplicity you should always use the least powerful construct that works for a job
23:13:56Xemm
23:14:42*mahasamoot joined #nim
23:15:16Xei see, thanks def-
23:15:55SornaensisXe
23:15:59Sornaensisso noble
23:28:58*derka quit (Quit: derka)
23:30:29*pregressive quit (Remote host closed the connection)
23:30:40*vendethiel quit (Ping timeout: 260 seconds)
23:34:19kierdef-: ah, thanks for the help :)
23:35:01*derka joined #nim
23:35:28*derka quit (Client Quit)
23:36:30*mahasamoot quit (Remote host closed the connection)
23:37:23*ludocode quit (Ping timeout: 264 seconds)
23:38:29*lankanmon quit (Ping timeout: 276 seconds)
23:40:08*derka joined #nim
23:43:06*derka quit (Client Quit)
23:48:38*ludocode joined #nim
23:48:59*darkf quit (Quit: Leaving)