Wednesday, 2011-04-13

*** tpb has joined #melange00:00
*** dr__house has quit IRC00:02
*** tansell-laptop has joined #melange00:03
*** eoc` is now known as eoc|off00:04
*** tansell has joined #melange00:05
*** robbyoconnor has joined #melange00:13
*** lresende has quit IRC00:44
*** orcuna has quit IRC01:10
*** eoc has joined #melange01:11
*** eoc|off has quit IRC01:14
*** orcuna has joined #melange01:31
*** orcuna has quit IRC02:34
*** LetterRip1 has joined #melange02:44
*** leumas has joined #melange02:46
*** orcuna has joined #melange02:47
*** LetterRip1 has quit IRC02:51
*** leumas has left #melange03:00
*** orcuna has quit IRC03:27
*** orcuna has joined #melange03:42
*** lionel_ has joined #melange05:01
*** asmeurer has quit IRC05:21
*** nmudgal has joined #melange05:25
*** nmudgal has quit IRC05:36
*** nmudgal has joined #melange05:37
*** nmudgal has quit IRC06:08
*** leumas has joined #melange06:21
*** nmudgal has joined #melange06:22
*** tephe has quit IRC06:30
*** tephe has joined #melange06:31
*** vikash has quit IRC07:08
*** leumas has left #melange07:12
*** vikash has joined #melange07:18
*** madrazr has joined #melange07:34
*** ChanServ sets mode: +o madrazr07:34
madrazrNightrose: did you see that you guys made it into slashdot again? :P07:40
* madrazr wishes Melange would some day make it into slashdot07:40
madrazr;-)07:40
*** hlp has quit IRC07:41
*** hlp has joined #melange07:43
Nightrosemadrazr: heh no - with Active?07:47
madrazrNightrose: Active? I don't know what that means, I can see it on front page of slashdot07:48
madrazr:)07:48
* Nightrose looks07:48
madrazr"KDE's New Projects Take On Portable Devices"07:48
madrazr07:48
Nightroseyeah07:49
Nightrosethat'd be Active07:49
Nightrosenice07:49
madrazrNightrose: :)07:49
madrazrI so envy ... :P07:49
Nightroseawwww07:49
Nightrose:D07:49
svuorelamadrazr: switch projects :p07:50
madrazrsvuorela: I would rather switch the names of the projects on /. ;-)07:50
*** nmudgal has quit IRC07:51
*** BlankVerse has joined #melange08:04
*** Mek has quit IRC08:12
*** orcuna has quit IRC08:25
*** kronos has joined #melange08:45
*** kronos has joined #melange08:45
*** BlankVerse has quit IRC09:04
*** madrazr has quit IRC09:10
*** Mek has joined #melange09:22
*** leumas has joined #melange09:38
*** BlankVerse has joined #melange09:41
*** r0bby has joined #melange09:41
*** robbyoconnor has quit IRC09:43
*** leumas has quit IRC10:04
*** LetterRip has joined #melange10:27
*** arun_ has quit IRC10:28
*** LetterRip has quit IRC10:28
*** SRabbelier|Lappy has joined #melange11:00
*** ChanServ sets mode: +o SRabbelier|Lappy11:00
*** arun_ has joined #melange11:16
*** eoc` has joined #melange11:18
*** eoc has quit IRC11:20
svuorelaSRabbelier|Lappy: hi11:25
SRabbelier|Lappysvuorela: hello11:26
svuorelaSRabbelier|Lappy: I wrote you a email  about change of linkid yesterday. I didn't fully get what to do to get my email address associated with a different linkid.11:28
svuorelashould I create a new account and get you to swap them? or something else?11:32
SRabbelier|Lappysvuorela: I have to manually do that11:33
svuorelaoh. so I should just sit back and wait?11:34
SRabbelier|Lappysvuorela: yup11:36
svuorelagood. I can figure out to do that.11:37
*** vikash has quit IRC11:46
*** vikash has joined #melange11:58
*** vikash has quit IRC12:13
*** eoc has joined #melange12:18
*** eoc` has quit IRC12:20
*** eoc` has joined #melange12:22
*** eoc has quit IRC12:24
*** vikash has joined #melange12:26
*** kronos has quit IRC12:27
*** vikash has quit IRC12:31
*** vikash has joined #melange12:31
*** eoc has joined #melange12:44
*** eoc` has quit IRC12:47
*** madrazr has joined #melange13:14
*** ChanServ sets mode: +o madrazr13:14
*** leumas has joined #melange13:18
vikashmadrazr, Hey! sorry last night I didnt knw when did I fell to sleep!13:23
madrazrvikash: heh Ok13:24
madrazrvikash: are you still working on the test?13:24
vikashmadrazr, I can see test comment post on line 93 in proposal_review13:24
vikashmadrazr, Ya I still wish to do that13:24
vikashmadrazr, I can see test comment post on line 93 in test_proposal_review13:26
vikashmadrazr, also I am trying to understand proposal_review13:26
madrazrvikash: that one test is not sufficient13:27
madrazrvikash: it needs to be more comprehensive13:27
madrazrneed to test what happens for each type of user13:27
vikashmadrazr, Ok! So what all it should test13:28
madrazrvikash: post a public comment as a. Proposer b. Mentor for that org c. Org Admin for that org d. Student of another org e. Mentor of another org f. Org Admin of another org g. Any general user when proposal is public and when it is not public13:29
madrazrvikash: similarly for private comments13:29
madrazrvikash: ensure that Private comments are posted as private13:29
madrazrvikash: also, it is better to separate out comment into its own test method13:30
madrazrvikash: rather 2 test methods, one for public proposal and another for private proposal13:30
vikashSo something like public_proposer13:31
vikashetc13:31
vikash?13:31
madrazrvikash: public_proposer?13:31
vikashI meant test_public_comment_proposer13:32
vikashI meant test_public_comment_mentor_org13:32
vikash?13:32
vikashWhat should be the naming convention I should follow13:34
vikashmadrazr, But still I dint understand the use of this test's? Can you please throw some light on that13:35
vikashmadrazr, What should be the naming convention I should follow13:35
madrazrvikash: you need to follow the code convention we follow there13:35
madrazrvikash: just seeing around that file helps, to name your methods13:35
madrazrvikash: you don't understand the need of these tests?13:36
vikashmadrazr, Ya I know that might sound a bit silly13:36
madrazrvikash: sure, there is nothing silly about asking questions13:37
madrazrvikash: when you don't know something, ask. Ask loud enough so that it is heard :)13:37
vikashmadrazr, thanks for acknowledging me that way! I wanted to know the use of these test cases when things are already working fine on the website?13:38
madrazrvikash: http://en.wikipedia.org/wiki/Software_testing13:38
tpbTitle: Software testing - Wikipedia, the free encyclopedia (at en.wikipedia.org)13:38
madrazryou should read this13:38
vikashok!13:38
madrazrvikash: things are already working fine?13:38
madrazrhow do you know? :)13:38
vikashmadrazr, Thats the point, I dont feel any problems either?13:39
madrazrvikash: everyday I get a few to several (varying each day) on things that are broken or not working13:39
vikashok13:40
madrazrvikash: if things were fine, I must first understand why we get so many mails :)13:40
madrazrvikash: the site is used by 8000 people :)13:40
vikashmadrazr, for this one seriousy :)13:40
madrazrvikash: not 1 vikash, not 1 madrazr, not 1 X users13:40
madrazr*user13:40
madrazrvikash: ?13:40
vikashmadrazr, so many mails13:41
madrazrvikash: and coming to the most important of all the points13:41
* vikash is listening13:41
madrazrvikash: I write some code today in file X.py which uses the classes and methods from Y.py13:41
madrazrvikash: 10 days later, I want to refactor X.py so that I can also use the same class and methods in Z.py13:41
madrazrvikash: how do you ensure that this refactoring doesn't break Y.py?13:42
madrazrvikash: few mind blowing stats I should give you13:42
madrazrvikash: Melange team has done some insane amount of work in last 58 days13:42
vikashmadrazr, insane ? like!13:43
madrazrvikash: on February 13th we had 4703 commits in our source repo13:43
madrazrvikash: as on today, including the ones I have not pushed yet, we have 630x commits13:44
madrazr1600 commits in over 58 days13:44
madrazr30 thousand lines of code changed13:44
vikashmadrazr, May because everyone would be busy on Feb 14, valentimes day ( Just kidding)13:44
madrazrvikash: yeah the rest of the world was13:44
madrazrvikash: but Melange team was sitting in Google's Dublin office13:44
vikashhe he he13:44
madrazrchurning code like crazy13:44
* vikash wish to see himself in google one day! I am the manger of Google technology Users Group Manipal13:45
* vikash <cont> and churning code13:46
vikashmadrazr, But can explain the reason for above stats13:47
madrazrvikash: awesome!13:49
madrazrvikash: the reasons are all around internet :)13:49
vikashmadrazr, hmmm13:50
madrazrvikash: if you look into any document that talks about Source Code analysis and stuff13:50
madrazrvikash: you will soon realize that a developer won't write(change) more few 1000 lines of code per month at this stage of the project13:51
madrazri.e project which is 2.5 years old13:51
vikashooh13:51
madrazrvikash: 30K lines and 6 developers is like ... I don't know how to explain that awesome thing13:51
madrazrvikash: we need to ensure quality, if we are changing code at this pace13:51
madrazrvikash: makes sense?13:57
vikashmadrazr, ensure quality (30k lines and 6 developers)was some what strange because I thought if more number of people then the better a prg in open Source. But I think when I will come to job one day it will make more sense13:58
madrazrvikash: exactly you are right13:59
madrazrvikash: more people in an org, better13:59
madrazrvikash: here 6 is too less13:59
madrazrvikash: we need more people to do more awesome work :)14:00
vikashmadrazr, and for that surely count me in!14:00
madrazrvikash: that is why we are welcoming you :)14:00
madrazrvikash: come to job? where?14:00
vikashmadrazr, As in grow older, I am still in my sophomore14:01
madrazrah Ok14:02
*** leumas has quit IRC14:02
vikashmadrazr, When I am trying to compile ant test<filename>.py it is giving an error "No module named tests.timeline_utils"14:10
madrazrvikash: sorry, I did not get you, what are you trying to compile in Python?14:11
vikashany test case ( python file )14:11
madrazrvikash: how?14:11
madrazrvikash: btw compile Python file?14:11
madrazrvikash: why would you compile a Python file? Python is an interpreted language and if you are trying to byte-compile, you should not worry so much14:12
madrazrvikash: Python interpreter will take care of htat14:12
madrazr*that14:12
vikashmadrazr, I didn't intend to compile but was doing python <file_name>.py and it is giving an error14:13
madrazrvikash: thats not the way to run the test14:14
madrazrvikash: to run the tests use ./bin/run-tests from your melange source directory's root14:14
vikashok! so thats the only way! I wanted to confirm this only14:15
madrazrvikash: for now to save some time you can use ./bin/run-tests tests/new-views since that is the point of interest for your work14:15
vikashmadrazr, Thanks for sharing that, it will be a great help14:16
madrazrvikash: cool!14:17
vikashmadrazr, I am going for dinner! Byr14:34
vikash*bye14:34
madrazrvikash: sure, bye14:34
vikashmadrazr, Bye14:34
*** nmudgal has joined #melange14:37
*** kronos has joined #melange15:06
*** kronos has joined #melange15:06
*** dr__house has joined #melange15:31
*** dr__house has joined #melange15:31
*** SRabbelier|Lappy has quit IRC15:38
*** dr__house has quit IRC15:42
*** dr__house has joined #melange15:42
*** dr__house has joined #melange15:42
*** dr__house has joined #melange15:43
*** dr__house has joined #melange15:43
*** dr__house has quit IRC15:45
*** dr__house has joined #melange15:45
*** dr__house has quit IRC15:57
*** dr__house has joined #melange15:57
*** dr__house has quit IRC15:59
*** dr__house has joined #melange15:59
*** dr__house has joined #melange15:59
*** leumas has joined #melange16:04
*** lresende has joined #melange16:18
*** malex has left #melange16:21
vikashmadrazr, can you send me test_proposal.review.py. I think I have made some problem in the main file itself16:42
*** madrazr has quit IRC16:45
*** madrazr has joined #melange16:45
*** ChanServ sets mode: +o madrazr16:45
vikashmadrazr, can you send me test_proposal.review.py. I think I have made some problem in the main file itself16:47
*** dr__house has quit IRC16:47
madrazrvikash: what do you want me to send you?16:47
vikashmadrazr, test_proposal.review.py.16:48
vikashmadrazr, test_proposal_review.py.16:48
madrazrvikash: why should I send you that?16:48
madrazrvikash: you have the repo with you16:48
madrazr?16:48
vikashmadrazr, By mistake I have made some error in the file, that I dwn from repo and I cwnt be able to dwn again16:50
madrazrvikash: drop your changes16:50
madrazrvikash: learn to use revision control systems!16:50
madrazrvikash: it is a pre-requisite for most GSoC students I thought?16:50
madrazrno?16:50
*** leumas has quit IRC16:50
vikashOoh! I dint know that16:50
madrazrvikash: hg update -C in this particular case of yours drops all the changes you have made and syncs your working directory to the last commit in your branch16:52
vikashAwsome!16:52
vikashmadrazr, Hope that works!16:52
vikashmadrazr, Yes it did16:54
vikashmadrazr, What is #Hacky16:59
madrazrvikash: the code following it is hacky :)16:59
madrazrvikash: a kind of workaround or such16:59
vikashmadrazr, SOme more info would be awesome! And I am very sorry if I never let you work! or disturb you17:00
madrazrvikash: there isn't much I can add to it17:00
madrazrvikash: I have told you what it means17:00
madrazr"(10:30:10  IST) madrazr: vikash: a kind of workaround or such"17:00
vikashok17:01
vikashok17:01
madrazror at least what I understand from it17:01
*** kronos has quit IRC17:16
*** dr__house has joined #melange17:33
*** dr__house has joined #melange17:33
vikashmadrazr, I have just tried for mentor's public comment, its very general and is just a test, please look at it17:40
vikashhttp://pastebin.com/1FF1fkRu17:40
tpbTitle: [Python] test - Pastebin.com (at pastebin.com)17:40
vikashmadrazr, http://pastebin.com/1FF1fkRu17:40
vikashtpb, Thanks and it is http://pastebin.com/1FF1fkRu17:40
*** nmudgal has quit IRC17:41
madrazrvikash: I would suggest you to wait, if there is no response from me17:44
madrazrvikash: I am on a call17:45
madrazrvikash: I will definitely see the messages, if I am here17:45
madrazr:)17:45
vikashmadrazr, Oh! I am sorry17:45
*** nmudgal has joined #melange17:51
*** kronos has joined #melange18:01
*** kronos_ has joined #melange18:03
*** kronos_ has joined #melange18:03
*** westi|busy is now known as westi|gone18:04
*** kronos has quit IRC18:06
*** kronos_ has quit IRC18:17
*** nmudgal has quit IRC18:22
*** asmeurer has joined #melange18:23
*** madrazr has quit IRC18:27
*** kronos_ has joined #melange18:28
*** orcuna has joined #melange18:31
*** lresende_ has joined #melange18:39
*** lresende has quit IRC18:42
*** carols has joined #melange18:45
*** madrazr has joined #melange19:03
*** ChanServ sets mode: +o madrazr19:03
madrazrvikash: Hi19:04
madrazrvikash: good going19:04
madrazrwrite a test19:04
vikashmadrazr, It was just a test prg and is it correct19:05
vikashfor the matter19:05
madrazrvikash: it is a good start, although I cannot tell you if it is correct, until you write a test19:05
madrazras in make an assertion :)19:06
vikashI guess I sent you a test link! and not getting an error when I ran a test. I just wanted to confirm, was that on the track and will work properly for mentors public comment or needs changes19:08
vikashmadrazr, I guess I sent you a test link! and not getting an error when I ran a test. I just wanted to confirm, was that on the track and will work properly for mentors public comment or needs changes19:08
vikashmadrazr, Oh! it might have expired19:09
vikashmadrazr, http://pastebin.com/ep9Rpg0x19:10
tpbTitle: [Python] test - Pastebin.com (at pastebin.com)19:10
vikashmadrazr, hey ! I am off to sleep ! good night19:14
madrazrvikash: sure19:18
madrazrsee you19:18
madrazrvikash: talk to you tomorrow19:18
vikashmadrazr, thanks! but please just check that once19:19
madrazrvikash: hey19:19
madrazryou gave me the same link again?19:19
madrazrvikash: I don't see any test there?19:19
vikashmadrazr, ok 2 min19:20
madrazrvikash: I just see that you have set up some fixture data?19:20
vikashmadrazr, http://pastebin.com/ep9Rpg0x19:20
tpbTitle: [Python] test - Pastebin.com (at pastebin.com)19:20
madrazrvikash: looking at it19:21
madrazrvikash: it is the same thing again19:21
madrazrvikash: tell me what are the lines that does the actual test? :P19:22
madrazrvikash: if I am obviously overlooking19:22
madrazrvikash: btw19:22
madrazrvikash: it is always better to send the diff than the file19:22
madrazrvikash: I see that you have this method def testCommentProposal(self):19:22
madrazrwhich ends at proposal = self.createProposal({...19:23
madrazrthats all I can see19:23
vikashmadrazr, Ok! from next time I do that19:23
madrazrvikash: anyways if you would like to sleep, please go ahead19:23
vikashok! sure19:23
madrazrI don't want to stand between you and the sleep :P19:23
vikashno no I will try to dome some today19:23
vikashSo whats the problem ?19:24
vikashmadrazr, So what's the prob in the code19:25
madrazrvikash: problem?19:25
madrazrvikash: there is nothing19:25
madrazrvikash: there is no test at all :)19:25
madrazryou should definitely look around19:25
madrazrlook at other tests, at least the ones in the same file19:26
vikashmadrazr, ok! I havent understood the test yet! Wil look at it now19:26
madrazrvikash: you are familiar with Python programming?19:27
vikashya! but not that proficient with oops yet19:27
vikashmadrazr, ya! but not that proficient with oops yet19:28
madrazrvikash: Ok NP19:30
vikashmadrazr, :(19:30
vikashmadrazr, Thanks!19:30
*** svuorela has quit IRC19:30
madrazrvikash: you should read this http://docs.python.org/release/2.5/lib/doctest-unittest-api.html19:31
tpb<http://ln-s.net/8j$5> (at docs.python.org)19:31
madrazrand of course Django testing documentation19:31
vikashmadrazr, ok! thanks for being so supportive and helpful19:32
madrazrvikash: NP19:32
vikashmadrazr, One que! Are you in Google? or melange or independent19:32
madrazrvikash: I am not in Google :)19:34
madrazrvikash: I am a developer of Melange19:34
vikashmadrazr, Does it has an office in India? in Delhi?19:35
madrazrvikash: office? which one?19:35
vikashmadrazr, melange's19:35
madrazrvikash: Melange is an open source project19:35
madrazrvikash: it is a community project19:35
madrazrvikash: and No, we don19:35
madrazr't have offices like most other open source projects which are run by community19:36
vikashmadrazr, ok! nice! I didnt know Open Source projects didnt have offices19:36
madrazrvikash: interesting :)19:36
vikashmadrazr, Yup19:37
madrazrvikash: it is not true for all open source projects :)19:37
vikashmadrazr, Lucky19:37
madrazrvikash: there are open source projects which are backed by companies19:37
madrazrvikash: Lucky for?19:37
vikashmadrazr, No office issues19:38
madrazrvikash: LoL!19:38
madrazrvikash: where ever you are, whatever you do, ultimately commitment matters19:38
vikashmadrazr, Commitment will come in capital letters I guess? And you are from where ?19:39
madrazrvikash: I would not like to reveal my location in public channels :) I hope you understand19:39
madrazrvikash: it is not difficult to figure that out though :P19:39
vikashmadrazr, SureSure19:40
*** eoc` has joined #melange19:46
*** eoc has quit IRC19:49
*** eoc` is now known as eoc19:52
*** Triskelios has quit IRC19:52
*** eoc has quit IRC19:58
*** orcuna has quit IRC20:01
*** leumas has joined #melange20:08
*** dr__house has quit IRC20:09
*** dr__house` has joined #melange20:09
*** dr__house` has joined #melange20:09
*** eoc has joined #melange20:11
*** orcuna has joined #melange20:13
*** tansell-laptop has quit IRC20:26
*** kronos_ is now known as kronos20:27
*** eoc has quit IRC20:36
*** eoc has joined #melange20:49
*** scorche|sh has quit IRC20:49
*** scorche|sh has joined #melange20:50
*** leumas has quit IRC20:52
*** arun_ has quit IRC20:58
*** lionel_ has quit IRC21:12
*** orcuna has quit IRC21:13
*** orcuna has joined #melange21:29
*** carols has quit IRC21:38
*** carols has joined #melange21:41
*** schultmc_ has joined #melange22:05
*** BlankVerse has quit IRC22:18
*** jordan___ has joined #melange22:39
*** orcuna has quit IRC22:41
*** jordan___ has quit IRC22:54
*** orcuna has joined #melange22:54
*** jordan___ has joined #melange23:09
*** lh has joined #melange23:10
lhSRabbelier: are you actually awake right now? because you ought not be.23:10
*** Triskelios has joined #melange23:11
SRabbelierlh: don't remind me23:11
lhSRabbelier: wanted to check in with you before filing a bug. I just received a comment email and comment was posted nearly 16 hours ago.23:12
SRabbeliersec23:12
lhSRabbelier: i just wanted to make sure that nothing would be revealed if i posted links to private comments, etc. in the issue tracker.23:12
lhSRabbelier: take your time, this is very not urgent.23:12
SRabbelierlh: not unless the student marked his proposal as public, in which case you'd publishing an url they might want to keep private, although that seems unlikely23:13
lhSRabbelier: ok, will assume that we're fine. filing bug now23:13
SRabbelierlh: don't see anything wrong with the mail systems, should be working fine; what's it say on the "received" tiemstamp thing?23:13
lhSRabbelier: are you asking for the mail headers or the time stamp from melange?23:14
SRabbelierlh: compare those I suppose23:14
SRabbelierlh: noting that Melange timestamps are in UTC23:14
lhSRabbelier: and there you go, suddenly it all makes sense. i shush now.23:14
SRabbelierlh: wooh ^^23:14
lhSRabbelier: i lied that does not explain my issue23:16
SRabbelierlh: sad panda23:16
lhSRabbelier: comment posted at 11:30 PM and email received ~15 minutes ago.23:16
SRabbelierlh: correct23:17
lhSRabbelier: be not a sad panda. i will file a bug. you do your thang.23:17
SRabbelierlh: it is currently 11:30PM utc23:17
SRabbelierwell23:17
SRabbelieralmost :P23:17
SRabbelier23:17 Wednesday (GMT) - Time in GMT23:17
lhSRabbelier: oh for goodness sake. thank you.23:17
* lh slinks off into a corner muttering about how this whole time zone thing will eternally be beyond her23:17
SRabbelierlh: we need a clock on Melange don't we?23:18
lhSRabbelier: no, i need a patch for my mental time zone bug.23:18
k0pfolks, is possible to export proposals?23:19
SRabbelierk0p: first, why do you need to?23:20
k0pfor instance, export all content of proposals.23:20
SRabbelierk0p: (to prevent an X/Y problem)23:20
*** lh has quit IRC23:20
k0pSRabbelier: a mentor of my organization will travel 2 days23:20
SRabbelierk0p: and wants to review them offline? mh23:20
k0pSRabbelier: yes, but well, he will save it23:25
k0por maybe we do a script23:25
k0psomething like that23:25
SRabbelierk0p: when is it needed23:25
k0pSRabbelier: well, tomorrow. But if it just a feature for one person, it does n't care. However, it will be cool, that organization can save the proposals in the end.23:27
k0pIMHO. :)23:27
SRabbelierk0p: it's not possible atm, :(23:27
*** orcuna has quit IRC23:28
k0pno worries ;)23:29
k0pI just wondering, because there are option to export to cvs, so maybe some option could work to export.23:29
k0pdoes not matter. thanks anyway23:29
k0p:)23:29
k0pwell, i'm checking out the source code, just to take a look. maybe I can contribute23:32
k0pbut I'm not an expertise with this23:32
SRabbelierk0p: it can easily be added in dashboard.py, look for 'addSimpleColumn('score' ...23:35
SRabbelierk0p: but I'm off to bed now :P23:35
*** dr__house` has quit IRC23:37
*** dr__house has joined #melange23:37
*** dr__house has joined #melange23:37
*** dr__house has quit IRC23:39
*** dr__house has joined #melange23:39
*** dr__house has joined #melange23:39
k0panyway, does not matter :)23:39
k0pi'll see.23:44
*** dr__house has quit IRC23:59
*** dr__house has joined #melange23:59
*** dr__house has joined #melange23:59

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