Perl 6 - the future is here, just unevenly distributed

IRC log for #webwork, 2013-01-17

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

All times shown according to UTC.

Time Nick Message
00:25 djun joined #webwork
01:16 mgage_ joined #webwork
02:34 Paul__ joined #webwork
04:28 mgage_ joined #webwork
05:19 ceterizine joined #webwork
13:27 goehle_ joined #webwork
15:02 aubreyja joined #webwork
16:44 jpgravel joined #webwork
17:01 jpgravel JQuey MathView is now available at sourceforge at: http://bit.ly/Vr8cas
17:04 jpgravel I need some help to integrate it to the core WeBWorK source code.
17:04 aubreyja cool! I wonder if it would be easy to get it to generate the sort of output that webwork expects in studentt answers?  Alex Basyrov was able to do that with drag math pretty quickly
17:04 jpgravel Yet it does
17:05 jpgravel We also developped a working webservice in perl integrated to webwork so that the PG generation is translated back to latex
17:05 aubreyja you probably want to put the relevant javascript at the top of one of the webwork2/htdocs/templates files
17:05 aubreyja ah cool
17:06 jpgravel yes but I wonder hot to make it integrated to the code or how to send it for review
17:06 jpgravel and to who
17:06 aubreyja the canonical process (now) would be to fork openwebwork/webwork2-dev on github, make  your changes to that code and then issue a pull request back to openwebwork
17:07 aubreyja are you on github?
17:07 jpgravel ok, I knew I had to learn that github stuff one day. Seems that today is the day ;-)
17:08 jpgravel not yet but I'll learn!
17:08 aubreyja it's not too bad - I can help out as needed - just ping me if you have a question
17:08 jpgravel ok nice thank you
17:08 aubreyja thanks for the work!
17:08 jpgravel np!
17:09 aubreyja mgage, mgage_ - around?
17:09 jpgravel I'm out for dinner and I'll start on that in the next hour
17:09 mgage yep
17:10 mgage thanks jpgravel
17:10 aubreyja could you do the doodle polls? I think we're only waiting on you :)
17:10 jpgravel np, it's a pleasure, I'll trnasmit your thanks to Louise Pellerin and the developper students
17:10 mgage ok -- I'll do the polls -- sorry
17:10 jpgravel doodle polls? dont know what it is...
17:11 aubreyja sorry -thtat was for mike
17:11 mgage brb
17:20 aubreyja mgage - do you know off-hand what code the test server is running?  For some reason the course.conf files are not being read on the new server I set up - (it seems to work fine on the maa servers though)
17:27 mgage test is running 2.5.1.1 -- I'll sync it to github to make sure it has any last minute changes.
17:31 mgage test seems to have a branchaubrey_dev which it is running at the moment -- it says that it is ww2.5.1.1
17:31 mgage I just updated pg on test which was out of date
17:31 djun joined #webwork
17:32 aubreyja ah yeah, that was just me testing out the opl-update changes - you can switch it out
17:32 mgage kk
17:36 mgage ok test is up-to-date with ww2.5.1.1
18:53 djun joined #webwork
18:59 jpgravel joined #webwork
19:14 jpgravel joined #webwork
19:32 aubreyja mgage: can you think of any reason why my course.conf files might not be read into the course environment? I know they are being looked for in the right place, but none of the specialPGEnvironmentVars show up anywhere - across every course too
19:33 mgage which version are you using?  I thought my course.conf file was not being read but on closer inspection I found that I had spelled the variable wrong.
19:34 mgage The code for searching course.conf is in CourseEnvironment -- so in desperation you can put some code there to verify that the file is being read. (also did you check log messages? :-) )
19:35 aubreyja 2.5.1.1 - these are correct spelling I'm quite sure (I just copied from what was already there.) and I did confirm by editing CourseEnvironment.pm that the files are being looked for in the right place
19:41 mgage next try fooling with the showeditor config variables -- they are really quick to check -- you don't even have to reboot  -- the should override the settings in localOverides.conf -- they did in my case.
19:42 mgage after that try putting the specialPGenvir variables in localOverride.conf -- see if they work there -- then try course.conf again
19:42 jpgravel do you have any proble if a include JQuery to webwork? Mathview is a jquery extension...
19:44 mgage no -- I'd like to see it included.  If you look you'll see that dragmath is configured so that it can be turned off and on in CourseConfig.pm   https://hosted2.webwork.rochester.edu/webwork2/maa101/instructor/config
19:45 mgage I think a good UI would be to change this so that you could use DragMath or Mathview for answer entry (is there any reason one would want both?)
19:46 jpgravel ok, I'll see what I can do
19:46 mgage eventually we could make it an individual preference but at the moment the convenient path is to configure it course by course using course.conf and the on-lin Course Configuration page
19:47 mgage thanks much.  I'm also trying to figure out where to put it.  Depending on unobtrusive the change is we can put it in ww2.5.1.1 or ww2.5.1.3 or in ww2.5.2
19:48 mgage the latter is stalled at the moment because the UI changes need considerably more work --ww2.5.1.1.  is stable and I'd prefer to leave it alone for any noticible changes to ease the mind of those who want the releases to change slowly.
19:48 jpgravel ls
19:48 jpgravel sorry
19:49 mgage I'm currently working on documenting ww2.5.1.3 which is for those who want essayQuestions now.  They are in ww2.5.2 but the UI status makes it pretty unusable for students -- I'm trying to pull out the components of the essayQuestion feature -- and I'll add some other features as well particularly if they can be turned on or off at the instructors descretion
20:12 aubreyja hmm…this is strange - the courses aren't getting settings from either course.conf or simple.conf - they seem to be insisting on retaining settings from the courses they were cloned from…(but changes to localOverrides.conf do take after restart)
20:15 aubreyja but this only happens with courses that have been imported from my previous server, not freshly created courses - those seem to work fine.
20:16 mgage localOverrides.conf shouldn't require a restart for most things -- it should be immediate.    try putting garbage in course.conf and see if the page dies -- it should -- if it doesn't it means you aren't referencing the course you are editing
20:17 mgage afk
20:18 aubreyja yeah, I typed literally the bare word 'garbage' in course.conf - should have caused an error but didn't
20:27 aubreyja interesting - copying course.conf from a fresh course to one of the affected courses and now it works...
20:46 djun joined #webwork
20:53 mgage very strange -- I'm headed home -- back on in an hour or so
21:26 mgage_ back
21:29 jpgravel I got a jquery version problem
21:29 mgage_ kk
21:29 jpgravel current jquery version in WebWork is 1.6.4
21:30 mgage_ what does your stuff use?
21:30 jpgravel JQuery MathView uses jquery 1.8.2
21:30 jpgravel htdocs/js/lib/vendor/editablegrid-2.0.1/extensions/jquery/
21:31 jpgravel this is the directory where jquery is actually
21:31 jpgravel is it used only for the editable grid?
21:31 mgage_ my guess is that you can just update to jquery 1.8.2 in your stuff and our stuff will continue to work.  It's also possible that we can put files for both of them in in htdocs/js/lib/vendor and call which ever version we need
21:32 mgage_ mostly for that -- we use jquery in a few other places as well.  on the stack of things to clean up is a regularization of how javaScript files are stored -- it's been pretty adhoc so far.  -- we've only been using js heavily for a less than a year
21:34 jpgravel ok, but what do you mean when you say to update jquery, you meand add my version in another folder or just overwrite the other one
21:35 mgage_ we have jquery 1.7.2 in js/lib/vendor -- that's where I'd put a new script I think
21:35 mgage_ for now let's write your script along side juqery-1.7.2.min.js in  webwork2/htdocs/js/lib/vendor
21:36 jpgravel ok, I'll add jquery 1.8.2 beside 1.7.2, thats what you want?
21:36 mgage_ stuff you write can go in  js/apps   and a folder such as Mathview
21:36 mgage_ yes -- that will do for now.
21:36 jpgravel ok htnaks
21:37 mgage_ there is a lot of js scripts scattered everywhere that need to be gathered together and cleaned up but now is not the time.   I think   js/apps  and js/lib/vendor will be two of the top levels in htdocs/js eventually
21:37 jpgravel ok, sounds good
21:37 mgage_ js/lib/webwork will be for js scripts that are used in more than one place in WW
21:38 mgage_ thanks for the work
22:38 djun joined #webwork

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