| 00:23:26 | * | jaco60 quit (Ping timeout: 248 seconds) |
| 00:29:29 | * | miko_ quit (Ping timeout: 250 seconds) |
| 00:30:05 | * | yglukhov joined #nim |
| 00:35:47 | * | yglukhov quit (Ping timeout: 248 seconds) |
| 00:37:33 | * | Kingsquee joined #nim |
| 00:40:12 | * | perturbation joined #nim |
| 00:45:30 | * | Matthias247 quit (Read error: Connection reset by peer) |
| 01:01:22 | * | Demon_Fox joined #nim |
| 01:03:58 | * | [CBR]Unspoken quit (Ping timeout: 248 seconds) |
| 01:05:37 | * | arnetheduck joined #nim |
| 01:19:30 | * | [CBR]Unspoken joined #nim |
| 01:29:33 | * | BitPuffin|osx quit (Ping timeout: 240 seconds) |
| 02:11:43 | * | Varriount_ quit (Read error: Connection reset by peer) |
| 02:12:02 | * | Varriount joined #nim |
| 02:32:22 | * | brson quit (Quit: leaving) |
| 02:32:30 | * | yglukhov joined #nim |
| 02:36:51 | * | yglukhov quit (Ping timeout: 248 seconds) |
| 02:58:08 | * | francisl quit (Quit: francisl) |
| 03:13:53 | * | vendethiel joined #nim |
| 03:46:50 | * | francisl joined #nim |
| 04:06:54 | * | vendethiel quit (Ping timeout: 248 seconds) |
| 04:34:00 | * | yglukhov joined #nim |
| 04:38:27 | * | yglukhov quit (Ping timeout: 248 seconds) |
| 04:58:21 | * | francisl quit (Quit: francisl) |
| 05:10:27 | * | desophos quit (Read error: Connection reset by peer) |
| 05:26:20 | * | francisl joined #nim |
| 06:19:32 | * | francisl quit (Quit: francisl) |
| 06:35:21 | * | yglukhov joined #nim |
| 06:39:31 | * | yglukhov quit (Ping timeout: 248 seconds) |
| 07:12:38 | * | miko_ joined #nim |
| 07:22:50 | * | yglukhov joined #nim |
| 07:44:23 | * | cheatfate_ is now known as cheatfate |
| 08:04:20 | * | miko_ quit (Ping timeout: 268 seconds) |
| 08:36:58 | * | vendethiel joined #nim |
| 08:37:56 | * | mnemonikk_ joined #nim |
| 08:38:21 | * | zielmicha_ joined #nim |
| 08:38:54 | * | mnemonikk quit (Ping timeout: 246 seconds) |
| 08:38:54 | * | zielmicha quit (Ping timeout: 246 seconds) |
| 08:39:01 | * | zielmicha_ is now known as zielmicha |
| 08:44:21 | * | Mloc quit (Ping timeout: 250 seconds) |
| 08:52:06 | * | cheatfate quit (Quit: Leaving) |
| 08:54:19 | * | Arrrr joined #nim |
| 08:54:23 | * | cheatfate joined #nim |
| 08:54:33 | cheatfate | Varriount, are you here? |
| 08:58:54 | * | BitPuffin|osx joined #nim |
| 08:59:19 | * | BitPuffin|osx quit (Remote host closed the connection) |
| 08:59:34 | * | BitPuffin|osx joined #nim |
| 09:02:15 | * | yglukhov_ joined #nim |
| 09:02:15 | * | yglukhov quit (Read error: Connection reset by peer) |
| 09:14:43 | * | yglukhov_ quit (Ping timeout: 248 seconds) |
| 09:25:11 | * | yglukhov joined #nim |
| 09:26:10 | * | vonh2 joined #nim |
| 09:27:31 | * | vonh quit (Ping timeout: 248 seconds) |
| 09:28:54 | * | yglukhov quit (Remote host closed the connection) |
| 09:34:26 | Varriount | cheatfate: ? |
| 09:36:04 | cheatfate | i have a nimsuggest's warning in NimLime, and Araq tries to reproduce it on his own nimsuggest and dont see any warnings |
| 09:36:42 | cheatfate | question is how i can reproduce warning |
| 09:37:35 | cheatfate | this gist https://gist.github.com/cheatfate/e330c56f52b8198dede9 |
| 09:38:01 | * | Matthias247 joined #nim |
| 09:38:09 | cheatfate | is used to reproduce it, in my st2 i got a warning on line 8 |
| 09:40:26 | Varriount | cheatfate: Keep in mind that the Nimsuggest used for NimLime is slightly different than the official version. |
| 09:41:13 | Varriount | Though, what you're describing sounds like a bug in the 'check' command, which doesn't use nimsuggest. |
| 09:41:42 | * | gokr joined #nim |
| 09:41:51 | cheatfate | nimcheck using nim? |
| 09:42:04 | cheatfate | i mean nim executable? |
| 09:42:57 | Varriount | cheatfate: The NimLime commands that check a Nim file for errors use the compiler, not Nimsuggest. |
| 09:43:13 | Varriount | 'nim check <file>' |
| 09:44:33 | cheatfate | hmm but "nim check arrwarning.nim" doesnt produce any warnings |
| 09:45:25 | Varriount | cheatfate: Try 'nim check --verbosity:2 arrwarning.nim' |
| 09:46:20 | Varriount | cheatfate: The check commands allow for verbosity to be specified, mainly because you can also set the commands to output to the console or a seperate view. |
| 09:47:23 | * | A_Harlan joined #nim |
| 09:47:36 | Varriount | Hello A_Harlan |
| 09:48:50 | Varriount | cheatfate: This looks like a bug in the compiler, albeit a minor one. It occurs when the verbosity flag is explicity set to 1 or higher. |
| 09:55:32 | cheatfate | Varriount, thank you |
| 09:56:01 | Varriount | cheatfate: My mistake, it only occurs on verbosity level 2 or higher. |
| 09:56:32 | Araq | verbosity:2 indeed may enable more warnings |
| 09:57:39 | Araq | and the "init checking" still has some issues but is likely to become the default at one point |
| 10:01:21 | Varriount | Good morning Araq |
| 10:04:01 | * | A_Harlan is now known as A_Harlan[AWAY] |
| 10:13:42 | cheatfate | so this not a bug? or i need to fill issue? |
| 10:17:22 | Araq | well you don't initialize the array, do you? |
| 10:17:54 | Araq | zeroMem doesn't count since 'addr' allows for read and write access |
| 10:18:13 | Araq | and the compiler doesn't know zeroMem only writes |
| 10:18:30 | Araq | we would need something like: |
| 10:18:46 | Araq | proc zeroMem[T](x: out T) |
| 10:18:58 | Araq | yes, that's an 'out' here, not a 'var'. |
| 10:19:07 | Araq | noticed something? It doesn't exist yet ... |
| 10:21:08 | cheatfate | Araq, in my case i have declared array and used it for i/o operation like recv() to get data to this array, so zeroMem i have used just to reproduce same warning |
| 10:21:33 | * | darkf quit (Quit: Leaving) |
| 10:21:44 | cheatfate | but i dont think that array must be initialized before usage |
| 10:21:57 | * | gokr quit (Ping timeout: 276 seconds) |
| 10:22:17 | Araq | well the compiler initializes it for you. but lots of people complain about this feature |
| 10:22:26 | Araq | and they want the compiler to complain instead. |
| 10:22:44 | Araq | that's the uninit warning that ended up in verbosity:2 |
| 10:23:21 | Araq | it's not my fault people request an ever more complex programming language that at the end doesn't work :P |
| 10:30:22 | * | vendethiel quit (Ping timeout: 248 seconds) |
| 10:30:57 | Araq | the 'out T' solution would work for recv() too, of course |
| 10:33:21 | * | vendethiel joined #nim |
| 10:45:02 | cheatfate | so we need to rebuild all standart library to set "out"? |
| 10:45:07 | cheatfate | :) |
| 10:45:44 | Araq | the p: pointer; size: int idiom needs to be wrapped in a typesafe generic 'out T' |
| 10:46:00 | Araq | that's 10 procs in the stdlib or something, not a big deal |
| 10:46:18 | Araq | and the old code continues to exist (the low level implementation is necessary anyway) |
| 10:47:20 | cheatfate | but what with in/out staff? |
| 10:47:48 | cheatfate | if proc uses same buffer for "in" our "out" operations... there are many ioctls doing like that |
| 10:52:43 | cheatfate | * "in" and "out" |
| 10:56:32 | Varriount | cheatfate: inout? |
| 10:58:11 | Varriount | Araq: What would the 'out' type attribute imply, semantically? |
| 10:58:32 | Araq | that it's only used for writing, not reading |
| 10:58:46 | * | jaco60 joined #nim |
| 10:58:47 | Araq | note that 'var T' is a read/write view on the data |
| 10:59:02 | Araq | and so wouldn't prevent unitialized variable access |
| 11:00:28 | Varriount | cheatfate: By the way, to resolve the problem caused by the verbosity switch, just add "check.on_save.verbosity": 1 to your user settings for NimLime |
| 11:01:14 | cheatfate | Varriount, thanks |
| 11:01:31 | * | gokr joined #nim |
| 11:02:20 | Varriount | cheatfate: Quite a few aspects of NimLime can be customized through settings. just take a look at the default settings file. |
| 11:03:38 | Varriount | Araq: By the way, are you sure Nimsuggest's default mode isn't stdin? That's what the current master revision defaults to for me. |
| 11:07:18 | cheatfate | Varriount, and how i can invoke "Jump to definition"? could not find any information on github |
| 11:09:03 | Varriount | cheatfate: Try typing 'goto' in the command palette. It should be the "Nim: Goto Definition" entry. |
| 11:10:44 | cheatfate | command palette? |
| 11:11:29 | * | yglukhov joined #nim |
| 11:11:49 | Varriount | cheatfate: ctrl+shift+p |
| 11:12:55 | * | irrequietus joined #nim |
| 11:13:29 | cheatfate | got this https://gist.github.com/cheatfate/0873ccc000a954273c27 |
| 11:14:52 | Varriount | cheatfate: what does 'sublime.arch()' print in the dev console? |
| 11:15:13 | cheatfate | u'x64' |
| 11:16:55 | Varriount | cheatfate: Does your path to Nimsuggest have spaces? |
| 11:17:57 | * | yglukhov quit (Remote host closed the connection) |
| 11:18:03 | cheatfate | Varriount, sorry need to go, but answer on your question: "no" |
| 11:18:16 | Varriount | cheatfate: I'll see if I can replicate the problem. |
| 11:27:39 | * | A_Harlan[AWAY] quit (Quit: Textual IRC Client: www.textualapp.com) |
| 11:28:29 | * | exebook joined #nim |
| 11:39:18 | * | vegansk quit (Ping timeout: 246 seconds) |
| 11:48:57 | * | irrequietus quit (Remote host closed the connection) |
| 11:49:48 | * | irrequietus joined #nim |
| 11:50:11 | * | gokr quit (Quit: Leaving.) |
| 11:57:10 | * | Kingsquee quit (Quit: https://i.imgur.com/qicT3GK.gif) |
| 12:14:37 | * | vendethiel quit (Ping timeout: 252 seconds) |
| 12:27:26 | * | Demon_Fox quit (Quit: Leaving) |
| 12:41:37 | * | irrequietus quit () |
| 12:49:17 | * | toaoMgeorge joined #nim |
| 12:52:40 | * | vendethiel joined #nim |
| 13:00:01 | * | rok joined #nim |
| 13:01:22 | * | dorei joined #nim |
| 13:06:18 | * | yglukhov joined #nim |
| 13:10:29 | * | yglukhov quit (Ping timeout: 244 seconds) |
| 13:14:16 | * | vendethiel quit (Ping timeout: 264 seconds) |
| 13:15:47 | * | irrequietus joined #nim |
| 13:21:16 | * | francisl joined #nim |
| 13:51:58 | * | toaoMgeorge quit (Ping timeout: 248 seconds) |
| 13:52:55 | * | vendethiel joined #nim |
| 13:53:50 | * | toaoMgeorge joined #nim |
| 14:06:40 | * | boopsiesisaway is now known as boopsies |
| 14:14:03 | * | vendethiel quit (Ping timeout: 244 seconds) |
| 14:16:18 | * | vendethiel joined #nim |
| 14:37:27 | * | vendethiel quit (Ping timeout: 246 seconds) |
| 14:43:40 | * | vendethiel joined #nim |
| 14:55:16 | * | vegansk joined #nim |
| 14:56:45 | * | Matthias247 quit (Read error: Connection reset by peer) |
| 15:03:37 | * | vegansk quit (Ping timeout: 244 seconds) |
| 15:05:33 | * | vendethiel quit (Ping timeout: 240 seconds) |
| 15:07:10 | * | vendethiel joined #nim |
| 15:08:35 | * | vegansk joined #nim |
| 15:14:58 | Araq | Varriount: my nimsuggest defaults to socket mode |
| 15:17:59 | * | kier quit (Quit: Changing server) |
| 15:18:30 | * | kier joined #nim |
| 15:22:43 | * | vonh2 quit (Ping timeout: 252 seconds) |
| 15:28:54 | * | vendethiel quit (Ping timeout: 246 seconds) |
| 15:30:39 | * | arnetheduck quit (Ping timeout: 260 seconds) |
| 15:38:25 | * | desophos joined #nim |
| 15:53:28 | * | vendethiel joined #nim |
| 16:00:34 | rok | It defaults to stdio ._. |
| 16:01:51 | cheatfate | Varriount, i'm back |
| 16:06:53 | * | darkf joined #nim |
| 16:06:58 | * | Trustable joined #nim |
| 16:07:13 | * | cheatfate quit (Read error: Connection reset by peer) |
| 16:07:19 | * | cheatfate_ joined #nim |
| 16:09:20 | * | cheatfate__ joined #nim |
| 16:09:20 | * | cheatfate_ quit (Read error: Connection reset by peer) |
| 16:13:27 | * | cheatfate__ is now known as cheatfate |
| 16:13:55 | * | vendethiel quit (Ping timeout: 244 seconds) |
| 16:27:32 | * | francisl quit (Quit: francisl) |
| 16:30:44 | * | francisl joined #nim |
| 16:33:20 | * | vendethiel joined #nim |
| 16:37:39 | * | vegansk quit (Ping timeout: 244 seconds) |
| 16:42:47 | * | vegansk joined #nim |
| 16:51:05 | * | toaoMgeorge quit (Ping timeout: 244 seconds) |
| 16:51:43 | * | kier quit (Quit: leaving) |
| 16:53:54 | * | vonh joined #nim |
| 16:54:53 | * | vendethiel quit (Ping timeout: 250 seconds) |
| 17:00:00 | * | vendethiel joined #nim |
| 17:17:21 | * | kier joined #nim |
| 17:17:41 | * | kier quit (Client Quit) |
| 17:20:08 | * | kier joined #nim |
| 17:22:04 | * | vendethiel quit (Ping timeout: 252 seconds) |
| 17:26:17 | * | kier_ joined #nim |
| 17:27:52 | * | kier_ quit (Client Quit) |
| 17:28:04 | * | kier_ joined #nim |
| 17:29:45 | * | kier_ quit (Client Quit) |
| 17:29:52 | * | kier quit (Quit: leaving) |
| 17:30:02 | * | kier joined #nim |
| 17:30:06 | * | kier quit (Client Quit) |
| 17:30:21 | * | kier joined #nim |
| 17:34:09 | * | kier_ joined #nim |
| 17:34:57 | * | kier_ quit (Client Quit) |
| 17:35:01 | * | kier quit (Client Quit) |
| 17:35:09 | * | kier joined #nim |
| 17:35:27 | * | kier quit (Client Quit) |
| 17:37:02 | * | pregressive joined #nim |
| 17:43:16 | * | yglukhov joined #nim |
| 17:48:11 | Varriount | rok: You mean, nimsuggest does? |
| 17:49:17 | cheatfate | Varriount, do you need my help on reproducing lime's exception? |
| 17:49:25 | * | Matthias247 joined #nim |
| 17:49:44 | Varriount | cheatfate: Yes, but later. |
| 17:51:01 | Varriount | cheatfate: I'm not actually available to track down the problem at the moment. |
| 17:51:20 | cheatfate | so what i need to do? |
| 17:52:02 | Varriount | cheatfate: Well, could you PM me the values of the nim.executable and nimsuggest.executable settings? |
| 17:52:23 | * | yglukhov quit (Remote host closed the connection) |
| 17:53:10 | * | vendethiel joined #nim |
| 18:00:49 | rok | Varriount: Yeah, nimsuggest defaults to stdin mode. |
| 18:02:09 | rok | I've failed before I see, doesn't matter >_< |
| 18:03:14 | Arrrr | <_< |
| 18:06:58 | * | yglukhov joined #nim |
| 18:14:01 | * | vendethiel quit (Ping timeout: 240 seconds) |
| 18:14:02 | * | yglukhov quit (Remote host closed the connection) |
| 18:15:20 | * | vendethiel joined #nim |
| 18:34:10 | * | s455wang joined #nim |
| 18:45:24 | * | Arrrr quit (Quit: WeeChat 1.4) |
| 18:50:54 | * | yglukhov joined #nim |
| 19:00:18 | Varriount | Araq: So... what's going on with Nimsuggest on rok's and my system? |
| 19:01:09 | Araq | sorry, just checked again. |
| 19:01:19 | Araq | I'm wrong, stdin is indeed the default |
| 19:01:56 | * | mnemonikk_ is now known as mnemonikk |
| 19:01:56 | * | mnemonikk quit (Changing host) |
| 19:01:56 | * | mnemonikk joined #nim |
| 19:05:14 | * | francisl quit (Quit: francisl) |
| 19:08:47 | * | yglukhov quit (Remote host closed the connection) |
| 19:11:34 | * | vegansk quit (Ping timeout: 268 seconds) |
| 19:15:09 | * | vegansk joined #nim |
| 19:19:56 | * | yglukhov joined #nim |
| 19:26:00 | * | yglukhov_ joined #nim |
| 19:28:36 | * | yglukhov quit (Ping timeout: 276 seconds) |
| 19:30:28 | * | yglukhov_ quit (Ping timeout: 264 seconds) |
| 19:37:14 | * | pregress_ joined #nim |
| 19:37:32 | * | pregressive quit (Read error: Connection reset by peer) |
| 19:40:55 | * | yglukhov joined #nim |
| 19:47:26 | rok | Varriount: Whats your problem? I joined too late and didn't see what you wrote. |
| 19:48:36 | Varriount | rok: Araq commented on a Nimsuggest PR of mine, saying that the default nimsuggest mode was tcp, not stdin. |
| 19:49:10 | rok | Oh, alrighty then :) |
| 19:57:03 | * | Varriount wonders whether rok has a nest somewhere |
| 19:58:36 | rok | Nest? :D |
| 19:59:29 | Varriount | rok: https://en.wikipedia.org/wiki/Roc_(mythology) |
| 20:02:26 | rok | cool :) Rok is just a regular name here where I live ;) I've never heard of that bird before tho :) |
| 20:13:52 | * | pregress_ quit (Remote host closed the connection) |
| 20:15:04 | * | lucus16 joined #nim |
| 20:16:45 | * | pregressive joined #nim |
| 20:17:25 | * | yglukhov quit (Remote host closed the connection) |
| 20:20:37 | * | yglukhov joined #nim |
| 20:21:09 | * | pregressive quit (Ping timeout: 250 seconds) |
| 20:27:54 | * | francisl joined #nim |
| 20:32:01 | * | yglukhov quit (Remote host closed the connection) |
| 20:44:25 | * | toaoMgeorge joined #nim |
| 20:47:24 | * | Varriount quit (Disconnected by services) |
| 20:47:24 | * | Varriount_ joined #nim |
| 20:48:47 | * | toaoMgeorge quit (Ping timeout: 260 seconds) |
| 20:51:49 | ldlework | How would I turn a string into a GLChar array? |
| 20:52:39 | * | irrequietus quit (Ping timeout: 260 seconds) |
| 20:53:43 | * | toaoMgeorge joined #nim |
| 20:54:16 | ldlework | Anyone know? |
| 21:00:49 | * | toaoMgeorge quit (Ping timeout: 260 seconds) |
| 21:04:20 | * | toaoMgeorge joined #nim |
| 21:07:21 | * | irrequietus joined #nim |
| 21:08:02 | * | yglukhov joined #nim |
| 21:09:21 | * | toaoMgeorge quit (Ping timeout: 276 seconds) |
| 21:13:32 | * | toaoMgeorge joined #nim |
| 21:16:57 | * | rok quit (Quit: rok) |
| 21:18:01 | * | toaoMgeorge quit (Ping timeout: 252 seconds) |
| 21:18:30 | * | rok joined #nim |
| 21:19:16 | * | gokr joined #nim |
| 21:22:43 | * | toaoMgeorge joined #nim |
| 21:27:33 | * | toaoMgeorge quit (Ping timeout: 276 seconds) |
| 21:32:18 | * | toaoMgeorge joined #nim |
| 21:34:00 | Araq | ldlework: convert it to cstring and cast that to the GlChar array |
| 21:34:18 | ldlework | passing the array of string to allocCStringArray worked too I guess |
| 21:34:30 | * | rok quit (Quit: rok) |
| 21:39:19 | * | toaoMgeorge quit (Ping timeout: 260 seconds) |
| 21:41:52 | * | BitPuffin|osx quit (Ping timeout: 264 seconds) |
| 21:42:13 | * | toaoMgeorge joined #nim |
| 21:46:39 | * | toaoMgeorge quit (Ping timeout: 244 seconds) |
| 21:47:45 | * | kier joined #nim |
| 21:48:58 | * | kier quit (Client Quit) |
| 21:49:26 | * | kier joined #nim |
| 21:51:26 | * | toaoMgeorge joined #nim |
| 21:55:52 | * | toaoMgeorge quit (Ping timeout: 260 seconds) |
| 21:57:55 | * | PMunch joined #nim |
| 21:59:00 | * | kier quit (Quit: leaving) |
| 21:59:30 | * | kier joined #nim |
| 22:04:39 | * | yglukhov quit (Remote host closed the connection) |
| 22:16:47 | * | cheatfate_ joined #nim |
| 22:19:32 | * | kier quit (Quit: leaving) |
| 22:19:39 | * | kier joined #nim |
| 22:20:10 | * | cheatfate quit (Ping timeout: 252 seconds) |
| 22:24:37 | * | Kingsquee joined #nim |
| 22:26:17 | * | kier quit (Quit: leaving) |
| 22:26:27 | * | kier joined #nim |
| 22:29:01 | * | kier quit (Client Quit) |
| 22:29:10 | * | kier joined #nim |
| 22:29:23 | * | kier quit (Client Quit) |
| 22:29:43 | * | kier joined #nim |
| 22:33:02 | * | boopsies is now known as boopsiesisaway |
| 22:40:30 | * | vendethiel quit (Ping timeout: 248 seconds) |
| 22:46:02 | * | gokr quit (Ping timeout: 260 seconds) |
| 23:00:12 | * | vendethiel joined #nim |
| 23:23:15 | * | vendethiel quit (Ping timeout: 276 seconds) |
| 23:30:59 | * | Trustable quit (Quit: Leaving) |