00:04:22 | * | mal`` quit (Ping timeout: 246 seconds) |
00:06:01 | * | Demon_Fox_ joined #nim |
00:06:25 | * | mal`` joined #nim |
00:08:38 | * | Demon_Fox quit (Ping timeout: 240 seconds) |
00:12:16 | * | jakesyl joined #nim |
00:14:09 | * | jaco60 quit (Quit: Leaving) |
00:18:58 | * | jakesyl quit (Ping timeout: 240 seconds) |
00:21:48 | * | Demon_Fox_ is now known as Demon_Fox |
00:22:06 | * | PyHedgehog joined #nim |
00:23:02 | * | Jehan_ quit (Quit: Leaving) |
00:32:44 | * | jakesyl joined #nim |
00:36:49 | * | X67r quit (Quit: leaving) |
00:41:27 | * | xet7_ quit (Ping timeout: 250 seconds) |
00:42:19 | * | jakesyl quit (Ping timeout: 246 seconds) |
00:54:16 | * | jakesyl joined #nim |
00:58:46 | * | jakesyl quit (Ping timeout: 246 seconds) |
01:03:44 | * | Kingsquee joined #nim |
01:12:25 | * | jakesyl joined #nim |
01:14:52 | * | yglukhov joined #nim |
01:17:19 | * | jakesyl quit (Ping timeout: 246 seconds) |
01:19:13 | * | yglukhov quit (Ping timeout: 256 seconds) |
01:25:42 | * | chemist69 joined #nim |
01:28:39 | * | chemist69_ quit (Ping timeout: 252 seconds) |
01:29:03 | * | jakesyl joined #nim |
01:34:01 | * | avsej_ joined #nim |
01:34:01 | * | avsej_ quit (Changing host) |
01:34:01 | * | avsej_ joined #nim |
01:34:18 | * | Kingsqueee joined #nim |
01:35:18 | * | cazov_ joined #nim |
01:38:44 | * | avsej quit (Ping timeout: 250 seconds) |
01:38:45 | * | avsej_ is now known as avsej |
01:38:48 | * | zama quit (Ping timeout: 250 seconds) |
01:38:49 | * | Xaseron quit (Ping timeout: 250 seconds) |
01:38:49 | * | polde quit (Ping timeout: 250 seconds) |
01:38:49 | * | xxx quit (Ping timeout: 250 seconds) |
01:38:50 | * | Kingsquee quit (Ping timeout: 250 seconds) |
01:38:50 | * | Sornaensis quit (Ping timeout: 250 seconds) |
01:38:52 | * | mtj_ quit (Ping timeout: 250 seconds) |
01:38:52 | * | cazov quit (Ping timeout: 250 seconds) |
01:38:54 | * | polde joined #nim |
01:40:16 | * | gsingh93 quit (Ping timeout: 246 seconds) |
01:42:13 | * | xxx joined #nim |
01:42:23 | * | gsingh93 joined #nim |
01:48:07 | * | mtj_ joined #nim |
01:48:18 | * | jakesyl quit (Ping timeout: 240 seconds) |
01:48:27 | * | zama joined #nim |
01:48:46 | * | Xaseron joined #nim |
01:58:27 | * | nairobi_ joined #nim |
02:01:50 | * | jakesyl joined #nim |
02:02:28 | * | nairobi_ quit (Ping timeout: 246 seconds) |
02:06:08 | * | rpowers quit (Quit: Leaving) |
02:06:24 | * | solidsnack joined #nim |
02:12:35 | * | dobenour joined #nim |
02:12:56 | dobenour | How good is Nim's debugging support? |
02:20:12 | def- | dobenour: very usable with gdb in my experience |
02:22:11 | def- | very small example here: http://hookrace.net/blog/what-makes-nim-practical/#debugging-nim |
02:24:31 | * | jakesyl quit (Ping timeout: 246 seconds) |
02:29:55 | * | cazov_ is now known as cazov |
02:36:10 | * | jakesyl joined #nim |
02:40:58 | * | jakesyl quit (Ping timeout: 240 seconds) |
02:52:08 | * | kulelu88 quit (Quit: Leaving) |
02:52:59 | * | jakesyl joined #nim |
02:53:45 | * | M-max quit (Remote host closed the connection) |
03:02:55 | * | PyHedgehog quit (Quit: Page closed) |
03:20:09 | * | tmm1 joined #nim |
03:20:54 | * | M-max joined #nim |
03:24:57 | * | darkf joined #nim |
03:31:01 | * | jakesyl quit (Ping timeout: 246 seconds) |
03:36:03 | * | dobenour quit (Quit: Page closed) |
03:44:27 | * | jakesyl joined #nim |
03:45:48 | * | PyHedgehog joined #nim |
03:52:21 | * | solidsnack quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
03:54:17 | * | solidsnack joined #nim |
03:57:28 | * | solidsnack quit (Read error: Connection reset by peer) |
03:58:30 | * | ant2k joined #nim |
04:04:42 | * | tmm1 quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
04:07:04 | * | jakesyl quit (Ping timeout: 246 seconds) |
04:10:03 | * | jakesyl joined #nim |
04:13:38 | * | jakesyl quit (Max SendQ exceeded) |
04:14:14 | * | jakesyl joined #nim |
04:17:06 | * | jakesyl quit (Max SendQ exceeded) |
04:17:39 | * | jakesyl joined #nim |
04:24:38 | * | jakesyl quit (Ping timeout: 240 seconds) |
04:26:52 | * | iamd3vil joined #nim |
04:27:50 | * | Senketsu quit (Quit: Leaving) |
04:34:45 | * | FedeOmoto quit (Ping timeout: 265 seconds) |
04:37:28 | * | jakesyl joined #nim |
04:39:43 | * | vendethiel joined #nim |
04:51:16 | * | yglukhov joined #nim |
04:55:30 | * | yglukhov quit (Ping timeout: 240 seconds) |
04:59:38 | * | jakesyl quit (Ping timeout: 240 seconds) |
05:05:35 | * | vendethiel quit (Ping timeout: 264 seconds) |
05:12:26 | * | jakesyl joined #nim |
05:30:02 | * | bamorim joined #nim |
05:31:33 | * | MyMind joined #nim |
05:31:45 | * | Sembei quit (Ping timeout: 252 seconds) |
05:34:58 | * | nairobi_ joined #nim |
05:39:19 | * | nairobi_ quit (Ping timeout: 246 seconds) |
05:44:55 | * | ryu0 quit (Quit: WeeChat 1.0.1) |
05:48:04 | * | ryu0 joined #nim |
05:50:04 | * | AforAvi joined #nim |
05:57:38 | * | jakesyl quit (Ping timeout: 240 seconds) |
06:10:00 | * | iamd3vil quit (Ping timeout: 264 seconds) |
06:15:21 | * | iamd3vil joined #nim |
06:16:52 | * | pregressive quit (Remote host closed the connection) |
06:17:48 | * | pregressive joined #nim |
06:21:45 | * | Ven joined #nim |
06:23:26 | * | pregressive quit (Ping timeout: 272 seconds) |
06:29:04 | * | yglukhov joined #nim |
06:30:34 | * | AforAvi quit (Ping timeout: 260 seconds) |
06:30:45 | * | tmm1 joined #nim |
06:32:44 | * | AforAvi joined #nim |
06:33:13 | * | yglukhov quit (Ping timeout: 246 seconds) |
06:38:53 | * | nairobi_ joined #nim |
06:40:30 | * | tmm1 quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
06:55:40 | * | nairobi_ quit (Read error: Connection timed out) |
06:56:58 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
06:57:03 | * | nairobi_ joined #nim |
07:00:04 | * | BitPuffin|osx quit (Ping timeout: 250 seconds) |
07:01:10 | * | nairobi_ quit (Client Quit) |
07:11:07 | * | Trustable joined #nim |
07:26:13 | * | Trustable quit (Remote host closed the connection) |
07:27:32 | * | Trustable joined #nim |
07:28:31 | * | vegansk joined #nim |
07:31:20 | * | yglukhov joined #nim |
07:35:48 | * | yglukhov quit (Ping timeout: 264 seconds) |
07:37:54 | * | Pisuke joined #nim |
07:40:33 | * | MyMind quit (Ping timeout: 244 seconds) |
07:43:36 | * | yglukhov joined #nim |
07:43:41 | * | yglukhov quit (Remote host closed the connection) |
07:44:14 | * | yglukhov joined #nim |
07:48:20 | * | bjz joined #nim |
07:56:53 | * | yglukhov quit (Remote host closed the connection) |
07:56:57 | * | lyro quit (Ping timeout: 252 seconds) |
08:03:32 | * | coffeepot joined #nim |
08:10:14 | * | yglukhov joined #nim |
08:10:57 | * | lyro joined #nim |
08:26:24 | * | gokr joined #nim |
08:46:43 | * | Sornaensis joined #nim |
09:00:43 | * | yglukhov_ joined #nim |
09:03:47 | * | yglukhov quit (Ping timeout: 264 seconds) |
09:07:52 | * | Ven joined #nim |
09:20:01 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
09:29:36 | * | Ven joined #nim |
09:44:22 | * | yglukhov joined #nim |
09:44:22 | * | yglukhov_ quit (Read error: Connection reset by peer) |
09:45:13 | * | yglukhov quit (Remote host closed the connection) |
09:47:38 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
09:48:20 | * | Ven joined #nim |
09:56:21 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
09:56:46 | * | AforAvi quit (Read error: Connection reset by peer) |
09:58:55 | * | Demon_Fox quit (Quit: Leaving) |
09:59:55 | * | ant2k quit (Quit: ant2k) |
10:01:23 | * | yglukhov joined #nim |
10:17:10 | * | AforAvi joined #nim |
10:19:45 | * | Sembei joined #nim |
10:20:56 | * | Pisuke quit (Ping timeout: 272 seconds) |
10:31:04 | * | bjz_ joined #nim |
10:31:58 | * | bjz quit (Ping timeout: 250 seconds) |
11:02:56 | * | razaaa joined #nim |
11:04:26 | * | jakesyl joined #nim |
11:07:58 | * | elrood joined #nim |
11:14:04 | * | jakesyl quit (Ping timeout: 246 seconds) |
11:27:08 | * | jakesyl joined #nim |
11:31:38 | * | jakesyl quit (Ping timeout: 240 seconds) |
11:31:45 | * | Sahnvour joined #nim |
11:44:03 | * | jakesyl joined #nim |
11:52:36 | * | iamd3vil quit (Ping timeout: 264 seconds) |
11:56:18 | * | jakesyl quit (Ping timeout: 240 seconds) |
12:09:41 | * | jakesyl joined #nim |
12:13:03 | * | Kingsqueee quit (Quit: http://i.imgur.com/EsXzoum.png) |
12:20:58 | * | Guest14221isaway is now known as Guest14221 |
12:21:37 | * | jakesyl quit (Ping timeout: 246 seconds) |
12:34:44 | * | jakesyl joined #nim |
12:41:42 | * | AforAvi quit (Read error: Connection reset by peer) |
12:44:06 | * | X67r joined #nim |
12:55:46 | * | Guest14221 is now known as Guest14221isaway |
12:57:46 | * | FedeOmoto joined #nim |
12:58:18 | * | smodo joined #nim |
13:10:50 | * | BitPuffin joined #nim |
13:19:16 | * | kulelu88 joined #nim |
13:19:46 | * | UberLambda joined #nim |
13:29:19 | * | FedeOmoto quit (Quit: Leaving) |
13:29:46 | * | FedeOmoto joined #nim |
13:43:22 | * | Ven joined #nim |
13:45:59 | * | pregressive joined #nim |
13:46:33 | * | iamd3vil joined #nim |
13:52:22 | * | bamorim quit (Ping timeout: 268 seconds) |
14:01:09 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
14:05:38 | * | yglukhov_ joined #nim |
14:08:50 | * | yglukhov quit (Ping timeout: 260 seconds) |
14:11:23 | * | Enamex joined #nim |
14:17:51 | * | PyHedgehog quit (Ping timeout: 246 seconds) |
14:37:54 | * | AforAvi joined #nim |
14:47:54 | * | Ven joined #nim |
14:55:36 | r-ku | ehm.. no way to grab command line parameters passed to nim script? say i run it like "nim script.nims my params", can i get "my" and "params"? |
14:57:33 | reactormonk | r-ku, can you import os? |
14:57:59 | r-ku | importc not working in vm |
14:59:27 | reactormonk | sure, but import os? os.commandLineParams |
15:00:42 | r-ku | statement "import os" alone in script is enough to trigger lib/pure/times.nim(68, 5) Error: cannot 'importc' variable at compile time |
15:01:00 | reactormonk | ok, file an issue. |
15:01:13 | * | Enamex quit (Ping timeout: 246 seconds) |
15:17:12 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
15:28:10 | * | yglukhov_ quit (Remote host closed the connection) |
15:33:05 | * | razaaa quit (Ping timeout: 240 seconds) |
15:34:45 | * | razaaa joined #nim |
15:41:03 | * | Enamex joined #nim |
15:43:48 | * | elrood quit (Remote host closed the connection) |
16:04:06 | * | Ven joined #nim |
16:06:03 | * | xet7 quit (Remote host closed the connection) |
16:07:01 | * | xet7 joined #nim |
16:07:09 | * | Enamex quit (Ping timeout: 255 seconds) |
16:08:17 | * | razaaa quit (Ping timeout: 252 seconds) |
16:15:22 | * | coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
16:18:48 | * | jaco60 joined #nim |
16:23:39 | * | razaaa joined #nim |
16:23:57 | * | xet7_ joined #nim |
16:25:55 | * | gokr_ joined #nim |
16:27:24 | * | xet7 quit (Ping timeout: 255 seconds) |
16:29:10 | * | elrood joined #nim |
16:43:27 | * | gokr_ quit (Read error: Connection reset by peer) |
16:44:34 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
16:57:03 | * | razaaa quit (Ping timeout: 256 seconds) |
17:04:36 | * | xet7 joined #nim |
17:07:53 | * | yglukhov joined #nim |
17:11:07 | * | razaaa joined #nim |
17:12:05 | * | yglukhov quit (Ping timeout: 252 seconds) |
17:15:58 | * | Guest14221isaway is now known as Guest14221 |
17:30:33 | * | darkf quit (Quit: Leaving) |
17:32:46 | * | Matthias247 joined #nim |
17:35:08 | * | smodo quit (Remote host closed the connection) |
17:38:51 | * | johnsoft quit (Ping timeout: 244 seconds) |
17:44:38 | OnO | hi, I am trying to marry asyncdispatch with threadpool, specifically spawning new worker on async socket accept |
17:45:40 | OnO | however the way {.async.} turns proc into some iterator is still bit cryptic |
17:45:47 | OnO | causing the main while true: let client = await accept(socket); rest of the job... causing the main loop start running on new worker thread |
17:45:57 | OnO | I'd appreciate if someone could explain how exactly {.async.} proc is rewritten by the macro |
18:09:12 | * | gokr_ joined #nim |
18:10:31 | dom96 | OnO: You can uncomment this: https://github.com/nim-lang/Nim/blob/devel/lib/pure/asyncdispatch.nim#L1562 |
18:10:33 | dom96 | To see what it produces |
18:12:04 | * | bamorim joined #nim |
18:12:05 | OnO | yeah will try, however trying to get treeRepr on non-immediate stmt I got compiler crash "Error: internal error: opConv for enum" |
18:18:23 | * | vendethiel joined #nim |
18:22:04 | OnO | okay, so async proc is turned into iterator.... now this iterator is consumed by who? |
18:22:46 | OnO | damn... my brain melts understanding what's going on in this async dispatch |
18:28:37 | * | Jesin quit (Quit: Leaving) |
18:43:21 | * | UberLambda quit (Quit: GTG) |
18:44:42 | * | Jesin joined #nim |
19:01:16 | * | gokr_ quit (Read error: Connection reset by peer) |
19:04:54 | * | Demon_Fox joined #nim |
19:07:05 | * | pregressive quit (Remote host closed the connection) |
19:07:57 | * | pregressive joined #nim |
19:10:14 | * | tmm1 joined #nim |
19:10:42 | * | MyMind joined #nim |
19:11:33 | softinio | @dom96 @Araq we should do same for nim: http://blog.gopheracademy.com/gophers-slack-community/ |
19:12:00 | softinio | If u r happy I can set it up and make the 3 of us and anyone else who wants moderate it as admins? |
19:12:31 | * | cryzed quit (Ping timeout: 246 seconds) |
19:12:40 | tmm1 | good morning |
19:12:52 | * | Sembei quit (Ping timeout: 246 seconds) |
19:12:52 | * | wh1t3r0s3 quit (Ping timeout: 246 seconds) |
19:13:04 | * | iamd3vil quit (Ping timeout: 246 seconds) |
19:13:34 | tmm1 | gitter.im is popular for oss chat rooms as well |
19:14:02 | * | cryzed joined #nim |
19:14:22 | * | Demon_Fox quit (Quit: Leaving) |
19:14:46 | * | Demon_Fox joined #nim |
19:14:55 | softinio | I am on guitar too for nim :-) |
19:15:47 | softinio | god look how many clients I now have on my phone to keep in touch: Apple iMessage, Google Hangout, Slack, Gitter, irccloud(for irc) |
19:16:20 | Varriount_ | softinio: Someone commented on the fragmentation of communication apps the other day on hacker news. |
19:16:42 | * | Varriount_ is now known as Varriount |
19:17:53 | * | wh1t3r0s3 joined #nim |
19:24:20 | * | nim-buildbot quit (Quit: buildmaster reconfigured: bot disconnecting) |
19:24:28 | * | irrequietus joined #nim |
19:25:37 | * | nim-buildbot quit (Client Quit) |
19:26:36 | * | nim-buildbot quit (Client Quit) |
19:26:51 | * | Enamex joined #nim |
19:37:58 | * | BitPuffin quit (Ping timeout: 250 seconds) |
19:50:21 | * | titanomachy_ quit (Ping timeout: 255 seconds) |
19:55:33 | * | titanomachy joined #nim |
19:55:48 | * | gmpreussner|work joined #nim |
19:57:52 | * | bamorim quit (Ping timeout: 246 seconds) |
20:06:18 | * | jakesyl quit (Ping timeout: 240 seconds) |
20:07:11 | dom96 | softinio: I think gitter, irc, github, nimforum and reddit is enough |
20:14:25 | tmm1 | if i wanted to implement my own pragma like {.pkgconfig:"libavcodec".} how would i do that? |
20:14:37 | tmm1 | as a template? or macro? |
20:17:48 | tmm1 | hmm looks like only the compiler can implement pragmas |
20:18:09 | dom96 | {.async.} is implemented as a macro |
20:18:22 | dom96 | but it doesn't seem like you can have custom top-level pragmas |
20:18:30 | dom96 | I think it should be possible though |
20:19:37 | * | jakesyl joined #nim |
20:19:39 | * | nim-buildbot quit (Quit: buildmaster reconfigured: bot disconnecting) |
20:20:22 | * | AforAvi quit (Read error: Connection reset by peer) |
20:22:33 | * | nim-buildbot quit (Client Quit) |
20:24:08 | * | Trustable_2 joined #nim |
20:24:15 | * | nim-buildbot quit (Client Quit) |
20:24:32 | dom96 | so it's a bug? |
20:24:38 | * | Trustable quit (Ping timeout: 240 seconds) |
20:32:32 | reactormonk | is it possible to have a property attached to a variable? |
20:38:38 | * | Trustable_2 quit (Remote host closed the connection) |
20:44:26 | * | xet7 quit (Quit: Leaving) |
20:46:15 | * | Enamex quit (Ping timeout: 265 seconds) |
20:55:52 | * | yglukhov joined #nim |
21:00:03 | * | razaaa quit (Quit: Leaving) |
21:00:10 | * | strcmp1 joined #nim |
21:00:36 | * | yglukhov quit (Ping timeout: 272 seconds) |
21:03:43 | * | strcmp1 quit (Client Quit) |
21:04:43 | * | strcmp1 joined #nim |
21:10:33 | * | kulelu88 quit (Quit: Leaving) |
21:18:57 | * | pregressive quit (Remote host closed the connection) |
21:22:49 | * | vendethiel quit (Ping timeout: 256 seconds) |
21:24:41 | * | nchambers is now known as dtscode |
21:34:54 | * | bamorim joined #nim |
21:37:18 | tmm1 | can someone explain this comment: https://github.com/nim-lang/Nim/issues/1930#issuecomment-69488762 |
21:37:43 | tmm1 | it sounds like you can use a c struct directly instead of using a nim equivalent |
21:39:52 | * | BitPuffin|osx joined #nim |
21:47:13 | * | jakesyl quit (Ping timeout: 246 seconds) |
21:50:17 | dom96 | tmm1: if you use the importc pragma then the compiler will generate C code which uses the imported struct directly instead of defining a new type |
21:51:35 | FedeOmoto | tmm1: it's documented here: http://nim-lang.org/docs/manual.html#foreign-function-interface-importc-pragma |
21:52:01 | tmm1 | yea i've been using it with procs, guess i didn't realize it worked with types too |
21:52:05 | FedeOmoto | tmm1: for an example on importing a C struct: https://github.com/nim-lang/Nim/blob/master/lib/pure/times.nim#L40-L43 |
21:52:24 | FedeOmoto | tmm1: you can also import variables: https://github.com/FedeOmoto/llvm/blob/master/src/llvm_config.nim |
21:52:26 | * | Guest14221 is now known as Guest14221isaway |
21:52:48 | tmm1 | so you can still define fields inside the imported object, but their offsets will match the c-struct since it just references the field directly |
21:53:04 | FedeOmoto | that's right |
21:53:04 | tmm1 | awesome, thanks |
21:53:15 | tmm1 | this is much easier than trying to fix parsing bugs in c2nim |
21:55:34 | * | FedeOmoto quit (Quit: Leaving) |
22:00:05 | * | dtscode is now known as nchambers |
22:00:37 | * | jakesyl joined #nim |
22:04:26 | NimBot | nim-lang/Nim devel d8a1045 Dominik Picheta [+0 ±1 -0]: Fixes #3207. |
22:13:14 | tmm1 | is there an equivalent to "const char*" |
22:27:07 | * | jakesyl quit (Ping timeout: 246 seconds) |
22:27:12 | * | elrood quit (Quit: Leaving) |
22:34:43 | * | jaco60 quit (Remote host closed the connection) |
22:36:53 | * | jaco60 joined #nim |
22:40:19 | * | jakesyl joined #nim |
23:03:34 | * | Matthias247 quit (Read error: Connection reset by peer) |
23:04:11 | * | johnsoft joined #nim |
23:07:41 | * | yglukhov joined #nim |
23:07:50 | * | johnsoft quit (Quit: Leaving) |
23:08:08 | * | johnsoft joined #nim |
23:09:08 | * | johnsoft quit (Remote host closed the connection) |
23:09:25 | * | johnsoft joined #nim |
23:11:24 | * | bjz_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
23:11:26 | tmm1 | never mind, i was using importc on a proc without header so it was getting redeclared and causing the c compiler to complain about const char* vs char* |
23:11:33 | tmm1 | adding the header pragma fixed it |
23:12:24 | * | yglukhov quit (Ping timeout: 264 seconds) |
23:12:32 | * | xet7 joined #nim |
23:13:54 | * | Kingsquee joined #nim |
23:14:33 | * | johnsoft quit (Quit: Leaving) |
23:14:51 | * | johnsoft joined #nim |
23:17:16 | tmm1 | importc,nodecl does the same as well, i see |
23:17:46 | * | infinity0 left #nim (#nim) |
23:27:19 | * | jakesyl quit (Ping timeout: 246 seconds) |
23:36:31 | * | bjz joined #nim |
23:40:25 | * | jakesyl joined #nim |
23:40:50 | * | irrequietus quit () |
23:48:29 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |