Perl 6 - the future is here, just unevenly distributed

IRC log for #webwork, 2012-06-06

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

All times shown according to UTC.

Time Nick Message
03:08 _ilbot joined #webwork
03:08 Topic for #webwork is now WeBWorK (http://webwork.maa.org) is an open-source online homework system for math and sciences courses. WeBWorK is supported by the MAA and the NSF. | Release notes: http://goo.gl/Ry5HN | Channel logged at http://goo.gl/jELTn
13:17 aubreyja joined #webwork
13:23 whytheplatypus joined #webwork
13:24 TylerD_ joined #webwork
13:24 pstaab joined #webwork
13:25 djun joined #webwork
13:25 dglin joined #webwork
13:25 dglin Rolex Replicas cheap!!!
13:27 apizer joined #webwork
13:27 Vicki joined #webwork
13:28 Vicki #teachingopensource
13:28 djun Hello all
13:28 Vicki Hi everyone
13:28 mgage__ joined #webwork
13:29 mgage__ hi guys
13:32 aubreyja Vicki: Hi
13:32 dglin \ping aubreyja
13:32 aubreyja silent_d: Hi!
13:32 * dglin hasn't used irc in years
13:32 aubreyja pstaab: Hola'
13:33 * aubreyja is talking too me
13:33 aubreyja "much"
13:52 benkman joined #webwork
13:52 Qalthos joined #webwork
13:53 benkman hi webwork
13:53 aubreyja Hi Ben
13:55 aubreyja Can you give me a login (e.g. aubreyja/aubreyja) in your course so I can have a look at the $SP code? (Classlist Editor -> Add 1 student; then Edit selected user and change my permissions to 'professor' so I can look at the problem and macro code
14:00 benkman ? when i add a student, there is no name. your name is listed below; can't i check-box your name?
14:05 benkman jason: it seems this tiny issue related ONLY to printed assignments. the web shows correctly.
14:07 aubreyja Ah,  maybe I'm already in your course - just a sec I'll check.
14:08 aubreyja benkman: yep, I'm in
14:13 aubreyja Ben - how do you reproduce this error? I get no warnings on the web and it seems to export to pdf without error too.
14:14 benkman I printed it last night and don't remember how. it printed in 2 columns though.
14:15 benkman i'm experimenting with writing/editing programming problems now to see how webwork works.
14:15 aubreyja Did it give an error or warning? The 2 column pdf output is the default
14:17 benkman no errors. it just printed everything at the same indent level inside the problem.
14:18 aubreyja ah, I see - and the problem is that it's not good python when printed that way
14:33 aubreyja ben - do you know tex? If you look in your final manager under macros/
14:33 aubreyja I've added a subroutine to redefine $SP
14:34 aubreyja the trick is to find a tex command that will give the right spacing using pdf exprot
14:34 aubreyja a nicer fix would be to create a BEGIN_PYTHON/END_PYTHON block that gives a tabbing environment in latex
14:35 aubreyja the MODES(TeX => '…..'…. ) part is what you want to focus on. It was '\\' - I've been experimenting with others (currently \hspace{.25cm}
14:40 ProfSheinRIT joined #webwork
14:40 POSSE_Cody_2012 joined #webwork
14:40 ProfSheinRIT Hullooo!
14:40 jmg_ joined #webwork
14:41 amitorit joined #webwork
14:41 Qalthos joined #webwork
14:41 thedavekelly joined #webwork
14:43 aubreyja Howdy Dave
14:44 benkman jason, in latex, if you want a space output, the symbol is the tilde. do you want to try that as a fix?
14:45 aubreyja Sure - the workflow would be to edit macros/AddOns.pl
14:45 aubreyja change the TeX => ''  bit in the $SP sub
14:45 aubreyja then export a pdf of the set and see if it works
14:45 ProfSheinRIT Jason & Mike, any objections to my dropping the googledocs link to the channel?
14:45 aubreyja nope - go ahead
14:45 decause joined #webwork
14:46 ProfSheinRIT https://docs.google.com/document/d/16DYhLvzmbe4sfDgtWgUhapuU6i29vdgAF31SmeqRUf4/edit
14:48 aubreyja brb
14:48 ProfSheinRIT Can you take a head count from folks there as to how many would like to come out for the graduation dinner THursday night at 6PM at the Dinosaur--on Red Hat's dime.  We will have 7 folks from here.
14:48 ProfSheinRIT That's for Mike or Jason.  : )))
14:49 whytheplatypus joined #webwork
14:50 aubreyja sure thing - we just broke for a break, so give me about 5 min
14:52 ProfSheinRIT super
14:53 djun joined #webwork
14:56 PaulSeeburger joined #webwork
15:00 jmg_ Hi all….In POSSE…Looking how to get started…using a Mac Book pro
15:01 whytheplatypus joined #webwork
15:01 aubreyja Hi ProfSheinRIT: looks like 9 for dinner - are you guys doing reservations?
15:02 aubreyja Hi jmg_ - the best route is to install on Fedora (or your favorite linux).  You _can_ install it on a mac natively, but it's slightly more painful
15:02 aubreyja and by slightly I mean a lot
15:03 jmg_ Okay…thanks
15:03 aubreyja if you use macports I can point you to a script that should get it up and running for you, but
15:04 aubreyja it will take a while because macports gets *everything* and compiles it from source
15:04 aubreyja (including, e.g. perl, apache, ...)
15:06 silent_d joined #webwork
15:07 mgage__ ProfSheinRIT:  is Stephen around?
15:08 silent_d joined #webwork
15:08 ProfSheinRIT Hi aubreyja we are doing reservations.  We have 7 here.  I'm going to ping SJ and see if he has anyone else before I put it in, but it looks like we will have at least 17 total
15:11 ChristinaK joined #webwork
15:14 ProfSheinRIT mgage__:  no, he's not.  I'm just sending him a note about the dinner.  He's got an ongoing issue with a tooth.
15:42 mgage__ ok -- telll him Peter Iglinski   says hi -- he directs PR at U of R and he dropped by to see what was going on
15:47 benkman hi gang. I got an error to check out. below is the top part of the error.
15:47 benkman the error happened (i think) when I tried to 'stop acting' as pyStudent. see http://pastebin.com/kZzpA1i8
15:57 whytheplatypus joined #webwork
16:01 ChristinaK joined #webwork
16:07 jmg_ joined #webwork
16:08 ProfSheinRIT mgage__:  I will tell him.  If Peter is still there, tell him I said, "Hi!" as well.
16:27 mgage___ joined #webwork
16:29 ProfSheinRIT We are all still bootstrapping here.
16:30 mgage___ us too -- we have everyone using IRC -- git will probably take  aa while longer
16:30 mgage___ we're breaking for lunch soon
16:36 decause mgage___: what time is lunch done for your group?
16:45 mgage___ I expect we'll be done by around 1:20.  what do you want to do first?
16:46 mgage___ if your people have located some small items to work on do you want to propose them for comments.?
16:50 PaulSeeburger joined #webwork
16:55 djun joined #webwork
17:00 decause mgage___: we're all still getting the stack up and running
17:00 decause we're breaking for lunch now, and we'll be back by 2
17:00 decause I'm having some trouble getting apache to work
17:01 mgage___ not unusual -- at which level
17:01 aubreyja Hey guys - I think my install script is ready to go.  I'll push the changes then you can test it out.
17:02 decause Attempt to free unreferenced scalar: SV 0x21146f58, Perl interpreter: 0x2102ec00 during global destruction.
17:02 decause ^^^ last error in /var/log/httpd/error_log
17:03 aubreyja Where did you get apache/mod_perl/libapreq from? The package or source?
17:03 decause aubreyja: I used the install script
17:03 decause so, I assume from package
17:03 aubreyja ah, ok, the version you used wasn't finished. I'm pushing changes now...
17:03 decause kk
17:04 aubreyja ok, grab it and try now.
17:05 aubreyja Also, be sure to run qalthos's prereq getter script
17:05 aubreyja (first)
17:06 thedavekelly left #webwork
17:12 Qalthos aubreyja: we've got a few errors from ww_install
17:12 Qalthos aubreyja: Can't locate Exception/Class.pm
17:12 aubreyja go ahead
17:12 aubreyja ok, prereq
17:13 Qalthos and Can't exec "/opt/webwork/libraries/NationalProblemLibrary/NPL-UPDATE": No such file or directory
17:13 Qalthos I figured on the first
17:13 aubreyja just a sec
17:15 aubreyja ah, the path to NPL-UPDATE is wrong - I'll make a fix
17:16 Qalthos there's more prereqs, I'll try to get through all of them
17:18 aubreyja ok, please update your shell script when you find them. I've pushed an update to ww_install.pl which fixes the path to NPL-UPDATE
17:29 Vicki joined #webwork
17:30 mgage___ hi vicki
17:30 mgage___ just type to reply
17:33 ChristinaK joined #webwork
17:45 PaulSeeburger joined #webwork
17:46 whytheplatypus joined #webwork
17:49 POSSE_Cody_2012 joined #webwork
18:08 whytheplatypus joined #webwork
18:09 silent_d joined #webwork
18:12 ProfSheinRIT joined #webwork
18:23 silent_d joined #webwork
18:24 ChristinaK joined #webwork
18:27 mgage___ Hi ChristinaK
18:35 whytheplatypus joined #webwork
18:40 benkman hi. how can I login as a student? I created pyStudent and tried to login; got webwork error:     Undefined subroutine &WeBWorK::Authen::croak called at /opt/webwork/webwork2/lib/WeBWorK/Authen.pm line 332.
18:40 aubreyja decause: I think I"ve put all of the dependenies into the shell script
18:40 aubreyja hi - weird….lemme check
18:40 benkman BTW, this is on your system under the course set up last night.
18:44 Vicki joined #webwork
18:44 mgage___ benkman: use jsmith as login and jsmith as password
18:45 mgage___ if you are logged in as a professor you can use the classlist editor to see which students are in the course
18:45 mgage___ the studentID is also the initial login (normally this gets changed of course)
18:47 benkman i added pyStudent to the course, but i cannot get that student logged in.
18:47 mgage___ one minute
18:48 benkman i set that account's pass to the same as its login id.
18:48 benkman another question: how does one edit custom macros? i inherited these from cornell-pace and want to add some
18:50 aubreyja ben - they are in your file manager under macros/
18:51 aubreyja if you want to add to an existing macro file, just go ahead and do that following the existing ones.
18:51 benkman so i go to the WW file manager and edit from there? ok
18:52 aubreyja if you want to add your own macro file, you can do that too. Just remember to add an _init_macroName {} sub at the top and a 1; at the bottom
18:52 benkman if i edit a problem through a 'homework set' does it change the code in the library or a copy of that?
18:52 mgage___ so pyStudent  's initial password is xbks
18:52 POSSE_Cody_2012 left #webwork
18:52 mgage___ you can reset his password from the classlist
18:52 aubreyja you can choose to over write or save a new version
18:53 mgage___ you can't normally edit the library problem itself -- so you have to save a local copy and edit it.
18:53 aubreyja I think he's referring to an existing problem from Christelle…is that right?
18:55 benkman i tried pyStudent with the xbks pass to no avail. i had set the pass to pyStudent earlier...
18:55 benkman pyStudent can now login using the pseudonymous pass... what changed to make that work?
18:56 mgage___ just noted that too -- I haven't made a change -- if you changed the password that is what did it
18:57 Qalthos aubreyja: We finally have a working set of prerequisites for Fedora
18:57 mgage___ kk --he'll be back in a minute
18:57 Qalthos there's a few more commands that can be automated, but it looks like it works
18:58 aubreyja Cool!
18:59 decause I got webwork installed
18:59 decause fuck yes
18:59 aubreyja That is the right reaction :)
18:59 aubreyja I did find one mistake to fix
19:00 aubreyja cd to /opt/webwork/courses
19:00 aubreyja and run the following
19:00 aubreyja /opt/webwork/webwork2/bin/addcourse admin --db-layout=sql_single --users=adminClasslist.lst --professors=admin
19:00 aubreyja In the script I was in the wrong dir when doing that
19:01 aubreyja Oh, and Qalthos - feel free to automate whatever you want or open an issue or issues on my github
19:01 Qalthos will do
19:02 pstaab joined #webwork
19:03 Qalthos aubreyja: it looks like admin- and defaultClasslist.lst don't get moved out of courses.dist
19:03 Qalthos into /opt/webwork/courses
19:03 Qalthos if I understand that correctly
19:04 * decause leaves for fossbox
19:04 aubreyja if you look in /opt/webwork/courses
19:04 aubreyja you should see adminClasslist.lst
19:05 aubreyja are they not there?
19:10 dglin joined #webwork
19:26 Qalthos aubreyja: they are not
19:26 Qalthos aubreyja: the only place they are is /opt/webwork/webwork2/courses.dist
19:34 benkman library issue: uploading a tar file from a mac uploads ._* files that are mac's resource forks. these appear as problems in a problem set; example: RITPython/PythonExerciseSheet4/._forloopFib.pg
19:35 benkman it would be nice if the unpacking of a tar file would filter out the ._* files.
19:46 mgage___ threebean:  hi
19:47 mgage___ benkman: good point
19:48 mgage___ there is a minor problem that the file manager is a bit funny of what kind of compressed files it will accept -- it should do the right thing whether the file is .zip, .gz  etc.
20:07 PaulSeeburger joined #webwork
20:09 aubreyja joined #webwork
20:09 aubreyja joined #webwork
20:10 djun joined #webwork
20:11 djun aubreyja: http://search.cpan.org/~jordan/Doxygen-Filter-Perl-1.01/lib/Doxygen/Filter/Perl.pm
20:17 dglin joined #webwork
20:26 threebean mgage_: hello :)
20:39 djun aubreyja: i've pushed the doxygen file to https://github.com/djun-kim/admintools
21:40 djun joined #webwork
21:52 mgage__ joined #webwork
21:52 mgage__ His.
21:53 mgage__ Hi I'm at the hotel with Karen. What is up over there
22:33 ChristinaK joined #webwork

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