Saturday, 2009-06-13

*** tpb has joined #melange00:00
*** tansell_laptop has quit IRC00:55
*** tansell_laptop has joined #melange00:55
*** jamtoday has left #melange01:45
*** ankitg has quit IRC02:27
*** jamtoday has joined #Melange03:06
*** dhaun has joined #melange04:04
*** tansell_laptop has quit IRC04:56
*** jamtoday has quit IRC05:32
*** ajaksu has joined #melange06:02
*** ajaksu is now known as ajaksu_away06:15
*** SRabbelier has joined #melange06:22
*** ChanServ sets mode: +o SRabbelier06:22
*** tansell_laptop has joined #melange06:58
*** ajaksu_away is now known as ajaksu07:03
ajaksuSRabbelier: morning :)07:03
SRabbelierajaksu: morning indeed :)07:04
* SRabbelier will brb07:06
*** Merio has joined #melange07:15
ajaksuMerio: hi :)07:18
Merioajaksu: heya!!!07:22
Merioajaksu: how do you do? :)07:22
Merioajaksu: Sorry I was drinking my coffee... woke up late this morning :)07:23
ajaksuMerio: I'm fine, thanks, how about you? :)07:23
Merioajaksu: all ok, for the first time in 5 days I've slept a right amount of hours (well... more than a "right" amount indeed :P)07:23
ajaksuMerio: that's good, sleeping well makes wonders :)07:24
Merioajaksu: yeah ^__^07:25
Merioajaksu: how about the survey module? All ok? I'm going away for about 10 minutes, bbs :)07:27
ajaksuMerio: things are moving forward fast, I'll have a demo instance online later today and I've just forked statistic-module-for-melange to see if we can generate easier to consume survey results :)07:29
Merioajasku: back :) I don't know if statistic-module is working at the moment, yesterday I've tried it with James Crook and I couldn't get it to work, perhaps Daniel is doing some work in progress in this very moment.07:41
ajaksuthat's ok :)07:43
ajaksugreat to see you're adding shrinksafe :)07:44
Merioajaksu: have you seen my proposal for JS refactoring? Do you feel it'll be easy to be compliant to that in a later stage with that? Maybe you can read my code for melange.js and melange.graph.js to see what I'm meaning07:44
Merioajaksu: Yes, it's a must have in the future :)07:45
ajaksuMerio: yes, I've seen it and I support it 200%, I just have to learn how to put the necessary HTML in templates :)07:46
Merioajaksu: what do you mean?07:46
* SRabbelier is back07:48
ajaksuMerio: "To put HTML strings outside Javascript code," -> I fail at this: http://bitbucket.org/ajaksu/melange-surveys/src/tip/app/soc/content/js/edit_survey.js (btw, I've supposedly refactored this one, feel free to complain about it :)07:48
tpb<http://ln-s.net/3JX:> (at bitbucket.org)07:49
MerioAh ok for that thing to happen I'll be posting on my blog update on Monday, I've seen many ways to do it and the most promising it's... let me find the pages one sec07:52
ajaksuSRabbelier: wb :)07:52
Merioajaksu: well for example this => http://ajax-pages.sourceforge.net/07:52
tpbTitle: Ajax Pages (at ajax-pages.sourceforge.net)07:52
Merioajaksu: we will probably end up using a sort of "client side django"07:53
Merioajaksu: there are many efforts on this, but I was looking for something that doesn't need to us to learn a new language (as Django does)07:53
ajaksuMerio: something like http://bitbucket.org/ajaksu/melange-surveys/src/tip/app/soc/content/js/edit_survey.js#cl-103 ?07:53
tpb<http://ln-s.net/3JXD> (at bitbucket.org)07:53
Merioajaksu: for example ajax pages uses common javascript07:54
Merioajaksu: yes, it's a good way, but I would like to keep those stuff outside the logic07:54
ajaksuMerio: the .ajp way or something similar seems very neat :)07:56
Merioajaksu: there is also another way, which is good for unobstrusive javascript, which is this ==> http://beebole.com/pure/07:57
tpbTitle: PURE - JavaScript Template Engine (at beebole.com)07:57
Merioajaksu: but I don't know how well it behaves on separating logic, need to explore it better, but it's low priority in this very moment07:58
Merioajaksu: otherwise I'll be stuck on design and not doing code for stats module :D07:59
ajaksuMerio: yeah, again I've avoided pinging you for JS advice because you have to work on your project AND you're already doing the JS consultant thing for many things, thanks a *huge* lot :)08:02
*** Lennie has joined #melange08:02
*** ChanServ sets mode: +o Lennie08:02
Merioajaksu: well, no worries about that, feel free to ping me whenever you want, if it comes to be a good sync for all of us to do things better and better... well, .... eheheheh... it's... better :D08:04
ajaksuMerio: I should've sent a mail to the list about updating jquery-ui.core.js from @VERSION to 1.6 and adding ui.draggable, ui.sortable (we can reorder choice field options) and jquery.editable (we can edit option values inline) :)08:07
Merioajaksu: that's great, when I need to work on the jQueryUI dashboard your work would probably shorten mine, because I need to integrate draggable as well :D08:15
Merioajaksu: so... thank you ^__^08:15
ajaksuyw :)08:17
*** jamtoday has joined #melange10:33
jamtodayajaksu: ping10:33
ajaksujamtoday: pong! :)10:33
ajaksujamtoday: neat fixes, thanks10:34
ajaksujamtoday: our JS now passes jslint and is only a few long lines, comments and html bits away from meeting JS style-guide... can we please keep it like that? :)10:54
Lennie^^10:57
Lennieso ajaksu, how is the core survey stuff coming along :D?10:58
ajaksuLennie: pretty good, I should have a demo instance up in a couple of hours... I'll need lots of criticism :)10:59
Lennieajaksu, sure11:09
Lennieajaksu, lemme know when :D11:09
ajaksuLennie: if you have a spare app engine instance, we could cut the 'trying to reach the one friend that has a supported cell phone for app engine activation' delay :)11:10
*** dr__house has joined #melange11:18
Lennieajaksu, yeah11:22
Lenniepm me your account mail11:23
ajaksujamtoday: you broke my real app :(11:58
ajaksu:)11:58
*** dr__house has quit IRC12:01
*** dr__house has joined #melange12:02
ajaksunice people of the channel: can anyone log into http://melange-ajaksu.appspot.com/ to see if the demo works? :)12:05
tpbTitle: Sign In Required (at melange-ajaksu.appspot.com)12:05
*** dr__house has quit IRC12:06
Merioajaksu: it's giving me "You need to be in the user group to read documents in the program prefix", need I to create profile?12:20
*** dhaun1 has joined #melange12:22
*** dhaun has quit IRC12:22
*** dhaun1 is now known as dhaun12:23
ajaksuMerio: yep, you have to create a profile, I'll see if I can even add you as a developer :)12:29
Merioajaksu: sorry I really need to have a broader knowledge of the backend, next week I'll go deeper, perhaps I'll pinging you a bit ^__^. Going to create the profile12:30
ajaksuMerio: no strings attached, it's just that if you want to test something... :)12:32
Merioajaksu: :D great the autogrowing textarea too12:33
Merioajaksu: seems all working here, don't know if there's something more precise to test12:35
ajaksuyou can test the edit UI in the editable one, once you're a developer you'll  be able to create new ones12:35
Merioin this very moment the editable one just give me a common textarea (no auto-growing), a dropdown and three checkboxes, is it ok with it?12:37
ajaksuhmm, should be autogrowing, proably a js packing issue...12:40
ajaksuoh, silly me, the edit interface is http://melange-ajaksu.appspot.com/survey/edit/program/melange_team/surveys_demo/open12:41
tpb<http://ln-s.net/3Jar> (at melange-ajaksu.appspot.com)12:41
MerioI'm already there12:41
MerioIt seems to load only ui-core (don't know if it's enough)12:42
Meriooh probably this is => /soc/content/js/jquery.growfield.packed-trunk.js12:42
ajaksuno, it should load lots of other things and seems to work here, in the edit interface at least... sorting options also seems work, but using /edit/ instead of /show/12:43
Merioajaksu: didn't notice the "edit" instead of "show" ^__^ ehehe12:44
ajaksuunfortunately I have to leave now for a family meeting, I'll be back in a couple of hours, hope things don't crash and burn :)12:44
Merioajaksu: eheheheh :) see you later :D12:44
ajaksucool, so it's a survey-taking template bug regarding js includes12:44
ajaksusee ya ;)12:44
Merioajaksu: seeing now.. great work men!12:45
*** Shaan7 has joined #melange14:01
*** Shaan7 has quit IRC14:10
LennieMerio, they rule indeed :P15:48
jamtodayajaksu: understood about the JS styles. Did I break something in the survey taking templates?15:50
jamtodayajaksu: in the survey view model it should specify a create_template HTML file15:51
MerioLennie: they really do ^__^15:53
jamtodayThere's also a backwards-incompatibility with any documents and surveys that don't already have a scope...a couple different ways to solve it15:56
jamtodayajaksu: fixed the bug I introduced, after it reared its ugly head16:15
SRabbelierjamtoday: I'm hoping we'll have Tasks in labs this week :D16:21
*** Lennie has quit IRC16:22
jamtodaySRabbelier: perfect timing16:23
SRabbelierjamtoday: mhh? :)16:23
jamtodaySRabbelier: Because 500s are fun for no one, I'm hardcoding a check in addition to using tasks to upgrade old docs16:24
jamtodaySRabbelier: I'm referring to a backwards incompatibility introduced with documents and surveys16:24
SRabbelierjamtoday: hehe, why not :)16:24
jamtodayand newsfeed will also need garbage collection16:24
SRabbelierjamtoday: why do they?16:24
SRabbelierjamtoday: do you want to prevent people from going back to say, last month's news?16:24
jamtodaySRabbelier: they didn't have scope before now they do16:24
jamtodaywhen you make a newsfeed item, it expects a scope16:25
SRabbelierjamtoday: no right, I get that part16:25
SRabbelierjamtoday: was talking about GC16:25
jamtodayand if it doesn't get one it barfs....but I put in a check just for the older entities16:25
jamtodayit doesn't need garbage collection...16:25
jamtodayI just assumed it would be desired16:25
jamtodayIt probably won't be an issue for a while16:26
jamtodaybut I'd like to try out the Task API anyways :)16:26
SRabbelierjamtoday: aaah, like so :)16:26
SRabbelierjamtoday: the snippets in the newsfeeds won't be that big will they?16:27
jamtodayThe model allows for a payload for each item16:28
jamtodaywhich is basically any kind of HTML or text16:28
jamtodaybut I wasn't sure what if anything would be implemented...now it's a very simple update message with a link16:28
SRabbelierjamtoday: a major request was for the 'there is an update' notifications to include enough information to decide whether or not action is needeed16:29
jamtodayAnd then that makes all of the security issues somewhat less pressing, since the updates don't contain any private information...other than the fact that something was updated16:29
jamtodayOkay that can be accomplished. But what that information is, I'm still not sure about16:30
SRabbelierjamtoday: ack16:30
SRabbelieragreed it makes security less pressing, :)16:30
jamtodayIt could be hard-coded for each entity type16:30
jamtodayI'll at least start by commenting and writing in the wiki exactly how this payload information can be added16:31
jamtodayor maybe posting...it would be useful to get feedback about what this information would consist of16:31
jamtodayBut the cost of clicking on a link does seem to be fairly low against the cost of a granular security implementation and the limits it would produce on things like exporting XML16:33
SRabbelierjamtoday: cost of clicking a link is high for some users16:33
SRabbelierjamtoday: not everybody has broadband ;)16:33
jamtodaySRabbelier: true16:34
*** SRabbelier has quit IRC18:08
*** Merio has quit IRC18:22
*** dhaun has quit IRC18:55
*** jamtoday1 has joined #melange19:39
*** jamtoday has quit IRC19:56
*** thrain42 has joined #melange21:11
*** ChanServ sets mode: +v thrain4221:11
*** durin42 has quit IRC21:25
*** durin42 has joined #melange22:10
*** ChanServ sets mode: +v durin4222:10
*** thrain42 has quit IRC22:25
*** ajaksu has quit IRC23:28

Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!