fluid-work IRC Logs-2009-12-08

[04:41:13 EST(-0500)] * sveto (n=sveto@62.44.108.2) has joined #fluid-work
[07:21:07 EST(-0500)] * jamon (i=jamon@mantis.openject.com) has joined #fluid-work
[07:24:37 EST(-0500)] * sveto (n=sveto@62.44.108.2) has left #fluid-work
[07:24:40 EST(-0500)] * sveto (n=sveto@62.44.108.2) has joined #fluid-work
[07:32:41 EST(-0500)] * sgithens342f (n=sgithens@149-166-143-223.dhcp-in.iupui.edu) has joined #fluid-work
[08:04:51 EST(-0500)] * Justin_o (n=Justin@142.150.154.171) has joined #fluid-work
[08:22:53 EST(-0500)] <sveto> Justin_o: Hi, I've been absent last week so now I try to catch up with work
[08:23:35 EST(-0500)] <Justin_o> sveto: hello, how is it going... i noticed that you made a commit yesterday for posting the data to the server.
[08:23:49 EST(-0500)] <sveto> One specific problem I have now too long is with the ajax calls - from what I've seen it seems that the data payload is not sent when I'm using a PUT method and I was wondering if somebody had the same problem
[08:24:19 EST(-0500)] <sveto> yes, I'm working on the data posting, but I have this blocker
[08:25:06 EST(-0500)] <sveto> Justin_o: ^
[08:25:43 EST(-0500)] <sveto> Unfortunetely Joan is not around so I can ask him if he knows something about it, I tried using his component with the same result
[08:27:12 EST(-0500)] <sveto> Justin_o: What I do is call a server side script (to avoid same origin problem with ajax) and from this script make another ajax call to couchdb
[08:27:13 EST(-0500)] <Justin_o> hmm... not sure if anyone else has used PUT yet and yes Joan is away at the moment. I believe Colin is going to try to look into the data access stuff. We are hoping to setup some sort of framework facility for this, but not sure when it will be ready
[08:27:43 EST(-0500)] <Justin_o> sveto: yes... i think i saw that you set up a new service in kettle for that
[08:29:01 EST(-0500)] <sveto> Justin_o: So you've seen my code - it's pretty messy at the moment, I'll clean it up once I'm done with the data update. still need to learn how to write clean javascript.
[08:29:52 EST(-0500)] <Justin_o> sveto: (smile)
[08:30:27 EST(-0500)] * laurel (n=Laurel@142.150.154.178) has joined #fluid-work
[08:30:44 EST(-0500)] <Justin_o> sveto: so the paramaters you are passing aren't used by couchdb with your put?
[08:31:26 EST(-0500)] <sveto> Justin_o: No. Only the headers are written and nothing else.
[08:33:48 EST(-0500)] <Justin_o> so in couchdb you are getting nothing saved or some sort of empty object?>
[08:34:30 EST(-0500)] <sveto> Justin_o: couchdb responds with an error (invalid JSON) and doesn't save anything
[08:35:15 EST(-0500)] <Justin_o> oh
[08:35:22 EST(-0500)] <Justin_o> let me take a look at what you are sending
[08:35:35 EST(-0500)] <sveto> ok
[08:36:13 EST(-0500)] <sveto> Justin_o: it's pretty strange but I've traced the whole thing up to jQuery and the data is there, just that it is not sent.
[08:41:05 EST(-0500)] <Justin_o> sveto: what are you expecting the data to look like
[08:42:55 EST(-0500)] <sveto> Justin_o: I'm getting the data from couchdb, modifing it and then resending it. before sending it it is a JSON object, then jQuery parses the data and creates a string of parameters like "_id=555&_rev=123&userid=5"
[08:47:26 EST(-0500)] <Justin_o> hmm... i'm going to have to take a look at the couchdb book...
[08:55:09 EST(-0500)] * fj4000 (n=Main@CPE0018f85ab63e-CM001692f5798c.cpe.net.cable.rogers.com) has joined #fluid-work
[08:55:33 EST(-0500)] <Justin_o> sveto: did you look at this page in the couchdb wiki http://wiki.apache.org/couchdb/HTTP_Document_API
[08:56:45 EST(-0500)] <sveto> Justin_o: I'll have a look
[08:58:46 EST(-0500)] <Justin_o> Thee is a section there about using PUT, but i'm not seeing a mention of an error about the json... unless they are expecting a stringified json object instead of a serialized one...
[09:07:25 EST(-0500)] <sveto> Justin_o: I've tried a stringified JSON, no difference. right now I've completely disconnected couchdb and listening for the incoming data to see if there will be payload, unsuccessfully for now.
[09:09:07 EST(-0500)] <sveto> Justin_o: hm, on the other hand the data I've seen in jQuery calls while debugging was http parameters, not json, I wonder if this could be the problem...
[09:11:23 EST(-0500)] <Justin_o> sveto: http://docs.jquery.com/Ajax/jQuery.ajax#options
[09:11:29 EST(-0500)] <Justin_o> that's the docs for the ajax call
[09:11:44 EST(-0500)] <Justin_o> you might have to set the contentType
[09:12:37 EST(-0500)] <Justin_o> sveto: the default is "application/x-www-form-urlencoded" but i think you need "application/json
[09:12:38 EST(-0500)] <Justin_o> "
[09:12:51 EST(-0500)] <sveto> Justin_o: I've tried setting all settings that make sense, but it didn't help
[09:13:20 EST(-0500)] <sveto> Justin_o: tried that too (sad)
[09:15:47 EST(-0500)] <Justin_o> sveto: that is unfortunate... yura and I will try to do some tests for using PUT a little bit later today... and see if we can figure it out... just to double check are you using a local copy of couchdb or something that we are hosting here? if you are using your own, what version is it?
[09:16:33 EST(-0500)] <sveto> Justin_o: I'm using my own, its the latest - 0.10
[09:18:03 EST(-0500)] <Justin_o> sveto: okay.. thanks... hopefully we'll be able to figure it out... could you send me a copy of the exact error message you are getting
[09:18:50 EST(-0500)] <sveto> I'll send it over icq
[09:19:08 EST(-0500)] <Justin_o> sveto: thaqnks
[09:22:52 EST(-0500)] * jessm (n=Jess@c-71-232-1-65.hsd1.ma.comcast.net) has joined #fluid-work
[09:30:11 EST(-0500)] * athena (n=athena@adsl-99-136-250-158.dsl.wlfrct.sbcglobal.net) has joined #fluid-work
[09:30:38 EST(-0500)] * jameswy (n=jameswy@142.150.154.196) has joined #fluid-work
[09:42:46 EST(-0500)] <Justin_o> sveto: is the url for couchdb public and if so can you create us an empty database for testing
[09:45:01 EST(-0500)] <sveto> Justin_o: Unfortunetely the server redirect that we use for port forwarding to our local network is not working at the moment, so the database is not visible from outside
[09:45:18 EST(-0500)] <Justin_o> ah okay...
[09:45:39 EST(-0500)] <Justin_o> sveto: yura just pointed this out... http://wiki.apache.org/couchdb/Getting_started_with_JavaScript
[09:49:17 EST(-0500)] <sveto> I'll have a look, thanks
[09:49:44 EST(-0500)] * colinclark (n=colin@bas2-toronto09-1176131079.dsl.bell.ca) has joined #fluid-work
[09:52:10 EST(-0500)] * EricDalquist (n=dalquist@bohemia.doit.wisc.edu) has joined #fluid-work
[09:58:03 EST(-0500)] * clown (n=clown@142.150.154.101) has joined #fluid-work
[09:59:18 EST(-0500)] * michelled (n=michelle@142.150.154.193) has joined #fluid-work
[10:03:21 EST(-0500)] * clown (n=clown@142.150.154.101) has joined #fluid-work
[10:07:24 EST(-0500)] <Justin_o> michelled: http://titan.atrc.utoronto.ca:5984/_utils/script/couch.js
[10:08:13 EST(-0500)] <colinclark> Justin_o: Aha!
[10:08:36 EST(-0500)] <colinclark> I knew something like this had to already exist. (smile)
[10:08:37 EST(-0500)] <Justin_o> colinclark: yura found that
[10:08:51 EST(-0500)] <colinclark> I actually looked briefly, but then got distracted with something else.
[10:10:05 EST(-0500)] <michelled> colinclark: Justin_o, yura and I were just talking about that file and whether it should be included in our framework or not
[10:10:37 EST(-0500)] <colinclark> It's certainly license compatible, and is something we need at a low level
[10:11:02 EST(-0500)] <michelled> I suggested that it was a good thing to use for our short term get something done solution
[10:11:06 EST(-0500)] <colinclark> I guess it inevitably isn't part of the framework itself, since our goal with the framework is to keep Engage component authors from having to concern themselves with these lower-level mechanics
[10:11:21 EST(-0500)] <colinclark> Definitely it serves as an alternative to Joan's database.js
[10:11:22 EST(-0500)] * anastasiac (n=team@142.150.154.189) has joined #fluid-work
[10:11:32 EST(-0500)] <michelled> and that we'd have to take a closer look at it from a framework perspective
[10:11:33 EST(-0500)] <colinclark> And since someone else wrote it, I think it's probably a better option
[10:11:57 EST(-0500)] <michelled> brb - I have a meeting
[10:12:35 EST(-0500)] <colinclark> The real question is... did you guys see this file? http://titan.atrc.utoronto.ca:5984/_utils/script/jquery.couch.js
[10:13:25 EST(-0500)] <Justin_o> colinclark: wow... didn't see that
[10:18:58 EST(-0500)] * clown_afk (n=clown@142.150.154.101) has joined #fluid-work
[10:19:08 EST(-0500)] <colinclark> couch.js has a pretty funny function named maybeThrowError()
[10:19:25 EST(-0500)] <Justin_o> colinclark: yah... yura and I were laughing at that one earlier
[10:19:31 EST(-0500)] <colinclark> Which, aside from maybe throwing an error, actually does the JSON parsing. (tongue)
[10:19:41 EST(-0500)] <colinclark> Justin_o: Cool that you noticed
[10:20:12 EST(-0500)] <colinclark> I guess the key thing this is missing is the Lucene queries, but that's pretty straightforward to add.
[10:21:34 EST(-0500)] <Justin_o> colinclark: i think the json parsing might be fore the error message, or response .
[10:21:43 EST(-0500)] <Justin_o> colinclark: ah lucene queries.. forgot about that
[10:21:46 EST(-0500)] * clown_afk (n=clown@142.150.154.101) has left #fluid-work
[10:22:22 EST(-0500)] * clown (n=clown@142.150.154.101) has joined #fluid-work
[10:22:54 EST(-0500)] * sveto (n=sveto@62.44.108.2) has left #fluid-work
[10:24:28 EST(-0500)] * yura1 (n=yura@142.150.154.170) has joined #fluid-work
[10:28:24 EST(-0500)] * jhung_ca (n=Jon@H204.C204.cci.switchworks.net) has joined #fluid-work
[10:28:33 EST(-0500)] * jhung_ca (n=Jon@H204.C204.cci.switchworks.net) has left #fluid-work
[10:36:38 EST(-0500)] * mackrauss (n=Armin@142.150.154.101) has joined #fluid-work
[10:37:07 EST(-0500)] * clown (n=clown@142.150.154.202) has joined #fluid-work
[10:50:22 EST(-0500)] * mackrauss_ (n=Armin@user148-244.wireless.utoronto.ca) has joined #fluid-work
[10:51:12 EST(-0500)] * mackrauss__ (n=Armin@142.150.154.101) has joined #fluid-work
[11:03:48 EST(-0500)] <laurel> michelled: I uploaded a new patch to 3407 - just a small but key mistake.
[11:07:24 EST(-0500)] <michelled> ok, thanks laurel
[11:08:47 EST(-0500)] * mackrauss__ (n=Armin@142.150.154.101) has joined #fluid-work
[11:10:22 EST(-0500)] * mackrauss_ (n=Armin@user148-244.wireless.utoronto.ca) has joined #fluid-work
[11:10:29 EST(-0500)] <mackrauss_> jamon the WPA2 encryption seems not to work well for me. I can connect but the connection is very flaky
[11:14:40 EST(-0500)] * mackrauss___ (n=Armin@142.150.154.101) has joined #fluid-work
[11:15:31 EST(-0500)] * mackrauss____ (n=Armin@user148-244.wireless.utoronto.ca) has joined #fluid-work
[11:17:03 EST(-0500)] * mackrauss_ (n=Armin@142.150.154.101) has joined #fluid-work
[11:17:49 EST(-0500)] * mackrauss_ (n=Armin@user148-244.wireless.utoronto.ca) has joined #fluid-work
[11:47:00 EST(-0500)] * athena (n=athena@adsl-99-136-250-158.dsl.wlfrct.sbcglobal.net) has joined #fluid-work
[11:48:24 EST(-0500)] * laurel1 (n=Laurel@142.150.154.178) has joined #fluid-work
[11:55:06 EST(-0500)] * clown_afk (n=clown@142.150.154.202) has joined #fluid-work
[11:55:57 EST(-0500)] * elicochran (n=elicochr@dhcp-169-229-212-52.LIPS.Berkeley.EDU) has joined #fluid-work
[12:03:08 EST(-0500)] * laurel (n=Laurel@142.150.154.178) has joined #fluid-work
[12:05:47 EST(-0500)] * laurel1 (n=Laurel@142.150.154.178) has joined #fluid-work
[12:05:47 EST(-0500)] * mackrauss (n=Armin@user148-244.wireless.utoronto.ca) has joined #fluid-work
[12:05:47 EST(-0500)] * yura1 (n=yura@142.150.154.170) has joined #fluid-work
[12:05:47 EST(-0500)] * anastasiac (n=team@142.150.154.189) has joined #fluid-work
[12:05:47 EST(-0500)] * fj4000 (n=Main@CPE0018f85ab63e-CM001692f5798c.cpe.net.cable.rogers.com) has joined #fluid-work
[12:07:31 EST(-0500)] * Justin_o (n=Justin@142.150.154.171) has joined #fluid-work
[12:15:24 EST(-0500)] * laurel1 (n=Laurel@142.150.154.178) has joined #fluid-work
[12:15:24 EST(-0500)] * mackrauss (n=Armin@user148-244.wireless.utoronto.ca) has joined #fluid-work
[12:15:24 EST(-0500)] * yura1 (n=yura@142.150.154.170) has joined #fluid-work
[12:15:24 EST(-0500)] * anastasiac (n=team@142.150.154.189) has joined #fluid-work
[12:15:24 EST(-0500)] * fj4000 (n=Main@CPE0018f85ab63e-CM001692f5798c.cpe.net.cable.rogers.com) has joined #fluid-work
[12:18:58 EST(-0500)] * fj4000 (n=Main@173.33.107.115) has joined #fluid-work
[12:19:27 EST(-0500)] * Justin_o (n=Justin@142.150.154.171) has joined #fluid-work
[12:28:21 EST(-0500)] * colinclark (n=colin@142.150.154.130) has joined #fluid-work
[12:36:43 EST(-0500)] * fj4000 (n=Main@173.33.107.115) has joined #fluid-work
[12:36:43 EST(-0500)] * mackrauss (n=Armin@user148-244.wireless.utoronto.ca) has joined #fluid-work
[12:36:43 EST(-0500)] * yura1 (n=yura@142.150.154.170) has joined #fluid-work
[12:36:43 EST(-0500)] * anastasiac (n=team@142.150.154.189) has joined #fluid-work
[12:37:42 EST(-0500)] * mackrauss (n=Armin@user148-244.wireless.utoronto.ca) has joined #fluid-work
[12:42:22 EST(-0500)] * clown_afk (n=clown@142.150.154.202) has left #fluid-work
[12:59:36 EST(-0500)] * laurel (n=Laurel@142.150.154.178) has joined #fluid-work
[12:59:51 EST(-0500)] * Justin_o (n=Justin@142.150.154.171) has joined #fluid-work
[13:28:09 EST(-0500)] * michelled (n=michelle@142.150.154.193) has joined #fluid-work
[13:45:47 EST(-0500)] * elicochran (n=elicochr@dhcp-169-229-212-16.LIPS.Berkeley.EDU) has joined #fluid-work
[14:12:09 EST(-0500)] * elicochran (n=elicochr@dhcp-169-229-212-16.LIPS.Berkeley.EDU) has joined #fluid-work
[14:48:39 EST(-0500)] * clown (n=clown@142.150.154.202) has joined #fluid-work
[15:01:11 EST(-0500)] * Justin_o (n=Justin@142.150.154.171) has joined #fluid-work
[15:43:49 EST(-0500)] <laurel> http://issues.fluidproject.org/browse/FLUID-3413 - Justin_o - you can add this to your bug parade email as needing review
[15:43:59 EST(-0500)] <Justin_o> laurel: thanks
[15:44:41 EST(-0500)] <Justin_o> laurel: i think that may be the wrong jira
[15:46:11 EST(-0500)] <laurel> Justin_o: http://issues.fluidproject.org/browse/FLUID-3419 is the newest addition for the bug parade
[16:43:06 EST(-0500)] * michelled (n=michelle@142.150.154.193) has joined #fluid-work
[16:46:56 EST(-0500)] <laurel> colinclark: it looks good
[16:47:02 EST(-0500)] <laurel> http://142.150.154.58/infusion-builder/html/InfusionBuilder.html
[16:47:38 EST(-0500)] <colinclark> wicked, laurel
[16:47:42 EST(-0500)] <colinclark> i'll start doing some renaming
[16:50:23 EST(-0500)] <yura1> hey fj4000 do you have a second ?
[16:50:34 EST(-0500)] <fj4000> sure thing
[16:51:48 EST(-0500)] <fj4000> yura1 : ?
[16:52:15 EST(-0500)] * alisonbenjamin (n=alisonbe@dsl-173-206-255-58.tor.primus.ca) has joined #fluid-work
[16:52:18 EST(-0500)] <yura1> i m trying to do some css, with no luck...
[16:52:32 EST(-0500)] <alisonbenjamin> Justin_o: good evening
[16:52:33 EST(-0500)] <yura1> I have a hidden div that I show on click of a button, however this div when shows shifts the rest of the markup down
[16:52:50 EST(-0500)] <fj4000> sounds reasonable
[16:53:23 EST(-0500)] <yura1> but the desired behaviour is to just show it over the rest of the markup without shifting
[16:53:44 EST(-0500)] <yura1> I can pastbin the css that the div has
[16:53:53 EST(-0500)] <fj4000> can we use skype to screen share? It's not a complex fix, but its not trivial
[16:54:26 EST(-0500)] <yura1> i can skype but i dont think i can share a screen in linux
[16:54:39 EST(-0500)] <fj4000> your container for the drop div needs to have explicit relative positioning, and the div itself needs absolute positioning
[16:55:23 EST(-0500)] <yura1> fj4000: ok let me try
[16:55:39 EST(-0500)] <Justin_o> alisonbenjamin: hello
[16:55:44 EST(-0500)] <fj4000> ping me when your done, yura1
[16:56:03 EST(-0500)] <alisonbenjamin> Justin_o: I was just looking at your comments here: http://issues.fluidproject.org/browse/FLUID-3227
[16:56:24 EST(-0500)] <yura1> fj4000: sure thing, thanks
[16:57:08 EST(-0500)] <alisonbenjamin> Justin_o: I agree with both of your points, that we should experiment with a live region, and that more meaningful undo text can't hurt, i.e. undo edit.
[16:59:23 EST(-0500)] <Justin_o> alisonbenjamin: thanks
[17:00:11 EST(-0500)] <Justin_o> alisonbenjamin: are you planning on creating patches for these... i'm not entirely sure they all fit under this jira issue though
[17:00:28 EST(-0500)] * anastasiac (n=team@142.150.154.189) has left #fluid-work
[17:00:38 EST(-0500)] <alisonbenjamin> Justin_o: yeah I should, small ux changes basically.
[17:02:14 EST(-0500)] <Justin_o> alisonbenjamin: that's great... glad we are getting this one in top shape
[17:03:42 EST(-0500)] <Justin_o> alisonbenjamin: i'm going to be heading out now... is there anything else you may need before i go... also i won't be around on thursday, which is when i think you said you would be coming in next
[17:03:45 EST(-0500)] <alisonbenjamin> Justin_o: what currently happens is that after an edit is made and saved, in Jaws, only 'undo' is read. Yesterday I did a walk through with a user who alerted me to a subtle issue: He pointed out you don't hear the change you've make, either alone or in context, only 'undo'. User's point: how are you supposed to know what you're undoing?
[17:03:46 EST(-0500)] <alisonbenjamin> No.
[17:04:07 EST(-0500)] <alisonbenjamin> Justin_o: just commenting on some things I should work on
[17:04:47 EST(-0500)] <Justin_o> alisonbenjamin: okay... thanks for doing all that user testing too...
[17:05:16 EST(-0500)] <alisonbenjamin> Justin_o: no probs have a good night
[17:15:51 EST(-0500)] * clown (n=clown@142.150.154.202) has left #fluid-work