<< 18-11-2016 >>

00:07:35*brechtm_ joined #nim
00:09:06*brechtm quit (Ping timeout: 250 seconds)
00:14:51*brechtm_ quit (Remote host closed the connection)
00:21:15*PMunch quit (Quit: leaving)
00:22:45*Matthias247 quit (Read error: Connection reset by peer)
00:34:03*yglukhov joined #nim
00:38:34*yglukhov quit (Ping timeout: 268 seconds)
00:58:07*chemist69 quit (Ping timeout: 258 seconds)
01:12:18*gokr quit (Ping timeout: 258 seconds)
01:16:30*yglukhov joined #nim
01:21:02*yglukhov quit (Ping timeout: 250 seconds)
01:24:59*chemist69 joined #nim
01:53:11*byte512 joined #nim
01:53:25*libman quit (Remote host closed the connection)
01:58:05*brson quit (Ping timeout: 260 seconds)
02:00:21*brson joined #nim
02:13:43*couven92 quit (Read error: Connection reset by peer)
02:14:06*ibk joined #nim
02:20:09*yglukhov joined #nim
02:24:17*yglukhov quit (Ping timeout: 240 seconds)
02:41:40shashlickWhat do you mean when you say VM
02:49:02shashlickThanks for the vscode mention, hadn't heard of it. Will check it out.
02:49:06*chemist69 quit (Ping timeout: 246 seconds)
02:50:20*krux02 quit (Remote host closed the connection)
02:53:10*brson quit (Quit: leaving)
03:02:22*yglukhov joined #nim
03:03:05*chemist69 joined #nim
03:06:56*yglukhov quit (Ping timeout: 250 seconds)
03:08:11*brson joined #nim
03:51:17*StarBrilliant joined #nim
04:10:39*cheatfate quit (Ping timeout: 246 seconds)
04:48:06*brson quit (Ping timeout: 252 seconds)
04:56:34*space-wizard quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
05:10:49*space-wizard joined #nim
05:13:03*yglukhov joined #nim
05:17:08*yglukhov quit (Ping timeout: 245 seconds)
05:31:07*nsf joined #nim
05:39:51*desophos quit (Ping timeout: 260 seconds)
05:50:01*irrequietus quit ()
05:50:12*space-wizard quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
05:55:43*irrequietus joined #nim
05:55:44*byte512 quit (Ping timeout: 260 seconds)
06:16:24*yglukhov joined #nim
06:21:00*yglukhov quit (Ping timeout: 260 seconds)
06:34:56*desophos joined #nim
07:16:22*ARCADIVS joined #nim
07:52:17*chemist69 quit (Quit: WeeChat 1.6)
07:52:35*chemist69 joined #nim
07:58:08*irrequietus quit (Ping timeout: 250 seconds)
07:58:27*Arrrr joined #nim
07:58:27*ibk quit (Quit: Connection closed for inactivity)
08:01:05*byte512 joined #nim
08:04:02*gokr joined #nim
08:13:16*yglukhov joined #nim
08:16:51*xet7 quit (Quit: Leaving)
08:18:25*byte512 quit (Ping timeout: 265 seconds)
08:18:45*yglukhov quit (Ping timeout: 248 seconds)
08:21:00*Trustable joined #nim
08:41:53*xet7 joined #nim
09:15:00*yglukhov joined #nim
09:17:01*xet7 quit (Quit: Leaving)
09:17:09*tripleplus joined #nim
09:18:44*xet7 joined #nim
09:19:54triplepluswhen i attempt to remove the last key-value pair in a file via parsecfg, it fails silently. i'm using code that's more or less identical to the example code for the library, and it works for files with more than one item in them.
09:20:06tripleplusany thoughts on what i might be overlooking?
09:21:47Araqparsecfg can remove pairs? hu?
09:22:13tripleplusdelSectionKey()
09:22:20euantorMight be a good idea to share your code, an example input and what you expect
09:24:21tripleplushttp://pastebin.com/irGWa60c
09:24:59tripleplusinput example: kvdb delete --key="jack"
09:25:15tripleplusexpected behavior: "jack=jill" removed from target file
09:25:41tripleplusbehavior is as expected, except when the file consists of "jack=jill" only
09:26:00tripleplusthis is my first nim program, so please excuse.
09:26:59triplepluser, sorry, the pasted file should have been named "kvdb.nim"
09:27:25euantorLooks fine to me at first glance
09:28:08flyxwhy do the procs return strings?
09:28:14*Sembei joined #nim
09:28:14flyxthey are always discarded
09:30:40tripleplusyeah, i wasn't really clear on how proc typing works. it was barking at me when i took the types off, so i put them back on. it's a little bit "hello, this is dog" over here right now.
09:31:13euantorFor me with a file containing just `jack=jill`, the get action doesn't work either
09:31:21flyx`proc delKey(k: string, f: string) = \\ ...` works if you remove the discard statement on the callsite
09:31:23tripleplushuh, it works for me.
09:32:10flyxthe problem might be that delSectionKey deletes the whole section if the deleted key is the last one in it. not sure if that makes sense for the general section.
09:32:13tripleplusflyx: okay, wil try that.
09:32:38tripleplusflyx: ah, yeah, i saw that behavior with sections.
09:33:07flyxbut reading the implementation of writeSection(), I don't see how a missing general section would cause a failure
09:33:15flyx*writeConfig
09:36:01euantorI've got it working, but getting the same results too. Was looking at the wrong INI file
09:37:52euantorIt looks like the delete itself isn't working. I added `echo dict` to the top of `writeConfig` and it echos `{: {jack: jill}}`
09:45:32euantorLooks like it's this that fails https://www.irccloud.com/pastebin/nPRigibM/
09:46:01euantorI wonder if it's because hashing an empty key doesn't work or something?
09:46:47*Sembei quit (Ping timeout: 268 seconds)
09:48:24flyxreported: https://github.com/nim-lang/Nim/issues/5035
09:49:24Araqoh yeah, did I tell you your 'del' for OrderedTable is wrong?
09:52:24*tripleplus quit (Ping timeout: 260 seconds)
09:54:53flyxthe would be yglukhov's according to git blame
09:59:48*zaquest joined #nim
10:01:17*Sembei joined #nim
10:03:06*Varriount|Mobile joined #nim
10:06:09*brechtm joined #nim
10:19:04*cheatfate joined #nim
10:35:46*rokups joined #nim
11:13:57*dmi00 joined #nim
11:15:36*couven92 joined #nim
11:18:43*space-wizard joined #nim
11:44:16*elrood joined #nim
11:46:21*dmi00 quit (Ping timeout: 246 seconds)
11:54:42ArrrrSometimes i get the locklevel warning for multimethods even when im using .base.
11:54:56*space-wizard quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
11:55:25*space-wizard joined #nim
11:55:43*space-wizard quit (Client Quit)
11:56:15*space-wizard joined #nim
11:56:31*space-wizard quit (Client Quit)
11:57:01*space-wizard joined #nim
11:57:19*space-wizard quit (Client Quit)
11:57:47*space-wizard joined #nim
11:58:07*space-wizard quit (Client Quit)
11:58:28*arnetheduck joined #nim
11:58:35*space-wizard joined #nim
11:58:55*space-wizard quit (Client Quit)
12:02:22*Snircle joined #nim
12:02:30arnetheduckAraq, https://github.com/nim-lang/Nim/pull/5018?
12:02:53*Sembei quit (Ping timeout: 260 seconds)
12:03:48*gangstacat quit (Read error: Connection reset by peer)
12:07:57*space-wizard joined #nim
12:09:26*vlad1777d joined #nim
12:12:15*space-wizard quit (Ping timeout: 244 seconds)
12:15:37*Sembei joined #nim
12:19:43*Arrrr quit (Ping timeout: 268 seconds)
12:21:30*Arrrr joined #nim
12:21:53*gangstacat joined #nim
12:22:38*vlad1777d quit (Quit: Leaving)
12:24:58*PMunch joined #nim
12:30:22*zevlg quit (Remote host closed the connection)
12:32:08*yglukhov_ joined #nim
12:35:33*yglukhov quit (Ping timeout: 265 seconds)
12:37:28*Sembei quit (Ping timeout: 250 seconds)
12:41:01*yglukhov_ quit (Remote host closed the connection)
12:41:20*yglukhov joined #nim
12:46:03*gangstacat quit (Quit: Ĝis)
12:49:02*dmi00 joined #nim
12:51:41*gangstacat joined #nim
12:55:18*Arrrr quit (Ping timeout: 246 seconds)
12:57:01*Arrrr joined #nim
13:04:40*Arrrr quit (Ping timeout: 260 seconds)
13:09:28Varriount|MobileAraq, dom96: I believe another level in BountySource has been reached.
13:31:49*djiin quit (Ping timeout: 244 seconds)
13:32:44*brechtm_ joined #nim
13:35:45*brechtm quit (Ping timeout: 260 seconds)
13:47:18*Arrrr joined #nim
13:59:50*yglukhov quit (Remote host closed the connection)
14:00:24*yglukhov joined #nim
14:02:27*brechtm_ quit (Remote host closed the connection)
14:05:00*yglukhov quit (Ping timeout: 250 seconds)
14:05:41*ibk joined #nim
14:05:42*brechtm joined #nim
14:06:51*brechtm_ joined #nim
14:10:17*brechtm quit (Ping timeout: 260 seconds)
14:14:23*yglukhov joined #nim
14:14:25*yglukhov quit (Remote host closed the connection)
14:16:20*yglukhov joined #nim
14:16:21*yglukhov quit (Remote host closed the connection)
14:17:06*yglukhov joined #nim
14:17:07*yglukhov quit (Remote host closed the connection)
14:21:45*yglukhov joined #nim
14:21:50*yglukhov quit (Remote host closed the connection)
14:22:23*yglukhov joined #nim
14:27:58*Sembei joined #nim
14:31:31*krux02 joined #nim
14:32:03*desophos quit (Quit: Leaving)
14:39:59*krux02 quit (Ping timeout: 258 seconds)
14:47:51*zevlg joined #nim
14:49:39*djiin joined #nim
14:55:49*nsf quit (Quit: WeeChat 1.6)
14:56:02*gokr quit (Ping timeout: 244 seconds)
15:08:42ArrrrIs quote ok? http://pastebin.com/xz8XLJUb
15:12:30*couven92 quit (Ping timeout: 246 seconds)
15:12:46*Sembei quit (Ping timeout: 250 seconds)
15:13:20*Snircle quit (Quit: Textual IRC Client: www.textualapp.com)
15:14:14*couven92 joined #nim
15:25:15*dmi0 joined #nim
15:25:25*dmi00 quit (Ping timeout: 248 seconds)
15:28:37FromGitter<Almynic> i'm currently learning nim and I'm new to the language.
15:29:05FromGitter<Almynic> ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=582f1e41e4819cee199040c7]
15:30:43ArrrrresposibleFor: seq[Person] -> resposibleFor: @[person]
15:31:52FromGitter<Almynic> Ok thanks ? why is the @ nessarry?
15:32:40ArrrrWith [] you create an array, the `@` transform it into a seq
15:33:31FromGitter<Almynic> ok thanks
15:43:29*ARCADIVS quit (Quit: ARCADIVS)
15:51:51*arnetheduck quit (Ping timeout: 268 seconds)
15:52:50*Sembei joined #nim
15:55:29*libman joined #nim
16:03:36*couven92 quit (Ping timeout: 246 seconds)
16:05:00*couven92 joined #nim
16:23:06*PMunch quit (Quit: leaving)
17:03:10*pregressive joined #nim
17:04:46*tripleplus joined #nim
17:07:22*tripleplus quit (Client Quit)
17:08:28*ibk quit (Quit: Connection closed for inactivity)
17:11:51*Varriount|Mobile quit (Ping timeout: 246 seconds)
17:13:27*gangstacat quit (Quit: Ĝis)
17:14:49*kulelu88 joined #nim
17:15:57*gokr joined #nim
17:17:36*gangstacat joined #nim
17:30:01*[ui] joined #nim
17:31:29*brechtm joined #nim
17:33:23*brechtm quit (Remote host closed the connection)
17:34:57*brechtm_ quit (Ping timeout: 246 seconds)
17:45:27*couven92 quit (Quit: Client disconnecting)
17:47:19*yglukhov_ joined #nim
17:49:54*space-wizard joined #nim
17:50:42*pregressive quit (Read error: Connection timed out)
17:50:44*yglukhov quit (Ping timeout: 260 seconds)
17:51:28*Trioxin joined #nim
17:51:43*yglukhov_ quit (Ping timeout: 245 seconds)
17:51:45*brechtm joined #nim
17:53:36*pregressive joined #nim
17:55:12*yglukhov joined #nim
17:57:10*Sembei quit (Ping timeout: 252 seconds)
17:57:44*Varriount|Mobile joined #nim
17:58:23*Varriount|Mobile quit (Read error: Connection reset by peer)
17:58:29*Varriount|Phone joined #nim
17:59:52*yglukhov quit (Ping timeout: 265 seconds)
17:59:53*Varriount|Phone quit (Read error: Connection reset by peer)
18:16:04*brechtm quit (Remote host closed the connection)
18:20:16*Trustable quit (Remote host closed the connection)
18:21:23*brechtm joined #nim
18:22:22*brechtm_ joined #nim
18:26:02*brechtm quit (Ping timeout: 250 seconds)
18:29:00*brechtm_ quit (Read error: No route to host)
18:29:14*brechtm joined #nim
18:30:06*pregressive quit (Read error: Connection reset by peer)
18:31:43*Varriount|Phone joined #nim
18:34:02*Varriount|Phone quit (Read error: Connection reset by peer)
18:34:25*brechtm quit (Remote host closed the connection)
18:47:40*yglukhov joined #nim
18:47:45*pregressive joined #nim
18:51:57*yglukhov quit (Ping timeout: 246 seconds)
18:58:29*djiin quit (Read error: No route to host)
18:59:37*pregressive quit (Read error: Connection reset by peer)
19:06:55*brson joined #nim
19:07:21*Trioxin quit (Quit: Konversation terminated!)
19:07:42*lenstr quit (Excess Flood)
19:07:58FromGitter<Almynic> Hi I have a question regarding Object methods. ⏎ ⏎ ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=582f518d5eb8ea792a38a0cc]
19:08:12*LeNsTR joined #nim
19:08:44*pregressive joined #nim
19:08:52FromGitter<Almynic> why does boss1.listPersonal work too?
19:09:43*cheatfate_ joined #nim
19:09:52*cheatfate quit (Read error: Connection reset by peer)
19:09:57*yglukhov joined #nim
19:10:02*pregressive quit (Read error: Connection reset by peer)
19:10:29*pregressive joined #nim
19:11:04*cheatfate_ is now known as cheatfate
19:12:21*Varriount|Mobile joined #nim
19:13:49Varriount|MobileNicolas: it's called Unified Function Call Syntax
19:15:08Varriount|MobileYou can think of it like this:
19:15:41Varriount|MobileThe compiler checks every occurrence of the object.method() syntax
19:16:29Varriount|MobileIf there's a corresponding function, it rewrites the expression as method(object).
19:16:42FromGitter<Almynic> Ok thanks and which syntax is preferred?
19:17:53Varriount|MobileIt's up to the programmer
19:19:27Varriount|MobileThe object.method rewriting does have some limitations, in that the compiler cannot always infer the correct method to use when rewriting the expression
19:20:18FromGitter<Almynic> ok thanks for your informative response
19:21:19*vlad1777d joined #nim
19:30:41*Varriount|Mobile quit (Read error: Connection reset by peer)
19:30:47*Varriount|Phone joined #nim
20:08:50*nsf joined #nim
20:11:56*Arrrr quit (Quit: WeeChat 1.5)
20:19:37*Varriount|Phone quit (Read error: Connection reset by peer)
20:25:44*Sembei joined #nim
20:35:52*Sembei quit (Ping timeout: 250 seconds)
20:36:59*Varriount|Phone joined #nim
20:40:46*Sembei joined #nim
20:44:53*desophos joined #nim
20:51:26*[ui] quit (Quit: Connection closed for inactivity)
20:56:23*desophos quit (Read error: Connection reset by peer)
20:56:43*desophos joined #nim
20:57:06*desophos quit (Read error: Connection reset by peer)
20:58:08*desophos joined #nim
21:03:51*gokr quit (Ping timeout: 260 seconds)
21:07:01*vlad1777d quit (Remote host closed the connection)
21:12:16*Varriount|Phone quit (Read error: Connection reset by peer)
21:12:33*Varriount|Phone joined #nim
21:15:15*Varriount|Phone quit (Read error: Connection reset by peer)
21:18:41*dmi0 quit (Ping timeout: 260 seconds)
21:20:39*Trustable joined #nim
21:25:21*byte512 joined #nim
21:38:58*brechtm joined #nim
21:42:15*dddddd joined #nim
21:54:55*libman quit (Remote host closed the connection)
21:56:41*Varriount|Phone joined #nim
22:01:37*Varriount|Phone quit (Ping timeout: 260 seconds)
22:09:52*vlad1777d joined #nim
22:22:49*brechtm quit (Remote host closed the connection)
22:25:33*tinAndi joined #nim
22:28:17*Matthias247 joined #nim
22:37:37*kulelu88 quit (Ping timeout: 268 seconds)
22:40:49*chemist69 quit (Ping timeout: 260 seconds)
22:45:16*brechtm joined #nim
22:54:48*chemist69 joined #nim
22:55:09*brechtm quit (Remote host closed the connection)
23:09:06*tinAndi quit (Quit: ChatZilla 0.9.93 [Firefox 50.0/20161104212021])
23:10:15*zaquest quit (Ping timeout: 246 seconds)
23:10:35*elrood quit (Quit: Leaving)
23:12:01*Varriount|Phone joined #nim
23:14:36*Trustable quit (Remote host closed the connection)
23:18:19*PMunch joined #nim
23:50:42*PMunch quit (Remote host closed the connection)
23:53:21*jh32 quit (Ping timeout: 260 seconds)