Perl 6 - the future is here, just unevenly distributed

IRC log for #webwork, 2012-08-13

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

All times shown according to UTC.

Time Nick Message
16:06 goehle joined #webwork
16:10 aubreyja joined #webwork
16:44 goehle Hey aubreyja
16:49 JohnTravis joined #webwork
16:53 aubreyja Hi geohle - how's it going?
18:48 goehle hey
18:48 goehle back
19:27 goehle so I have a configuration question
19:44 aubreyja Hi, goehle, back. JohnTravis - does Raghu Gompa have his own server or is he using his own server?
19:45 aubreyja …or is he using the maa servers?
19:45 goehle Hey, so I was running into this earlier,
19:45 goehle When I use mathjax my browser complains that it cant find the source
19:46 goehle The problem is that the ? and =  in
19:46 goehle $webworkURLs{htdocs}/mathjax/MathJax.js?config=TeX-AMS_HTML-full
19:46 goehle are both getting turned into /'s
19:46 goehle So if I get rid of the config stuff in globat.conf.dist it works
19:47 aubreyja hmm…is it single quoted or double quoted?
19:48 goehle single quoted
19:48 goehle double rather
19:48 goehle sorry
19:48 aubreyja try single quoting it
19:48 goehle the $webworkURLS{htdocs} is getting interpreted correctly
19:48 goehle that will mess up $webworkURLS...
19:48 goehle I could use single quotes and a string join
19:48 goehle let me try that
19:49 aubreyja ah, right - yeah, try that.  Maybe too it needs to be url encoded...
19:49 aubreyja have you tried it on other browsers?
19:49 goehle tried it on several different browsers
19:51 goehle nope
19:51 goehle single quotes still a problem
19:51 goehle its getting process by something else
19:51 goehle wierld
19:51 aubreyja hmm I don't get that error at all…
19:51 goehle its correct in the source code ...
19:51 goehle <SCRIPT SRC="/webwork2_files/mathjax/MathJax.js?config=TeX-AMS_HTML-full"></SCRIPT>
19:51 goehle so its getting to the html correctly
19:51 goehle but niether chrome nor firefox interprets it correctly
19:52 aubreyja which version of webwork are you using svn, git, etc...
19:52 goehle git
19:52 aubreyja can you wget the file on the command line to see if you can get it that way?
19:53 aubreyja (with the full url)
19:53 goehle I can
20:08 aubreyja sorry - phone call just a sec
20:20 aubreyja goehle - back - so, it seems the url is actually correct, but your browser isn't finding it…is that right?
20:20 goehle no I figured it out
20:20 goehle it just *looks* like the browser isnt finding it
20:20 goehle its actually finding MathJax.js correctly
20:21 goehle MathJax.js is looking for a config file
20:21 goehle in config named TeX-....-.js
20:21 goehle so it just looks like the ? and = get replaced,
20:21 goehle but it actually works as intended
20:22 goehle as for why I dont have the correct config file, who knows
20:22 aubreyja ah, but your browser is giving you an error message - is it something others might see?
20:23 goehle yeah, I was having a cs friend help me track it down actually
20:23 goehle I think its because I was follwoing the instructions on
20:23 goehle http://www.google.com/url?sa=t&amp;rct=j&amp;q=webwork%20mathjax%20install&amp;source=web&amp;cd=2&amp;ved=0CFEQFjAB&amp;url=http%3A%2F%2Fwebwork.maa.org%2Fwiki%2FInstallation_Manual_for_2.4&amp;ei=NmIpUIWOJ8Xt0gGTioGIAw&amp;usg=AFQjCNF5VJ0hUPrtGXrECL8s7obNxH3VWQ
20:23 goehle or
20:23 goehle http://webwork.maa.org/wiki/Installation_Manual_for_2.4#MathJax
20:23 goehle to install mathjax
20:24 goehle that has me get the mathjax code via svn from sourceforge
20:24 goehle but it seems that mathjax has moved over to git
20:24 goehle once I got the git version of mathjax everything works find
20:24 goehle fine
20:25 goehle I did have another question though
20:25 aubreyja ah, good - we have mathjax registered as a git submodule so after getting webwork2 from git
20:25 aubreyja you can do 'git submodules init' and then 'git submodules update' to pull the git version of MathJax
20:26 goehle nice
20:26 goehle how does that work wtih forking?
20:26 aubreyja it goes with it - there is a hidden file called .gitsubmodules that's part of the repo
20:26 goehle hmm
20:27 goehle I dont have that file
20:28 aubreyja lemme check
20:28 goehle aniother question, one which I think I know the answer too
20:28 goehle is there any "easy" way to swap out the authentication system for webwork
20:28 goehle the it people at school were wanting me to have webwork use our banner authentication system
20:29 aubreyja ah, webwork2-dev .gitmodules
20:29 goehle ah ok
20:29 aubreyja https://github.com/openwebwork/webwork2-dev
20:29 goehle so i'm using webwork2
20:29 goehle on my main server
20:29 goehle but it has some of my newer code
20:29 aubreyja yeah, that's not hard if there is a perl module for querying the authentication server
20:29 goehle so that would explain the conflict
20:29 aubreyja what protocol does it use?
20:30 goehle thats a good question
20:30 goehle I will ask
20:30 aubreyja e.g. ldap and shibboleth are supported,
20:30 goehle ij'
20:30 goehle ok
20:30 goehle rather
20:30 aubreyja somebody has CAS up and running but the code isn't in the repo
20:30 goehle how do I use ldap or shibboleth?
20:31 aubreyja in global.conf (or one of the config files) there is a place where you can tell it
20:32 goehle ok
20:32 goehle I think I see it
20:32 goehle external_auth etc...
20:32 aubreyja yeah
20:33 aubreyja a lot of that external_auth code is new from Bill Wheeler and came with his LTI module, also grep for ldap in the global.conf
20:34 goehle cool thanks
20:35 aubreyja ah, actually, it looks like Banner is a big software application, http://www.wcu.edu/27199.asp
20:35 goehle yeah
20:35 goehle but it must use soemthing for its authentication
20:35 aubreyja I'm guessing since your university's site is all asp it's MS Active Directory which we can handle via the LDAP module
20:36 goehle I'm just emailing the it people to ask if they have an ldap server set up
20:36 goehle yeah
20:37 goehle hopefully it will just be putting the appropriate lines into postlocal.conf
20:38 goehle otherwise I think I will wait until people aren't trying to set up their courses
20:38 aubreyja yeah, I use it here and it has worked flawlessly.  You can also have it failover to local authentication or not, or only if a username is not in the ldap db
20:41 goehle luckly I've been setting things up so that the usernames should all be in the ldap db

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