| 00:05:50 | cheatfate | Varriount, are you here? |
| 00:06:23 | cheatfate | what are you going to do with https://github.com/Varriount/nimrod-libcef |
| 00:13:15 | * | kulelu88 left #nim ("Leaving") |
| 00:40:31 | * | francisl joined #nim |
| 00:43:08 | * | irrequietus quit () |
| 00:54:11 | * | francisl quit (Quit: francisl) |
| 01:16:37 | * | vendethiel joined #nim |
| 01:25:27 | * | francisl joined #nim |
| 01:38:11 | * | vendethiel quit (Ping timeout: 248 seconds) |
| 02:05:32 | * | brson quit (Ping timeout: 260 seconds) |
| 02:25:33 | * | vendethiel joined #nim |
| 02:48:49 | * | vendethiel quit (Ping timeout: 240 seconds) |
| 03:36:44 | * | brson joined #nim |
| 04:00:42 | * | Heartmender quit (Ping timeout: 268 seconds) |
| 04:11:37 | * | Heartmender joined #nim |
| 04:11:58 | * | Heartmender is now known as Guest69086 |
| 04:15:32 | * | endragor joined #nim |
| 04:15:52 | * | endragor quit (Remote host closed the connection) |
| 04:16:21 | * | endragor joined #nim |
| 04:17:32 | * | krux02 quit (Remote host closed the connection) |
| 04:30:31 | * | desophos quit (Read error: Connection reset by peer) |
| 04:40:25 | * | francisl quit (Quit: francisl) |
| 05:02:06 | * | brson quit (Ping timeout: 276 seconds) |
| 05:09:49 | * | _stowa joined #nim |
| 05:37:40 | * | endragor quit (Remote host closed the connection) |
| 05:50:15 | * | endragor joined #nim |
| 05:50:27 | * | Demon_Fox joined #nim |
| 06:22:50 | * | gokr joined #nim |
| 06:24:03 | * | endragor_ joined #nim |
| 06:28:03 | * | endragor quit (Ping timeout: 264 seconds) |
| 06:30:14 | * | bjz joined #nim |
| 06:38:23 | * | endragor_ quit (Remote host closed the connection) |
| 06:38:52 | * | endragor joined #nim |
| 06:54:41 | * | gunn_ quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
| 07:49:16 | * | rok joined #nim |
| 08:11:37 | * | alex__ joined #nim |
| 08:12:38 | alex__ | Hello,I followed installation steps,but got "warning: "./..." matched no packages",why? |
| 08:14:24 | * | Gonzih quit (Quit: WeeChat 1.4) |
| 08:15:51 | * | Gonzih joined #nim |
| 08:17:51 | * | endragor quit (Remote host closed the connection) |
| 08:18:12 | * | Gonzih quit (Client Quit) |
| 08:18:37 | * | Gonzih joined #nim |
| 08:19:54 | vegansk | alex__, hi! On which step you receive this warning? |
| 08:20:16 | alex__ | cd csources && sh build.sh |
| 08:26:27 | vegansk | Hmm, works for me. But I use devel branch and the documentation describes master. Publish full build log on pastebin please |
| 08:30:18 | * | endragor joined #nim |
| 08:32:50 | * | yglukhov joined #nim |
| 08:33:16 | * | Trustable joined #nim |
| 08:54:24 | * | vendethiel joined #nim |
| 08:57:44 | * | dorei joined #nim |
| 08:59:15 | * | themagician joined #nim |
| 09:11:57 | alex__ | nothing,that is all I got |
| 09:12:26 | alex__ | I have asked a question here:https://github.com/nim-lang/Nim/issues/3974 |
| 09:13:11 | * | Gonzih quit (Read error: Connection reset by peer) |
| 09:18:27 | * | vendethiel quit (Ping timeout: 264 seconds) |
| 09:20:01 | * | Gonzih joined #nim |
| 09:35:02 | Varriount | cheatfate: I should probably delete it. I doubt it works. |
| 09:44:53 | cheatfate | Varriount, libCEF your your wrapper? |
| 10:01:53 | * | darkf quit (Quit: Leaving) |
| 10:02:08 | vegansk | alex__, see my comment here: https://github.com/nim-lang/Nim/issues/3974 |
| 10:02:15 | * | yglukhov quit (Ping timeout: 246 seconds) |
| 10:05:18 | alex__ | ls show :build64.bat build.bat build.sh c_code makefile readme.markdown scripts.nim |
| 10:14:29 | * | yglukhov joined #nim |
| 10:14:31 | * | yglukhov quit (Remote host closed the connection) |
| 10:15:04 | * | yglukhov joined #nim |
| 10:20:58 | * | vendethiel joined #nim |
| 10:22:06 | vegansk | alex__, run sh in verbose mode as described in the issue |
| 10:23:23 | alex__ | result added |
| 10:23:35 | cheatfate | alex__, "please give uname -a" result also |
| 10:24:18 | cheatfate | and to be exactly sure, you following instructions from "Installation from github" or "Installation based on generated C code" |
| 10:25:17 | * | endragor quit (Remote host closed the connection) |
| 10:25:42 | cheatfate | ? |
| 10:27:54 | alex__ | "unamr -r" shows 3.13.0-74-generic |
| 10:30:28 | vegansk | alex__, show the result of the cmd: echo `uname -m` | tr "[:upper:]" "[:lower:]" |
| 10:32:03 | alex__ | warning: "./..." matched no packages |
| 10:32:03 | alex__ | no packages to test |
| 10:33:01 | vegansk | ok, next command: which tr |
| 10:33:24 | alex__ | I have a customized alias called "tr" too,so stupid |
| 10:33:53 | vegansk | bingo! :-) |
| 10:34:15 | cheatfate | aaand? |
| 10:34:33 | cheatfate | vegansk, stop doing like dr. house, explain :) |
| 10:35:29 | alex__ | working now,thank you guys |
| 10:36:34 | alex__ | here is a little bit quite |
| 10:37:30 | cheatfate | hmm interesting is it possible to adopt sh file not to use aliases? |
| 10:39:15 | flyx | possibly this: /usr/bin/env tr |
| 10:39:59 | alex__ | maybe,putting a detection in the front of installation script is better |
| 10:40:50 | cheatfate | https://en.wikipedia.org/wiki/Alias_(command)#Overriding_aliases |
| 10:41:26 | cheatfate | I'm not very good with shell scripting but somebody needs to patch it so it must not depend on user environment |
| 10:41:54 | cheatfate | alex__, please reopen Issue i will add this comment |
| 10:43:08 | * | arnetheduck joined #nim |
| 10:44:00 | * | vendethiel quit (Ping timeout: 276 seconds) |
| 10:50:59 | vegansk | cheatfate, maybe it's better to use ``unalias`` in the beginning of the script and leave the rest of the script unmodified |
| 10:52:11 | cheatfate | is it supported by ksh, zsh, csh, tcsh, bash and many others? |
| 10:55:01 | vegansk | we don't need wide support for it, only for the shell used in this concrete script |
| 10:56:04 | vegansk | for bash, we can use ``unalias -a`` to disable aliases completely, need to check the others. |
| 10:57:05 | cheatfate | for csh - ``unalias *`` |
| 10:57:30 | cheatfate | but i think ``unalias -a`` is also will work |
| 10:58:23 | vegansk | just checked on ubuntu 14.04. it works |
| 10:59:40 | * | Demon_Fox quit (Quit: Leaving) |
| 11:04:31 | cheatfate | its a problem, bash works with ``unalias -a``, but not working with ``unalias *``. csh/tcsh dont know anything about ``unalias -a`` but working good with ``unalias *`` |
| 11:04:41 | vegansk | zsh needs ``unalias -m *`` |
| 11:07:10 | cheatfate | ksh working with ``unalias -a`` and ``unalias *`` fine |
| 11:07:44 | cheatfate | there also ash and dash |
| 11:08:00 | cheatfate | and busybox shell |
| 11:08:23 | cheatfate | and i think it will be enough |
| 11:08:37 | vegansk | yes, but we need it to work with ``/bin/sh`` and for lunuxes it's bash or dash. |
| 11:09:01 | vegansk | s/lunuxes/linuxes/ |
| 11:09:36 | vegansk | what about the other unixes? |
| 11:10:10 | cheatfate | we can make ``unalias AA BB CC DD EE FF GG`` |
| 11:16:37 | cheatfate | found this http://stackoverflow.com/questions/3327013/how-to-determine-the-current-shell-im-working-on and this is real pain |
| 11:17:17 | vegansk | I think that it's hard to maintain the list of the needed commands |
| 11:18:31 | cheatfate | this build.sh is generated |
| 11:19:06 | vegansk | I know, we need to maintain the template. |
| 11:19:23 | vegansk | Another idea, we can use #!/usr/bin/env bash |
| 11:20:46 | cheatfate | but openbsd/freebsd/netbsd and some linuxes not install bash by default |
| 11:21:59 | cheatfate | i think the most easy way to modify Nim/tools/niminst/buildsh.tmpl and add `XXX` to executed commands |
| 11:23:01 | vegansk | Crazy variant: call ``unalias -a``. If it fails, call ``unalias *``. And if it fails too, call ``unalias -m *`` :-) |
| 11:24:04 | * | Demon_Fox joined #nim |
| 11:26:24 | * | endragor joined #nim |
| 11:31:03 | * | endragor quit (Ping timeout: 264 seconds) |
| 11:34:18 | vegansk | Can anybody explain me please, what's the problem with this code: https://gist.github.com/vegansk/4ac21b238c4d4bf329da. |
| 11:47:06 | cheatfate | macro magic :) |
| 11:58:44 | * | endragor joined #nim |
| 12:13:07 | * | alex__ quit (Quit: Leaving) |
| 12:19:18 | * | francisl joined #nim |
| 12:19:35 | * | Arrrr joined #nim |
| 12:33:26 | * | boopsiesisaway is now known as boopsies |
| 12:34:09 | * | bjz quit (Ping timeout: 260 seconds) |
| 12:36:53 | * | bjz joined #nim |
| 12:39:39 | * | krux02 joined #nim |
| 12:52:09 | * | rok quit (Quit: rok) |
| 13:15:55 | * | rok joined #nim |
| 13:22:06 | * | francisl quit (Quit: francisl) |
| 13:29:52 | * | enthus1ast joined #nim |
| 13:32:19 | enthus1ast | Any idea why a program with only imports ospaths is not compiling. Error: c:\nim\lib\pure\ospaths.nim(173, 19) Error: invalid pragma: rtl |
| 13:32:32 | enthus1ast | have i broken my nim installation? : ) |
| 13:36:34 | Arrrr | You are no alone: invalid pragma: rtl |
| 13:54:19 | def- | enthus1ast: just import os |
| 14:10:13 | enthus1ast | def-: Nope |
| 14:10:28 | enthus1ast | even then still the same |
| 14:11:05 | enthus1ast | oh import os instead of ospaths |
| 14:11:40 | enthus1ast | yeah thx def- |
| 14:19:10 | * | vendethiel joined #nim |
| 14:34:10 | * | saml joined #nim |
| 14:39:57 | * | zama quit (Ping timeout: 276 seconds) |
| 14:42:03 | * | zama joined #nim |
| 14:42:15 | * | vendethiel quit (Ping timeout: 246 seconds) |
| 14:48:25 | * | bamorim joined #nim |
| 15:07:08 | * | dorei quit (Ping timeout: 252 seconds) |
| 15:16:09 | * | vendethiel joined #nim |
| 15:20:45 | * | arnetheduck quit (Ping timeout: 244 seconds) |
| 15:22:28 | Arrrr | also have a look at osprocs |
| 15:30:11 | * | desophos joined #nim |
| 15:38:00 | * | endragor_ joined #nim |
| 15:40:00 | * | uryga joined #nim |
| 15:40:03 | * | vendethiel quit (Ping timeout: 264 seconds) |
| 15:40:53 | uryga | hey, ii have a question about slicing sequences |
| 15:40:57 | def- | uryga: hi |
| 15:41:34 | uryga | is there a way to do something like pythons mylist[n:] ? or mylist[:n] for that matter |
| 15:41:42 | * | endragor quit (Ping timeout: 276 seconds) |
| 15:42:27 | * | endragor_ quit (Ping timeout: 244 seconds) |
| 15:43:04 | uryga | i know you can do myNimList[n..x] to specify the range of the slice |
| 15:43:17 | def- | ^1 is the last element in the list |
| 15:43:29 | uryga | ah! |
| 15:43:33 | def- | so you can do [3..^1] |
| 15:43:39 | def- | and [..3] also works |
| 15:43:47 | enthus1ast | nice to know ;) |
| 15:43:48 | def- | (but not sure if it's more readable than [0..3] |
| 15:44:35 | uryga | we can't have [3..] because there's no postfix operators right? |
| 15:45:44 | def- | sounds like a reasonable guess |
| 15:46:49 | * | dorei joined #nim |
| 15:46:51 | uryga | that's a shame |
| 15:47:14 | uryga | it'd be really nice to have a symmetric [..n] and [n..] |
| 15:50:32 | * | vendethiel joined #nim |
| 15:51:24 | * | jeffc joined #nim |
| 15:52:42 | uryga | it would probably require adding `..` as another special case of postfix though :/ |
| 16:03:22 | * | mahasamoot joined #nim |
| 16:06:21 | Arrrr | how does 3.. works in python? Like 'from three to last element' ? |
| 16:07:56 | def- | Arrrr: from the fourth element to end, but it's [3:] in python |
| 16:08:21 | * | bamorim quit (Ping timeout: 246 seconds) |
| 16:11:52 | * | dorei quit (Quit: Page closed) |
| 16:14:01 | * | vendethiel quit (Ping timeout: 240 seconds) |
| 16:25:24 | Araq | uryga: not really, we can make every operator coming before ) } ] , ; a postfix operator |
| 16:26:00 | Araq | proc `..`(b: int) {.postfix.} is a bit ugly |
| 16:27:16 | * | brson joined #nim |
| 16:27:29 | Araq | how can I call such a postfix operator via `` then? not at all? |
| 16:30:00 | uryga | what's wrong with using a postfix pragma? |
| 16:30:12 | uryga | idk, doesn't look bad |
| 16:32:24 | * | yglukhov_ joined #nim |
| 16:33:25 | Araq | as I said, that's overloading by operator position |
| 16:33:31 | Araq | ..1 vs 1.. |
| 16:33:57 | Araq | the language supports calling the operator like so `..`(1) |
| 16:34:05 | * | macbeth joined #nim |
| 16:34:18 | Araq | so how can I use that notation for the postfix .. ? |
| 16:35:09 | * | yglukhov quit (Ping timeout: 244 seconds) |
| 16:35:20 | uryga | let's just do proc (int n) `..` |
| 16:35:23 | uryga | ;) |
| 16:35:57 | def- | uryga: it's not about how you define it, it's about how you use the proc without using postfix notation |
| 16:36:35 | def- | an idea would be to have an additional keyword for calling postfix operators like that, but I'd be against that |
| 16:36:44 | * | yglukhov_ quit (Ping timeout: 244 seconds) |
| 16:37:04 | Arrrr | like post(`..`(1)) ? |
| 16:37:41 | Araq | `.. "postfix"`(1) |
| 16:37:52 | Araq | would work I think |
| 16:38:31 | uryga | why the quotes? |
| 16:39:07 | Araq | i don't remember the details of what Nim allows in the backticks :P |
| 16:39:31 | Araq | iirc `..postfix` is currently already allowed |
| 16:45:13 | uryga | looks ok |
| 16:45:50 | uryga | `..postfix`(3) |
| 16:48:13 | uryga | is that possible to implement now, as a macro or template? or are you talking about general ideas for a syntax for that |
| 16:48:30 | uryga | still pretty new to Nim so i can't really tell |
| 16:50:33 | Arrrr | There is no way to define postfix operators in nim. Your question raised a new crisis in nim's community |
| 16:52:44 | * | uryga quit (Ping timeout: 252 seconds) |
| 16:54:38 | * | uryga joined #nim |
| 16:57:21 | uryga | haha ok |
| 16:58:30 | uryga | now that i think of it, i remember some manual/tutorial said nim won't have postfix ops because of potential parsing ambiguity? |
| 17:00:38 | uryga | "Postfix operators are not possible, because this would be ambiguous: does a @ @ b mean (a) @ (@b) or (a@) @ (b)? It always means (a) @ (@b), because there are no postfix operators in Nim." |
| 17:03:59 | * | boopsies is now known as boopsiesisaway |
| 17:09:11 | * | uryga quit (Quit: Page closed) |
| 17:18:14 | * | Riviera- quit (Ping timeout: 260 seconds) |
| 17:24:34 | * | uryga joined #nim |
| 17:24:38 | * | UberLambda joined #nim |
| 17:26:40 | * | yglukhov joined #nim |
| 17:30:49 | * | Riviera- joined #nim |
| 17:31:00 | * | yglukhov quit (Ping timeout: 244 seconds) |
| 17:56:15 | * | vendethiel joined #nim |
| 18:01:21 | * | yglukhov joined #nim |
| 18:10:50 | * | macbeth quit (Ping timeout: 252 seconds) |
| 18:32:26 | * | uryga quit (Quit: Hermes - Material IRC Client - https://numixproject.org/) |
| 18:35:24 | * | enthus1ast quit (Ping timeout: 252 seconds) |
| 18:38:03 | * | vendethiel quit (Ping timeout: 240 seconds) |
| 18:41:46 | * | uryga joined #nim |
| 18:46:36 | * | Arrrr_ joined #nim |
| 18:46:42 | * | Arrrr_ quit (Client Quit) |
| 18:49:21 | * | Arrrr quit (Ping timeout: 246 seconds) |
| 18:51:12 | * | yglukhov quit (Remote host closed the connection) |
| 18:58:48 | * | Arrrr joined #nim |
| 18:58:48 | * | Arrrr quit (Changing host) |
| 18:58:48 | * | Arrrr joined #nim |
| 19:02:47 | * | vendethiel joined #nim |
| 19:14:20 | * | yglukhov joined #nim |
| 19:28:34 | * | gunn joined #nim |
| 19:30:15 | * | Arrrr quit (Quit: WeeChat 1.4) |
| 19:45:34 | uryga | hey, i have a problem with slices (again...) |
| 19:46:43 | uryga | actually, seems like a compiler bug. It doesn't compile on either of the two Windows pc's I tested, but works just fine on ideone.com |
| 19:47:03 | uryga | can anyone test it if it works for them? |
| 19:47:04 | uryga | http://ideone.com/mY1Gi0 |
| 20:06:54 | * | brson quit (Ping timeout: 276 seconds) |
| 20:08:26 | * | brson joined #nim |
| 20:14:10 | * | UberLambda quit (Quit: GTG) |
| 20:18:25 | def- | uryga: looks like a new bug to me. works with spaces: myList[2 .. ^1] |
| 20:18:45 | uryga | found solution too |
| 20:18:56 | uryga | *that solution |
| 20:31:35 | * | toaoMgeorge quit (Read error: Connection reset by peer) |
| 20:32:34 | * | toaoMgeorge joined #nim |
| 20:32:58 | * | yglukhov quit (Remote host closed the connection) |
| 20:34:03 | * | macbeth joined #nim |
| 20:36:24 | * | darkf joined #nim |
| 20:50:31 | * | enthus1ast joined #nim |
| 21:00:13 | * | francisl joined #nim |
| 21:05:47 | * | mahasamoot_ joined #nim |
| 21:08:13 | * | mahasamoot quit (Ping timeout: 248 seconds) |
| 21:12:28 | * | francisl quit (Quit: francisl) |
| 21:17:28 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
| 21:22:04 | * | francisl joined #nim |
| 21:27:05 | * | rok quit (Quit: rok) |
| 21:28:25 | * | Ven quit (Ping timeout: 268 seconds) |
| 21:30:26 | * | Ven joined #nim |
| 21:32:18 | * | desophos_ joined #nim |
| 21:35:16 | * | desophos_ quit (Remote host closed the connection) |
| 21:35:18 | * | desophos quit (Ping timeout: 276 seconds) |
| 21:36:10 | * | desophos joined #nim |
| 21:42:25 | * | bjz joined #nim |
| 21:49:50 | * | bjz quit (Ping timeout: 244 seconds) |
| 21:51:24 | * | desophos quit (Remote host closed the connection) |
| 21:52:52 | * | francisl quit (Quit: francisl) |
| 22:07:50 | * | francisl joined #nim |
| 22:19:02 | * | boopsiesisaway is now known as boopsies |
| 22:23:43 | * | francisl quit (Quit: francisl) |
| 22:25:39 | * | desophos joined #nim |
| 22:29:18 | * | desophos quit (Remote host closed the connection) |
| 22:31:00 | * | desophos joined #nim |
| 22:33:14 | * | desophos quit (Read error: Connection reset by peer) |
| 22:33:17 | * | Trustable quit (Remote host closed the connection) |
| 22:33:20 | * | desophos_ joined #nim |
| 22:40:57 | * | vendethiel quit (Ping timeout: 276 seconds) |
| 22:46:56 | * | desophos_ is now known as desophos |
| 23:00:49 | * | boopsies is now known as boopsiesisaway |
| 23:05:25 | * | francisl joined #nim |
| 23:10:11 | * | yglukhov joined #nim |
| 23:14:33 | * | yglukhov quit (Ping timeout: 244 seconds) |
| 23:23:49 | * | francisl quit (Quit: francisl) |
| 23:31:19 | * | vendethiel joined #nim |
| 23:33:02 | Varriount | onionhammer: I'm programming a 'rename' command for NimLime, and would value your input. |
| 23:33:44 | Varriount | onionhammer: Should such a command notify the user when modifying multiple files? What about if some files to be modified aren't open? |
| 23:46:58 | * | desophos quit (Remote host closed the connection) |
| 23:47:51 | * | desophos joined #nim |
| 23:49:24 | * | saml_ joined #nim |
| 23:53:35 | * | bamorim joined #nim |
| 23:54:32 | * | vendethiel quit (Ping timeout: 260 seconds) |
| 23:56:20 | * | yuta joined #nim |