| 00:04:48 | * | yglukhov joined #nim |
| 00:06:03 | * | Roin quit (Ping timeout: 240 seconds) |
| 00:10:03 | * | yglukhov quit (Ping timeout: 276 seconds) |
| 00:40:53 | * | yglukhov joined #nim |
| 00:45:48 | * | yglukhov quit (Ping timeout: 276 seconds) |
| 01:05:38 | * | yglukhov joined #nim |
| 01:10:30 | * | yglukhov quit (Ping timeout: 276 seconds) |
| 01:14:25 | * | chemist69_ quit (Ping timeout: 250 seconds) |
| 01:22:16 | * | ephja quit (Read error: Connection reset by peer) |
| 01:28:25 | * | chemist69_ joined #nim |
| 01:41:44 | * | yglukhov joined #nim |
| 01:46:07 | * | yglukhov quit (Ping timeout: 260 seconds) |
| 02:17:43 | * | yglukhov joined #nim |
| 02:18:33 | * | gokr quit (Ping timeout: 250 seconds) |
| 02:22:39 | * | yglukhov quit (Ping timeout: 276 seconds) |
| 02:42:13 | * | yglukhov joined #nim |
| 02:47:21 | * | yglukhov quit (Ping timeout: 276 seconds) |
| 03:14:53 | * | chemist69_ quit (Ping timeout: 250 seconds) |
| 03:18:17 | * | yglukhov joined #nim |
| 03:23:06 | * | yglukhov quit (Ping timeout: 276 seconds) |
| 03:41:39 | * | chemist69_ joined #nim |
| 03:42:56 | * | yglukhov joined #nim |
| 03:47:48 | * | yglukhov quit (Ping timeout: 276 seconds) |
| 03:49:52 | * | brechtm_ quit (Read error: Connection reset by peer) |
| 03:49:57 | * | brechtm joined #nim |
| 04:17:13 | * | pdv joined #nim |
| 04:18:11 | * | ludocode quit (Ping timeout: 240 seconds) |
| 04:19:03 | * | yglukhov joined #nim |
| 04:23:37 | * | yglukhov quit (Ping timeout: 260 seconds) |
| 04:26:07 | * | trusion joined #nim |
| 04:46:22 | * | Demon_Fox joined #nim |
| 04:55:12 | * | yglukhov joined #nim |
| 04:59:47 | * | yglukhov quit (Ping timeout: 260 seconds) |
| 05:08:24 | * | onionhammer quit (Ping timeout: 276 seconds) |
| 05:16:25 | * | devn quit (Remote host closed the connection) |
| 05:19:32 | * | yglukhov joined #nim |
| 05:20:04 | * | chemist69_ quit (Ping timeout: 258 seconds) |
| 05:24:22 | * | chemist69_ joined #nim |
| 05:24:39 | * | yglukhov quit (Ping timeout: 276 seconds) |
| 05:31:51 | * | pafmaf_ joined #nim |
| 05:32:30 | * | pafmaf_ quit (Client Quit) |
| 05:32:43 | * | pafmaf joined #nim |
| 05:42:12 | * | kingofoz quit (Ping timeout: 276 seconds) |
| 05:42:45 | * | kingofoz joined #nim |
| 05:44:28 | * | ludocode joined #nim |
| 05:47:05 | * | onionhammer joined #nim |
| 05:51:32 | * | yglukhov joined #nim |
| 05:52:50 | * | irrequietus joined #nim |
| 05:54:23 | * | irrequietus quit (Client Quit) |
| 05:56:22 | * | yglukhov quit (Ping timeout: 260 seconds) |
| 06:07:40 | * | GangstaCat joined #nim |
| 06:15:02 | * | kingofoz quit (Ping timeout: 260 seconds) |
| 06:16:13 | * | kingofoz joined #nim |
| 06:50:13 | * | yglukhov joined #nim |
| 06:56:17 | * | kingofoz quit (Read error: Connection reset by peer) |
| 06:56:43 | * | kingofoz joined #nim |
| 07:42:02 | * | fastrom joined #nim |
| 07:45:45 | * | euantor joined #nim |
| 07:53:13 | cheatfate | dom96, this documentation a little bit wrong https://github.com/nim-lang/Nim/commit/5784e436624ac4f5118ee33c44b7705538e04020 |
| 07:53:37 | * | kingofoz quit (Ping timeout: 260 seconds) |
| 07:53:41 | cheatfate | closing process on windows will not give you any leaks |
| 07:53:59 | cheatfate | on unix you need to send signal, wait for process, kill process |
| 07:54:16 | cheatfate | on windows you need only TerminateProcess |
| 07:54:27 | * | kingofoz joined #nim |
| 07:54:28 | cheatfate | because windows don't have `zombies`. |
| 08:04:06 | * | hendi__ joined #nim |
| 08:11:00 | * | Sergio965 quit (Ping timeout: 244 seconds) |
| 08:12:01 | * | icebattle quit (Ping timeout: 244 seconds) |
| 08:12:02 | * | jackv quit (Ping timeout: 244 seconds) |
| 08:12:03 | * | rinukkusu quit (Ping timeout: 244 seconds) |
| 08:12:16 | * | jackv joined #nim |
| 08:12:22 | * | rinukkusu joined #nim |
| 08:12:25 | * | icebattle joined #nim |
| 08:12:33 | * | ofelas quit (Ping timeout: 244 seconds) |
| 08:12:34 | * | SianaGearz quit (Ping timeout: 244 seconds) |
| 08:12:45 | * | SianaGearz joined #nim |
| 08:12:55 | * | ofelas joined #nim |
| 08:14:32 | * | Sergio965 joined #nim |
| 08:15:36 | * | M-max quit (Ping timeout: 276 seconds) |
| 08:15:54 | * | M-max joined #nim |
| 08:16:22 | * | M-Quora quit (Ping timeout: 260 seconds) |
| 08:22:00 | * | M-Quora joined #nim |
| 08:27:16 | * | fastrom quit (Quit: Leaving.) |
| 08:28:20 | * | gokr joined #nim |
| 08:50:41 | * | euantor quit (Read error: Connection reset by peer) |
| 08:53:58 | * | hendi__ quit (Ping timeout: 252 seconds) |
| 09:03:17 | * | tdc joined #nim |
| 09:20:45 | * | Demon_Fox quit (Quit: Leaving) |
| 09:30:09 | * | chemist69_ quit (Ping timeout: 250 seconds) |
| 09:30:44 | * | fastrom joined #nim |
| 09:31:19 | * | chemist69_ joined #nim |
| 09:58:27 | * | gokr quit (Ping timeout: 244 seconds) |
| 10:09:37 | * | euantor joined #nim |
| 10:27:20 | * | afrigginelf joined #nim |
| 10:31:00 | * | tdc quit (Ping timeout: 244 seconds) |
| 10:31:02 | * | elrood joined #nim |
| 11:12:30 | * | nsf quit (Quit: WeeChat 1.5) |
| 11:25:14 | * | hendi__ joined #nim |
| 11:42:10 | * | wuehlmaus joined #nim |
| 11:57:28 | * | afrigginelf quit (Ping timeout: 250 seconds) |
| 12:03:27 | * | pdv quit (Remote host closed the connection) |
| 12:39:31 | * | rolha joined #nim |
| 12:40:19 | rolha | hi everyone |
| 12:40:27 | rolha | how can I use the rstgen module? |
| 12:40:42 | rolha | I've tried to simply import it, but nim can't find it |
| 12:42:01 | * | brechtm_ joined #nim |
| 12:42:05 | * | brechtm quit (Read error: Connection reset by peer) |
| 12:49:42 | dom96 | rolha: add something like this to your .nim.cfg file https://github.com/nim-lang/nimforum/blob/master/forum.nim.cfg#L3 |
| 12:53:52 | flyx | rolha: you can also `import packages.docutils.rstgen` |
| 12:57:27 | * | ftsf quit (Remote host closed the connection) |
| 12:57:54 | rolha | dom96, flyx: thanks! I'll try it |
| 13:00:57 | cheatfate | dom96, do you read mistake in doc? |
| 13:12:09 | dom96 | cheatfate: hrm? |
| 13:12:24 | cheatfate | dom96, this documentation a little bit wrong https://github.com/nim-lang/Nim/commit/5784e436624ac4f5118ee33c44b7705538e04020 |
| 13:12:47 | dom96 | how? |
| 13:13:14 | cheatfate | dom96, this doc is for unix only, because first of all windows don't have `zombies` so terminating process don't make any leaks |
| 13:13:42 | dom96 | so? |
| 13:14:19 | dom96 | If it's really so wrong then fix it. |
| 13:15:50 | cheatfate | i think it will be easier for you to make appropriate changes... |
| 13:34:00 | * | filcuc joined #nim |
| 13:36:16 | * | chemist69_ quit (Ping timeout: 272 seconds) |
| 13:37:55 | * | chemist69_ joined #nim |
| 14:16:08 | Araq | dom96: anything speaking against making 'await' a standalone template? |
| 14:16:53 | dom96 | Araq: go for it, but test jester. |
| 14:28:03 | * | pafmaf quit (Ping timeout: 264 seconds) |
| 14:30:56 | * | michael_campbell joined #nim |
| 14:31:30 | michael_campbell | Good morning all. I'm looking for nim ctags, which gives me a pointer to `idetools`, whose link is a 404. http://nim-lang.org/idetools.html Anyone know where this has gone to? |
| 14:33:54 | * | trusion quit (Ping timeout: 276 seconds) |
| 14:35:04 | dom96 | michael_campbell: http://nim-lang.org/docs/idetools.html |
| 14:37:21 | Araq | that's outdated information |
| 14:37:33 | Araq | nimsuggest is the replacement |
| 14:38:37 | * | euantor quit (Quit: Leaving) |
| 14:39:09 | michael_campbell | Thank you both - will take a look. I'm experiencing a personal emacs renaissance so (c)tags with nim syntax may be what I end up with, but investigating options. |
| 14:39:58 | rolha | dom96, flyx: thanks. works perfectly with rstgen now. |
| 14:40:39 | rolha | just another thing, what's the best way to publish a module? so that nimble picks it up when used as requirement. |
| 14:41:29 | dom96 | Fork the packages repo and add it into the packages.json file (https://github.com/nim-lang/packages) |
| 14:42:08 | rolha | dom96, cool, thanks! |
| 14:46:18 | Araq | michael_campbell: emacs has a pretty decent Nim plugin though, afaik |
| 14:46:27 | Araq | using nimsuggest already, check it out |
| 14:47:06 | cheatfate | Araq, you want to make `await` not depends on {.async.}? |
| 14:47:50 | Araq | cheatfate: this implies you can use 'await' in a template that's then used in .async and things just work |
| 14:48:10 | Araq | fixing yet another usability problem with .async |
| 14:49:55 | Araq | dom96: is "nimble publish" still broken? |
| 14:50:00 | dom96 | Araq: yep |
| 14:50:05 | Araq | I bet I know why that is. |
| 14:50:19 | Araq | json.nim updates from ordered seq of tuples to dicts |
| 14:50:27 | dom96 | yep |
| 14:50:34 | Araq | we should checkout an older version of json.nim and make nimble use that instead |
| 14:51:14 | dom96 | That's a big hack, but ok. |
| 14:52:00 | dom96 | Can't we use an OrderedTable? |
| 14:52:57 | Araq | Python doesn't use OrderedDicts here, so no. |
| 14:56:30 | Araq | more seriously though: that would be another breaking change, right? |
| 14:58:48 | * | trusion joined #nim |
| 15:08:36 | federico3 | shouldn't json.nim optionally support sorting generated JSON by key? |
| 15:10:13 | * | euantor joined #nim |
| 15:13:47 | dom96 | yeah, `pretty` should get more flags for that |
| 15:15:31 | federico3 | but... without the ability to generate a deterministic output, how were you testing pretty() with multiple keys? |
| 15:17:22 | Araq | federico3: hardcoding the expected result? |
| 15:17:44 | Araq | i'm not sure we have tests for pretty() though. |
| 15:19:36 | federico3 | apparently not :( |
| 15:20:31 | cheatfate | Araq, there is better way to use your power :) make your async iterators :) |
| 15:20:51 | Araq | why can't you do it? is it really that hard? |
| 15:21:13 | Araq | I explained it three times to you, it should be obvious by now :P |
| 15:22:03 | cheatfate | Araq, but i'm still working on wanted... |
| 15:22:11 | cheatfate | and ^^^ i still can't understand it |
| 15:25:10 | euantor | Say I wanted to convert a set[enum] into a C style butwise flag integer, the best way would be to iterate the values and `or` them together, right? There's nothing built in to simplify it? |
| 15:25:37 | Araq | just 'cast' it? |
| 15:26:36 | euantor | So casting it would convert the set to an int? |
| 15:27:00 | Araq | sure |
| 15:27:06 | * | allan0 quit (Ping timeout: 272 seconds) |
| 15:27:52 | * | allan0 joined #nim |
| 15:28:17 | euantor | neat, cheers |
| 15:28:30 | * | boop quit (Ping timeout: 272 seconds) |
| 15:28:46 | * | boop joined #nim |
| 15:29:00 | * | skrzyp quit (Ping timeout: 272 seconds) |
| 15:30:40 | * | elrood_ joined #nim |
| 15:30:46 | * | skrzyp joined #nim |
| 15:30:54 | * | skrzyp is now known as Guest601 |
| 15:31:17 | Araq | ugh, fuck this 'delegate' shit. so hard to implement |
| 15:31:40 | * | def-- joined #nim |
| 15:31:47 | * | Sergio965_ joined #nim |
| 15:33:16 | * | elrood quit (Ping timeout: 272 seconds) |
| 15:35:32 | * | Sergio965 quit (Ping timeout: 272 seconds) |
| 15:35:33 | * | def- quit (Ping timeout: 272 seconds) |
| 15:35:33 | * | def-- is now known as def- |
| 15:39:47 | * | xet7 quit (*.net *.split) |
| 15:39:48 | * | SirCmpwn quit (*.net *.split) |
| 15:39:49 | * | federico3 quit (*.net *.split) |
| 15:39:50 | * | lyro quit (*.net *.split) |
| 15:39:50 | * | nim-buildbot quit (*.net *.split) |
| 15:39:50 | * | themagician quit (*.net *.split) |
| 15:39:51 | * | astocko quit (*.net *.split) |
| 15:39:51 | * | Laurenzo quit (*.net *.split) |
| 15:41:53 | * | nsf joined #nim |
| 15:41:57 | * | SirCmpwn joined #nim |
| 15:43:02 | * | gokr joined #nim |
| 15:44:24 | * | yuta1 joined #nim |
| 15:47:08 | * | Laurenzo joined #nim |
| 15:47:13 | * | themagician joined #nim |
| 15:47:21 | * | lyro joined #nim |
| 15:47:38 | * | federico3 joined #nim |
| 15:48:24 | yuta1 | michael_campbell: nimsuggest's master branch might not work for Emacs. Try major-restructured branch if it doesn't work. |
| 15:50:14 | yuta1 | if you use Nim's devel branch |
| 15:51:11 | * | astocko joined #nim |
| 15:54:45 | Araq | hi yuta1. are you behind the restructuring PRs? :-) |
| 15:57:17 | yuta1 | kind of..., but mostly Varriount's work :) |
| 15:59:10 | Araq | welcome. I will hopefully to review it properly this weekend and merge it. |
| 15:59:15 | Araq | *be able to |
| 16:00:30 | yuta1 | Araw: thank you. somehow I passed basic tests for tcp mode (include use), so I'll update the PR. |
| 16:01:03 | * | yglukhov quit (Ping timeout: 264 seconds) |
| 16:01:41 | yuta1 | sorry, Araw -> Araq: but in master branch, I couldn't pass EPC's tests whereas major-restructure branch pass |
| 16:02:17 | yuta1 | Should I omit EPC's tests from test PR? |
| 16:02:59 | Araq | hmm? |
| 16:03:38 | yuta1 | I was talking https://github.com/nim-lang/nimsuggest/pull/26 |
| 16:05:16 | yuta1 | Don't need #26 if you merge major-restructure branch? |
| 16:08:11 | Araq | sure I do. |
| 16:08:17 | * | euantor quit (Remote host closed the connection) |
| 16:08:18 | Araq | what's not working? |
| 16:08:28 | * | pafmaf joined #nim |
| 16:10:32 | yuta1 | all epc's tests. I examined and it seems nimsuggest doesn't return anything. |
| 16:11:03 | Araq | wtf does that mean. |
| 16:11:12 | Araq | a) the tests don't work with master |
| 16:11:23 | Araq | b) the tests don't work in the restructuring branch |
| 16:11:29 | Araq | c) the tests don't work either way |
| 16:11:36 | yuta1 | a |
| 16:11:42 | yuta1 | only master branch |
| 16:12:19 | Araq | that's surprising since (a) in EPC mode is what's been tested the most |
| 16:12:33 | Araq | since it's used in the vscode plugin |
| 16:16:06 | yuta1 | hmm. I'm wondering if they really use EPC protocol. it use (call 1 def (...))) to communicate |
| 16:16:12 | * | fastrom quit (Quit: Leaving.) |
| 16:16:49 | * | euantor joined #nim |
| 16:18:45 | yuta1 | when I was making tests, I made sure that --epc option could allow tcp option's way like `def file:line:col` |
| 16:23:30 | yuta1 | Araq: I'll make issue when I'm sure about it (if vscode is worked, I might wrong) and I don't want to wast your time. |
| 16:30:42 | Araq | alright, thank you very much. |
| 16:31:51 | yuta1 | it's welcome that someone point out me that vs code's implementation though (whether it uses EPC's parameterized message) |
| 16:36:39 | * | filcuc quit (Read error: Connection reset by peer) |
| 16:37:50 | Araq | [email protected]:oderwat/vscode-nim.git |
| 16:40:28 | * | euantor quit (Remote host closed the connection) |
| 16:42:16 | * | yglukhov joined #nim |
| 16:42:18 | * | brechtm_ quit (Read error: Connection reset by peer) |
| 16:42:56 | * | brechtm joined #nim |
| 16:45:51 | * | gokr quit (Ping timeout: 276 seconds) |
| 16:47:09 | * | yglukhov quit (Ping timeout: 276 seconds) |
| 16:51:39 | * | xet7 joined #nim |
| 16:54:29 | * | yglukhov joined #nim |
| 16:57:25 | * | brson joined #nim |
| 17:02:37 | * | euantor joined #nim |
| 17:03:27 | * | desophos quit (Read error: Connection reset by peer) |
| 17:10:12 | * | GangstaCat quit (Quit: Leaving) |
| 17:24:36 | * | yglukhov quit (Remote host closed the connection) |
| 17:31:41 | * | yglukhov joined #nim |
| 17:32:00 | * | kunev quit (Ping timeout: 276 seconds) |
| 17:33:26 | * | kunev joined #nim |
| 17:34:33 | * | Matthias247 joined #nim |
| 17:45:23 | * | rolha quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
| 17:45:31 | * | euantor quit (Remote host closed the connection) |
| 17:47:13 | * | euantor joined #nim |
| 18:09:34 | * | xet7_ quit (Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )) |
| 18:10:36 | * | euantor quit () |
| 18:11:05 | * | xet7_ joined #nim |
| 18:19:33 | * | hendi__ quit (Ping timeout: 240 seconds) |
| 18:41:48 | * | yglukhov quit (Remote host closed the connection) |
| 18:46:21 | * | tdc joined #nim |
| 18:46:45 | * | tdc is now known as Guest8266 |
| 18:52:33 | * | mrazza joined #nim |
| 18:52:37 | * | mrazza left #nim (#nim) |
| 18:59:17 | * | yglukhov joined #nim |
| 18:59:43 | * | Guest8266 is now known as tdc |
| 19:03:53 | * | yglukhov quit (Ping timeout: 244 seconds) |
| 19:16:30 | * | Guest601 is now known as skrzyp |
| 19:25:43 | * | yglukhov joined #nim |
| 19:30:18 | * | yglukhov quit (Ping timeout: 276 seconds) |
| 19:32:18 | * | yuta1 quit (Remote host closed the connection) |
| 19:35:35 | * | Jesin quit (Quit: Leaving) |
| 19:38:05 | * | Jesin joined #nim |
| 19:43:03 | * | chemist69_ quit (Ping timeout: 264 seconds) |
| 19:46:55 | * | chemist69_ joined #nim |
| 19:56:59 | * | kssreeram joined #nim |
| 19:57:50 | * | yglukhov joined #nim |
| 20:02:22 | * | gokr joined #nim |
| 20:18:54 | * | yglukhov quit (Remote host closed the connection) |
| 20:23:42 | * | kssreeram quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
| 20:27:23 | * | tdc quit (Remote host closed the connection) |
| 20:27:56 | * | yglukhov joined #nim |
| 20:41:10 | * | rt_ joined #nim |
| 20:41:33 | rt_ | Is it possible to specify enum values as u8? |
| 20:47:38 | Araq | rt_: no need, the start as u8 |
| 20:52:26 | rt_ | Araq: Oh. Thanks. Is there a way to explicitly tell? suppose I want uint32 instead of uint8 |
| 20:52:31 | * | kssreeram joined #nim |
| 20:53:33 | * | yglukhov quit (Remote host closed the connection) |
| 20:54:16 | * | yglukhov joined #nim |
| 20:58:47 | Araq | .size pragma and enumVal = 4'u32 or something |
| 20:58:47 | * | yglukhov quit (Ping timeout: 258 seconds) |
| 21:03:49 | * | gokr quit (Ping timeout: 260 seconds) |
| 21:13:33 | * | Matthias247 quit (Read error: Connection reset by peer) |
| 21:18:54 | * | yglukhov joined #nim |
| 21:22:38 | * | gokr joined #nim |
| 21:23:23 | * | yglukhov quit (Ping timeout: 258 seconds) |
| 21:44:20 | * | vendethiel joined #nim |
| 21:51:39 | * | chemist69_ quit (Ping timeout: 260 seconds) |
| 21:53:33 | * | chemist69_ joined #nim |
| 21:55:01 | * | yglukhov joined #nim |
| 21:58:40 | * | pafmaf quit (Ping timeout: 244 seconds) |
| 21:59:27 | * | yglukhov quit (Ping timeout: 260 seconds) |
| 22:17:41 | * | kssreeram quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
| 22:19:21 | * | Trustable joined #nim |
| 22:19:31 | * | yglukhov joined #nim |
| 22:21:58 | * | brechtm quit (Read error: Connection reset by peer) |
| 22:22:04 | * | brechtm_ joined #nim |
| 22:22:49 | rt_ | I want to make exceptions in my code bit generic like this --> http://pastebin.com/CC5WagaM |
| 22:22:55 | rt_ | Is it possible? |
| 22:23:44 | * | yglukhov quit (Ping timeout: 250 seconds) |
| 22:26:26 | Araq | rt_: sure, but don't use newException but your own helper proc(s) instead |
| 22:26:30 | Araq | or a template. |
| 22:31:57 | rt_ | Araq: Ok. Thanks :) |
| 23:01:17 | * | rolha joined #nim |
| 23:01:33 | rolha | hi everyone |
| 23:01:45 | * | elrood_ quit (Remote host closed the connection) |
| 23:03:55 | rolha | is it possible to use relative paths in a nim module? |
| 23:04:07 | rolha | my use case would be something like: |
| 23:04:54 | rolha | a module exposing a method, say, render_doc(), which would read a template from a file in a module sub directory "templates" |
| 23:09:59 | Araq | rolha: import "../relative.nim" |
| 23:10:25 | rolha | Araq: ah, that's great. thanks! |
| 23:10:36 | rolha | I'm assuming it would also work with readFile? |
| 23:19:03 | * | Trustable quit (Remote host closed the connection) |
| 23:22:48 | * | icebattle quit (Quit: leaving) |
| 23:30:07 | * | rolha quit (Remote host closed the connection) |
| 23:30:55 | * | rolha joined #nim |
| 23:44:14 | * | gokr quit (Ping timeout: 260 seconds) |
| 23:45:12 | * | rolha quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
| 23:49:17 | * | yglukhov joined #nim |
| 23:53:23 | * | yglukhov quit (Ping timeout: 244 seconds) |
| 23:57:03 | * | chemist69_ quit (Ping timeout: 258 seconds) |