Wednesday, 2014-04-02

*** tpb has joined #melange00:00
*** Gentlecat has quit IRC01:26
*** madrazr has quit IRC01:33
*** mohit019 has quit IRC01:50
*** joshwambua has joined #melange02:00
*** joshwambua_ has joined #melange02:01
*** joshwambua has quit IRC02:03
*** joshwambua has joined #melange02:03
*** joshwambua_ has quit IRC02:04
*** joshwambua has quit IRC02:07
*** joshwambua has joined #melange02:07
*** joshwambua has quit IRC02:10
*** joshwambua has joined #melange02:14
*** joshwambua has quit IRC02:17
*** vijay13 has joined #melange02:27
*** joshwambua has joined #melange02:40
*** joshwambua has joined #melange02:46
*** joshwambua has quit IRC02:49
*** joshwambua has joined #melange02:54
*** madrazr has joined #melange03:18
*** ChanServ sets mode: +o madrazr03:18
*** madrazr has left #melange03:20
*** joshwambua has quit IRC03:21
*** Niharika has joined #melange03:26
*** robbyoconnor has joined #melange03:36
brlcadoof 500 error: http://www.google-melange.com/gci/dashboard/google/gci201303:36
tpb<http://ln-s.net/Bs61> (at www.google-melange.com)03:37
*** sidthekid has joined #melange03:59
*** sidthekid has quit IRC03:59
*** sidthekid has joined #melange04:00
*** vijay13 has quit IRC04:18
*** vijay13 has joined #melange04:19
*** hammad_ has joined #melange04:21
*** asmeurer_ has quit IRC04:24
*** robbyoconnor has quit IRC04:24
*** museles has quit IRC04:25
*** robbyoconnor has joined #melange04:26
*** joshwambua has joined #melange04:27
*** SinnerShanky has quit IRC04:30
*** SinnerShanky has joined #melange04:31
*** SinnerShanky has quit IRC04:57
*** vijay13 has quit IRC05:07
*** Niharika has quit IRC05:11
*** madrazr has joined #melange05:29
*** ChanServ sets mode: +o madrazr05:29
*** jasvir has joined #melange06:07
jasvirmadrazr: Hi.06:07
madrazrjasvir: Hello06:07
jasvirmadrazr: Our discussion was not completed that day.06:08
jasvirmadrazr: are you available now?06:09
madrazrjasvir: yeah06:09
madrazrsure06:09
jasvirI am trying to make a basic algorithm behind form auto save. But it doesn't seems helpfull.06:10
jasvirWhat I am doing is06:10
jasvirdividing whole procedure in three parts i.e; HTML, JS, Python.06:10
jasvirHTML is part is for calling JS, JS for AJAX calls and python for getting data from AJAX call and store it in JSON file.06:11
jasvirBut I am not able to embed this into scene.06:11
jasvirmadrazr: ^06:11
madrazrjasvir: yeah, I remember you were telling about this06:12
jasvirmadrazr: By embed this into scene, I mean implementing this into work flow behind auto save.06:12
madrazrjasvir: what do you mean by embed into this scene?06:13
madrazrdoes your approach in any other scenario work?06:13
jasvirmadrazr: In melange06:15
jasvirmadrazr: I am implementing it on melange directly.06:15
*** jasvir has quit IRC06:15
*** jasvir has joined #melange06:16
madrazrjasvir: yeah06:16
madrazrthen what other scenario is it working in?06:17
madrazror you mean to say, it doesn't work at all?06:17
jasvirmadrazr: I am not able to draw an algorithm from this.06:18
madrazrjasvir: it is not that tricky06:20
madrazrjasvir: all you need to do is, you need to register onChange event on each of the form field06:20
jasvirmadrazr: in callback?06:21
madrazryou can use jQuery's change() event registration method for this06:21
madrazrfor each form field06:21
madrazrjasvir: yeah06:21
jasvirmadrazr: Ohk06:21
madrazrjasvir: and when the field changes your callback function will be called06:21
madrazrwhich updates the dirty state06:21
madrazrjasvir: dirty can be as simple as a boolean variable06:22
madrazrtrue or false06:22
jasvirmadrazr: didn't get you here06:22
madrazrjasvir: if there are no new changes after you have saved, dirty = false06:22
madrazrwhen something changes in the form after you saved last time06:22
madrazryou set dirty = true06:22
madrazrand you check once every 30 seconds06:22
madrazror let's say one min06:22
madrazr*one minute06:23
jasvirmadrazr: Ok06:23
madrazrand if the state is dirty = true for more than 1 minute you will send the data to backend06:23
madrazri.e. python to store it06:23
madrazrand python stores it in the datastore06:23
madrazrjasvir: makes sense?06:24
jasvirmadrazr: how it'll store data?06:26
jasvirmadrazr: in json file?06:26
*** hammad_ has quit IRC06:29
madrazrjasvir: JSON file?06:31
madrazrwhat is JSON file for?06:31
madrazrI said "and python stores it in the datastore"06:32
madrazrjasvir: you should store it in datastore06:32
madrazrjasvir: App Engine does not give filesystem access06:32
*** jasvir has quit IRC06:33
*** jasvir has joined #melange06:34
jasvirmadrazr: Ohk06:38
jasvirmadrazr: Please suggest me, from where I should start? JS or Python?06:39
madrazrjasvir: JS side06:40
madrazrbecause that is the easier part06:40
madrazrjasvir: wait06:40
madrazrjasvir: storing is the difficult part06:41
madrazrbecause you cannot directly store the half-filled form into the App Engine model as an entity directly06:41
madrazrbecause validation fails06:41
jasvirmadrazr: Oh yeah! That was what I wanted to ask.06:42
*** rocker has joined #melange06:43
*** vijay13 has joined #melange06:43
madrazrjasvir: for JS side06:44
*** thedarki has joined #melange06:44
madrazrlook at garlic.js06:44
madrazrit is simple06:44
madrazrabout 400 lines of Javascript code06:44
madrazryou should be able to simply re-use it06:44
madrazrand be able to make AJAX calls to the server06:45
madrazrinstead of using local storage06:45
*** suranga has quit IRC06:45
madrazrwhoa!06:45
madrazrlook at that!06:45
madrazryou can even redefine your own storage06:45
madrazrit is well abstracted out06:45
madrazrway to go garlic.js06:45
madrazrjasvir: https://github.com/guillaumepotier/Garlic.js/blob/master/garlic.js06:46
tpbTitle: Garlic.js/garlic.js at master · guillaumepotier/Garlic.js · GitHub (at github.com)06:46
madrazrjasvir: look at line 1706:46
madrazrhttps://github.com/guillaumepotier/Garlic.js/blob/master/garlic.js#L1706:46
tpbTitle: Garlic.js/garlic.js at master · guillaumepotier/Garlic.js · GitHub (at github.com)06:46
jasvirit is for localstorage.06:47
jasvirwe need to replace this06:47
jasvirright?06:47
jasvirmadrazr: ^06:47
madrazrjasvir: yeah06:48
jasvirmadrazr: Should I start with understanding garlic.js now?06:53
*** monkegjinni has joined #melange06:58
*** thedarki has quit IRC07:05
brlcadmadrazr: known issue? 500 error: http://www.google-melange.com/gci/dashboard/google/gci201307:06
tpb<http://ln-s.net/Bs61> (at www.google-melange.com)07:06
*** jasvir has left #melange07:10
*** monkegjinni has quit IRC07:12
madrazrbrlcad: yeah07:15
madrazrbrlcad: most GCI pages give 500 if you are signed in07:15
madrazrbrlcad: if you want to access tasks07:15
madrazrbrlcad: please visit the same pages by not signing into your Google account07:15
madrazrbrlcad: sadly Dashboard is not one of those pages that can be accessed by not signing in07:16
*** monkegjinni has joined #melange07:19
*** museles has joined #melange07:26
*** joshwambua has quit IRC07:26
*** madrazr has quit IRC07:31
*** thedarki has joined #melange07:33
*** rusnic has joined #melange07:43
*** sidthekid has quit IRC07:54
*** sidthekid has joined #melange07:56
*** rishy has joined #melange08:04
*** vijay13 has quit IRC08:04
*** rishabh has joined #melange08:16
*** samgtr has joined #melange08:17
*** monkegjinni has quit IRC08:36
*** rusnic has quit IRC08:43
*** rusnic has joined #melange08:47
*** rusnic has quit IRC08:49
*** rocker has quit IRC08:55
*** jasvir has joined #melange09:31
*** rusnic has joined #melange09:49
*** jasvir has quit IRC09:50
*** jasvir has joined #melange09:51
*** rusnic has quit IRC09:54
*** jasvir has left #melange09:58
*** Darrel has quit IRC10:18
*** Darrel has joined #melange10:18
*** sidthekid has quit IRC10:26
*** rishabh has quit IRC11:09
*** Gentlecat has joined #melange11:13
*** monkegjinni has joined #melange11:35
*** sidthekid has joined #melange11:41
*** monkegjinni has quit IRC11:45
*** rusnic has joined #melange11:45
*** monkegjinni has joined #melange11:47
*** rocker has joined #melange12:06
*** rishabh has joined #melange12:18
*** Niharika has joined #melange12:23
*** rishy has quit IRC12:47
*** BlankVerse has joined #melange12:47
*** suranga has joined #melange13:00
*** andymitrich has joined #melange13:01
andymitrichHello, guys. I've decided to contribute to Melange. As I understood, I can start from http://code.google.com/p/soc/wiki/GettingStarted and http://code.google.com/p/soc/issues/list , right?13:05
tpb<http://ln-s.net/2kv-> (at code.google.com)13:05
*** BlankVerse has quit IRC13:11
andymitrichtpb: Thank you, but I've posted this link in my question :) Is there some description of statuses and types of issues? I mean "defect" and "Acknowledged" and so on?13:22
*** monkegjinni has quit IRC13:25
Niharikaandymitrich: tpb is a bot. :)13:27
andymitrichNiharika: Oh... lol :)13:27
andymitrichNiharika: Thank you for explanation13:28
Niharikaandymitrich: No problem.13:29
andymitrichI don't understand: can I contribute to Melange if I don't take part in GSoC?13:37
Niharikaandymitrich: Sure you can.13:41
andymitrichNiharika: Through patching or directly to code?13:41
gevaertsYou won't get direct commit access immediately, but that's not something that's different between GSoC and non-GSoC13:42
andymitrichgevaerts: Well, I will try :)13:57
*** rusnic has quit IRC13:59
*** SinnerShanky has joined #melange14:04
*** rocker has quit IRC14:06
*** joshwambua_ has joined #melange14:06
*** SinnerShanky has quit IRC14:17
*** SinnerShanky has joined #melange14:17
*** shikher has joined #melange14:17
*** robbyoconnor has quit IRC14:21
*** joshwambua_ has quit IRC14:24
*** rocker has joined #melange14:25
*** monkegjinni has joined #melange14:31
*** Gentlecat has quit IRC14:32
*** samgtr has quit IRC14:35
*** monkegjinni has quit IRC14:37
*** joshwambua has joined #melange14:41
*** SinnerShanky has quit IRC14:46
*** rocker has quit IRC14:48
*** SinnerShanky has joined #melange14:51
*** SinnerShanky has quit IRC14:57
*** joshwambua has quit IRC14:59
*** SinnerShanky has joined #melange15:02
*** monkegjinni has joined #melange15:02
*** monkegjinni has quit IRC15:17
*** SinnerShanky has quit IRC15:27
*** SinnerShanky has joined #melange15:28
*** jasvir has joined #melange15:38
*** andymitrich has quit IRC15:38
*** joshwambua has joined #melange15:41
*** joshwambua has quit IRC15:44
*** joshwambua has joined #melange15:45
*** SinnerShanky has quit IRC15:48
*** SinnerShanky has joined #melange15:48
*** rishy has joined #melange15:53
*** SinnerShanky is now known as SinnerShanky_15:55
*** SinnerShanky has joined #melange16:22
*** SinnerShanky_ has quit IRC16:25
*** heller has quit IRC16:26
*** heller has joined #melange16:28
*** thedarki has quit IRC16:38
*** thedarki has joined #melange16:39
*** SinnerShanky has quit IRC16:42
*** SinnerShanky has joined #melange16:43
*** thedarki has quit IRC16:43
*** joshwambua_ has joined #melange16:47
*** joshwambua has quit IRC16:49
*** joshwambua_ has quit IRC16:50
*** joshwambua has joined #melange16:50
*** Gentlecat has joined #melange16:51
*** SinnerShanky has quit IRC16:57
*** SinnerShanky has joined #melange17:01
*** gevaerts has quit IRC17:04
*** SinnerShanky has quit IRC17:05
*** SinnerShanky_ has joined #melange17:05
*** ashishk has joined #melange17:06
*** gevaerts has joined #melange17:11
*** ashishk has quit IRC17:12
*** rocker has joined #melange17:28
*** scorche has quit IRC17:29
*** scorche` has joined #melange17:29
*** gevaerts has quit IRC17:35
*** SinnerShanky_ has quit IRC17:38
*** thedarki has joined #melange17:39
*** gevaerts has joined #melange17:43
*** shikher has quit IRC17:47
*** thedarki has quit IRC17:49
*** Niharika has quit IRC17:55
*** ashishk has joined #melange17:56
*** rishabh has quit IRC17:59
*** asmeurer__ has joined #melange18:00
*** thedarki has joined #melange18:15
*** monkegjinni has joined #melange18:16
*** monkegjinni has quit IRC18:19
*** thedarki has quit IRC18:20
*** kdh-1334_ has quit IRC18:20
*** kdh-1334 has quit IRC18:20
*** thedarki has joined #melange18:21
*** ashishk has quit IRC18:21
*** monkegjinni has joined #melange18:21
*** ashishk has joined #melange18:22
*** joshwambua has quit IRC18:22
*** asmeurer__ has quit IRC18:24
*** thedarki has quit IRC18:26
*** thedarki has joined #melange18:27
*** madrazr has joined #melange18:29
*** ChanServ sets mode: +o madrazr18:29
madrazrjasvir: ping18:29
jasvirmadrazr: hello18:30
madrazrwhat are you "studying" about garlic.js?18:30
madrazrjasvir: doesn't it take like 30 mins to an hour to just scan through the code?18:30
jasvirmadrazr: I am just understanding what is going on and how18:30
madrazryou don't have to understand it line by line18:30
*** kdh-1334_ has joined #melange18:30
madrazrall you need to know is how to implement your own storage methods18:30
*** kdh-1334 has joined #melange18:31
jasvirmadrazr: ok18:31
*** hammad_ has joined #melange18:34
*** joshwambua has joined #melange18:35
*** hammad_ is now known as hammad18:36
ashishkmadrazr: hi18:36
*** joshwambua has quit IRC18:39
madrazrashishk: Hi18:39
*** joshwambua has joined #melange18:39
ashishkregarding toggle button on list students page18:39
ashishkI need 1. jsoncontext of current page18:40
ashishk2. how to update the jsoncontext of the current page with the new one18:40
ashishkmadrazr: can you help me with this18:40
*** hammad is now known as hammad_18:41
*** joshwambua_ has joined #melange18:43
*** joshwambua has quit IRC18:43
madrazrashishk: sure18:44
madrazrashishk: what does update jsonContext of the current page with new one?18:44
madrazrashishk: elaborate it a bit?18:44
madrazrmay be tell us what you are doing in detail?18:44
ashishkmadrazr: I have two classes with two different urls,each shows  lists on their pages18:45
ashishkmadrazr: Now I want to create a button on one page which onclicking change the content of the current list into other18:45
ashishkso for that,I need to get the jsoncontext from the second page and need to update the jsoncontext of the current page18:46
*** joshwambua_ has quit IRC18:46
*** joshwambua has joined #melange18:47
ashishkbtw,I have approached it using a flag here https://gist.github.com/coolyashish/994031018:47
tpbTitle: gist:9940310 (at gist.github.com)18:47
ashishkmadrazr: can you please look at it18:47
*** joshwambua has quit IRC18:47
*** joshwambua has joined #melange18:47
ashishkmadrazr: Here ,I have maintained a flag which toggles between 0 and 1 as user requests for different lists18:48
*** joshwambua has quit IRC18:51
*** joshwambua has joined #melange18:54
*** thedarki_ has joined #melange19:18
*** thedarki has quit IRC19:20
*** thedarki has joined #melange19:34
*** thedarki_ has quit IRC19:35
ashishkmadrazr:I have updated my app folder as my appengine project on test-ak8.appspot.com,but in my datastore viewer there is no table except site19:35
*** Gentlecat has quit IRC19:38
*** jasvir has quit IRC19:41
*** kdh-1334 has quit IRC19:46
*** kdh-1334_ has quit IRC19:46
*** thedarki_ has joined #melange19:47
*** thedarki has quit IRC19:49
*** ashishk has quit IRC19:57
*** vijay13 has joined #melange19:57
*** rocker has quit IRC19:58
*** kdh-1334 has joined #melange20:04
*** joshwambua has quit IRC20:04
*** vijay13_ has joined #melange20:06
*** thedarki has joined #melange20:30
*** kdh-1334 has quit IRC20:30
*** thedarki_ has quit IRC20:32
*** kdh-1334 has joined #melange20:40
*** kdh-1334 has quit IRC20:41
*** kdh-1334 has joined #melange20:41
*** thedarki_ has joined #melange20:44
*** thedarki has quit IRC20:47
*** glenfe has joined #melange20:55
*** kdh-1334 has quit IRC21:03
*** thedarki has joined #melange21:09
*** thedarki_ has quit IRC21:11
*** Gentlecat has joined #melange21:12
*** vijay13 has quit IRC21:13
*** vijay13_ has quit IRC21:13
*** vijay13 has joined #melange21:15
*** vijay13_ has joined #melange21:16
*** vijay13_ has joined #melange21:16
*** thedarki_ has joined #melange21:16
*** thedarki has quit IRC21:18
*** hammad_ has quit IRC21:29
*** RaulT has joined #melange21:31
*** Gentlecat has quit IRC21:42
*** thedarki_ has quit IRC21:48
*** thedarki has joined #melange21:49
*** RaulT has quit IRC21:52
*** RaulT has joined #melange21:53
*** thedarki has quit IRC21:53
*** monkegji_ has joined #melange21:55
*** monkegjinni has quit IRC21:55
*** rishy has quit IRC22:07
*** dblia has quit IRC22:24
*** dblia has joined #melange22:24
*** monkegjinni has joined #melange22:27
*** monkegji_ has quit IRC22:31
*** monkegjinni has quit IRC22:36
*** monkegjinni has joined #melange22:40
*** thedarki has joined #melange22:41
*** thedarki has quit IRC22:45
*** monkegjinni has quit IRC23:51
*** kdh-1334 has joined #melange23:59

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