Perl 6 - the future is here, just unevenly distributed

IRC log for #webwork, 2012-11-08

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

All times shown according to UTC.

Time Nick Message
00:02 djun joined #webwork
00:41 Paul_Pearson joined #webwork
00:44 djun joined #webwork
00:57 aubreyja joined #webwork
00:57 aubreyja joined #webwork
09:08 djun joined #webwork
14:40 Paul_Pearson joined #webwork
14:52 aubreyja joined #webwork
15:24 Paul_Pearson Jason?
15:28 goehle joined #webwork
15:32 rbeezer joined #webwork
16:29 aubreyja Hi Paul
16:30 aubreyja Paul_Pearson - ping
16:58 Paul_Pearson joined #webwork
17:21 djun joined #webwork
18:28 djun joined #webwork
18:56 djun hi all
18:56 djun seems like it's been pretty quiet here of late :)
19:11 djun ping aubreyja
19:11 aubreyja Hi djun - yep, I guess we're all busy with the semester. How are things?
19:11 djun :)
19:11 djun Busy too
19:12 djun quick question for you re: ww_install script
19:12 aubreyja sure - if I can remember :)
19:12 djun Is the github version in your repo relatively up to date?  I wanted to add an option to install from a specified git repo
19:14 aubreyja I've only worked a little on it since summer.  The only thing that should need updating is the config file writing I think.  I'm not sure if it tries to run NPL-update, but if so that should be changed to OPL-update
19:14 aubreyja I think it probably does run NPL-update actually
19:14 djun OK, makes sense
19:14 djun I'll have a look
19:15 djun How are you doing?
19:15 aubreyja great - let me know if something isn't clear
19:15 aubreyja good - semester is actually winding down a bit now
19:16 djun were you at Fitchburg? I feel like I've just crawled out from under a rock
19:16 aubreyja nope - I was under a rock at the time
19:17 djun I'd love to organized something in Vancouver for next Spring :)
19:17 aubreyja sounds like a lot got done though even though (or maybe because) it was small
19:17 aubreyja that would be great
19:17 djun Sounds like focus was on front end/css etc?
19:18 aubreyja just a sec phone call
19:19 djun np
19:29 djun are you OK with adding GetOpt::Long option handling to your script?
19:30 aubreyja back - yeah, sure - actually I was planning an interactive version and a non-interactive version.
19:30 aubreyja so, the non-interactive version could take either defaults set in the script or command line arguments
19:30 djun cool
19:30 aubreyja or, you could even pass command line arguments also to the interactive version
19:31 aubreyja either to set defaults or skip questions
19:34 djun another question - I'm trying to make sense of branches for openwebwork/webwork2-dev in github.  Are we using persistent "2.n" branches with patch releases, branched from master? or is versioning a little more arbitrary.  I can't really tell from looking at the merge history
19:38 djun I guess what I mean is: are people developing new features ONLY on master?
19:42 djun Or maybe I'm thinking about this wrong? :\
19:45 Paul_Pearson joined #webwork
19:46 djun Hi Paul
19:50 djun brb - heading back home from my mid-morning coffee :)
20:01 Paul_Pearson Hi all.
20:01 Paul_Pearson I have a problem authoring question involving custom answer checkers.
20:01 aubreyja djun: I don't know - probably ask Mike
20:01 aubreyja Hi Paul
20:02 Paul_Pearson For a sigma notation question, I want to be able to require students to enter an answer like -2 + 3 - 4 + 5.
20:03 aubreyja sounds reasonable...
20:03 Paul_Pearson My approach thus far has been to convert this to a comma separated list
20:03 Paul_Pearson -2,+3,-4,+5
20:03 Paul_Pearson and then see if this list is correct.
20:03 aubreyja that seems like a good idea
20:06 Paul_Pearson The code I have works, but it also accepts the answer 2 (the simplified answer) as correct :(
20:06 aubreyja can you also check the length of the list?
20:08 Paul_Pearson Probably (though I haven't yet tried).  I think the issue is that the student answer is not being handled as a string before the MathObject List() method is applied to it, or the correct answer is not being processed as a string, or something like that.
20:09 aubreyja also, in a sum I think it would be fair to insist that each individual term is what it should be based on the definition.  So, you could just do a loop that checks that each term is what it should be if they are doing what they should do.
20:10 aubreyja Ah, I see -
20:11 Paul_Pearson Maybe I should take the student answer and process it using Perl's split rather than MathObjects List().
20:11 aubreyja One thing you could try in your answer evaluator is a line "warn $student;" when it first gets the student answer
20:11 aubreyja that will tell you if it's adding it up before you even get it
20:11 Paul_Pearson Great!!!
20:12 Paul_Pearson I have long been frustrated by an inability to print stuff inside custom answer checkers.
20:12 aubreyja the warn works - I've done that before to figure things out
20:13 Paul_Pearson The warning says that it's processed the answer and simplified it to 2.
20:14 aubreyja Hmm - maybe use string context first and take it as a string?
20:26 Paul_Pearson Thanks.  After some more experimentation, using contextArbitraryString.pl and a string context seems like the way to go.
20:43 djun joined #webwork
23:14 djun joined #webwork
23:19 aubreyja joined #webwork

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