Monday, 2014-03-24

*** tpb has joined #melange00:00
jasvirmadrazr: So now what should be the next step? Start discussion on mailing list?00:01
jasvirmadrazr: Or start updating?00:01
*** bitgeeky has quit IRC00:04
madrazrjasvir: you can just update it00:06
madrazrand see if it builds correctly00:07
madrazrvisit pages that renders the tinyMCE widget00:07
madrazrand see if it works Ok00:07
madrazrby manually testing it00:07
madrazrif it works00:07
madrazrthen send it for review00:07
madrazrjasvir: I don't think we need to have a discussion for this on the mailing list00:07
jasvirmadrazr: Ok. I'll do it.00:08
madrazrif we are changing the text editor itself00:08
madrazrthen that needs a discussion00:08
madrazrversion upgrade00:08
madrazrwe should just try it and show it that we have already done it00:08
*** asmeurer has quit IRC00:08
madrazrjasvir: ^00:08
madrazrjasvir: awesome!00:08
jasvirmadrazr: for what?00:09
jasvirmadrazr: We all working on open source. So thanks is not required at all. You can say "good" when I'll complete updation :D. That'll increase my confidence too :)00:11
madrazrjasvir: Ok give back my thanks now ;-)00:11
madrazrjasvir: it is Ok to say thanks when you have even committed to do something00:12
jasvirmadrazr: I'll give it back with patch for updation ;)00:12
madrazrI think we should be grateful for even jumping right into make changes happen too00:13
madrazrjasvir: tinyMCE update is something that we have been pushing from a long time00:13
madrazrand has not happened yet00:13
jasvirmadrazr: It'll also put a zipper on lips of my friends who were keep on commenting on editor while submitting proposals :P00:15
*** suranga_ has quit IRC00:15
madrazrjasvir: ha ha indeed00:15
madrazrand then you can brag that you made their lives better (for next year :P)00:15
jasvirmadrazr: yeah :D00:16
madrazrjasvir: whoa!00:17
madrazrI am looking at this thing called redactor00:17
madrazrlooks pretty neat00:17
madrazrwhen we evaluate (if at all we have to) alternatives for text editing00:18
madrazrwe should consider redactor too00:18
*** tanuj has quit IRC00:21
jasvirmadrazr: Sure. We can put it into scene if we evaluate alternatives.00:22
jasvirmadrazr: But00:22
jasvirmadrazr: You mean this
tpbTitle: Redactor WYSIWYG html editor (at
madrazrjasvir: yeah00:23
jasvirmadrazr: What is this, a 'buy' button?00:23
tpbTitle: Buy a license (at
jasvirmadrazr: Licence00:26
tpbTitle: Creative Commons Attribution-NonCommercial 3.0 Unported CC BY-NC 3.0 (at
madrazrjasvir: I know00:27
madrazrwhich is why I suggested it even, in the first place00:27
madrazralso it is open source00:27
tpbTitle: redactor-js/ at master · dybskiy/redactor-js · GitHub (at
madrazrjasvir: ^00:27
jasvirmadrazr: I thought that we should go for FOSS.00:28
madrazrjasvir: read above00:28
madrazrit is open source00:28
jasvirmadrazr: Yeah. I know.00:28
jasvirmadrazr: But not FOSS.00:28
madrazrthen what are you thinking?00:28
madrazrjasvir: wait, what?00:28
madrazrwhat does that mean?00:28
jasvirmadrazr: Free and Open Source Software.00:29
madrazrjasvir: heh00:29
madrazrthen why is this not FOSS?00:29
jasvirmadrazr: They said "NonCommercial — You may not use the material for commercial purposes. "00:29
madrazrjasvir: so?00:29
jasvirmadrazr: What does that mean?00:29
madrazrjasvir: that means it is dual-licensed00:30
madrazrjasvir: for non commercial versions you can use the FOSS version00:30
madrazrjasvir: and for commercial purposes you need to buy a different license00:30
madrazrjasvir: much like how Qt works00:31
madrazror how Qt used to work00:31
madrazrnot sure if Qt still has dual-licensing under its new owners00:31
jasvirmadrazr: madrazr Oh really? I didn't knew that Qt is having dual licence.00:31
jasvirmadrazr: Ok00:31
ThomasWaldmann ah, life on the chan00:32
ThomasWaldmannanyone having feedback to my forms issue from some hours ago?00:33
madrazrThomasWaldmann: link to the thread please?00:33
madrazrI have days behind catching up on Melange ML discussions00:33
madrazr*I am days00:33
ThomasWaldmann19:35  ThomasWaldmann$ i just wrote some feedback to a student's proposal in melange. wanted to click middle mouse button, but hit left  one. clicked on "back" in browser. All the feedback I already had written is GONE. :(00:34
ThomasWaldmann19:36  ThomasWaldmann$ (clicked on a link in the proposal)00:34
ThomasWaldmann19:36  ThomasWaldmann$ why is that? usually the form contents are still there if one goes back - does melange actively kill them?00:34
ThomasWaldmann19:38  ThomasWaldmann$ (I use a touchpad with no real buttons, one finger = left click, two fingers = middle click, 3 fingers = right  click)00:34
madrazrThomasWaldmann: we don't "actively" kill the form content00:35
jasvirmadrazr: Now I have to go and have a look at some exam stuff (eak) ,two hours left :P00:35
madrazrThomasWaldmann: how there might be an unintended CSS rule that is killing the content00:35
jasvirmadrazr: Catch you later :)00:35
madrazrThomasWaldmann: I hate when such a thing happens too00:35
ThomasWaldmannmadrazr: but the default behaviour of browsers is that form content is still there, right?00:36
madrazrThomasWaldmann: please file an issue for that00:36
madrazrThomasWaldmann: there is no solution for it at the moment though00:36
madrazrThomasWaldmann: depends on the browser/version etc.00:36
madrazrThomasWaldmann: I can't speak for all browsers00:36
ThomasWaldmannfirefox here, on ubuntu00:36
madrazrGoogle  Chrome tries to retain the content when it can00:36
*** jasvir has left #melange00:37
madrazrThomasWaldmann: not sure00:37
*** gevaerts has quit IRC00:45
madrazrThomasWaldmann: I tried on Firefox 28 on Ubuntu00:46
madrazrworks fine for me00:46
madrazrnavigating back to the proposal review page00:46
madrazrstill retains the unsubmitted review comment00:46
madrazrThomasWaldmann: please try this once again? If it happens again, please file an issue with browser version, OS/Distro version etc. details so that we can try to reproduce the issue00:48
ThomasWaldmannissue 214400:51
ThomasWaldmannand i reproduced the bug00:53
ThomasWaldmannadded a commend to that issue, very strange...01:07
ollyThomasWaldmann: i think i've seen that too01:09
ThomasWaldmannseems to be heisenbug somehow01:09
ollyyeah, I just tested and it didn't happen01:10
ThomasWaldmannonly happens if you put a lot of work into the form contents :P01:11
ollyperhaps that's just when you really notice01:11
* ThomasWaldmann remembers some PSF election or questionaire with same issue01:12
ThomasWaldmannone wrong click and it nukes all the work (and in that case, one could not easily just use some external editor and c&p)01:13
ollyI've had it at sourceforge before01:13
*** gevaerts has joined #melange01:24
*** larryxiao has joined #melange01:26
*** larryxiao has left #melange01:28
*** larryxiao has joined #melange01:29
*** paradoq has joined #melange01:35
*** r0bby has joined #melange01:46
*** robbyoconnor has quit IRC01:47
*** asmeurer__ has joined #melange01:52
*** paradoq has quit IRC02:05
*** paradoq has joined #melange02:18
*** paradoq has quit IRC02:40
*** paradoq has joined #melange02:42
*** asmeurer__ has quit IRC02:44
*** rocker has joined #melange02:53
*** paradoq has quit IRC03:00
*** paradoq has joined #melange03:02
*** paradoq has quit IRC03:11
*** Gentlecat has joined #melange03:18
*** suranga_ has joined #melange03:27
*** paradoq has joined #melange03:30
*** madrazr has quit IRC03:35
*** paradoq has quit IRC03:35
*** rishabh has joined #melange03:38
*** madrazr has joined #melange03:55
*** ChanServ sets mode: +o madrazr03:55
*** lresende has joined #melange04:04
*** ankush92 has joined #melange04:15
*** Gentlecat has quit IRC04:25
*** r0bby is now known as robbyoconnor04:38
*** brlcad has quit IRC04:39
*** shrihari has joined #melange04:40
*** Extreme has quit IRC04:42
*** Extreme has joined #melange04:42
*** rusnic has joined #melange04:44
rusnichi.. anybody there?04:45
*** Daisyab__ has quit IRC04:47
rusnicAny gsoc applicant for melange here?04:52
*** joshwambua has quit IRC04:56
*** paradoq has joined #melange05:00
*** brlcad has joined #melange05:07
*** paradoq has quit IRC05:08
*** paradoq has joined #melange05:15
*** suranga_ has quit IRC05:35
*** ankush92 has quit IRC05:37
*** paradoq has quit IRC05:41
*** Gentlecat has joined #melange05:43
*** jasvir has joined #melange05:55
*** larryxiao has quit IRC06:00
*** larryxiao has joined #melange06:01
*** delihiros1 has joined #melange06:06
*** joshwambua has joined #melange06:11
*** kdh-1334_ has joined #melange06:11
*** joshwambua has quit IRC06:12
*** joshwambua has joined #melange06:12
*** robbyoconnor has quit IRC06:20
*** robbyoconnor has joined #melange06:20
*** jasvir has quit IRC06:20
*** robbyoconnor has quit IRC06:20
*** sidthekid has quit IRC06:25
*** rishabh has quit IRC06:29
*** sidthekid has joined #melange06:32
madrazrThomasWaldmann: thanks for filing the issue06:40
madrazrThomasWaldmann: is this unpredictable for the same proposal, same link that you click?06:40
madrazrThomasWaldmann: also I wonder if this has something to do with the amount of time you take to go back?06:41
madrazrrusnic: one of the mentors here06:48
madrazrrusnic: what's up?06:48
*** robbyoconnor has joined #melange06:50
*** kdh-1334_ has quit IRC07:07
*** raghunayyar has joined #melange07:10
*** kdh-1334_ has joined #melange07:10
*** KD_MOE has joined #melange07:11
*** rusnic has quit IRC07:12
*** KD_MOE_ has joined #melange07:16
*** pchr8_ has joined #melange07:19
*** gevaerts has quit IRC07:19
*** gevaerts_ has joined #melange07:19
*** kdh-133__ has joined #melange07:19
*** pchr8 has quit IRC07:19
*** mudler has quit IRC07:19
*** kdh-1334 has quit IRC07:19
*** robbyoconnor has quit IRC07:19
*** r0bby has joined #melange07:19
*** r0bby has quit IRC07:19
*** r0bby has joined #melange07:19
*** mudler has joined #melange07:20
*** KD_MOE has quit IRC07:20
*** robbyoconnor has joined #melange07:23
*** shrihari has quit IRC07:24
*** joshwambua has quit IRC07:25
*** joshwambua has joined #melange07:25
*** KD_MOE_ has quit IRC07:28
*** shrihari has joined #melange07:31
*** Gentlecat has quit IRC07:35
*** Darrel has quit IRC07:36
*** Darrel has joined #melange07:36
*** kdh-1334_ has quit IRC07:41
*** rusnic has joined #melange07:42
*** shrihari has quit IRC07:42
*** kdh-1334_ has joined #melange07:44
*** rusnic has quit IRC07:51
*** rusnic has joined #melange07:52
*** kdh-1334_ has quit IRC08:02
*** kdh-1334_ has joined #melange08:06
*** ashishk has joined #melange08:07
*** kdh-1334_ has quit IRC08:10
rusnicmadrazr: Hi. I am applicant for gsoc and i am looking forward to redsign the melange UI with infographic styled flat UI and also make it responsive.08:11
rusnicmadrazr: i have not had a chance to get a feedback from any of the melange mentors yet. I am curious to get a feedback and work on what ever it takes to make it to gsoc this time.08:12
*** kdh-1334_ has joined #melange08:13
*** shrihari has joined #melange08:14
*** kdh-1334_ has quit IRC08:17
rusnicmadrazr: this is my first cut design mock up for the gsoc landing page (which i want to work on and make it even better) -
tpbTitle: Gsoc - Mockup (at
*** kdh-1334_ has joined #melange08:20
madrazrrusnic: the first look mockup looks really cool08:24
madrazrrusnic: we are processing applications08:24
madrazrreading them08:24
madrazrif we need any additional information we will leave a comment on your proposal08:25
rusnicoh im so glad to hear that :)08:25
madrazrbut in general, things you need to do in the meantime is to start contributing to Melange08:25
madrazrone of our requirements is to have contributed some code08:26
rusniccontribute as in ?08:26
madrazrrusnic: submit some patch(es)08:26
rusnici dont have any prior experience contributing code to open source community. but i am really looking forward to it.08:26
rusnicmadrazr: can you give me pointers on how i can do that?08:27
madrazrrusnic: pick one of the issues from our issue tracker08:27
tpbTitle: Issues - soc - SoC (Spice of Creation) - Google Project Hosting (at
madrazranything that interests you08:28
madrazrtalk to us about it08:28
madrazrabout how you want to go about fixing it08:28
madrazrthen work on it08:28
rusnicalright :) .. i check it out and will get started08:28
madrazrfollow the guidelines here to submit your work
tpb<$P> (at
rusniccan i know the best time of the day to catch up on IRC08:29
madrazralso are you on our mailing list?08:29
rusnici joined today08:29
madrazrrusnic: cool08:30
madrazrrusnic: I will be on IRC and active when you see me here08:30
madrazrI am not sure if I can commit to any schedule08:30
madrazrbut generally I will be around during Californian day time08:30
rusnicOkay cool.08:31
rusnicBroadly i wanted to know if melange would be interested in the project i have proposed. Is it something which you can enlighten me about?08:32
*** Darrel has quit IRC08:33
*** Darrel has joined #melange08:33
*** samgtr has joined #melange08:37
*** ashishk has quit IRC08:37
*** burcin_ has joined #melange08:39
madrazrrusnic: I have to look at your proposal08:41
madrazrrusnic: I can't say much if I haven't looked at the proposal08:41
*** kdh-1334_ has quit IRC08:42
*** jasvir has joined #melange08:43
*** shrihari has quit IRC08:43
*** kdh-1334_ has joined #melange08:45
jasvirmadrazr: hello. Have you reviewed my proposal? Lennard commented there. I don't know that my reply is right or not. If you have some spare time, please review it.08:50
madrazrjasvir: Lennard is reviewing the proposals08:51
madrazrjasvir: we are all jumping in08:51
madrazrbut he is far ahead08:51
*** shrihari has joined #melange08:51
jasvirmadrazr: decision is to be made by single person?08:51
madrazrjasvir: no?08:52
jasvirmadrazr: Ok.08:52
rusnicmadrazr: Alright! i wait for your feedback :)08:53
*** shrihari has quit IRC08:57
*** kdh-1334_ has quit IRC09:02
*** shrihari has joined #melange09:04
*** kdh-1334_ has joined #melange09:05
*** shrihari has quit IRC09:10
*** shrihari has joined #melange09:15
*** kdh-1334_ has quit IRC09:18
*** gevaerts_ is now known as gevaerts09:19
*** kdh-1334_ has joined #melange09:21
jasvirrusnic: nice mockup (y)09:21
rusnicjasvir: Thank you!09:23
*** madrazr has quit IRC09:24
*** shrihari has quit IRC09:25
*** shrihari has joined #melange09:28
*** kdh-1334_ has quit IRC09:44
*** kdh-1334_ has joined #melange09:47
*** raghunayyar has quit IRC09:57
*** rocker has quit IRC09:58
*** kdh-1334_ has quit IRC10:05
*** kdh-1334_ has joined #melange10:08
*** kdh-1334_ has quit IRC10:15
*** rusnic has quit IRC10:16
*** rusnic has joined #melange10:17
*** kdh-1334_ has joined #melange10:21
*** kdh-1334_ has quit IRC10:35
*** kdh-1334_ has joined #melange10:38
*** kdh-1334_ has quit IRC10:43
*** shrihari has quit IRC10:44
*** shrihari has joined #melange10:50
*** kdh-133__ has quit IRC10:52
*** kdh-1334 has joined #melange10:53
*** sidthekid has quit IRC10:56
*** sidthekid has joined #melange10:58
*** rusnic has quit IRC10:59
*** Niharika has joined #melange11:04
*** shp11 has joined #melange11:10
*** liangent has quit IRC11:14
*** liangent has joined #melange11:15
*** shrihari has quit IRC11:16
*** akansh has joined #melange11:21
akanshhello guys, I am akansh gulati11:22
akanshI have applied for GSOC and it`s my first attempt. Since I have applied for Student Flow project, I want to know what should I do best now11:24
*** rusnic has joined #melange11:29
*** shrihari has joined #melange11:29
*** ankush92 has joined #melange11:31
*** chitrank has joined #melange11:32
*** shrihari1 has joined #melange11:36
*** maxday has joined #melange11:37
akanshhey guys anybody active here?11:39
*** shrihari has quit IRC11:39
*** ariz has joined #melange11:53
*** shp11 has quit IRC12:01
*** akansh has quit IRC12:02
*** rusnic has quit IRC12:03
*** ariz has quit IRC12:04
*** ayushk has joined #melange12:04
*** raghunayyar has joined #melange12:07
*** rusnic has joined #melange12:13
*** liangent has quit IRC12:14
*** ariz has joined #melange12:16
*** rusnic has joined #melange12:17
*** liangent has joined #melange12:18
*** jasvir has quit IRC12:33
*** Niharika has quit IRC12:35
*** jasvir has joined #melange12:45
arizhello, i've applied to melange for gsoc this year.whats the best thing I could do now to improve my chances this year.i am a complete newbie.12:46
*** rocker has joined #melange12:49
*** shrihari1 has quit IRC12:52
*** rvraghav93_ has quit IRC13:07
*** rvraghav93 has joined #melange13:08
*** kdh-1334 has quit IRC13:09
*** suranga_ has joined #melange13:10
*** Gentlecat has joined #melange13:11
*** rishabh has joined #melange13:18
*** shrihari has joined #melange13:22
arizhello, i submitted a project to melange for gsoc this year. can anybody please suggest how to contact the mentors? I tried but I think I made a mistake by sending them personal emails before applying.13:29
*** samgtr has quit IRC13:35
*** Darrel has quit IRC13:36
*** bitgeeky has joined #melange13:37
*** rusnic has quit IRC13:40
*** rusnic has joined #melange13:42
rusnicariz: The best thing you can do is to stay in close touch with melange on irc, contribute code to melange and so on.13:43
arizI think my proposal was very vague. I am new to open-source and don't have much idea how things go here. Do you think I can improve my chances of getting selected, even though my proposal was not upto the mark?13:45
*** vijay13 has joined #melange13:49
*** shrihari has quit IRC13:50
*** shrihari has joined #melange13:51
*** rocker has quit IRC13:57
*** Niharika has joined #melange13:58
*** rusnic has quit IRC14:03
*** kdh-1334_ has joined #melange14:06
*** kdh-1334 has joined #melange14:06
*** kdh-1334_ has quit IRC14:06
*** kdh-1334_ has joined #melange14:06
*** samgtr has joined #melange14:09
*** rusnic has joined #melange14:10
*** ayushk has quit IRC14:11
*** bitgeeky has quit IRC14:13
*** rocker has joined #melange14:15
*** rvraghav93_ has joined #melange14:20
*** rvraghav93 has quit IRC14:21
*** ariz has quit IRC14:22
*** robbyoconnor has quit IRC14:32
*** monkegjinni has joined #melange14:32
*** robbyoconnor has joined #melange14:35
rusnicariz: Yeah! of course you can. participate in mailing list and try to catch up with mentors promptly. I myself am an applicant only. good luck.14:36
*** rusnic has quit IRC14:40
*** robbyoconnor has quit IRC14:40
*** monkegjinni has quit IRC14:47
*** shrihari has quit IRC14:53
*** ashishk has joined #melange14:53
*** kdh-1334 has quit IRC15:02
*** kdh-1334_ has quit IRC15:02
*** rvraghav93 has joined #melange15:05
*** rvraghav93_ has quit IRC15:06
*** vijay13 has quit IRC15:15
*** monkegjinni has joined #melange15:18
*** ankush92 has quit IRC15:23
*** bitgeeky has joined #melange15:28
*** monkegjinni has quit IRC15:33
*** monkegjinni has joined #melange15:36
*** monkegjinni has quit IRC15:38
*** rvraghav93 has quit IRC15:40
*** rvraghav93 has joined #melange15:47
*** jasvir has quit IRC15:51
*** jasvir has joined #melange15:53
*** shrihari has joined #melange15:59
*** chitrank has quit IRC15:59
*** ashishk has quit IRC16:01
*** ankush92 has joined #melange16:05
*** raghunayyar has quit IRC16:17
*** carols has joined #melange16:19
*** paradoq has joined #melange16:25
*** delihiros1 has quit IRC16:26
*** Uli- has joined #melange16:30
Uli-hey there.16:30
Uli-i just spent the last 20 minutes populating a custom field for all our ~100 proposals only to notice after reloading the list of proposals, that only the first one got persisted.16:31
Uli-what prevented the others from being saved?16:32
*** hammad_ has joined #melange16:34
*** heller has quit IRC16:46
*** shikher has joined #melange16:48
*** heller has joined #melange16:49
*** jasvir has joined #melange17:01
jasvirshikher: hello17:09
*** rvraghav93_ has joined #melange17:09
*** rvraghav93 has quit IRC17:10
*** Niharika has quit IRC17:13
jasvirolly: ping17:14
*** kdh-1334_ has joined #melange17:19
*** kdh-1334 has joined #melange17:19
*** burcin_ has quit IRC17:20
*** paradoq has joined #melange17:21
*** jasvir has left #melange17:23
*** paradoq has quit IRC17:25
*** paradoq has joined #melange17:26
*** rocker has quit IRC17:28
*** maxday has quit IRC17:34
*** maxday has joined #melange17:35
*** ashishk has joined #melange17:40
*** chitrank has joined #melange17:42
*** asmeurer has joined #melange18:00
*** ankush92 has quit IRC18:02
*** ankush92 has joined #melange18:03
*** paradoq has quit IRC18:15
*** ashishk has quit IRC18:21
*** paradoq has joined #melange18:21
*** ankush92 has quit IRC18:23
*** kdh-1334_ has quit IRC18:25
*** kdh-1334 has quit IRC18:25
*** bitgeeky has quit IRC18:29
*** asmeurer has quit IRC18:32
*** ashishk has joined #melange18:44
*** madrazr has joined #melange18:45
*** ChanServ sets mode: +o madrazr18:45
shikhermadrazr: hey19:00
madrazrshikher: Hi19:00
chitrankHello @madrazr19:00
*** kdh-1334_ has joined #melange19:00
*** kdh-1334 has joined #melange19:00
madrazrchitrank: HI19:00
*** shrihari has quit IRC19:01
chitrankmadrazr: I have submitted my application on the Responsive UI here is the application
tpb<> (at
chitrankI also submitted the application for review from any mentor before the student application deadline but I was unable to get review from any person19:02
chitrankI would just like to know How is my application and what should I do to justify it19:03
madrazrchitrank: we are reading through the proposals19:03
madrazrchitrank: if there is no comment on it yet, we still don't have anything to say at this point19:03
chitrankmadrazr: okay19:04
*** paradoq has quit IRC19:05
shikhermadrazr: I was writing test cases for a feature I worked on. When I run same code locally the data.ndb_profile is not None. While in test case, when I do logging.error(data.ndb_profile) , it is coming as None.
tpbTitle: gist:55f146d955b6fb8e43d7 (at
*** RaulT has joined #melange19:14
*** rigelk has joined #melange19:23
*** rigelk has quit IRC19:23
*** rigelk has joined #melange19:23
*** vijay13 has joined #melange19:25
*** vivekjain has joined #melange19:25
*** vijay13 has quit IRC19:25
*** shrihari has joined #melange19:26
*** vijay13 has joined #melange19:26
tpb<> (at
*** rvraghav93_ has quit IRC19:41
*** rvraghav93 has joined #melange19:42
*** rigelk has quit IRC19:46
*** vijay13 has quit IRC19:46
*** rishy has joined #melange19:47
*** rishabh has quit IRC19:49
*** shrihari has quit IRC19:50
*** bitgeeky has joined #melange20:00
*** paradoq has joined #melange20:07
*** ashishk has quit IRC20:10
*** kdh-1334 has quit IRC20:11
*** kdh-1334_ has quit IRC20:11
*** kdh-1334_ has joined #melange20:12
*** kdh-1334 has joined #melange20:12
*** kdh-1334_ has quit IRC20:16
*** kdh-1334 has quit IRC20:16
*** paradoq has quit IRC20:24
*** chitrank has quit IRC20:26
*** paradoq has joined #melange20:27
*** ashishk has joined #melange20:28
*** vivekjain has quit IRC20:32
*** sidthekid_ has joined #melange20:35
*** sidthekid has quit IRC20:36
*** burcin_ has joined #melange20:45
*** kdh-1334 has joined #melange20:47
*** kdh-1334 has quit IRC20:52
*** carols has quit IRC20:53
*** ariz has joined #melange20:57
shikhermadrazr: ping20:58
madrazrshikher: it is because you are only seeding a User entity but not a Profile entity21:03
shikhermadrazr: thnx. will try tht. :)21:05
madrazrshikher: cool21:05
*** hammad_ has quit IRC21:09
*** carols has joined #melange21:16
*** RaulT has quit IRC21:20
shikhermadrazr: its working now. thnx.21:21
*** RaulT has joined #melange21:21
*** paradoq has quit IRC21:22
madrazrshikher: NP21:28
*** ariz has quit IRC21:39
*** rvraghav93 has quit IRC21:45
*** burcin_ has quit IRC21:46
*** rvraghav93 has joined #melange21:48
Uli-olly: thanks, that's exactly what I experienced.21:50
ollyUli-: if you reload after each entry, it's painful but works21:51
*** rvraghav93_ has joined #melange21:52
*** rvraghav93 has quit IRC21:53
*** monkegjinni has joined #melange21:53
Uli-olly: yeah. i'll try again tomorrow, i'm in no mood to go through the 100 proposals again right now ;)21:57
*** suranga_ is now known as suranga_____22:02
*** suranga_____ is now known as suranga_________22:02
*** suranga_________ is now known as surangak22:05
*** surangak is now known as suranga22:05
shikhermadrazr: while testing, I need to check a count of entites. Should I query the ndb datastore or check the number of entries in my list. Does it matter?22:12
madrazrwhat is your list?22:13
shikhermadrazr: A list of program admins.22:14
shikherI am doing a remove query and asserting count22:14
madrazrshikher: I did not mean what does it contains22:14
*** rvraghav93 has joined #melange22:14
madrazrI meant, where does your list come from?22:14
shikhermadrazr: come from? can u elaborate please.22:15
*** rvraghav93_ has quit IRC22:15
madrazrshikher: where do you obtain that list from?22:15
madrazrwhere do you get that list from?22:16
madrazrwhat kind of a list is it?22:16
shikhermadrazr: not helpful.22:16
shikherI have declared my own list, with my own declared fields22:16
shikherIs tht wat u mean?22:16
madrazrIt is still not clear to me what that list is22:17
madrazris it a Python list datastructure you are talking about22:17
madrazrthat you build in your test case22:17
madrazror are you talking about Melange lists22:17
shikherMelange Lists22:17
madrazrwhich the views render22:17
madrazrshikher: Ok22:18
madrazrand why do you want to count?22:18
madrazrexplain your test in detail22:18
madrazrwhat are you trying to do?22:18
shikherto assert count of admins after removal22:18
madrazrwhat is your assertion?22:19
madrazralso, it will save us all sometime if you explain your test in a bit more detail22:19
madrazrotherwise, we can have this back and forth for ever22:19
madrazrs/sometime/some time/22:20
*** rvraghav93 has quit IRC22:20
shikhermadrazr:  I count the number of admins present for a test program22:20
madrazrshikher: take a step back22:21
madrazrwhat is the goal of your test?22:21
shikherthen I make a POST request to remove a admin22:21
madrazrwhat are you calling the test function?22:21
madrazrif you were to make a one line summary of what you are testing for22:21
madrazrhow would you write that?22:21
shikherTo check working of the list for all program admins, which also has a remove button22:21
madrazrex: docstring for the test function22:21
madrazrshikher: Ok good22:21
madrazrshikher: now22:21
madrazrsteps of your test?22:21
shikhermadrazr: I count the number of admins present for a test program22:22
shikherthen I make a POST request to remove a admin22:22
shikherThen I count again, to assure that it is one less22:22
madrazrshikher: Ok cool22:22
madrazrshikher: it is so much more clear now22:22
madrazronly if you had said this before than giving half-information22:23
madrazrshikher: anyway22:23
*** rvraghav93 has joined #melange22:23
madrazrshikher: so these two counts are what you are asking about now?22:23
shikhermadrazr: while testing, I need to check a count of entites. Should I query the ndb datastore or check the number of entries in my list. Does it matter?22:24
madrazrshikher: it really does not matter as long as list is doing the right thing22:25
madrazrshikher: however, it is better to trust the canonical source22:25
madrazrwhich is the datastore22:25
shikhermadrazr: as for the implementation, where should I do this query?22:27
shikherbtw I am going wid the datastore.22:27
madrazrshikher: in your test22:27
madrazrshikher: two separate queries22:27
madrazrfor two separate counts22:28
madrazrbefore and after22:28
shikherofcourse. wat i mean is, Shoudn't I write a separate function in another module. then import that module and then call this function?22:28
*** RaulT has quit IRC22:29
shikhermadrazr: Following how other tests are written, I think I should write it in profile model.22:33
*** rvraghav93 has quit IRC22:40
madrazrshikher: where do we do that for one-off queries in tests?22:43
madrazrI will be surprised to see that code now22:43
*** carols has quit IRC23:07
*** jasvir has joined #melange23:08
shikhermadrazr: actually, it is not a one off query. I have to check all profile if their host_for contains the program key and return this count.23:11
madrazrshikher: and how is that not a one off query?23:13
madrazrshikher: where else are we going to re-use this?23:13
shikhermadrazr: by one-off I thought u meant, write one line query.23:15
shikhermadrazr: in tht case, it is a one-off query.23:16
shikhermadrazr: also,23:18
shikherI have written a query (not for count, but for list of all program admins) in melange/logic, would it not be better to import tht, and calculate count from it?23:19
*** paradoq has joined #melange23:21
*** rishy has quit IRC23:27
*** samgtr has quit IRC23:35
*** monkegjinni has quit IRC23:35
ashishkmadrazr: hi23:48
madrazrshikher: I am not a fan of that idea23:56
madrazrtechnically you can do that23:56
madrazrbut I would like to have our tests isolated23:57
madrazrso that we are actually testing23:57
shikherok. I can make the function inside the test itself.23:58
*** bitgeeky has quit IRC23:59

Generated by 2.12.1 by Marius Gedminas - find it at!