*** tpb has joined #melange | 00:00 | |
*** HanzZ has joined #melange | 02:48 | |
*** madrazr has joined #melange | 04:06 | |
*** ChanServ sets mode: +v madrazr | 04:06 | |
*** madrazr has quit IRC | 04:37 | |
*** Merio has joined #melange | 06:29 | |
*** ChanServ sets mode: +v Merio | 06:29 | |
*** arun has joined #melange | 07:19 | |
*** mithro has quit IRC | 07:20 | |
*** dhaun has joined #melange | 07:27 | |
*** arun has quit IRC | 07:29 | |
*** arun has joined #melange | 07:44 | |
*** mithro has joined #melange | 07:46 | |
*** ChanServ sets mode: +v mithro | 07:46 | |
*** arun has quit IRC | 08:19 | |
*** dhans has joined #melange | 08:34 | |
*** ChanServ sets mode: +v dhans | 08:34 | |
*** MatthewWilkes has joined #melange | 10:24 | |
Merio | dhans: ping | 11:05 |
---|---|---|
dhans | Merio: pong! | 11:05 |
Merio | dhans: happy news here... I think we have "live exporting" in place :) | 11:06 |
dhans | Merio: great! :-) | 11:06 |
Merio | dhans: I'm going to commit it... but I've something for you :P | 11:06 |
dhans | Merio: ? | 11:07 |
Merio | dhans: actually I need some help from you about rights | 11:07 |
Merio | dhans: may it active or just "tell me where to put my hands on" :) | 11:07 |
dhans | Merio: what kind of rights do you have in mind? | 11:08 |
Merio | dhans: I mean obviously we have "image chart" export in place | 11:08 |
Merio | dhans: but it's like copying and pasting something which is "fixed", so not live | 11:08 |
dhans | Merio: right | 11:09 |
Merio | dhans: I've made some tweaks to export the visualization as you suggested some time ago, using toJSCode from gviz | 11:09 |
Merio | dhans: and now it works smoothly | 11:09 |
Merio | dhans: and that's as easy as => | 11:09 |
Merio | <script type="text/javascript" src="http://www.google.com/jsapi"></script> | 11:09 |
Merio | <script type="text/javascript" src="http://localhost:8080/test/statistic_dashboard/export?id=1250422036385&path=test%2Fstatistic_dashboard&div=myvisualization"></script> | 11:09 |
Merio | (and obviously a <div id="myvisualization"></div>) | 11:10 |
Merio | dhans: So, I have two problems now | 11:10 |
dhans | Merio: ok and we need to check if a user may actually see that statistic? | 11:10 |
Merio | dhans: 1 => I really would like to avoid using "path" two times | 11:11 |
Merio | (but this is not a priority right now I guess) | 11:11 |
Merio | dhans: yes something like that | 11:11 |
Merio | dhans: I mean, if I create a statistic chart in my box, I think I need to decide if it's "public" or not | 11:12 |
Merio | dhans: even if probably this is not a problem for single users | 11:12 |
Merio | dhans: hmm I don't know how to behave here about rights | 11:13 |
Merio | dhans: I guess I can commit it and if you have time to have a look we can just discuss it | 11:13 |
dhans | Merio: currently we do not have any fields which specify if a widget/chart is public or not | 11:13 |
dhans | Merio: ok | 11:14 |
Merio | dhans: I know... but I don't know really how we should behave... are all charts public? The user decides? The sponsor decides? | 11:14 |
Merio | dhans: however, if you have time now I'm going to push it. But I need some more time to integrate it in the real dashboard | 11:14 |
Merio | dhans: having chart id and scope path it's enough however to play with it | 11:15 |
dhans | Merio: if we added something like public/non-public property to the chart, I think a chart owner should decide | 11:16 |
Merio | dhans: I see that if I'm not logged I can still access the statistic... which is a good thing, but we need a way to avoid it too ^__^ | 11:17 |
Merio | dhans: however, going to do the proper commits, ttys | 11:17 |
dhans | Merio: yep, I was afraid of that | 11:17 |
dhans | Merio: and I do not see an option how to avoid it, because almost all rights checking functions base on your account | 11:18 |
Merio | dhans: hmmmm | 11:19 |
Merio | dhans: committed | 11:25 |
dhans | Merio: ok, I will take a look shortly | 11:26 |
Merio | dhans: ok... sending you a sample HTML file by mail that you have to edit to try the feature | 11:26 |
dhans | Merio: but maybe we should just skip any rights checking. I mean, if someone who is permitted exports a chart, shouldn't it be visible for anyone? | 11:28 |
Merio | No because you're not really exporting, you're using an URL (that everyone can use, even if you never click on "export") | 11:28 |
Merio | dhans: ^^^ | 11:28 |
dhans | Merio: right, but it is difficult to guess link_id of a chart :P | 11:30 |
Merio | dhans: I'm agree, but "stroke of luck" is not a good security barrier to me :P | 11:31 |
dhans | Merio: I was just kidding :P | 11:32 |
Merio | dhans: me too :) | 11:32 |
dhans | Merio: but as I said, I have no idea how to check rights with no account information | 11:32 |
Merio | dhans: I've sent you an email with an HTML to test the visualization... you've to manually fill the fields for the moment, I'm working on an enhanced export button for the dashboard | 11:33 |
Merio | dhans: hmm well, so... just test it and see what you think of it and if we're prone to serious data leaking with that code | 11:33 |
Merio | dhans: I'm excited for this feature ^__^ | 11:34 |
dhans | Merio: did you attach anything? | 11:35 |
Merio | dhans: yes, the HTML file | 11:35 |
Merio | dhans: export_vis.html | 11:36 |
Merio | dhans: if it's not working I'll try to send it again as a zip file, if you're using web GMail I know that sometimes html files are not properly seen as attachments | 11:36 |
dhans | Merio: there is no attachment in my mail :D | 11:36 |
Merio | dhans: trying again :) | 11:37 |
Merio | dhans: have a look | 11:38 |
dhans | Merio: now I have it :) | 11:38 |
Merio | dhans: great :) | 11:38 |
dhans | Merio: great. it works :) | 11:45 |
Merio | dhans: it's amazing how it changes after reloading if you change your visualization in the dashboard in the meantime :) | 11:45 |
dhans | Merio: yes. I've tried that :-) | 11:46 |
Merio | dhans: ^_^ | 11:46 |
*** madrazr has joined #melange | 11:48 | |
*** ChanServ sets mode: +v madrazr | 11:48 | |
Merio | dhans: so, problem is that all works also if you're not logged... which is a cool thing, but there should be a way to avoid that. I mean, serious problems could happen if someone tries to access to a chart which has a non public statistic... but then I guess it should raise an error in python code | 11:49 |
dhans | Merio: ok, but exporting should not be certainly limited to 'logged in melange users'... | 11:55 |
Merio | dhans: yep, this is the reason why I'm happy that it works like this without doing nothing.. now we've only to do something to avoid improper data leaking if any :P | 11:56 |
dhans | Merio: I was thinking, maybe we should add some code to the chart which is generated when a chart is exported. | 11:56 |
Merio | dhans: so to have a sort of new entity like "exported_charts" that refer to existing charts? | 11:57 |
dhans | Merio: so if nobody exports a chart, it cannot be pasted, because there is None in that field | 11:57 |
Merio | dhans: in the meantime I've committed an improved Export button for the dashboard | 11:58 |
dhans | Merio: a simple BooleanProperty is not enough? | 11:58 |
Merio | dhans: I don't know, because that chart, with that id and with that path could refer to different things if updated in the dashboard | 11:58 |
Merio | dhans: so doing that an user could guess to have exported the "previous" chart, while in reality that field is connected to the "widget", not regarding the virtual statistic for example | 11:59 |
Merio | dhans: or the type of visualization | 12:00 |
Merio | dhans: which is a feature but also a bug :) | 12:00 |
dhans | Merio: do you mean that if I export a chart and then change it on the dashboard, it changes also on a page which uses it? | 12:01 |
dhans | Merio: because I am not sure if get it :) | 12:01 |
Merio | dhans: yes if you export that particular visualization and then change it, the changes are reflected too | 12:02 |
Merio | dhans: If you change the virtual statistic then is changed also in the public side, and so if you change the visualization type | 12:03 |
dhans | Merio: I thought it is what we want with "live" exporting :D | 12:03 |
Merio | dhans: otherwise we should do another entity with exported charts, and freeze a chart state inside of it | 12:03 |
Merio | dhans: now that the handling code to do the proper inclusion is in place it will be straightforward to do | 12:04 |
dhans | Merio: yes, we can just copy all up-to-date properties and save them in a new entity | 12:05 |
Merio | dhans: I don't know however what is the better option... intuitively we should freeze the chart state | 12:05 |
Merio | dhans: but then we will have many many charts if the user clicks export too many times | 12:05 |
Merio | dhans: which however is good for the future if we want to have a sort of repository | 12:06 |
Merio | dhans: but for the moment we don't have time to do something to manage it | 12:06 |
Merio | dhans: I mean at least for tomorrow :P | 12:06 |
dhans | Merio: again true, but we can think about it in the future | 12:06 |
dhans | Merio: oh, I see that you agree with me :) | 12:07 |
Merio | dhans: obviously :D | 12:07 |
Merio | dhans: however the "repository" with the freezed state can be done in a few minutes/hours | 12:07 |
Merio | dhans: we could have two options, one for "freezed" and one for "live" | 12:08 |
dhans | Merio: yes. or maybe just one property like is_freezed. and if it is false you cannot load that chart by JS on your site | 12:09 |
Merio | dhans: I don't know, because you can "freeze" a widget many times | 12:10 |
Merio | dhans: say, for example, I use students per degree statistic | 12:10 |
Merio | dhans: and I want to export that chart in many kind of visualizations, "table", "piechart" and so on | 12:11 |
Merio | dhans: or maybe more than one virtual statistic | 12:11 |
Merio | dhans: that chart "is_freezed" but many times, and could be difficult to manage that single boolean state, which isn't going to commuicate something very useful at the end | 12:12 |
dhans | Merio: no, I mean something like this: when you freeze a widget you have one entity which you already had (is_freezed = False) and a new one which has the same data as the original one, but is_freezed = True and you actually load the second one by JS code on your site | 12:12 |
Merio | dhans: I don't know about "melange policy", but I don't know if it's good to reuse the statistic chart entity, because they're similar, but the "freezed" chart contains less data | 12:15 |
Merio | dhans: for example it has not all the widget related styles (head, content color and so on) | 12:16 |
Merio | dhans: so perhaps we should inherit something | 12:16 |
Merio | dhans: I don't know if there are "abstract" models/classes in GAE | 12:17 |
dhans | Merio: I meant to copy only what we need | 12:23 |
Merio | dhans: yes, but in the datastore there will be always the widget title (even if with a "no title" inside), for example | 12:23 |
dhans | Merio: of course it'd be better to have two classes which inherits from abstract Chart class, but I am not sure if we have time to go for it | 12:23 |
dhans | Merio: afaik there is no option for explicit abstract classes in python 2.5 | 12:26 |
Merio | dhans: but is it possible to have an "abstract" class in GAE? | 12:26 |
Merio | dhans: ah ok | 12:26 |
Merio | dhans: but we can just create that and hope no one will save on it :P | 12:27 |
Merio | dhans: don't know if it's a "problem" already encountered | 12:27 |
dhans | Merio: we can assure that a class won't be instantiated by predefining __new__ method for a class, but I do not think it is really needed | 12:27 |
dhans | Merio: we shouldn't worry about that | 12:27 |
dhans | Merio: for example base model should also be abstract | 12:28 |
Merio | dhans: yes | 12:28 |
Merio | dhans: so... I'll try that way then | 12:29 |
madrazr | Merio: have some time? | 12:43 |
Merio | madrazr: so and so ^__^ just tell me :) | 12:43 |
madrazr | running into some JS problem | 12:43 |
madrazr | wanted some help | 12:43 |
madrazr | Merio: Oh bad | 12:44 |
madrazr | Merio: give me 2 mins, this demo instance is not getting update | 12:44 |
madrazr | *updated | 12:44 |
madrazr | I wanted to show you on the demo instance | 12:44 |
madrazr | I mean show the problem | 12:44 |
Merio | madrazr: no problems, where should I go? | 12:45 |
madrazr | Merio: melange-madhusudancs.appspot.com | 12:45 |
madrazr | Merio: but wait I need to update | 12:45 |
Merio | madrazr: ok just let me know | 12:45 |
madrazr | Merio: sure | 12:45 |
madrazr | Merio: Just In Time :P Murphy's law | 12:46 |
madrazr | :D | 12:46 |
Merio | from soc.models.statistic_chart_abstract import StatisticChartAbstract | 12:48 |
Merio | class StatisticChart(soc.models.statistic_chart_abstract.StatisticChartAbstract): | 12:48 |
Merio | it outputs.. name "soc" undefined... interesting | 12:48 |
dhans | Merio: import soc should help | 12:51 |
Merio | dhans: yep, thx.. done using import soc.models.statistic_chart_abstract | 12:52 |
Merio | :) | 12:52 |
madrazr | Merio: http://melange-madhusudancs.appspot.com/ghop/student/create/jcospo/ghop2009 | 12:55 |
tpb | <http://ln-s.net/3vvr> (at melange-madhusudancs.appspot.com) | 12:55 |
madrazr | Merio: let me know when you open it | 12:55 |
madrazr | Merio: also close the JS alert btw :) | 12:55 |
Merio | madrazr: no JS alert here | 12:55 |
madrazr | Merio: cool! | 12:56 |
madrazr | you logged in? | 12:56 |
madrazr | Merio: just fill up few fields and leave few | 12:56 |
madrazr | select school type | 12:56 |
Merio | madrazr: I'm logged in but it doesn't show anything, I need to create profile first I guess | 12:56 |
madrazr | and leave the fields that open up blank | 12:57 |
madrazr | yeah :) | 12:57 |
Merio | madrazr: I need site developer rights | 12:57 |
madrazr | Merio: I have already given you :) | 12:57 |
Merio | madrazr: ok, have a "null" in the alert box here, going to fill fields | 13:01 |
madrazr | Merio: yeah not all though | 13:01 |
madrazr | I want you to see some errors | 13:01 |
madrazr | but select school type and leave the fields that open up later blank | 13:01 |
madrazr | and then submit the form | 13:02 |
Merio | madrazr: cool fields animation ^__^ | 13:02 |
madrazr | Merio: thats itself is hot now :D | 13:02 |
Merio | madrazr: ok done | 13:02 |
madrazr | when you get back the form | 13:03 |
madrazr | you must have some errors to the subsequent fields of school type | 13:03 |
madrazr | that opened by animation | 13:03 |
madrazr | ? | 13:03 |
madrazr | Merio: ^ | 13:03 |
Merio | yes, they seems appropriate | 13:03 |
Merio | yes | 13:03 |
Merio | I've chosen University and I get back | 13:04 |
Merio | Major cannot be left blank | 13:04 |
Merio | and | 13:04 |
Merio | Degree must be selected from the given options. | 13:04 |
madrazr | now change the school type | 13:04 |
madrazr | you see my problem :D | 13:04 |
Merio | eheh I see ^_^ | 13:04 |
Merio | you want to delete the error messages as well? | 13:04 |
madrazr | I am not able to hide this form error | 13:04 |
madrazr | yes | 13:04 |
madrazr | Merio: or if you have a better solution for this conditional showing fields than this hiding and showing | 13:05 |
madrazr | please tell me | 13:05 |
madrazr | Merio: either way you will be very helpful to me :) | 13:05 |
Merio | madrazr: best option could be to delete those stuff from the DOM, but it's the same as hiding them technically speaking, you have to find them :) | 13:07 |
madrazr | Merio: ah thats the whole problem | 13:07 |
madrazr | these error lines have only <span class=""> Error </span> | 13:07 |
madrazr | and all the error lines have the same class | 13:07 |
madrazr | how to differentiate them? | 13:08 |
Merio | madrazr: you can use content filters | 13:08 |
madrazr | Merio: Ok | 13:09 |
madrazr | Merio: that is cool! I will read the jQuery docs | 13:09 |
Merio | jQuery('td[class=formfielderrorlabel]:contains('Degree must')) | 13:09 |
Merio | I guess something like this | 13:10 |
Merio | madrazr: http://docs.jquery.com/Selectors/contains#text | 13:10 |
tpb | Title: Selectors/contains - jQuery JavaScript Library (at docs.jquery.com) | 13:10 |
madrazr | Merio: Oh sooper, thank you so much for the link | 13:10 |
Merio | madrazr: yw ^_^ | 13:10 |
madrazr | Merio: thank you so much the solution worked | 13:51 |
Merio | madrazr: awesome! | 13:51 |
madrazr | now only one problem remains, which I will solve, I need to hide the <tr></tr> itself than <span></span> | 13:51 |
madrazr | so it is just a matter of getting the parent right? | 13:51 |
Merio | yes there's also a parent: selector IIRC | 13:52 |
madrazr | Merio: yeah | 13:55 |
Merio | dhans: done the freezed stuff ^__^, going to commit it in a few minutes | 14:17 |
dhans | Merio: great :-) | 14:17 |
Merio | dhans: only thing is that I'm doing this because it's asked for the final terms | 14:29 |
Merio | dhans: but the server could be easily overwhelmed in this way | 14:30 |
*** dhans has quit IRC | 14:30 | |
*** idiotonline is now known as ajuonline | 16:25 | |
Merio | madrazr: have you had time to think about mine and Daniel's problem to send the patches to dev list? :) | 16:26 |
madrazr | Merio: I am doing the same right now | 16:26 |
madrazr | Merio: I am Googling, IRC ing :P | 16:26 |
*** HanzZ has quit IRC | 16:27 | |
madrazr | Merio: asked in #mercurial, no one has responded yet | 16:28 |
Merio | madrazr: eheh yes, I was thinking about that because I've seen your emails in the dev list :) | 16:28 |
madrazr | Merio: Oh Ok :) | 16:28 |
madrazr | Merio: I searched for it a bit the day you asked, but was out of luck, but could not do it later, doing it now | 16:28 |
madrazr | we need to find out some sane way of doing it :) | 16:29 |
Merio | yes, even if I'm afraid we will have to do it manually :) | 16:29 |
madrazr | Merio: lets keep that as the last resort | 16:29 |
madrazr | if all else fail :P | 16:29 |
Merio | madrazr: Agree ^_^ | 16:29 |
Merio | madrazr: thank you in the meantime :) | 16:30 |
madrazr | Merio: LoL! you have no idea I must have to give you in return :P | 16:30 |
madrazr | *how much I must have to give you | 16:30 |
madrazr | :D | 16:30 |
madrazr | Merio: seems like there is a way to do it, if you can figure out the commits which should sit in per patch | 16:31 |
Merio | madrazr: nah why so? :) It's opensource, let's enjoy :) | 16:31 |
madrazr | any idea if you can figure that out? | 16:31 |
madrazr | Merio: true :) | 16:31 |
Merio | madrazr: you mean that I should give a sort of list of the commits? | 16:32 |
madrazr | Merio: is that sane? | 16:32 |
madrazr | :) | 16:32 |
madrazr | rather doable? | 16:32 |
Merio | madrazr: hmm well, sounds sane, but don't know to be fair how this behaves with merges between main repository and our repository | 16:33 |
Merio | madrazr: and with for example commits of mine that depend on daniel's commits | 16:34 |
madrazr | Merio: should not be a problem | 16:34 |
madrazr | you really don't have code in the same file as the main code right? | 16:34 |
madrazr | almost all through your project you have worked on different files than main repo files? | 16:35 |
Merio | madrazr: sometimes yes, for example in build.sh (at the moment) or in soc_core/callback | 16:35 |
madrazr | Merio: they are very very very small | 16:35 |
madrazr | they can be easily separated | 16:35 |
Merio | madrazr: yes indeed | 16:35 |
madrazr | not a big deal | 16:35 |
madrazr | Merio: but other than that? | 16:35 |
Merio | madrazr: but then without for example those changes they don't behave as an "atomic commit" (at least to preserve functionality at any time) I guess | 16:36 |
madrazr | Merio: you cannot really keep the atomic commit idea at this stage I feel | 16:36 |
madrazr | we have already come too far | 16:36 |
madrazr | trade off :( | 16:36 |
Merio | madrazr: you're right :) | 16:37 |
madrazr | Merio: the whole idea is this | 16:37 |
Merio | madrazr: great tell me | 16:37 |
madrazr | we will create groups of commits that should go per patch | 16:37 |
madrazr | groups of commits == commit number in your repo | 16:38 |
madrazr | then run | 16:38 |
madrazr | hg qimport -r p1:pn | 16:38 |
madrazr | where p1 to pn are the commit numbers for this patch | 16:38 |
madrazr | and then run | 16:38 |
madrazr | hg qfold p1 p2 .. pn | 16:38 |
Merio | (p1 to pn means that they should be consecutive?) | 16:38 |
madrazr | this creates 1 patch | 16:38 |
madrazr | Merio: nope | 16:39 |
Merio | ok | 16:39 |
madrazr | Merio: any order | 16:39 |
madrazr | Merio: trust me, if you have under 300 commits we can do it | 16:39 |
madrazr | but if it is more, it might turn hectic | 16:39 |
Merio | hmm how can I list all the commits of mine? Can't recall | 16:40 |
madrazr | see the commit log? | 16:40 |
Merio | so I can find how many commits we're dealing with | 16:40 |
madrazr | Merio: Ok | 16:40 |
Merio | I would like to know the number of commits :) | 16:40 |
Merio | (really need to study HG better :)) | 16:40 |
madrazr | Merio: I am curious about my co-students as well :P | 16:40 |
madrazr | :) | 16:41 |
Merio | madrazr: going to do manually :P | 16:43 |
Merio | madrazr: I mean, outputting the log and seeing how many occurrences ^__^ | 16:43 |
madrazr | Merio: Ok | 16:43 |
madrazr | Merio: but one thing I am very unhappy about this way of merging our code :) | 16:44 |
madrazr | we lose the entire history of development :( | 16:44 |
madrazr | which you guys at least maintained it | 16:44 |
madrazr | Merio: as in all the code did not come in 1 day | 16:44 |
madrazr | it was a process of learning, writing code, finding bugs and fixing them in a span of 2 and half months | 16:45 |
Merio | madrazr: yes, I also dislike this. It's not that concern commit count, it's just an "history" that we lose | 16:45 |
madrazr | Merio: exactly | 16:46 |
Merio | madrazr: (176 commits here) | 16:46 |
madrazr | I think we can echo this on the list | 16:46 |
Merio | madrazr: (including main repository commits I guess, but they're not so much) | 16:46 |
madrazr | Merio: Oh Ok | 16:46 |
madrazr | won't be much pain I feel | 16:46 |
Merio | madrazr: hope so, even if I think I need to check every commit what did :D | 16:46 |
madrazr | 88 commits per person on an average | 16:46 |
Merio | 176 are only mine :) | 16:47 |
Merio | I'm too "commit verbose" :P | 16:47 |
madrazr | Merio: wow! | 16:47 |
madrazr | whats dhans? :P | 16:48 |
Merio | number of Daniel's? | 16:49 |
madrazr | Merio: Daniel's commits | 16:49 |
Merio | madrazr: 68 | 16:50 |
madrazr | Merio: Oh Ok | 16:51 |
Merio | madrazr: he does "big commits" normally | 16:51 |
madrazr | Merio: then it might turn out that, 1 or 2 commit per patch in Daniel's case | 16:51 |
Merio | madrazr: so we've 244 commits | 16:51 |
madrazr | in your case it might be 3-4 | 16:51 |
Merio | (at most) | 16:51 |
madrazr | Merio: Ok | 16:52 |
madrazr | doable | 16:52 |
madrazr | Merio: but I think before that, we need to convince developers to merge the branches than doing commits as patches :) | 16:52 |
madrazr | Merio: I cannot anyways do that :D | 16:52 |
Merio | madrazr: you're right ^__^ | 16:52 |
madrazr | since I don't even have the history as commits, all I have is my MQ :P | 16:52 |
Merio | madrazr: and you can't use queue as commits in some way? | 16:53 |
Merio | madrazr: or timestamps are not saved? | 16:53 |
madrazr | Merio: nope | 16:53 |
madrazr | there is no history, this is how I have worked, create a patch for a functionality | 16:54 |
madrazr | and later on if there is a bug | 16:54 |
madrazr | pop out all the patches in the Stack, get to that functionality's patch | 16:54 |
madrazr | fix it in that patch and refresh the stack | 16:54 |
madrazr | so everything is lost | 16:54 |
Merio | madrazr: it's a pity | 16:55 |
madrazr | Merio: yeah | 16:55 |
Merio | madrazr: (even if it's a more sane way to work :P) | 16:58 |
madrazr | Merio: he he | 16:58 |
madrazr | Merio: catch you tomo | 17:09 |
madrazr | logging out | 17:09 |
madrazr | see you | 17:09 |
Merio | madrazr: ok, see you tomorrow ^_^ | 17:11 |
*** madrazr has left #melange | 17:12 | |
*** Merio has quit IRC | 17:22 | |
*** dhaun has quit IRC | 17:32 | |
*** Merio has joined #melange | 17:34 | |
*** ChanServ sets mode: +v Merio | 17:34 | |
*** dhans has joined #melange | 18:29 | |
*** ChanServ sets mode: +v dhans | 18:29 | |
dhans | Merio: ok I know. but on the other hand there is even no limit for a number of widgets per user | 18:32 |
dhans | Merio: so Leslie will be able to crash melange :P | 18:32 |
Merio | dhans: wb ^__^ yep but it's unlikely that someone puts thousands of widgets in the dashboard, while it's likely that someone pushes thousands of time on the export button | 18:33 |
dhans | Merio: in the future we may add some simple restriction that you can export a visualization once in let us say 5 minutes | 18:34 |
Merio | dhans: Yes, actually in the meantime we can do that as a separate button or something, so it's pressed only if really wanted (even if I think that the freezed stat it's the most interesting and common use) | 18:36 |
Merio | dhans: I don't know if you have something else to do before deadline. I'm going tomorrow to refine documentation | 18:37 |
dhans | Merio: what do you mean by "pressed only if really wanted"? | 18:37 |
Merio | dhans: in the meantime we can push a new live instance | 18:37 |
Merio | dhans: in this moment if you click in the "export" button, it triggers automatically the creation of a freezed stat, which is necessary to output the code | 18:37 |
dhans | Merio: I am re-factoring the code according to sverre's suggestions (the long mail :P) | 18:38 |
Merio | dhans: eheh ^_^ | 18:38 |
Merio | dhans: so we can just agree to meet tomorrow and then push the live instance when we'll finish | 18:38 |
dhans | Merio: ok. as far as I remember I pushed a new instance today, so it is quite up to date (except the exporting thing) | 18:39 |
Merio | dhans: np, we can put it tomorrow before deadline. Even if probably I'll have a meeting with Pawel, so if you can push an uptodate version it would ease things | 18:40 |
Merio | dhans: I can push myself, but if you're working on it just do when you finish today's work :) | 18:41 |
dhans | Merio: ok, I drunk some beer today, so I am doing some simpler stuff right now :-) but ok, it is like 5 minutes job | 18:43 |
Merio | dhans: eheh beer and coffee are programmer's best friend :D | 18:43 |
Merio | friend => friends | 18:43 |
dhans | Merio: yes, but I don't drink coffee :D | 18:44 |
Merio | dhans: why not? :) | 18:44 |
Merio | dhans: it's the only thing to eat/drink I needed to carry with me from Italy :P | 18:45 |
dhans | Merio: you are Italian, so as I know, you have some traditions with coffee, etc. and you will probably want to kill me now, but I really hate how it smells ;-/ | 18:46 |
dhans | Merio: to be honest, I have almost never drink coffee in my life | 18:46 |
Merio | dhans: no, I don't want to kill you :P My father dislike it as well :) But you should try true Italian coffee before or then :P | 18:48 |
dhans | Merio: yeah, when I am in Italy, I'll probably try it :) | 18:48 |
Merio | dhans: sure, but I need to be present to see your face, especially if you dislike it :D | 18:49 |
dhans | Merio: Recently I'd really like to visit Naples :P | 18:49 |
dhans | Merio: probably you'd see me throw up :P | 18:50 |
Merio | dhans: I hope not ^_^ well, Naples it's a 2 hour trip from Rome | 18:50 |
dhans | Merio: it is after I read Kamorra :P | 18:51 |
dhans | Merio: actually Gomorra :P | 18:52 |
Merio | dhans: You mean Roberto Saviano's book? | 18:52 |
dhans | Merio: yep :) | 18:52 |
Merio | dhans: I really need to read it | 18:53 |
Merio | dhans: My fault :) | 18:53 |
dhans | Merio: in Polish edition, there was a note from the translator that in Italy over a million copies have been sold | 18:53 |
dhans | Merio: anyway, maybe the guy exaggerates, but my conclusion is that this is the most dangerous city in Europe :) | 18:55 |
Merio | dhans: yes, it's a very famous book in Italy, a movie has been made from the book too | 18:55 |
Merio | dhans: you're not too far away from the truth I'm afraid. | 18:56 |
dhans | Merio: there is also a 24/7 liquid store in my neighborhood and there is a clerk who is from Italy. I talked with her about about that city, so she just confirmed by believes :) | 18:57 |
Merio | dhans: it depends also from where she comes from :) Actually there are many "rivalries" between big cities (Rome against Milan, Milan against Naples) and neighbor cities (but I think it's something common also in other countries as well) | 18:59 |
*** matthewwilkes_ has joined #melange | 19:00 | |
dhans | Merio: hmm I am not sure, actually I often see her, but always forget to ask. She said she was in Naples twice and remembers for example that when she was in a car, she had her hand outside the window. She had some kind of golden bracelets and when the driver (from Naples) saw what she was doing, he started yelling that some scooter guys might want to catch her hand (while driving) to steal the bracelets :-/ and some other similar stories ;P | 19:05 |
Merio | dhans: oh well years ago (like 20 years) my mother was in Naples and some guys with a scooter they actually stole her purse (in which she had the train tickets to return to Rome) | 19:07 |
Merio | dhans: just in front of the train station | 19:07 |
Merio | dhans: she had also the money to pay the taxi driver who had just brought her to the train station | 19:08 |
Merio | dhans: but then the taxi driver said he didn't want to be paid and he gave money to my mother to buy new train tickets | 19:08 |
Merio | dhans: so to say... the two faces of Naples... | 19:09 |
dhans | Merio: yes | 19:09 |
dhans | Merio: thank god she had some luck | 19:10 |
Merio | dhans: yes, also because you know... 20 years ago... no cell phones and so on... | 19:10 |
dhans | Merio: right | 19:11 |
Merio | dhans: but however it's not only luck.. it's that really you can find also the best people in Naples | 19:11 |
dhans | Merio: that's for sure | 19:11 |
Merio | dhans: one of my best friends is from Naples as well... but he went away, now he lives in another place | 19:11 |
dhans | Merio: that was also one of Roberto Saviano's conclusion that you have to leave to start some more normal live, but probably he went too far | 19:13 |
*** MatthewWilkes has quit IRC | 19:14 | |
Merio | dhans: well... to be fair Saviano /had/ to do it... you know, after the book it wasn't a good idea to remain there... | 19:15 |
dhans | Merio: yes, I even heard that Camorra wanted him to be killed :-/ but I mean it was his suggestion for young people from there to leave Naples and move for example to Rome | 19:17 |
Merio | dhans: yes I guess it's a sort of pragmatic conclusion, someone could argue "remain there to make Naples a better place with all your joined strengths"... but the situation is so compromised that I don't know when and if it will change in the future | 19:21 |
dhans | Merio: I do not think it changes soon. To me, It must be really terrible: I read a book, some articles, etc, but ok they all may have some made up stories for example for better selling. On the other hand, I know like two people from that country, and you both have some stories, even though you don't live in that city :P | 19:25 |
Merio | dhans: unfortunately I can't say it's different than as it seems. Only thing I can say it's that there aren't only bad things and bad people in those places but also wonderful ones. Which is kind of rethoric, but it's the truth as well. | 19:27 |
dhans | Merio: you're certainly right :-) | 19:28 |
*** matthewwilkes_ is now known as MatthewWilkes | 19:53 | |
*** mithro has quit IRC | 19:54 | |
Merio | dhans: have you run jslint against your JS files? | 20:07 |
dhans | Merio: nope. To be honest, I haven't checked it yet, and have no idea what it is :P | 20:08 |
Merio | dhans: :D it's like pylint, but for Javascript :) | 20:08 |
dhans | Merio: oh cool :-) but still, I have not :) | 20:09 |
Merio | dhans: ok, if you're not working on them I can fix them | 20:09 |
dhans | Merio: that'd be great :-) | 20:10 |
Merio | dhans: ok ^_^ I hope the developers would check and commits my latest patches to get all our soc/content/js code jslint compliant... it took some time and if something changes it will be difficult to merge the patches | 20:11 |
dhans | Merio: lately, I have seen that we have to wait longer for all responses :) | 20:13 |
Merio | dhans: Me2 ^__^ | 20:13 |
dhans | Merio btw. do they have to decide tomorrow whether we pass or not? | 20:13 |
Merio | dhans: tomorrow is the "pencils down" date, so every evaluation from the mentors must be related to code submitted before tomorrow, 19:00 UTC (21:00 your time), but they will have time until August 24, 19:00 UTC to submit the final evaluation. | 20:15 |
dhans | Merio: thanks :) | 20:16 |
Merio | On August 25 19:00 UTC (providing all is ok with Melange ^__^) final results will be published | 20:16 |
Merio | dhans: but nothing prevents our mentors to tell us something before, but it's not a requirement | 20:16 |
dhans | Merio: yes, I remember having forgotten to talk with sverre about the midterm evaluation, so officially I did not know for a long time :D | 20:17 |
Merio | dhans: Last year I waited the publishing of final results on the site, but I was in good standing with my mentor, so I guessed the results even if he didn't tell me anything :) | 20:20 |
dhans | Merio: :P I guess sverre would at least ping with "hey, you didn't pass" :P | 20:22 |
Merio | dhans: naaaah ^__^ | 20:22 |
Merio | dhans: for jslint => I'm going to commit list.js in a few minutes, and then I'll go for show.js... but please check if everything still works as desidred | 20:25 |
dhans | Merio: ok | 20:26 |
Merio | dhans: ok, list.js committed | 20:28 |
dhans | Merio: going to pull | 20:28 |
Merio | dhans: ahem... pull again, I forgot a line length issue :) | 20:32 |
dhans | Merio: ok :) | 20:32 |
*** MatthewWilkes has quit IRC | 20:35 | |
dhans | Merio: it seem to work :-) | 20:35 |
dhans | Merio: *seems | 20:35 |
Merio | dhans: great.. there could be problems risen with show.js, as it's longer | 20:35 |
*** mithro has joined #melange | 20:36 | |
*** ChanServ sets mode: +v mithro | 20:36 | |
Merio | dhans: if I knew I would have helped to avoid code duplication here :) Sorry for not having noticed before, my fault | 20:36 |
dhans | Merio: there is not so much duplication | 20:36 |
dhans | Merio: I mean it is usually simpler, because there is only one 'visualization' | 20:37 |
Merio | dhans: well, but this kind of thing could have been achieved using melange.graph package in some way | 20:37 |
dhans | Merio: so for example we don't need 'div_switch_options_'+chart_id or something | 20:38 |
Merio | dhans: yes, but it's interesting stuff for the future to abstract things well ^__^ | 20:38 |
dhans | Merio: so actually it was easier to make virtual stats there first and then adopt them to the actual dashboard :) | 20:38 |
Merio | dhans: eheh I see :) | 20:39 |
Merio | dhans: new show.js committed | 20:58 |
Merio | dhans: seems to work in my box, hope it's ok also in yours :) | 20:59 |
dhans | Merio: can't wait to see :) | 21:02 |
Merio | dhans: (I think you have some spare loggings on statistic logic, are they still necessary?) | 21:03 |
dhans | Merio: nope. I always forget to remove them :-/ | 21:03 |
Merio | dhans: eheh ^__^ doing it then :) | 21:04 |
Merio | dhans: I mean.. I'm going to remove them then | 21:04 |
dhans | Merio: understood. thanks ;-) | 21:04 |
dhans | Merio: but there is still some stuff that I need to change. probably something is going to stop working, so I will add some another logs :P | 21:06 |
Merio | dhans: ehehe ok I will remove them as soon as I catch them tomorrow :D | 21:06 |
dhans | Merio: :P | 21:06 |
Merio | dhans: just kidding... I'll leave them if they're useful to you | 21:07 |
Merio | dhans: I can't understand if the list of authors need to be indented or not :P | 21:07 |
dhans | Merio: they actually should be removed before committing :P | 21:07 |
Merio | dhans: I mean sometimes I see 2 space indentation sometimes 4 in the code | 21:08 |
Merio | dhans: ^__^ | 21:08 |
dhans | Merio: hmm right, I also don't know | 21:09 |
dhans | Merio: show works for me too :) thanks | 21:10 |
Merio | dhans: that's great! | 21:11 |
Merio | dhans: so.. I've fixed the authors list at least to unify all of them on one style in our py code | 21:12 |
dhans | Merio: how come new Object() is not jslint friendly? | 21:12 |
Merio | dhans: in general I also prefer that notation, I can't recall the reasons, IIRC that's something to deal with what is returned from typeof or valueOf | 21:15 |
dhans | Merio: strange :P | 21:16 |
Merio | dhans: also {} and [] are more concise | 21:17 |
dhans | Merio: that is true :) | 21:18 |
dhans | Merio: going to sleep. good night :) | 21:21 |
Merio | dhans: me too ^__^ Good night, see you tomorrow | 21:22 |
*** dhans has left #melange | 21:22 | |
*** Merio has quit IRC | 21:23 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!