<< 03-06-2017 >>

00:06:27*skrylar joined #nim
00:06:30*skrylar wombles in
00:16:09*__trace__ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
00:22:12skrylarso, one last attempt at this question: is there any way to specify a continuation? like if you have a list of callees, and you put a closure in one, that closure being able to say something like (caller.unregister(continuation_self))
00:22:34skrylarIt's okay if there's not, I'll just switch over to a special return value and/or a string,cont tuple
00:22:44skrylarbut wanted to check for nim cleverness first
00:25:27*gokr quit (Ping timeout: 255 seconds)
00:29:50skrylaralso there is still a slight embarassment in that the official arch for nim 17 has that environment error
00:29:59skrylarnot sure if thats fixed upstream yet :x
00:34:53*jsgrant joined #nim
00:36:04*benny_ quit (Remote host closed the connection)
00:43:05*PMunch quit (Quit: leaving)
00:49:08FromGitter<ftsf> @zacharycarter still issues with the 3d example. `model.nim(24, 19) Error: attempting to call undeclared routine: 'getTextureCount'`
00:50:04FromGitter<ftsf> I'd suggest adding a nimble task to build all the examples
01:01:42*chemist69 quit (Ping timeout: 245 seconds)
01:04:23*chemist69 joined #nim
01:05:24*__trace__ joined #nim
01:16:45*chemist69 quit (Ping timeout: 255 seconds)
01:30:33*chemist69 joined #nim
01:45:59*yingjun joined #nim
01:50:21*yingjun quit (Ping timeout: 240 seconds)
02:04:01*rauss joined #nim
02:15:26*skrylar quit (Quit: Leaving)
02:42:17*def-pri-pub joined #nim
02:50:01libmanNim advocacy rant of the day - https://www.quora.com/What-is-a-good-alternative-to-C++/answer/Alex-Libman-2
02:54:59*jsgrant quit (Ping timeout: 260 seconds)
02:57:44*noethics quit (Remote host closed the connection)
02:58:03*noethics joined #nim
03:01:42*arnetheduck joined #nim
03:23:46*jsgrant joined #nim
03:37:25*Snircle quit (Quit: Textual IRC Client: www.textualapp.com)
03:47:49*yingjun joined #nim
03:52:07*yingjun quit (Ping timeout: 245 seconds)
04:14:38*def-pri-pub quit (Quit: leaving)
04:24:11FromGitter<gogolxdong> if one generic type is int,another is floa64,how to change returned generic type
04:25:09FromGitter<Varriount> @gogolxdong Could you provide an example?
04:26:40FromGitter<gogolxdong> ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=59323a8031f589c64f6d0879]
04:27:41FromGitter<gogolxdong> T:int ,K:float64
04:30:51FromGitter<gogolxdong> M,N:static[int]
04:35:19FromGitter<gogolxdong> With the implicit cast convention of literal int and float64 multiplication ,T should turn into float64
04:40:57*jsgrant quit (Ping timeout: 240 seconds)
04:41:12FromGitter<Varriount> @gogolxdong https://gist.github.com/Varriount/d9915ffc2261aa187ef7661c52e5b828
04:44:14FromGitter<gogolxdong> you cannot instantiate: 'T2' in this way
04:48:39FromGitter<mratsim> @gogolxdong You cannot do that, you either need k to be of type T2, or `*` to be a (T,T) -> T2 or (T,T2) -> T2 operation
04:50:07FromGitter<mratsim> by the way, I refactored @andreaferretti ’s linalg library to use Matrix[M,N,T] type instead of just Matrix64[M,N]
04:50:46FromGitter<mratsim> Check it out: https://github.com/unicredit/linear-algebra/pull/14
04:52:09FromGitter<mratsim> If you need to work with `int`, I’ve also started a Numpy-like Tensor/Torch library here: https://github.com/mratsim/Arraymancer
04:53:19FromGitter<mratsim> but it does not use `static[int]`for dimensions so compiler cannot enforce Matrix multiplication compatibility
04:57:06FromGitter<mratsim> If you need the best performance, I strongly advice you `not` to use an array of array. It’s better to use a single array, of size M*N, with either rows being contiguous (C order - you start at 0,0 then 0,1 then 0,2 then 1,0, then 1,1 …)
04:57:33FromGitter<mratsim> or columns being contiguous (0,0 then 1,0, then 2,0 then 0,1, then 1,1 …)
04:58:02FromGitter<mratsim> In-depth reading: http://eli.thegreenplace.net/2015/memory-layout-of-multi-dimensional-arrays/
05:02:43FromGitter<gogolxdong> I think providing a alternative Numpy library in Nim is brilliant as the underlying library of tensorflow or torch.
05:03:14FromGitter<gogolxdong> I think providing a alternative Numpy library in Nim as the underlying library of tensorflow or torch is brilliant.
05:03:53FromGitter<gogolxdong> I am checking out your library.
05:06:01FromGitter<gogolxdong> and the performance matters too since array type in Nim is value type, you did a pioneer job.
05:08:03FromGitter<mratsim> I don’t recommend to use my lib in production though, but you can check it out for inspiration, I’ve put a lot of comments on performance/memory considerations
05:08:19FromGitter<mratsim> Andrea’s linalg works on Cuda also
05:08:58FromGitter<mratsim> we both use OpenBLAS/Intel MKL for float multiplication through nimblas
05:10:38*benny_ joined #nim
05:12:17FromGitter<mratsim> got to go see you ater
05:12:32FromGitter<gogolxdong> see you later
05:15:02*benny_ quit (Ping timeout: 245 seconds)
05:18:27*arnetheduck quit (Ping timeout: 240 seconds)
05:19:16*chemist69 quit (Ping timeout: 272 seconds)
05:23:34*chemist69 joined #nim
05:26:52*pilne quit (Quit: Quitting!)
05:49:29*yingjun joined #nim
05:53:57*yingjun quit (Ping timeout: 240 seconds)
06:09:03*vlad1777d joined #nim
06:11:24*benny_ joined #nim
06:16:21*benny_ quit (Ping timeout: 240 seconds)
06:23:03*girvo joined #nim
06:33:02*__trace__ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
07:12:57*benny_ joined #nim
07:17:12*__trace__ joined #nim
07:17:39*benny_ quit (Ping timeout: 255 seconds)
07:27:12*chemist69 quit (Ping timeout: 272 seconds)
07:31:28*chemist69 joined #nim
07:36:53*yglukhov joined #nim
07:39:02*__trace__ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
07:45:01*libman quit (Quit: Connection closed for inactivity)
08:10:22*yglukhov quit (Remote host closed the connection)
08:11:08*yglukhov joined #nim
08:13:42*benny_ joined #nim
08:14:38*nsf joined #nim
08:18:24*benny_ quit (Ping timeout: 255 seconds)
08:31:52*Trustable joined #nim
08:35:23*yglukhov quit (Remote host closed the connection)
08:40:17*benny_ joined #nim
08:41:14*yglukhov joined #nim
08:41:56*yglukhov quit (Remote host closed the connection)
08:42:33*yglukhov joined #nim
08:46:44*__trace__ joined #nim
08:46:51*yglukhov quit (Ping timeout: 260 seconds)
08:51:16*yingjun joined #nim
08:55:15*__trace__ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
08:55:45*yingjun quit (Ping timeout: 255 seconds)
09:05:05*martinium joined #nim
09:11:36*Matthias247 joined #nim
09:17:03*gokr joined #nim
09:31:05*benny_ quit (Remote host closed the connection)
09:34:35*Etheco joined #nim
09:35:51*chemist69 quit (Ping timeout: 260 seconds)
09:37:59*chemist69 joined #nim
09:58:24FromGitter<martinium> when using getFNum() how do you specify number of decimal places?
10:08:40FromGitter<stisa> @martinium I don't think you can specify that directly, but maybe use https://nim-lang.org/docs/math.html#round,T,int or keep the precision and use https://nim-lang.org/docs/strutils.html#formatFloat,float,FloatFormatMode,range[],Char to format them when using `echo` ?
10:16:33*arnetheduck joined #nim
10:22:00*Vladar joined #nim
10:26:04*gokr quit (Quit: Leaving.)
10:26:16*gokr joined #nim
10:26:20*gokr quit (Client Quit)
10:31:58*benny_ joined #nim
10:36:27*benny_ quit (Ping timeout: 240 seconds)
10:45:10*yglukhov joined #nim
10:45:44*yingjun joined #nim
10:49:36*yglukhov quit (Ping timeout: 260 seconds)
10:50:23*yingjun quit (Ping timeout: 255 seconds)
11:02:21*Snircle joined #nim
11:08:16*Matthias247 quit (Read error: Connection reset by peer)
11:32:41*benny_ joined #nim
11:37:16*benny_ quit (Ping timeout: 255 seconds)
11:52:05*yingjun joined #nim
11:56:27*yingjun quit (Ping timeout: 240 seconds)
11:58:12*kunev quit (Ping timeout: 260 seconds)
11:59:12*kunev joined #nim
12:04:46*nsf quit (Quit: WeeChat 1.7.1)
12:16:20*girvo quit (Ping timeout: 255 seconds)
12:26:51*vlad1777d quit (Remote host closed the connection)
12:33:26*benny_ joined #nim
12:38:40*benny_ quit (Ping timeout: 246 seconds)
12:47:33*yglukhov joined #nim
12:52:19*yglukhov quit (Ping timeout: 260 seconds)
13:03:36*aedigix quit (Quit: disconnecting)
13:13:00*ludocode quit (Ping timeout: 272 seconds)
13:13:12*girvo joined #nim
13:15:43*Neomex joined #nim
13:16:22*ludocode joined #nim
13:22:07*chemist69 quit (Ping timeout: 245 seconds)
13:26:32*girvo quit (Ping timeout: 268 seconds)
13:26:50*aedigix joined #nim
13:34:52*benny_ joined #nim
13:39:15*benny_ quit (Ping timeout: 255 seconds)
13:44:11*jsgrant joined #nim
13:48:39*Trustable quit (Remote host closed the connection)
13:49:12*chemist69 joined #nim
14:04:43*pilne joined #nim
14:11:58*jsgrant quit (Ping timeout: 258 seconds)
14:18:54*benny_ joined #nim
14:19:34*Sentreen quit (Ping timeout: 268 seconds)
14:33:12*Sentreen joined #nim
14:34:02*Trustable joined #nim
14:37:40*dddddd joined #nim
14:37:42*benny_ quit (Remote host closed the connection)
14:38:02*benny_ joined #nim
14:44:07*chamar joined #nim
14:45:33FromGitter<zetashift> @zacharycarter trying to run the hello world frag, getting the error: frag\src\frag\assets\asset.nim(21, 15) Error: cannot open 'sound/sound'
14:47:33FromGitter<zetashift> nvm fixed it really easily haha
14:47:52FromGitter<zetashift> now running into a : frag\src\frag\graphics\three_d\model.nim(5, 3) Error: cannot open 'assimp' error tho
14:49:24*yglukhov joined #nim
14:50:51*PMunch joined #nim
14:53:35*yglukhov quit (Ping timeout: 240 seconds)
15:02:09*chamar quit (Quit: Konversation terminated!)
15:02:26*girvo joined #nim
15:03:36dom96zetashift: nimble install assimp (maybe?)
15:14:12*girvo quit (Ping timeout: 255 seconds)
15:19:37FromGitter<zetashift> @dom96 Error: nim-assimp is an invalid package name: cannot contain '-'
15:19:41FromGitter<zetashift> :(
15:22:10FromGitter<zetashift> renaming the .babel file worked ahha
15:27:43*chemist69 quit (Ping timeout: 260 seconds)
15:28:47*nsf joined #nim
15:53:19FromGitter<zetashift> Alright, everything is installed fine, now I'm getting this error but can't seem to fix it looking at the code in the graphics module: https://pastebin.com/D4ZAHHcs
15:53:31FromGitter<zetashift> (running the 00-helloworld example)
15:54:25*chemist69 joined #nim
15:54:47*yingjun joined #nim
15:58:57*yingjun quit (Ping timeout: 240 seconds)
16:06:24*__trace__ joined #nim
16:07:47AraqwindowPosX, windowPosY: int32; # so these need to be converted to int32
16:12:07*faix joined #nim
16:12:31ftsf\o/ got my opengl app working, loading models from obj and fps style camera and moving objects around, with deferred shading. all coming together =)
16:13:18FromGitter<zetashift> sweet thanks
16:13:21ftsfnow to try and add some shadow maps and SSAO
16:19:24Araqftsf: any chance you develop an RTS? :-)
16:19:30ftsfAraq, hmm not yet
16:19:38ftsfmaking a game about photographing cats =)
16:19:47ftsfi want to make an RTS at some point though
16:23:07*PMunch quit (Quit: leaving)
16:23:54*__trace__ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
16:28:29FromGitter<zetashift> bleh still can't get it the hello-world to work getting the same error
16:37:09*__trace__ joined #nim
16:38:30*shashlick joined #nim
16:39:16*shashlick quit (Client Quit)
16:39:33*__trace__ quit (Client Quit)
16:45:57*Arrrr joined #nim
16:51:29*girvo joined #nim
16:57:57*girvo quit (Ping timeout: 245 seconds)
17:01:47*Vladar quit (Quit: Leaving)
17:13:14*Neomex quit (Quit: Leaving)
17:28:19*yglukhov joined #nim
17:30:02*murych joined #nim
17:37:36*Matthias247 joined #nim
17:43:04*yglukhov quit (Remote host closed the connection)
18:03:24*yglukhov joined #nim
18:07:31*yglukhov quit (Remote host closed the connection)
18:17:15shmupcool ftsf
18:19:25*yglukhov joined #nim
18:20:15FromGitter<ephja> interesting. take all my money!
18:25:06*nsf quit (Quit: WeeChat 1.7.1)
18:38:38*benny_ quit (Remote host closed the connection)
18:38:55*benny_ joined #nim
18:40:02*girvo joined #nim
18:44:39*girvo quit (Ping timeout: 260 seconds)
18:46:18*yglukhov quit (Remote host closed the connection)
18:50:58*yglukhov joined #nim
18:56:13*yglukhov quit (Remote host closed the connection)
18:57:01*yingjun joined #nim
19:01:10*yingjun quit (Ping timeout: 240 seconds)
19:01:50*ofelas quit (Ping timeout: 240 seconds)
19:03:56*noethics quit (Quit: Leaving)
19:06:38*yglukhov joined #nim
19:10:37*ofelas joined #nim
19:11:54*yglukhov quit (Remote host closed the connection)
19:15:46*yglukhov joined #nim
19:20:04*Arrrr quit (Quit: Leaving.)
20:11:55*chemist69 quit (Ping timeout: 260 seconds)
20:13:42*dexterk joined #nim
20:13:50*dexterk__ quit (Ping timeout: 258 seconds)
20:14:13*chemist69 joined #nim
20:18:21*jsgrant joined #nim
20:19:57*Sembei joined #nim
20:28:29*girvo joined #nim
20:34:19*girvo quit (Ping timeout: 260 seconds)
20:39:17*Neomex joined #nim
20:42:20*faix quit (Ping timeout: 240 seconds)
20:58:52*yingjun joined #nim
21:03:38*yingjun quit (Ping timeout: 260 seconds)
21:04:43*jsgrant quit (Ping timeout: 268 seconds)
21:08:10*ofelas quit (Ping timeout: 240 seconds)
21:13:09*noethics joined #nim
21:13:29*ofelas joined #nim
21:22:31*nsf joined #nim
22:05:58*yglukhov quit (Remote host closed the connection)
22:16:59*girvo joined #nim
22:21:35*girvo quit (Ping timeout: 240 seconds)
22:23:55*benny_ quit (Remote host closed the connection)
22:24:16*Nobabs27 joined #nim
22:30:52*ofelas quit (Ping timeout: 245 seconds)
22:33:56*Trustable quit (Remote host closed the connection)
22:39:19*lrayb joined #nim
22:40:18*lrayb left #nim (#nim)
22:45:42*ofelas joined #nim
23:17:06EthecoTrying to build the controllgallery2.nim from the ui, but I am getting "LNK1181: cannot open input file 'Usp10.lib'" this is on windows any idea? I am a total noob also sorry.
23:26:01AraqEtheco: try a different VS version or mingw please
23:26:40EthecoOkay thanks Araq will try them options.
23:30:40*Matthias247 quit (Read error: Connection reset by peer)
23:38:36*nsf quit (Quit: WeeChat 1.7.1)