Perl 6 - the future is here, just unevenly distributed

IRC log for #webwork, 2013-02-19

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

All times shown according to UTC.

Time Nick Message
01:09 darwyn joined #webwork
01:11 darwyn hi mike
01:59 Paul__ joined #webwork
03:55 rbeezer joined #webwork
14:02 goehle joined #webwork
14:02 goehle left #webwork
14:04 goehle joined #webwork
14:56 aubreyja joined #webwork
16:34 darwyn joined #webwork
16:35 darwyn Hi Mike
16:49 mgage hi
16:49 mgage darwyn: hi
16:49 darwyn not sure if now is a good time, having trouble getting another perl module behind safe
16:50 mgage it's never easy -- I have to get the Localize module behind safe as well.
16:50 mgage remind the status of PDL -- I know you got it working -- did you get it installed in one of the github versions of webwork?
16:51 mgage then tell me what you want to install this time.
16:51 darwyn I put it on github last week
16:51 mgage -- on your github?
16:51 darwyn yes
16:52 darwyn I have been meaning to talk with Jason to see if I did it correctly
16:52 darwyn loading to github that is
16:52 mgage ok -- and the changes are mostly to PG right?
16:52 darwyn yes, and one line in global.conf
16:53 mgage right -- I think we'll try to have you put your webwork2 changes into the devel branch on   webwork2-dev   (on openwebwork)  and we'll create a devel branch of PG for you to put your PDL changes in there.
16:54 mgage We're (Jason, I and some others) still trying to figure out the best workflow for integrating new features -- so that enough people try them out and test them, but also so they don't frighten those don't want to deal with new things unexpectedly
16:55 darwyn Sounds pretty reasonable
16:56 mgage what package are you working on installing now?
16:56 darwyn PDL also has the capability to produce graphs using gnuplot, including 3D plots
16:56 darwyn it is an add on package, which I have installed and working on our production machine
16:56 mgage ok
16:57 mgage when you try to call it from webwork you get errors because it is trying to load some packages dynamically?
16:57 darwyn So I modified the PDLmacros.pl file in pg/macros to put this package behind safe
16:57 mgage that's the usual story
16:57 darwyn well, I couldnt get it to find the package
16:58 mgage "it" being webwork or PDLmacros.pl?
16:58 darwyn webwork
16:58 mgage k
16:58 mgage what is your github address?
16:59 darwyn I wrote a problem that included PDLmacros.pl, but the plot command was not listed in the available list of commands (using the trick you showed me this summer)
16:59 darwyn username is darwyncook
17:02 mgage so one thing you can do, using git and github  is to create a new branch (gnuplot_feature   or something like that) -- add your changes to PDLmacros.pl  and push them to  your github  (probably aliased to origin )    e.g.  git push origin   gnuplot_feature     -- then I can see the changes you've made -- which might help.
17:02 mgage what kind of error message are you getting?  or just that you can't see the new commands even though you have loaded the module?
17:03 darwyn cant see the command. If i try to use the plot command is says command unknown
17:03 mgage and you have line like foreach my $t (@PDL::Bad::EXPORT_OK){
17:03 mgage *{$t} = *{"PDL::Bad::$t"}
17:03 mgage }
17:04 mgage in PDLmacros.pl
17:04 darwyn yes, this one is @PDL::Graphics::Gnuplot::Export_OK
17:06 mgage so the first thing is to put something like    DEBUG_MESSAGE($t) in the loop that is doing the importing  and see if the command is even being found in the Gnuplot  -- list of exported commands.
17:06 mgage by the way which version of webwork are you using?
17:06 mgage ww2.5.1.3  is a good (reasonably stable) version to be working from
17:08 darwyn 2.5 I think.
17:08 darwyn Should know that, just installed it a month ago :)
17:08 mgage I would update to at least 2.5.1.1  -- it's more stable -- actually you can read it off the bottom of the front page if it is 2.5.1.1 or later
17:10 darwyn I thought the version was on the front page, but not seeing it.
17:10 mgage ok -- that might mean that it is 2.5.1
17:11 darwyn Dumb question, does the gnuplots package have to be in the path for PDLmacros to find it?
17:11 darwyn gnuplots is in a different directory than PDL
17:11 mgage I think it has to be added to defaults.config -- or better to localOverrides.conf
17:12 mgage yes gnuplots has to be in a library that is searched by apache/perl when it is trying to load cpan modules.
17:13 mgage so for example I suspect that you have   PDL::Core  listed among the modules that are to be loaded.  you need a similar entry for the gnuplot files listed in the config files.
17:13 darwyn ok, let me check to make sure that it is there.
17:14 mgage your version on github is 2.5.1.3 -- so that is perfect.
17:14 darwyn unfortunately I have to take my daughter to lunch now, but this gives me something to work on. If I can get this working, these gnuplots are nice
17:15 mgage cool -- I'll be around later  -- you'll need to tell me what is in some of your config files I think and also in your PDLmacros file
17:16 darwyn sounds good, talk to you later!
21:09 goehle joined #webwork

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