<< 16-09-2015 >>

00:05:12*vikaton joined #nim
00:18:09*NimBot joined #nim
00:28:24*NimBot joined #nim
00:31:17*zemm_ joined #nim
00:31:30*jefus_ joined #nim
00:34:23*pigmej_ joined #nim
00:36:00*strcmp1 quit (*.net *.split)
00:36:00*pigmej quit (*.net *.split)
00:36:01*lyro quit (*.net *.split)
00:36:01*jefus quit (*.net *.split)
00:36:01*tstm quit (*.net *.split)
00:36:01*zemm quit (*.net *.split)
00:36:02*Amun_Ra quit (*.net *.split)
00:36:02*mahlon quit (*.net *.split)
00:36:03*pigmej_ is now known as pigmej
00:37:25*strcmp1 joined #nim
00:37:46*jefus_ is now known as jefus
00:37:49*jaco60 quit (Quit: Leaving)
00:38:23*Amun_Ra joined #nim
00:40:15*tstm joined #nim
00:42:08*strcmp1 quit (Client Quit)
00:42:39*mahlon joined #nim
00:44:06*enamex quit (Ping timeout: 272 seconds)
00:51:15*LeFF quit (Ping timeout: 246 seconds)
00:58:14*ryuo joined #nim
00:58:49ryuohow stable is nim's syntax and base APIs?
00:59:42*Demos quit (Ping timeout: 244 seconds)
01:02:45*lyro joined #nim
01:31:40*yglukhov joined #nim
01:36:01*yglukhov quit (Ping timeout: 250 seconds)
01:36:40*silven quit (Ping timeout: 272 seconds)
01:40:00*chemist69_ joined #nim
01:43:36*chemist69 quit (Ping timeout: 264 seconds)
01:56:16*johnsoft quit (Ping timeout: 250 seconds)
02:04:57*mal``` quit (K-Lined)
02:05:38*mal`` joined #nim
02:15:09*vikaton quit (Quit: Connection closed for inactivity)
02:16:47*BitPuffin|osx quit (Ping timeout: 252 seconds)
02:28:05*mahlon quit (*.net *.split)
02:29:45*mahlon joined #nim
03:03:01*NimBot joined #nim
03:04:43onionhammerthe syntax is fairly stable, araq is overly paranoid about backwards compat for pre 1.0
03:05:28onionhammerstuff gets added but rarely are there breaking changes
03:29:55*NimBot joined #nim
03:34:11*darkf joined #nim
03:43:05*FedeOmoto quit (Ping timeout: 240 seconds)
03:49:05*vegansk joined #nim
03:58:44*yglukhov joined #nim
04:03:03*yglukhov quit (Ping timeout: 256 seconds)
04:10:19*vendethiel joined #nim
04:33:05*vendethiel quit (Ping timeout: 244 seconds)
05:23:45*NimBot joined #nim
06:10:25*yglukhov joined #nim
06:14:58*yglukhov quit (Ping timeout: 260 seconds)
06:18:52*smodo joined #nim
06:35:10*silven joined #nim
06:36:23*gokr joined #nim
06:36:36gokrGood morning nimsters!
06:37:19*enamex joined #nim
06:38:45veganskGood morning!
06:39:08*enamex_ joined #nim
06:42:35veganskJoke of the day from compiler: "Error: ambiguous call; both system.+(x: float, y: float) and system.+(x: float, y: float) match for: (float, float)"
06:43:33gokrEh, he.
06:52:31enamex_Generics playing games?
06:54:32*smodo quit (Remote host closed the connection)
06:57:50*smodo joined #nim
06:59:17veganskYep :-) Trying to make minimal test
07:01:32*NimBot joined #nim
07:03:03*keyle joined #nim
07:04:49*yglukhov joined #nim
07:07:09*yglukhov quit (Remote host closed the connection)
07:12:42*Noein joined #nim
07:15:15*enamex quit (Ping timeout: 255 seconds)
07:18:30veganskenamex_: By the way, nice title for the issue :-)
07:18:43*yadzi joined #nim
07:19:01enamex_X"D
07:20:09*johnsoft joined #nim
07:21:24*yglukhov joined #nim
07:22:04*yglukhov quit (Remote host closed the connection)
07:26:52*softinio joined #nim
07:31:17*softinio quit (Ping timeout: 246 seconds)
07:36:13*yglukhov joined #nim
07:43:48*enamex_ quit (Quit: Page closed)
07:51:43*enamex_ joined #nim
07:54:20*Ven joined #nim
07:56:19*enamex_ quit (Read error: Connection reset by peer)
07:57:09*HoloIRCUser1 joined #nim
07:57:12*HoloIRCUser1 is now known as enamex_
07:58:52*coffeepot joined #nim
08:00:31*Noein quit (Ping timeout: 265 seconds)
08:08:24*NimBot joined #nim
08:19:11*bjz joined #nim
08:26:33*yglukhov quit (Remote host closed the connection)
08:36:44*yglukhov joined #nim
08:43:28*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
08:51:58*bjz joined #nim
09:08:21*elrood joined #nim
09:25:00*enamex_ quit (Ping timeout: 244 seconds)
09:25:12*HoloIRCUser1 joined #nim
09:27:42*HoloIRCUser4 joined #nim
09:27:42*HoloIRCUser1 quit (Read error: Connection reset by peer)
09:33:05*Ven quit (Ping timeout: 240 seconds)
09:34:35*yglukhov quit (Remote host closed the connection)
09:37:40*johnsoft quit (Read error: Connection reset by peer)
09:39:20NimBotnim-lang/Nim devel bc725ea Araq [+0 ±1 -0]: documented void context
09:39:20NimBotnim-lang/Nim devel 31bbc24 Araq [+0 ±2 -0]: minor testsuite cleanup
09:39:20NimBotnim-lang/Nim devel 34ab1d3 Araq [+1 ±2 -0]: fixes #1528
09:39:20NimBotnim-lang/Nim devel 63cdcb2 Araq [+0 ±3 -0]: implicit return types for iterators are now deprecated
09:39:20NimBot14 more commits.
09:41:30*silven quit (Ping timeout: 240 seconds)
09:42:19*silven joined #nim
09:44:07*lyro quit (Ping timeout: 252 seconds)
09:44:28*yglukhov joined #nim
09:48:56*NimBot joined #nim
09:49:03*lyro joined #nim
09:57:49*kashyap_ joined #nim
09:58:14kashyap_Hi there .... can someone please let me know where I can get ssleay64.dll?
09:59:14Araqkashyap_: one sec
10:00:04kashyap_ok
10:00:54*NimBot joined #nim
10:01:03Araqhttp://nim-lang.org/download/dlls.zip
10:01:22kashyap_great ... thank you so much!
10:02:33yglukhovCould someone please remind me again if there's any way to define mutually recursive types in separate files?
10:05:32Araqyes, but it's hacky
10:05:43veganskI have two types: Option[T] and List[T]. Why the compiler fails with message "Error: expression 'List' has no type (or is ambiguous)" on "type ListOpt[T] = Option[List[T]]"?
10:05:55Araqyou need to use include instead of import
10:06:04Araqand {.noforward: on.}
10:06:21Araqand the defintions and includes must be top level statements
10:08:10yglukhovargh, include sounds waay hacky ((
10:08:18Araqvegansk: dunno
10:09:52Araqthe other workaroudn is to use subtyping
10:10:24Araqugh I broke 10 tests, including C++ codegen ... yay
10:13:11veganskAraq: The only thing is that List type is imported
10:13:40Araqvegansk: well maybe it's ambiguous?
10:14:55dom96vegansk: can you show us more of your code?
10:15:42*dv- quit (Ping timeout: 248 seconds)
10:16:10veganskdom96: just a moment, cutting unneded
10:22:23Araqvegansk: just qualify the List like so lists.List
10:22:30Araqadn see what it changes
10:25:20veganskAraq, dom96: I got it. The reason is in "import fp/List", after rename source to "fp/list.nim", all is fine. It's a bug or feature?
10:25:36vegansk*Is it
10:26:57Araqfeature, except the error messages sucks
10:28:47*yglukhov quit (Remote host closed the connection)
10:29:46*NimBot joined #nim
10:32:57veganskAraq: But there is no error while I use List[T]
10:33:20Araqthat's a bug then :P
10:38:26*yglukhov joined #nim
10:43:34*Ven joined #nim
10:49:21*HoloIRCUser4 quit (Ping timeout: 256 seconds)
10:51:07*yglukhov quit (Remote host closed the connection)
11:07:29*yglukhov joined #nim
11:09:09*razaaa joined #nim
11:09:12*softinio joined #nim
11:16:33*kashyap_ quit (Quit: Page closed)
11:17:41*johnsoft joined #nim
11:22:52softiniowhy can't I do this: echo "Hello" & "world"
11:23:16softinioto print the concat of the two strings ?
11:23:36wuehlmaustry: echo( "hello" & "world")
11:26:09softiniothat did it thanks
11:26:51wuehlmausi myself asked a similar question not long ago. it's awesome that one doesn't nieed parentheses normally
11:26:57wuehlmausneed
11:27:16softinioits gonna take getting used to :-)
11:27:44softinioSo in what situations do we have to use paranthesis
11:28:11Araqfor nullary and unary calls in prefix notation
11:28:56Araqactually no, screw that
11:29:27Araqin an expression context for nullary and non-unary calls, in a statement for nullary calls
11:30:09*yadzi left #nim (#nim)
11:46:37*Ven quit (Read error: No route to host)
11:47:00vegansksoftinio: You can also use: echo "Hello ", "world", or even echo: "Hello " & "world"
11:50:21veganskor use #!strongSpaces and then: echo "Hello "&"world"
12:00:08*BitPuffin joined #nim
12:03:05softinio@vegansk thx
12:03:45softiniousing vim for nim development. Good choice?
12:07:30*elrood quit (Ping timeout: 265 seconds)
12:09:11*elrood joined #nim
12:09:40veganskvim is cool, but when you need scala, vim fails with it. so I'm using emacs + evil mode. Evil mode creates vim from emacs :-)
12:10:26*vegansk quit (Quit: Ухожу я от вас (xchat 2.4.5 или старше))
12:11:22wuehlmausi am a die hard vim user, so i use vim for almost anything though i am very happy that there are alternatives like spacemacs, intellij, emacs and co
12:25:15*Ven joined #nim
12:27:39*softinio quit (Remote host closed the connection)
12:29:53Senketsusometimes i'm really stupid..arent i ?
12:30:07Senketsujeez
12:31:38SenketsuAraq , pingu pingu
12:33:53*softinio joined #nim
12:38:45*enamex_ joined #nim
12:39:42*joelmo joined #nim
12:43:47*jaco60 joined #nim
12:48:44*lokulin quit (Ping timeout: 246 seconds)
12:50:53*Kingsqueee quit (Quit: http://i.imgur.com/EsXzoum.png)
12:51:10*keyle quit (Quit: http://twitter.com/keyle/)
12:59:10*silven quit (Ping timeout: 240 seconds)
12:59:31*silven joined #nim
13:02:22*lokulin joined #nim
13:03:28softiniodoes nim have any test framework like golang has?
13:07:17reactormonksoftinio, there's unittest.
13:10:33*drewsrem joined #nim
13:14:51softiniogreat thx @reactormonk
13:21:10*umurgdk joined #nim
13:26:20*NimBot joined #nim
13:32:23*FedeOmoto joined #nim
13:33:12*brillan quit (Ping timeout: 246 seconds)
13:35:22NimBotnim-lang/Nim devel 29a9166 Araq [+0 ±3 -0]: fixes the most pressing regressions introduced by the new handling of a[i] in the compiler
13:53:18*pregressive joined #nim
14:02:40*thotypous quit (Quit: WeeChat 1.3)
14:04:44*thotypous joined #nim
14:06:39*enamex_ quit (Quit: Page closed)
14:14:39*NimBot joined #nim
14:37:58*xet7 quit (Quit: Leaving)
14:40:59softinioso if I want to run a command passing in env variables I assume I use this from osproc lib:
14:41:08softinioproc execProcess(command: string; args: openArray[string] = [];
14:41:08softinio env: StringTableRef = nil; options: set[ProcessOption] = {
14:41:08softinio poStdErrToStdOut, poUsePath, poEvalCommand}): TaintedString {.gcsafe,
14:41:10softinio extern: "nosp$1", tags: [ExecIOEffect, ReadIOEffect], raises: [Exception].}
14:41:52softiniomy question is, is env parameter what I pass for the environment variables?
14:46:45*Noein joined #nim
14:53:27dom96softinio: yes
15:03:54*xet7 joined #nim
15:04:21*umurgdk quit (Read error: Connection reset by peer)
15:04:49*umurgdk joined #nim
15:07:43*umurgdk quit (Remote host closed the connection)
15:14:49*umurgdk joined #nim
15:19:39*umurgdk quit (Ping timeout: 256 seconds)
15:33:24*BitPuffin quit (Ping timeout: 265 seconds)
15:36:07*umurgdk joined #nim
15:38:45NimBotnim-lang/Nim devel 2ffb385 Bruce Doan [+0 ±1 -0]: wait's input is nullable, and it is discardable
15:38:45NimBotnim-lang/Nim devel 671e5db Dominik Picheta [+0 ±1 -0]: Merge pull request #3331 from rgv151/patch-5... 2 more lines
15:43:26*Demos joined #nim
15:51:14*xet7 quit (Quit: Leaving)
15:58:42*Noein quit (Ping timeout: 244 seconds)
16:02:49*coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
16:05:09*pregressive quit (Remote host closed the connection)
16:05:26*Demos quit (Ping timeout: 246 seconds)
16:07:30*yglukhov quit (Ping timeout: 272 seconds)
16:07:53*thotypous quit (Ping timeout: 250 seconds)
16:08:27*thotypous joined #nim
16:17:12*razaaa quit (Ping timeout: 264 seconds)
16:17:44*BitPuffin joined #nim
16:19:12*smodo quit (Read error: Connection reset by peer)
16:19:33*pregressive joined #nim
16:23:05*Noein joined #nim
16:27:12*razaaa joined #nim
16:36:00*Ven quit (Ping timeout: 272 seconds)
16:38:08softinioyesterday @Araq suggested its good practice to have a proc main() .... for the starting point to my app like its used in languages like C and Go
16:38:39softinioso was thinking about how I layout my code and is it good practice to call this main proc in a
16:38:41softiniowhen isMainModule:
16:39:02softiniosorry to ask silly questions
16:41:12*umurgdk quit ()
16:49:40Senketsudom96, uhh you want me to name the modules (assuming i name the package 'ndbex' ndbex_* ?
16:50:10dom96no, I want you to put the modules in a 'ndbex' dir
16:50:33Senketsuooh, tough src is okay, aight
16:51:00dom96The reason for this is so that your module's don't clash with other package's modules
16:51:12dom96You will import them via: import ndbex/module
16:51:17dom96instead of 'import module'
16:51:25Senketsugotcha
16:51:46*strcmp1 joined #nim
16:53:43*pregressive quit (Remote host closed the connection)
16:54:09Senketsuso i assume i need to rename the nimble file too right ?
16:56:47*yglukhov joined #nim
17:00:56Senketsuhope its fine now
17:02:12*razaaa quit (Ping timeout: 264 seconds)
17:09:43*Demos joined #nim
17:10:06*pregressive joined #nim
17:12:19Senketsudom96, or you meant /src/ndbex/modules.nim and point nimble file to src dir .. sorry im such a bother
17:15:03*razaaa joined #nim
17:23:27Araqsoftinio: what is your question?
17:36:59*brson joined #nim
17:45:05softinio@Araq think I figured it out so nvm thx
17:48:25*strcmp1 quit (Read error: Connection reset by peer)
17:54:38*Demos quit (Ping timeout: 246 seconds)
18:03:42*pregressive quit (Remote host closed the connection)
18:05:44*darkf quit (Quit: Leaving)
18:15:59*Mat4 joined #nim
18:16:03Mat4hello
18:16:26*Trustable joined #nim
18:20:45Araqhi mat4
18:23:38*Jesin quit (Quit: Leaving)
18:23:58*pregressive joined #nim
18:24:21Mat4hi Araq, I want to compile Nim with clang, whereupon should I pay attention ?
18:25:14Araqedit your config to set cc=clang
18:26:18*Jesin joined #nim
18:27:18Mat4that's all ? well, that's nice
18:27:19*BitPuffin quit (Ping timeout: 240 seconds)
18:35:48*joelmo quit (Quit: Connection closed for inactivity)
18:42:51*yglukhov quit ()
18:43:50federico3Any fast way to create a string from an array of chars and viceversa?
18:44:11*yglukhov joined #nim
18:44:38Araqfederico3: not really. but you can use a string as an array. s[i]
18:45:12*brson quit ()
18:46:16federico3Even write to an index in an empty string?
18:46:56AraqsetLen()?
18:49:50*Matthias247 joined #nim
18:54:28Mat4in realtion to the utilities for wrapping C libraries. Does someone know SWIG ? http://www.swig.org/compare.html
18:55:27*pregressive quit (Remote host closed the connection)
18:59:02Araqyes, I tried to adapt it before writing c2nim
18:59:44Araqc2nim is light years ahead now.
19:00:24*pregressive joined #nim
19:02:05*^aurora^ joined #nim
19:03:20Mat4ok, so I use c2nim
19:04:17*Mat4 wonders why chicken scheme has a type unsigned-integer-32 but no type unsigned-integer-64
19:09:01*cold_sauce joined #nim
19:11:42Araqhi cold_sauce welcome
19:12:12cold_saucehey! thanks! I'm looking to learn Nim it looks so awesome!
19:12:18*Trustable quit (Remote host closed the connection)
19:12:24*^aurora^ quit (Ping timeout: 264 seconds)
19:28:39*pregressive quit (Remote host closed the connection)
19:30:31*Noein is now known as Enamex
19:37:29*cold_sauce quit (Ping timeout: 265 seconds)
19:39:05*pregressive joined #nim
19:40:37*pregressive quit (Read error: Connection reset by peer)
19:40:41*pregress_ joined #nim
19:55:28*vendethiel joined #nim
19:57:12*cold_sauce joined #nim
19:59:16*Sahnvour joined #nim
20:06:07*redwyn joined #nim
20:22:18*yglukhov quit (Remote host closed the connection)
20:23:22*strcmp1 joined #nim
20:23:22*strcmp1 is now known as TheFloyd
20:30:47*NimBot joined #nim
20:34:21*redwyn left #nim (#nim)
20:35:21*Enamex quit (Ping timeout: 255 seconds)
20:46:56*Enamex joined #nim
20:56:13*cold_sauce quit (Ping timeout: 252 seconds)
21:05:30*razaaa quit (Quit: Leaving)
21:15:37*softinio quit (Remote host closed the connection)
21:17:05*pregress_ quit (Remote host closed the connection)
21:20:09*pregressive joined #nim
21:25:35*Kingsquee joined #nim
21:51:40*NimBot joined #nim
22:00:18*pregressive quit (Remote host closed the connection)
22:03:25*vendethiel quit (Ping timeout: 240 seconds)
22:04:52*elrood quit (Quit: Leaving)
22:08:24*softinio joined #nim
22:10:42*FedeOmoto quit (Remote host closed the connection)
22:10:44*TheFloyd quit (Read error: Connection reset by peer)
22:13:07*BitPuffin|osx joined #nim
22:28:37*softinio quit (Remote host closed the connection)
22:29:51*Mat4 quit (Quit: Leaving)
22:34:15*yglukhov joined #nim
22:34:38*Enamex quit (Ping timeout: 246 seconds)
22:37:48*Kingsquee quit (Quit: http://i.imgur.com/EsXzoum.png)
22:38:25*yglukhov quit (Ping timeout: 240 seconds)
22:42:06*NimBot joined #nim
22:46:08*Sahnvour quit (Quit: Leaving)
22:48:31*Matthias247 quit (Read error: Connection reset by peer)
22:55:51*Enamex joined #nim
23:02:35*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
23:02:41*cold_sauce joined #nim
23:13:45*cold_sauce quit (Ping timeout: 240 seconds)
23:22:55*NimBot joined #nim
23:23:03*pregressive joined #nim
23:29:12*softinio joined #nim
23:30:59*jaco60 quit (Ping timeout: 246 seconds)
23:33:30*softinio quit (Ping timeout: 240 seconds)
23:39:29*TheFloyd joined #nim
23:40:17*pregressive quit (Remote host closed the connection)
23:41:26*drewsrem quit (Quit: Leaving)
23:50:17*keyle joined #nim
23:54:44*cold_sauce joined #nim
23:56:50*gokr quit (Quit: Leaving.)