*** tpb has joined #melange | 00:00 | |
*** nuba has quit IRC | 00:34 | |
*** nuba has joined #melange | 00:34 | |
*** arvind_khadri has joined #melange | 02:31 | |
*** dhaun has joined #melange | 04:14 | |
*** arvind_khadri has quit IRC | 04:43 | |
*** Merio has joined #melange | 04:45 | |
*** ChanServ sets mode: +v Merio | 04:45 | |
*** arvind_khadri has joined #melange | 04:51 | |
*** madrazr has joined #melange | 04:56 | |
*** ChanServ sets mode: +v madrazr | 04:56 | |
*** MatthewWilkes has joined #melange | 05:13 | |
*** madrazr has quit IRC | 05:34 | |
*** dhaun1 has joined #melange | 06:11 | |
*** dhaun has quit IRC | 06:27 | |
*** dhaun1 is now known as dhaun | 06:33 | |
*** lisppaste9 has quit IRC | 08:29 | |
*** lisppaste9 has joined #melange | 08:29 | |
*** tansell_laptop has joined #melange | 09:00 | |
*** tansell_laptop has quit IRC | 09:44 | |
*** madrazr has joined #melange | 10:21 | |
*** ChanServ sets mode: +v madrazr | 10:21 | |
*** MatthewWilkes has quit IRC | 11:22 | |
*** MatthewWilkes has joined #melange | 11:32 | |
*** madrazr has quit IRC | 11:38 | |
*** madrazr has joined #melange | 11:42 | |
*** ChanServ sets mode: +v madrazr | 11:42 | |
Merio | madrazr: seems that all works, going to commit it :) | 13:35 |
---|---|---|
madrazr | awesome cool! | 13:35 |
madrazr | Merio: go ahead | 13:35 |
*** MatthewWilkes has quit IRC | 13:42 | |
Merio | madrazr: done | 13:44 |
madrazr | Merio: sooper | 13:44 |
madrazr | Merio: hope no one screams now :D | 13:44 |
Merio | madrazr: I hope too :D | 13:44 |
Merio | Sending something to mailing list :) | 13:45 |
madrazr | Merio: Oh sooper | 13:45 |
madrazr | so people can check | 13:45 |
Merio | madrazr: sent ^_^ | 13:57 |
madrazr | Merio: Ok :D | 13:57 |
*** arvind_khadri has quit IRC | 15:47 | |
*** Merio2 has joined #melange | 16:02 | |
*** Merio1 has joined #melange | 16:02 | |
*** Merio has quit IRC | 16:17 | |
*** madrazr has quit IRC | 18:51 | |
*** dhaun has quit IRC | 18:56 | |
*** SRabbelier1 has joined #melange | 19:00 | |
*** jamtoday has joined #melange | 19:03 | |
SRabbelier1 | jamtoday: heya | 19:04 |
jamtoday | SRabbelier1: hey | 19:04 |
*** SRabbelier has quit IRC | 19:04 | |
*** SRabbelier1 is now known as SRabbelier | 19:04 | |
*** SRabbelie1 has joined #melange | 19:05 | |
*** ChanServ sets mode: +o SRabbelier | 19:05 | |
SRabbelier | there | 19:05 |
*** Lennie has joined #melange | 19:05 | |
*** ChanServ sets mode: +o Lennie | 19:05 | |
SRabbelier | Lennie: please voice your concerns :) | 19:05 |
jamtoday | Lennie: hello | 19:06 |
Lennie | you two continue ^^ | 19:07 |
Lennie | Blame my jetlag, I'm not gonna type up some half-baked story here :) | 19:07 |
SRabbelier | Lennie: pfff, ok :P | 19:08 |
SRabbelier | jamtoday: in that case | 19:08 |
SRabbelier | jamtoday: how do you feel about the Newsfeed code? | 19:08 |
jamtoday | SRabbelier: I'm not very satisfied...it does what it does, but that's not very much | 19:09 |
SRabbelier | jamtoday: what would you have rather seen then? | 19:10 |
Lennie | I do have one thing to say ^^ | 19:10 |
Lennie | could you make sure you demo instance is up to date and working? I would really like to give it another spin | 19:10 |
Lennie | I can't create a user profile atm | 19:10 |
jamtoday | Lennie: The logs show a VariableDoesNotExist Error because somehow you entered HTML for a user property | 19:13 |
jamtoday | I'll erase your entity record, and it should work fine to create a new one from scratch | 19:13 |
Lennie | html for user property? | 19:14 |
Lennie | how did I do that? | 19:14 |
Lennie | I never even saw the create a profile page :D | 19:14 |
Lennie | anyhow you guys cotinue | 19:14 |
jamtoday | It's a schema migration issue, but an important one since a migration script will be needed for production | 19:15 |
jamtoday | I thought that App Engine automagically handled new properties, but this issue stems from the Dynaform handler | 19:15 |
Lennie | hmm | 19:16 |
Lennie | there is no dyna form on that page | 19:16 |
Lennie | atleast not the rendered one anyway | 19:17 |
Lennie | sverre wants me to ask questions | 19:17 |
Lennie | what has changed to the user model? | 19:17 |
Lennie | *Sverre wants me to ask questions if I have them | 19:17 |
Lennie | ^^ | 19:17 |
SRabbelier | Lennie: of course I do :) | 19:20 |
jamtoday | Nothing has changed with the user model, but there is now a Subscriber model | 19:20 |
jamtoday | in order to update the users, an onUpdate() must be called for each user | 19:21 |
Lennie | so wich schema migration are we talking about then? | 19:22 |
jamtoday | Lennie: I see that you already have a Subscriber entity....as you should. I'll have to figure out why you're still getting the error | 19:23 |
jamtoday | SRabbelier: Does http://jamstage.appspot.com/user/edit_profile load for you? | 19:23 |
tpb | Title: Sign In Required (at jamstage.appspot.com) | 19:23 |
jamtoday | (after sign-in) | 19:24 |
Lennie | just send me a mail when your instance is ready for another demo run | 19:24 |
Lennie | since apparently I can't get in now | 19:24 |
jamtoday | Lennie: okay | 19:24 |
Lennie | I don't even have an account atm :p | 19:24 |
SRabbelier | jamtoday: sure, works fine | 19:24 |
SRabbelier | jamtoday: I can save too | 19:24 |
jamtoday | And you see a email subscription checkbox? | 19:24 |
SRabbelier | jamtoday: sure | 19:28 |
SRabbelier | jamtoday: checked by default too | 19:28 |
Lennie | (which shouldn't be) | 19:28 |
Lennie | at least if I'm reading what it does right ^^ | 19:28 |
jamtoday | Lennie: Users should not have email subscriptions by default? | 19:29 |
jamtoday | It's a universal toggle | 19:29 |
jamtoday | It doesn't actually subscribe them to any entities, it's just an override | 19:29 |
Lennie | I'll shut up untill I have seen it in action again | 19:30 |
SRabbelier | jamtoday: hmm, but isn't it policy for email notifications to be opt-in, rather than opt-out? | 19:30 |
jamtoday | SRabbelier: 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 pattern | 19:31 |
SRabbelier | jamtoday: anyway, you never answered my question :D | 19:31 |
SRabbelier | jamtoday: what would you have rather seen then? | 19:31 |
jamtoday | SRabbelier: The newsfeed does successfully do what I outlined in the proposal, but I was hoping for more feedback regarding feature requests, etc. | 19:32 |
SRabbelier | jamtoday: hmmm, ok, I understand what you mean, I had the exact same thing during my GSoC | 19:34 |
jamtoday | With 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 class | 19:34 |
jamtoday | But the subscribe-by-star allows for manual subscriptions regardless of whether subscriptions can be automatically compiled | 19:35 |
SRabbelier | jamtoday: 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 do | 19:35 |
SRabbelier | jamtoday: I think that would be a very good thing | 19:35 |
SRabbelier | jamtoday: and make it a lot more likely to be integrated, if it doesn't require a change in ~every (logic) class I mean | 19:36 |
jamtoday | SRabbelier: 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 logic | 19:37 |
SRabbelier | jamtoday: what are your plans for after gsoc? | 19:37 |
jamtoday | SRabbelier: Good question. A friend is attempting to recruit me for a startup, but I'm open to any work that I find stimulating | 19:39 |
jamtoday | SRabbelier: My background is working in newsrooms, so I imagine something in the arena of news or journalism | 19:40 |
jamtoday | (on the programming side, of course) | 19:40 |
SRabbelier | jamtoday: ah, yes; what kind of startup? | 19:40 |
jamtoday | personal 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 experience | 19:41 |
jamtoday | Also very interested in real-time web, push-button web, whatever you care to call it | 19:43 |
SRabbelier | jamtoday: I read about the pushbutton thing | 19:44 |
SRabbelier | jamtoday: related to pubsubhubub isn't it? | 19:44 |
jamtoday | SRabbelier: 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/HubbubAtGoogle | 19:45 |
tpb | <http://ln-s.net/3qUe> (at code.google.com) | 19:45 |
SRabbelier | jamtoday: hehe :D | 19:45 |
jamtoday | But I'm waiting until I don't have any more important work left | 19:45 |
SRabbelier | jamtoday: ok | 19:46 |
SRabbelier | jamtoday: a few things wrt your code and the last week | 19:46 |
SRabbelier | jamtoday: I'll discuss with Lennard our plans wrt integrating it when he's a little more sentient | 19:46 |
Lennie | thank you ^^ | 19:47 |
SRabbelier | jamtoday: do you mind working on documentation/code fixups during the last week? | 19:47 |
jamtoday | of course not :) | 19:47 |
jamtoday | And testing using the MockRequest, I'm actually working on this right now | 19:49 |
SRabbelier | jamtoday: ah, yes, tests would be very good :) | 19:49 |
jamtoday | Lennie's error scared me that I might have let a bug slip through the cracks | 19:49 |
SRabbelier | jamtoday: especially access related | 19:49 |
jamtoday | SRabbelier: agreed | 19:49 |
SRabbelier | jamtoday: (to make sure you can't see a feed item you're not supposed to, etc) | 19:50 |
Lennie | yeah I noticed that http://jamstage.appspot.com/program/show/google/gsoc2009 shows info about a document I can't read | 19:50 |
tpb | <http://ln-s.net/3qUm> (at jamstage.appspot.com) | 19:50 |
jamtoday | Lennie: 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 reimplement | 19:51 |
jamtoday | The ATOM feed has the same issue, since it does not do an access check, but shows title and link for update entities | 19:52 |
jamtoday | If I could show either the short name or linkid without an access check, then those could also be used | 19:53 |
jamtoday | If 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 instance | 19:55 |
SRabbelier | jamtoday: mhh, tough questions | 19:57 |
Lennie | I thought these issues were raised before | 19:57 |
SRabbelier | Lennie: were they resolved though? ;) | 19:58 |
Lennie | apparently not :)? | 19:59 |
jamtoday | I thought that there was an agreement on it being alright to show the name/title of the entity, but this can very easily be changed | 20:05 |
jamtoday | Or a compromise would be to show a very truncated version.....I'll add this to the wiki | 20:06 |
jamtoday | This can just be changed by editing the template | 20:06 |
SRabbelier | jamtoday: that's what I seem to remember as well | 20:09 |
SRabbelier | jamtoday: that it was ok for the GSoC site to show that information | 20:10 |
jamtoday | SRabbelier: 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 committing | 20:15 |
SRabbelier | jamtoday: that'll make demo-ing easier :) | 20:15 |
jamtoday | User updates don't enter the feed, so this won't be an issue | 20:15 |
Lennie | hehe | 20:15 |
Lennie | jamtoday: the outside is not all that needs to look good before it can be committed ^^ | 20:16 |
Lennie | but it sure helps :D | 20:16 |
jamtoday | Lennie and SRabbelier: agreed, I'm going over all the logic/view code, please comment on my last submitted patch if you have any additional feedback | 20:18 |
SRabbelier | jamtoday: aye | 20:19 |
Lennie | make sure you use the logic code where appropriate :) | 20:19 |
Lennie | there should be limited query juggling afaik | 20:19 |
SRabbelier | logic.getForFields is really all you need | 20:21 |
SRabbelier | and if it's not it should be :) | 20:21 |
Lennie | hmm | 20:21 |
Lennie | ^_^ | 20:21 |
Lennie | there are some situations ^^ | 20:21 |
Lennie | but it's getting less | 20:22 |
Lennie | thanks to daniel hans :D | 20:22 |
Lennie | although I still envision another solution when batch putting ^^ | 20:22 |
SRabbelier | Lennie: what's that? | 20:23 |
Lennie | what's what? | 20:23 |
Lennie | updateEntityPropeties(store=False) | 20:23 |
Lennie | something like that | 20:23 |
Lennie | anyhow | 20:24 |
Lennie | ttyl | 20:24 |
*** Lennie has quit IRC | 20:24 | |
SRabbelier | lol, I meant, what's that vision he had :P | 20:28 |
jamtoday | SRabbelier: I think he meant if you want to update an entity but not save it (yet) the existing logic methods wouldn't be much help | 20:31 |
jamtoday | Not sure actualy | 20:31 |
SRabbelier | jamtoday: yes, that is what Daniel has done | 20:31 |
SRabbelier | jamtoday: he made it possible to update the entity without saving | 20:31 |
SRabbelier | jamtoday: for use with the statistics frmaework | 20:31 |
jamtoday | Can't you just do entity.property = value? | 20:32 |
jamtoday | or setattr(), for an arbitrary property | 20:32 |
SRabbelier | jamtoday: yes, you can | 20:39 |
SRabbelier | jamtoday: which is what updateEntityProperties does anyway | 20:39 |
SRabbelier | jamtoday: it's good to be able to use a consistent interface | 20:40 |
jamtoday | for hooks, etc...I've been picking this up from Melange. I've had the bad habit of using low-level interfaces | 20:42 |
jamtoday | I'll keep an eye out for ways to use basic methods when going over the newsfeed code again | 20:42 |
jamtoday | basic == base | 20:42 |
SRabbelier | jamtoday: thanks :) | 20:54 |
SRabbelier | jamtoday: I'm off, will let you know more as soon as I've talked to a concious Lennard ;) | 20:55 |
*** SRabbelier has quit IRC | 20:56 | |
*** mithro has quit IRC | 22:26 | |
*** mithro has joined #melange | 23:03 | |
*** ChanServ sets mode: +v mithro | 23:03 | |
*** jamtoday has quit IRC | 23:21 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!