/srv/irclogs.ubuntu.com/2015/10/14/#ubuntu-app-devel.txt

mhall119gerlowskija: https://developer.ubuntu.com/api/scopes/cpp/sdk-15.04/ is the correct link for that01:20
gerlowskijaThanks mhall119, is there any way I can help update the links on the golang.org documentation so they point a legit pages?01:21
gerlowskija(e.g. https://godoc.org/launchpad.net/go-unityscopes/v2#NewPreviewWidget)01:22
gerlowskija(There's a few broken links that have corresponding SDK doc pages, and could probably be updated.  Though maybe there's a reason they're not linked up)01:23
mhall119gerlowskija: I'm not sure who manages those, but I'm sure there's a way you can help fix them if we find someone who can tell us how01:26
mhall119gerlowskija: I'm guessing it comes from https://launchpad.net/go-unityscopes01:32
mhall119maybe tedg can help you contribute01:33
mhall119I'd recommend cwayne, but he's on holiday for a while01:33
mhall119gerlowskija: yeah, looks like it's here: http://bazaar.launchpad.net/~unity-team/go-unityscopes/v2/view/head:/previewwidget.go01:36
mhall119so you should be able to make a merge proposal against that project to correct the inline docs01:37
=== chihchun_afk is now known as chihchun
tedgmhall119: Someone on the scopes team would be best, jamesh or alecu would be good contacts there.03:34
alecugerlowskija: thanks for letting us know about those broken links and outdated docs03:49
alecuI'll make sure we find the right person to fix it03:49
mhall119alecu: if you see him/her online again, you've got an offer to get it fixed already :)03:51
mhall119just need to know where and how03:51
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
dholbachgood morning06:24
=== chriadam is now known as chriadam|away
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== davidcalle_ is now known as davidcalle
=== tux_ is now known as soupnanodesukar
=== oSoMoN_ is now known as oSoMoN
=== Acn0w- is now known as Acn0w
=== JMulholland_ is now known as JMulholland
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== _salem is now known as salem_
mhall119bzoltan_: do we ship QtQuick.Controls as part of the base image yet? If not, do we have any plans to do so?13:40
bzoltan_mhall119: the QtQuick Controls are provided by the qml-module-qtquick-controls  qtdeclarative5-controls-plugin packages and no, they are not on the default image13:43
bzoltan_mhall119: I would not recommend to include them to the phone image13:44
bzoltan_mhall119:  the quick controls are very much about desktops13:44
mhall119bzoltan_: they would be useful when our phones are powering desktops13:51
mhall119but I understand the reasons13:51
bzoltan_mhall119:  it does not take more then adding it to the seeds. But the apps using quick controls would surelly look funny on a high dpi small screen :)14:12
=== Guest77290 is now known as balloons
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
mcphailIs the SDK PPA ready for wily?18:15
mcphailI can't quite work out from the launchpad page whether wily builds are up and running...18:20
mcphailSorry to repeat, but does anyone know if it is safe to install the SDK PPA on wily?19:29
ahoneybunmcphail: you don't need the ppa19:31
ahoneybunonly was for 14.04 / trusty19:31
ahoneybun14.10 forward has the sdk in the repos but 14.10 hit EOL19:31
mcphailahoneybun: Aah. OK. I was using it on vivid (I think...) :)19:31
ahoneybunyea with vivid your good19:32
ahoneybunthe ubuntuphone is still based on 15.04 anyway19:32
mcphailahoneybun: so I can just apt-get install ubuntu-sdk on wily and everything will work?19:33
ahoneybunyep19:33
ahoneybunif you just want to install it on a phone you can just install ubuntu-device-flash19:33
ahoneybunbut if you want to develop as well the ubuntu-sdk is what you need19:33
mcphailyep. Cheers19:33
ahoneybunnp19:34
mcphailAargh. This is so frustrating. I installed the Ubuntu-SDK, and now mediascanner is melting my CPU. Is there any way to stop it?20:58
mcphailEven when "idle", it is consuming 10% of CPU, but it keeps cranking up to 150%21:01
mcphailThis must be a bug. Nothing else on my system is hogging resources to that extent21:02
mcphailOK, I've found https://bugs.launchpad.net/ubuntu/+source/mediascanner2/+bug/1398614 . This is really broken21:15
ubot5`Ubuntu bug 1398614 in mediascanner2 (Ubuntu) "mediascanner-service-2.0 using large amounts of CPU" [High,Confirmed]21:15
=== salem_ is now known as _salem
ahayzenmcphail, it is probably just trying to scan your media directories... you can prevent the process from respawning by editing this file /usr/share/upstart/sessions/mediascanner-2.0.conf21:54
ahayzenmcphail, IIRC you can put a .nomedia file (or something similar) in any folders you want it to skip, ie external media21:55
mcphailahayzen: it has had hours to scan them, but still keeps spiking. I'll need to uninstall22:15
ahayzenmcphail, have a look at the log, sometimes if it hits a bad file format/metadata it wasn't expect it'll keep looping22:16
ahayzen*expecting22:16
mcphailahayzen: where's the log?22:16
ahayzenmcphail, on the phone its in ~/.cache/upstart/mediascanner-2.0.log or something like that..so assume similar on the desktop22:17
mcphailahayzen: yes, log is there: all 819150 lines of it...22:18
ahayzenhaha grep it for like error or something22:18
ahayzenbet it is looping22:19
mcphailLots of errors on .xcf files, but not sure there is any looping...22:20
ahayzenmaybe worth just reading the last part of the file with $ tail -n NUMBEROFLINES ... or just renaming the file and letting it generate a new one22:21
mcphailBut an 800000 line log file for an package which was only installed 2 hours ago is extreme, to say the least22:22
mcphail55 megabytes. Seriously?22:23
* ahayzen hides22:23
mcphailha!22:23
ahayzenyeah its scary what it does :-/22:23
* ahayzen has the service disabled and manually runs when required22:23
ahayzenits a pretty big worry for when we start converging tbh22:24
mcphailUnfortunately I can't uninstall without breaking the SDK22:24
ahayzenjust disable the service22:25
mcphailOK, will try22:25
ahayzenmcphail, make the file look like this http://pastebin.ubuntu.com/12784565/22:25
ahayzenthen just do the $ stop mediascanner-2.0 or use killall22:26
ahayzenmcphail, but whatever is causing it to loop and go mental should really be investigated and reported :-)22:27
mcphailahayzen: at least I now have an email address for my hitlist... :)22:28
ahayzenmcphail, pahah22:28
mcphailOK, that seems to have worked. All's quiet on the mediascanner front for now22:29
mcphailCheers22:29
ahayzenmcphail, no problem, and if it managed to scan enough most mediascanner things still work, eg i work on the  music-app with my service disabled :-) (just don't get new files until i rerun it)22:30
mcphailahayzen: I think that, in itself, is a sad indictment of the package22:30
ahayzenmcphail, yeah it is really not in a good state when you have 50+ GB of music and like 25+ of photos/videos for it to scan22:31
mcphailI'll try and trawl through the logs to see if there are any clues to the badness22:31
ahayzenthanks22:32
mcphailI do worry, though, that it is just not very efficient22:32
ahayzenfrom my analysis it seems to commit to its db between indexing every file, i feel it would speed it up if the commit was batched22:33
ahayzenyou can see the sqlite tmp lock file being create/destroyed rapidly as it is indexing22:33
mcphailoh dear. that is bad22:33
ahayzenyup22:34
mcphailPresumably (if it uses > 100% CPU) it is threaded as well, so all those locks are going to be blocking something22:34
ahayzenisn't sqlite not good with concurrency ?!22:35
mcphailHa! sqlite is a nightmare, isn;t it?22:36
ahayzen:-)22:36
mcphailI agree. It should only dommit every few seconds. RAM isn't going to be exhausted as it caches for a moment22:38
mcphail*commit22:38
ahayzeni'm pretty sure that is what is happening anyway, things may have changed when i last tried to investigate22:38
mcphailI'm not a developer, but I have hacked a fair bit of code on thesilversearcher (a grep-like program) and you can cache a lot of search results if you do it efficiently22:41
ahayzenyeah it should be simple todo if this is what it causing the slowdown22:43
mcphailahayzen: do you know the correct person(s) to poke about this?22:48
ahayzenmcphail, jamesh ;-)22:49
mcphaildoes he IRC? I don't recognise the nick22:49
ahayzenmcphail, he is a AU timezone, so usually appears a different times to us EU/US folks22:49
ahayzenmcphail, oh he is in #ubuntu-touch you could try there, but i've found he is more responsive to emails22:50
mcphailOK, i'll email him. Cheers - off to bed now22:50
ahayzen:-)22:50

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!