Monday, 2009-03-16

*** tpb has joined #melange00:00
*** ajaksu is now known as ajaksu_away00:20
*** dbentley-laptop has quit IRC00:42
*** dbentley-laptop has joined #melange00:51
*** dmitrig01|afk has joined #melange00:54
*** ChanServ sets mode: +v dmitrig01|afk00:54
*** dmitrig01 has quit IRC00:56
*** dmitrig01|afk has quit IRC01:22
*** wsfulton has quit IRC01:45
dbentley-laptopI think I had an idea for the 1000-items issue; but I'm not sure at all, and wanted to chat.01:54
lhdbentley-laptop: i suspect sverre is recovering from concert, lennie is in class, and pawel may not be awake yet.02:00
lhdbentley-laptop: have you added pawel to your gtalk yet? if he's not here he's usually available there02:00
*** tansell has joined #melange02:08
*** tansell has quit IRC02:38
*** SRabbelier has joined #melange03:49
*** ChanServ sets mode: +o SRabbelier03:49
*** lh has quit IRC03:52
*** lh has joined #melange03:52
*** penyaskito has joined #melange04:15
*** bhy has joined #melange04:17
*** haoyu has quit IRC04:37
*** penyaskito has quit IRC05:07
*** penyaskito has joined #melange05:07
*** haoyu has joined #melange05:16
*** krnl_ has quit IRC05:20
*** solydzajs has joined #melange05:20
*** ChanServ sets mode: +o solydzajs05:20
*** haoyu has quit IRC05:22
*** haoyu has joined #melange05:22
*** serphen`` has joined #melange05:22
*** bhy has quit IRC05:24
*** penyaskito_ has joined #melange05:33
*** penyaskito has quit IRC05:33
*** BarryCarlyon has quit IRC05:41
*** penyaskito_ has quit IRC05:53
*** penyaskito_ has joined #melange05:53
*** serphen`` has quit IRC06:28
*** mithro has quit IRC06:35
*** mithro has joined #melange06:41
*** ChanServ sets mode: +v mithro06:41
*** bhy has joined #melange07:10
*** haoyu has quit IRC07:16
*** solydzajs has quit IRC07:51
*** bcarlyon|laptop has joined #melange07:59
*** bcarlyon|laptop is now known as BarryCarlyon08:02
*** ajaksu_away is now known as ajaksu08:24
dbentley-laptop1) Is there a script now to do things like upload tons of data?08:26
SRabbelierdbentley-laptop: you mean like bulkupload from appengine?08:26
dbentley-laptopSo that I can have a melange instance with data.08:26
dbentley-laptopAnd play around with it?08:26
SRabbelierdbentley-laptop: seed_db :)08:26
dbentley-laptopIs that in the checkout?08:26
SRabbelierdbentley-laptop: if you're running locally, or set the app version to 'devvin'08:27
dbentley-laptop(sorry, I'm in a hotel room, and about to leave)08:27
SRabbelierdbentley-laptop: you can go to /seed_db08:27
dbentley-laptopOK; does the checkout come with data to seed with?08:27
SRabbelierdbentley-laptop: (that is, http://localhost:8080/seed_db or http://your-instance.appspot.com/seed_db)08:27
SRabbelierdbentley-laptop: it's hard-coded in the seed_db script08:27
dbentley-laptopOh, okay.  Interesting.08:27
dbentley-laptop2) The problem is that app engine can't fetch more than 1000 results for a query, right?08:28
SRabbelierdbentley-laptop: http://code.google.com/p/soc/source/browse/trunk/app/soc/models/seed_db.py08:28
tpb<http://ln-s.net/3194> (at code.google.com)08:28
SRabbelierdbentley-laptop: yup, it is08:28
dbentley-laptopAnd so to do pagination, we do a query like "selection * from table starting at 1001" fails.08:28
SRabbelierdbentley-laptop: correct08:28
dbentley-laptopBut if these are all queries in order, can't we do:08:28
SRabbelierdbentley-laptop: easily simulated by creating >1000 users with http://localhost:8080/seed_db?user_start=30&user_end=45&user_goal=150008:28
dbentley-laptop"select * from table sorted by name where name > $1"08:29
SRabbelierdbentley-laptop: yes, we can08:29
dbentley-laptopWhere $1 is the last name we're currently showing?08:29
dbentley-laptopOK, so, we already thought of this.  Cool.08:29
SRabbelierdbentley-laptop: but how do we do previous?08:29
dbentley-laptopHey, that's not a bad question...08:29
SRabbelierdbentley-laptop: atm we generate previous/next links atm by just adding/substracting offset08:29
dbentley-laptopCan't we have two indexes?08:30
SRabbelierdbentley-laptop: but I have no clue how to do that :P08:30
dbentley-laptopYeah.08:30
dbentley-laptopOK.08:30
dbentley-laptopI'll see when I can play around.08:30
SRabbelierdbentley-laptop: cool :)08:30
dbentley-laptopI'm on travel until Thursday.08:30
dbentley-laptopBut just had that thought on the train.08:30
* SRabbelier nods08:30
dbentley-laptopOK, off to work.08:30
SRabbelierdbentley-laptop: ok! :)08:30
SRabbelierdbentley-laptop: ttys08:30
*** ajaksu is now known as ajaksu_away08:49
*** madrazr has joined #melange08:57
*** dbentley-laptop has quit IRC09:03
*** dbentley-laptop has joined #melange09:15
*** solydzajs has joined #melange10:22
*** ChanServ sets mode: +o solydzajs10:22
*** dbentley-lapto1 has joined #melange10:58
*** dbentley-laptop has quit IRC11:11
*** mithro has quit IRC11:19
*** solydzajs has quit IRC11:56
*** ajaksu_away is now known as ajaksu12:09
*** Lennie has joined #melange12:27
*** ChanServ sets mode: +o Lennie12:27
Lenniehi12:28
*** madrazr has left #melange12:30
*** ajaksu is now known as ajaksu_away13:06
*** solydzajs has joined #melange13:17
*** ChanServ sets mode: +o solydzajs13:17
Lenniehi Pawel13:18
durin42solydzajs: can you do http://code.google.com/p/soc/issues/detail?id=48 and then let me know when it's ready to verify it'll work on buildbot?13:26
tpb<http://ln-s.net/31Aq> (at code.google.com)13:26
solydzajsdurin42: we already have pylint in place I just need to add proper pylintrc so it's not so verbose13:28
durin42solydzajs: how would I run pylint?13:29
durin42I'm willing to say I need to install things in the melange PYTHONPATH but I'm not sure what those are going to be offhand13:29
durin42Once I get that set up I think I'm going to get emails working13:29
solydzajsdurin42: right now what I'm using is in /scripts/pylint13:30
solydzajsdurin42: have a look there13:31
solydzajsdurin42: there is this little do_pylint script13:31
*** MatthewWilkes has joined #melange13:46
solydzajsdurin42: are the post commit hooks working already ?13:52
durin42solydzajs: no, I wasn't even going to look at that until I had everything else setup13:58
durin42polling is sufficient for now13:58
*** penyaskito_ has quit IRC14:02
*** Lennie is now known as Lennie|Food14:11
*** dbentley-lapto1 has quit IRC14:32
*** James--Crook has joined #melange14:37
James--Crookdbentley:  The 1000 results problem + backing up to a previous table.  How about using ORDER BY name DESC?  Then reverse the order in python code?  (saw discussion earlier today).14:44
*** dhaun has joined #melange14:45
* MatthewWilkes cheers the csv export function15:01
*** penyaskito has joined #melange15:03
*** Lennie|Food is now known as Lennie15:05
*** Merio has joined #melange15:38
*** James--Crook has left #melange16:16
*** balzac has joined #melange16:28
*** balzac has left #melange16:29
lhsolydzajs: suggestion: please ask mentors to start posting their melange related questions to melange-soc - melange is not gsoc alone. posting to public list means we act like a real open source project and may be helpful for others later.16:29
solydzajslh: ok will do thx :-) that's a good idea we shouldn't spam mentors list16:30
lhsolydzajs: just a thought. :)16:30
lhnot so worried about spam, just want us to have good project communication hygiene16:30
solydzajslh: done :-)16:32
solydzajslh: email sent :-)16:32
lhsolydzajs: awesome. :)16:32
dandersonspeaking of spam, the issue updates thing sure is spammy16:32
* lh will help stay on top of melange-soc and ask folks to file things in the issue tracker16:32
solydzajslh: I'm giving Dan access to /p/soc as project member right now :-)16:32
lhsolydzajs: have the other committers agreed? I mean it is finally your call of course, but i want to make sure there's consensus16:33
* danderson is +1, based on Dan's code review and the code he provided16:33
solydzajslh: yes and this is our Google support :-)16:34
lhsolydzajs: good enough for me.16:34
dandersonplus, he checks out according to the two laws of Subversion committers: (1) Appears to have a clue and (2) Follows the hippocratic principle and First Does No Harm16:34
lhwe need to give dbentley ops in channel then too16:34
lhdanderson: agreed. on both.16:34
lhplus i like dan and think well of him. known him for a long time and very happy we have him on the team.16:35
dandersondo I have amazing superpowers on this chan?16:35
lhyou does16:35
dandersonjust need to figure out the right runic invocation to summon a +2 spirit of Operator16:36
dandersondbentley: you'll need to register your nickname with Nickserv16:38
dandersonotherwise I cannot grant amazing superpowers16:38
* lh applauds amazing superpowers16:38
danderson(yes, my spirit invocation failed. But I did manage to summon some ice tea)16:38
lhi think mystical powers of iced tea summoning are much more cool.16:41
*** ajaksu_away is now known as ajaksu17:07
*** MatthewWilkes has quit IRC17:16
*** Lennie has quit IRC17:29
*** WinterMute has quit IRC17:40
*** MatthewWilkes has joined #melange17:40
*** dhaun has quit IRC18:14
*** solydzajs has quit IRC18:24
*** Merio1 has joined #melange18:32
*** Merio has quit IRC18:41
*** Merio1 has quit IRC18:51
*** Merio has joined #melange18:52
*** mithro has joined #melange20:16
*** ChanServ sets mode: +v mithro20:16
*** SRabbelier has quit IRC20:22
*** Merio has quit IRC20:24
*** lh has quit IRC21:04
*** lh has joined #melange21:04
*** lh has joined #melange21:05
*** ChanServ sets mode: +o lh21:05
*** mithro has quit IRC21:47
*** MatthewWilkes has quit IRC22:25
*** durin42 has quit IRC23:37
*** durin42 has joined #melange23:38
*** irc.freenode.net sets mode: +v durin4223:38
*** sandy|lurk has quit IRC23:49
*** lh has quit IRC23:49
*** lisppaste9 has quit IRC23:49
*** aleb has quit IRC23:49
*** BarryCarlyon has quit IRC23:49
*** r0bby has quit IRC23:49
*** ajaksu has quit IRC23:49
*** kblin has quit IRC23:49
*** Sledge has quit IRC23:49
*** scorche has quit IRC23:49
*** penyaskito has quit IRC23:49
*** danderson has quit IRC23:49
*** summatusmentis has quit IRC23:49
*** veelck has quit IRC23:49
*** bhy has quit IRC23:49
*** durin42 has quit IRC23:49
*** dbentley has quit IRC23:49
*** schultmc has quit IRC23:49
*** icy has quit IRC23:49
*** uriel has quit IRC23:49
*** Jeff_S has quit IRC23:49
*** lh has joined #melange23:51
*** penyaskito has joined #melange23:51
*** BarryCarlyon has joined #melange23:51
*** bhy has joined #melange23:51
*** r0bby has joined #melange23:51
*** ajaksu has joined #melange23:51
*** schultmc has joined #melange23:51
*** Sledge has joined #melange23:51
*** sandy|lurk has joined #melange23:51
*** dbentley has joined #melange23:51
*** lisppaste9 has joined #melange23:51
*** icy has joined #melange23:51
*** kblin has joined #melange23:51
*** danderson has joined #melange23:51
*** aleb has joined #melange23:51
*** scorche has joined #melange23:51
*** summatusmentis has joined #melange23:51
*** uriel has joined #melange23:51
*** veelck has joined #melange23:51
*** Jeff_S has joined #melange23:51
*** irc.freenode.net sets mode: +oo lh danderson23:51
*** durin42 has joined #melange23:51
*** irc.freenode.net sets mode: +v durin4223:51

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