*** tpb has joined #melange | 00:00 | |
madrazr | how is adding sub org related to diffs? | 00:00 |
---|---|---|
jasvir | madrazr: I means to say, for diffs I we have to use library and I specified it there. But what about other like sub-orgs. According to me, to create sub orgs we need to add some lines of code not like diffs. So for this, do I have to give example code in techincal detail section? | 00:03 |
madrazr | jasvir: what does sub orgs have to do with diffs | 00:04 |
madrazr | ? | 00:04 |
jasvir | madrazr: Nothing to do with. I am giving example of diff that for diff we can use a library so I specified it there. But sub orgs is not like diffs. | 00:05 |
madrazr | if it is not like diffs | 00:05 |
jasvir | madrazr: for sub orgs, we need to add some line of codes. | 00:05 |
madrazr | what does it have to do now? | 00:05 |
madrazr | I am seriously missing something here | 00:05 |
madrazr | am I misreading something? | 00:06 |
jasvir | madrazr: Forget about previous messages. Let me explain it from 0. | 00:06 |
madrazr | Ok | 00:07 |
jasvir | madrazr: I am talking about two task specified in my proposal. One is implementing diffs and other is impelementing sub orgs. | 00:07 |
madrazr | jasvir: Oh! | 00:07 |
*** matzipan has joined #melange | 00:07 | |
madrazr | why are you doing that? | 00:07 |
jasvir | madrazr: For implementing diffs, we need a library so I specified it there. | 00:07 |
madrazr | read my points from the logs earlier today | 00:07 |
madrazr | to ashish | 00:08 |
madrazr | jasvir: please read the logs first | 00:08 |
madrazr | before we proceed any further | 00:08 |
jasvir | madrazr: ok | 00:08 |
matzipan | Hey guys, I'm getting an error. After granting access to my Google Account, I'm getting a 414 "Request URI too large" | 00:08 |
matzipan | logging in from an anonymous browser session seems to fix the problem | 00:09 |
madrazr | matzipan: yeah, Google OAUTH weirdness that is | 00:09 |
madrazr | :) | 00:09 |
madrazr | matzipan: whenever we see that problem our recommended workaround is just what you did :) | 00:09 |
olly | if only you knew some people who worked at google | 00:10 |
madrazr | matzipan: to try registering in a private session | 00:10 |
madrazr | olly: so true :P | 00:10 |
jasvir | madrazr: Oh wow!! | 00:10 |
jasvir | madrazr: Thats what I am looking for | 00:10 |
madrazr | jasvir: for? | 00:10 |
madrazr | jasvir: http://www.thousandparsec.net/~irc/%23melange/%23melange.2014-03-17.log.html#t2014-03-17T19:58:49 | 00:12 |
madrazr | this is what I am referring to | 00:12 |
tpb | Title: Monday, 2014-03-17 (at www.thousandparsec.net) | 00:12 |
*** rigelk has quit IRC | 00:13 | |
jasvir | madrazr: Yeah. I am reading that. | 00:13 |
*** leyyin has joined #melange | 00:13 | |
jasvir | madrazr: It is pretty long discussion. Do I go through from start to end? | 00:19 |
*** mohit019 has quit IRC | 00:20 | |
jasvir | madrazr: Only list of ideas is enough? | 00:23 |
*** Guest55215 is now known as skullbocks | 00:26 | |
*** skullbocks is now known as Guest89455 | 00:26 | |
madrazr | jasvir: I mean to say | 00:32 |
madrazr | proposing two entirely different things as a single GSoC project is a bad idea | 00:32 |
madrazr | I hope you read that part | 00:32 |
*** enchilader has quit IRC | 00:33 | |
jasvir | madrazr: You talked about GCI project in GSoC. | 00:33 |
shikher | madrazr: ping | 00:34 |
*** suranga_ has quit IRC | 00:35 | |
madrazr | shikher: pong | 00:35 |
madrazr | shikher: no matter what comments you get on your GDocs proposal | 00:36 |
madrazr | you should get it into the system first | 00:36 |
madrazr | shikher: submit it on Melange | 00:36 |
madrazr | shikher: if we need improvements even after deadline we can do that outside google-melange.com too | 00:36 |
madrazr | shikher: but without having your proposal in the system before deadline at all we can't do anything | 00:36 |
jasvir | madrazr: 2-3 days agos, I asked you that Is it necessary that I have to solve all issues listed on idea page and you answer was "ideally yes". So I concluded from that project is about solve all issues. | 00:36 |
madrazr | shikher: please, please submit whatever the best proposal you think you have so far | 00:37 |
shikher | madrazr: yes. i'm so sorry for delaying the submission. exams. writing a paper for a conference. other stuff also. | 00:37 |
madrazr | shikher: you don't have to be sorry :) | 00:37 |
jasvir | madrazr: So, please clarify it. You mean I should concentrate only on diff feature? | 00:37 |
madrazr | we haven't started reviewing any proposals yet other than marking obvious spams | 00:38 |
shikher | madrazr: u will find it before u go to sleep. thts a promise, more to myself than to u. :) | 00:38 |
madrazr | shikher: ^ | 00:38 |
madrazr | shikher: good! | 00:38 |
madrazr | jasvir: diff feature is well worth a GSoC project IMO | 00:39 |
shikher | madrazr: the reason I pinged u was tht, wat do u think about saving a whole proposal in the blobstore? | 00:40 |
madrazr | shikher: I am not a fan of the idea :) | 00:40 |
shikher | madrazr: too many resources? | 00:40 |
jasvir | madrazr: Please check out this : http://www.thousandparsec.net/~irc/%23melange/%23melange.2014-03-13.log.html#t2014-03-13T07:53:21 | 00:40 |
tpb | Title: Thursday, 2014-03-13 (at www.thousandparsec.net) | 00:40 |
*** denysbut_ has joined #melange | 00:41 | |
madrazr | shikher: whenever even someone uses the word Blobstore my reaction is like "Run. Run from here" | 00:41 |
madrazr | :D | 00:41 |
madrazr | shikher: not resources | 00:41 |
madrazr | shikher: blobstore is such a weird API | 00:41 |
madrazr | shikher: why would you want to use blobstore for storing data? | 00:42 |
madrazr | shikher: the weirdness comes from the very first thing about blobstore | 00:42 |
shikher | madrazr: doesn't melange use it? | 00:42 |
madrazr | shikher: to store your data in a blobstore you need to get a separate blobstore URL | 00:42 |
madrazr | send your request there first | 00:42 |
madrazr | blobstore will strip out all the blob like content from your HTTP request | 00:43 |
madrazr | store it in the blobstore | 00:43 |
*** denysbutenko has quit IRC | 00:43 | |
madrazr | and then rewrite your HTTP request entirely | 00:43 |
madrazr | along with headers | 00:43 |
madrazr | and send it back to your application | 00:43 |
madrazr | there is this period/phase when you totally lose control of your data | 00:44 |
jasvir | madrazr: So can I concenrate on diff feature only? | 00:44 |
madrazr | I don't like that | 00:44 |
madrazr | shikher: we use it where it is inevitable | 00:44 |
shikher | madrazr: are u saying the data is not secure? | 00:44 |
madrazr | shikher: no no, OMG no | 00:45 |
madrazr | I did not say anything about security | 00:45 |
shikher | madrazr: then wat do u mean by lose control? | 00:45 |
madrazr | shikher: it is about not knowing what is going on | 00:45 |
madrazr | shikher: for example, the biggest problem we had for a long time was the way blobstore rewrote HTTP requests | 00:46 |
madrazr | after stripping out the blob content | 00:46 |
madrazr | shikher: on the local SDK it would use Python's email module from standard library to rewrite the HTTP request | 00:46 |
madrazr | and this email module would use the platform specific line endings | 00:47 |
madrazr | which meant on Linux it used LF as line ending | 00:47 |
madrazr | but the RFC for HTTP requests require CRLF as line endings | 00:48 |
madrazr | which broke all our frameworks on SDK when we were developing blobstore related features | 00:48 |
madrazr | this was a major headache | 00:48 |
madrazr | for a long time I had a Django middleware patch for local SDK that would rewrite all the requests again after getting it back from Blobstore to make LF to CRLF | 00:49 |
madrazr | shikher: this is what I mean by losing control of our own data | 00:49 |
madrazr | shikher: we don't know what Blobstore does in between | 00:49 |
madrazr | and we cannot control that | 00:49 |
shikher | madrazr: yes | 00:49 |
madrazr | shikher: avoid blobstore at all costs when you can | 00:50 |
madrazr | jasvir: I think that is a good idea | 00:50 |
jasvir | madrazr: Ok. | 00:51 |
madrazr | jasvir: I may be contradicting myself here | 00:51 |
olly | the first rule of blobstore is you don't use blobstore? | 00:51 |
madrazr | sorry for the confusion | 00:51 |
shikher | madrazr: ok. so we have ndb datastore and drive as the alternatives that I am aware of. any others? | 00:51 |
madrazr | olly: try avoiding blobstore until it becomes inevitable | 00:51 |
jasvir | madrazr: Is that enough for GSoC ? | 00:51 |
madrazr | jasvir: does mentor and student flow list both diff feature | 00:52 |
madrazr | and sub organizations for umbrella orgs? | 00:52 |
jasvir | madrazr: no | 00:52 |
jasvir | madrazr: Only mentor flow list. | 00:52 |
madrazr | jasvir: Ok. I am not contradicting myself then (yet :P) | 00:52 |
madrazr | jasvir: wait, mentor flow lists both of them? | 00:53 |
jasvir | madrazr: Yeah | 00:53 |
madrazr | sub org and diffs? | 00:53 |
madrazr | jasvir: that's weird | 00:53 |
madrazr | jasvir: that's too much for a GSoC I think | 00:53 |
*** MarinersRevenge has quit IRC | 00:53 | |
madrazr | jasvir: I would start a discussion on that on melange-soc-dev | 00:53 |
*** raghunayyar has quit IRC | 00:53 | |
madrazr | jasvir: would you mind starting one please? | 00:53 |
*** samgtr has quit IRC | 00:54 | |
*** KolibriOS|yogev has quit IRC | 00:54 | |
*** downey has quit IRC | 00:54 | |
jasvir | madrazr: https://code.google.com/p/soc/issues/detail?id=1306 and https://code.google.com/p/soc/issues/detail?id=515 | 00:54 |
tpb | <http://ln-s.net/BMv+> (at code.google.com) | 00:54 |
shikher | madrazr: really. I am also planning on doing diffs, but under student flow as students also need to see their previous submissions? please answer my earlier question also. | 00:54 |
*** cosenal has quit IRC | 00:55 | |
jasvir | madrazr: I'll start discussion. | 00:55 |
*** MarinersRevenge has joined #melange | 00:55 | |
*** raghunayyar has joined #melange | 00:56 | |
*** enchilader has joined #melange | 00:56 | |
*** cosenal has joined #melange | 00:56 | |
*** downey has joined #melange | 00:56 | |
*** KolibriOS|yogev has joined #melange | 00:56 | |
*** samgtr has joined #melange | 00:57 | |
madrazr | shikher: which of your earlier questions did I miss? | 00:58 |
shikher | madrazr: ok. so we have ndb datastore and drive as the alternatives that I am aware of. any others? | 00:58 |
shikher | google drive* | 00:59 |
*** denysbut_ has quit IRC | 00:59 | |
madrazr | shikher: why drive again? Enlighten me? | 01:01 |
madrazr | shikher: why not just datastore? | 01:01 |
madrazr | shikher: what's wrong with the datastore? | 01:02 |
shikher | madrazr: nothing wrong. we can use both. because there is no need for unecessary storage on Melange's datastore when we can store it on user's drive. Also, user gets more benefits. | 01:03 |
madrazr | shikher: my argument is, there is no need to bring the complexity of another API | 01:03 |
madrazr | and dependency on it | 01:04 |
madrazr | its outages | 01:04 |
madrazr | and what not | 01:04 |
madrazr | shikher: and why is Melange's datastore "unnecessary storage"? | 01:04 |
madrazr | shikher: how does user get more benefits by storing on drive? | 01:05 |
shikher | madrazr: but its an extra feature tht is really helpful. Importing and exporting proposals from/to Melange wud be awesome. | 01:05 |
*** jasvir has left #melange | 01:05 | |
madrazr | shikher: latter yes | 01:05 |
shikher | most students make proposals on google docs. | 01:05 |
madrazr | but we should do that locally | 01:05 |
madrazr | shikher: we should sync with the drive content | 01:05 |
madrazr | shikher: but not use it to store entirely | 01:05 |
shikher | do u really think the current editor compares anything to the tinyMCE? | 01:05 |
shikher | current google doc editor* | 01:06 |
madrazr | shikher: no | 01:06 |
madrazr | but that is not our goal either | 01:06 |
madrazr | our goal is not to support a full Google Doc style editor | 01:06 |
shikher | madrazr: i agree wid doing both. | 01:06 |
madrazr | I would love to have some of its features | 01:06 |
madrazr | shikher: but we don't want everything from Docs | 01:06 |
madrazr | shikher: my real concern is | 01:07 |
madrazr | shikher: we don't want to create storage dependency on Drive | 01:07 |
shikher | both - datastore and drive. | 01:07 |
shikher | madrazr: drive wud be additional. | 01:07 |
madrazr | shikher: I really hate to tell our mentors and org admins, "Sorry you cannot review the proposals now because Drive is going through an outage" | 01:07 |
madrazr | shikher: it just happened, there was a Sheets outage today | 01:08 |
madrazr | shikher: the problem is | 01:08 |
madrazr | there are two ways of building a system from components | 01:08 |
shikher | madrazr: datastore wud be primary. drive wud be only for the benefits for the students. | 01:08 |
madrazr | shikher: I am not sure what you mean by this? | 01:09 |
*** asmeurer_ has joined #melange | 01:11 | |
shikher | madrazr: melange would access the data using the datastore i.e. rendering, etc. we give an additional option to the student, to save it to his drive. | 01:11 |
*** raghunayyar has quit IRC | 01:11 | |
*** KolibriOS|yogev has quit IRC | 01:12 | |
*** cosenal has quit IRC | 01:12 | |
*** MarinersRevenge has quit IRC | 01:12 | |
*** samgtr has quit IRC | 01:13 | |
*** downey has quit IRC | 01:13 | |
*** raghunayyar has joined #melange | 01:14 | |
*** MarinersRevenge has joined #melange | 01:14 | |
*** samgtr has joined #melange | 01:14 | |
shikher | madrazr: also do u know a good html reverse parse, for rendering proposal in an editor? | 01:15 |
shikher | the editor* | 01:15 |
*** cosenal has joined #melange | 01:15 | |
*** KolibriOS|yogev has joined #melange | 01:16 | |
*** downey has joined #melange | 01:16 | |
madrazr | shikher: I am not too inclined to give the "Also save it drive" feature | 01:20 |
madrazr | shikher: I would say "Sync with your proposal on drive" is a decent enough option | 01:20 |
madrazr | shikher: if that is what you mean | 01:21 |
madrazr | shikher: html reverse parse? | 01:21 |
shikher | madrazr: I know saving to drive is not that useful but why not? sync would be awesome, of course. | 01:22 |
madrazr | shikher: that is true of a lot of other things | 01:22 |
madrazr | shikher: building another email service within Melange is not that useful | 01:22 |
madrazr | but why not? | 01:22 |
madrazr | let us build GMail again | 01:22 |
madrazr | shikher: no? | 01:23 |
shikher | madrazr: for html reverse parse, pardon my lack of technical terminology. currently the tinyMCE editor is converting text to html, right? | 01:23 |
shikher | madrazr: i get ur point about 'why not'. | 01:24 |
madrazr | shikher: it does not really do any conversion | 01:25 |
madrazr | shikher: however, yes. html is the format it uses for mark up | 01:25 |
shikher | madrazr: mark up. yes. thts it. so how do i mark down? | 01:26 |
madrazr | shikher: you just want to strip out all the html tags? | 01:26 |
shikher | madrazr: wat about links and images and tables? | 01:27 |
*** Guest89455 is now known as skullbocks | 01:27 | |
madrazr | shikher: what about them? | 01:27 |
madrazr | shikher: what are you trying to achieve? | 01:27 |
shikher | how does tinyMCE render these? | 01:27 |
*** skullbocks is now known as Guest26346 | 01:27 | |
madrazr | shikher: tinyMCE stores the actual content along with the markup | 01:28 |
shikher | madrazr: before I answer that, can u tell me how are proposals stored in datastore, currently? | 01:28 |
madrazr | shikher: so it knows how to render | 01:28 |
madrazr | shikher: along with the markup | 01:28 |
madrazr | however tinyMCE gives us | 01:29 |
madrazr | shikher: a very very simple experiment to do | 01:29 |
shikher | madrazr: we are storing it with markup right? | 01:29 |
madrazr | or to try it out yourselves is to go to your proposals page | 01:29 |
madrazr | type in some content there | 01:29 |
madrazr | and see the plain text view in your tinyMCE editor | 01:30 |
madrazr | shikher: that should show you the actual marked up format that tinyMCE generates | 01:30 |
*** denysbutenko has joined #melange | 01:30 | |
madrazr | shikher: we take the data in that format, do some cleanups to remove executable JS code and such | 01:31 |
shikher | madrazr: ok. I knw how to approach this now. thnx. | 01:31 |
madrazr | i.e. sanitize the data | 01:32 |
madrazr | and then we store it | 01:32 |
madrazr | thankfully we don't use SQL | 01:32 |
madrazr | which saves from injection attacks | 01:32 |
madrazr | ;-) | 01:32 |
madrazr | *saves us from | 01:32 |
madrazr | shikher: great! NP | 01:32 |
shikher | madrazr: btw there are ways to counter injection attacks. nyways I have a proposal to work on. thnx for ur help, again. :) | 01:33 |
madrazr | shikher: counter? | 01:34 |
shikher | prevent* | 01:34 |
madrazr | shikher: of course | 01:34 |
madrazr | otherwise all the data in this world would have been lost by now | 01:34 |
madrazr | :P | 01:34 |
*** denysbutenko has quit IRC | 01:34 | |
madrazr | because some mom named her son as Robert'); DROP TABLE Students; -- | 01:35 |
madrazr | :P | 01:35 |
madrazr | shikher: xkcd 327 | 01:35 |
madrazr | :P | 01:35 |
madrazr | shikher: also the 400 billion $ ad broker would not have existed today if we did not know how to sanitize our inputs for SQL injection attacks :P | 01:37 |
madrazr | http://research.gigaom.com/2012/05/google-moves-adwords-off-mysql-to-f1/ | 01:37 |
shikher | madrazr: haha! clever artist! | 01:37 |
tpb | <http://ln-s.net/BMxX> (at research.gigaom.com) | 01:37 |
shikher | madrazr: 400 billion. really. i though it was more? | 01:39 |
madrazr | shikher: wait, what? :P | 01:40 |
madrazr | do you know how much money that is? :P | 01:40 |
shikher | do u know we are talking about google right? :P | 01:40 |
*** asmeurer_ has quit IRC | 01:41 | |
madrazr | shikher: of course not ;-) | 01:42 |
man1ac | hello | 01:43 |
madrazr | man1ac: Hi | 01:43 |
man1ac | madrazr: i successfully installed melange, and i want to the bienvenu issue "Lookup Profile - search by email doesn't work". | 01:45 |
man1ac | madrazr: so first i want to locate the html page for admin dashboard. Any idea where that is? | 01:46 |
madrazr | man1ac: https://code.google.com/p/soc/source/browse/app/soc/templates/modules/gsoc/admin/base.html | 01:48 |
tpb | <http://ln-s.net/BMxy> (at code.google.com) | 01:48 |
man1ac | madrazr: thanks, i have been searching for a while now | 01:49 |
madrazr | man1ac: np | 01:49 |
madrazr | man1ac: you should use grep | 01:49 |
madrazr | man1ac: that is the basic basic requirement I would expect from any student | 01:50 |
man1ac | madrazr: copied | 01:50 |
*** matzipan has quit IRC | 01:53 | |
*** matzipan has joined #melange | 01:55 | |
*** devajay has joined #melange | 02:19 | |
devajay | i have submitted my proposal on gsoc for you community | 02:25 |
devajay | but no rply from your metor. | 02:25 |
*** Guest26346 is now known as skullbocks | 02:28 | |
*** kdh-1334 has quit IRC | 02:28 | |
*** skullbocks is now known as Guest84146 | 02:28 | |
*** denysbutenko has joined #melange | 02:31 | |
*** denysbutenko has quit IRC | 02:36 | |
enchilader | madrazr: mind if i ask how many applications you expect to receive, based on previous years? | 02:37 |
*** shikher has quit IRC | 02:37 | |
madrazr | enchilader: for Melange? | 02:37 |
madrazr | or GSoC total? | 02:37 |
enchilader | madrazr: Melange in particular, but I guess I wouldn't turn down the statistics on GSoC as well | 02:38 |
madrazr | enchilader: Melange got 18 proposals last year | 02:39 |
enchilader | madrazr: and how many were accepted? | 02:39 |
madrazr | enchilader: 3 | 02:39 |
madrazr | enchilader: GSoC proposals, I don't know if that number is public | 02:39 |
madrazr | let me check | 02:39 |
madrazr | enchilader: sure you are lucky :) | 02:41 |
madrazr | enchilader: http://google-opensource.blogspot.com/2013/05/students-announced-for-google-summer-of.html | 02:41 |
tpb | <http://ln-s.net/BN0X> (at google-opensource.blogspot.com) | 02:41 |
*** raitech has joined #melange | 02:44 | |
raitech | good evening! | 02:45 |
raitech | I think there is a conflict between what is written in the FAQ | 02:45 |
raitech | and what is written in the intial/default text in "content" field of a proposal form | 02:46 |
raitech | I am trying to send a proposal to OpenBSD, and the first indication that this text gives me | 02:46 |
raitech | is to contact the mentors | 02:47 |
raitech | when what FAQ says is to send the proposal via Melange | 02:47 |
raitech | http://www.google-melange.com/gsoc/document/show/gsoc_program/google/gsoc2014/help_page#14._Should_students_send_proposals | 02:47 |
tpb | <http://ln-s.net/BN17> (at www.google-melange.com) | 02:47 |
*** suranga_ has joined #melange | 02:47 | |
*** trivedigaurav has joined #melange | 02:48 | |
*** Niharika has joined #melange | 02:48 | |
*** raitech has quit IRC | 02:49 | |
*** raitech has joined #melange | 02:50 | |
*** enchilader has quit IRC | 02:55 | |
*** raitech has quit IRC | 02:55 | |
*** raitech has joined #melange | 02:56 | |
*** raitech has quit IRC | 02:59 | |
*** devajay has quit IRC | 03:03 | |
*** enchilader has joined #melange | 03:12 | |
*** Guest84146 is now known as skullbocks | 03:29 | |
*** skullbocks is now known as Guest3800 | 03:29 | |
*** variable has joined #melange | 03:31 | |
*** denysbutenko has joined #melange | 03:32 | |
*** denysbutenko has quit IRC | 03:36 | |
*** ayushk has joined #melange | 03:39 | |
ayushk | madrazr: Hi. I wanted to talk about resource hosting project. Are you available? | 03:39 |
*** asmeurer_ has joined #melange | 03:50 | |
*** Niharika has quit IRC | 03:54 | |
*** Niharika has joined #melange | 03:54 | |
*** Niharika has quit IRC | 03:59 | |
*** shikher has joined #melange | 04:05 | |
shikher | madrazr: Here you go. I know it is not perfect, but your comments would mean a lot. http://www.google-melange.com/gsoc/proposal/review/student/google/gsoc2014/kira_111/5629499534213120 | 04:06 |
tpb | <http://ln-s.net/BN57> (at www.google-melange.com) | 04:06 |
*** skathpalia has quit IRC | 04:08 | |
*** rishabh_ has joined #melange | 04:09 | |
*** variable has quit IRC | 04:11 | |
madrazr | shikher: great! thanks for submitting the proposal | 04:11 |
madrazr | will take a look | 04:11 |
*** asmeurer_ has quit IRC | 04:13 | |
shikher | madrazr: sure. np. :) | 04:18 |
madrazr | ayushk: I should be around for 10 mins now | 04:18 |
madrazr | and then got to run | 04:18 |
*** matzipan has quit IRC | 04:19 | |
ayushk | madrazr: np. When are you available next? I also got to go for class. Will talk to you later. | 04:19 |
*** ayushk has quit IRC | 04:22 | |
*** Guest3800 is now known as skullbocks | 04:30 | |
*** skullbocks is now known as Guest49617 | 04:30 | |
*** Gentlecat has quit IRC | 04:31 | |
*** denysbutenko has joined #melange | 04:32 | |
*** denysbutenko has quit IRC | 04:37 | |
*** enchilader has quit IRC | 04:43 | |
*** madrazr has quit IRC | 04:52 | |
*** edsiper has left #melange | 04:53 | |
*** enchilader has joined #melange | 04:57 | |
*** trivedigaurav has quit IRC | 05:12 | |
*** raghunayyar has quit IRC | 05:17 | |
*** rvraghav93 has quit IRC | 05:24 | |
*** rvraghav93 has joined #melange | 05:27 | |
*** Guest49617 is now known as skullbocks | 05:31 | |
*** skullbocks is now known as Guest63767 | 05:31 | |
*** denysbutenko has joined #melange | 05:33 | |
*** monkegjinni has joined #melange | 05:37 | |
*** denysbutenko has quit IRC | 05:38 | |
*** ayushpix has joined #melange | 05:43 | |
*** pchaigno has joined #melange | 05:54 | |
*** shrihari has joined #melange | 05:55 | |
*** Gentlecat has joined #melange | 06:03 | |
*** suranga_ has quit IRC | 06:15 | |
*** Niharika has joined #melange | 06:15 | |
*** ayushk has joined #melange | 06:17 | |
*** vivekjain has joined #melange | 06:18 | |
*** enchilader has quit IRC | 06:25 | |
*** rishabh_ has quit IRC | 06:29 | |
*** Guest63767 is now known as skullbocks | 06:32 | |
*** skullbocks is now known as Guest97831 | 06:32 | |
*** rocker_ has quit IRC | 06:33 | |
Gentlecat | is comments sorting broken on proposal page? | 06:33 |
olly | Gentlecat: someone earlier said it was alphabetical not by date | 06:34 |
*** denysbutenko has joined #melange | 06:34 | |
olly | and was asked to file a bug IIRC | 06:34 |
Gentlecat | good to know | 06:36 |
*** vivekjain has quit IRC | 06:36 | |
Gentlecat | https://code.google.com/p/soc/issues/detail?id=2120 | 06:36 |
tpb | <http://ln-s.net/BN+S> (at code.google.com) | 06:36 |
*** denysbutenko has quit IRC | 06:38 | |
*** madrazr has joined #melange | 06:48 | |
*** ChanServ sets mode: +o madrazr | 06:48 | |
madrazr | ayushk: ping | 06:48 |
*** pchaigno has quit IRC | 06:51 | |
*** scorche has quit IRC | 07:00 | |
*** scorche has joined #melange | 07:07 | |
ayushk | madrazr: what does this exactly mean - "Page-level Melange code shouldn’t have to care whether files are stored in App Engine’s blobstore, data store, or any place else." It was there on the initial ideas list doc published by nathenial. | 07:09 |
madrazr | ayushk: on the wiki page? | 07:12 |
ayushk | No its on this link - https://docs.google.com/document/d/1ikbv3gKICjk2w6YR5r611ZeGfQX6nDEHcTS87fTUYj0/edit | 07:13 |
tpb | <http://ln-s.net/BN:-> (at docs.google.com) | 07:13 |
*** denysbutenko has joined #melange | 07:14 | |
*** rigelk has joined #melange | 07:14 | |
madrazr | ayushk: why would you worry about it. It was a document that was shared among Melange developers | 07:14 |
madrazr | before flushing out the details | 07:14 |
madrazr | it was basically just a brain-dump of ideas that we had from the All-hands | 07:14 |
madrazr | it was before we even thought about how to present the ideas | 07:15 |
madrazr | in a more approachable form to students | 07:15 |
madrazr | ayushk: anyway | 07:15 |
madrazr | this particular line means that we should build an abstraction for hosting files | 07:15 |
madrazr | and the individual views should not worry about where the files are being stored | 07:16 |
madrazr | and should handle it exactly the same way it handles other data like regular datastore data | 07:16 |
ayushk | madrazr: okay. So can you explain this - "Melange doesn't yet have a subsystem that makes resource ingestion, hosting, and distribution easy for both users and feature developers". What I see is that only upload facility of these files is required - https://code.google.com/p/google-summer-of-code/downloads/list | 07:16 |
tpb | <http://ln-s.net/BCs0> (at code.google.com) | 07:16 |
ayushk | madrazr: upload/download of enrollment form, consent form, project is already there. | 07:17 |
madrazr | ayushk: that is one of the goals yes | 07:17 |
madrazr | ayushk: it is already there in a very crude form | 07:18 |
madrazr | ayushk: just a basic functionality | 07:18 |
madrazr | what we need is a more sophisticated upload/download functionality | 07:18 |
ayushk | madrazr: So do I need to create a generic model(the db.Model) for all files that are uploaded on melange? | 07:20 |
madrazr | ayushk: the same thing I have told you a couple of times before? | 07:20 |
madrazr | ayushk: at least one reference from our conversation http://www.thousandparsec.net/~irc/%23melange/%23melange.2014-03-05.log.html#t2014-03-05T21:33:04 | 07:20 |
tpb | Title: Wednesday, 2014-03-05 (at www.thousandparsec.net) | 07:20 |
madrazr | ayushk: about what we need | 07:20 |
madrazr | ayushk: no no, it cannot be a generic model | 07:21 |
madrazr | ayushk: blobstore references should be isolated or segregated the same way the rest of the data is | 07:21 |
madrazr | ayushk: what we need is for the views to not worry about the intrinsic details of how the blobstore API works | 07:22 |
*** rishabh_ has joined #melange | 07:22 | |
madrazr | ayushk: at views level, all the view should care about is that it has data from the forms | 07:22 |
madrazr | it has to be validated | 07:22 |
madrazr | and if validated it should be stored | 07:22 |
madrazr | or validation error be raised | 07:22 |
madrazr | it shouldn't be necessary for the views to worry about the differences in the Blobstore API | 07:23 |
madrazr | compared to the datastore API | 07:23 |
madrazr | those details should be abstracted away | 07:23 |
ayushk | madrazr: Can you give me a code sample of any view for reference. | 07:23 |
ayushk | ? | 07:23 |
madrazr | ayushk: referencing what? | 07:23 |
ayushk | madrazr: Where abstraction is not present and the view has to take care of differences in the blobstore api and datastore api. | 07:24 |
ayushk | madrazr: just so that I can understand the problem properly | 07:25 |
madrazr | ayushk: didn't I give you the link already? | 07:26 |
madrazr | ayushk: https://code.google.com/p/soc/source/browse/app/soc/modules/gci/views/static_content.py | 07:26 |
tpb | <http://ln-s.net/BNA2> (at code.google.com) | 07:26 |
madrazr | like 10 days back? | 07:26 |
madrazr | http://www.thousandparsec.net/~irc/%23melange/%23melange.2014-03-07.log.html#t2014-03-07T19:55:10 | 07:27 |
tpb | Title: Friday, 2014-03-07 (at www.thousandparsec.net) | 07:27 |
*** robbyoconnor has joined #melange | 07:31 | |
ayushk | madrazr: Can you explain me this code? How is this different from the upload form of student enrollment? | 07:32 |
*** Guest97831 is now known as skullbocks | 07:33 | |
*** skullbocks is now known as Guest1557 | 07:33 | |
*** monkegjinni has quit IRC | 07:42 | |
ayushk | madrazr: I am having trouble figuring out what you said earlier - "it shouldn't be necessary for the views to worry about the differences in the Blobstore API | 07:44 |
ayushk | compared to the datastore API". Please explain. | 07:44 |
madrazr | ayushk: I will turn this around to you and give this as an exercise | 07:48 |
madrazr | ayushk: first exercise for you is to find out where the code is for student enrollment form uploads | 07:49 |
madrazr | clue is the URL | 07:49 |
madrazr | ayushk: what do you want me to explain about it? | 07:50 |
madrazr | ayushk: have you read the blobstore API documentation? | 07:50 |
madrazr | ayushk: and have a rough idea of datastore API? | 07:50 |
*** ayushpix has quit IRC | 07:52 | |
ayushk | madrazr: yes I have read the documentation. I understand how these two are different. What I don't understand is how to make validation same for data coming from both datastore and blobstore? | 07:53 |
*** rigelk has quit IRC | 07:56 | |
ayushk | madrazr: sorry, got to go again. Got a class. I will try to understand what is different in both the cases (static content and enrollment form). I will bug you then. Thanks | 07:57 |
*** ayushk has quit IRC | 07:58 | |
*** denysbutenko has quit IRC | 07:58 | |
*** ayushpix has joined #melange | 08:06 | |
*** monkegjinni has joined #melange | 08:07 | |
*** monkegjinni has quit IRC | 08:08 | |
*** mohit019 has joined #melange | 08:09 | |
*** robbyoconnor has quit IRC | 08:16 | |
*** andrejtokarcik has joined #melange | 08:16 | |
*** andrejtokarcik has joined #melange | 08:16 | |
*** robbyoconnor has joined #melange | 08:16 | |
*** Gentlecat has quit IRC | 08:16 | |
*** shrihari has quit IRC | 08:19 | |
*** ayushpix has quit IRC | 08:20 | |
*** burcin has joined #melange | 08:21 | |
*** Niharika has quit IRC | 08:23 | |
*** Darrel has joined #melange | 08:25 | |
*** Guest1557 is now known as skullbocks | 08:34 | |
*** skullbocks is now known as Guest36257 | 08:34 | |
*** shrihari has joined #melange | 08:42 | |
*** rvraghav93 has quit IRC | 08:56 | |
*** denysbutenko has joined #melange | 09:00 | |
*** pchaigno has joined #melange | 09:05 | |
*** samgtr has joined #melange | 09:08 | |
*** madrazr has quit IRC | 09:16 | |
*** Darrel has quit IRC | 09:16 | |
*** monkegjinni has joined #melange | 09:17 | |
*** monkegjinni has quit IRC | 09:29 | |
*** Guest36257 is now known as skullbocks | 09:35 | |
*** skullbocks is now known as Guest39137 | 09:35 | |
*** robbyoconnor has quit IRC | 09:38 | |
*** jasvir has joined #melange | 09:46 | |
*** andrejtokarcik has quit IRC | 09:53 | |
*** rishy has joined #melange | 09:56 | |
*** robbyoconnor has joined #melange | 10:13 | |
*** rvraghav93 has joined #melange | 10:23 | |
*** ashishk has joined #melange | 10:24 | |
*** robbyoconnor has quit IRC | 10:24 | |
*** mohit019 has quit IRC | 10:30 | |
*** Guest39137 is now known as skullbocks | 10:36 | |
*** skullbocks is now known as Guest71549 | 10:36 | |
*** rvraghav93 has quit IRC | 10:42 | |
*** rvraghav93 has joined #melange | 10:42 | |
*** mohit019 has joined #melange | 10:44 | |
*** jasvir has quit IRC | 10:44 | |
*** jasvir has joined #melange | 10:51 | |
*** robbyoconnor has joined #melange | 10:56 | |
*** bitgeeky has joined #melange | 11:21 | |
*** Guest71549 is now known as skullbocks | 11:37 | |
*** skullbocks is now known as Guest75500 | 11:37 | |
*** jasvir has quit IRC | 11:42 | |
*** ayushpix has joined #melange | 11:51 | |
*** ayushpix has quit IRC | 11:54 | |
*** alexm92_ has joined #melange | 12:00 | |
alexm92_ | hey | 12:00 |
alexm92_ | is there any mentor for GSoC here? | 12:00 |
*** ggherdov has quit IRC | 12:07 | |
*** ggherdov_ has joined #melange | 12:08 | |
*** buildbot_beta has quit IRC | 12:09 | |
*** Niharika has joined #melange | 12:09 | |
*** buildbot_beta has joined #melange | 12:20 | |
*** denysbutenko has quit IRC | 12:26 | |
*** denysbutenko has joined #melange | 12:26 | |
*** Guest75500 is now known as skullbocks | 12:38 | |
*** skullbocks is now known as Guest73874 | 12:38 | |
*** raghunayyar has joined #melange | 12:42 | |
*** alexm92_ has quit IRC | 12:43 | |
*** denysbutenko has quit IRC | 12:47 | |
*** denysbutenko has joined #melange | 12:50 | |
*** suranga_ has joined #melange | 13:04 | |
*** Gentlecat has joined #melange | 13:05 | |
*** denysbutenko has quit IRC | 13:07 | |
*** bitgeeky has quit IRC | 13:14 | |
*** tija has joined #melange | 13:15 | |
*** denysbutenko has joined #melange | 13:15 | |
*** ayushpix has joined #melange | 13:26 | |
*** Guest73874 is now known as skullbocks | 13:39 | |
*** skullbocks is now known as Guest54046 | 13:39 | |
*** jasvir has joined #melange | 13:47 | |
jasvir | olly: hello | 13:48 |
*** ashu has joined #melange | 13:48 | |
jasvir | ashishk: hello | 13:49 |
*** rvraghav93 has quit IRC | 13:50 | |
ashishk | jasvir: hello | 13:55 |
ashishk | jasvir: :) | 13:55 |
jasvir | ashishk: Do you have any idea about extending current test. If we have added a new feature, then we have make new test or we extend previos one? | 13:56 |
*** d33tah has quit IRC | 13:56 | |
ashishk | jasvir: it depends on the feature if test is already present then you have to make some changes in it otherwise you have to create a new test | 13:58 |
jasvir | ashishk: Ok. | 13:59 |
*** skathpalia has joined #melange | 14:05 | |
*** bitgeeky has joined #melange | 14:06 | |
*** denysbutenko has quit IRC | 14:07 | |
*** ayushpix has quit IRC | 14:10 | |
*** denysbutenko has joined #melange | 14:11 | |
*** shikher has quit IRC | 14:12 | |
*** skathpalia has quit IRC | 14:12 | |
*** skathpalia has joined #melange | 14:13 | |
*** ayushpix has joined #melange | 14:15 | |
*** tommy has joined #melange | 14:26 | |
*** Guest40278 has joined #melange | 14:26 | |
*** Guest40278 is now known as TommyN | 14:27 | |
*** pchaigno has quit IRC | 14:32 | |
*** skathpalia has quit IRC | 14:33 | |
*** Guest54046 is now known as skullbocks | 14:40 | |
*** skullbocks is now known as Guest73524 | 14:40 | |
*** ashishk has left #melange | 14:41 | |
*** trivedigaurav has joined #melange | 14:45 | |
*** ayushpix has quit IRC | 14:49 | |
*** trivedigaurav has left #melange | 14:51 | |
*** gosour has joined #melange | 14:56 | |
*** rvraghav93 has joined #melange | 15:01 | |
*** ashu has quit IRC | 15:01 | |
*** rocker has joined #melange | 15:18 | |
*** skathpalia has joined #melange | 15:22 | |
*** samgtr has quit IRC | 15:25 | |
*** ayushpix has joined #melange | 15:26 | |
*** bitgeeky has quit IRC | 15:33 | |
*** raghunayyar has quit IRC | 15:37 | |
*** Guest73524 is now known as skullbocks | 15:41 | |
*** skullbocks is now known as Guest58591 | 15:41 | |
*** durga94 has joined #melange | 15:42 | |
*** ashishk has joined #melange | 15:45 | |
durga94 | Hey, I am interested in working on the project Responsive Layout (https://code.google.com/p/soc/issues/detail?id=1516) as a part of my GSoC Project, Can someone please help me with it? | 15:45 |
tpb | <http://ln-s.net/BNX7> (at code.google.com) | 15:45 |
ayushpix | hi everyone.. I need help......how can I reviewed my proposal ? | 15:51 |
*** burcin has quit IRC | 15:51 | |
*** shikher has joined #melange | 16:01 | |
*** durga94 has quit IRC | 16:08 | |
*** carols has joined #melange | 16:15 | |
rishabh_ | hi ,can anyone tell if there is a way to delete a proposal | 16:22 |
rishabh_ | submitted on melange | 16:22 |
*** ayushpix has quit IRC | 16:24 | |
*** robbyoconnor has quit IRC | 16:24 | |
*** enchilader has joined #melange | 16:24 | |
*** enchilader has quit IRC | 16:34 | |
*** enchilader has joined #melange | 16:34 | |
*** enchilader has quit IRC | 16:41 | |
*** Guest58591 is now known as skullbocks | 16:42 | |
*** denysbutenko has quit IRC | 16:42 | |
*** skullbocks is now known as Guest35567 | 16:42 | |
*** enchilader has joined #melange | 16:43 | |
*** burcin has joined #melange | 16:53 | |
*** rigelk has joined #melange | 16:53 | |
*** rigelk has quit IRC | 16:53 | |
*** rigelk has joined #melange | 16:53 | |
*** pchaigno has joined #melange | 16:57 | |
*** shikher has quit IRC | 16:58 | |
*** ashishk has quit IRC | 16:58 | |
*** hammad_ has joined #melange | 17:00 | |
*** shrihari has quit IRC | 17:00 | |
*** ayushpix has joined #melange | 17:05 | |
TommyN | Hello? | 17:09 |
*** bitgeeky has joined #melange | 17:10 | |
*** rocker has quit IRC | 17:10 | |
*** gosour has quit IRC | 17:11 | |
*** TommyN is now known as TommyBoy | 17:15 | |
*** andrejtokarcik has joined #melange | 17:29 | |
*** andrejtokarcik has joined #melange | 17:29 | |
*** enchilader has quit IRC | 17:32 | |
*** Guest35567 is now known as skullbocks | 17:43 | |
*** skullbocks is now known as Guest57560 | 17:43 | |
*** Niharika has quit IRC | 17:47 | |
*** denysbutenko has joined #melange | 17:48 | |
*** denysbutenko has quit IRC | 17:51 | |
*** denysbutenko has joined #melange | 17:52 | |
*** andrejtokarcik has quit IRC | 17:56 | |
*** ayushpix has quit IRC | 17:56 | |
*** vivekjain has joined #melange | 17:57 | |
*** madrazr has joined #melange | 17:59 | |
*** ChanServ sets mode: +o madrazr | 17:59 | |
*** franklingu has joined #melange | 17:59 | |
franklingu | do we use irc more or emails more when callorating in gsoc | 18:00 |
franklingu | just curious to know | 18:00 |
*** asmeurer_ has joined #melange | 18:00 | |
*** shikher has joined #melange | 18:04 | |
vivekjain | madrazr:Hi | 18:06 |
*** mancoolgunda has joined #melange | 18:11 | |
*** mancoolgunda has left #melange | 18:12 | |
*** ashishk has joined #melange | 18:15 | |
ashishk | madrazr: hi | 18:15 |
*** franklingu has quit IRC | 18:18 | |
*** vivekjain has quit IRC | 18:24 | |
*** asmeurer_ has quit IRC | 18:32 | |
*** Guest57560 is now known as skullbocks | 18:44 | |
*** skullbocks is now known as Guest98131 | 18:44 | |
*** vivekjain has joined #melange | 18:45 | |
TommyBoy | REGISTER inuyasha [email protected] | 18:48 |
*** TommyBoy has quit IRC | 18:51 | |
*** t4nk242 has joined #melange | 18:51 | |
*** t4nk242 is now known as TommyBoy | 18:53 | |
*** nkman has joined #melange | 18:53 | |
man1ac | ashishk: hi | 18:56 |
ashishk | man1ac: hello :) | 18:57 |
man1ac | ashishk: are you interested in melange for gsoc2014 | 18:57 |
ashishk | man1ac: yes sure :p | 18:57 |
man1ac | ashishk: same here. Hope you are having fun running it? | 18:58 |
ashishk | man1ac: yes,melange is a new experience for me :) | 19:01 |
*** jmg_ has joined #melange | 19:02 | |
jmg_ | hello, anyone here that can track down which google account is associated w/ my gsoc account? | 19:02 |
man1ac | man1ac: same here. I am going through the code base, trying to understand the dynamics. | 19:03 |
man1ac | ashishk: same here. I am going through the code base, trying to understand the dynamics. | 19:03 |
*** robbyoconnor has joined #melange | 19:39 | |
*** enchilader has joined #melange | 19:41 | |
*** Guest98131 is now known as skullbocks | 19:45 | |
*** skullbocks is now known as Guest82621 | 19:45 | |
jasvir | madrazr: hello | 19:45 |
*** shikher has quit IRC | 19:47 | |
*** man1ac has quit IRC | 19:51 | |
*** rocker has joined #melange | 19:52 | |
*** nkman has quit IRC | 19:52 | |
*** robbyoconnor has quit IRC | 19:54 | |
*** robbyoconnor has joined #melange | 19:58 | |
*** rigelk has quit IRC | 19:59 | |
*** nkman has joined #melange | 20:02 | |
*** rishabh_ has quit IRC | 20:09 | |
*** rigelk has joined #melange | 20:10 | |
*** rigelk has quit IRC | 20:10 | |
*** rigelk has joined #melange | 20:10 | |
*** ayushk has joined #melange | 20:10 | |
ayushk | madrazr: Hi | 20:11 |
ayushk | madrazr: I have tried to understand both the codes for static files (gci) and enrollment form. | 20:13 |
ayushk | static files - https://code.google.com/p/soc/source/browse/app/soc/modules/gci/views/static_content.py | 20:13 |
tpb | <http://ln-s.net/BNA2> (at code.google.com) | 20:13 |
ayushk | enrollment form - https://code.google.com/p/soc/source/browse/app/soc/modules/gsoc/views/student_forms.py | 20:13 |
tpb | <http://ln-s.net/BNh8> (at code.google.com) | 20:13 |
ayushk | still I don't understand how are these two different. Please help | 20:14 |
*** rvraghav93 has quit IRC | 20:21 | |
*** rvraghav93 has joined #melange | 20:22 | |
*** nkman has quit IRC | 20:23 | |
*** robbyoconnor has quit IRC | 20:26 | |
*** enchilader has quit IRC | 20:26 | |
*** tija has quit IRC | 20:27 | |
*** robbyoconnor has joined #melange | 20:27 | |
*** jmg_ has left #melange | 20:28 | |
*** nkman has joined #melange | 20:30 | |
*** robbyoconnor has quit IRC | 20:42 | |
*** robbyoconnor has joined #melange | 20:42 | |
*** nkman has quit IRC | 20:42 | |
*** Guest82621 is now known as skullbocks | 20:46 | |
*** skullbocks is now known as Guest48369 | 20:46 | |
*** robbyoconnor has quit IRC | 20:48 | |
*** jasvir has left #melange | 20:54 | |
*** vivekjain has quit IRC | 20:55 | |
*** shikher has joined #melange | 20:59 | |
*** pchaigno has quit IRC | 21:00 | |
*** ayushk has quit IRC | 21:10 | |
*** burcin has quit IRC | 21:32 | |
*** hammad_ has quit IRC | 21:39 | |
*** ayushk has joined #melange | 21:42 | |
*** Gentlecat has quit IRC | 21:45 | |
*** Guest48369 is now known as skullbocks | 21:47 | |
*** skullbocks is now known as Guest62117 | 21:47 | |
*** ashishk has left #melange | 21:51 | |
*** shikher has quit IRC | 21:55 | |
*** Guest62117 has quit IRC | 22:02 | |
*** mudler has quit IRC | 22:02 | |
*** mudler has joined #melange | 22:03 | |
*** knowing42 has joined #melange | 22:04 | |
*** knowing42 has left #melange | 22:05 | |
*** carols has quit IRC | 22:07 | |
*** Gentlecat_ has joined #melange | 22:11 | |
*** TommyBoy has quit IRC | 22:17 | |
madrazr | ayushk: they are not different | 22:17 |
madrazr | I never said they were :) | 22:18 |
madrazr | ayushk: what I said were different were the datastore API and the blobstore API | 22:18 |
madrazr | the way we store data into them | 22:18 |
madrazr | and we don't want our views to be worrying about that? | 22:19 |
madrazr | *about those differences I mean | 22:19 |
*** hcurtis0010 has joined #melange | 22:20 | |
ayushk | madrazr: Any file that is uploaded is stored in the blobstore, right? | 22:24 |
ayushk | madrazr: The datastore is not used for storing files. | 22:24 |
madrazr | ayushk: correct | 22:24 |
ayushk | madrazr: so how come views have to worry about the differences? If its a view to upload a file, it will need blobstore api functionality. If its a view for text fields, it will need datastore api functionality. | 22:26 |
*** RaulT has joined #melange | 22:28 | |
madrazr | ayushk: a view will almost never deal with only one thing | 22:28 |
madrazr | ayushk: even if worst comes to worst and the only thing we are doing is file upload | 22:28 |
madrazr | ayushk: we need to use the blobstore API to store the blob content itself into the blobstore | 22:29 |
madrazr | ayushk: and then get the key of that blob in the blobstore and store the key in the datastoe | 22:29 |
madrazr | *datastore | 22:29 |
madrazr | ayushk: we already have to deal with the differences in the two APIs there | 22:29 |
ayushk | madrazr: so what we want is that if a form has, lets say, fields for text input and file upload, then we should be able to handle both of them and save the data accordingly. | 22:31 |
madrazr | ayushk: in a way the individual views do not have to worry | 22:32 |
madrazr | about the differences in the view | 22:32 |
madrazr | *differences in the API | 22:32 |
madrazr | should be abstracted away | 22:32 |
ayushk | madrazr: so basically ithe problem is in the post of every view page. It has to work differently for different forms. | 22:35 |
ayushk | file upload form and text fields form | 22:35 |
ayushk | madrazr: and we want that it works the same way even if its a file upload or a text form. | 22:36 |
*** rishy has quit IRC | 22:47 | |
*** carols has joined #melange | 22:48 | |
*** bitgeeky has quit IRC | 22:50 | |
madrazr | ayushk: correct | 23:00 |
ayushk | madrazr: can you tell from the code of static content page where the problem is - https://code.google.com/p/soc/source/browse/app/soc/modules/gsoc/views/student_forms.py | 23:03 |
tpb | <http://ln-s.net/BNh8> (at code.google.com) | 23:03 |
madrazr | ayushk: problem? | 23:07 |
madrazr | ayushk: what does problem mean in this context? | 23:08 |
*** kdh-1334 has joined #melange | 23:11 | |
*** kdh-1334_ has joined #melange | 23:11 | |
*** ayushk has quit IRC | 23:28 | |
*** rocker has quit IRC | 23:31 | |
*** carols has quit IRC | 23:33 | |
*** ayushk has joined #melange | 23:33 | |
ayushk | madrazr: what will I have to chage in this to make it independent of the api difference? | 23:34 |
madrazr | ayushk: build a layer of abstraction | 23:34 |
madrazr | that saves the data to respective storage infrastructure | 23:34 |
madrazr | depending on the type of data | 23:34 |
madrazr | and can be used by all the views/pages in Melange | 23:35 |
madrazr | instead of each page having to do this | 23:35 |
ayushk | madrazr: so every form submission will go to this layer and then data will be saved by this layer. | 23:35 |
madrazr | ayushk: correct | 23:36 |
ayushk | madrazr: The layer should be able to save data in the datastore and the blobstore as and when required. | 23:36 |
madrazr | ayushk: correct | 23:36 |
*** Gentlecat_ has quit IRC | 23:36 | |
ayushk | madrazr: now its clear to me. About the static files, they are of different languages. So, we can have a field language in the model of the static files. The upload form can have a dropdown to select the language of the file. And when the students download the file, they can select the language and only those files will be listed. | 23:41 |
*** rocker has joined #melange | 23:49 | |
*** rigelk has quit IRC | 23:51 |
Generated by irclog2html.py 2.12.1 by Marius Gedminas - find it at mg.pov.lt!