Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 23 Next »

[09:15:58 CST(-0600)] * EricDalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[09:54:42 CST(-0600)] <esm> so is Safari's javascript support awful or is it just me
[09:55:25 CST(-0600)] <EricDalquist> probably safari
[09:56:47 CST(-0600)] <esm> i'm using xmlhttprequest. safari attempts to GET a specific url. nowhere in my javascript code do I ever call a GET to that url.
[09:56:57 CST(-0600)] <esm> its like the call is coming from nowhere
[09:59:22 CST(-0600)] <esm> oh. so I call the endpoint with PUT in my code, but Safari insists on using GET
[09:59:46 CST(-0600)] <EricDalquist> nice
[10:00:10 CST(-0600)] <EricDalquist> have you tried using the prototype JS library to do the request?
[10:00:17 CST(-0600)] <EricDalquist> it handles a lot of browser specific magic
[10:00:40 CST(-0600)] <esm> no, I'll take a look. I'm using the X library.
[10:00:59 CST(-0600)] <esm> i'm not sure how important safari is... but lemme look at prototype
[10:01:00 CST(-0600)] <EricDalquist> http://www.prototypejs.org/
[10:01:05 CST(-0600)] <esm> ty
[10:01:19 CST(-0600)] <EricDalquist> pretty popular and quite the usefull set of APIs if you do a lot of JS
[10:01:35 CST(-0600)] <esm> i don't do a lot of JS (smile)
[10:02:08 CST(-0600)] <esm> ie 6, when it sees a 204 No Content response, sets the http status code to 1223
[10:02:13 CST(-0600)] <esm> wth is that...
[10:02:24 CST(-0600)] <EricDalquist> lol
[10:03:03 CST(-0600)] <esm> javascript is really cool (i've decided, since reading more about it) but the client support is crap
[10:03:07 CST(-0600)] <EricDalquist> yeah
[10:03:16 CST(-0600)] <EricDalquist> the languag spec is quite nice
[10:03:19 CST(-0600)] <EricDalquist> and it is rather powerfull
[10:03:23 CST(-0600)] <esm> yeah
[10:03:27 CST(-0600)] <EricDalquist> but the browser specific stuff is horrid
[10:03:52 CST(-0600)] <lescour> now that the toolkits/libraries are handling more browser specific code, i find it more appealing
[10:04:02 CST(-0600)] <EricDalquist> yeah
[10:04:17 CST(-0600)] <esm> dude. i shouldn't need a toolkit to interpret a 204 no content response
[10:04:24 CST(-0600)] <lescour> i'm pretty psyched about the dojo 2D stuff
[10:04:29 CST(-0600)] <esm> its frigging http
[10:05:03 CST(-0600)] <esm> sorry i'm grumpy
[10:05:06 CST(-0600)] <esm> js makes me grumpyh
[10:05:08 CST(-0600)] <lescour> heh
[10:08:13 CST(-0600)] <esm> from prototype, on "Is the response a successful one"
[10:08:15 CST(-0600)] <esm> The success() method examines the XHR's status property, and follows general HTTP guidelines: unknown status is deemed successful
[10:08:25 CST(-0600)] <esm> "unknown status is deemed successful"
[10:08:26 CST(-0600)] <esm> heh
[10:15:53 CST(-0600)] <esm> prototype's Ajax.Request seems really robust
[10:16:39 CST(-0600)] <esm> if you are trying to do a PUT it simulates it using POST
[10:16:55 CST(-0600)] <esm> which i don't agree with but thats neither here nor there
[10:16:59 CST(-0600)] <EricDalquist> (smile)
[10:17:08 CST(-0600)] <EricDalquist> does it do that for all browsers?
[10:17:11 CST(-0600)] <EricDalquist> or just safari
[10:17:14 CST(-0600)] <esm> all
[10:17:33 CST(-0600)] <esm> if (!['get', 'post'].include(this.method)) {
[10:17:33 CST(-0600)] <esm> // simulate other verbs over post
[10:17:33 CST(-0600)] <esm> params['_method'] = this.method;
[10:17:33 CST(-0600)] <esm> this.method = 'post';
[10:17:33 CST(-0600)] <esm> }
[10:17:54 CST(-0600)] <EricDalquist> interesting
[10:18:15 CST(-0600)] <esm> it does encode parameters differently if you are using Konqueror or Safari
[10:18:30 CST(-0600)] <esm> if (params && /Konqueror|Safari|KHTML/.test(navigator.userAgent)) params += '&_='
[10:19:03 CST(-0600)] <esm> it appends a &_ which seems odd? but whatever
[10:22:30 CST(-0600)] <EricDalquist> as long as it works (smile)
[10:23:50 CST(-0600)] <esm> yeah. i think i'm going to punt, and just throw in some semi-graceful degrading.
[10:49:25 CST(-0600)] <andrew_petro_ubu> lescour, since we're in an IRC room together anyway, can I ping you about that Academus support request? I can't seem to get at your boxes at all.
[10:51:45 CST(-0600)] <andrew_petro_ubu> mmm, Sherri's looking into it, guess no reason to bother about it here. nm.
[10:51:54 CST(-0600)] <lescour> heh. she just called me
[10:52:21 CST(-0600)] <lescour> after you vpn in, you can't ssh to the box?
[11:01:40 CST(-0600)] <andrew_petro_ubu> heh. Now I feel stupid. I either forgot or never knew that I have to vpn in. I'll follow up with Sherri
[11:02:34 CST(-0600)] <lescour> sure.
[13:02:15 CST(-0600)] <EricDalquist> so ... this spring jasig conference is on the same weekend as my wedding aniversery
[13:06:37 CST(-0600)] <esm> oooooh
[13:07:06 CST(-0600)] <esm> and i guess your wife doesn'tt want to spend it in Denver with everyone else ????
[13:07:21 CST(-0600)] <esm> is it your first?
[13:13:37 CST(-0600)] <EricDalquist> yes
[13:13:40 CST(-0600)] <EricDalquist> our first
[13:13:49 CST(-0600)] <EricDalquist> we will be in the area
[13:13:56 CST(-0600)] <EricDalquist> we have plans to be in yellowstone over the weekend
[13:14:05 CST(-0600)] <apetro_work_desk> we'll all love to meet her at the conference
[13:14:09 CST(-0600)] <esm> yes
[13:14:24 CST(-0600)] <apetro_work_desk> and I think if you do a preconf JA-SIG should discount her admission to the conference too
[13:14:46 CST(-0600)] <apetro_work_desk> you'll be able to cover twice as many presentations as you otherwise would (smile)
[13:15:04 CST(-0600)] <esm> lol
[13:15:41 CST(-0600)] <EricDalquist> lol
[13:15:44 CST(-0600)] <apetro_work_desk> she'll be especially interested, what with the Sakai track and the teaching connection
[13:15:57 CST(-0600)] <EricDalquist> we'll it looks like I may make it for Tuesday & Wednesday of the conference
[13:16:10 CST(-0600)] <EricDalquist> we would just drive down from yellowstone on monday
[13:19:18 CST(-0600)] <EricDalquist> brb
[13:36:29 CST(-0600)] <EricDalquist> so .. have I said yet that I can't wait until uP3 is using maven?
[13:36:58 CST(-0600)] <esm> lol meeee too
[13:37:09 CST(-0600)] <esm> the wife is working this weekend so I hope to commit a lbunch
[13:37:12 CST(-0600)] <EricDalquist> so as for a status
[13:37:20 CST(-0600)] <EricDalquist> All the compile errors are fix
[13:37:25 CST(-0600)] <EricDalquist> all the unit tests are working
[13:37:51 CST(-0600)] <EricDalquist> I need to edit data.xml since the hibernate mappings have changed a little bit
[13:38:08 CST(-0600)] <EricDalquist> some of the spring configurations still need to be updated
[13:38:19 CST(-0600)] <EricDalquist> I need to flush out some of the pluto 1.1 services
[13:38:52 CST(-0600)] <EricDalquist> the deployPortletApp ant target needs to point to the pluto deployer
[13:41:41 CST(-0600)] <esm> nice
[13:42:18 CST(-0600)] <EricDalquist> seems like a lot after all the work I've already done (smile)(
[13:42:45 CST(-0600)] <esm> yeah the amount that sitill needs to get done, esp wrt m2 is immense
[13:43:03 CST(-0600)] <esm> i run across impl v api issues in the code modules regularly
[13:43:18 CST(-0600)] <esm> and theh resolution of those issues may be non-trivial
[13:43:52 CST(-0600)] <EricDalquist> hopefully once I can start providing direct input to those it will help move things along there
[13:43:57 CST(-0600)] <esm> cool
[13:45:43 CST(-0600)] <EricDalquist> oops ... I just deleted the whole test source branch via windows exporer
[13:45:51 CST(-0600)] <esm> lol
[13:45:53 CST(-0600)] <EricDalquist> I'm glad all my changes had been committed
[13:45:55 CST(-0600)] <esm> svn revert -N
[13:45:57 CST(-0600)] <EricDalquist> yeah
[13:46:05 CST(-0600)] <esm> go get a pizza while that runs
[13:46:07 CST(-0600)] <esm> (smile)
[14:48:10 CST(-0600)] <EricDalquist> so I think the jspc-maven-plugin is my new favorite maven plugin
[14:48:21 CST(-0600)] <EricDalquist> having jsp precompilation in the build process is so handy
[14:49:44 CST(-0600)] <esm> cool, havne't used it (smile)
[14:49:53 CST(-0600)] <EricDalquist> very nice
[14:49:59 CST(-0600)] <EricDalquist> pre-compiles the JSPs
[14:50:00 CST(-0600)] <esm> are uu using it just to optimize?
[14:50:15 CST(-0600)] <EricDalquist> and then injects the generated web.xml snippet into your real web.xml
[14:50:32 CST(-0600)] <EricDalquist> actualy more for well-formedness checking
[14:50:44 CST(-0600)] <EricDalquist> I catch JSP compile/syntax errors in the build
[14:50:48 CST(-0600)] <esm> you mean syntax errors
[14:50:48 CST(-0600)] <esm> right
[14:50:57 CST(-0600)] <EricDalquist> instead of at run time
[14:51:05 CST(-0600)] <EricDalquist> plus not having to wait for JSPs to compile is handy
[14:54:01 CST(-0600)] <esm> yeah
[15:10:50 CST(-0600)] * lescour (n=JBouncer@adsl-38-10-98.tulsaconnect.com) has joined ##uportal
[15:28:25 CST(-0600)] * lescour (n=JBouncer@adsl-38-10-98.tulsaconnect.com) has joined ##uportal
[20:33:50 CST(-0600)] * esm_ (n=esm@esm.qis.net) has joined ##uportal

  • No labels