=== chriadam|away is now known as chriadam === _salem is now known as salem_ === salem_ is now known as _salem [02:46] hi [02:50] developer tools are not installed. [02:50] i cant run touch emulator because that === chihchun_afk is now known as chihchun [08:20] good morning [08:40] dholbach, o/ [08:42] hi AkivaAvraham === chriadam is now known as chriadam|away === rmescandon is now known as rmescandon|brb === JamesTait is now known as Guest62637 === Guest62637 is now known as JamesTait === rmescandon|brb is now known as rmescandon [09:33] Good morning all; happy Eileen Collins Day! :-D [09:43] nik90: hello there. How much are you involved with the clock app development? [09:46] bzoltan: hi...pretty much the only maintainer of clock app :) [09:46] bzoltan: although I am on a personal hols to india [09:47] nik90: all right :) than you are trhe right man... so there is a little problem with the autopilot tests. The app asks for permission to acces the lovation... what is not necessaryly granted by default. So the automatic tests can fail on that. [09:52] bzoltan: yes that's why the clock app tests are failing in the qa dashboard as well [09:52] bzoltan: I can only take a look at it when I get back on the Feb 10th I am afraif [09:53] Although there is currently a mp under review to fix that issue by brendand [09:53] bzoltan: may be you can use that ^^ [10:04] timp: up for another look? https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/i18nctag/+merge/248260 [10:09] nik90: okey, for the UITK landings I can not use patched/fixed autopilot tests, so i wait for the fix to lan === chihchun is now known as chihchun_afk [10:18] hey jdstrand, do you have an opinion on https://code.launchpad.net/~abreu-alexandre/click-reviewers-tools/fix-local-url-patterns-override-rule/+merge/248273? === rmescandon is now known as rmescandon|brb === rmescandon|brb is now known as rmescandon === chihchun_afk is now known as chihchun === marcoceppi_ is now known as marcoceppi-sast === _salem is now known as salem_ === MacSlow is now known as MacSlow|lunch === salem_ is now known as _salem === chihchun_ is now known as chihchun === rmescandon is now known as rmescandon|lunch === MacSlow|lunch is now known as MacSlow === rmescandon|lunch is now known as rmescandon [14:03] \o/ woo hoo! [14:04] finished big hurdle in autopilot plugin! [14:07] seb128, hi about this MR: https://code.launchpad.net/~renatofilho/ubuntu/vivid/syncevolution/default-syncInterval/+merge/247768 [14:08] renatu, hey [14:08] seb128, your last question was about the desktop [14:09] seb128, well on desktop the sync of a full calendar is faster than the device [14:09] seb128, do you think that is possible to apply this patch only on the device? [14:09] renatu, well, the package is not specific to phone and we want convergence [14:09] renatu, so we shouldn't change a default because it makes sense on the phone [14:10] seb128, how we can solve that? [14:10] renatu, what's the issue with the full sync? data download? cpu use? did we quantify that somewhere? [14:11] seb128, it takes about 40 min on the device [14:11] seb128, up to 5 min on desktop [14:12] seb128, the time is to big, consume a lot of cpu and battery [14:12] renatu, is that cpu bounded? how many events are we talking about? [14:13] seb128, my calendar is very small, but bfiller and pmcgowan has the problem while syncing his calendars [14:14] seb128, I believe they have about 5 events every day, for about 5 years [14:15] renatu, are we talking about past events? [14:15] why do we even sync those at all? [14:15] seb128, yes [14:15] seb128, this is how syncevolution works [14:16] seb128, with this patch we create a limit to sync only the last 90 days [14:16] hi davidcalle, we haven't caught up this week yet - how's the porting guide coming along? [14:17] renatu, ok, sounds good then, for desktop as well [14:18] renatu, seems still worth forwarding upstream, it doesn't make sense to sync years of old events [14:18] seb128, ok nice. boiko is requesting a silo for it. [14:18] dpm, ogra_ directed me to rsalveti for help. I'm currently working on the mir section, trying to write something that makes sense. So all good, afaict. Can't hangout right now as I don't have my headphones, but tomorrow if you want ? [14:18] We will test it a bit more [14:19] davidcalle, sounds good. Are we still on track for having it ready for the UGJ? [14:20] seb128, thanks [14:20] renatu, yw! [14:20] dpm, My plan is to be ready for friday, still on track :) [14:21] dpm, when is going to be the UGJ (or dev event) after this one? [14:26] dpm, because we should really do something with snappy and the new raspi, there is still time to think about it of course, but I'd love to plan that. === davidcalle_ is now known as davidcalle [15:35] Hi folks o/ What would be the attached property in OptionSelectorDelegate indicating a value from model: [0, 1, 2, 3] (just a sample), if I'm not using a custom ListModel? [15:35] I know 'index' is a delegate attached property, but is the value accessible right away, without puttling from the model based on index? [15:35] karni, indix? [15:36] index* [15:36] AkivaAvraham: right, but ↑ :) [15:36] say, model: [0, 23, 345, 567] [15:36] karni, I believe it is. Its been awhile though. [15:36] if I have OptionSelectorDelegate, how do I tell the value is 345 (without using index) [15:37] karni, good question... [15:37] * karni blindly tests 'value' property [15:48] I'll live with modelName[index], thanks anyway, AkivaAvraham [15:48] karni, :/ its been like 2 months since I touched qml ; SORRY! [15:48] AkivaAvraham: no prob at all ^_^ [15:48] karni, btw; what are you developing? [15:49] AkivaAvraham: let's say one of preloaded Ubuntu apps ;) [15:49] karni, so its secret? Otherwise I was going to ask for a favour. [15:49] I was hoping you'd post what you are working on at http://www.reddit.com/r/ubuntuappdev [15:50] karni, oh btw; ubuntu on air happens in 10 minutes [15:50] oh, that's cool [15:50] it's semi secret, but we can put it up there in a week or two :) [15:53] Hey all: Live Ask Ubuntu Anything live in 10 minutes: http://ubuntuonair.com | #ubuntu-on-air === justCarakas1 is now known as justCarkas [15:57] I am here. [15:57] mixailflash, o/ [15:57] in an hour though; first the session [15:57] ok === chihchun is now known as chihchun_afk [16:04] hi [16:16] mixailflash, hello [16:16] hello [16:17] mixailflash, after the video :) [16:17] can you give me some links for tutorials, like create application for desktop step by step? [16:19] mixailflash, I will but I need to iron some things out; A desktop app... may not be what you think it is. [16:20] AkivaAvraham I mean desktop gui applications [16:21] mixailflash, I know; but there is two types [16:22] ok, but somebody create applications, for 386 and 64. and it work. If I right understand you, [16:26] AkivaAvraham ok, but somebody create applications, for 386 and 64. and it work. If I right understand you [16:27] mixailflash, no not that. [16:27] mixailflash, Basically its pure qt vs qml/qt [16:27] pure qt won't converge. [16:27] AkivaAvraham ok, but wath about links? [16:27] mixailflash, in 30 minutes; i'm watching ubuntu-on-air [16:28] https://www.youtube.com/watch?v=VY5InoyLeao#t=477 [16:28] AkivaAvraham ok [16:29] AkivaAvraham I have to go. But after one hour I am back, ok. If you want I can leave my email. [16:30] mixailflash, come back to this irc channel [16:30] and when you see me on; just ping me [16:30] mixailflash, short answer though; http://www.reddit.com/r/ubuntuappdev may be a good start [16:31] thanks [16:31] AkivaAvraham thanks [16:31] np === rmescandon is now known as rmescandon|brb === rmescandon|brb is now known as rmescandon === chihchun_afk is now known as chihchun [17:05] hello [17:05] popey, mhall119 when you play machine vs machines does your device turn off while playing? [17:08] yes [17:08] balloons: https://bugs.launchpad.net/machines-vs-machines :) [17:09] where to get code samples i am new to the community how do i get started? [17:09] popey, I don't see it in there.. I was going to file it assuming I'm not alone [17:09] maqbool, ah hey [17:09] maqbool, what kind of development do you want to do? [17:10] Ubuntu phone dev [17:10] maqbool, do you want to build your own app, contribute to ubuntu (A good idea), or some more internal complicated stuff? [17:10] i want build my own app [17:10] maqbool, if you contribute to the ubuntu core apps; you will learn a lot on proper coding practices for QML [17:11] maqbool, okay cool. What version of ubuntu do you have? [17:11] 14.04 [17:11] okay doke. one sec [17:11] maqbool, do you know any programming languages? [17:11] or are you starting somewhat fresh? [17:11] javascript and python [17:12] kind of fresh [17:12] i am student [17:12] maqbool, okay cool. Well first you want the updated version of the SDK. You can find it here: https://developer.ubuntu.com/en/start/ubuntu-sdk/installing-the-sdk/ [17:12] Alternatively you could install 14.10 or 15.04 [17:12] erm [17:13] popey, are you using 15.04? [17:13] on my desktop, no, on 14.10 right now [17:13] will go to 15.04 at some point [17:13] popey, okay thanks. [17:14] maqbool, yah 14.10 then. Although 14.04 should work fine. [17:14] 14.04 pretty unstable on my machine [17:14] maqbool, it is ubuntu, right? [17:15] not kubuntu, or xubuntu [17:15] or lubuntu [17:15] yep [17:15] okay [17:15] Well you can choose to upgrade or stay. [17:15] 14.10 works good for me. [17:15] maqbool, because you know javascript, you will feel right at home with qml. Very similar. [17:16] maqbool, are you planning to learn c++? [17:16] i am learning right now in school [17:16] maqbool, c++? [17:16] c++ yep [17:16] okay well I was going to suggest a manual that teaches you c++ with Qt in mind. Interested? [17:17] alright [17:17] maqbool, and you might as well switch to ubuntu sdk as your c++ development environment. I assume they have you using eclipse or something. [17:18] maqbool, here: http://www.reddit.com/r/UbuntuAppDev/comments/2qy5ko/guide_for_new_ubuntu_developers/ link at the bottom. [17:18] codeblocks [17:18] maqbool, ah yah definitely switch then :) [17:22] maqbool, okay i'm going to head off; any other questions? [17:34] bzoltan, zbenjamin http://i.imgur.com/6eJt30x.png :) I'm getting closer. I just need to add a widget in the run config now with a list of tests. [17:39] kalikiana: I assume the motivation for adding the tag() function is correct, but I'm still trying to understand it better [17:39] kalikiana: in https://code.launchpad.net/~unity-team/music-app/infographics-translations/+merge/248251 why not use the string i18n.tr("Songs played today: ") + "%1" [17:40] ahayzen, pete-woods: ^ [17:40] timp, RTL and LTR languages [17:40] ah. good point :) [17:41] ahayzen: and with an i18n.tag() function all the problems are solved? [17:41] ahayzen: tag() is the name proposed for noop() [17:42] timp, apparently :) ... assuming the singular debate is a separate debate/issue ;) [17:43] ahayzen: I'm just reading all the comments now. It appears that dpm disapproved a similar change before [17:43] yup [17:44] timp, kalikiana, as per the bug, could we call the function i18n.noop() instead of i18n.tag()? [17:45] timp: never ever do string manipulation in context of localization, this is unrelated to tag, tr or plurals [17:45] dpm: we could. though it looks like everyone prefers tag [17:45] kalikiana, I didn't see any discussion [17:45] dpm: why? when we discussed the API for i18n (see https://docs.google.com/a/canonical.com/document/d/1qDcfbu9aAj7uU9qzjXCOJn8zGexBnXwZCgO8pLDsO5M/edit# ) we decided not to stick with the gettext function names [17:46] dpm: see the "Votes" at the top.. because we couldn't get everyone to agree in the end we just voted [17:46] dpm: it was i18n.tr() vs i18n.gettext() and we ended up using tr() [17:46] dpm: tag was originally proposed and including me and pete 3 people consider it more intuitive than noop - noop isn't even used in C [17:46] timp, that was many months ago, I'm talking about .tag [17:47] dpm: that's what I mean by "everyone prefers" [17:47] where that means, everyone who is involved [17:47] nevermind, I don't feel strongly enough to argue on that one [17:47] dpm: yes, I know. Just saying that back then we kind of decided that we don't have to stick with the gettext naming that people know if we can come up with a clearer or more convenient function name [17:51] timp, as per the question: i18n.tr("Songs played today: ") + "%1" would for example break for RTL languages [17:59] why would i18n.dtr("metric", "Songs played today: %1") instead of i18n.tag("Songs played today: %1") not work? [17:59] dpm, ahayzen, kalikiana: ^ [18:01] Elleo: i listened to podcasts in your app all the way back from fosdem on the eurostar, thank you for making it. It's very stable. [18:02] timp: because the string is displayed in the lockscreen and the language can be changed when the app isn't running [18:04] kalikiana: ah, so the string does not even exist in the list of translateable strings for the metrics? [18:07] popey: cool, glad you found it handy :) [18:13] timp: the string is in the app's .mo files, and the domain is set in the metrics API [18:13] timp: merged ctag into tag https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/i18nctag/+merge/248260 [18:14] kalikiana: so the metrics somewhere call i18n.dtr("music-app", "Songs played today: %1")? [18:15] timp: yes [18:17] I'd need some help with setting "read_path" in docviewer-app, which should be authorized to read file stored in "@{HOME}/Documents". However I don't know how to convince ContentHub to read files from user's folder. === corecomic_ is now known as corecomic [18:25] kalikiana: I have a lot of questions for this MR ;) [18:26] kalikiana: here is the next one https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/i18nctag/+merge/248260 [18:27] timp: true. they need to be added as needed like any other function [18:27] timp: I have wondered at one point why we don't have a re-usable script for this because for apps it's kinda stupid [18:28] in the uitk we have even 3 separate places where that may be considered [18:28] kalikiana: so each app duplicates our update-pot.sh ? [18:28] ahayzen: how do you generate the .pot files for apps? [18:28] timp: either that or they make up their own or they hope QtC performs some magic [18:29] need to run, will be back later [18:30] timp, http://bazaar.launchpad.net/~music-app-dev/music-app/remix/view/head:/README.translations and http://bazaar.launchpad.net/~music-app-dev/music-app/remix/view/head:/po/CMakeLists.txt [18:30] timp, its in the readme.translations [18:33] dpm, ahayzen that explains what launchpad does with the pot files, but not how the pot files are generated [18:34] timp, i just do the click-buddy thing and then cp the generated .pot over :) [18:34] ahayzen: ah I see in your po/CMakeLists you use xgettext [18:35] it has this line, --keyword=tr --keyword=tr:1,2 --keyword=N_ [18:35] yup [18:35] ahayzen: so I think you will need to add i18n.tag there as well [18:35] timp, is that not what the mp did? [18:36] timp, it's explained both in the readme and you can see it in the cmake rules [18:36] ahayzen: yes, true. I was only looking at the UITK MR now [18:36] dpm: okay, thanks. It is clear now [18:36] timp, pete-woods already sent a MP for music-app to add .tag [18:36] timp, https://code.launchpad.net/~unity-team/music-app/infographics-translations/+merge/248251 ... L23 in the diff [18:36] that one :) [18:37] ok, clear. [18:37] ahayzen: didn't everybody vote to use tag() not noop()? ;) [18:37] the mp hasn't been updated [18:37] ok [18:37] it is pending on the sdk work [18:39] kalikiana: do you want to update update-pot.sh? Or we leave it like this since we are not using tag() anyway? [18:48] kalikiana: so we do have that script. I think it is best to update it with tag() in case apps copy it from us. [18:49] * timp bbl [19:19] Did something recently change WRT location and permissions? I have a simple app that uses a PositionSource, and it used to work fine (still works on desktop), but it recently returns no coordinates. I have "location" in my app armor. [19:41] popey: document history -> https://imgur.com/lsYzc3D,6OlTRkL [19:41] sverzegnassi: oh man, that is so awesome! [19:41] rickspencer3: check that out ^^ :D [19:42] * rickspencer3 looks [19:42] nice! [19:42] this is gonna make the doc viewer so much more appealing [19:44] I'd like to merge it for tomorrow. Still need to finish some work on ResponsiveGridView and SortFilterModel (for some reason, it's not sorting) [19:44] oh, someone else had problems with lists not sorting correctly [19:45] sverzegnassi: if you ask rpadovani for a review, and he has time, I'm sure he'd love to take a look. [19:45] (he told me he likes your code, it's easy to read) [19:49] He already knows that, if he wants, there's always a new MP waiting for him :P [19:50] About SortFilterModel, I had the same problem in quick-memo because of U1DB but this time I'm using a standard QML ListModel [19:54] popey, sverzegnassi just finished dinner, I'm on the zoom branch already :_) [19:54] :-) [19:58] \o/ === salem_ is now known as _salem [21:55] does anyone know if there are helper functions for writing AP tests for OptionSelector? [22:25] rickspencer3, I think you maybe could start from here - not the same thing, but better than nothing :-) [22:25] https://bazaar.launchpad.net/~phablet-team/address-book-app/trunk/view/head:/tests/autopilot/address_book_app/pages/_contact_editor.py#L63 [22:25] hi rpadovani [22:26] I kinda faked it by clicking on the selector, finding the item and clicking on the item, then sleeping a bit [22:26] worked ok [22:26] rickspencer3, did you consider the case where the value you want isn't in the view after the option selector has been expanded? :-) [22:27] rpadovani, no [22:27] I just chose something near the top :) [22:34] rickspencer3, atm I don't find the documentation, but there is an helper named 'swipe_into_view()' to have it in view, so you could select the element, and then do element.swipe_into_view().. Just for your information :-) [22:34] oh cool [22:34] rpadovani, that sounds perfect, hopefully I'll be able to find out later [22:34] I am finding it very strange to be developing with Autopilot [22:35] rickspencer3, it works for every element in a flickable, so I suppose works also for option selector [22:35] I write a few lines of qml, then a few lines of test code [22:35] well, tbh I think it's very useful, but I don't like to write tests. Luckly, there is the QA team :D [22:36] I already wrapped my u1db in unit tests, so now it's just autopilot [22:36] great! [22:36] rpadovani, I think all developers should develop tests along with their code [22:37] no t hat we have such a developed CI system for Ubuntu, the tests are a critical consumer to keep us moving forward quickly without regressions [22:37] also, if you have tests, then if someone underneath breaks you, the tests catch it, and it's their problem, not yours ;) [22:37] in the end, I actually don't think it's more work [22:38] I think that ultimately, if you have a good test suite, you can go faster [22:38] [22:39] I completely agree with you, just, I don't like to write them. But since they are necessary, I just do them :-) [22:49] hehe [22:55] rickspencer3, will you be in London for the launch event? [22:55] rpadovani, planning on it! [22:55] \o/ [23:34] now i am happy! \o/ https://imgur.com/mJQtDtO [23:48] oh man sverzegnassi ! [23:57] sverzegnassi, excellent! [23:59] ty! just a quick check about performance, and document history is ready to land (as soon as the poppler plugin MP is merged) :D