*** tpb has joined #melange | 00:00 | |
*** madrazr has joined #melange | 00:41 | |
*** schultmc1 has joined #melange | 02:15 | |
*** madrazr has left #melange | 02:23 | |
*** schultmc has quit IRC | 02:26 | |
*** dmitrig01|afk has quit IRC | 02:36 | |
*** dmitrig01|afk has joined #melange | 02:37 | |
*** ChanServ sets mode: +v dmitrig01|afk | 02:37 | |
*** dr__house has joined #melange | 02:40 | |
*** dhaun has joined #melange | 02:43 | |
*** tpb has joined #melange | 07:23 | |
*** SRabbelier has joined #melange | 07:26 | |
*** ChanServ sets mode: +o SRabbelier | 07:26 | |
*** madrazr has joined #melange | 08:05 | |
*** dhans has joined #melange | 08:25 | |
*** dhans has quit IRC | 08:38 | |
*** schultmc1 is now known as schultmc | 09:02 | |
*** dhans has joined #melange | 09:08 | |
madrazr | SRabbelier: Hi | 09:58 |
---|---|---|
madrazr | solydzajs: Hi | 09:58 |
solydzajs | madrazr: hi there, I will be back after food, in 50 minutes | 09:59 |
madrazr | solydzajs: sure take time | 10:00 |
madrazr | will be talking to SRabbelier in mean time if he is here | 10:01 |
Merio | Hi madrazr ^_^ | 10:01 |
madrazr | Merio: Heya! | 10:02 |
madrazr | Merio: how are you? how are the preps going? | 10:02 |
Merio | madrazr: hi ^_^ I think all well, I've studied a lot about the data model.. and about Python :P Still need more study of GAE, but two days are enough :) | 10:03 |
Merio | madrazr: What about you? | 10:04 |
madrazr | previous 2 I had some coding experience, have some experience with GAE too, but never wrote code to project that is as big as Melange | 10:05 |
madrazr | so have may have to refer the docs very often | 10:05 |
madrazr | Merio: ^ | 10:06 |
Merio | madrazr: we all have to do it ... and also I think this is an opportunity for us to help the wiki docs. We're "beginners" (each of us in some field) so we can understand better which parts of the wiki can be enhanced to help.. well... beginners ^__^ | 10:07 |
madrazr | Merio: definitely | 10:08 |
dr__house | Merio: SRabbelier: There has been a power cut at madrazr's place and has lost the connection | 10:17 |
dr__house | Merio: SRabbelier: sorry for the inconvenience | 10:18 |
Merio | dr__house: oh sorry about that :( | 10:19 |
dr__house | Merio: heh, there's nothing to be sorry about, its just a power cut :P | 10:19 |
Merio | dr__house: Yes, but it's annoying :) Everything that makes me loose or having an hiccup Internet connection always makes me feel angry :) | 10:22 |
Merio | dr__house: too much addicted :P | 10:22 |
dr__house | Merio: same here and same for madrazr | 10:22 |
*** madrazr has quit IRC | 10:27 | |
*** forever has quit IRC | 10:27 | |
*** dr__house has quit IRC | 10:49 | |
*** dr__house has joined #melange | 10:50 | |
*** madrazr has joined #melange | 11:16 | |
*** solydzajs has quit IRC | 11:18 | |
madrazr | Merio: sorry for what happened | 11:21 |
madrazr | back now | 11:21 |
*** dr__house has quit IRC | 11:28 | |
*** dr__house has joined #melange | 11:28 | |
SRabbelier | madrazr: wb | 11:50 |
madrazr | SRabbelier: thanks :D | 11:56 |
Merio | madrazr: np wb :) | 11:59 |
madrazr | Merio: thanks! | 12:01 |
*** MatthewWilkes has quit IRC | 14:02 | |
dhans | Merio: ping? :) | 14:13 |
Merio | dhans: pong! | 14:23 |
Merio | dhans: how do you do? :) | 14:24 |
dhans | Merio: great, thank you:) | 14:24 |
dhans | Merio: at last we may talk about our projects...:) | 14:24 |
Merio | dhans: yeah, sounds great ^__^ | 14:24 |
dhans | Merio: if you have some time of course... | 14:24 |
Merio | dhans: just wait 10 minutes and I'll be right back :) | 14:26 |
dhans | Merio: sure:) | 14:26 |
Merio | dhans: can't explain in public my current needs :P | 14:26 |
Merio | dhans: brb :) | 14:26 |
dhans | Merio: :D | 14:26 |
*** madrazr1 has joined #melange | 14:28 | |
*** madrazr has quit IRC | 14:28 | |
*** madrazr1 is now known as madrazr | 14:29 | |
*** madrazr1 has joined #melange | 14:33 | |
*** madrazr has quit IRC | 14:34 | |
*** madrazr1 is now known as madrazr | 14:34 | |
*** tuxmaniac has joined #melange | 14:37 | |
*** tuxmaniac has left #melange | 14:38 | |
*** James--Crook has joined #melange | 14:43 | |
James--Crook | Hi dhans. How are things going? | 14:44 |
Merio | dhans: back :) | 14:44 |
Merio | James--Crook: hi!!! Good evening :) | 14:44 |
dhans | Merio: ok:) | 14:45 |
James--Crook | Hi merio. At last you and dhans meet on irc. | 14:45 |
Merio | James--Crook: yes we did it, we're going to talk about the project :) | 14:45 |
James--Crook | So, is it helpful for me to be involved, or just let you two talk and come back later? | 14:46 |
* James--Crook waves to dhans | 14:46 | |
dhans | James--Crook: hello:) | 14:46 |
Merio | James--Crook: to me it would be very fine if you want to be involved :) | 14:46 |
dhans | James--Crook: the same for me | 14:46 |
James--Crook | OK, so dhans, first an update.... we're going to get a simpler stat from GAE as our first goal. | 14:47 |
James--Crook | The one on the wiki involves more than one model. | 14:47 |
James--Crook | WE're going to go instead for the percentage of students undergrad/msc/phd | 14:48 |
James--Crook | so just one model to look at. | 14:48 |
James--Crook | dhans: how far are you into undertsnading what is needed to extarct a statistic like that and get it into memcahce? | 14:49 |
James--Crook | dhans??? ^^ | 14:50 |
dhans | James--Crook: I am far with extracting this kind of data from model and putting it in our new model, but it shouldn't be so difficult to put it into memcache, i think... | 14:50 |
dhans | James--Crook: so we are not going to put our json data into 'standard' model? just into memcache? | 14:51 |
Merio | dhans: yes, it's a sort of one-liner | 14:51 |
Merio | dhans: I think we'll be doing both | 14:51 |
James--Crook | We have a choice. | 14:52 |
James--Crook | dhans standard model - please elaborate. | 14:52 |
dhans | James--Crook: I mean database | 14:53 |
James--Crook | We will have a model for collected stats. | 14:54 |
James--Crook | It will contain JSONified stats. | 14:54 |
dhans | Because when I saw the json data format on the wiki page, I thought we could add just one new model and put there a lot of various stats | 14:54 |
dhans | James--Crook: exactly:) | 14:54 |
James--Crook | exactly. | 14:54 |
Merio | dhans: I think we're going to check if the JSON it's in the memcache, if it's not we'll fallback to a "JSONstat" instance | 14:54 |
dhans | Merio: ok | 14:55 |
Merio | dhans: actually, it'd be more elaborate, but that's the basic thing | 14:55 |
James--Crook | So, what are the fields of this model? | 14:55 |
James--Crook | Do either of you chip in.... | 14:56 |
dhans | James--Crook: I thought about something like 'stat name', 'stat data' (json string) and maybe date | 14:56 |
James--Crook | stat-name will work fine - we can use it to select what stat we are collecting. | 14:56 |
James--Crook | I think there are two json strings, one for the full JSON object, and one for the stats as built so far. | 14:57 |
*** madrazr1 has joined #melange | 14:57 | |
James--Crook | There may or may not be an additional field that tells us how far through collecting we are. | 14:58 |
James--Crook | We could have that as a separate field, or we could put it into the JSON string. | 14:58 |
James--Crook | I'm inclined to have it as a separate field so that we don't have to parse the JSON string within the python code. | 14:59 |
dhans | James--Crook: 'and one for the stats as built so far' - I am not sure if I get it... | 14:59 |
Merio | James--Crook: I think it would be good if we put it in both | 14:59 |
James--Crook | Well, we're building the JSON up say 50 records at a time. | 14:59 |
James--Crook | So let us say there are 1000 records. | 14:59 |
Merio | James--Crook: that way we have it available for Python, and we don't have to send a separate "context variable" to JavaScript if we're going to have a check panel | 14:59 |
*** madrazr has quit IRC | 15:00 | |
*** madrazr1 is now known as madrazr | 15:00 | |
James--Crook | Merio: OK sounds good. | 15:00 |
James--Crook | Then one JSON field will have the full 1000 records, as collected last time. | 15:00 |
James--Crook | The othe rmight only have 350 - those collected so far. | 15:00 |
James--Crook | After collecting another batch it goes up to 400. | 15:01 |
James--Crook | Eventually it reaches 1000 and is copied into the 'master' copy too. | 15:01 |
James--Crook | dhans: does that make sense to you? | 15:01 |
dhans | James--Crook: ok, i get it know. I thought it would be possible to prepare the whole json object first and then put it into a model field | 15:02 |
James--Crook | Would be nice if we could... but I think GAE may not give us enough time. | 15:02 |
James--Crook | At least for some stats at any rate. | 15:02 |
James--Crook | So this gives us a way to store it between getting turns at collecting.... | 15:03 |
dhans | James--Crook: I thought that cron jobs don't have those limitations, but sure | 15:03 |
James--Crook | Nope, I think they do. I could easily be wrong. If I am please point me at documentation that shows it... | 15:04 |
James--Crook | The thing we really really need to get started is some JSON object in memcache, and some page that serves it. | 15:05 |
dhans | James--Crook: I am not sure either:) but I will look into it | 15:05 |
James--Crook | It is then possible for the two of you to develop new features with less dependency on each other. | 15:05 |
James--Crook | Either can add new stats to collect or new ways to display stats. | 15:05 |
James--Crook | So, it is how to get to that stage. And I suppose more importantly, what if any blocks are there to getting there that we can deal with.... | 15:06 |
Merio | James--Crook: what do you mean? | 15:08 |
*** madrazr1 has joined #melange | 15:08 | |
James--Crook | Let me put it as a question. Could you code that new model (to hold the JSON) and get it putting that data into a memcache right now? | 15:10 |
dhans | James--Crook: i think it's not so difficult;) | 15:10 |
James--Crook | Good. Merio? | 15:11 |
James--Crook | dhans: would you be able to start on it tonight? | 15:11 |
Merio | James--Crook: mee too | 15:11 |
James--Crook | Merio about how long would it take you, do you reckon, assuming no unexpected difficulties. | 15:12 |
dhans | James--Crook: I thought about starting tomorrow in the morning, but I think I can do some stuff tonight | 15:12 |
James--Crook | dhans: OK, if you started tomorrow morning, about how long would you expect it to take? | 15:12 |
James--Crook | Merio: are there any missing pieces of information that you would need? | 15:13 |
dhans | James--Crook: assuming no unexpected difficulties I think it's one day job | 15:13 |
dhans | James--Crook: another question about the new model... | 15:13 |
James--Crook | Dhans are there any missing pieces of information that you would need? | 15:13 |
James--Crook | dhans: go on... | 15:14 |
dhans | James--Crook: as I understand, we have one field with the stats that were completely collected some time ago | 15:14 |
Merio | James--Crook: never coded a line of python, so I don't really know how much time it would get... perhaps one day or two, because... well, getting to work on a new language is an expected difficulty ^__^ | 15:14 |
dhans | James--Crook: and the second one is some kind of temporary field for the data that is collected right now, ok? | 15:15 |
Merio | James--Crook: but the logic behind is very simple, language it's my variable ^_^ | 15:15 |
James--Crook | (what I am currently thinking is that Merio writes up the model on the wiki, and dhans puts the code in, then merio adds a second statistic and the whole thing gets a code review) | 15:15 |
*** dbentley-laptop has joined #melange | 15:15 | |
James--Crook | all in about 3 days time... | 15:15 |
James--Crook | dhans: yes. | 15:16 |
dhans | James--Crook: ok, but I also thought about projecting the model so that it stores history of statistics (that's why I wanted to add creation date) | 15:17 |
James--Crook | dhans: is JSON the right choice for the temporary? | 15:17 |
dhans | James--Crook: not really:) | 15:18 |
Merio | dhans: yes, timestamp is needed | 15:18 |
James--Crook | dhans: most of our stats are constant once created and don't have history. I think we should do a 'spike solution' that does not support time varying stats, just a snapshot of current state. Then later we elaborate. | 15:19 |
dhans | James--Crook: ok | 15:19 |
James--Crook | dhans: is there a better choice for the temporary? | 15:20 |
Merio | James--Crook: we can put it in the data model, even if not used at the moment | 15:20 |
dhans | James--Crook: pure string?:) | 15:20 |
James--Crook | Merio: yes. But that is time of collection isn't it? | 15:21 |
dhans | James--Crook: or better some kind of object | 15:21 |
Merio | James--Crook: yes, then we'll have the timestamp in the JSON | 15:21 |
James--Crook | dhans: but then different object types for different stats? Can we put different types of objects in the same field? | 15:21 |
dhans | James--Crook: can we put a dictionary in a model field? | 15:22 |
James--Crook | Very probably yes. Of course we shouldn't then try and index it :-) | 15:23 |
James--Crook | (GAE index that is) | 15:23 |
James--Crook | If we can put a (generic) python object in in some way, then fine. | 15:24 |
Merio | dhans: is the blob type suitable? | 15:24 |
James--Crook | If not, we encode the information in a string somehow. | 15:24 |
Merio | dhans: I don't really know | 15:24 |
James--Crook | dhans: can you look into it and make a choice and write it up on the wiki? | 15:24 |
dhans | James--Crook: ok | 15:24 |
*** madrazr has quit IRC | 15:25 | |
Merio | dhans: perhaps after a serialization or something | 15:25 |
dhans | Merio: yes | 15:26 |
James--Crook | Right. I think we are clear than as to how things progress - dhans is doing the first cut, meanwhile mario is updating the wiki with the model, then mario is adding one more stat, then we check in with each other and see how things are going. | 15:26 |
James--Crook | sound right to everyone? | 15:26 |
Merio | James--Crook: to me yes | 15:26 |
dhans | James--Crook: Just to clarify for me...:) | 15:27 |
James--Crook | please... | 15:27 |
dhans | James--Crook: do you want me to write some kind of logic that gather data from model, count stats (for example student/country), and finally puts them into a json object? | 15:28 |
James--Crook | Yes. And it will be a stat that can be gathered form just one model. | 15:28 |
Merio | dhans: out spike solution it's simply to gather statistics on students deegree. That way we'll be looking only in one entity model | 15:29 |
James--Crook | So in a bit more detail... There will be a page | 15:29 |
Merio | dhans: So it's simpler | 15:29 |
dhans | Merio: ok | 15:29 |
James--Crook | with a button on it... | 15:29 |
James--Crook | actually two buttons (or more) | 15:29 |
James--Crook | click to clear stats (for test purposes only. Will not normally be needed otherwise) | 15:30 |
James--Crook | click to collect one batch of stats, using the name we chose for the stats. will collect say 50 records and combine the information into the working data field. | 15:31 |
dhans | James--Crook: and I think there should be also some info how much records have been collected | 15:32 |
dhans | James--Crook: just to tell the admin when he or she should stop clicking:) | 15:32 |
James--Crook | Yep. Logic updates it, and ideally we see it on the page with the buttons. | 15:33 |
James--Crook | We also need a page to show the contents of the final JSON field. | 15:33 |
James--Crook | And I think (for our own development and diagnostics) we should have a page for viewing the page of work in progress. | 15:33 |
Merio | If we go communicating all the way with JSONs we can have a single page and use it Ajaxy way | 15:33 |
James--Crook | So that will be JSONiified then , even if stored in some other format. | 15:33 |
James--Crook | Merio - yes. Dual function. Works in a job way and ain an ajaxy way. win-win. | 15:34 |
James--Crook | dhans: so three pages currently... | 15:34 |
James--Crook | One other reason for the work in progress page is... | 15:35 |
dhans | James--Crook: ok, but i am not string with ajax ;/ | 15:35 |
Merio | dhans: what do you mean? | 15:35 |
James--Crook | that it means testing of any stats display can be done with partial stats too... so quicker to do quick tests.... | 15:36 |
James--Crook | dhans: Mario will be showing you ajax tricks, and you will be teaching him about python :-) | 15:36 |
James--Crook | It's a very good combination. | 15:37 |
dhans | Merio: I mean that a single page that uses JSONs in Ajaxy way wouldn't be simple for me to write | 15:37 |
James--Crook | dhans: in the end it will be, but not at the moment. Hence the division of work in the first stages. | 15:37 |
dhans | James--Crook: yes, indeed:) | 15:37 |
Merio | dhans: no problems, James--Crook is right... will be exciting working together for that reason :) | 15:37 |
dhans | Merio: me too:) | 15:38 |
James--Crook | OK. I think we are clear about the next steps, and I'm expecting something in a memcache in about 3 days :-) | 15:38 |
James--Crook | First any questions, then if not I want to say a little more about related things later... | 15:38 |
Merio | James--Crook: I'm finishing something for the seed_db tomorrow, so I can't work on it till Saturday TBH | 15:39 |
James--Crook | That's fine. So do the wiki update on saturday. | 15:39 |
dhans | James--Crook: i'll try to show something like tomorrow or on Saturday to check if I'm not doing everything completely wrong:) | 15:39 |
James--Crook | cool. It's unlikely you'll be able to do everything completley wrong :-) | 15:39 |
dhans | James--Crook: we'll see...:) | 15:40 |
*** florinciu has joined #melange | 15:40 | |
James--Crook | OK. so... what I wanted to say a bit more about is future of stats collecting. Dhans, you mentioned timestamps and it raises an interesting point... (one reason not to do time varying stats yet). | 15:41 |
James--Crook | The problem is that there are different ways of 'putting stats into buckets'. | 15:41 |
dhans | James--Crook: and I'll ask sverre about those time limitations, because I am wondering why we have to use jobs if we want to process only 50 records one time | 15:41 |
James--Crook | +1. (on asking sverre) | 15:42 |
James--Crook | Initially the stats collection page is going to have string names for the different kinds of stats. | 15:42 |
James--Crook | Now the developers do not want to push a new version of Melange every time someone dreams up a new stat that they want to collect. | 15:43 |
James--Crook | time varying stats is a particualr problem area here. | 15:43 |
James--Crook | How often do we collect? | 15:43 |
James--Crook | (for example). | 15:43 |
James--Crook | Suppose we want to see arrival times of GSoC project proposals.... | 15:44 |
James--Crook | So we will draw a graph of the stats for projects recieved against time. | 15:44 |
James--Crook | It turns out that the best data to work from, in that case, is not to colelct stats once a day (say) but instead to have a table | 15:45 |
James--Crook | with all the timestamps at which project proposals arrived. | 15:45 |
James--Crook | dhans: Merio: are you following? | 15:45 |
Merio | James--Crook: yes | 15:45 |
dhans | James--Crook: yes | 15:45 |
James--Crook | OK. So as I see it, stats collection is going to eveolve from collecting 'condensed stats' with small JSON obejcts... | 15:46 |
James--Crook | to collecting stats with much larger JSON objects... | 15:46 |
Merio | James--Crook: this would mean having a sort of 1:1 correspondence between the JSON object and the actual data, at least for the two fields involved in the stat :) | 15:46 |
James--Crook | So I just wanted to make you both aware of that, especially in the context of how to do time varying stats. | 15:47 |
James--Crook | Merio: It is more complex than that. But yes, under the hood a lot of what stats collection is doing is solving the problem that we cannot see all the records at once normally.... | 15:48 |
James--Crook | so stats can be thought of as an aspect of filtering and conversion... and it will have tie ins to tabular views too, all in due course.... | 15:49 |
James--Crook | (at least this is how I see it) | 15:49 |
Merio | James--Crook: Agree on that | 15:50 |
James--Crook | dhans: Have I said enough on this to give a sense of how time varying stats is likely to work? | 15:51 |
dhans | James--Crook: I see the problem and I think I get it how you imagine it | 15:52 |
James--Crook | That's good enough for this stage. Lots of this will get talked through and sorted (and I will understand it better too later) on wiki/e-mail/IRC. | 15:52 |
James--Crook | OK. I've talked enough. Anything else? | 15:52 |
Merio | James--Crook: all ok my side | 15:53 |
dhans | James--Crook: me the same | 15:53 |
James--Crook | OK. Thanks both. | 15:53 |
James--Crook | bye for now. | 15:53 |
* James--Crook wanders off to make some tea. | 15:53 | |
dhans | James--Crook: bye | 15:53 |
Merio | James--Crook: have a nice... tea ^_^ | 15:54 |
dhans | Merio: i think it's clearer now:) tomorrow (once I get response from sverre) i'll start working on this data gathering | 15:54 |
Merio | dhans: ok, will you be idling on irc too? | 15:55 |
dhans | Merio: I need to leave for about half an hour (my friend's been waiting for like half an hour:), but i'll be then | 15:56 |
Merio | dhans: I was meaning tomorrow :) | 15:56 |
dhans | Merio: so yes:P | 15:57 |
Merio | dhans: but then... will see tomorrow, enjoy ^_^ | 15:57 |
dhans | Merio: see you:) | 15:57 |
*** dhans has left #melange | 15:58 | |
*** dr__house has quit IRC | 16:33 | |
*** dr__house has joined #melange | 16:35 | |
*** madrazr has joined #melange | 16:35 | |
*** madrazr1 has quit IRC | 16:37 | |
SRabbelier | James--Crook: I thought you drank hot water, rather than tea? | 16:39 |
James--Crook | SRabbelier: Correct. Am drinking it now (it has cooled down enough). | 16:40 |
SRabbelier | James--Crook: then why call it tea? :P | 16:41 |
James--Crook | SRabbelier: can you look through the backlog? dhans had a couple of questions for you I think... | 16:41 |
SRabbelier | James--Crook: yes, I will in a moment | 16:41 |
James--Crook | ( SRabbelier it is very weak tea ) | 16:41 |
SRabbelier | James--Crook: tea without tea in it does not count as tea :P | 16:41 |
James--Crook | SRabbelier: And I did not want to explain.... | 16:41 |
SRabbelier | James--Crook: hehe, too late! | 16:42 |
James--Crook | It is homeopathic tea... less than one molecule of tea in it... so according to the homeopathic theory it is actually very very strong. | 16:42 |
James--Crook | (statistically speaking) | 16:42 |
*** James--Crook has left #melange | 16:45 | |
Erant | SRabbelier: Ohai. So have all the recent fixes to HTML shit been pushed to testing yet? | 16:48 |
SRabbelier | Erant: iunno | 16:48 |
Erant | Useless. | 16:49 |
Erant | I'm fully expecting to fail miserably by now, but I'd like to prod some more crap | 16:50 |
SRabbelier | Erant: lol, I see | 16:50 |
Erant | It's very therapeutic you see. | 16:50 |
Erant | As will this cup of tea. Which actually contains tea. | 16:51 |
Erant | Ascension day is a holiday in America too, right? | 16:52 |
SRabbelier | Erant: I would assume so | 16:54 |
Erant | k | 16:59 |
*** Merio has quit IRC | 17:05 | |
*** dr__house has quit IRC | 17:21 | |
*** dhaun has quit IRC | 17:23 | |
*** madrazr has left #melange | 17:45 | |
*** penyaskito has joined #melange | 18:01 | |
*** Kraln has quit IRC | 18:48 | |
*** Kraln has joined #melange | 18:49 | |
*** florinciu has quit IRC | 19:19 | |
*** SRabbelier has quit IRC | 19:43 | |
*** dbentley-laptop has quit IRC | 19:46 | |
*** jameslevy has joined #melange | 20:19 | |
jameslevy | ajaksu: i think you forgot to add the midterm logic file before commiting? | 20:19 |
ajaksu | jameslevy: probable, I was too focused on caching when I did the commit... I've figured half of the caching issue (now schema and field values are updated or deleted correctly), going for the other half if you haven't fixed the 'shows field ghosts' problem yet :) | 20:21 |
jameslevy | I couldn't figure out the root of the problem, but I effectively fixed it | 20:22 |
jameslevy | It's not an elegant fix, but it will work for now | 20:22 |
ajaksu | jameslevy: have you commited that somewhere? | 20:23 |
*** jameslevy has quit IRC | 20:23 | |
ajaksu | (btw, I've mailed you a fix for the StopIteration bug I created) | 20:23 |
ajaksu | er... he's gone :/ | 20:23 |
*** jamtoday has joined #melange | 20:28 | |
ajaksu | jamtoday: I've mailed you a fix for the StopIteration bug I created | 20:29 |
jamtoday | ajaksu: I'm rebasing a new head | 20:29 |
ajaksu | jamtoday: does that mean you have changes I don't? | 20:29 |
jamtoday | yeah | 20:30 |
jamtoday | Not in the same files | 20:30 |
jamtoday | I'm using your versions of the latest files you've changed | 20:30 |
jamtoday | but I don't have the midterm logic | 20:30 |
jamtoday | And it's throwing up an exception :) | 20:30 |
ajaksu | I'll add and commit it right now :) | 20:31 |
ajaksu | but I still want to know if you've fixed the caching further, because I think I've found the main issue | 20:31 |
jamtoday | I fixed it for now with a manual check in JS | 20:32 |
jamtoday | and it empties the form if its a new survey | 20:32 |
jamtoday | so no | 20:32 |
ajaksu | jamtoday: when was that? http://github.com/jamslevy/Melange/commit/96371dcb8fee6b352cff98fd32e999858668b348 ? | 20:36 |
tpb | <http://ln-s.net/3DQN> (at github.com) | 20:36 |
ajaksu | jamtoday: the logic/models/midterm.py is present and has a log in my local git, but is missing from github... maybe I should've passed something like a '-a' parameter more when I pushed? | 20:38 |
jamtoday | You may need to commit again | 20:39 |
jamtoday | git status will show you | 20:39 |
jamtoday | git commits sometimes miss things I've found | 20:39 |
jamtoday | so I always do a git status to make sure | 20:40 |
ajaksu | yep, it was there as an untracked file, even if git log on it showed history :) | 20:43 |
ajaksu | missing other files too | 20:43 |
jamtoday | ok push them and I'll try pulling them down | 20:45 |
ajaksu | done | 20:50 |
ajaksu | jamtoday: check http://bitbucket.org/ajaksu/melange-surveys/changeset/f86376194df7/ , now I'm trying to find out where the zombie form fields come from... if your changeset above was supposed to fix this, I can't make it work here :/ | 20:55 |
tpb | <http://ln-s.net/3DQY> (at bitbucket.org) | 20:55 |
ajaksu | I do have a suspicion we're seeing a sort of globals-related problem, and I want to figure out if "SurveyForm.base_fields.insert(position, property, fields[property])" causes it :) | 20:57 |
*** dbentley-laptop has joined #melange | 21:04 | |
jamtoday | That actually was supposed to be a temporary thing, I don't think I should have been adding to the base_fields attribute | 21:04 |
jamtoday | I'll look at that | 21:04 |
jamtoday | I just pushed a rebased merge of everyone's changes | 21:04 |
jamtoday | I agree that there is too much duplication | 21:06 |
jamtoday | the subclass should properly only include things that are very specific to midterms | 21:06 |
ajaksu | yes, and that might need a few changes in the base class, but I was chasing caching bugs thinking they were midterm issues, so there's a lot of unnecessary stuff there :) | 21:08 |
ajaksu | right now, editing or adding a field in a survey doesn't trash the rest of it anymore, but the deleted field still shows (but missing its custom prompt, other fields keep theirs) | 21:09 |
ajaksu | jamtoday: git pull says I'm up-to-date... can you confirm no other commits after http://github.com/jamslevy/Melange/commit/96371dcb8fee6b352cff98fd32e999858668b348 ? | 21:12 |
tpb | <http://ln-s.net/3DQN> (at github.com) | 21:12 |
ajaksu | jamtoday: if so, deleting a survey field still erases its schema and its custom prompts and still shows the ghost field here after that commit :( | 21:16 |
*** jamtoday has quit IRC | 22:03 | |
*** jamtoday has joined #melange | 22:50 | |
*** dmitrig01|afk has joined #melange | 23:04 | |
*** ChanServ sets mode: +v dmitrig01|afk | 23:04 | |
*** forever has joined #melange | 23:14 | |
jamtoday | ajaksu: What a stupid mistake on my part! Why was I adding to the base_fields instead of self.fields? | 23:26 |
jamtoday | And I wasted 15 minutes coding up javascript to sweep it under the rug.... | 23:27 |
*** dmitrig01|afk has quit IRC | 23:33 | |
*** dmitrig01_ has joined #melange | 23:33 | |
*** ChanServ sets mode: +v dmitrig01_ | 23:33 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!