<< 02-08-2016 >>

00:00:54*nairobi quit (Ping timeout: 250 seconds)
00:16:16*yglukhov joined #nim
00:16:44*irrequietus quit ()
00:20:57*yglukhov quit (Ping timeout: 276 seconds)
00:55:55*libman quit (Remote host closed the connection)
00:57:15*yglukhov joined #nim
01:01:34*yglukhov quit (Ping timeout: 250 seconds)
01:06:26*chemist69_ joined #nim
01:09:46*chemist69 quit (Ping timeout: 252 seconds)
01:25:22*yglukhov joined #nim
01:29:44*yglukhov quit (Ping timeout: 250 seconds)
01:32:19*ftsf_ joined #nim
01:35:36*der-landgraf quit (Quit: WeeChat 1.5)
01:38:50*ehaliewicz quit (Ping timeout: 250 seconds)
01:39:30*space-wizard quit (Quit: My Mac has gone to sleep. ZZZzzz…)
01:40:58*space-wizard joined #nim
01:52:59*brson quit (Quit: leaving)
01:58:30*kulelu88 quit (Quit: Leaving)
02:01:34*yglukhov joined #nim
02:02:53*Arcanum_za quit (Quit: Leaving)
02:05:52*yglukhov quit (Ping timeout: 240 seconds)
02:06:16*pdv joined #nim
02:25:47*yglukhov joined #nim
02:30:17*yglukhov quit (Ping timeout: 258 seconds)
02:31:25*space-wizard quit (Quit: My Mac has gone to sleep. ZZZzzz…)
02:50:00*yglukhov joined #nim
02:54:03*yglukhov quit (Ping timeout: 240 seconds)
03:09:44*chemist69_ quit (Ping timeout: 260 seconds)
03:10:04*chemist69_ joined #nim
03:14:10*yglukhov joined #nim
03:18:49girvoI'm not having much luck with lldb + nim, anyone got any tips?
03:19:03*yglukhov quit (Ping timeout: 276 seconds)
03:19:16girvoOops. I take that back, it totall works!
03:19:43ftsf_\o/
03:25:38girvoNow I just need to find some way of getting the process to break on the first line immediately
03:25:44girvowhen using "process attach --name te --waitfor"
03:26:05girvoBecause it uses xterm's alternate buffer mode and raw STDIN input caputring via escape codes :P
03:26:17girvoso it breaks lldb and gdb input if they "run" the proc themselves!
03:31:02girvoI'm so rusty with LLDB lol
03:31:35ftsf_i've never tried it, nicer than GDB?
03:32:00*endragor joined #nim
03:34:02girvoIts a little rougher around the edges, but once you work out the differences its pretty great so far
03:41:58*endragor quit (Remote host closed the connection)
03:46:04*endragor joined #nim
03:49:21*Demon_Fox joined #nim
03:50:11*yglukhov joined #nim
03:54:41*yglukhov quit (Ping timeout: 258 seconds)
04:03:28*kssreeram joined #nim
04:13:25*space-wizard joined #nim
04:14:44*yglukhov joined #nim
04:19:19*yglukhov quit (Ping timeout: 244 seconds)
04:39:01*yglukhov joined #nim
04:43:39*yglukhov quit (Ping timeout: 264 seconds)
04:51:49*endragor quit (Remote host closed the connection)
04:54:28*endragor joined #nim
05:00:01*cheatfate_ joined #nim
05:00:03*cheatfate quit (Read error: Connection reset by peer)
05:00:22*cheatfate_ quit (Read error: Connection reset by peer)
05:00:42*cheatfate_ joined #nim
05:09:14*der-landgraf joined #nim
05:15:20*yglukhov joined #nim
05:20:01*yglukhov quit (Ping timeout: 252 seconds)
05:20:23*nairobi joined #nim
05:25:00*nairobi quit (Ping timeout: 265 seconds)
05:25:09*pdv quit (Ping timeout: 276 seconds)
05:25:34*pdv joined #nim
05:36:20*endragor quit (Remote host closed the connection)
05:39:59*endragor joined #nim
05:51:38*yglukhov joined #nim
05:53:17*nairobi joined #nim
05:56:05*yglukhov quit (Ping timeout: 244 seconds)
05:57:22*nairobi_ joined #nim
05:58:18*nairobi quit (Ping timeout: 276 seconds)
06:13:26*nairobi_ quit (Read error: Connection timed out)
06:14:53*nairobi joined #nim
06:27:50*yglukhov joined #nim
06:29:29*endragor quit (Remote host closed the connection)
06:31:14*nairobi quit (Read error: Connection timed out)
06:32:16*yglukhov quit (Ping timeout: 244 seconds)
06:32:23*nairobi joined #nim
06:33:02girvo]\q
06:33:03girvo\q
06:33:05*girvo quit (Quit: leaving)
06:38:59*hendi__ joined #nim
06:39:49*ftsf quit (Remote host closed the connection)
06:40:14*ftsf_ is now known as ftsf
06:42:34*space-wizard quit (Quit: My Mac has gone to sleep. ZZZzzz…)
06:50:56*endragor joined #nim
07:00:32*cheatfate_ is now known as cheatfate
07:26:02*Arrrr joined #nim
07:35:03*themagician quit (Ping timeout: 258 seconds)
07:36:35*bjz joined #nim
07:37:02*yglukhov joined #nim
07:40:49*themagician joined #nim
07:49:18*endragor quit (Remote host closed the connection)
07:53:50*Trustable joined #nim
07:58:33*endragor joined #nim
08:03:42*gokr joined #nim
08:04:13*kssreeram quit (Ping timeout: 244 seconds)
08:09:10*endragor quit (Remote host closed the connection)
08:09:34*kssreeram joined #nim
08:13:54*endragor joined #nim
08:13:56*fastrom quit (Quit: Leaving.)
08:14:15*fastrom joined #nim
08:16:23*jeffc_ joined #nim
08:17:12*Flox42 joined #nim
08:18:15*coffeepot joined #nim
08:18:33*der-landgraf quit (Ping timeout: 240 seconds)
08:18:33*niv quit (Ping timeout: 240 seconds)
08:18:45*jeffc quit (Ping timeout: 258 seconds)
08:19:49*fastrom quit (Quit: Leaving.)
08:21:33*jonafato quit (Ping timeout: 240 seconds)
08:21:51*niv joined #nim
08:22:18*jonafato joined #nim
08:23:58*der-landgraf joined #nim
08:39:04*endragor quit (Remote host closed the connection)
08:43:23*desophos quit (Read error: Connection reset by peer)
08:45:34*endragor joined #nim
09:01:57*elrood joined #nim
09:04:12*yglukhov quit (Ping timeout: 276 seconds)
09:13:12*yglukhov joined #nim
09:18:35*der-landgraf quit (Quit: WeeChat 1.5)
09:28:09*Demon_Fox quit (Quit: Leaving)
09:48:45*kssreeram quit (Max SendQ exceeded)
09:57:03*kssreeram joined #nim
09:57:23*gokr quit (Ping timeout: 244 seconds)
10:08:46pdvhttps://github.com/nim-lang/Nim/issues/4556 - could anyone compiler-savvy please take a look at this issue?
10:15:57ArrrrIt works ok in my computer.
10:16:36ArrrrWhat args are you using to compile it?
10:20:15pdv./koch temp c --verbosity:3 ../tmp/test_checkfieldaccess.nim
10:20:44pdvOk, will try fresh build of nim, starting with checkout.
10:30:42*CcxCZ quit (Quit: WeeChat 1.5)
10:31:19*CcxCZ joined #nim
10:40:13pdvWell, seems like it only crashes with verbosity 2 or higher
10:41:43*zodiak joined #nim
10:44:05*zodiak_ quit (Ping timeout: 258 seconds)
10:53:49*krux02 joined #nim
10:53:53*irrequietus joined #nim
10:53:59*irrequietus quit (Changing host)
10:53:59*irrequietus joined #nim
10:59:01yglukhovjust noticed that C cast syntax works in Nim. is this expected? let i = (int32)0
11:00:05*M-Quora joined #nim
11:00:13*M-max joined #nim
11:01:23*pdv quit (Remote host closed the connection)
11:03:55Arrrrmm
11:04:20yglukhovturns out (int32)0 is parsed as Command call. in the end it results in int32(0), which is expected for C developers. funny.
11:05:15ArrrrAh, that explains it. So, it is actually like 'let i = int32 0' right?
11:05:21yglukhovyup
11:07:46ArrrrYou can write ugly code, like '(echo)"Hello There"'
11:10:44*irrequietus quit (Ping timeout: 244 seconds)
11:20:31*irrequietus joined #nim
11:45:26*kssreeram quit (Max SendQ exceeded)
11:48:44*zodiak_ joined #nim
11:51:08*zodiak quit (Ping timeout: 250 seconds)
11:53:14*kssreeram joined #nim
12:17:59*kssreeram quit (Ping timeout: 250 seconds)
12:18:00*chemist69_ quit (Ping timeout: 258 seconds)
12:30:02*irrequietus quit (Remote host closed the connection)
12:31:48*chemist69_ joined #nim
12:34:20*irrequietus joined #nim
12:35:16krux02yglukhov: I used dumpTree on that expression, and it seems that (int32)0 is a command in the ast, where int32(0) is a call, I do not know the difference but the parser knows one that can be semantically meaningful.
12:38:21Araqkrux02: there is no difference in core Nim, but macros can differentiate between the two, for better or worse.
12:59:35krux02Araq, I posted some issues about the compiler bugs, that I found in Nim, I tried to add as much information as I could, so that the cause of the bug could be tracked down. Is there anything more I can do to help? Initially I wanted to create a test case, would that be something that would be accepted as a pull request?
13:00:15Araqyou can write new tests that start as 'disabled: true' in the spec section
13:00:24Araqso that travis stays green
13:00:56Araqbtw does your interface macro create a 'converter'?
13:01:28krux02it can
13:01:42Araqit should, I think
13:01:42krux02all I need would be to change proc to converter
13:01:59krux02it woluld be closer to go at least
13:02:48Araqspeaking of which, I think the implicit code generation that go has to perform is *exactly* C++ template instantiation problem
13:03:04krux02But I do not have a solution for the automatic implementation as it is done in go
13:03:14Araqyou either cache the results beyond modules or live with duplicate instantiations
13:03:36Araqor you remove the duplicates in the linking step.
13:04:39*ftsf quit (Quit: :q!)
13:06:30krux02All macros i have written so far were some sort of written in a functional style, so there are no compile time side effects
13:07:43krux02but I think that would be something I would need, some form of chache, that tells me, yes it's already there and that's the correct symbol for it, or no it's not there, let me create one for you
13:09:52krux02I just don't like side effects :-/
13:12:34krux02yes you are right, it is exactly c++ template instanciation problem, but I think the advantage is still, that the code that get's instanciated is much smaller, that what c++ templates instanciate.
13:22:32Araqtrue.
13:37:01*gokr joined #nim
13:42:46*nsf quit (Quit: WeeChat 1.5)
13:54:34*Jesin joined #nim
13:56:34*chemist69_ quit (Quit: WeeChat 1.5)
14:08:07*libman joined #nim
14:13:57*chemist69 joined #nim
14:28:03*Jesin quit (Ping timeout: 264 seconds)
14:40:41*ftsf joined #nim
14:41:22*hendi__ quit (Ping timeout: 244 seconds)
14:45:14ftsfhmm if i have a type Foo = array[3, CustomType] where CustomType is type CustomType = range[0..15] and I want to make a new Foo how can I make foo: Foo = [1,1,1] acceptable without having to do [1.CustomType,1.CustomType,1.CustomType] ??
14:47:01ftsfdefining a converter for CustomType to int doesn't seem to do anything
14:47:04*gokr quit (Ping timeout: 252 seconds)
14:48:17krux02ftsf, afaik you only need to have the first argument in an array to be explicit
14:48:29krux02 [1.CustomType,1,1]
14:48:39ftsfahh, ok that is acceptable =)
14:48:40ftsfthanks!
14:57:32*Jesin joined #nim
14:58:13Araqthat is correct. and somebody needs to add that detail to the spec.
14:58:15*Jesin quit (Max SendQ exceeded)
14:59:04*Jesin joined #nim
15:01:08*Jesin quit (Max SendQ exceeded)
15:01:44*kssreeram joined #nim
15:01:54*Jesin joined #nim
15:03:50*Jesin quit (Max SendQ exceeded)
15:04:14*Jesin joined #nim
15:14:12*endragor quit (Remote host closed the connection)
15:21:51*michael_campbell quit (Quit: Textual IRC Client: www.textualapp.com)
15:27:39*michael_campbell joined #nim
15:30:20krux02Araq: maybe I would do it, but I don't even know where I can find the spec
15:30:32Araqdoc/manual
15:30:42Araqpart of the nim repo
15:30:50Araqproduces the manual.html file
15:32:07*OnO quit (Ping timeout: 250 seconds)
15:32:39*OnO joined #nim
15:36:12*kssreeram quit (Quit: My Mac has gone to sleep. ZZZzzz…)
15:42:32*nairobi_ joined #nim
15:45:55*nairobi quit (Ping timeout: 252 seconds)
15:49:03*yglukhov quit (Ping timeout: 264 seconds)
15:58:16*irrequietus quit ()
16:06:09*pregressive joined #nim
16:12:58*brson joined #nim
16:20:36*coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
16:22:57*nairobi_ quit (Read error: Connection reset by peer)
16:30:24*Jesin quit (Quit: Leaving)
16:37:00*Jesin joined #nim
16:39:11*Jesin quit (Max SendQ exceeded)
16:44:07*Jesin joined #nim
16:45:32*Jesin quit (Max SendQ exceeded)
16:45:36*yglukhov joined #nim
16:45:42*Matthias247 joined #nim
16:45:58*Jesin joined #nim
16:50:03*yglukhov quit (Ping timeout: 240 seconds)
16:52:15*Jesin quit (Remote host closed the connection)
16:54:03*nairobi joined #nim
16:54:59*gokr joined #nim
17:05:03*space-wizard joined #nim
17:05:38*space-wizard quit (Max SendQ exceeded)
17:06:18*space-wizard joined #nim
17:45:47*yglukhov joined #nim
17:50:42*yglukhov quit (Ping timeout: 276 seconds)
17:52:18*brechtm quit (Read error: No route to host)
17:52:47*brechtm joined #nim
17:57:16*Matthias247 quit (Read error: Connection reset by peer)
18:08:04*brechtm quit (Read error: Connection reset by peer)
18:08:39*brechtm joined #nim
18:15:24*kulelu88 joined #nim
18:22:34*michael_campbell quit (Quit: My Mac has gone to sleep. ZZZzzz…)
18:23:45*yglukhov joined #nim
18:28:04*yglukhov quit (Ping timeout: 250 seconds)
18:31:15*yglukhov joined #nim
18:34:37*der-landgraf joined #nim
18:49:57*kssreeram joined #nim
18:53:38*pafmaf joined #nim
18:57:50*michael_campbell joined #nim
19:01:44*brechtm quit (Ping timeout: 260 seconds)
19:06:41*jeffc joined #nim
19:08:52*jeffc_ quit (Ping timeout: 252 seconds)
19:46:34*nairobi quit (Remote host closed the connection)
19:47:56*shodan45 joined #nim
19:55:03*irrequietus joined #nim
19:59:23*nairobi joined #nim
20:04:06*Arrrr quit (Quit: WeeChat 1.4)
20:05:49*nsf joined #nim
20:13:53*pafmaf quit (Quit: Leaving)
20:15:18*endragor joined #nim
20:15:39*nairobi quit (Read error: Connection timed out)
20:17:05*nairobi joined #nim
20:19:54*endragor quit (Ping timeout: 260 seconds)
20:22:27*jeffc quit (Ping timeout: 260 seconds)
20:52:42*nairobi quit (Remote host closed the connection)
21:01:40*der-landgraf quit (Quit: WeeChat 1.5)
21:02:46*miere joined #nim
21:05:47*nairobi joined #nim
21:09:07*nairobi_ joined #nim
21:09:57*Matthias247 joined #nim
21:10:24*nairobi quit (Ping timeout: 265 seconds)
21:15:46*michael_campbell quit (Quit: My Mac has gone to sleep. ZZZzzz…)
21:18:15*nairobi_ quit (Remote host closed the connection)
21:18:33*Trustable quit (Remote host closed the connection)
21:25:29*irrequietus quit ()
21:25:38*irrequietus joined #nim
21:25:57*jeffc joined #nim
21:30:03*jeffc quit (Ping timeout: 240 seconds)
21:30:49*jeffc joined #nim
21:46:37*nairobi joined #nim
22:02:34*desophos joined #nim
22:04:26*nairobi quit (Remote host closed the connection)
22:06:33*pregressive quit (Remote host closed the connection)
22:06:50*yglukhov_ joined #nim
22:07:09*pregressive joined #nim
22:09:29*yglukhov quit (Ping timeout: 258 seconds)
22:11:12*pregressive quit (Ping timeout: 240 seconds)
22:11:58*yglukhov_ quit (Remote host closed the connection)
22:13:20*yglukhov joined #nim
22:15:58*kunev quit (Ping timeout: 250 seconds)
22:17:24*Trixar_za joined #nim
22:17:51*yglukhov quit (Ping timeout: 258 seconds)
22:18:17*kunev joined #nim
22:27:39*gokr quit (Ping timeout: 260 seconds)
22:32:32*Matthias247 quit (Read error: Connection reset by peer)
22:38:05*yglukhov joined #nim
22:42:24*yglukhov quit (Ping timeout: 244 seconds)
22:46:45*elrood quit (Quit: Leaving)
22:48:33*xet7 quit (Quit: Leaving)
22:50:36*rolha quit (Read error: Connection reset by peer)
23:00:15*der-landgraf joined #nim
23:02:06*yglukhov joined #nim
23:05:16*ehaliewicz joined #nim
23:06:53*yglukhov quit (Ping timeout: 265 seconds)
23:26:21*yglukhov joined #nim
23:29:56*kssreeram quit (Quit: My Mac has gone to sleep. ZZZzzz…)
23:30:32*yglukhov quit (Ping timeout: 240 seconds)
23:30:50*xet7 joined #nim
23:42:58*brson quit (Quit: leaving)