15:04 <popey> #startmeeting Calculator app meeting
15:04 <meetingology> Meeting started Thu Jun 26 15:04:09 2014 UTC.  The chair is popey. Information about MeetBot at http://wiki.ubuntu.com/meetingology.
15:04 <meetingology> 
15:04 <meetingology> Available commands: action commands idea info link nick
15:04 <Mihir> Hey road obtain
15:04 <popey> Hows it going chaps?
15:05 <gang65> Quite nice :-)
15:05 <rpadovani> Hey guys :-)
15:05 <Mihir> Going good busy in official work too
15:05 <rpadovani> studing, all great here
15:06 <popey> So I think Mihir requested this meeting?
15:07 <Mihir> Yeah I spoke to Ricardo and he asked me to notify you
15:07 <popey> Groovy.
15:07 <popey> What would you guys like to discuss
15:07 <Mihir> It is basically what is next plan for calculatir
15:07 <Mihir> Calculator*
15:08 <gang65> the most important feature is copy/paste
15:09 <gang65> I would like to fix sdk to allow swiping textfields
15:09 <rpadovani> gang65, these would be awesome!
15:10 <rpadovani> unfortunately, right now is impossible to do this, and this also causes some problems deleting a calc
15:10 <gang65> yes
15:10 <rpadovani> because if you want to swype from left to right, you instead choose a label
15:11 <gang65> exactly
15:11 <Mihir> Also, ricardo what do you think regarding advance functions
15:11 <gang65> To move with advanced function the bug:
15:11 <rpadovani> before this, could I add something about actual version of calculator?
15:11 <gang65> https://bugs.launchpad.net/ubuntu-calculator-app/+bug/1315799
15:12 <gang65> must be fixed
15:12 <Mihir> Yes Ricardo
15:12 <gang65> Also
15:12 <gang65> https://bugs.launchpad.net/ubuntu-calculator-app/+bug/1333201
15:12 <gang65> should be closed as duplicate of:
15:12 <gang65> https://bugs.launchpad.net/ubuntu-calculator-app/+bug/1315799
15:12 <rpadovani> So, actually we have one problem, that is the one gang65 linked, we have some very bad performance because the implementation
15:13 <rpadovani> I think we need to think to a different implementation of engine before thinking about advanced functions
15:13 <gang65> I agree with that
15:13 <rpadovani> because the one we have now doesn't scale well, and we have bad performance
15:14 <gang65> It will give us bracket support, which is mandatory for advanced functions
15:14 <Mihir> Yup I agreed on that
15:14 <rpadovani> related, I think we need to align our structure of files to others apps: why we have a simple folder? It's a little mess in this moment
15:14 <rpadovani> I mean, I think a 'component' folder and a 'js' folder is a more intelligent division. Anyway, this is a trivial change
15:15 <gang65> Could you please create ticket for that?
15:15 <gang65> I don't want to miss that
15:15 <rpadovani> gang65, yes, sure, so we can discuss which is the best structure
15:15 <rpadovani> gang65, Mihir do you have any idea on how implement engine? To be honest, I have no idea on how create a calculator
15:15 <gang65> thanks
15:16 <rpadovani> popey, do you have any idea on how we can create an engine with some good performance?
15:16 <rpadovani> We need to save result of every single calc
15:16 <gang65> We discuss about that some time ago,
15:16 <gang65> after press '=' the values should be stored
15:16 <popey> Not really.
15:16 <rpadovani> gang65, yes, but a lot of access to the storage is a bottleneck
15:17 <gang65> I think we should store it in local variables
15:17 <popey> should we only store a limited number in the backscroll?
15:17 <popey> I mean, how often do you scroll up beyond the last few calculations?
15:17 <Mihir> Ricardo, you suggesting remove engine.js and write our own
15:17 <gang65> We don't need to store it in database
15:18 <rpadovani> Mihir, well, I don't know if we are able to do this, but we can improve it
15:18 <rpadovani> popey, well, the real problem aren't past calculations, but the calc the user is doing right now
15:18 <rpadovani> popey, because after press equal it doesn't save the result, but only display it
15:18 <Mihir> True, I like popey idea as well we can restrict saving calculation
15:19 <popey> Right.
15:19 <rpadovani> 1+1=+5= for the engine is (1+1)+5
15:19 <rpadovani> should be 2+5
15:20 <gang65> The previous 1+1= should be stored in some array and new value (2) should be passed to engine
15:20 <rpadovani> the problem is with 'c' function. If we save the result but not the calc, if a user do 1+1=C+2, how can we manage that?
15:20 <gang65> If we press 'c' then values will be taken from "array"
15:21 <Mihir> Hmmm , either we can change our functionality of equal and send proper array to engine
15:21 <Mihir> This could be one option I am not sure how good it can help
15:21 <rpadovani> gang65, so we create an array with previous calc and put in the engine only the result. Sounds good, but we also need to think how to understand if 'c' is pressed after an equal or not
15:22 <rpadovani> I mean, 1+1=+2+2C
15:22 <rpadovani> has only to delete last +2
15:22 <rpadovani> not retrieve old operation
15:22 <gang65> yes
15:22 <gang65> it will be retrive last operation
15:23 <gang65> when  you you get first number
15:23 <rpadovani> yap, we need a way to understand which is the first number
15:23 <rpadovani> but seems a good idea
15:23 <gang65> First number in engine
15:24 <gang65> I will try to describe it on ticket:
15:24 <gang65> https://bugs.launchpad.net/ubuntu-calculator-app/+bug/1315799
15:24 <rpadovani> gang65, looool, you're right, stupid me
15:24 <rpadovani> ok, so advanced functions for me is blocked until we do this improvement, what do you think guys?
15:24 <gang65> After implementing that we will have nice bracket support
15:25 <Mihir> True
15:25 <gang65> Agree
15:25 <gang65> Maybe after that we could set old science calculator as deprecated?
15:26 <rpadovani> gang65, we don't have a scientific calculator...
15:27 <gang65> ups
15:27 <gang65> :-)
15:27 <rpadovani> Anyway, I suggest to work on a separate branch, do you agree?
15:27 <gang65> ok
15:27 <mihir_> rpadovani: yeah
15:28 <rpadovani> also, tonight I'll open the bug about the structure of the app
15:28 <rpadovani> Anything else Mihir gang65 popey ?
15:28 <gang65> yes
15:28 <mihir_> rpadovani: are you suggesting it to have clean files , and remove directory strucut re?
15:28 <mihir_> structure*
15:29 <popey> Just one thing, we're doing hack days again next week, so if you have any bugs which you consider "bitesize" then I'd tag them as so.. http://developer.ubuntu.com/2014/06/bring-your-apps-to-hack-days/
15:29 <mihir_> popey: that's awesome :)
15:29 <rpadovani> mihir_, just to reorganize the files, and maybe split some of them
15:29 <mihir_> hmm okay rpadovani  got it
15:30 <rpadovani> sorry guys, I have to go, thanks for the meeting :-) See you soon!
15:30 <gang65> thanks bye
15:30 <mihir_> thanks everyone
15:30 <mihir_> thanks popey rpadovani  gang65
15:30 <gang65> @popey  Can we close https://bugs.launchpad.net/ubuntu-calculator-app/+bug/1333201 as duplicate?
15:30 <meetingology> gang65: Error: "popey" is not a valid command.
15:30 <popey> sure gang65
15:31 <popey> mark dupe if you need to
15:31 <popey> I wont be offended ㋛
15:31 <gang65> :-)
15:32 <gang65> That's all from my side...
15:33 <mihir_> nothing from my side as well
15:33 <mihir_> thanks popey gang65
15:34 <popey> Thanks guys!
15:34 <popey> #endmeeting