<< 14-01-2018 >>

00:54:37*yglukhov joined #nim
00:56:06*arecaceae quit (Remote host closed the connection)
00:56:25*arecaceae joined #nim
00:58:56*yglukhov quit (Ping timeout: 255 seconds)
01:28:15PMunchHaha, who did you ban dom96?
01:28:46dom96The classic color/bell spammer
01:29:00dom96they were k-lined anyway though
01:39:12*sz0_ joined #nim
01:39:26*vlad1777d quit (Ping timeout: 276 seconds)
01:39:46*sz0_ is now known as sz0
01:48:01FromGitter<data-man> The Nim community never sleeps? :-)
01:50:49PMunchSleep? What's sleep?
01:52:11FromGitter<data-man> I read somewhere that this is possible.
02:02:05*arecaceae quit (Remote host closed the connection)
02:02:23*arecaceae joined #nim
02:28:44*dddddd quit (Remote host closed the connection)
03:00:18*PMunch quit (Quit: leaving)
03:00:26*chemist69 quit (Ping timeout: 255 seconds)
03:07:49*marenz__ joined #nim
03:08:21*xkapastel quit (Quit: Connection closed for inactivity)
03:11:14*marenz_ quit (Ping timeout: 255 seconds)
03:14:16*chemist69 joined #nim
04:21:47*endragor joined #nim
05:42:55*marenz__ quit (Ping timeout: 248 seconds)
06:04:36*couven92 quit (Quit: Client Disconnecting)
06:12:53*Snircle quit (Quit: Textual IRC Client: www.textualapp.com)
06:26:56*BitPuffin joined #nim
06:29:24*Serenitor joined #nim
06:34:14*nsf joined #nim
06:44:43*yglukhov joined #nim
06:49:03*yglukhov quit (Ping timeout: 248 seconds)
06:50:45*Serenit0r joined #nim
06:53:59*Serenitor quit (Ping timeout: 255 seconds)
07:03:27*BitPuffin quit (Remote host closed the connection)
07:17:35*miran joined #nim
07:30:31*sigmanet joined #nim
07:30:35sigmanetHey
07:30:42miranhey
07:30:54sigmanetDoes this channel have a topic?
07:31:07sigmanetOh
07:31:09sigmanetignore me
07:31:13sigmanetfirst time using irc
07:31:45sigmanetI'm looking for general chat channels, do you know of any?
07:33:03miranno idea, sorry
07:36:12*BitPuffin joined #nim
07:36:45*sigmanet left #nim (#nim)
07:45:47*SenasOzys joined #nim
07:59:39*azur_kind joined #nim
08:03:08*Trustable joined #nim
08:14:04*miran quit (Quit: Konversation terminated!)
08:38:51*Trustable quit (Remote host closed the connection)
08:46:05*miran joined #nim
08:52:57*Yardanico joined #nim
09:04:56*gmpreussner quit (Ping timeout: 255 seconds)
09:05:44*gmpreussner joined #nim
09:09:06*arnetheduck joined #nim
09:44:05*dddddd joined #nim
09:49:17*Yardanico quit (Ping timeout: 265 seconds)
09:56:54*Yardanico joined #nim
10:01:37*Yardanico quit (Client Quit)
10:01:48*Yardanico joined #nim
10:02:03*rauss quit (Read error: Connection reset by peer)
10:03:54*rauss joined #nim
10:24:28*sz0 quit (Quit: Connection closed for inactivity)
10:28:16*dddddd quit (Remote host closed the connection)
11:05:31*miran quit (Ping timeout: 256 seconds)
11:05:36*miran_ joined #nim
11:07:26*miran_ is now known as miran
11:08:30*Vladar joined #nim
11:26:06*Ven`` joined #nim
11:30:56*Ven`` quit (Ping timeout: 276 seconds)
11:41:20*Ven`` joined #nim
11:44:54*Ven` joined #nim
11:45:27*Ven`` quit (Ping timeout: 240 seconds)
11:46:32*miran quit (Ping timeout: 276 seconds)
11:49:33*yglukhov joined #nim
11:50:04*SenasOzys quit (Remote host closed the connection)
11:51:48*SenasOzys joined #nim
11:53:12*couven92 joined #nim
11:54:08*yglukhov quit (Ping timeout: 255 seconds)
11:57:50*Snircle joined #nim
12:01:28*Ven` quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
12:03:31*zahary joined #nim
12:08:14*arecaceae quit (Remote host closed the connection)
12:08:33*arecaceae joined #nim
12:08:59*Serenit0r quit (Ping timeout: 256 seconds)
12:33:24*endragor quit (Remote host closed the connection)
12:34:22*fredrik92 joined #nim
12:36:11*Vladar quit (Remote host closed the connection)
12:36:14*endragor joined #nim
12:37:00*couven92 quit (Ping timeout: 256 seconds)
12:37:17*fredrik92 is now known as couven92
12:41:08*endragor quit (Ping timeout: 276 seconds)
12:50:43*skelett joined #nim
13:08:40*yglukhov joined #nim
13:14:34dom96Some good insight here into Cargo: https://www.reddit.com/r/programming/comments/7q6ida/jai_libraries_discussion/dsnu9zc/ and https://www.reddit.com/r/programming/comments/7q6ida/jai_libraries_discussion/dsnu6ls/
13:14:52dom96It seems that Rust/Cargo supports packages which depend on multiple different versions of the same package.
13:19:15*zahary quit (Quit: Leaving.)
13:19:45*craigger quit (Quit: bye)
13:24:22FromGitter<GULPF> what happens with nimble in that scenario? e.g if I import module A and module B version 2, but module A imports module B version 1
13:25:58*craigger joined #nim
13:27:18yglukhovwhat about ABI? type A defined in module a. module b imports a v1, module c imports a v2. module b has function getA(): A. module c has function takeA(a: A). A v1 and v2 is ABI incompatible. crash?
13:27:45yglukhovin takeA(getA())
13:31:10yglukhovah ok, to answer my question. A v1 and A v2 are treated as different
13:34:04*yglukhov quit (Remote host closed the connection)
13:43:39*Serenitor joined #nim
13:51:16dom96GULPF: Nimble prevents that situation from occurring because Nim doesn't support it
13:53:11*Ven`` joined #nim
14:04:54skelettHi, in which situations produces sequtils.fiterIt an 'shadowed identifier: result' warning? I'm calling it from a procedure equivalent to `proc foo(elems: openArray[string], sep=" "): string = elems.filterIt(it != nil).join(sep)`.
14:07:58FromGitter<Araq> when you have a return type?
14:08:12FromGitter<Araq> filterIt should likely be changed to use a different name
14:10:00*yglukhov joined #nim
14:12:48skelettOhh I see. I was misreading the source. Thanks!
14:19:34*Ven`` quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
14:23:35FromGitter<Araq> so .... unary & ?
14:28:41*Ven`` joined #nim
14:30:05*zahary joined #nim
14:38:48*Serenit0r joined #nim
14:41:25*Serenitor quit (Ping timeout: 256 seconds)
14:46:34*Serenitor joined #nim
14:50:29*Serenit0r quit (Ping timeout: 256 seconds)
14:50:40*zahary quit (Quit: Leaving.)
14:50:46*xkapastel joined #nim
14:59:44*Kingsquee quit (Quit: https://i.imgur.com/qicT3GK.gif)
15:00:42*PMunch joined #nim
15:05:11Serenitorby any chance, is any of you who is using VSCode getting an occasional Unknown IO Error when writing into the embedded terminal, too?
15:05:28SerenitorI have that for a while now on windows, and haven't been able to find a better fix than to put try except around the echo/writeLine..
15:08:14hohlerderegarding project structure nimble's documentation is a bit outdated, isn't it?
15:09:10dom96Shouldn't be.
15:09:16dom96Which part do you think is outdated?
15:10:01FromGitter<zetashift> @Serenitor I haven't, though I don't use the embedded terminal THAT often
15:10:19FromGitter<zetashift> I did use it when I was doing advent of code in Nim and I had no problems there
15:10:57hohlerdei just used nimble init and I got a src folder (by default) in my projects root folder. the nimble file being in the project's root and the libraryname.nim file under src
15:11:56hohlerdethe documentation states that the nimble file and the library's main file should be in the root folder (or src folder)
15:13:00YardanicoSerenitor, I had that on windows too
15:13:02Yardanicoa lot of times
15:14:58Serenitor@Yardanico ah, guess you didn't find any other solution it? other than to ditch windows again that is
15:23:27YardanicoSerenitor, I didn't
15:24:04dom96hohlerde: In what way is that inconsistent with docs?
15:24:10Serenitorthx anyway
15:24:32*dddddd joined #nim
15:25:48hohlerdedom96: "A Nimble project includes a source directory, containing at most one primary source file, which shares the same name as the project itself (as well as the project's .nimble file). In most cases this source directory will also be the root directory of the whole project. In all cases, the root directory will contain the .nimble file."
15:27:11hohlerdedom96: first sentence says project.nim and project.nimble in src folder. second sentence says src folder doesn't have to be root folder, but project.nimble need to be in root folder
15:27:28hohlerdedom96: maybe my understanding/english is too bad
15:27:49dom96I suppose I should reword this
15:28:42hohlerdedom96: maybe first sentence means the project's nimble file needs to have the same name as the project itself
15:28:51dom96yep
15:29:10hohlerdedom96: yes, makes sense to me, than it is me :-)
15:29:26dom96I'm going to reword it anyway
15:30:16*vlad1777d joined #nim
15:51:49*miran joined #nim
16:02:14dom96Done
16:02:23dom96I made the explanation far more lean
16:03:04*marenz__ joined #nim
16:03:28*zahary joined #nim
16:09:19hohlerdedom96: 👍 very clear now, even for me 😃
16:09:25dom96yay :D
16:09:45dom96In the long run I want to move this stuff into a dedicate website
16:09:54dom96and split it up into multiple web pages
16:10:03dom96There is far too much on the same page right now
16:10:29hohlerdemaybe asciidoctor comes in handy for that
16:13:58*yglukhov quit (Remote host closed the connection)
16:16:23*zahary quit (Quit: Leaving.)
16:18:09*zahary joined #nim
16:36:56*zahary quit (Quit: Leaving.)
16:45:36*zahary joined #nim
16:50:41*Trustable joined #nim
16:51:49*endragor joined #nim
16:52:03*Ven`` quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
16:55:41*darithorn joined #nim
16:59:55*xkapastel quit (Quit: Connection closed for inactivity)
17:00:09*MJCaley joined #nim
17:04:26*endragor quit (Remote host closed the connection)
17:05:56*miran quit (Remote host closed the connection)
17:08:10*miran joined #nim
17:08:17*couven92 quit (Ping timeout: 276 seconds)
17:11:48*sz0 joined #nim
17:15:02*PMunch quit (Quit: leaving)
17:17:28*MJCaley quit (Quit: MJCaley)
17:31:19*miran quit (Remote host closed the connection)
17:32:08*endragor joined #nim
17:37:03*endragor quit (Ping timeout: 248 seconds)
17:44:08*miran joined #nim
17:49:47*miran quit (Quit: Konversation terminated!)
17:51:01*flyx quit (Quit: ZNC - http://znc.in)
17:51:10*flyx joined #nim
17:53:33*def-pri-pub joined #nim
18:03:39FromGitter<mratsim> Rejoice, OpenCL coming to Arraymancer! https://github.com/mratsim/Arraymancer/commit/b061aefd27fb4f8c4a8f4155a388bf9dd5d743c7
18:06:36*zahary quit (Quit: Leaving.)
18:09:01*zahary joined #nim
18:11:08*nsf quit (Quit: WeeChat 2.0.1)
18:14:05YardanicoHooray! you rock!
18:15:06Yardanicoit amazes me how much work can almost only one or a few persons do (this is true for nim too :P)
18:15:11*vlad1777d quit (Read error: Connection reset by peer)
18:16:49*vlad1777d joined #nim
18:20:45FromGitter<mratsim> =) Thanks, yeah I’m impressed myself. It’s my first huge project (all languages considered, even Excel) and many things just “click”.
18:22:45FromGitter<mratsim> Considering that neither Google Tensorflow nor Facebook Torch officially support OpenCL, there is a huuuugeee Nim marketing opportunity
18:24:19FromGitter<mratsim> Who knows, given how AMD, Intel and Apple are desperately against Nvidia/Cuda and OpenCL C++ API (SYCL) is not really popular, Nim might become the high level OpenCL language.
18:30:24*zahary quit (Quit: Leaving.)
19:01:46Yardanicomratsim: did you post it to reddit yet? :)
19:02:48FromGitter<mratsim> I will do it a bigger communication when I have more OpenCL procs implemented
19:03:28FromGitter<mratsim> I will also change the name of Arraymancer because, it’s just awkward in to explain it to Frenchs :P
19:04:07*yglukhov joined #nim
19:05:02FromGitter<mratsim> And I will leave my job at the end of the month and start as a freelance so I will rebrand it so that its consistent with my company name (it will retain the magician/Pyromancer/hydromancer/psychomancer/neuromancer feel of course ;) )
19:07:56*nsf joined #nim
19:09:11*yglukhov quit (Ping timeout: 276 seconds)
19:18:55dom96Awesome :D
19:19:08Yardaniconeuromancer sounds cool
19:20:28*Yardanico quit (Remote host closed the connection)
19:23:34*Yardanico joined #nim
19:23:53*Yardanico quit (Remote host closed the connection)
19:25:06*Yardanico joined #nim
19:34:47FromGitter<Varriount> Isn't that also the name of a book?
19:35:33FromGitter<mratsim> Yes, I will have issue to get a neuromancer.org domain
19:37:41FromGitter<mratsim> I was thinking of Numcaster (~ Spellcaster), and my company will be Numforge
19:38:22FromGitter<mratsim> And we use casts in a forge ;) so it all checks out (but maybe I’m thinking too much into it)
19:39:29*azur_kind quit (Remote host closed the connection)
19:45:05*miran joined #nim
19:49:35*yglukhov joined #nim
20:00:20livcduh i find concepts kinda confusing
20:01:09*sz0 quit (Quit: Connection closed for inactivity)
20:03:57miran"Copyright 2017 the Arraymancer contributors" - hey mratsim, it's 2018! :))
20:06:34dom96hah, somebody wrote "C++: *Excessive* overloading, generic programming"
20:06:40dom96on Nim's wikipedia page
20:07:56Yardanicomiran, it doesn't need to be updated though
20:08:06Yardanicoyou can only write first year
20:08:41Yardanicolivcd, why? they're like "if object has this stuff it will match"
20:08:45mirani had no idea.... even for stuff that's created in 2018?
20:08:55Yardanicomiran, not really
20:09:18Yardanicomiran, https://stackoverflow.com/a/2391555
20:09:52miranthanks Yardanico
20:10:29Yardanicoand in europe/us copyright claim is valid for 70 years (50 years in some countries)
20:11:02Yardanicocheck nim repo for example, there's some files written in 2015
20:14:19FromGitter<GULPF> it's 70 years after the authors death, not just 70 years unfortunately
20:15:02Yardanicowow
20:15:34Yardanicoso our projects will be copyrighted for ~150-200 years :P
20:16:37miran:D
20:25:11*Yardanico quit (Remote host closed the connection)
20:25:29*Yardanico joined #nim
20:28:19dom96Yeah, technically all Nim source files should say "(C) 2008 Nim developers
20:33:11Yardanico© instead of (C) :P
20:33:37Yardanico(well I know both work, just for better visibility)
20:34:42dom96Yeah... I meant that.
20:38:40*BitPuffin quit (Remote host closed the connection)
20:47:03*Trustable quit (Remote host closed the connection)
20:47:39*Yardanico quit (Remote host closed the connection)
20:48:34FromGitter<mratsim> So now Nim has a wikipedia page?
20:48:54FromGitter<Varriount> It's had one for a while.
20:48:58FromGitter<mratsim> yeah copyright *shrugs*, trademark also are a PITA
20:49:30FromGitter<Varriount> We had to fight for it too - someone with a stick up their bum wanted it taken down.
20:49:49FromGitter<mratsim> Debian trademark policy says that you have to ask them before using “debian” name in your website URL
20:50:37FromGitter<mratsim> others projects say: do whatever your want as long as you don’t misrepresent the project name, and forks should not use the name as well
20:50:42FromGitter<Varriount> I don't think that's enforceable
20:50:57FromGitter<mratsim> it is
20:51:32FromGitter<mratsim> but you must enforce it actively otherwise you may lose your trademark
20:54:51*chemist69 quit (Ping timeout: 256 seconds)
20:58:08shodan45dom96: what versions/formats of your book are available?
20:58:22shodan45Or is it just paperback?
20:59:01dom96yes and different ebook formats
21:01:20shodan45What's the best way to get it? I don't see a Kindle version, for example.
21:04:05shodan45Oh, nm. I see the website now.
21:06:53*nsf quit (Quit: WeeChat 2.0.1)
21:08:34*chemist69 joined #nim
21:09:58*derlafff quit (Remote host closed the connection)
21:10:23*derlafff joined #nim
21:12:52dom96mratsim: Do you not need to legally register the trademark to do this?
21:13:56FromGitter<mratsim> Yes your trademark must be registered at the WIPO to be enforceable worldwide
21:14:19FromGitter<mratsim> Otherwise you only have a right to use it.
21:14:46FromGitter<mratsim> But you can't prevent others from using it.
21:32:23*yglukhov quit (Ping timeout: 255 seconds)
21:33:18*yglukhov joined #nim
21:33:38*marenz__ quit (Ping timeout: 256 seconds)
21:39:55FromGitter<Quelklef> Writing enumerations makes me so happy
21:40:06FromGitter<Quelklef> I love the prefixes you're supposed to put on
21:40:17FromGitter<Quelklef> "nnkWhatever". I don't know why. They're so nice
21:41:51*miran quit (Quit: Konversation terminated!)
21:52:26*derlafff quit (Remote host closed the connection)
21:52:49*derlafff joined #nim
21:59:53*yglukhov quit (Remote host closed the connection)
22:05:30*endragor joined #nim
22:06:52*sz0 joined #nim
22:10:13*endragor quit (Ping timeout: 256 seconds)
22:14:06*PMunch joined #nim
22:43:21FromGitter<Araq> :P
22:55:56*yglukhov joined #nim
23:00:39*yglukhov quit (Ping timeout: 256 seconds)
23:05:05*SenasOzys quit (Ping timeout: 255 seconds)
23:40:17*ketralnis quit (Ping timeout: 248 seconds)