| 00:00:16 | * | MedMeat joined #nim |
| 00:00:44 | * | MedMeat left #nim ("Leaving") |
| 00:10:32 | * | brson_ joined #nim |
| 00:11:20 | * | kulelu88 quit (Ping timeout: 260 seconds) |
| 00:12:30 | * | Jesin quit (Ping timeout: 260 seconds) |
| 00:13:16 | * | cyraxjoe quit (Quit: No Ping reply in 180 seconds.) |
| 00:13:32 | * | cyraxjoe joined #nim |
| 00:13:37 | * | Jesin joined #nim |
| 00:13:40 | * | brson quit (Ping timeout: 260 seconds) |
| 00:17:06 | * | tmm1 quit (Read error: Connection reset by peer) |
| 00:20:37 | * | Matthias247 quit (Read error: Connection reset by peer) |
| 00:23:20 | * | kulelu88 joined #nim |
| 00:24:52 | * | ephja quit (Ping timeout: 272 seconds) |
| 00:29:12 | * | tmm1 joined #nim |
| 00:43:01 | * | Demos quit (Read error: Connection reset by peer) |
| 01:07:55 | * | tmm1 quit (Ping timeout: 260 seconds) |
| 01:10:59 | * | krux02 joined #nim |
| 01:11:22 | krux02 | hello people, is somebody online? |
| 01:15:22 | Araq_ | hi krux02 |
| 01:18:13 | * | tmm1 joined #nim |
| 01:36:48 | * | Varriount-Laptop joined #nim |
| 01:36:57 | Varriount-Laptop | >_> |
| 01:36:59 | Varriount-Laptop | <_< |
| 01:37:04 | krux02 | hi |
| 01:37:16 | krux02 | ^_^ |
| 01:40:07 | Varriount-Laptop | Araq_: Finals are over, I'm free! (For 3 weeks) |
| 01:43:43 | * | brson_ quit (Ping timeout: 260 seconds) |
| 01:46:49 | krux02 | I am not Araq, but I am here |
| 01:47:50 | * | tmm1 quit (Ping timeout: 272 seconds) |
| 01:49:49 | Varriount-Laptop | krux02: Well, yes, I know that. |
| 01:50:21 | Varriount-Laptop | I'm just letting him know so that he can yell at me for being gone so long. |
| 01:53:06 | krux02 | do you know, if it is possible to get the value of a const in a typed macro expression |
| 01:53:52 | krux02 | with getImpl I can get the expression tree that created the const, and if I want to I can wirite a recurive eval, but I thought, maybe there is something easier |
| 01:55:23 | * | brson joined #nim |
| 01:55:27 | * | Demon_Fox joined #nim |
| 01:57:33 | * | krux02 quit (Quit: Page closed) |
| 01:59:27 | Araq_ | getImpl should return the reduced AST, I think |
| 01:59:43 | * | Varriount-Laptop waves at Araq_ |
| 02:08:39 | * | vendethiel joined #nim |
| 02:11:09 | * | brson quit (Quit: leaving) |
| 02:16:20 | * | [CBR]Unspoken quit (Ping timeout: 265 seconds) |
| 02:19:43 | * | ulyssesdwolfe joined #nim |
| 02:30:38 | * | [CBR]Unspoken joined #nim |
| 02:31:35 | * | vendethiel quit (Ping timeout: 240 seconds) |
| 02:41:07 | * | ulyssesdwolfe quit (Ping timeout: 260 seconds) |
| 02:50:25 | * | kulelu88 left #nim ("Leaving") |
| 03:51:37 | * | ulyssesdwolfe joined #nim |
| 04:17:43 | * | pregressive joined #nim |
| 04:19:00 | * | tmm1 joined #nim |
| 04:47:15 | * | pregressive quit (Remote host closed the connection) |
| 04:53:24 | * | tmm1 quit (Ping timeout: 256 seconds) |
| 04:58:04 | * | tmm1 joined #nim |
| 05:02:19 | * | tmm1 quit (Read error: Connection reset by peer) |
| 05:06:15 | * | lyro quit (Ping timeout: 260 seconds) |
| 05:06:54 | * | lyro joined #nim |
| 05:14:25 | * | solidsnack joined #nim |
| 06:14:32 | * | darkf joined #nim |
| 06:20:43 | * | nande quit (Remote host closed the connection) |
| 06:28:36 | * | Varriount-Laptop quit (Ping timeout: 256 seconds) |
| 06:58:26 | * | bigfondue quit (Ping timeout: 240 seconds) |
| 06:58:41 | * | gunn quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
| 06:59:54 | * | gunn joined #nim |
| 07:00:20 | * | bigfondue joined #nim |
| 07:02:54 | * | ephja joined #nim |
| 07:12:57 | * | sepisoad joined #nim |
| 07:19:26 | * | gunn quit (Ping timeout: 246 seconds) |
| 07:29:35 | * | sepisoad quit (Ping timeout: 264 seconds) |
| 07:30:18 | * | lokulin left #nim (#nim) |
| 07:35:26 | * | ulyssesdwolfe quit (Ping timeout: 240 seconds) |
| 07:39:58 | * | Demon_Fox quit (Quit: Leaving) |
| 07:46:30 | * | solidsnack quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
| 07:52:09 | * | solidsnack joined #nim |
| 07:53:35 | * | BitPuffin|osx quit (Ping timeout: 240 seconds) |
| 08:16:48 | * | ulyssesdwolfe joined #nim |
| 08:17:21 | * | ulyssesdwolfe quit (Client Quit) |
| 08:18:34 | * | solidsnack is now known as randommmmm |
| 08:18:53 | * | randommmmm is now known as solidsnack |
| 08:22:09 | * | xiongxin joined #nim |
| 08:22:13 | * | solidsnack quit (Quit: Textual IRC Client: www.textualapp.com) |
| 08:28:38 | * | solidsna_ joined #nim |
| 08:28:45 | * | solidsna_ quit (Client Quit) |
| 08:36:07 | * | xiongxin quit (Quit: Page closed) |
| 10:28:26 | * | M-max quit (Remote host closed the connection) |
| 10:28:26 | * | M-Quora quit (Remote host closed the connection) |
| 10:32:11 | * | M-max joined #nim |
| 10:48:00 | * | pregressive joined #nim |
| 10:58:07 | * | CcxCZ quit (Ping timeout: 260 seconds) |
| 11:08:02 | * | M-Quora joined #nim |
| 11:08:14 | * | pregressive quit (Remote host closed the connection) |
| 11:14:36 | * | CcxCZ joined #nim |
| 11:17:23 | * | Matthias247 joined #nim |
| 11:22:26 | * | darkf quit (Read error: Connection reset by peer) |
| 11:25:27 | * | darkf joined #nim |
| 12:36:05 | federico3 | dom96: I successfully rebuilt the reuseport commit against devel on a kernel 3.2 using rm nimcache -rf && cd csources && sh build.sh && cd .. && bin/nim c koch && ./koch boot -d:release |
| 12:37:00 | dom96 | Did you build nimble successfully? |
| 12:39:11 | federico3 | now yes |
| 13:24:27 | * | sepisoad joined #nim |
| 13:33:36 | * | sepisoad quit (Ping timeout: 256 seconds) |
| 13:41:20 | * | HakanD joined #nim |
| 13:42:11 | * | Amun_Ra quit (Ping timeout: 264 seconds) |
| 13:48:18 | * | matkuki joined #nim |
| 13:49:16 | * | Amun_Ra joined #nim |
| 14:11:02 | * | dohxis joined #nim |
| 14:11:56 | dohxis | Everyone is using Aporia IDE or a text editor? I cant get Aporia to work for me |
| 14:12:50 | reactormonk | dohxis, emacs here |
| 14:17:20 | dohxis | I will go for Atom I guess. Emacs has deep learning curve |
| 14:23:54 | * | HakanD quit (Quit: Be back later ...) |
| 14:24:09 | reactormonk | dohxis, spacemacs. Not sure if javascript or elisp is more wierd ^^ |
| 14:29:16 | * | HakanD joined #nim |
| 14:30:27 | * | dohxis quit (Ping timeout: 252 seconds) |
| 14:35:01 | * | Jesin quit (Quit: Leaving) |
| 14:59:34 | * | pregressive joined #nim |
| 15:07:13 | * | Jesin joined #nim |
| 15:13:35 | * | dohxis joined #nim |
| 15:13:52 | dohxis | you you tell me how to install nim-mode in spacemars. Tutorial is not really informative |
| 15:27:45 | * | sepisoad joined #nim |
| 15:31:42 | * | flyx is not using Aporia because it's GTK, but wonders if he can manage to put nimsuggest in another editor |
| 15:46:35 | * | Varriount-Laptop joined #nim |
| 15:49:04 | * | Demon_Fox joined #nim |
| 15:51:18 | * | Varriount-Laptop quit (Ping timeout: 256 seconds) |
| 15:51:30 | * | Varriount-Laptop joined #nim |
| 15:55:42 | * | dohxis quit (Ping timeout: 252 seconds) |
| 15:56:16 | * | Trustable joined #nim |
| 16:13:04 | * | sepisoad quit (Ping timeout: 245 seconds) |
| 16:16:24 | * | brson joined #nim |
| 16:16:26 | * | Varriount-Laptop quit (Ping timeout: 276 seconds) |
| 16:16:27 | federico3 | dom96: vim |
| 16:16:44 | federico3 | oops, I meant dohxis |
| 16:18:10 | * | pregressive quit (Remote host closed the connection) |
| 16:19:25 | dom96 | federico3: hrm, how come it works on 3.2 then? |
| 16:21:19 | * | Varriount-Laptop joined #nim |
| 16:23:50 | federico3 | dom96: how's Nim selecting the right socket.h to import from? |
| 16:32:26 | * | JStoker quit (Ping timeout: 240 seconds) |
| 16:32:42 | * | pregressive joined #nim |
| 16:34:09 | * | JStoker joined #nim |
| 16:42:06 | * | Matthias247 quit (Read error: Connection reset by peer) |
| 16:44:09 | * | boopisaway is now known as boop |
| 16:49:41 | * | Nedf joined #nim |
| 16:49:53 | * | Demon_Fox quit (Quit: Leaving) |
| 16:51:13 | * | matkuki quit (Quit: ChatZilla 0.9.92 [Firefox 43.0.1/20151216175450]) |
| 16:51:15 | Nedf | Hello I am trying to build a nimble package. I cerated a simple .nimble file with srcDir. Everything looks like working, but how to call procedures now? package.test() and test() looks like not working. |
| 17:01:50 | dom96 | federico3: no idea |
| 17:02:22 | dom96 | Nedf: Did you import the package? |
| 17:02:58 | Nedf | Yes. it looks like if I add * like test*() it works |
| 17:03:43 | dom96 | yeah, you need to export the procedure |
| 17:03:49 | dom96 | That's what the `*` does. |
| 17:11:08 | * | pregressive quit (Remote host closed the connection) |
| 17:17:03 | * | BitPuffin|osx joined #nim |
| 17:19:30 | federico3 | dom96: it might have picked up the sys/socket.h from a newer kernel sources |
| 17:20:50 | * | HakanD quit (Quit: Be back later ...) |
| 17:32:15 | * | irrequietus joined #nim |
| 17:32:18 | * | pregressive joined #nim |
| 17:48:42 | * | zepolen joined #nim |
| 17:58:28 | * | Varriount-Laptop quit (Ping timeout: 276 seconds) |
| 18:04:55 | * | tmm1 joined #nim |
| 18:19:16 | * | Varriount-Laptop joined #nim |
| 18:32:55 | * | Varriount-Laptop quit (Ping timeout: 276 seconds) |
| 18:52:12 | * | darkf quit (Quit: Leaving) |
| 18:52:58 | * | vendethiel joined #nim |
| 19:12:14 | Nedf | how to export variables? |
| 19:13:34 | * | HakanD joined #nim |
| 19:13:49 | * | pregressive quit (Remote host closed the connection) |
| 19:17:25 | * | irrequietus quit () |
| 19:25:39 | Araq_ | Nedf: var x*: int |
| 19:35:21 | * | tmm1_ joined #nim |
| 19:38:10 | * | tmm1 quit (Ping timeout: 272 seconds) |
| 19:38:47 | * | tmm1_ is now known as tmm1 |
| 19:44:46 | * | tmm1 quit (Ping timeout: 240 seconds) |
| 19:48:07 | * | pregressive joined #nim |
| 19:50:39 | * | Jesin quit (Quit: Leaving) |
| 19:52:20 | * | Nedf quit (Quit: Page closed) |
| 20:36:50 | flyx | how can I specify the type of an empty array constructor? |
| 20:38:58 | ephja | you need to annotate the left-hand side |
| 20:40:04 | flyx | well, strictly spoken, it is |
| 20:40:16 | flyx | I have code like this: |
| 20:40:17 | flyx | https://gist.github.com/flyx/708e1c5ea6687915a7ff |
| 20:41:20 | flyx | I want to be able to provide an empty array as parameter, but I can't figure out how |
| 20:41:47 | * | Varriount-Laptop joined #nim |
| 20:50:14 | Araq_ | flyx: that's due to the template, it works with a proc |
| 20:50:30 | Araq_ | for reasons that have to do with how substitutions work with templates |
| 20:50:30 | flyx | Araq_: I know, but it needs to be a template |
| 20:50:48 | flyx | I figured I can do "when arr.len > 0: ..." |
| 20:51:05 | Araq_ | array[0, int]([]) |
| 20:55:36 | * | Matthias247 joined #nim |
| 21:00:28 | * | Varriount-Laptop quit (Ping timeout: 276 seconds) |
| 21:03:42 | * | pregressive quit (Remote host closed the connection) |
| 22:03:20 | * | Jesin joined #nim |
| 22:03:49 | * | krux02 joined #nim |
| 22:07:56 | * | Salewski joined #nim |
| 22:09:31 | * | Siggma joined #nim |
| 22:10:04 | Salewski | In IRC log yesterday, Araq wrote: "when I need dyndisp, I use a closure. works much better anyway." No idea what that really means -- where can I read about that? |
| 22:10:37 | ephja | dynamic dispatch? |
| 22:10:52 | Salewski | Yes. |
| 22:11:19 | Salewski | But how can we replace that with a closure? |
| 22:13:00 | Salewski | Is there an example somewhere? |
| 22:17:59 | * | HakanD quit (Quit: Be back later ...) |
| 22:20:16 | * | Salewski quit () |
| 22:23:55 | * | vqrs quit (Ping timeout: 240 seconds) |
| 22:26:45 | * | vqrs joined #nim |
| 22:32:43 | federico3 | any i3 user here? https://github.com/FedericoCeratto/nimi3status |
| 22:39:30 | dom96 | federico3: wow, very cool |
| 22:39:36 | dom96 | Add some screenshots to the readme. |
| 22:39:59 | dom96 | also, your installation instructions seem to assume that nimble is already installed despite the fact that you show people how to install nim :) |
| 22:40:59 | federico3 | oopsie, nimble is not in the nim package |
| 22:41:50 | federico3 | also I have to pass nimble the url to the right github repo (as i'ts not listed in packages.json yet) |
| 22:45:17 | dom96 | Just gotta `nimble init`, edit the .nimble file a bit, git add the .nimble file, push and then `nimble publish`. |
| 22:45:39 | ephja | oooh, init :p |
| 22:47:34 | federico3 | Error: unhandled exception: Unable to open file nimi3status.nimble for writing: No such file or directory [NimbleError] |
| 22:49:09 | federico3 | it should check that the file is already there |
| 22:51:47 | strcmp1 | yeah thats really cool |
| 22:51:52 | federico3 | is nimble publish in nible v0.6.2 ? |
| 22:52:18 | strcmp1 | but unfortunately i cant test, i dont use i3 and i guess like all tiled WMs it requires some learning to really test properly |
| 22:55:22 | krux02 | I just had some issues with macros.sameType, is this a bug? http://forum.nim-lang.org/t/1888 |
| 22:55:45 | federico3 | dom96: that worked beautifully |
| 22:56:43 | dom96 | federico3: cool. Araq_ wrote `publish` so props to him :) |
| 22:57:23 | federico3 | maybe nimble should be released |
| 22:57:38 | dom96 | and 'init' was written by another contributor whose name I can't remember. |
| 22:59:40 | Araq_ | krux02: type of MyVec3[float] is typedesc[MyVec3[float]], so no bug here ;-) |
| 23:00:05 | dom96 | federico3: Yeah. Once nimscript support lands |
| 23:00:14 | dom96 | Which should be soon (in Valve time) |
| 23:02:02 | * | boop is now known as boopisaway |
| 23:02:34 | strcmp1 | whats Valve time? |
| 23:03:28 | strcmp1 | ha i see |
| 23:03:31 | strcmp1 | https://developer.valvesoftware.com/wiki/Valve_Time#Valve_Time |
| 23:03:36 | ephja | :-) |
| 23:08:15 | krux02 | Araq_: then how do I do the type test? |
| 23:09:30 | Araq_ | skip the typedesc |
| 23:09:46 | Araq_ | via n[1] or something |
| 23:09:52 | * | Siggma quit (Quit: need to run, bye) |
| 23:13:23 | federico3 | dom96: thanks - nimble and screenshot added |
| 23:14:09 | dom96 | federico3: Awesome. I shall tweet about it :) |
| 23:16:11 | krux02 | Araq_: oh with an [1] it works, but it feels a bit awkward and random |
| 23:16:37 | Araq_ | but it's not |
| 23:16:44 | Araq_ | var x: int |
| 23:16:48 | Araq_ | type(x) == int |
| 23:16:56 | Araq_ | type(int) == typedesc[int] |
| 23:17:20 | Araq_ | a variable has a type and a type has a metatype. or something. |
| 23:18:02 | federico3 | nimble install is not compiling the binary tho |
| 23:18:39 | federico3 | nimble init could ask the user for package version, extra files to be installed, compiler flags... |
| 23:19:23 | ephja | or take arguments |
| 23:20:55 | Araq_ | krux02: the real problem here is that 'sameType' is not 'isOfType' which would be easier to work with |
| 23:20:56 | ephja | I think flags can only go in a cfg file |
| 23:22:40 | dom96 | federico3: yep, that's on my todo. |
| 23:22:51 | ephja | see the cfg for nim |
| 23:24:28 | krux02 | Araq_: I cant find any 'isOfType' in the documentation |
| 23:24:55 | Araq_ | well I said *would be* |
| 23:25:04 | Araq_ | indicating it doesn't exist :P |
| 23:26:32 | * | Jesin quit (Quit: Leaving) |
| 23:26:50 | krux02 | :-S |
| 23:27:21 | federico3 | ok, now it builds and installs |
| 23:28:27 | * | Jesin joined #nim |
| 23:29:07 | federico3 | bye |
| 23:32:23 | Araq_ | er |
| 23:32:37 | Araq_ | but how come if macros.sameType( getType(int), x.getType) works then? --> bug report please |
| 23:42:43 | * | Varriount-Laptop joined #nim |
| 23:46:15 | * | sepisoad joined #nim |
| 23:48:38 | * | sepisoad quit (Remote host closed the connection) |
| 23:52:22 | * | sepisoad joined #nim |