Saturday, 2009-08-08

*** tpb has joined #melange00:00
*** nuba has quit IRC00:34
*** nuba has joined #melange00:34
*** arvind_khadri has joined #melange02:31
*** dhaun has joined #melange04:14
*** arvind_khadri has quit IRC04:43
*** Merio has joined #melange04:45
*** ChanServ sets mode: +v Merio04:45
*** arvind_khadri has joined #melange04:51
*** madrazr has joined #melange04:56
*** ChanServ sets mode: +v madrazr04:56
*** MatthewWilkes has joined #melange05:13
*** madrazr has quit IRC05:34
*** dhaun1 has joined #melange06:11
*** dhaun has quit IRC06:27
*** dhaun1 is now known as dhaun06:33
*** lisppaste9 has quit IRC08:29
*** lisppaste9 has joined #melange08:29
*** tansell_laptop has joined #melange09:00
*** tansell_laptop has quit IRC09:44
*** madrazr has joined #melange10:21
*** ChanServ sets mode: +v madrazr10:21
*** MatthewWilkes has quit IRC11:22
*** MatthewWilkes has joined #melange11:32
*** madrazr has quit IRC11:38
*** madrazr has joined #melange11:42
*** ChanServ sets mode: +v madrazr11:42
Meriomadrazr: seems that all works, going to commit it :)13:35
madrazrawesome cool!13:35
madrazrMerio: go ahead13:35
*** MatthewWilkes has quit IRC13:42
Meriomadrazr: done13:44
madrazrMerio: sooper13:44
madrazrMerio: hope no one screams now :D13:44
Meriomadrazr: I hope too :D13:44
MerioSending something to mailing list :)13:45
madrazrMerio: Oh sooper13:45
madrazrso people can check13:45
Meriomadrazr: sent ^_^13:57
madrazrMerio: Ok :D13:57
*** arvind_khadri has quit IRC15:47
*** Merio2 has joined #melange16:02
*** Merio1 has joined #melange16:02
*** Merio has quit IRC16:17
*** madrazr has quit IRC18:51
*** dhaun has quit IRC18:56
*** SRabbelier1 has joined #melange19:00
*** jamtoday has joined #melange19:03
SRabbelier1jamtoday: heya19:04
jamtodaySRabbelier1: hey19:04
*** SRabbelier has quit IRC19:04
*** SRabbelier1 is now known as SRabbelier19:04
*** SRabbelie1 has joined #melange19:05
*** ChanServ sets mode: +o SRabbelier19:05
SRabbelierthere19:05
*** Lennie has joined #melange19:05
*** ChanServ sets mode: +o Lennie19:05
SRabbelierLennie: please voice your concerns :)19:05
jamtodayLennie: hello19:06
Lennieyou two continue ^^19:07
LennieBlame my jetlag, I'm not gonna type up some half-baked story here :)19:07
SRabbelierLennie: pfff, ok :P19:08
SRabbelierjamtoday: in that case19:08
SRabbelierjamtoday: how do you feel about the Newsfeed code?19:08
jamtodaySRabbelier: I'm not very satisfied...it does what it does, but that's not very much19:09
SRabbelierjamtoday: what would you have rather seen then?19:10
LennieI do have one thing to say ^^19:10
Lenniecould you make sure you demo instance is up to date and working? I would really like to give it another spin19:10
LennieI can't create a user profile atm19:10
jamtodayLennie: The logs show a VariableDoesNotExist Error because somehow you entered HTML for a user property19:13
jamtodayI'll erase your entity record, and it should work fine to create a new one from scratch19:13
Lenniehtml for user property?19:14
Lenniehow did I do that?19:14
LennieI never even saw the create a profile page :D19:14
Lennieanyhow you guys cotinue19:14
jamtodayIt's a schema migration issue, but an important one since a migration script will be needed for production19:15
jamtodayI thought that App Engine automagically handled new properties, but this issue stems from the Dynaform handler19:15
Lenniehmm19:16
Lenniethere is no dyna form on that page19:16
Lennieatleast not the rendered one anyway19:17
Lenniesverre wants me to ask questions19:17
Lenniewhat has changed to the user model?19:17
Lennie*Sverre wants me to ask questions if I have them19:17
Lennie^^19:17
SRabbelierLennie: of course I do :)19:20
jamtodayNothing has changed with the user model, but there is now a Subscriber model19:20
jamtodayin order to update the users, an onUpdate() must be called for each user19:21
Lennieso wich schema migration are we talking about then?19:22
jamtodayLennie: I see that you already have a Subscriber entity....as you should. I'll have to figure out why you're still getting the error19:23
jamtodaySRabbelier: Does http://jamstage.appspot.com/user/edit_profile load for you?19:23
tpbTitle: Sign In Required (at jamstage.appspot.com)19:23
jamtoday(after sign-in)19:24
Lenniejust send me a mail when your instance is ready for another demo run19:24
Lenniesince apparently I can't get in now19:24
jamtodayLennie: okay19:24
LennieI don't even have an account atm :p19:24
SRabbelierjamtoday: sure, works fine19:24
SRabbelierjamtoday: I can save too19:24
jamtodayAnd you see a email subscription checkbox?19:24
SRabbelierjamtoday: sure19:28
SRabbelierjamtoday: checked by default too19:28
Lennie(which shouldn't be)19:28
Lennieat least if I'm reading what it does right ^^19:28
jamtodayLennie: Users should not have email subscriptions by default?19:29
jamtodayIt's a universal toggle19:29
jamtodayIt doesn't actually subscribe them to any entities, it's just an override19:29
LennieI'll shut up untill I have seen it in action again19:30
SRabbelierjamtoday: hmm, but isn't it policy for email notifications to be opt-in, rather than opt-out?19:30
jamtodaySRabbelier: The use-case would be that someone decides that they don't want any update emails, and for more granularity they can use the subscribe-by-star pattern19:31
SRabbelierjamtoday: anyway, you never answered my question :D19:31
SRabbelierjamtoday: what would you have rather seen then?19:31
jamtodaySRabbelier: The newsfeed does successfully do what I outlined in the proposal, but I was hoping for more feedback regarding feature requests, etc.19:32
SRabbelierjamtoday: hmmm, ok, I understand what you mean, I had the exact same thing during my GSoC19:34
jamtodayWith the new 1.2.4 Polymodel inheritance changes, I'm investigating whether I can implement the abstracted subscription logic as well, so that each entity kind will not need a subscription logic class19:34
jamtodayBut the subscribe-by-star allows for manual subscriptions regardless of whether subscriptions can be automatically compiled19:35
SRabbelierjamtoday: what I've learned is that the best way to make sure you have a satisfying gsoc is to make sure that what you set out to do is satisfying, and not rely on other people to tell you what to do19:35
SRabbelierjamtoday: I think that would be a very good thing19:35
SRabbelierjamtoday: and make it a lot more likely to be integrated, if it doesn't require a change in ~every (logic) class I mean19:36
jamtodaySRabbelier: agreed. Because there's already lots of changes in lots of places required for the newsfeed, it would probably be best to push the first working version before implementing auto-subscribe logic19:37
SRabbelierjamtoday: what are your plans for after gsoc?19:37
jamtodaySRabbelier: Good question. A friend is attempting to recruit me for a startup, but I'm open to any work that I find stimulating19:39
jamtodaySRabbelier: My background is working in newsrooms, so I imagine something in the arena of news or journalism19:40
jamtoday(on the programming side, of course)19:40
SRabbelierjamtoday: ah, yes; what kind of startup?19:40
jamtodaypersonal health iPhone apps. I don't know or care to learn Objective C....I'm growing fond of Django, in part thanks to my gsoc experience19:41
jamtodayAlso very interested in real-time web, push-button web, whatever you care to call it19:43
SRabbelierjamtoday: I read about the pushbutton thing19:44
SRabbelierjamtoday: related to pubsubhubub isn't it?19:44
jamtodaySRabbelier: Yes. I'm still planning on doing an implementation for the Melange Newsfeed, so it can be added to this page - http://code.google.com/p/pubsubhubbub/wiki/HubbubAtGoogle19:45
tpb<http://ln-s.net/3qUe> (at code.google.com)19:45
SRabbelierjamtoday: hehe :D19:45
jamtodayBut I'm waiting until I don't have any more important work left19:45
SRabbelierjamtoday: ok19:46
SRabbelierjamtoday: a few things wrt your code and the last week19:46
SRabbelierjamtoday: I'll discuss with Lennard our plans wrt integrating it when he's a little more sentient19:46
Lenniethank you ^^19:47
SRabbelierjamtoday: do you mind working on documentation/code fixups during the last week?19:47
jamtodayof course not :)19:47
jamtodayAnd testing using the MockRequest, I'm actually working on this right now19:49
SRabbelierjamtoday: ah, yes, tests would be very good :)19:49
jamtodayLennie's error scared me that I might have let a bug slip through the cracks19:49
SRabbelierjamtoday: especially access related19:49
jamtodaySRabbelier: agreed19:49
SRabbelierjamtoday: (to make sure you can't see a feed item you're not supposed to, etc)19:50
Lennieyeah I noticed that http://jamstage.appspot.com/program/show/google/gsoc2009 shows info about a document I can't read19:50
tpb<http://ln-s.net/3qUm> (at jamstage.appspot.com)19:50
jamtodayLennie: The recent updates is cached for all users, so if we cannot show a title + link of an entity beyond its access, then I'll need to reimplement19:51
jamtodayThe ATOM feed has the same issue, since it does not do an access check, but shows title and link for update entities19:52
jamtodayIf I could show either the short name or linkid without an access check, then those could also be used19:53
jamtodayIf we need to be very strict about access, then the name of the entity kind will have to suffice for the public feed. "A survey was created by james", for instance19:55
SRabbelierjamtoday: mhh, tough questions19:57
LennieI thought these issues were raised before19:57
SRabbelierLennie: were they resolved though? ;)19:58
Lennieapparently not :)?19:59
jamtodayI thought that there was an agreement on it being alright to show the name/title of the entity, but this can very easily be changed20:05
jamtodayOr a compromise would be to show a very truncated version.....I'll add this to the wiki20:06
jamtodayThis can just be changed by editing the template20:06
SRabbelierjamtoday: that's what I seem to remember as well20:09
SRabbelierjamtoday: that it was ok for the GSoC site to show that information20:10
jamtodaySRabbelier: I'll fill my staging server with updates for each potential kind of update shown (program, org, document, survey, group, etc.) so that it can be approved before committing20:15
SRabbelierjamtoday: that'll make demo-ing easier :)20:15
jamtodayUser updates don't enter the feed, so this won't be an issue20:15
Lenniehehe20:15
Lenniejamtoday: the outside is not all that needs to look good before it can be committed ^^20:16
Lenniebut it sure helps :D20:16
jamtodayLennie and SRabbelier: agreed, I'm going over all the logic/view code, please comment on my last submitted patch if you have any additional feedback20:18
SRabbelierjamtoday: aye20:19
Lenniemake sure you use the logic code where appropriate :)20:19
Lenniethere should be limited query juggling afaik20:19
SRabbelierlogic.getForFields is really all you need20:21
SRabbelierand if it's not it should be :)20:21
Lenniehmm20:21
Lennie^_^20:21
Lenniethere are some situations ^^20:21
Lenniebut it's getting less20:22
Lenniethanks to daniel hans :D20:22
Lenniealthough I still envision another solution when batch putting ^^20:22
SRabbelierLennie: what's that?20:23
Lenniewhat's what?20:23
LennieupdateEntityPropeties(store=False)20:23
Lenniesomething like that20:23
Lennieanyhow20:24
Lenniettyl20:24
*** Lennie has quit IRC20:24
SRabbelierlol, I meant, what's that vision he had :P20:28
jamtodaySRabbelier: I think he meant if you want to update an entity but not save it (yet) the existing logic methods wouldn't be much help20:31
jamtodayNot sure actualy20:31
SRabbelierjamtoday: yes, that is what Daniel has done20:31
SRabbelierjamtoday: he made it possible to update the entity without saving20:31
SRabbelierjamtoday: for use with the statistics frmaework20:31
jamtodayCan't you just do entity.property = value?20:32
jamtodayor setattr(), for an arbitrary property20:32
SRabbelierjamtoday: yes, you can20:39
SRabbelierjamtoday: which is what updateEntityProperties does anyway20:39
SRabbelierjamtoday: it's good to be able to use a consistent interface20:40
jamtodayfor hooks, etc...I've been picking this up from Melange. I've had the bad habit of using low-level interfaces20:42
jamtodayI'll keep an eye out for ways to use basic methods when going over the newsfeed code again20:42
jamtodaybasic == base20:42
SRabbelierjamtoday: thanks :)20:54
SRabbelierjamtoday: I'm off, will let you know more as soon as I've talked to a concious Lennard ;)20:55
*** SRabbelier has quit IRC20:56
*** mithro has quit IRC22:26
*** mithro has joined #melange23:03
*** ChanServ sets mode: +v mithro23:03
*** jamtoday has quit IRC23:21

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!