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:02 | tankfeeder | hi all |
08:27:40 | tankfeeder | i have access to solaris 11, aix 7, hpux |
08:28:11 | tankfeeder | does anyone want check nim on this platforms, maybe compilers ? |
08:29:07 | tankfeeder | if yes, find me on freenode |
08:29:13 | tankfeeder | see you. |
08:29:15 | * | tankfeeder left #nim (#nim) |
08:46:36 | federico3 | nice. dom96 ^^^ :) |
08:49:10 | federico3 | speaking 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:34 | strcmp1 | cubieboard? |
09:29:50 | strcmp1 | oic |
09:30:19 | strcmp1 | i thought it was like a spirit board and i somehow ended up in #satanists |
09:31:41 | strcmp1 | wouldnt be the first time |
09:54:45 | * | HakanD quit (Quit: Be back later ...) |
10:01:56 | * | HakanD joined #nim |
10:03:19 | flyx | is 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:25 | Araq_ | flyx: unfortunately not |
11:25:52 | * | Varriount-Laptop joined #nim |
11:25:55 | flyx | aand I also cannot predeclare a proc which returns an iterator, it seems |
11:27:12 | flyx | shouldn't this at least work? |
11:30:03 | flyx | ah 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:23 | sora | hello o/ |
12:06:40 | Araq_ | hi sora, welcome |
12:06:57 | sora | Araq_: hello, how are you? |
12:09:26 | Araq_ | everything is good |
12:09:39 | sora | That's good to hear :) |
12:10:19 | sora | I just checked nim language and I find it really cool, so I thought I could get in touch with the community |
12:11:39 | Araq_ | nice to hear |
12:17:05 | sora | Is there any IDE supporting the language? |
12:17:16 | sora | like eclipse plugin or something? |
12:17:40 | Xe | I personally use this IDE called "zsh" |
12:18:04 | reactormonk | sora, various editors can talk to the compiler for a bit of help |
12:19:19 | sora | interesting! isn't zsh shell? |
12:19:36 | Xe | yes |
12:20:04 | Xe | it 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:09 | Araq_ | the best results that I've seen so far are Atom+Nim plugin |
12:44:57 | * | Trustable joined #nim |
12:48:25 | sora | looks like i'll try both of them :) |
12:52:56 | * | Nedl joined #nim |
12:54:00 | Nedl | It 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:55 | dom96 | Nedl: Maybe this would help? http://nim-lang.org/docs/manual.html#generics-bind-statement |
13:21:19 | Araq_ | Nedl: you're looking for the 'export' keyword |
13:24:05 | Nedl | export actually works. But only for sdl2, not for sdl2/gfx |
13:25:15 | Araq_ | export sdl2/gfx ? |
13:26:50 | Nedl | Yeah. I need import sdl2, sdl2/gfx just like in example. |
13:27:34 | Araq_ | that's strange |
13:27:45 | Araq_ | maybe it's got to do with the paths |
13:28:28 | Nedl | worked |
13:28:50 | Nedl | import 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:34 | krux02 | Araq_: is it possible to get the value of a const symbol within a macro? |
13:51:06 | Araq_ | krux02: as I said, just fix the compiler, that's what should be done |
13:52:06 | Araq_ | hrm, but the implemenation is correct |
13:52:10 | Araq_ | what's the problem? |
13:55:23 | krux02 | Araq_: here I made a forum post about it http://forum.nim-lang.org/t/1889 |
13:57:24 | Araq_ | getValue[string](subNode) # that's just subNode.strVal |
13:57:59 | Araq_ | 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:45 | Nedl | Can 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:38 | Araq_ | Nedl: yes you can |
15:36:49 | Araq_ | the API still sucks but look at how nimble does it, check out its nimscript-support branch |
15:40:24 | Nedl | I guess the simpler way is just to use json or justa txt file? |
15:43:48 | Araq_ | 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:54 | krux02 | I feel stupid now, by asking this question, but how do I add a string to a seq[string]? |
16:04:12 | krux02 | add(seq[string], string) doesn't work |
16:06:26 | * | xet7 joined #nim |
16:07:14 | * | Varriount-Laptop joined #nim |
16:08:54 | Araq_ | it help to not confuse types with values |
16:09:00 | Araq_ | *it helps |
16:09:45 | Araq_ | var x: seq[string] = @[]; x.add("string") # works |
16:09:57 | Araq_ | let x: seq[string] = @[]; x.add("string") # fails |
16:10:11 | Araq_ | likewise if 'x' is a parameter |
16:10:31 | Araq_ | for a parameter you usually need to add 'var' to its type then. |
16:12:52 | krux02 | Araq_: oh thanks, it was the var keyword |
16:13:06 | Araq_ | I know. |
16:13:31 | krux02 | sorry for disturbing, I feel a bit stupid now that I didn't get that on my own |
16:14:25 | def- | krux02: the error message for that could be improved, i guess. i still stumble over this sometimes |
16:22:45 | Araq_ | 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:38 | federico3 | dom96: nimble fails to build with nimblepkg/packageinfo.nim(113, 3) Error: undeclared identifier: 'map' |
22:34:03 | dom96 | In what version of Nim? |
22:34:57 | federico3 | Nim 0.12.0, Nimble v0.6.2 |
22:36:02 | * | sora quit (Remote host closed the connection) |
22:37:29 | dom96 | does the master version of Nimble compile? |
22:40:48 | federico3 | it fails later with could not import: SSLv3_method |
22:40:58 | federico3 | while nimble build works |
22:46:18 | dom96 | huh. Do you have an old version of openssl maybe? |
22:46:41 | federico3 | that seems unrelated to the map tho |
22:55:35 | * | brson quit (Quit: leaving) |
22:59:29 | dom96 | master should compile with devel nim |
22:59:42 | dom96 | if not then nimscript-support branch definitely does |
22:59:47 | dom96 | and I will merge it into master soon |
23:00:23 | federico3 | uhm? I want to build nimble 0.6.2 with nim 0.12.0 |
23:03:11 | dom96 | Can you build nimble master with nim 0.12.0? |
23:05:30 | * | ioplx joined #nim |
23:06:58 | ioplx | Why is winapi now oldwinapi? Is there a new one? |
23:07:53 | dom96 | It'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:10 | Araq_ | because varriount wrote a new better one |
23:08:20 | ioplx | Where can i find it? |
23:08:26 | Araq_ | and then his laptop was stolen ... |
23:08:46 | dom96 | oh yeah |
23:09:02 | Araq_ | and he had no backup to speak of -.- |
23:09:28 | ioplx | unfortunate |
23:09:42 | ioplx | So oldwinapi is the old new thing then |
23:09:43 | dom96 | Hopefully he's learned to create a git repo before beginning a project and push his code ASAP. |
23:13:19 | NimBot | nim-lang/Nim devel 3c557a0 trustable-code [+1 ±1 -0]: fix issue #3550 |
23:13:19 | NimBot | nim-lang/Nim devel ebd14bd Andreas Rumpf [+1 ±1 -0]: Merge pull request #3666 from trustable-code/PR10... 2 more lines |
23:14:24 | Araq_ | but it's also *old*winapi since it doesn't adhere to our naming conventions |
23:18:03 | ioplx | Why 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:33 | Araq_ | it should have a static linking exception |
23:20:56 | * | aziz quit (Remote host closed the connection) |
23:21:22 | ioplx | Ok, have to read the details. I dont like licences ... |
23:21:36 | Araq_ | 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:49 | Araq_ | and yeah, another reason why we like a new wrapper |
23:22:20 | Araq_ | but it doesn't cause problems for your closed source project |
23:37:31 | Trustable | Hi 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 |