Perl 6 - the future is here, just unevenly distributed

IRC log for #moarvm, 2016-11-12

| Channels | #moarvm index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:30 pyrimidine joined #moarvm
00:52 pyrimidine joined #moarvm
01:11 pyrimidine joined #moarvm
01:21 pyrimidine joined #moarvm
01:31 pyrimidine joined #moarvm
01:39 pyrimidine joined #moarvm
01:48 pyrimidine joined #moarvm
02:10 pyrimidine joined #moarvm
02:20 pyrimidine joined #moarvm
02:28 pyrimidine joined #moarvm
02:31 vendethiel joined #moarvm
02:48 ilbot3 joined #moarvm
02:48 Topic for #moarvm is now https://github.com/moarvm/moarvm | IRC logs at  http://irclog.perlgeek.de/moarvm/today
02:51 leego joined #moarvm
02:59 pyrimidine joined #moarvm
03:09 pyrimidine joined #moarvm
03:19 pyrimidine joined #moarvm
06:34 jnthn joined #moarvm
06:36 pyrimidi_ joined #moarvm
09:05 FROGGS joined #moarvm
09:48 lizmat joined #moarvm
10:35 pyrimidine joined #moarvm
10:42 pyrimidine joined #moarvm
10:56 lizmat joined #moarvm
13:08 ggoebel joined #moarvm
13:10 pyrimidine joined #moarvm
13:29 pyrimidine joined #moarvm
13:39 pyrimidine joined #moarvm
13:49 pyrimidine joined #moarvm
13:58 pyrimidine joined #moarvm
14:06 pyrimidine joined #moarvm
14:49 vendethiel joined #moarvm
15:07 pyrimidine joined #moarvm
15:16 pyrimidine joined #moarvm
15:26 pyrimidine joined #moarvm
15:36 pyrimidine joined #moarvm
15:53 pyrimidine joined #moarvm
16:06 pyrimidine joined #moarvm
16:45 pyrimidine joined #moarvm
18:03 pyrimidine joined #moarvm
18:38 pyrimidine joined #moarvm
19:03 pyrimidine joined #moarvm
19:08 zakharyas joined #moarvm
19:17 vendethiel joined #moarvm
19:30 stmuk joined #moarvm
19:48 * timotimo wonders what the API for an ndarray-view repr should look like
19:48 timotimo and what kinds of cases it should support
19:49 timotimo like, do we support transponation? do we support skipping lines in some dimension?
19:49 pyrimidine joined #moarvm
19:50 timotimo i suppose slicing a single 1-width slice on any dimension is obvious
19:50 timotimo how about cutting a rectangular region across some dimensions?
19:51 timotimo i'd imagine if we had the same thing numpypy has, it'd be all you could want
19:51 timotimo i seem to recall it has one triplet of values for every dimension the view has
19:52 timotimo how much to increase the address by when you +1 along the dimension, how much to increase it by when you skip over the dimension, and ... something else?!
20:04 ggoebel joined #moarvm
20:07 * timotimo is closing in on the code i'm looking for
20:07 timotimo this triplet is named "strides"
20:07 timotimo it also has a "backstrides" thing
20:11 pyrimidine joined #moarvm
20:21 pyrimidine joined #moarvm
20:31 pyrimidine joined #moarvm
20:41 pyrimidine joined #moarvm
20:43 lizmat joined #moarvm
20:45 timotimo thinking more about it, clearly having one "stride" per dimension ought to be enough for common cases ...
20:46 timotimo i'm not sure how reversing dimensions works
20:50 timotimo like, traverse the items in backwards direction
20:51 pyrimidine joined #moarvm
20:57 timotimo maybe by having an appropriate "start" point
20:57 pyrimidine joined #moarvm
21:11 pyrimidine joined #moarvm
21:20 leego joined #moarvm
21:20 pyrimidine joined #moarvm
21:28 leego joined #moarvm
21:30 pyrimidine joined #moarvm
21:41 pyrimidine joined #moarvm
21:48 FROGGS $ ./perl6-m -e 'say $*KERNEL'
21:48 yoleaux2 11 Nov 2016 20:46Z <MasterDuke> FROGGS: sorry, another renaming thing, 'add_comp_files_to_directives' should be 'add_comp_lines_to_directives'
21:48 FROGGS sunos (11.3)
21:50 pyrimidine joined #moarvm
21:51 FROGGS $ ./perl6-m -e 'say $*KERNEL'
21:51 FROGGS sunos (11.3)
21:51 FROGGS # to be clear
21:52 geekosaur yay
21:53 FROGGS needs two patches to moarvm though
21:54 FROGGS nqp passes its tests, and rakudo segfaults very late in ./perl6-gdb-m tools/build/install-core-dist.pl /export/home/froggs/nqp/install/share/perl6
21:56 timotimo ooh
21:56 FROGGS (in interp.c:3461, op read_dir)
21:56 leego_ joined #moarvm
21:57 FROGGS huh
21:58 FROGGS read dir seam to work ok twice, and segfaults for the third time
22:10 pyrimidine joined #moarvm
22:11 leego joined #moarvm
22:20 leego joined #moarvm
22:36 pyrimidine joined #moarvm
22:47 pyrimidine joined #moarvm
23:23 pyrimidine joined #moarvm
23:57 timotimo at first i thought i could overload set_dimensions to also handle strides, but that's dumb
23:57 timotimo but strides is really a view-only thing, so i don't really want to expose that to everything that has positional functionality
23:58 timotimo but it definitely doesn't fit into compose, because we're likely going to have different strides per object, just like we have different size-per-dimension values per object

| Channels | #moarvm index | Today | | Search | Google Search | Plain-Text | summary