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:49 | ryuo | how 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:43 | onionhammer | the syntax is fairly stable, araq is overly paranoid about backwards compat for pre 1.0 |
03:05:28 | onionhammer | stuff 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:36 | gokr | Good morning nimsters! |
06:37:19 | * | enamex joined #nim |
06:38:45 | vegansk | Good morning! |
06:39:08 | * | enamex_ joined #nim |
06:42:35 | vegansk | Joke 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:33 | gokr | Eh, he. |
06:52:31 | enamex_ | Generics playing games? |
06:54:32 | * | smodo quit (Remote host closed the connection) |
06:57:50 | * | smodo joined #nim |
06:59:17 | vegansk | Yep :-) 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:30 | vegansk | enamex_: By the way, nice title for the issue :-) |
07:18:43 | * | yadzi joined #nim |
07:19:01 | enamex_ | 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:20 | NimBot | nim-lang/Nim devel bc725ea Araq [+0 ±1 -0]: documented void context |
09:39:20 | NimBot | nim-lang/Nim devel 31bbc24 Araq [+0 ±2 -0]: minor testsuite cleanup |
09:39:20 | NimBot | nim-lang/Nim devel 34ab1d3 Araq [+1 ±2 -0]: fixes #1528 |
09:39:20 | NimBot | nim-lang/Nim devel 63cdcb2 Araq [+0 ±3 -0]: implicit return types for iterators are now deprecated |
09:39:20 | NimBot | 14 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:14 | kashyap_ | Hi there .... can someone please let me know where I can get ssleay64.dll? |
09:59:14 | Araq | kashyap_: one sec |
10:00:04 | kashyap_ | ok |
10:00:54 | * | NimBot joined #nim |
10:01:03 | Araq | http://nim-lang.org/download/dlls.zip |
10:01:22 | kashyap_ | great ... thank you so much! |
10:02:33 | yglukhov | Could someone please remind me again if there's any way to define mutually recursive types in separate files? |
10:05:32 | Araq | yes, but it's hacky |
10:05:43 | vegansk | I 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:55 | Araq | you need to use include instead of import |
10:06:04 | Araq | and {.noforward: on.} |
10:06:21 | Araq | and the defintions and includes must be top level statements |
10:08:10 | yglukhov | argh, include sounds waay hacky (( |
10:08:18 | Araq | vegansk: dunno |
10:09:52 | Araq | the other workaroudn is to use subtyping |
10:10:24 | Araq | ugh I broke 10 tests, including C++ codegen ... yay |
10:13:11 | vegansk | Araq: The only thing is that List type is imported |
10:13:40 | Araq | vegansk: well maybe it's ambiguous? |
10:14:55 | dom96 | vegansk: can you show us more of your code? |
10:15:42 | * | dv- quit (Ping timeout: 248 seconds) |
10:16:10 | vegansk | dom96: just a moment, cutting unneded |
10:22:23 | Araq | vegansk: just qualify the List like so lists.List |
10:22:30 | Araq | adn see what it changes |
10:25:20 | vegansk | Araq, 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:36 | vegansk | *Is it |
10:26:57 | Araq | feature, except the error messages sucks |
10:28:47 | * | yglukhov quit (Remote host closed the connection) |
10:29:46 | * | NimBot joined #nim |
10:32:57 | vegansk | Araq: But there is no error while I use List[T] |
10:33:20 | Araq | that'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:52 | softinio | why can't I do this: echo "Hello" & "world" |
11:23:16 | softinio | to print the concat of the two strings ? |
11:23:36 | wuehlmaus | try: echo( "hello" & "world") |
11:26:09 | softinio | that did it thanks |
11:26:51 | wuehlmaus | i myself asked a similar question not long ago. it's awesome that one doesn't nieed parentheses normally |
11:26:57 | wuehlmaus | need |
11:27:16 | softinio | its gonna take getting used to :-) |
11:27:44 | softinio | So in what situations do we have to use paranthesis |
11:28:11 | Araq | for nullary and unary calls in prefix notation |
11:28:56 | Araq | actually no, screw that |
11:29:27 | Araq | in 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:00 | vegansk | softinio: You can also use: echo "Hello ", "world", or even echo: "Hello " & "world" |
11:50:21 | vegansk | or use #!strongSpaces and then: echo "Hello "&"world" |
12:00:08 | * | BitPuffin joined #nim |
12:03:05 | softinio | @vegansk thx |
12:03:45 | softinio | using vim for nim development. Good choice? |
12:07:30 | * | elrood quit (Ping timeout: 265 seconds) |
12:09:11 | * | elrood joined #nim |
12:09:40 | vegansk | vim 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:22 | wuehlmaus | i 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:53 | Senketsu | sometimes i'm really stupid..arent i ? |
12:30:07 | Senketsu | jeez |
12:31:38 | Senketsu | Araq , 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:28 | softinio | does nim have any test framework like golang has? |
13:07:17 | reactormonk | softinio, there's unittest. |
13:10:33 | * | drewsrem joined #nim |
13:14:51 | softinio | great 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:22 | NimBot | nim-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:59 | softinio | so if I want to run a command passing in env variables I assume I use this from osproc lib: |
14:41:08 | softinio | proc execProcess(command: string; args: openArray[string] = []; |
14:41:08 | softinio | env: StringTableRef = nil; options: set[ProcessOption] = { |
14:41:08 | softinio | poStdErrToStdOut, poUsePath, poEvalCommand}): TaintedString {.gcsafe, |
14:41:10 | softinio | extern: "nosp$1", tags: [ExecIOEffect, ReadIOEffect], raises: [Exception].} |
14:41:52 | softinio | my question is, is env parameter what I pass for the environment variables? |
14:46:45 | * | Noein joined #nim |
14:53:27 | dom96 | softinio: 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:45 | NimBot | nim-lang/Nim devel 2ffb385 Bruce Doan [+0 ±1 -0]: wait's input is nullable, and it is discardable |
15:38:45 | NimBot | nim-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:08 | softinio | yesterday @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:39 | softinio | so was thinking about how I layout my code and is it good practice to call this main proc in a |
16:38:41 | softinio | when isMainModule: |
16:39:02 | softinio | sorry to ask silly questions |
16:41:12 | * | umurgdk quit () |
16:49:40 | Senketsu | dom96, uhh you want me to name the modules (assuming i name the package 'ndbex' ndbex_* ? |
16:50:10 | dom96 | no, I want you to put the modules in a 'ndbex' dir |
16:50:33 | Senketsu | ooh, tough src is okay, aight |
16:51:00 | dom96 | The reason for this is so that your module's don't clash with other package's modules |
16:51:12 | dom96 | You will import them via: import ndbex/module |
16:51:17 | dom96 | instead of 'import module' |
16:51:25 | Senketsu | gotcha |
16:51:46 | * | strcmp1 joined #nim |
16:53:43 | * | pregressive quit (Remote host closed the connection) |
16:54:09 | Senketsu | so i assume i need to rename the nimble file too right ? |
16:56:47 | * | yglukhov joined #nim |
17:00:56 | Senketsu | hope 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:19 | Senketsu | dom96, 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:27 | Araq | softinio: what is your question? |
17:36:59 | * | brson joined #nim |
17:45:05 | softinio | @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:03 | Mat4 | hello |
18:16:26 | * | Trustable joined #nim |
18:20:45 | Araq | hi mat4 |
18:23:38 | * | Jesin quit (Quit: Leaving) |
18:23:58 | * | pregressive joined #nim |
18:24:21 | Mat4 | hi Araq, I want to compile Nim with clang, whereupon should I pay attention ? |
18:25:14 | Araq | edit your config to set cc=clang |
18:26:18 | * | Jesin joined #nim |
18:27:18 | Mat4 | that'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:50 | federico3 | Any fast way to create a string from an array of chars and viceversa? |
18:44:11 | * | yglukhov joined #nim |
18:44:38 | Araq | federico3: not really. but you can use a string as an array. s[i] |
18:45:12 | * | brson quit () |
18:46:16 | federico3 | Even write to an index in an empty string? |
18:46:56 | Araq | setLen()? |
18:49:50 | * | Matthias247 joined #nim |
18:54:28 | Mat4 | in 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:02 | Araq | yes, I tried to adapt it before writing c2nim |
18:59:44 | Araq | c2nim is light years ahead now. |
19:00:24 | * | pregressive joined #nim |
19:02:05 | * | ^aurora^ joined #nim |
19:03:20 | Mat4 | ok, 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:42 | Araq | hi cold_sauce welcome |
19:12:12 | cold_sauce | hey! 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.) |