<< 23-12-2015 >>

00:00:54*Jesin quit (Quit: Leaving)
00:04:13*Jesin joined #nim
00:06:18*krux02 quit (Ping timeout: 252 seconds)
00:19:23*Trustable quit (Ping timeout: 276 seconds)
00:36:27*sepisoad quit (Ping timeout: 244 seconds)
00:47:59*ephja quit (Ping timeout: 276 seconds)
01:04:59*brson quit (Ping timeout: 264 seconds)
01:20:35*Matthias247 quit (Read error: Connection reset by peer)
01:53:53*zepolen quit (Remote host closed the connection)
01:54:07*gunn joined #nim
01:56:49*BitPuffin|osx quit (Ping timeout: 245 seconds)
02:01:26*Varriount-Laptop quit (Ping timeout: 276 seconds)
02:05:12*gunn_ joined #nim
02:05:48*gunn_ quit (Read error: Connection reset by peer)
02:06:36*gunn__ joined #nim
02:08:15*gunn quit (Ping timeout: 260 seconds)
02:15:47*vendethiel quit (Ping timeout: 264 seconds)
02:31:09*girvo joined #nim
02:42:20*vendethiel joined #nim
03:05:06*vendethiel quit (Ping timeout: 240 seconds)
03:14:53*Varriount-Laptop joined #nim
03:16:10*girvo quit (Quit: leaving)
04:05:43*zepolen joined #nim
04:10:09*zepolen quit (Ping timeout: 245 seconds)
04:53:46*vegansk quit (Ping timeout: 244 seconds)
05:11:26*Varriount-Laptop quit (Ping timeout: 256 seconds)
05:28:33*Varriount-Laptop joined #nim
06:24:11*vqrs quit (Ping timeout: 264 seconds)
06:28:24*vqrs joined #nim
06:30:50*darkf joined #nim
07:34:35*HakanD joined #nim
07:48:34*irrequietus joined #nim
07:51:14*Varriount-Laptop quit (Ping timeout: 256 seconds)
08:03:41*zepolen joined #nim
08:14:13*irrequietus quit ()
08:19:22*zepolen_ joined #nim
08:22:36*zepolen quit (Ping timeout: 250 seconds)
08:26:16*ephja joined #nim
08:26:53*tankfeeder joined #nim
08:27:02tankfeederhi all
08:27:40tankfeederi have access to solaris 11, aix 7, hpux
08:28:11tankfeederdoes anyone want check nim on this platforms, maybe compilers ?
08:29:07tankfeederif yes, find me on freenode
08:29:13tankfeedersee you.
08:29:15*tankfeeder left #nim (#nim)
08:46:36federico3nice. dom96 ^^^ :)
08:49:10federico3speaking of which, I can also volunteer a cubieboard
08:55:21*gunn__ quit (Read error: Connection reset by peer)
08:56:06*gunn joined #nim
09:26:07*gokr quit (Quit: Leaving.)
09:29:34strcmp1cubieboard?
09:29:50strcmp1oic
09:30:19strcmp1i thought it was like a spirit board and i somehow ended up in #satanists
09:31:41strcmp1wouldnt be the first time
09:54:45*HakanD quit (Quit: Be back later ...)
10:01:56*HakanD joined #nim
10:03:19flyxis it possible to pre-declare an iterator?
10:10:43*sepisoad joined #nim
10:33:25*HakanD quit (Ping timeout: 260 seconds)
10:33:51*Matthias247 joined #nim
11:08:33*NimBot joined #nim
11:23:25Araq_flyx: unfortunately not
11:25:52*Varriount-Laptop joined #nim
11:25:55flyxaand I also cannot predeclare a proc which returns an iterator, it seems
11:27:12flyxshouldn't this at least work?
11:30:03flyxah no, my bad, it works if I actually add the implementation later
11:46:49*sepisoad quit (Ping timeout: 245 seconds)
11:53:14*sora joined #nim
11:53:23sorahello o/
12:06:40Araq_hi sora, welcome
12:06:57soraAraq_: hello, how are you?
12:09:26Araq_everything is good
12:09:39soraThat's good to hear :)
12:10:19soraI just checked nim language and I find it really cool, so I thought I could get in touch with the community
12:11:39Araq_nice to hear
12:17:05soraIs there any IDE supporting the language?
12:17:16soralike eclipse plugin or something?
12:17:40XeI personally use this IDE called "zsh"
12:18:04reactormonksora, various editors can talk to the compiler for a bit of help
12:19:19sorainteresting! isn't zsh shell?
12:19:36Xeyes
12:20:04Xeit allows me infinite composability as well as my choice of editor and no limit as to what compilers I can use as long as they work on the system
12:20:09Araq_the best results that I've seen so far are Atom+Nim plugin
12:44:57*Trustable joined #nim
12:48:25soralooks like i'll try both of them :)
12:52:56*Nedl joined #nim
12:54:00NedlIt is possible to auto import ome packages. I have a template which uses sdl2 library, but everytime I use it, I need to import sdl2 too.
13:01:06*Trustable quit (Ping timeout: 240 seconds)
13:02:10*Trustable joined #nim
13:14:14*sora quit (Ping timeout: 250 seconds)
13:16:55dom96Nedl: Maybe this would help? http://nim-lang.org/docs/manual.html#generics-bind-statement
13:21:19Araq_Nedl: you're looking for the 'export' keyword
13:24:05Nedlexport actually works. But only for sdl2, not for sdl2/gfx
13:25:15Araq_export sdl2/gfx ?
13:26:50NedlYeah. I need import sdl2, sdl2/gfx just like in example.
13:27:34Araq_that's strange
13:27:45Araq_maybe it's got to do with the paths
13:28:28Nedlworked
13:28:50Nedlimport sdl2, sdl2/gfx as gfx export sdl2, gfx
13:32:42*krux02 joined #nim
13:46:32*Varriount-Laptop quit (Ping timeout: 256 seconds)
13:50:34krux02Araq_: is it possible to get the value of a const symbol within a macro?
13:51:06Araq_krux02: as I said, just fix the compiler, that's what should be done
13:52:06Araq_hrm, but the implemenation is correct
13:52:10Araq_what's the problem?
13:55:23krux02Araq_: here I made a forum post about it http://forum.nim-lang.org/t/1889
13:57:24Araq_getValue[string](subNode) # that's just subNode.strVal
13:57:59Araq_and if the concat is evaluated for you, you receive the value as a string literal in the macro
14:01:36*Demon_Fox joined #nim
14:14:21*krux02 quit (Quit: Verlassend)
14:20:51*aziz joined #nim
14:20:54*guest159 joined #nim
14:23:26*guest159 quit (Remote host closed the connection)
14:25:04*sepisoad joined #nim
14:33:07*sepisoad quit (Remote host closed the connection)
14:38:00*sepisoad joined #nim
14:42:43*sepisoad quit (Remote host closed the connection)
14:50:14*zepolen_ quit (Read error: Connection reset by peer)
14:54:44*sepisoad joined #nim
14:57:09*sepisoad quit (Remote host closed the connection)
14:58:16*sepisoad joined #nim
15:00:23*zepolen joined #nim
15:03:29*krux02 joined #nim
15:09:45NedlCan I use nimscript for configuration files just like json? I dont want to compile it in. And how to access it if I can?
15:17:01*sepisoad quit (Remote host closed the connection)
15:35:38Araq_Nedl: yes you can
15:36:49Araq_the API still sucks but look at how nimble does it, check out its nimscript-support branch
15:40:24NedlI guess the simpler way is just to use json or justa txt file?
15:43:48Araq_yep
15:54:15*sorakun joined #nim
15:54:20*sorakun quit (Remote host closed the connection)
15:54:57*xet7 quit (Quit: Leaving)
16:03:54krux02I feel stupid now, by asking this question, but how do I add a string to a seq[string]?
16:04:12krux02add(seq[string], string) doesn't work
16:06:26*xet7 joined #nim
16:07:14*Varriount-Laptop joined #nim
16:08:54Araq_it help to not confuse types with values
16:09:00Araq_*it helps
16:09:45Araq_var x: seq[string] = @[]; x.add("string") # works
16:09:57Araq_let x: seq[string] = @[]; x.add("string") # fails
16:10:11Araq_likewise if 'x' is a parameter
16:10:31Araq_for a parameter you usually need to add 'var' to its type then.
16:12:52krux02Araq_: oh thanks, it was the var keyword
16:13:06Araq_I know.
16:13:31krux02sorry for disturbing, I feel a bit stupid now that I didn't get that on my own
16:14:25def-krux02: the error message for that could be improved, i guess. i still stumble over this sometimes
16:22:45Araq_def-: be my guest, I don't think that's too hard to do. I'm rewriting LL in order to fix every LL bug ... let's see how that will work out -.-
16:32:48*kniteli joined #nim
16:41:05*sora joined #nim
16:45:02*Matthias247 quit (Read error: Connection reset by peer)
16:58:00*bpr joined #nim
16:59:24*brson joined #nim
17:16:40*sepisoad joined #nim
17:21:29*sepisoad quit (Read error: Connection reset by peer)
17:24:08*Varriount-Laptop quit (Ping timeout: 256 seconds)
17:38:46*Jesin quit (Quit: Leaving)
17:43:10*Jesin joined #nim
17:46:27*shodan45 joined #nim
18:16:10*xet7 quit (Quit: Leaving)
18:21:02*Varriount-Laptop joined #nim
18:25:17*ephja quit (Quit: WeeChat 1.3)
18:29:14*sora quit (Remote host closed the connection)
18:33:39*bpr quit (Quit: Page closed)
18:36:06*Varriount-Laptop quit (Ping timeout: 256 seconds)
18:51:50*Nedl quit (Quit: Page closed)
19:25:24*BitPuffin|osx joined #nim
19:32:35*kniteli quit (Ping timeout: 264 seconds)
19:32:59*kniteli joined #nim
19:41:32*boopisaway quit (Ping timeout: 272 seconds)
19:44:30*kniteli quit (Remote host closed the connection)
20:08:56*boopisaway joined #nim
20:09:43*darkf quit (Quit: Leaving)
20:15:38*shodan45 quit (Quit: Konversation terminated!)
20:35:53*Jesin quit (Quit: Leaving)
20:38:14*Jesin joined #nim
20:45:31*irrequietus joined #nim
20:59:17*mat4 joined #nim
21:13:49*boopisaway is now known as boop
21:15:23*Varriount-Laptop joined #nim
21:39:34*mat4 quit (Quit: Verlassend)
21:41:31*sora joined #nim
21:54:33*bigfondue quit (Ping timeout: 265 seconds)
21:58:39*bigfondue joined #nim
22:04:56*Jesin quit (Quit: Leaving)
22:11:26*Varriount-Laptop quit (Ping timeout: 256 seconds)
22:12:55*Jesin joined #nim
22:33:38federico3dom96: nimble fails to build with nimblepkg/packageinfo.nim(113, 3) Error: undeclared identifier: 'map'
22:34:03dom96In what version of Nim?
22:34:57federico3Nim 0.12.0, Nimble v0.6.2
22:36:02*sora quit (Remote host closed the connection)
22:37:29dom96does the master version of Nimble compile?
22:40:48federico3it fails later with could not import: SSLv3_method
22:40:58federico3while nimble build works
22:46:18dom96huh. Do you have an old version of openssl maybe?
22:46:41federico3that seems unrelated to the map tho
22:55:35*brson quit (Quit: leaving)
22:59:29dom96master should compile with devel nim
22:59:42dom96if not then nimscript-support branch definitely does
22:59:47dom96and I will merge it into master soon
23:00:23federico3uhm? I want to build nimble 0.6.2 with nim 0.12.0
23:03:11dom96Can you build nimble master with nim 0.12.0?
23:05:30*ioplx joined #nim
23:06:58ioplxWhy is winapi now oldwinapi? Is there a new one?
23:07:53dom96It's not really old. But was moved out of the stdlib into a nimble package. Not sure why Araq decided to name it 'oldwinapi'.
23:08:10Araq_because varriount wrote a new better one
23:08:20ioplxWhere can i find it?
23:08:26Araq_and then his laptop was stolen ...
23:08:46dom96oh yeah
23:09:02Araq_and he had no backup to speak of -.-
23:09:28ioplxunfortunate
23:09:42ioplxSo oldwinapi is the old new thing then
23:09:43dom96Hopefully he's learned to create a git repo before beginning a project and push his code ASAP.
23:13:19NimBotnim-lang/Nim devel 3c557a0 trustable-code [+1 ±1 -0]: fix issue #3550
23:13:19NimBotnim-lang/Nim devel ebd14bd Andreas Rumpf [+1 ±1 -0]: Merge pull request #3666 from trustable-code/PR10... 2 more lines
23:14:24Araq_but it's also *old*winapi since it doesn't adhere to our naming conventions
23:18:03ioplxWhy is its licence "GNU LESSER GENERAL PUBLIC LICENSE"? Would this not mean, that i can not use it in a closed source project?
23:20:33Araq_it should have a static linking exception
23:20:56*aziz quit (Remote host closed the connection)
23:21:22ioplxOk, have to read the details. I dont like licences ...
23:21:36Araq_I couldn't change the license from what FPC uses since it was based on FPC's winapi wrapper. Well maybe I could, but I don't really know.
23:21:49Araq_and yeah, another reason why we like a new wrapper
23:22:20Araq_but it doesn't cause problems for your closed source project
23:37:31TrustableHi all. I plan to create a GUI library for Nim in the style of the Claro GUI library. I wrote down my concept here: http://yourpart.eu/p/Nim-GUI-library . Please give me feedback what you think about the structure.
23:40:02*boop is now known as boopisaway
23:49:46*Demon_Fox quit (Quit: Leaving)
23:49:48*irrequietus quit ()
23:59:03*sorakun joined #nim