Perl 6 - the future is here, just unevenly distributed

IRC log for #pdl, 2013-03-12

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

All times shown according to UTC.

Time Nick Message
00:22 MeierM joined #pdl
03:08 Bender2 joined #pdl
03:08 Bender1 joined #pdl
15:07 run4flat Mithaldu++
15:07 Mithaldu oh god, what now
15:07 run4flat op'ing the bots
15:08 run4flat :-)
15:08 Mithaldu oh, haha
15:08 Mithaldu that was fully automated :)
15:09 run4flat In that case, Mithaldu += 2
15:09 run4flat You make my life easier. :-)
15:09 Mithaldu haha
15:17 Molaf__ joined #pdl
16:09 run4flat Public appeal for feedback
16:09 run4flat https://gist.github.com/run4flat/5144182
16:09 run4flat Download the file in that gist
16:09 run4flat Call it Prima.pm
16:09 run4flat then run it with "perl -MPrima"
16:13 run4flat ok, latest push, now you can just say "perl Prima.pm" and it'll work the way it's supposed to
16:13 run4flat ... that is, in addition to "perl -MPrima"
16:13 run4flat :-)
16:17 run4flat ping drrho, jberger, lungching, Mithaldu, osfameron, and sivoais, i.e. humans that might be interested
16:18 * run4flat directs attention to last 8 lines
16:18 sivoais I'm running it as we speak.
16:18 * jberger is too
16:18 run4flat oh, great, thanks!
16:20 jberger its not running on mine
16:20 sivoais I don't know if this is relevant feedback, but the interaction buttons are blocked until I close the plot.
16:21 run4flat jberger, what does it say?
16:21 run4flat sivoais... that sounds a little annoying, but may actually be the right behavior
16:21 jberger gives me the "I couldn't load the library"
16:22 run4flat oh
16:22 run4flat oh right
16:23 run4flat this requires the latest copy from github
16:23 run4flat oops
16:23 run4flat jberger, do you have a cpan version of PDL::Graphics::Prima?
16:23 jberger probably
16:23 jberger maybe not even the newest
16:24 jberger maybe I should try the new cpanm from github!
16:25 run4flat yeah, if you could, that would be helpful
16:25 jberger 0.1 is what I have
16:25 run4flat it's also about time to release the next version to CPAN.
16:26 sivoais run4flat: perhaps the interaction buttons can be grayed out
16:26 jberger run4flat, don't do what I just did on Galileo
16:26 sivoais but I don't know the code and that may be more work than it is worth
16:27 jberger be sure to run it once before shipping!
16:28 run4flat sivoais, brillinat
16:28 run4flat *brilliant
16:28 jberger run4flat, sivoais, I can use the interaction buttons while the plot is showing
16:28 jberger sivoais, what OS are you on?
16:28 * jberger guesses windows
16:28 sivoais jberger: I'm on Linux
16:29 jberger hmmmm
16:29 jberger so am I
16:29 jberger run4flat, does that make sense?
16:29 run4flat no, actually, it doesn't
16:29 run4flat the buttons should work when the plots are running
16:29 jberger as the do for me
16:29 run4flat *unless* sivoais has an older version of the library
16:29 jberger they
16:29 run4flat and they block
16:30 run4flat the plots used to run in modal mode
16:30 jberger UPGRADE ALL THE THINGS
16:30 sivoais the plot seems to be a modal window. I can't get the main window to focus
16:30 jberger :-)
16:30 run4flat yep
16:30 run4flat sivoais, do you have cpanm?
16:30 jberger ok now to the content
16:30 run4flat I can give you a one-liner to upgrade if you do
16:31 sivoais I just installed PDL::Graphics::Prima via cpanm
16:31 run4flat yeah, the version on cpan is a bit old
16:31 run4flat but, ok, you have it. :-)
16:31 run4flat cpanm https://github.com/run4flat/PDL-Graphics-Prima/archive/master.tar.gz
16:31 run4flat that should do it
16:32 run4flat jberger, alas, I was just asked to do something at work
16:32 run4flat can you gimme a sec?
16:32 run4flat (go figure, right?0
16:32 run4flat )
16:32 jberger sure, I'm just reading
16:32 run4flat k, thanks
16:33 sivoais ok, the plot windows aren't modal anymore
16:33 run4flat great
16:36 run4flat five more seconds...
16:36 run4flat ok, go for it
16:37 jberger not sure I have much yet
16:37 jberger you spend a good deal of time on auto_twiddle, but I guess you have to
16:38 sivoais OK, I've gone through everything and it looks good. I have another idea for a demo though. When I saw the harmonic oscillator, I thought it would be neat to have an animation of the data being cycled through different phases.
16:38 sivoais so that it scrolls past
16:38 run4flat sivoais, that I can do
16:38 jberger your png output looks nice, did it always do that?
16:38 run4flat jberger, png output has been supported for a long time, but only works if you have the appropriate libraries
16:39 run4flat but, sivoais, it'll be more of a show, as that will actually involve straight Prima stuff
16:40 run4flat There's no easy way to setup animations in plots
16:41 jberger you need a "live long and prosper" slide at the end
16:41 run4flat actually, I was thinking about where to go next
16:42 run4flat for example, I don't demonstrate how to mix multiple plot types
16:42 run4flat like points and error bars
16:42 run4flat but, then again, I wasn't sure if that would be too much material for the demo
16:42 sivoais Ah. Perhaps if there were an easy way to set the animations up. Like an array of plot commands in closures.
16:42 run4flat sivoais, that would be one way to do it
16:42 sivoais That way you can abstract the Prima-specific code elsewhere
16:43 run4flat I can't believe it's never occurred to me, actually
16:43 run4flat It'll have to wait for the next release, but this is a very cool idea
16:43 run4flat sivoais++
16:44 jberger run4flat, looks good to me
16:44 jberger I have to get back to work, but its very cool
16:44 run4flat great
16:44 run4flat thanks, jberger
16:44 jberger np :-)
16:44 run4flat I think I'll add one more slide about mixing plot types, and then a conclusion
16:46 sivoais Is there an equivalent to MATLAB's polyval() in PDL?
16:47 run4flat I'm not sure.
16:47 * run4flat checks docs for polyval
16:47 run4flat hmm
16:47 run4flat maybe
16:48 sivoais I see a gsl_poly_eval
16:48 sivoais and rCpolynomial
16:48 run4flat I imagine that such a function would go hand-in-hand with polynomial fitting
16:48 run4flat at one point I had written my own polynomial fitting module
16:49 run4flat but I never really pushed it out the door
16:49 * run4flat digs up old module
16:49 run4flat http://search.cpan.org/~dcmertens/PDL-Fit-Householder-v0.0.2/lib/PDL/Fit/Householder.pd
16:50 run4flat hmm, nope
16:50 run4flat under the "todo" list
18:31 opkick joined #pdl
18:31 opkick [pdl01] run4flat pushed 3 new commits to master: http://git.io/lYLgOA
18:31 opkick pdl/master 5b1a4f4 Chris Marshall: Fix overwrite problem in imag2d/imag2d_update
18:31 opkick pdl/master 726ccc0 Craig DeForest: Fix ps to/from conversion to at least preserve image dimensions (and use pnmtops instead of gs).
18:31 opkick pdl/master 5883818 Craig DeForest: Merge branch 'master' of ssh://pdl.git.sourceforge.net/gitroot/pdl/pdl...
18:31 opkick left #pdl
22:57 Meiermann joined #pdl

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