Perl 6 - the future is here, just unevenly distributed

IRC log for #webwork, 2012-09-04

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

All times shown according to UTC.

Time Nick Message
00:21 mgage_ hi
00:32 aubreyja Hi -
00:33 mgage_ just back from the woods and catching up
00:34 aubreyja Not too much activity - Joe sent out the email to HS users, and it sounds like John Jones wants some clarity about OPL bug fixing...
00:35 mgage_ yes -- I've seen those.  I think I'll send this page to Joe -- do you think that answers his question about high school membership
00:35 mgage_ we should probably alert someone at MAA as well so they can continue to clarify things.
00:35 aubreyja which page?
00:35 mgage_ http://www.maa.org/students/middle_high/
00:36 mgage_ sorry
00:36 aubreyja Sure - although I think the main question is whether or not there is a less expensive option for high schools
00:37 mgage_ for JJ's comments I think that JJ and Paul Pearson (and perhaps a few others) should be on the Library curator team and be allowed to pull requests.  That might help at least for the time being.  Should we suggest that to Djun?
00:37 aubreyja I started crafting a reply that suggested they ask about this, even though I know there isn't one, maybe they would start thinking about it if they perceived some demand for it
00:38 aubreyja Sure - they certainly should be on it I think
00:40 mgage_ I agree about the high schools I think MAA is overpricing this a little and that they can have a pretty big impact on high school math if they play this right.
00:40 mgage_ They already do pretty well encouraging math clubs, math circles, math olympiad competition
00:40 aubreyja yeah, and this would be a very nice addition to that
00:54 aubreyja good reply to Joe
02:39 Paul_Pearson joined #webwork
12:02 CIA-47 joined #webwork
13:04 goehle joined #webwork
13:04 goehle hey mgage (or mgage_)
13:57 aubreyja joined #webwork
14:26 aubreyja_ joined #webwork
14:57 Paul_Pearson joined #webwork
15:28 alex_b joined #webwork
15:29 alex_b hi all
16:15 alex_b joined #webwork
16:21 goehle hey
16:22 goehle hey mgage (or mgage_
17:23 aubreyja_ joined #webwork
17:23 aubreyja Hi all
19:26 aubreyja Hi - I'd like to log the parameters sent to the soap web service for debugging the blackboard building block.  Right now WebworkSOAP.pm doesn't log anything.  I can use Utils:writeCourseLog to write to login_log, but I'm wondering: if I specify a new log file name, will it automatically create the file, or do I have to register it somewhere else in the code?
19:27 aubreyja In other words, can I do writeCourseLog($soapEnv->{ce},'my_new_file.log',$log_msg);
19:27 aubreyja to put the log messages in a new log file in the course?
19:28 aubreyja I want the blackboard building block developers to be able to see the log in the course and not need access to the server...
19:28 goehle um
19:29 goehle I dont know, but you could probably grep for createSafeFilePath or something
19:29 goehle to see if wrietCourseLog is creating things
19:29 aubreyja ah, that's a good idea….
19:29 goehle I dont know exactly what you would grep for though
19:31 ionparticle joined #webwork
19:31 goehle looks like
19:31 goehle WeBWorK::Utils::surePathToFile
19:31 goehle will create a file if its not there
19:32 goehle so check to see if the write log command calls that
19:33 aubreyja ah, looks like I at least need to add $courseFiles{logs}{my_new_log} = $courseDirs{logs}/my_new_file.log in the config files...
19:34 goehle must be getting the file path from that variable then
19:35 aubreyja yeah, and then surePathToFile is used in writeCourseLog() to find that file or create that path- thx
19:35 goehle np
19:38 aubreyja btw, I made this yesterday: http://search.cpan.org/~aubreyja/Bundle-WeBWorK-0.01/WeBWorK.pm
19:38 goehle oh that is nice
19:39 goehle that will make installation a lot easier
19:39 aubreyja it's very easy to make these bundle distributions - the idea is that maybe we can just tell people to install things from cpan rather than knowing the package names on every different linux distro that comes along
19:39 goehle Yeah
19:39 goehle I have no idea what the difference is between UUID::Tiny
19:40 goehle and the perl-UUID-tiny package
19:40 goehle In your description you say some should still be installed via package manager
19:40 aubreyja :) who knows - perl-UUID-tiny doesn't install UUID::Tiny?
19:40 goehle but this will cut way down on that
19:40 goehle :)
19:41 goehle it also means you won't have to go into CPAN and install stuff manually when your distro doesn't have a package
19:41 aubreyja yeah, just because those compile C code against the development headers for their respective binaries. So, unless those are on the system, installing those modules from cpan will fail
19:41 goehle makes sense
19:41 aubreyja yeah
19:42 aubreyja but, maybe when I get smarter about this I can find ways around it
19:43 goehle maybe, maybe not.   perl apache integration stuff will probably depend on your distros specific apache install
19:43 goehle so even if you can get CPAN to do it
19:43 goehle for touchy packages its probably safer to go through the distro
19:44 aubreyja yeah, that seems especially finicky -  GD is my first hope to add to the list out of the four, but even that I'm doubtful about
19:45 goehle four is still pretty easy though, and since you still hvae to use the package manager to install all of the latex stuff its not like it makes a huge difference
19:45 aubreyja that's true
19:45 goehle I'm just glad I won't have to start a CPAN shell anymore
19:46 aubreyja :) - yeah, and I use perlbrew so whenever a new perl comes out I install it and have to reinstall the modules for that perl, so this will just do it for me
19:46 goehle nice
19:46 goehle all I did was fix some bugs with the essay answers ;)
19:47 aubreyja no this was surprisingly easy to create - you should download it and look at WeBWorK.pm - it's almost funny
19:48 goehle lol, that is pretty easy
19:49 aubreyja the pod contents section is what tells cpan what to install
19:50 aubreyja you can also add version numbers, which we might want to do eventually; and in the next round I should probably version this for different versions of webwork
19:50 goehle sure, and since it doesn't have to do anything else thats all you need
19:50 goehle yeah, in case safe decides to break everything again
19:51 aubreyja exactly - I didn't list any of the core perl modules listed in check_modules.pl because those will be there if cpan is, but we could use version numbers to ensure that we get good versions of modules known to give us trouble in the past
20:55 mgage__ joined #webwork
20:56 mgage__ left #webwork
21:31 aubreyja joined #webwork
22:53 mgage__ joined #webwork

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