*** tpb has joined #melange | 00:00 | |
*** tansell_laptop has quit IRC | 03:51 | |
*** tansell--laptop has joined #melange | 03:51 | |
*** scorche|sh has quit IRC | 04:06 | |
*** ArthurLi1 has joined #melange | 04:11 | |
*** anothy_x has joined #melange | 04:33 | |
*** anothy_x has quit IRC | 04:36 | |
*** solydzajs has joined #melange | 04:45 | |
*** ChanServ sets mode: +o solydzajs | 04:45 | |
*** scorche|sh has joined #melange | 04:58 | |
*** anothy_x has joined #melange | 05:36 | |
*** tansell--laptop has quit IRC | 06:00 | |
*** mithro has quit IRC | 06:09 | |
*** mithro has joined #melange | 06:48 | |
*** ChanServ sets mode: +v mithro | 06:48 | |
*** florinciu has joined #melange | 08:12 | |
*** florinciu has quit IRC | 08:25 | |
*** Merio has joined #melange | 08:50 | |
*** ChanServ sets mode: +v Merio | 08:50 | |
*** solydzajs has quit IRC | 08:51 | |
*** dhans has joined #melange | 09:30 | |
*** ChanServ sets mode: +v dhans | 09:30 | |
*** dhans has quit IRC | 09:58 | |
*** dhans has joined #melange | 10:56 | |
*** ChanServ sets mode: +v dhans | 10:56 | |
dhans | Merio: ping? | 10:58 |
---|---|---|
*** solydzajs has joined #melange | 11:02 | |
*** ChanServ sets mode: +o solydzajs | 11:02 | |
Merio | dhans: (very late) pong! :) | 13:04 |
dhans | Merio: hey :-) | 13:11 |
dhans | Merio: are you already in Dublin? | 13:11 |
Merio | dhans: yes, and a little bit tired :) Sorry fell asleep, that's the reason why I didn't reply before :) | 13:12 |
Merio | But now I'm almost well :) | 13:12 |
dhans | Merio: no problem at all :-) | 13:12 |
dhans | Merio: anyway, I was thinking a little bit about those 'shared charts'. Do you remember? | 13:13 |
Merio | dhans: yes, you mean charts that shares the final result but not the original data? | 13:14 |
dhans | Merio: if I remember correctly, you meant charts that are for example created by Leslie and she marks them 'public', so that anyone can see them | 13:15 |
dhans | Merio: there was a problem for example when to delete such a chart from data store | 13:16 |
Merio | dhans: yes, actually for example Leslie can tweak again the chart using the original data, but anyone who use that chart can't see the original data | 13:18 |
Merio | dhans: yes, I recall... I don't know if we should delete them or mark them visible/invisible or something | 13:19 |
Merio | dhans: what about having a meeting tomorrow at 17:00 (your time), because I would like also to talk with you about your work of these weeks, status against the final goals and... where to start again the hard work :) | 13:21 |
dhans | hmm actually I was thinking and there is an awful lot of problems and complications with those 'shared charts'. delete problem is just an example so maybe we should have a simpler solution? | 13:22 |
dhans | One of those is for example: we have a list of 'public charts' available and when someone wants to see it, he or she just creates a 'local copy' of such a chart | 13:23 |
Merio | dhans: actually there surely should be a local copy of the chart.py instance. That should refer however to the same statistics data of the original. The different thing should be that, for example, Leslie can point to some data and have a reduced set for the charts marked as public | 13:25 |
Merio | dhans: that's what I was thinking, but, yes, we should think seriously about the drawbacks of such architecturr | 13:26 |
Merio | *architecture | 13:26 |
dhans | Merio: hmm ok, so if there is a copy of chart for each user who uses it, there is no problem with removing - we just delete that local copy from the data store... | 13:28 |
Merio | dhans: yep, only thing is if Leslie deletes a chart, we should not delete the "simplified" data because the other charts refer to them | 13:32 |
dhans | hmm but does not charts get data directly from statistic entity? | 13:33 |
Merio | dhans: yes, but not some of the shared one. For example Leslie could want to produce a chart that starts from statistics that cannot be made public, but the subset she uses can be public | 13:34 |
Merio | dhans: So the data the public chart should refer to should be a subset of the original data | 13:35 |
Merio | dhans (which yes, is a statistic entity) | 13:35 |
Merio | dhans: but what if Leslie wants to delete the original chart? Should we want to delete the data subset statistic entity? If so, what happens to the charts? | 13:35 |
dhans | Merio: let me understand it. leslie for example wants to show a subset of Students Per Age data (for example age range: 20 - 25), ok? | 13:38 |
dhans | Merio: so where will information about the subset be stored? in chart? | 13:39 |
Merio | dhans: I think in statistic, as a new statistic entity | 13:39 |
dhans | Merio: maybe we can display an empty widget with information "This public chart is not available any more"? | 13:41 |
Merio | dhans: could be a solution, I think this particular one should be asked to Leslie directly | 13:42 |
*** dhaun has joined #melange | 13:42 | |
dhans | Merio: another thing I was thinking of: calculate 'subset jsons' on the fly (from statistic entity) based on some params in chart.py | 13:45 |
dhans | hahahahaahaha!!! | 13:45 |
dhans | I am sorry :-) It is just that Poland won't have any teams in Champions Leage again this year :-P | 13:46 |
dhans | *League | 13:46 |
Merio | dhans: sorry about that! | 13:47 |
Merio | dhans: actually I don't follow soccer too much (I'm not so Italian in that field :P) | 13:47 |
Merio | dhans: yes, that jLinq stuff. I think they're low priority, not in the final goals, am I wrong? | 13:48 |
dhans | Merio: are you kidding? I am so happy that they did not qualify :P | 13:49 |
dhans | Merio: it is not mentioned in the final goals list | 13:50 |
Merio | dhans: why you're so happy? :) | 13:51 |
*** SRabbelier has joined #melange | 13:52 | |
*** ChanServ sets mode: +o SRabbelier | 13:52 | |
Merio | dhans: so... well, shouldn't we focus on the final goals? :P | 13:52 |
dhans | Merio: so in the final goals there is nothing about public charts | 13:53 |
Merio | dhans: yes, there's something about having them exported as images. Could be something "provisional", so we can achieve it in less time and then start working on the bases for the private/public/jLinq stuff | 13:55 |
dhans | Merio: I was looking into this today and could not find anything helpful so that it is very easy for exporting as images in the way I talked with sverre, but maybe I was looking wrong | 13:57 |
Merio | dhans: which way? IIRC Pawel told about using chart API or something. But then I don't know if there's something similar with visualizations, I should give a look at it | 13:59 |
dhans | Merio: about champions leage :) first of all I am from Warsaw, and Polish Champion team is from Krakow (another big city), so our teams does not really like each other :-) Second of all, if a team cannot beat (or destroy) a team from Estionia which has average attendance at about 500 fans per match, they will not achieve anything in champions league even if they luckily qualified. Then they would draw AC Milan or AS Roma and you would be happy | 14:01 |
Merio | dhans: understood :) | 14:02 |
dhans | Merio: I do not remember, but he wanted something like this: leslie put an image on her blog just by <a src=/some_path_in_melange ...> </a> and that patch redirects to a visualization... | 14:03 |
dhans | wrong | 14:04 |
dhans | img instead of a | 14:04 |
dhans | Merio: about exporting I found for example http://www.mail-archive.com/[email protected]/msg00754.html | 14:07 |
tpb | <http://ln-s.net/3dVh> (at www.mail-archive.com) | 14:07 |
dhans | Merio: which is not very positive :P | 14:07 |
Merio | dhans: you're talking about document transclusion? | 14:08 |
Merio | dhans: if so, it's very easy to achieve, we're very close to it | 14:09 |
Merio | dhans: problem is image exporting | 14:09 |
Merio | dhans: I think for the moment we can use chart API, as we're not using too much different visualizations and we're not tweaking them | 14:10 |
dhans | Merio: I think I am talking about exporting... Am I not? :-) | 14:10 |
Merio | dhans: but afterwards it could be a problem. I know a way to export a section of the viewport as a JPG in Firefox, but obviously it's not crossbrowser | 14:10 |
dhans | obviously not :) | 14:11 |
Merio | dhans: "Merio: I do not remember, but he wanted something like this: leslie put an image on her blog just by <a src=/some_path_in_melange ...> </a> and that patch redirects to a visualization..."... this sounded like document transclusion to me :) | 14:11 |
dhans | Merio: so, yes, I was talking about transclusion | 14:12 |
*** matthewwilkes_ has joined #melange | 14:13 | |
dhans | Merio: anyway, I think in the first place we should focus on the visualizations. because if I remember correctly, you wanted some statistics to send data_table object, and some to send "half-cooked" json? | 14:14 |
*** matthewwilkes_ is now known as MatthewWilkes | 14:14 | |
Merio | dhans: yes, but still this is not something in the final goals, that's something we should focus on later if we have the time, because it's not enough to send "half-cooked" json, we should have something to tweak with it using jLinq, and it's something a little bit long to code | 14:15 |
Merio | dhans: at least IIRC the final goals :D | 14:16 |
SRabbelier | Merio: not 'a src' but 'img src' | 14:16 |
SRabbelier | Merio: and it can be as simple as having that path-in-melange return an html redirect to the correct visualization api url | 14:16 |
SRabbelier | **chart api url | 14:17 |
Merio | SRabbelier: but we're using visualizations, not Chart... so we should point to a javascript that loads the data from the backend and then tweaks the visualizations and do something in a div inside the target document... but it's kinda XSS :P | 14:18 |
SRabbelier | Merio: oh, blah, we're not using any chart at all? | 14:18 |
Merio | SRabbelier: at least if I can focus on the problem in this very time (busy fixing things at home, being absent for some time here :P) | 14:18 |
Merio | SRabbelier: in this very moment no... we can if we want but we focused on visualizations | 14:18 |
SRabbelier | Merio: then perhaps it would be more appropriate for it to be a '<script src=...>' tag instead? | 14:19 |
*** anothy_x has quit IRC | 14:19 | |
Merio | SRabbelier: yes something like that, we should use a similar architecture like google maps or visualizations itself to achieve something like that :P | 14:19 |
SRabbelier | Merio: honestly, I don't care how it's done, as lone as it's easily copy/pastable and is up-to-date | 14:20 |
SRabbelier | (with up-to-date I mean that for statistics that change the same url should give different results as the statistic changes, it shouldn't be a snapshot of how things are the moment the blogpost is made) | 14:21 |
Merio | SRabbelier: eheheh you're playing "typical customer" :D :D ehehe however, yes, I will look further into it and how to do it | 14:21 |
Merio | SRabbelier: you're completely right here | 14:21 |
SRabbelier | Merio: awesome :) | 14:22 |
SRabbelier | Merio: although I guess we might also want a snapshot feature | 14:22 |
SRabbelier | Merio: (which could just return some JS with the data as it is at that particular moment embedded)' | 14:22 |
Merio | SRabbelier: that one could be a little bit more difficult, because it should be stored and managed as well, so it's a different kind of architecture | 14:23 |
SRabbelier | Merio: I'd rather not have the server have to store the snapshot data server side | 14:24 |
SRabbelier | Merio: so it'd be better if the snapshots did not use Melange at all and instead just directly talk to the visualzation API | 14:24 |
Merio | SRabbelier: but the data to give to visualizations should be stored somewhere :) | 14:25 |
SRabbelier | Merio: hardcoded in the copy-pastable snippet? | 14:26 |
SRabbelier | Merio: isn't that possible? | 14:26 |
Merio | SRabbelier: IIRC you can with chart API (embedding data in the url), but not with visualizations. Perhaps something with gadgets, I don't know... with visualizations you can store data in google spreadsheets, for example. But I'll look further into it right tomorrow. | 14:31 |
SRabbelier | Merio: thanks :) | 14:39 |
*** dhans has quit IRC | 14:51 | |
*** dhaun has quit IRC | 17:35 | |
*** dhans has joined #melange | 18:13 | |
*** ChanServ sets mode: +v dhans | 18:13 | |
dhans | Merio: ok, so see you tomorrow at 3 PM UTC :-) | 18:18 |
Merio | dhans: ok ^__^ | 18:20 |
dhans | Merio: cool. g'night then :-) | 18:21 |
Merio | dhans: g'night ^__^ | 18:21 |
*** dhans has left #melange | 18:21 | |
*** Merio has quit IRC | 19:34 | |
*** solydzajs has quit IRC | 19:53 | |
*** mithro has quit IRC | 20:06 | |
*** mithro has joined #melange | 20:27 | |
*** ChanServ sets mode: +v mithro | 20:27 | |
*** MatthewWilkes has quit IRC | 20:56 | |
*** anothy_x has joined #melange | 22:11 | |
*** anothy_x has quit IRC | 22:26 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!