Perl 6 - the future is here, just unevenly distributed

IRC log for #webwork, 2013-02-07

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

All times shown according to UTC.

Time Nick Message
00:16 djun joined #webwork
01:34 rbeezer mgage:  hosted2 seems fine.  Thanks.  Headed home for some dinner.
01:44 mgage_ thanks for checking
02:31 rbeezer joined #webwork
03:32 mgage_ joined #webwork
03:54 mgage_ joined #webwork
07:25 djun joined #webwork
13:41 goehle joined #webwork
13:45 goehle hey mgage
13:45 mgage hi
13:46 goehle I'm getting some wierd html artifacts on my newly upgraded 2.5.1.3 server
13:46 mgage which ones?  some of the css is a bit iffy
13:46 mgage I'm still working on it.
13:46 goehle a bunch of little stuff
13:47 goehle - the box with the site information has an "extra" box around it
13:47 mgage (also compare with what is going on with hosted2 -- to see if I fixed something last night)
13:48 goehle yeah
13:48 goehle I've got the same thing on hosted2
13:48 mgage yes -- I think it has always had this but I added some borders to help keep track of where things are -- if you check hosted2 then I think you might find it's gone now? --- our CSS was hacked years ago and is way too complicated.
13:48 goehle the site information box has an "extra" box aroudn it
13:48 goehle so does the log in info box
13:48 mgage Yeah -- I see it.
13:49 goehle the set info box has the same border
13:49 goehle but it looks better
13:49 mgage some of this is because the same css is being used on all of the pages -- and I was focusing most on the course homepage the assignment page and the problem pages
13:50 goehle I also had some random /* end main_body */ text in individual problems
13:50 goehle and the "This set is visible to students" bar was out of place
13:50 goehle that seems to be fixed on hosted
13:51 mgage it's easy to get rid of the border, but it's more important to specify how the flow within the box goes.  the /* end main body is a bug from last night -- I forgot which language I was commentin^g out in
13:51 goehle I just did a pull from mgage and its still there
13:51 mgage it's probably not fixed on hosted2 -- it depends on the width of the window
13:51 goehle where is the latest version
13:51 goehle (same window size for both)
13:52 mgage I think the hosted2 version is identical to what is in github/mgage  -- let me check
13:53 mgage I have a student coming in later today who wanted to work on WW and I'm hoping she will be willing to help tweak the CSS -- it's been broken for a long time.  -- it's actually better now than it was a week ago, but you are noticing the differences.
13:53 goehle its a good student thing
13:53 goehle because css isn't so hard
13:54 goehle a godo thing would be to have a class of yours all check on their machines
13:54 goehle make sure it works with different browsers, screens, ipads, etc...
13:54 goehle then have them write down their observations
13:54 mgage yep -- that's the plan
13:55 mgage css is trickier than it looks at first glance however -- particularly the floating box thing -- there are some layout modes that I expect to be available because of tex that just aren't there.
13:56 mgage I just updated hosted2 so it should be identical to github/mgage   -- don't know if you'll see any differences -- it was mostly gateway fixes I think
14:00 mgage does your set info box (on the homework set page) still have a double line around it? -- mine I have a thicker gray border -- and some padding around the text -- this also puts padding around the headline which is annoying -- but I haven't started tweaking at that level of detail
14:00 mgage will start trying to adjust the boxes on the other pages -- hopefully without destroying the current pages that kind of work
14:01 goehle one sec
14:01 goehle student ;)
14:01 mgage there needs to be box around the main body on homework pages and so on that keeps the buttons at the bottom from floating up when the screen is wide.
14:06 mgage I think I fixed the "main_body" error -- I can't find it anywhere in the current code
14:08 goehle back
14:08 goehle hmm
14:09 goehle wierd
14:09 goehle I did git pull mgage ww2.5.1.3
14:10 goehle my set info box on the homework page does have a thinker grey box
14:10 goehle It looks like its the same grey box on the other pages
14:10 goehle but better aligned
14:11 goehle course info looks better on hosted
14:11 goehle on the main courses page it looks like InfoPanel
14:11 goehle should be allowed to be as big as info-wrapper
14:11 goehle although that might break soemthing else
14:13 mgage I think the issue is that I adjusted the actual output on the ProblemSets and ProblemSet module (there was CSS being created within the code itself -- which is iffy) but I haven't gotten to the other pages yet -- I'll probably put the student to work on that -- the result is those pages have some extra div boxes
14:16 mgage the original css was too complicated (anticipating generalizations that never arose) and also built in an era when screen sizes didn't change so much :-)   -- I'm actually pretty pleased with the progress made this last week -- I think we can actually make it look pretty nice with just a bit more work ---
14:16 mgage what I really want is to get the css sane enough so that people can customize it relatively easily -- get some creative themes going
14:20 goehle Yeah, I've run across the extra div boxes before.  It does look nice now.  I'm still confused why my server isn't upgrade correctly
14:20 goehle but I have to head off to class
14:20 goehle ttyl
15:12 aubreyja joined #webwork
15:27 rbeezer joined #webwork
16:28 mgage aubreyja: I'll be on the phone call in just a few minutes -- just finishing up with a student
16:28 aubreyja kk
16:52 djun joined #webwork
18:38 rbeezer mgage: hosted2 seems to still have problems for us, several reports overnight from students;
18:38 rbeezer I can have an answer checked as correct, but when I submit I get:
18:39 rbeezer Can't call method "new" on an undefined value at /opt/webwork/webwork2/lib/WeBWorK/DB.pm line 289.
18:39 mgage kk -- I'm just back
18:39 rbeezer Call stack begins with
18:39 mgage hmm -- sounds vaguely familiar
18:39 rbeezer WeBWorK::DB::__ANON__ called at line 112 of /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/ProblemUtil/ProblemUtil.pm
18:39 rbeezer in WeBWorK::ContentGenerator::ProblemUtil::ProblemUtil::process_and_log_answer called at line 1253 of /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Problem.pm
18:39 mgage could you add me back in as a prof in your course -- then I can check this on your actual course
18:39 rbeezer hi, I'm here for a little bit then meetings.
18:40 rbeezer wiil do, sorry about that
18:40 mgage kk -- give me five minutes and I'll tell you what I find
18:44 mgage is this every answer you try to submit or just sometimes?  the program is trying to log the answer in the collection of past answers
18:44 rbeezer mgage:  added you as "mgage", password is firstname, lowercase, permission is Professor; holler if it looks wrong
18:44 mgage and one of the objects isn't defined.  ---haven't done any experiments yet
18:44 mgage kk -- I'll change the password in just a few minutes
18:45 djun joined #webwork
18:45 mgage ok -- I'm in
18:45 rbeezer mgage: I think it happens all the time
18:46 mgage kk -- that will make it easier tofind
18:46 rbeezer One student has had trouble for about 24 hours;
18:47 rbeezer another was bad, yesterday, then fixed when you dealt with comma, but now having trouble
18:47 mgage :-(  sorry about that
18:47 rbeezer (maybe he did not full test when he thought he was good)
18:47 mgage they should have screamed earlier of course
18:47 rbeezer No problem - not a crisis, they can still check correctness, so they can keep working
18:48 mgage the comma only lasted a short time -- I think this has to do with Geoff's updates to essay and past answer logging
18:48 rbeezer right
18:49 mgage I have some time right now so if I'm lucky I can track it down and fix it quickly -- if not I'll back out somehow -- I'll send you an email once I have news
18:49 rbeezer thanks - I'm in a Google hangout at 11:00 with David Farmer, but will monitor IRC as well.  Thanks for being so responsive on these.
18:58 mgage rbeezer:  it was easier than I thought -- it's fixed now
18:58 rbeezer Thanks, I'll be using it this afternoon to put together a set, appreciate the help!
18:59 mgage it was a configuration error -- on my list of things to do is to make switching versions more fool proof.  at the moment you have to manually readust some config files  and I missed one
18:59 rbeezer OK ;-)
18:59 mgage np  -- apologize to the student for me
18:59 mgage and thank them for participating in the development process :-)
18:59 rbeezer they are all CS majors, they understand.  They liked the missing comma.  ;-)
19:00 rbeezer Yes, I'll thank the beta testers.
19:00 mgage :-)
19:00 djun joined #webwork
19:25 djun joined #webwork
19:45 djun joined #webwork
20:07 djun joined #webwork
20:17 goehle ok back from classes
20:18 goehle mgage, does the hmwk sets editor table get cut off for you on hosted2?
20:22 goehle and a lot of the other pages as well
20:22 goehle (like add users)
20:50 mgage yes it does -- that because the same css is governing a box on many different pages.  -- I'll either have to find common ground for all the different pages or start changing the system to provide different css markup for each page.
21:15 mgage incidentally -- if you get tired of the CSS glitches you can switch to math2  -- I'm doing most of experimenting with math3 for the moment.
21:24 goehle will do
21:24 goehle btw, I checked out the essay questions and things *seem* like they are working fine
21:25 mgage thanks.  I'd like to develop unit tests that make these checks automatic -- but it's not totally easy to write unit checks to see if things appear properly on a web page -- still there is a lot more that we can do with unit checks so that we're not worried that something will go wrong whenever we make a change.
21:25 goehle nice
21:26 goehle if there sin't anything else for me to do
21:26 goehle css might be a good thing for me to do in raleigh
21:26 goehle if there is any of it left by then
21:26 mgage kk -- we'll see what we have by the time I get there
21:26 goehle like you said, you have been making progress
21:27 mgage and we'll see what this student can do ---- put I've asked her to proceed incrementally (so we can check as we go) -- and I expect there will be a lot left.
21:27 goehle ah yeah
21:27 goehle I had already forgot
21:27 goehle how does the css stuff interface with the new javascript stuff
21:27 goehle and the next version's upgraded look
21:27 goehle ?
21:28 mgage In particular, eventually, I'd like to refactor things so that we are really using cascading aspect and make it easier and  well documented for people to add their own customizing tweaks to create a theme.  -- we're a long way from that yet
21:28 mgage that's a completely different collection of css -- much more integrated with the javascript code
21:28 goehle yeah, this would have been one of those situations where a more standardized web platform might have helped
21:28 mgage when the time comes it will be  a project to generate some kind of uniform look and feel
21:28 goehle but those didn't exist when webwork started :P
21:29 rbeezer mgage: students are reporting all's well - thanks again for the quick fixes
21:29 mgage exactly -- I think Sam Hathaway invented our template system more less a the same time that Apache was just thinking of starting the Template project
21:29 mgage and way before twitter bootstrap
21:30 goehle still, when it comes time we can steal some of the more modern paradigms
21:30 mgage kk -- note my comment above about switching your course to math2 theme if you get really sick of me tinkering with the math3 theme --
21:30 goehle yeah, I may do that on my personal machine
21:30 mgage absolutely -- that's the plan -- and in fact twitter bootstrap is being used for classlist and library
21:30 goehle since I dont know that It will get your updates as often as hosted2
21:31 goehle classlist3?
21:31 mgage I think that's a feature you can use now -- just uncomment it in localOverrides.conf to display a link to it for instructors.
21:31 mgage same thing for library3
21:32 goehle that is pretty
21:32 goehle is leaving off the side bar intentional?
21:33 mgage Peter Staab and David Gage have been working on it .  Yes -- there is a menu in the upper right corner. Eventually we'll need to do some HCI research to figure out what is best.
21:33 mgage leaving off stationary navigation will probably be necessary for ipads and iphones at least
21:33 goehle yeah
21:33 goehle definitely
21:33 goehle I didn't htink to look in the upper right because in gnome3 its upper left
21:33 goehle :P
21:34 mgage HCI is a marvelous thing
21:34 mgage and pretty mysterious as well
21:34 goehle yeah, we are hiring a couple new cs people and one of them does hci
21:34 goehle I'll have to bug them about webwork
21:35 mgage please do -- I took a course last semester from our local guru, but he's pretty overloaded with grad students right at the moment (he's the only HCI guy in the dept) so he hasn't had time yet for a new project. :-)
21:45 aubreyja ccccccbjlekdruvdbcntuvkiddcbijbtrnirrtdltvtu
21:45 aubreyja I'm all elbows
21:45 mgage gesundheit
21:46 aubreyja btw, did I see that you got some the css and knowl stuff straightened out somewhere?
21:46 mgage css yes it's coming.    knowl stuff -- to some extent
21:48 mgage I have a gage_test repository on github  -- https://github.com/mgage/gage_test
21:48 mgage that has a bunch of unit tests -- including some for knowls
21:49 mgage in fact the course archive is at https://github.com/mgage/gage_test/blob/master/templates/gage_test.tgz
21:49 mgage and you can use that to create your own copy of the course -- then hook it back up to a git repo some how.
21:49 mgage I haven't figured out a clean way to do this yet
21:50 aubreyja cool - maybe a submodule?
21:50 mgage But I like the idea of having a joint place where we can put unit tests whenever we write them.
21:50 aubreyja yes -
21:51 mgage submodule is about right but you have to create the course first so that the database is created correctly -- then you link the course directory to github.
21:51 mgage for the current css look at anything on hosted2 -- I think you have a course there.
21:57 aubreyja importing setsolutionCheck.def gives me an error…
22:16 mgage hmmmm -- it works for me

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