<<14-12-2017>>

00:00:08*querfisch is now known as hochkantfisch
00:00:23FromGitter<mratsim> @Varriount nedmalloc, jemalloc, hoard ... It's quite competitive even for Cuda there are a lot of allocation schemes: part of my research on Cuda allocation (and how to avoid it) is here: https://github.com/mratsim/Arraymancer/issues/112
00:01:10FromGitter<Varriount> @mratsim How about we just use a bump allocator and let paging do the rest. :P
00:02:21FromGitter<mratsim> From edubart "I've done some benchs against jemalloc, tcmalloc, mkl_alloc, rpmalloc and nim allocator does outperforms all of them."
00:02:30FromGitter<Varriount> @mratsim "It is not nice to outright reserve 70~90% of the GPU memory to run MNIST, what if people are actually using a screen?"
00:03:10FromGitter<Varriount> @mratsim When was that posted?
00:03:17FromGitter<Varriount> (the comment from edubart)
00:03:32FromGitter<mratsim> 2 months ago
00:04:15FromGitter<Varriount> But the new allocator is less than a month old
00:04:39FromGitter<mratsim> By the way before I forget. Arraymancer v0.3 is out. Lots of improvements but super breaking change (ref semantics).
00:05:11FromGitter<Varriount> @mratsim But can I implement Excel with it? :D
00:05:22FromGitter<mratsim> Oh, it's flag-gated I guess? --newallocator ?
00:06:00FromGitter<Varriount> Probably. Or just on the latest development branch.
00:06:09FromGitter<mratsim> @Varriount http://www.deepexcel.net/
00:08:26FromGitter<mratsim> (note: this is an elaborate joke for the sigbovik joke paper conference ;) )
00:10:28FromGitter<Varriount> SIGBOVIK: The Association for Computational Heresy
00:14:46*skrylar joined #nim
00:20:51*hochkantfisch is now known as qwertfisch
00:21:37radagastif stdout.writeLn has been depracated, wha'ts the alternative to echo without flushing stdout?
00:28:19radagastnvm
00:32:00*gokr quit (Ping timeout: 272 seconds)
01:17:53*yglukhov joined #nim
01:22:08*yglukhov quit (Ping timeout: 240 seconds)
01:30:55Tanger@Araq, Hey mate, thanks for answering my question yesterday. I do have an expansion on the original question regarding how result handles properties of objects when it auto-intializes.
01:31:42TangerIf my proc returns an object with a string property, my code tends to segfault unless I specifically call new result
01:32:34FromGitter<zacharycarter> can you share code Tanger?
01:33:21*marenz_ quit (Ping timeout: 248 seconds)
01:34:03FromGitter<zacharycarter> ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=5a31d50b0163b0281033ec3b]
01:34:07FromGitter<zacharycarter> works fine for me
01:38:43Tanger@zacharycarter Whoops, I mistyped. My object is a ref of object, so a ref of Foo in this case
01:56:15FromGitter<zacharycarter> use new then
01:57:16FromGitter<zacharycarter> or
01:57:27FromGitter<zacharycarter> ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=5a31da86cc1d527f6b2c0c47]
01:57:29FromGitter<zacharycarter> Tanger ^
02:00:38TangerNeat, thanks for that @zacharycarter. I like that better than new calls littered around the place
02:01:58FromGitter<zacharycarter> No problem :)
02:16:18FromGitter<zacharycarter> I somehow missed - https://github.com/transfuturist/plugins
02:16:21FromGitter<zacharycarter> that's pretty damn cool
02:16:55FromGitter<zacharycarter> but there's still the whole matter of state :/
02:24:53skrylarzacharycarter: how do things like that work when macros, templates and methods are involved
02:25:23skrylari mean i would have solved it usign binary images smalltalk/lisp style, with a mini rdbms and a jit, but livecoding and general plugisn are very different
02:27:17FromGitter<zacharycarter> good question
02:27:40*endrago__ joined #nim
02:32:41*qih quit (*.net *.split)
02:32:41*Gertm quit (*.net *.split)
02:32:43*endragor quit (*.net *.split)
02:32:43*endragor_ quit (*.net *.split)
02:32:44*pwntus quit (*.net *.split)
02:34:21*yglukhov joined #nim
02:35:00*chemist69 quit (Ping timeout: 246 seconds)
02:36:17*qih joined #nim
02:36:17*Gertm joined #nim
02:36:17*endragor joined #nim
02:36:17*endragor_ joined #nim
02:36:17*pwntus joined #nim
02:39:04*yglukhov quit (Ping timeout: 255 seconds)
02:40:34*vlad1777d quit (Ping timeout: 272 seconds)
02:41:15radagastHi, bit confused about map here. Basically I have a whitespace-seperated string. I want to split, convert to int and find the mininum(just an example). So I am doing echo text.splitWhitespace().map(parseInt).min() but it seems that I only am getting the first int.
02:45:58FromGitter<Quelklef> parseInt from strutils?
02:46:15radagastYes
02:47:33radagasthttps://play.nim-lang.org/?gist=9136be3045bfd95a15dfa63c1fea8ac3
02:47:53FromGitter<Quelklef> oh, there's an online compiler! cool
02:48:31FromGitter<Quelklef> `@[12, 3465, 234, 283, 45].min()` is giving 12
02:48:46FromGitter<Quelklef> So presumably an issue with `min` or seqs rather than map
02:49:14FromGitter<Quelklef> wait
02:49:24FromGitter<Quelklef> that is the minimum number
02:49:27FromGitter<Quelklef> what's the issue
02:49:29*chemist69 joined #nim
02:49:40FromGitter<Quelklef> 12 < 45 < 234 < 283 < 3456
02:49:45FromGitter<Quelklef> what's your desired behaviour?
02:50:01radagastOh boy. hahaha, you are right.
02:50:05radagastSleep depravation
02:50:13skrylarmratsim: coded up winnow learning :b
02:50:21FromGitter<Quelklef> Oops, lol
03:04:40*vivus quit (Quit: Leaving)
03:34:33*d10n-work quit (Quit: Connection closed for inactivity)
03:49:58*yglukhov joined #nim
03:54:07*yglukhov quit (Ping timeout: 248 seconds)
03:58:30*dddddd quit (Remote host closed the connection)
04:23:53*arthurz joined #nim
04:43:05*arthurz quit (Quit: Leaving)
05:37:59*radagast_ joined #nim
05:39:41*radagast quit (Ping timeout: 260 seconds)
05:39:42*radagast_ is now known as radagast
05:49:12*Elronnd- joined #nim
05:54:36*Elronnd- left #nim (#nim)
06:03:13*yglukhov joined #nim
06:04:17*yglukhov quit (Remote host closed the connection)
06:04:30*yglukhov joined #nim
06:10:56*yglukhov quit ()
06:11:56*gokr joined #nim