<< 10-02-2018 >>

00:05:09*yunfan quit (Ping timeout: 263 seconds)
00:06:12*Sembei quit (Ping timeout: 265 seconds)
00:14:06*endragor joined #nim
00:17:27*Sembei joined #nim
00:18:03*Sembei is now known as DrWho
00:18:47*DrWho is now known as drwho
00:19:39*drwho is now known as Sembei
00:36:15*Sembei quit (Ping timeout: 248 seconds)
01:27:11*icebattle quit (Quit: leaving)
01:29:57*rinzai quit (Ping timeout: 240 seconds)
01:41:20*tefter joined #nim
01:55:22*rinzai joined #nim
01:59:29*rinzai quit (Ping timeout: 248 seconds)
02:20:37*yglukhov joined #nim
02:25:20*yglukhov quit (Ping timeout: 276 seconds)
02:29:40*endragor quit (Ping timeout: 256 seconds)
02:29:54shashlickhttps://donatstudios.com/GithubsTotalSecurityFacepalm
02:30:09shashlickInteresting, could impact nimble as well
02:38:56*chemist69 quit (Ping timeout: 265 seconds)
02:52:47*chemist69 joined #nim
03:02:31*yglukhov joined #nim
03:06:39*yglukhov quit (Ping timeout: 248 seconds)
03:09:23*d10n-work quit (Quit: Connection closed for inactivity)
03:09:34*Snircle quit (Quit: Textual IRC Client: www.textualapp.com)
03:16:28FromGitter<gogolxdong> ```code paste, see link``` ⏎ ⏎ should this crash because of `$` [https://gitter.im/nim-lang/Nim?at=5a7e640cb3c4a0d376042248]
03:16:53FromGitter<gogolxdong> ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=5a7e6425d74ee9f50da6e2bf]
03:23:20FromGitter<gogolxdong> requested from ajax
03:27:36*d10n-work joined #nim
03:32:09*endragor joined #nim
03:33:19*endragor_ joined #nim
03:36:57*endragor quit (Ping timeout: 264 seconds)
03:38:45*gokr quit (Ping timeout: 264 seconds)
03:43:03*rinzai joined #nim
03:47:27*rinzai quit (Ping timeout: 240 seconds)
04:15:51*radagast_04 joined #nim
04:51:25FromGitter<gogolxdong> How to use this symbol , ``` ⏎ proc `[]=`*T (obj: JsonNode; fieldname: cstring; value: T) ⏎ {.importcpp: "#[#] = #".}
04:51:42FromGitter<gogolxdong> ```proc `[]=`*[T](obj: JsonNode; fieldname: cstring; value: T) {.importcpp: "#[#] = #".}```
04:52:31FromGitter<gogolxdong> data[cstring"name"]=[string]"name" ?
05:20:30*rinzai joined #nim
05:24:38*yunfan joined #nim
05:25:20*rinzai quit (Ping timeout: 256 seconds)
05:32:17*radagast_04 quit (Ping timeout: 248 seconds)
05:41:36*tefter quit (Remote host closed the connection)
05:45:45FromGitter<gogolxdong> data[cstring"name"]="name" dosen't compile
05:46:16Araqwhat's the error message?
06:06:04FromGitter<gogolxdong> noway, it comes to work.
06:11:51*radagast_04 joined #nim
06:14:23*rinzai joined #nim
06:19:15*rinzai quit (Ping timeout: 260 seconds)
06:19:23*d10n-work quit (Quit: Connection closed for inactivity)
06:26:27*dddddd quit (Remote host closed the connection)
06:34:21*edwardsayer joined #nim
06:35:24*edwardsayer quit (Client Quit)
07:08:20*rinzai joined #nim
07:12:31*rinzai quit (Ping timeout: 248 seconds)
07:22:00*solitudesf joined #nim
07:55:52*BitPuffin joined #nim
08:02:13*rinzai joined #nim
08:06:27*rinzai quit (Ping timeout: 240 seconds)
08:13:04radagast_04I want to use the equivalent of std::cerr. Should I use logger?
08:13:44radagast_04Nvm stderr.writeln
08:17:34*gokr joined #nim
08:29:20*Ven`` joined #nim
08:38:06*Ven`` quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
08:38:23*Ven`` joined #nim
08:50:37FromGitter<gogolxdong> Can I put into a seq[JsonNode] as the parameter of `proc exec(varargs[string,`$`])`
08:56:07*rinzai joined #nim
09:00:27*rinzai quit (Ping timeout: 240 seconds)
09:30:15*Sembei joined #nim
09:33:51*BitPuffin quit (Ping timeout: 256 seconds)
09:39:39*nsf joined #nim
09:50:01*rinzai joined #nim
09:55:08*rinzai quit (Ping timeout: 276 seconds)
09:59:54*derlafff quit (Remote host closed the connection)
10:00:10*derlafff joined #nim
10:11:03FromGitter<tim-st> When I type `disc` in vscode and it doesnt suggest `discard`, is this an issue with vscode or with nimsuggest?
10:12:47FromGitter<tim-st> 1) I meant the vscode nim plugin
10:28:34Araqvscode
10:28:56Araqbut keyword completion is rather futile, their are all rather short
10:29:29FromGitter<tim-st> should vs code know, that discard shouldnt be suggest in a proc param definition?
10:29:38FromGitter<tim-st> like proc*(c: discard)
10:30:12FromGitter<tim-st> (just as an example case of many)
10:30:35Araqwell nimsuggest never suggests keywords. it suggests Nim identifiers
10:32:26FromGitter<tim-st> ok
10:43:54*rinzai joined #nim
10:48:35*rinzai quit (Ping timeout: 255 seconds)
11:18:49*rinzai joined #nim
11:29:00*Ven`` quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
11:49:35*gokr left #nim (#nim)
11:51:45FromGitter<tim-st> With the support of go to import in the nimsuggest update the other form `from x import y` doesnt work anymore when I click on y.. :(
11:57:06FromGitter<tim-st> ok, I found it: https://github.com/nim-lang/Nim/pull/7155
12:08:43*msmorgan quit ()
12:09:00*msmorgan joined #nim
12:09:02*mgdelacroix quit ()
12:09:20*mgdelacroix joined #nim
12:13:25*xet7_ is now known as xet7
12:30:51*yglukhov joined #nim
12:32:25*nsf quit (Quit: WeeChat 2.0.1)
12:35:07*vlad1777d joined #nim
12:43:07*yglukhov quit (Read error: Connection reset by peer)
12:43:43*yglukhov joined #nim
12:53:35*endragor_ quit (Remote host closed the connection)
12:54:02*endragor joined #nim
12:55:48*Sembei quit (Read error: Connection reset by peer)
12:56:45*endragor_ joined #nim
12:57:42*vlad1777d quit (Remote host closed the connection)
12:58:50*endragor quit (Ping timeout: 260 seconds)
13:00:15*rokups joined #nim
13:00:46*Sembei joined #nim
13:00:58*Trustable joined #nim
13:01:41*endragor_ quit (Ping timeout: 276 seconds)
13:03:12*vlad1777d joined #nim
13:08:26*dddddd joined #nim
13:10:07*yglukhov quit (Remote host closed the connection)
13:13:09*rinzai quit (Ping timeout: 256 seconds)
13:21:43*rinzai joined #nim
13:21:54*Shoozza quit (Ping timeout: 256 seconds)
13:21:57*Sembei quit (Ping timeout: 240 seconds)
13:26:09*rinzai quit (Ping timeout: 264 seconds)
13:27:13*Deen_DDNet joined #nim
13:31:55*Deen_DDNet quit (Ping timeout: 260 seconds)
13:33:59*yglukhov joined #nim
13:39:21*endragor joined #nim
14:15:14*BitPuffin joined #nim
14:19:39*xet7_ joined #nim
14:20:23*xet7 quit (Ping timeout: 255 seconds)
14:22:27*enthus1a1t joined #nim
14:24:03*Snircle joined #nim
14:24:55*enthus1ast quit (Ping timeout: 256 seconds)
14:32:56*rinzai joined #nim
14:33:51*SenasOzys joined #nim
14:37:53*rinzai quit (Ping timeout: 276 seconds)
14:39:32*Ven`` joined #nim
14:43:39*SenasOzys quit (Remote host closed the connection)
14:44:20*SenasOzys joined #nim
14:53:35*SenasOzys quit (Ping timeout: 240 seconds)
15:05:09*SenasOzys joined #nim
15:05:10*xet7_ is now known as xet7
15:11:15*rinzai joined #nim
15:15:55*rinzai quit (Ping timeout: 256 seconds)
15:27:22*rinzai joined #nim
15:30:11*obadz joined #nim
15:30:48*obadz quit (Client Quit)
15:32:29*rinzai quit (Ping timeout: 276 seconds)
15:47:34Araqhmm do we want type Path = distinct string ?
15:49:45*xet7 quit (Ping timeout: 260 seconds)
15:52:08dom96no
15:52:32Araqit would help with parseJson vs parseJson
15:52:43Araqone taking a filename, the other the contents as a string
15:53:11Araqjson.parseFile vs json.parseJson is kinda meh ...
15:53:53Araqin fact, I have to look it up every time I use it.
15:54:05Araqcould simply use it more often though...
16:04:21*xet7 joined #nim
16:06:35*Ven`` quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
16:06:46*rinzai joined #nim
16:06:48*Ven`` joined #nim
16:07:20*Ven`` quit (Client Quit)
16:08:53*yglukhov quit (Remote host closed the connection)
16:11:12*rinzai quit (Ping timeout: 256 seconds)
16:12:11*rinzai joined #nim
16:17:02*rinzai quit (Ping timeout: 260 seconds)
16:18:42*Ven`` joined #nim
16:19:11*rokups quit (Quit: Connection closed for inactivity)
16:37:13*Trustable quit (Remote host closed the connection)
16:53:08*rinzai joined #nim
17:09:39*darithorn joined #nim
17:29:29*vlad1777d quit (Ping timeout: 276 seconds)
17:36:03*yglukhov joined #nim
17:37:42*endragor quit (Remote host closed the connection)
17:40:35*yglukhov quit (Ping timeout: 240 seconds)
17:42:06*dddddd quit (Remote host closed the connection)
17:42:19*krux02 joined #nim
17:43:41*krux02_ joined #nim
17:44:51*krux02_ quit (Client Quit)
17:45:26*krux02 quit (Client Quit)
17:46:25*krux02 joined #nim
17:54:40*xet7_ joined #nim
17:55:54*xet7 is now known as Guest35844
17:56:09*xet7_ quit (Remote host closed the connection)
17:56:31*xet7_ joined #nim
17:56:59*Guest35844 quit (Ping timeout: 255 seconds)
17:57:55*xet7_ is now known as xet7
18:04:27*qJ7km joined #nim
18:20:09*SenasOzys_ joined #nim
18:20:45*SenasOzys quit (Ping timeout: 264 seconds)
18:45:21*qJ7km quit (Quit: Page closed)
18:58:19*tefter joined #nim
19:12:35*yglukhov joined #nim
19:15:09FromGitter<Quelklef> IMO a path is conceptually distinct from a strong so yes. They just happen to have similar representations
19:22:05*yglukhov quit (Remote host closed the connection)
19:30:41*yglukhov joined #nim
19:36:31FromGitter<GULPF> Making
19:37:29FromGitter<GULPF> ...path distinct is just annoying without solving any important problem imo
19:38:53FromGitter<GULPF> parseFile is just a bad name, should be loadJson like loadHtml
19:44:48Araqhmmm
19:45:31*natrys joined #nim
19:45:43Araqdunno on Windows it could lead to much more efficient code too
19:46:05Araqsince we can make Path UTF-16
19:46:14*vlad1777d joined #nim
19:57:31FromGitter<krux02> well there is a path to a single file, and there is a path like the PATH environment variable that is a list of paths.
19:57:54FromGitter<krux02> that path list could also be a distinct string
19:58:10Araqthat path list is not a concept in Nim's stdlib
19:58:32FromGitter<krux02> but how would you declare a filepath? `let file = path"~/myfile"`?
19:58:32Araqit's rare.
19:58:42dom96sorry but it's simply too late for this change
19:59:00FromGitter<krux02> I would not say so.
19:59:13FromGitter<krux02> but I am ok with paths as simply just strings
19:59:29Araqkrux02 the ~ is a shell extension, but yes.
20:00:20FromGitter<krux02> I didn't know ~ was part of the shell
20:00:38Araqit's a constant source of bugs
20:01:10FromGitter<krux02> well all it needs to be is to be expanded to the value of $HOME or not?
20:01:46Araqyes
20:02:04*BitPuffin quit (Remote host closed the connection)
20:02:14Araqenvironment variable expansion is also a shell feature though ;-)
20:02:44FromGitter<krux02> yes that i know
20:03:33FromGitter<krux02> but as far as I know fopen in C works with "~/path/in/home"
20:03:45Araqtry it.
20:03:48FromGitter<krux02> but I am not sure
20:03:51FromGitter<krux02> i do
20:09:02FromGitter<krux02> ok I did try it, and you are right
20:10:37*Serenitor joined #nim
20:16:15*Trustable joined #nim
20:27:23*rinzai quit (Ping timeout: 268 seconds)
20:32:53*Ven`` quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
20:36:07*NimBot joined #nim
20:41:27*natrys quit (Ping timeout: 240 seconds)
20:49:32*rinzai joined #nim
20:50:00*xet7_ joined #nim
20:51:38*xet7 quit (Ping timeout: 252 seconds)
20:53:12*Serenitor quit (Quit: Leaving)
20:53:57*rinzai quit (Ping timeout: 240 seconds)
20:56:01*yglukhov quit (Read error: Connection reset by peer)
20:56:24*natrys joined #nim
20:56:32*xet7_ is now known as xet7
20:56:35*yglukhov joined #nim
20:56:36*SenasOzys_ quit (Remote host closed the connection)
20:57:27*SenasOzys joined #nim
21:01:11*rockcavera quit (Remote host closed the connection)
21:01:43*gokr joined #nim
21:06:15*natrys quit (Quit: natrys)
21:10:00*rinzai joined #nim
21:14:40*rinzai quit (Ping timeout: 248 seconds)
21:18:02*krux02 quit (Remote host closed the connection)
21:21:23*rinzai joined #nim
21:26:09*rinzai quit (Ping timeout: 264 seconds)
21:30:44*Ven`` joined #nim
21:34:17FromGitter<mratsim> @brentp had the same issues with header-only libraries. Check the forum (though I didn’t try I guess the currentSourcePath solutions are the easiest)
21:37:27FromGitter<mratsim> By the way, the guy using Nim to drive smart home / smart windows is William Whitacre here: https://github.com/windgo-inc
21:37:35*jxy quit (*.net *.split)
21:37:36*gmpreussner quit (*.net *.split)
21:37:36*zama quit (*.net *.split)
21:37:36*Sargun quit (*.net *.split)
21:37:37*awal quit (*.net *.split)
21:37:37*GitDisc quit (*.net *.split)
21:37:37*Trustable quit (*.net *.split)
21:37:37*derlafff quit (*.net *.split)
21:37:37*arnetheduck quit (*.net *.split)
21:37:38*skelett quit (*.net *.split)
21:37:38*nekits quit (*.net *.split)
21:37:38*TheManiac quit (*.net *.split)
21:37:38*mgdelacroix[m] quit (*.net *.split)
21:38:13*acidx quit (*.net *.split)
21:38:13*r4vi quit (*.net *.split)
21:38:14*survivorm[m] quit (*.net *.split)
21:38:14*Jipok[m] quit (*.net *.split)
21:38:14*unclechu quit (*.net *.split)
21:38:15*niv quit (*.net *.split)
21:38:15*JStoker quit (*.net *.split)
21:38:15*odc quit (*.net *.split)
21:38:54*Sargun joined #nim
21:39:57*Ven`` quit (Ping timeout: 240 seconds)
21:42:15*acidx joined #nim
21:42:15*r4vi joined #nim
21:42:15*survivorm[m] joined #nim
21:42:15*Jipok[m] joined #nim
21:42:15*niv joined #nim
21:42:15*JStoker joined #nim
21:42:15*odc joined #nim
21:42:52*Ven`` joined #nim
21:45:11*notdekka[m] quit (Ping timeout: 252 seconds)
21:45:11*planetis[m] quit (Ping timeout: 252 seconds)
21:45:16*Yardanico quit (Ping timeout: 248 seconds)
21:45:26*Trustable joined #nim
21:45:26*derlafff joined #nim
21:45:26*jxy joined #nim
21:45:26*arnetheduck joined #nim
21:45:26*skelett joined #nim
21:45:26*nekits joined #nim
21:45:26*TheManiac joined #nim
21:45:26*mgdelacroix[m] joined #nim
21:45:26*gmpreussner joined #nim
21:45:26*zama joined #nim
21:45:26*awal joined #nim
21:45:26*GitDisc joined #nim
21:45:30*survivorm[m] quit (Ping timeout: 256 seconds)
21:45:32*hohlerde quit (Ping timeout: 256 seconds)
21:46:07*Miguelngel[m] quit (Ping timeout: 256 seconds)
21:46:10*byteflame quit (Ping timeout: 240 seconds)
21:46:11*ehmry quit (Ping timeout: 240 seconds)
21:46:16*dyce[m] quit (Ping timeout: 252 seconds)
21:46:17*macsek1911[m] quit (Ping timeout: 252 seconds)
21:46:20*xincognito10[m] quit (Ping timeout: 255 seconds)
21:46:22*TheManiac quit (Ping timeout: 255 seconds)
21:46:23*mgdelacroix[m] quit (Ping timeout: 255 seconds)
21:46:33*Jipok[m] quit (Ping timeout: 256 seconds)
21:46:37*hiway quit (Ping timeout: 260 seconds)
21:46:37*Demos[m] quit (Ping timeout: 260 seconds)
21:46:37*shashlick quit (Ping timeout: 260 seconds)
21:47:58*GitDisc quit (Read error: Connection reset by peer)
21:53:45*yglukhov quit (Read error: Connection reset by peer)
21:54:29*yglukhov joined #nim
22:03:33*yglukhov quit (Read error: Connection reset by peer)
22:04:06*yglukhov joined #nim
22:05:24Araq2⁷⁷²³²⁹¹⁷-1 is prime
22:06:45*solitudesf quit (Ping timeout: 256 seconds)
22:10:32*Trustable quit (Remote host closed the connection)
22:26:35*Ven`` quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
22:45:18*Ven`` joined #nim
22:45:36*krux02 joined #nim
22:47:06*yglukhov quit (Remote host closed the connection)
23:06:33*hiway joined #nim
23:12:01*SenasOzys quit (Ping timeout: 248 seconds)
23:18:16*shashlick joined #nim
23:18:16*Yardanico joined #nim
23:18:17*unclechu joined #nim
23:18:17*mgdelacroix[m] joined #nim
23:18:17*Miguelngel[m] joined #nim
23:18:17*dyce[m] joined #nim
23:18:17*ehmry joined #nim
23:18:17*xincognito10[m] joined #nim
23:18:18*Demos[m] joined #nim
23:18:23*TheManiac joined #nim
23:18:23*Jipok[m] joined #nim
23:18:23*planetis[m] joined #nim
23:18:24*macsek1911[m] joined #nim
23:18:24*hohlerde joined #nim
23:18:24*notdekka[m] joined #nim
23:18:25*byteflame joined #nim
23:18:25*survivorm[m] joined #nim
23:21:45*Ven`` quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
23:23:36*rinzai joined #nim
23:28:23*rinzai quit (Ping timeout: 276 seconds)
23:29:18*dddddd joined #nim
23:31:46*rinzai joined #nim
23:42:27*krux02 quit (Quit: Verlassend)
23:43:09*darithorn quit (Quit: Leaving)
23:52:48radagast_04Not nim related but I have noticed many non-gtk apps don't render at smooth 60 FPS, especially while resizing the window. For example, many QML apps are pretty slow in this regard. Why is that?