Perl 6 - the future is here, just unevenly distributed

IRC log for #pdl, 2013-08-18

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

All times shown according to UTC.

Time Nick Message
01:22 jberger joined #pdl
15:14 jberger_ joined #pdl
16:18 jberger joined #pdl
17:39 chm joined #pdl
17:45 Mithaldu pfft, everyone being busy with ~weekend~
17:46 Mithaldu have some strobo: http://www.youtube.com/watch?v=tpOQ72ZzKXA
17:54 chm Was that generated with PDL?
17:56 Mithaldu haha, no way
17:56 Mithaldu if you want pdl, give me feedback on this :P https://gist.github.com/wchr​istian/1ac83b4973ad61a9870f
18:36 sivoais Mithaldu: I wanted to see what type of data would work so I made some changes to the call, but ended up with this trace <https://gist.github.com/zm​ughal/2f15c631cc52a98ecdf0>
18:36 Mithaldu how can you have a gree error?
18:36 Mithaldu oh wait
18:37 Mithaldu my $v = transpose pdl q( [ 1, 0, 0; 1 0 0 ] );
18:37 Mithaldu i've no idea what kind of pdl that results in
18:37 sivoais well, without the tranpose's it would thread
18:38 Mithaldu no, i mean
18:38 Mithaldu is that a twodmensional piddle of 2x3?
18:38 Mithaldu because if so, i'd need to change it to vec(n;m) or something like that
18:39 sivoais yeah, 2x3
18:39 Mithaldu the function as is only handles 1-dimensional piddles
18:39 Mithaldu though i guess adding a loop wouldn't be too difficult and thread properly
18:40 Mithaldu unsure about how useful that'd be or what the performance impact is
18:41 sivoais well, with PDL's threading, you shouldn't have to loop
18:41 Mithaldu pdl has a loop macro
18:41 Mithaldu otherwise i'm unsure how experienced you're with pdlpp or if you're telling me something that's going way over my head
18:41 sivoais ah, that
18:42 sivoais yeah, I'm not too familar with pdlpp, I usually code in C/C++ for what I do
18:43 Mithaldu there's honestly not THAT much to it
18:43 Mithaldu if you read the PDLpp page and ignore all the stuff about types, you get the important stuff
18:43 Mithaldu i'm more concerned with this question:
18:44 Mithaldu given that that function is 99% C, i wonder if it could be implemented more efficiently
20:50 jberger joined #pdl
21:42 jberger joined #pdl
22:48 jberger joined #pdl

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