IRC log of #harmattan for Friday, 2012-02-17

*** heymaster has joined #harmattan00:07
*** heymaste_ has quit IRC00:10
*** lassi has quit IRC00:13
*** xTs has quit IRC00:13
*** benares_98 has quit IRC00:13
*** benares_98 has joined #harmattan00:16
*** Free-MG has quit IRC00:16
*** niwakame|away has quit IRC00:19
*** NIN101 has quit IRC00:20
*** zk8 has joined #harmattan00:21
*** niwakame|away has joined #harmattan00:25
*** leinir has quit IRC00:25
*** leinir has joined #harmattan00:26
*** briglia has quit IRC00:26
*** niwakame|away has quit IRC00:40
*** niwakame|away has joined #harmattan00:41
*** faenil has joined #harmattan00:41
*** Khaled has joined #harmattan01:00
*** arcean_ has left #harmattan01:02
befr0dhey, is bzip2 included by default? or does it require dev mode?01:03
*** niwakame|away has quit IRC01:03
befr0duhm nevermind, seems to be part of filebox01:04
*** niwakame|away has joined #harmattan01:04
*** tarantism has quit IRC01:05
*** Khaled has quit IRC01:11
*** lacerda has joined #harmattan01:12
lacerda@all: how can I get the builtin music player current state (i.e. if it is playing, paused, stoped) via dbus?01:12
*** heymaster has quit IRC01:20
*** cclarky85 has left #harmattan01:23
*** MohammadAG has joined #harmattan01:23
*** befr0d has quit IRC01:27
*** niwakame|away has quit IRC01:31
*** heymaster has joined #harmattan01:33
*** beford has joined #harmattan01:33
*** heymaste_ has joined #harmattan01:34
*** heymaster has quit IRC01:38
npmis there an update to http://harmattan-dev.nokia.com/pool/harmattan-beta3/free/h/harmattan-repository/harmattan-repository_0.4+0m6_all.deb for harmattan?01:40
npmpr1.201:40
*** niwakame|away has joined #harmattan01:40
*** niwakame|away has quit IRC01:45
*** niwakame|away has joined #harmattan01:46
itsnotabigtrucknpm: that package is just a postinst script that inserts the harmattan-dev.nokia.com repo, right?01:54
itsnotabigtruckso i doubt it's updated, since the repo hasn't moved anywhere01:54
*** niwakame|away has quit IRC01:58
*** heymaster has joined #harmattan01:59
*** heymaste_ has quit IRC02:02
*** Natunen has quit IRC02:02
*** heymaste_ has joined #harmattan02:03
*** niwakame|away has joined #harmattan02:04
*** heymaster has quit IRC02:06
*** heymaster has joined #harmattan02:07
*** heymaste_ has quit IRC02:11
*** niwakame|away has quit IRC02:14
*** rm_work has quit IRC02:26
*** faenil has quit IRC02:28
*** adlan has quit IRC02:32
*** niwakame|away has joined #harmattan03:13
*** zk8 has quit IRC03:15
*** niwakame|away has quit IRC03:18
GeneralAntillesitsnotabigtruck, Android is shit.03:19
GeneralAntillesIt makes me want to hurt things when I use it. :)03:19
*** risca has joined #harmattan03:21
itsnotabigtruckGeneralAntilles: well, i'm sure harmattan isn't the last mobile hipster os :p03:21
GeneralAntillesWell, not in it for the hipster03:22
GeneralAntillesin it for a modern experience, the community, and the open source.03:22
GeneralAntillesNobody's got the chops to replace those anytime soon.03:23
DocScrutinizerhttp://www.downforeveryoneorjustme.com/www.wirelessmodemapi.com03:23
itsnotabigtruckDocScrutinizer: what is that site?03:28
itsnotabigtruckGeneralAntilles: well, android is lightyears ahead of harmattan and maemo on the open source department03:29
itsnotabigtruckno one except the owning companies (google / nokia) has any real control over either03:29
itsnotabigtruckandroid's much more popular and with that comes a gigantic community03:30
*** smokex|away has quit IRC03:30
itsnotabigtruckas for modern experience, i do find android to be too much like a modernized wm603:30
itsnotabigtruckwhich is certainly not a good thing03:30
DocScrutinizeritsnotabigtruck: the official API specs for modem of N900, N950 and N903:30
itsnotabigtruckit inherited some of the worst parts of wm like making it close to impossible to close apps03:30
itsnotabigtruckhence why task killers are some of the most popular android apps03:31
itsnotabigtruckDocScrutinizer: ah, is that a nokia site or 3rd party03:32
DocScrutinizerotoh andridiot kills apps whenever it feels like03:32
itsnotabigtruckaccording to whois, nokia03:32
itsnotabigtruckhas anyone downloaded the contents already?03:32
GeneralAntillesitsnotabigtruck, bullshit.03:33
GeneralAntillesAndroid isn't vaguely Open Source.03:33
itsnotabigtruckandroid's bloody gigantic git repository begs to differ03:33
itsnotabigtruckyou can download the source and build yourself an entire android image03:33
itsnotabigtruckwith whatever modified stuff you want03:33
GeneralAntillesJust because they throw shit over the wall doesn't make it open source.03:33
GeneralAntillesBut this isn't a discussion I feel like having tonight.03:34
itsnotabigtruckopen = openly licensed, source = you can get the source03:34
itsnotabigtruckopen source03:34
*** niwakame|away has joined #harmattan03:34
GeneralAntillesAndroid isn't for me. I hate it for its design, I hate it for its parent company, I hate it philosophically.03:34
itsnotabigtruckcompare that to harmattan where really only parts of the core system utils are open source, plus some misc stuff - and everyone's had trouble getting proper source code releases03:35
itsnotabigtruckthe beta3 repo is increasingly out of date and the sdk_sources_pr1.1.iso is missing a number of files that are supposed to be there03:36
GeneralAntillesThat's an issue of the department slowly being fired. :)03:36
itsnotabigtruckmaemo/harmattan are cool but they aren't open03:36
GeneralAntillesMore open than Android in places where it matters.03:37
GeneralAntillesActually using GPL, actually interfacing with its community, not being driven by advertising.03:37
GeneralAntillesBut whatever.03:37
*** djszapiN9 has quit IRC03:38
*** niwakame|away has quit IRC03:38
itsnotabigtruckanyway, better scrape that wireless modem site if/when it comes back up03:42
SpeedEvilI suspect it may have been not a real site.03:44
djszapiHow could I write something like this in qml for filling in a listview/repeater model ? c = 'A'; while( c != ('Z' + 1)) letterList.append(c++); ?03:45
*** niwakame|away has joined #harmattan03:45
itsnotabigtruckSpeedEvil: it's a real site, but archive.org shows it's just a login page03:46
SpeedEvilah03:46
itsnotabigtruckhowever it looks like doc and some other #maemo people are the only people who care about it, given the sparse google results03:47
djszapiheh the application is finally published in Ovi \o/03:47
SpeedEvil:)03:47
itsnotabigtruckkanagram? neat03:47
DocScrutinizerI guess a lot of ofono people care about it as well03:48
DocScrutinizeror did... dinno what's state of ofono meanwhile03:48
itsnotabigtruckbut ofono was mostly bought and paid for by intel, right?03:48
DocScrutinizerFSO cares a lot03:48
djszapiyeah, though it is yet another project showing the fail of a developer/designer collaboration.03:48
itsnotabigtruckdjszapi: is the ovi version identical to the most recent deb you uploaded03:49
itsnotabigtruckit seems that the ovi store doesn't feel like reinstalling a package if the same version number is already installed03:49
djszapiyes, it is the same.03:49
djszapiI told one day ago, it should have been published by today, remember ?03:50
itsnotabigtruckwell, you could have revved it after that03:50
djszapianyway, this project showed me again, I should head back to the core library/platform development.03:50
djszapiInteracting with designers is ... just pure very hard.03:50
itsnotabigtruckshouldn't have uninstalled the old version then :p oh well03:50
itsnotabigtruck*existing version03:51
itsnotabigtruckdesigners as in gui design software, or designers as in people03:51
itsnotabigtruckdid you have someone else do the graphics03:51
djszapinah...sorry, I do not increment the version if it is not a new version, just for making your life simpler with one less command run.03:51
itsnotabigtrucki guess so, given the whole icon debacle03:51
*** ecloud has quit IRC03:51
*** jonni has quit IRC03:51
djszapiicon debacle, huh ?03:52
itsnotabigtruckalso, that last version component at the end, the -1, is exactly for "increment[ing] the version if it is not a new version"03:52
*** niwakame|away has quit IRC03:52
itsnotabigtruckyou know, converting the svg file to a raster for ovi03:52
djszapinah...03:52
djszapiI will not upgrade the packaging zillion times.03:53
djszapiespecially because I did not change anything03:53
djszapiapart from renaming the file.03:53
*** jonni has joined #harmattan03:54
djszapialso, I have no idea how to make an array in js with the alphabet.03:54
djszapiso any help is welcome with js magic :)03:58
itsnotabigtruckyou mean foo = ['A', 'B', ...]?03:59
djszapiyes03:59
itsnotabigtruck...04:00
*** ecloud has joined #harmattan04:00
djszapiwithout writing out explicitely of course.04:00
itsnotabigtruckcome on, that shouldn't be hard to implement04:01
itsnotabigtruckthough consider that you can't go straight from ascii value to char/string in js, there's functions for that04:02
djszapitell me how, if it is not hard ?04:02
*** niwakame|away has joined #harmattan04:02
itsnotabigtrucki would, except you're a software pro, not a high schooler learning how to make a webpage04:03
itsnotabigtruckalso you might hate qml a lot less if you read up on js04:04
npmwhat is the solution to adding developer mode packages like "networking" and getting  "Installation interrupted" w/ option to "Try again" or "Cancel" (try again fails).04:04
djszapiit'd be nice if: for (var c in 'A'..'Z') arr[idx] = c;04:04
djszapinpm: as for me reflash04:05
itsnotabigtrucknpm: :/ wonderful04:05
itsnotabigtruckit could be anything04:05
itsnotabigtruckif apt bombs out, the package manager gui doesn't tell you why04:05
djszapinpm: you can try to upgrade if that is an option. If you already have the latest software, I am not sure.04:05
npmdoing it from shell says04:05
npmInstall these packages without verification [y/N]? y04:05
npmAegis rejecting /var/cache/apt/archives/tcpdump_3.9.8-4+maemo2+0m6_armel.deb: package 'tcpdump' origin cannot be determined  -- signature check failed04:05
itsnotabigtruckuh oh, don't do that04:05
npmAegis rejecting /var/cache/apt/archives/libpcap0.8_0.9.8-5+0m6_armel.deb: package 'libpcap0.8' origin cannot be determined  -- signature check failed04:05
djszapinpm: it was a known issue.04:06
npmand then nothing installs.04:06
npmthe problem is what to reflash to -- I was sent N9 w/ PR 1.204:06
itsnotabigtruckfor the main nokia repo, aegis only considers a package to be signed if it came from an apt repo signed with nokia's pgp key04:06
djszapiheh, you need to send back then, if you cannot have an access to at least !.204:07
*** niwakame|away has quit IRC04:07
djszapi1.2*04:07
npmblah04:07
itsnotabigtruckso if it says "install without verification"04:07
itsnotabigtruckdon't ever continue unless it's a low privilege package04:07
npmon n950 i do that all the time and it works :-)04:07
djszapinpm: you can also try it again in few hours, or have you already tried ?04:08
djszapiI experienced the very same issue yesterday with PR1.0 and PR1.104:09
djszapi(and it worked for me previously btw)04:09
djszapiI have not clue how to construct an alphabet in javascript, thus unless someone steps up with an idea: I just well write an accessor in C++.04:10
npmhmmm yeah i saw your try in a few hours suggestion before (googled it).. so i'll try04:14
npm^^ djszapi04:15
djszapinpm: okay, do you have any ideas for this js question ?04:15
*** torarne has joined #harmattan04:23
*** lmoura has quit IRC04:24
*** torarne has quit IRC04:36
*** sigmaorion has joined #harmattan04:40
sigmaorionhi there! I'm new to harmattan, I've recently purchased an N9 and I like to develop apps for it. I've developed some apps on desktop Linux using QT framework, so I guess it's not gonna be too hard to start developing for harmattan04:42
sigmaorionanyway, I can't find devs repositories around to test some applications04:43
sigmaorionis there any official devs repos around?04:43
itsnotabigtrucksigmaorion: sounds like you need the platform sdk04:45
itsnotabigtruckyou'll need to have debian or ubuntu set up on a pc or vm to load it up04:45
itsnotabigtruckthat installs scratchbox, which kind of like an n9 emulator with dev tools loaded04:46
djszapisigmaorion: it is Qt, not QT04:49
djszapisigmaorion: dev repo: http://harmattan-dev.nokia.com/pool/harmattan-beta3/free/04:49
sigmaorionitsnotabigtruck, thanks... my wifi chipset is not 100% supported on Linux kernel, then I'm temporarily using W7, so I installed Qt creator, I guess I'll use that04:50
sigmaorionthanks, djszapi04:50
sigmaorionbath time for babygirl, I'll be back tomorrow04:52
sigmaorionthank you guys!!!04:52
djszapisigmaorion: https://build.pub.meego.com/project/show?project=home%3Arzr%3Aharmattan04:52
djszapiThis is the community repository.04:52
*** JackaLX has quit IRC04:52
*** sigmaorion has quit IRC04:56
*** niwakame|away has joined #harmattan04:58
*** niwakame|away has quit IRC05:03
*** JackaLX has joined #harmattan05:11
*** oberling_ has joined #harmattan05:14
*** oberling has quit IRC05:18
*** pinheiro_ has joined #harmattan05:26
*** pinheiro has quit IRC05:30
*** psycho_oreos has joined #harmattan05:33
djszapiX-Fade ping05:36
djszapiQ: About how many packages does the extra-devel repository have for Fremantle ?05:40
befordhi06:00
itsnotabigtruckhey beford06:02
befordhow is it going itsnotabigtruck06:05
*** sigmaorion has joined #harmattan06:05
*** niwakame|away has joined #harmattan06:12
*** sigmaorion has quit IRC06:14
*** niwakame|away has quit IRC06:17
itsnotabigtruckbeford: meh, alright06:20
beford:P I have transferui almost working, can't get it to show the icon of the download, it just shows this red-square06:23
*** niwakame|away has joined #harmattan06:29
*** niwakame|away has quit IRC06:34
*** xarcass has joined #harmattan06:34
*** aheinecke_ has joined #harmattan06:36
*** aheinecke has quit IRC06:40
*** niwakame|away has joined #harmattan06:45
*** beford has quit IRC06:50
*** niwakame|away has quit IRC06:52
*** b00^wk has quit IRC06:59
*** zk8 has joined #harmattan07:00
*** beford has joined #harmattan07:03
*** niwakame|away has joined #harmattan07:03
*** niwakame|away has quit IRC07:07
*** benares_98 has quit IRC07:21
*** zk8 has quit IRC07:26
*** luke-jr_ is now known as luke-jr07:30
*** lfrb has quit IRC07:36
*** lfrb has joined #harmattan07:36
*** slingr has quit IRC07:47
*** slingr has joined #harmattan07:48
mtdnpm: I'm getting the same apt problem, only after flashing 1.207:51
djszapi1.2 is not out07:51
djszapior do you get it on N950 ?07:51
* mtd is getting the problem with bash, which is from the SDK repo, but didn't have a problem with the previous release07:51
mtddjszapi: yeah, n950, sorry, so I guess not the same problem07:52
mtdsame symptom :)07:52
* mtd sigh:08:06
mtdAegis rejecting /var/cache/apt/archives/bash_4.1-3+maemo6+0m6_armel.deb: package 'bash' origin cannot be determined  -- signature check failed08:06
* mtd has aegis-developer-unknown-source-policy and aegis-unknown-source-policy installed08:06
mtdthis must be a faq...anybody else fixed this problem?08:07
itsnotabigtruckmtd: npm's problem seemed to be the SDK repo shadowing the desired packages from the normal repo08:08
itsnotabigtruckbut i don't think that's the case for this one08:08
itsnotabigtruckoh wait, do you have the setting in options to allow installing unsigned packages on?08:09
mtditsnotabigtruck: yeah, it's just SDK repo packages uninstallable despite...08:09
itsnotabigtrucki think that's a pkgmgr setting, so it shouldn't actually affect apt or dpkg08:09
djszapimtd: do you experience this with any other packages ?08:09
itsnotabigtruckbut it's worth a try anyway08:09
mtditsnotabigtruck: yes, and the effect (I guess) is to install those two debs I mentioned08:10
djszapiit is a known problem afaik.08:10
mtddjszapi: not sure -- will try08:10
mtddjszapi: ah, ok08:10
itsnotabigtruckmtd: what if you install without using apt08:10
itsnotabigtrucktry apt-get --print-uris install bash08:10
mtditsnotabigtruck: interesting, will try too08:10
itsnotabigtruckgrab the url, wget <url>, pkgmgr install-file -f blah.deb08:10
djszapimtd: have you tried bash from here ? http://harmattan-dev.nokia.com/pool/harmattan-beta3/free/08:10
mtddjszapi: is there a t.m.o thread about it or somethign I can follow?08:10
djszapido you experience the same with any packages from there ?08:10
mtddjszapi: apt-cache show says it's pool/harmattan-beta3/free/b/bash/bash_4.1-3+maemo6+0m6_armel.deb , so yeah, I think that's it08:10
djszapiI do not care about rantings on tmo08:11
djszapimtd: try to update, or get manually08:11
mtddjszapi: ok, just wondering what "known problem" meant :)08:11
mtddjszapi, itsnotabigtruck thanks will try manually08:11
djszapiwe know this problem internally08:11
itsnotabigtruckdjszapi: any idea what the cause is?08:11
mtddjszapi: ahh, ok08:11
djszapiitsnotabigtruck: yes, but I cannot talk about it.08:11
mtddjszapi: I just didn't want to bug people here if it was being reported / communicated elsewhere08:12
mtddjszapi: thanks for any tips and just confirming the problem :)08:12
djszapiI experienced it first few months ago08:12
itsnotabigtruckyeah yeah, not at liberty to say :p08:12
djszapiI cannot recall what exactly I did with the production device and software.08:12
djszapiI just probably reflashed or so.08:12
itsnotabigtruckhold on, does bash have an internal signature08:13
djszapimtd one thing you can check out is the restok entries08:13
mtddjszapi: ok, will try to figure that out08:13
djszapiand see whether there are fuzzy entries there around the policies08:13
itsnotabigtruckif there's a bogus signature on bash that might explain why it bombs out08:13
mtdah ok08:13
djszapiitsnotabigtruck: not really08:14
mtditsnotabigtruck: I wasn't aware of pkgmgr, thanks; when I run that command you suggested I get: "Error: Package 'bash' version '4.1-3+maemo6+0m6' is not user package"08:14
djszapibecause it would cause an issue for almost everybody.08:14
djszapimtd just use devel-su :P08:14
djszapiless hassle really :)08:14
itsnotabigtruckwait, "is not user package"08:14
djszapior you do not have dev mode ?08:14
djszapiofc it is not08:14
mtddjszapi: hmm, I am running devel-su08:14
itsnotabigtruckwhat is that supposed to mean08:14
djszapithe control file does not contain it08:15
djszapiitsnotabigtruck: very simple08:15
* mtd did: develsh, then devel-su, then ran pkgmgr08:15
djszapiit is not marked user package in the control file08:15
djszapimtd: do not use pkgmgr08:15
djszapiit is not a user package.08:15
mtddjszapi: ok, I think I see.08:15
* mtd will try using dpkg manually08:15
itsnotabigtruckah, apparently pkgmgr only lets you install user/foo or maemo-flags = visible packages08:15
djszapiyep, dpkg -i :)08:15
* itsnotabigtruck wasn't aware of that08:15
djszapiyes, see my documentation08:16
mtddjszapi: same error :(08:16
djszapiI explained it last year08:16
itsnotabigtruckthe nice thing about pkgmgr is that it doesn't require root and it autoresolves dependencies08:16
mtd"Aegis rejecting /var/cache/apt/archives/bash_4.1-3+maemo6+0m6_armel.deb: package 'bash' origin cannot be determined  -- signature check failed"08:16
djszapimtd: try to check out restok08:16
mtddjszapi: ok, thanks08:16
djszapiitsnotabigtruck: but he has root :P08:16
djszapiso why bother ?08:16
itsnotabigtruckheh08:16
itsnotabigtruckalso djszapi: "because it would cause an issue for almost everybody." why is that...08:16
djszapiI think it was only a transient thing for closed minded people08:17
itsnotabigtrucknormal packages don't have internal signatures08:17
djszapi"ohh we lost the root ssh access, what will we be doing now ???!?!!?!"08:17
djszapithey did not want to use devel-su08:17
djszapiso they got a much uglier command08:17
mtdheh08:17
djszapiitsnotabigtruck: well if bash has wrong signature08:17
djszapiit has for every community member08:17
djszapiso we would all experience that08:18
djszapiso it is not a global issue08:18
itsnotabigtruckdjszapi: that was a red herring, it doesn't have a signature08:18
itsnotabigtruckso yeah08:18
*** hardaker has quit IRC08:18
djszapimtd: restok might have fuzzy entries08:18
djszapithat had a lot of trouble08:18
djszapibut I am really limited what I can say about security things...08:18
mtddjszapi: I am attempting to learn about "fuzzy entries" without bothering you with easy-to-answer questions...hints welcome if you have time, otherwise I am looking at aegis/credp/credp.c and going from there :)08:19
djszapimtd: weird prefix before the tokens08:19
djszapiimho "?"08:19
mtddjszapi: appreciate the limitation - thanks for anything you *can* say, it is appreciated08:19
djszapibut not sure about the marker character08:19
itsnotabigtruckmtd: did you try the dpkg -i installation08:19
mtddjszapi: ah08:19
djszapifor sure not the same, like for others.08:19
djszapiitsnotabigtruck: he did08:19
mtditsnotabigtruck: yes, same error from Aegis08:19
itsnotabigtruckmtd: what if you take out the sdk repo, apt-get update, then dpkg -i08:20
mtditsnotabigtruck: apt-get is just using dpkg, AFAIK, so I didn't expect much, but worth a try08:20
mtditsnotabigtruck: will check the restoks and then try that, sure08:20
itsnotabigtruckyeah, but it looks like you're getting sent down a code path that checks apt signatures08:20
mtditsnotabigtruck: yeah08:20
djszapimtd: btw why have you added this repository ?08:20
itsnotabigtruckso the idea here is to make it forget about the apt signatures08:20
djszapido you use it so often ?08:20
itsnotabigtruckalso, less /var/lib/aegis/domains08:21
djszapiI normally just use wget + dpkg08:21
itsnotabigtruckmake sure it doesn't look dodgy08:21
itsnotabigtruckthat's easier than reading restok.conf08:21
djszapiitsnotabigtruck: not really08:21
djszapithat is a completely different file08:21
djszapifor entirely different purpose08:21
djszapithat file is mostly meant for aegis-origin08:21
itsnotabigtruckdjszapi: well, for a related purpose08:21
djszapithat is a really low-level layer08:22
djszapirestok is the higher layer to the user regarding this08:22
djszapiand domains does not change.08:22
djszapirestok does.08:22
djszapiand for sure, Nokia ships a proper domains file :)08:22
mtddjszapi: I wanted to install bash like I did in pr 1.108:23
djszapimtd: have you installed explicitely any policy package ?08:23
mtddjszapi: I re-installed aegis-developer-unknown-source-policy, yes, but only after I first got the error08:24
mtddjszapi: I am radin restok.conf now08:24
mtds/radin/reading/ (sheesh)08:25
djszapi/never/ reinstall any policy packages.08:25
djszapiexcept the community if Nokia does not ship it, and you need it.08:25
mtddjszapi: ok...will take your word for it08:25
djszapiyeah, just rule of thumb :)08:25
mtddjszapi: fair enough - but I definitely had the problem beforehand.  Do you recommend I reflash before continuing the investigate?08:26
itsnotabigtruckmtd: but this is *interesting*08:26
itsnotabigtrucktry and solve it, then reflash08:26
mtddjszapi: that's why I went looking for those "unknown-source" packages08:26
mtditsnotabigtruck: thanks, hope I can :)...08:26
djszapimtd: unknown is even irrelevant in your case.08:26
mtddjszapi: what am I looking for in restok.conf?08:26
itsnotabigtruckmtd: does the package entry for aegis-developer-unknown-source-policy look expected?08:27
mtddjszapi: oh?08:27
itsnotabigtruckopen it in less08:27
itsnotabigtruckuse /  to search08:27
djszapimtd: you opened the correct restok file which is the long one right ?08:27
djszapiso not in etc08:27
djszapi/var/lib/aegis/restok/restok.conf08:27
mtditsnotabigtruck: not sure what to expect, but there are quite a few "Request:" and "Recover:" entries08:27
mtddjszapi: yes, that one08:27
mtddjszapi: it is quite big08:27
djszapigrep for "policy"08:28
djszapiand check out whether the tokens have a marker character08:28
djszapiif not, go for reflash I would say08:28
mtddjszapi: ok, have two sets with marker character08:28
mtd ?xserver-security-policy::capture-drawables08:28
mtdand a few ~xserver-security-policy::record-input08:28
mtdnot sure if tilde is a marker char08:28
djszapiit is08:29
itsnotabigtruckhttps://gist.github.com/6c5756048f9c1fd98402 it's supposed to look like this08:29
mtddjszapi: I suspected :)08:29
djszapido you also have "Recover" word there ?08:29
itsnotabigtruckplus the xserver stuff probably08:29
mtddjszapi: yes, in many packages08:29
mtditsnotabigtruck: checking08:29
djszapimtf: try to reinstall the policy packages if you can08:30
mtddjszapi: here are the two "unknown" policy section excerpts: http://pastebin.com/rNPZEM6X08:30
djszapiif that does not recover any thing back, I would go for reflash.08:30
mtddjszapi: ok, will do - but I can't install aegis-unknown-source-policy since apt doesn't know where to get it -- maybe I should reflash :(08:31
itsnotabigtruckmtd: look at that domains file08:31
mtditsnotabigtruck: checking08:31
djszapimtd: have you tried to install it with dpkg -i in develsh ?08:31
itsnotabigtruckdespite what djszapi says it could be useful, if it doesn't like the stuff in restok.conf, then domains won't look right08:31
djszapidomains is useless for this08:32
mtddjszapi: yes, I think; let me be precise about what I did:08:32
djszapiespecially because it is Nokia-wise thing in there, and not every package fails.08:32
*** risca has quit IRC08:32
mtddjszapi: first, I ssh in as user, then I run "develsh", then I run "devel-su", enter my password, and then I run "dpkg -i" etc.08:32
mtddjszapi: is that what you mean?08:33
djszapiand I cannot mention any scenario how the signature could be messed up08:33
djszapimtd: correct, mmh, then I have no clue08:33
itsnotabigtruckyeah, i'm running out of ideas here08:33
itsnotabigtruckmtd: did you try the apt thing08:33
djszapiI would personally go for reflashing.08:33
mtddjszapi: I should try another sdk package just to get another problem08:33
itsnotabigtrucki.e. expunge the sdk repo08:33
itsnotabigtruckinstall the deb08:33
mtditsnotabigtruck: yeah not yet, will try that08:33
mtddjszapi: ok, thanks for your help!08:33
djszapimtd: haven't you said it is the same for all harmattan3 repo packages ?08:33
mtddjszapi: I *believe* so but am double-checking now, just to be sure I don't misremember...08:34
* mtd needs to think of another SDK package :)08:34
itsnotabigtruckmtd: it might be enough to nuke any and all apt files related to the sdk repo08:34
itsnotabigtruckbut it's probably easier to remove the apt entry and update08:34
mtditsnotabigtruck: yup08:35
djszapimtd: wget08:35
itsnotabigtruckrun aegis-deb-release bash...08:35
itsnotabigtruckmake sureit says release: unknown08:35
djszapimtd:  http://harmattan-dev.nokia.com/pool/harmattan-beta3/free/w/wget/wget_1.10.2-2osso3_armel.deb08:35
itsnotabigtruckisn't wget in the main repo?08:36
djszapino08:36
itsnotabigtruckFilename: ./wget_1.10.2-2osso3_armel.deb08:37
itsnotabigtruckyes08:37
mtditsnotabigtruck: aegis-deb-release does NOT say unknown08:37
mtdRelease: /var/lib/apt/lists/harmattan-dev.nokia.com_dists_harmattan_sdk_Release08:37
itsnotabigtruckmtd: ok, so you haven't made apt forget yet08:37
itsnotabigtruckdelete that file08:37
djszapiwhy ?08:37
mtditsnotabigtruck: ah, no, I was doing that - didn't realise when I was supposed to see unknown.  Let me just try it :)08:37
djszapithat looks alright to me.08:37
itsnotabigtruckdjszapi: if aegis doesn't check that it won't fail08:38
djszapiyou just put even more hack into the platform for a core package instead of fixing the real issue...08:38
mtddjszapi: I tried "wildmidi" package from harmattan3-free and it failed the same way08:38
mtdAegis rejecting /var/cache/apt/archives/wildmidi_0.2.2-2maemo1.m6_armel.deb: package 'wildmidi' origin cannot be determined  -- signature check failed08:38
djszapisounds like a repository issue with this for some reason.08:39
djszapimtd: I do not personally use this repository in the sources list08:39
djszapiperhaps, that solved my issue I do not know then08:39
mtddjszapi: yeah, other repos seem ok08:39
itsnotabigtruckmtd: got it done yet?08:39
djszapiI always use wget with chained dpkg -i08:39
mtditsnotabigtruck: apt-get update-ing now08:39
mtditsnotabigtruck: then aegis-deb-release double-check08:39
mtditsnotabigtruck: Release: unknoown08:40
mtderr, unknown08:40
djszapisadly, dpkg cannot install from remote url08:40
itsnotabigtruckok cool, does it install?08:40
mtdaha08:40
djszapiduh, even the arch package manager can.08:40
mtditsnotabigtruck: that worked08:40
*** slingr has quit IRC08:40
itsnotabigtruckok, nice08:40
itsnotabigtruckthe question is...why did it fail08:40
mtddpkg -i now can install bash08:40
*** slingr has joined #harmattan08:40
mtdso aegis says:08:40
itsnotabigtruckyou're running pr1.2? maybe it's a regression08:40
mtdaegis-installing bash (from '')08:40
djszapiitsnotabigtruck: not really08:40
mtdand that is I guess allowed08:40
djszapiI experienced the same with pr1.108:41
* mtd wonders what it said before08:41
djszapilong long ago08:41
itsnotabigtruckneed to find another *unsigned* apt repo to add08:41
djszapibut I do not add this repository to my scratchbox anyway since it is older than the bleeding edge internal :P08:41
* mtd thinks something is going to be screwed though, since bash has now overwritten /bin/sh, and I am concerned about that :)08:41
mtddjszapi: you are lucky to have the bleeding edge :)08:41
itsnotabigtruckmtd: uh oh, that's quite bad...but i didn't think the bash package did that08:41
mtditsnotabigtruck: I got a big warning about doing it, but I know I didn't get that warning before in pr1.108:42
* mtd will try to restore /bin/sh symlink08:42
mtdhmm bash package has lied08:42
mtd/bin/sh still -> busybox08:42
djszapimtd: why do you need to install bash btw ?08:43
mtdso all seems well08:43
itsnotabigtruckalright, good08:43
mtddjszapi: Can remember, just like it.  Don't really need to, but before it wasn't a big deal.08:43
itsnotabigtruckbecause (a)sh is awful?08:43
itsnotabigtruckthough it isn't that bad...what's really awful is the other busybox utils08:43
mtddjszapi: I have really really wanted other things from the SDK repo on the phone before, can't remember now which packages they were though08:43
itsnotabigtruckneed coreutils on this thing08:43
* djszapi does not understand why it is awful08:43
djszapiworks perfectly fine08:43
itsnotabigtruckworks perfectly fine until you do something weird, then it's not fine08:44
mtddjszapi: readline interaction is super-nice, especially with a limited keyboard :)08:44
djszapihave not had any problems the last 2 years08:44
djszapinot that I am aware of any internal developers having problems either08:44
djszapior even the smallest complain.08:44
djszapimtd: limited keyboard ?08:44
mtddjszapi: not problems, really, just lack of functionality that one gets used to with the big shells (zsh/bash/etc.)08:45
mtddjszapi: typing a big long rsync command on the n950 keyboard is less preferable than typing "rsy" and pressing up to get the history-sensitive-completion to type it for you :)08:45
djszapisounds like a very corner case then :)08:46
mtddjszapi: sure, consumers aren't going to care :)08:46
mtddjszapi: http://codeinthehole.com/archives/17-The-most-important-command-line-tip-incremental-history-searching-with-.inputrc.html08:46
djszapibut why not aliases ?08:46
mtdit is really useful, can't live without it now08:46
mtddjszapi: too much setup work08:46
djszapitoo much setup to set up an alias ?08:47
djszapior rather: a ui button for it with qt-components ?08:47
mtddjszapi: yes, it's like double the work :)08:47
itsnotabigtruckkeep in mind that with this more than any other phone except the n900, a very large proportion of the users aren't "consumers"08:47
mtddjszapi: I'm not suggesting that this is useful to consumers/gui users08:47
mtddjszapi: though I suspect that if you came up with a cool UI it _could_ be very useful08:47
mtddjszapi: but I'm not pretending to know about that right now08:48
djszapiwell I am a console hacker only using vimperator outside the console08:48
djszapiand okular08:48
mtddjszapi: ah08:48
djszapibut I prefer for instance irc ui on the mobile phone really :)08:48
djszapiwould never use irssi, etc.08:48
mtddjszapi: yeah the "up" arrow button in the terminal is sufficient to trigger this functionality.  readline is really nice with a little bit of customisation.08:48
mtddjszapi: a bespoke UI can make a big difference, agreed08:49
djszapiit was fun 6-7 years ago with custom boards :)08:49
mtddjszapi: having a persistent irssi session beats a nice GUI for me, right now, though.  But I see where you are coming from.  I should check out the GUI irc clients.08:49
djszapito hack in console, but we nowadays have qt :)08:49
mtdindeed08:49
djszapiusb networking haha, serial port we had.08:50
djszapiand parallel :)08:50
mtddjszapi, itsnotabigtruck : thanks for your help with this problem, btw...I will document the workaround on the wiki and forum so that others can hopefully not suffer from it too much.08:50
mtdis there anything I can do to make sure it's recorded in bugtrackers, etc., in case you tihnk that would be useful?08:51
mtdI accept it might just be WONTFIX and I shouldn't bother.08:51
djszapimtd: does the issue happen again if you add the repo back ?08:51
mtddjszapi: hmm...lemme try...08:51
mtddjszapi: it fails again, same error.  I tried with a never-installed package (wildmidi) and with "apt-get install --reinstall bash".08:54
mtdaegis does not say anything about "aegis-installing bash (from '')"08:54
djszapiwhy would it ?08:54
mtdI am getting "WARNING: The following packages cannot be authenticated!" with "  bash" on the next line.08:55
djszapiit is not an unknown package.08:55
djszapiit is coming from Nokia proper.08:55
itsnotabigtruckmtd: the "cannot be authenticated" is expected with the sdk repo08:55
mtddjszapi: ok, I see08:55
itsnotabigtruckthat's for any repo that isn't signed08:55
mtditsnotabigtruck: ah08:55
itsnotabigtruckhowever, aegis is supposed to handle that case as an unsigned package08:55
djszapimtd: I will contact the SDK team today about it.08:55
itsnotabigtrucknot bomb out like it is/was08:55
mtddjszapi: thank you very much08:55
mtddjszapi: let me know if I can provide any info08:55
mtddjszapi: here are the error messages in full: http://pastebin.com/hRD7Djca08:56
djszapimtd: full console log about the error while trying to install and syslog entry in the first place.08:56
mtdjust in case it's useful08:56
mtddjszapi: let me find syslog08:56
mtddjszapi: I can come up with a better console log, give me a minute08:57
mtddjszapi: so you can see the "devel-su", etc.08:57
djszapiif we are lucky enough we can get into the PR1.2 version08:57
djszapithe fix, that is.08:57
mtdnice08:58
mtddjszapi: I don't see any /var/log/syslog entries related to apt, dpkg, or aegis; do you need anything else?08:59
djszapijust provide, do not try to be smart while reporting :)08:59
*** beford has quit IRC09:00
mtddjszapi: seriously though, /var/log/syslog is huge...I will have to put it somewhere :)09:00
mtddjszapi: tracker and msyncd spam everywhere o_O :)09:00
djszapiwell, tail -f is your friend.09:01
mtddjszapi: yeah, seriously, tracker is updating multiple times a second.  I will see what I can do :).09:01
djszapiit does not do for me.09:02
djszapiyou have yet another bug ?09:02
djszapialso grep -v tracker09:02
mtddjszapi: no, I think I have a lot of contacts :)09:02
*** adlan has joined #harmattan09:03
itsnotabigtruckhrm, normally the logs are pretty small09:03
itsnotabigtrucki'm surprised you'd want the syslog when logging is pretty much entirely turned off09:03
mtdgrep -v "tracker\|Msgindexer\|icd2" does the trick09:03
mtditsnotabigtruck: I love the syslog...lots of cryptic errors are only understandable with it...09:04
itsnotabigtrucka lot of components have some scheme or another to make them log egregious amounts of stuff though09:04
itsnotabigtrucke.g. put a file in the right place and restart timed and BLAM you get a few k of log a second :p09:05
mtditsnotabigtruck: yeah, I know...sometimes quite useful though.  For me at least I feel like I can susually pay the price :)09:05
djszapisyslog is a must have for harmattan debugging09:06
itsnotabigtruckargh, i hate the tap water here09:08
itsnotabigtruckhas the pleasing aroma of chlorine09:08
mtddjszapi: how is this? http://pastebin.com/XUCL0Jue09:08
mtddjszapi: I think that shows a few aspects of the problem well.09:09
itsnotabigtruckbtw try not to use pastebin.com, and definitely don't use pastebin.com set to public09:09
itsnotabigtruckactually i shouldn't be telling people that, it's fun spying on idiots who post sensitive info as public :D09:09
djszapiitsnotabigtruck: aegis should not install it with unknown09:19
djszapiespecially if it requests more credentials than that.09:19
djszapithough, I have not honestly checked the _aegis file of those packages.09:19
*** gabriel9 has quit IRC09:22
*** wirwe_ has joined #harmattan09:49
mtditsnotabigtruck: what do you recommend?09:55
*** Jaffa has quit IRC09:56
djszapimtd: paste.kde.org :P09:56
*** wirwe_ has quit IRC09:57
mtddjszapi: I know, everybody's got one these days:) http://fpaste.org/09:57
djszapiyeah, qt project does not have it though :/09:57
*** gabriel9 has joined #harmattan09:58
*** mece has joined #harmattan10:22
*** gabriel9|work has joined #harmattan10:26
*** gabriel9 has quit IRC10:30
*** nebulon has quit IRC10:32
*** nebulon has joined #harmattan10:35
mtditsnotabigtruck, djszapi : thanks again for the help; I've posted the workaround http://forum.meego.com/showthread.php?p=39520#post39520 and http://wiki.meego.com/index.php?title=Migrating_from_N900_to_N950&action=submit#Developer_mode_installs_from_the_official_Nokia_SDK_repo_are_broken10:41
* mtd is not sure if a bugtracker bug is warranted.10:42
*** trx has quit IRC10:52
*** trx has joined #harmattan10:56
Milhousehttp://news.cnet.com/8301-30685_3-57379157-264/mozilla-to-reveal-allies-for-its-challenge-to-android-and-ios/11:04
MilhouseWonder who the partner(s) will be. Wouldn't surprise me if it turns out to be the Tizen mob.11:04
djszapimtd: I have furhter idea btw11:07
mtddjszapi: ah, do tell11:10
jussiMilhouse: that link fails11:12
jussioh wait, just cnet failing. worked on second try...11:12
Milhouseyes, just a bit slow11:15
*** lmoura has joined #harmattan11:16
*** miroslav has joined #harmattan11:19
*** zz_gri is now known as gri11:19
*** DocScrutinizer has quit IRC11:27
*** DocScrutinizer has joined #harmattan11:27
*** snowpong has joined #harmattan11:37
*** torarne has joined #harmattan11:53
*** faenil has joined #harmattan12:03
*** niwakame|away has joined #harmattan12:03
faenilgood morning people :)12:07
*** niwakame|away has quit IRC12:07
djszapihey man 'sup12:07
faenilntn :)12:08
*** e-yes has quit IRC12:09
djszapiX-Fade: packages are not published again ...12:13
*** leio has quit IRC12:15
*** niwakame|away has joined #harmattan12:15
*** leio has joined #harmattan12:16
*** adlan has quit IRC12:19
djszapiX-Fade could you take a peek ?12:19
djszapihttps://bugs.meego.com/show_bug.cgi?id=2490412:22
*** niwakame|away has quit IRC12:26
*** lizardo has joined #harmattan12:28
faenildjszapi: preordered the spark?12:31
djszapifaenil: no12:36
djszapiI am more into PlayBook actually.12:38
faenilok...12:39
faenilI was really disappointed by the fact that RIM has no plans for QtMobility support12:39
djszapiwell, Harmattan does not have either...12:39
faenil???12:41
faenilwhat's this then12:41
faenilhttp://harmattan-dev.nokia.com/pool/harmattan-beta3/free/q/qt-mobility/12:41
djszapihave you actually ever tried it ?12:41
djszapiit is a piece of crap...12:41
djszapiit ruined at least 4-5 days out of my life :/12:41
faenilbut that's another storyu12:42
djszapihaving no problem with my app, but segfault with their horrible crpa.12:42
djszapino, it is not.12:42
djszapithey say they support it, but in fact no much.12:42
djszapiPlayBook is at least sincere they do not support it. They do not advertise as supported and get it segfaulty really :)12:42
djszapiso I personally avoid QtMobility anyway12:44
*** slingr has quit IRC12:45
*** slingr has joined #harmattan12:46
gridjszapi: Which part of mobility did you try?12:46
torarnedjszapi: so, assuming i get the libcap2(bin/devel) package installed with all deps, so that i have the setcap binary, and i have open-mode kernel where the root user has the CAP::setfcap capability, will I be able to set the file capabilities of /usr/bin/sudo to add CAP::setuid and CAP::setgid?12:47
djszapigri: audio, sound effect, location, Feedback etc12:47
torarnedjszapi: so that i can use sudo when it has u+s and owned by root?12:48
djszapitorarne: setfcap does not make sense12:48
djszapigrep for the kernel and you will see setfcap is disabled12:48
djszapithat is, because what we ship 2.6.32 had it disabled by default, and upstream enabled it by default from 2.6.3312:48
gridjszapi: Strange, I would assume they should work since that are the most common ones (well if you add contacts)12:48
*** NsaneCoffe has quit IRC12:48
torarnedjszapi: aah i seee12:48
djszapigri: have you actually ever tried for instance audio and soundeffect ?12:49
djszapibecause the segfault is always reproducable.12:49
djszapior silent crap which is even worse :/12:49
griI use them in my app for playing a single beep :)12:49
griwhich works12:49
torarnedjszapi: so when i run accli -I -b /some/binary, and it shows different capabilities for each binary, where does that come from?12:49
djszapigri: soundeffect does not work with anything else than wav12:50
djszapiwhich is plain stupid12:50
djszapiaudio cannot mix with the rest, which is also plain stupid12:50
djszapiand I can give you a wav file (which was generated by ffmpeg btw) and it is gonna crash on you :D12:50
gridjszapi: Oh ok, I just play a system sound which is of course a .wav12:50
*** drf___ has quit IRC12:54
*** drf__ has joined #harmattan12:54
*** drf__ has joined #harmattan12:54
torarnedjszapi: or to ask another way, i assume in a normal linux system, users have the CAP::setuid capability, to be able to run binaries with u+s. what in harmattan ensures that the user/developer does not have that capability? does it ship with a reduced set of base capabilities?12:55
*** nebulon has quit IRC12:57
djszapikernel.13:02
torarnelooking at aegis/credp/credp.c , i assum that's the one that handles file caps as well?13:04
djszapithat is the runtime policy framework, yes13:05
djszapialso creds.c13:05
torarneah, yeah13:05
djszapilibcreds is the interface in middleware between apps, another middleware layers and the kernel implementation of aegis.13:06
torarneso if setcap as root will not work, since fcaps are not enabled in the kernel, is there another way to set file capabilities (though the custom aegis stuff)? since it seems files do have different caps depending on the file, as shown by accli -I -b ?13:06
torarneor to elevate the user permanently to a given cap13:07
torarnei guess it's only per process or file ?13:07
djszapiI am sorry, but I have no clue about libcap13:07
djszapiI do not even understand why you try to use that, honestly.13:08
torarnei was thinking though libcreds13:08
torarnejust trying to understand how it's all wired :)13:08
djszapilibcap is an entirely different thing to libcreds.13:11
djszapithey are kinda opposite in the sense libcreds was designed for avoiding having libcap in the first place.13:11
torarneright13:12
torarneso what im wondering is how ot use libcreds to give a binary more caps13:12
djszapiyou do not use it directly even if you can.13:12
torarneor where to override the limiting of the user not having CAP::setuid and CAP::setgid in the kernel sources13:12
djszapiyou seem to wanna revert the security module altogether.13:13
torarnenot really revert, that's already handled by root having all caps in open mode (patched)13:14
torarnejust trying to give user the same caps as a normal user has on a normal linux distro13:14
torarneso that it can run binaries with u+s13:15
torarneeg, fusermount, or sudo13:15
djszapilibcap means using the standard unix "security" model which means that you need to revert the whole aegis.13:15
djszapiyou can have a libcap "emulation" on top of libreds, but I would disagree with that a lot.13:15
*** Hamidx9 has joined #harmattan13:16
torarnebut aegis/libreds must have some way of saying that this user should have these base caps? or say that this binary should have these caps, regardless of the user running it?13:16
djszapinot really, no13:17
djszapiotherwise why aegis ?13:17
torarneoh13:17
torarne:D13:17
djszapiif any malicious app can have this luck ?13:17
torarnedjszapi: well, yeah, aegis on stock firmware would not allow it13:17
djszapiwhy not request creds from manifest ?13:17
torarneim wondering about the case with open-mode patch kernel where the root user has all caps13:18
torarnedoes the root user then not have some rights to grant the user or a binary some more caps?13:18
*** Hamid_ has joined #harmattan13:18
*** Hamid_ is now known as Guest1411313:18
djszapinot by default, no.13:18
djszapiit makes me feel more and more you wanna drop aegis.13:19
djszapiand you need standard unix "security" model.13:19
djszapibecause that is what we have on workstations.13:19
djszapiwe have a superuser who can do everything, how secure.13:19
torarnenot really, i actually want to work _with_ aegis, to give the user one more base cap13:19
torarnewhich should be possible when the root user has call caps, i would think13:20
djszapiyou cannot13:20
*** Guest14113 has left #harmattan13:20
djszapithat is one of the main point of the security model.13:20
torarneso even whit openmode, where cap_capable() is patched to always return true for root, there's still things you can¨t do?13:20
djszapiso if you wanna nuke aegis, go ahead and try to kill it out the kernel13:21
djszapimight be a hard job.13:21
*** Hamid__ has joined #harmattan13:21
torarnei don't want to nuke aegis13:21
torarneim telling you i want to work _with_ it13:21
djszapibut you do not understand you wanna kill it.13:21
RST38htorarne: bend over and submit then.13:21
*** Hamidx9 has quit IRC13:22
torarnein a  kernel with this patch applied, doesnt root then have no aegis-chains anymore?13:22
torarnehttp://maemo.cloud-7.de/HARM/N9/openmode_kernel_PR1.1/enable-root-superuser.diff13:22
*** Hamid__ has quit IRC13:23
djszapiI am sorry but I cannot help13:23
djszapiquite frankly, I do not even understand what you are trying to do by now.13:23
djszapiyou wanna give more permissions to the user, but ... why ?13:24
torarnegive the user back setuid and setgid caps, using aegis-tools13:24
djszapiand I already told you how.13:24
djszapi13:21 < djszapi> so if you wanna nuke aegis, go ahead and try to kill it out the kernel13:24
*** niwakame|away has joined #harmattan13:25
torarnei give up13:25
djszapithis is exactly what aegis was designed again13:25
torarneaparently the best way to work with aegis is to not work with it13:25
djszapiagainst*13:25
djszapino, you do it wrong13:25
torarneand you've yet to tell me how to do it "right"13:26
torarneexcept "killing aegis"13:26
djszapiwhat should I say if you wanna have something that aegis was designed against ? :)13:26
djszapias in seriously ?13:26
djszapiyou might wanna read the introduction to the platform security.13:27
torarneaparently aegis was designed to get in the way of doing development on harmattan13:27
djszapinobody requested it yet apart from you...13:28
djszapinever heard from any developer...13:28
djszapiand seriously, I do not understand why you would assign creds to user13:28
torarnereally… no-one has complained about aegis before me..13:28
torarneok13:28
djszapibut anyway, I am off because I do not need insulting.13:28
torarnenot trying to insult, just frustrated. tanks for your help!13:29
djszapigood luck with ranting13:29
djszapi:)13:29
torarne:)13:29
djszapiI have an idea for hacking this around for you.13:40
djszapikinda "emulating" a super-powered user.13:40
torarnecool! how?13:41
djszapiand I actually I told you that yesterday13:41
djszapibut you did not either listen or understand it.13:42
djszapi"tcb".13:42
djszapiso you can run a process with user and tcb13:42
djszapiand you do not even need setuid/gid13:42
torarneaegis-exec -a CAP::sys_admin accli -I as user does  not list any more caps13:42
torarneas far as i can tell13:42
torarneis there another way to grand tcb to the user?13:43
djszapino you should make an emulator app13:43
djszapibut that is what opensh about after all13:43
torarneah, right, yeah13:43
djszapi(not sure it grants tcb, but that is the key to the csatle)13:43
torarneyepp13:43
torarnewell, that¨s good to know13:44
torarnethanks!13:44
*** mece has quit IRC13:44
djszapiif you need to do it "by default" as I said13:44
torarneyepp13:44
djszapigo to the kernel and revert aegis.13:44
torarne:)13:44
*** xarcass has quit IRC13:44
djszapibut what is so hard to switch to root for super things ?13:45
djszapiI mean that is what you do on a normal machine, too.13:45
*** xarcass has joined #harmattan13:45
torarnenormally yes, but you do have stuff like sudo, that allows you do allow certain commands to be run without even typing a password13:48
torarnelike mounting removable media13:48
torarneor other things that a user might like to do without having root access13:48
torarnebut no worries, i'm content with not being able to do that :)13:50
torarneopensh -c 'mount' will do :)13:50
*** etrunko has joined #harmattan13:51
torarnegot to run, cya13:51
*** torarne has quit IRC13:51
djszapinot even that13:51
djszapijust run an emulated processs..ehh13:52
*** Natunen has joined #harmattan13:53
*** faenil has quit IRC14:00
*** mardy_ has joined #harmattan14:05
djszapimtd: Have you allowed installation from unknown sources in package manager?14:07
*** mardy has quit IRC14:08
*** lacerda has quit IRC14:10
*** lmoura has quit IRC14:13
*** mairas has quit IRC14:15
*** snowpong has quit IRC14:19
*** njeisecke has joined #harmattan14:19
njeiseckeHi! Does anybody know how to change the maximum size for SIP/RTP UDP frames on the lovely N9?14:19
*** MohammadAG has quit IRC14:51
*** xnt14 has quit IRC14:51
*** xnt14 has joined #harmattan14:53
*** MohammadAG has joined #harmattan14:54
*** miroslav has quit IRC14:56
*** miroslav has joined #harmattan14:57
*** lacerda has joined #harmattan14:57
*** snowpong has joined #harmattan14:58
*** miroslav has quit IRC15:02
*** admiral0 has joined #harmattan15:18
admiral0hello15:18
admiral0i need help with gconf15:19
admiral0gclient=gconf_client_get_default(); makes program segfault15:19
admiral0and there are no useful docs/examples around15:19
djszapithread bt, valgrind ?15:19
admiral0djszapi: #2  0x41cf7f98 in gconf_client_get_default () from /usr/lib/libgconf-2.so.415:20
admiral0first line useless15:20
djszapihard to help, if you smartly think what is relevant and what not15:20
admiral0djszapi: more useful? http://pastebin.com/4TCLt86115:21
djszapithis is not thread backtrace.15:21
admiral0how do i get that in gdb console?15:22
*** Hamidx9 has joined #harmattan15:22
djszapithread apply all bt15:23
admiral0http://pastebin.com/8qGwX0tc15:24
djszapican you give a self-contained code reproducing the issue here ?15:24
djszapijsut that one line ?15:24
admiral0this code is executed in a subclass of QApplication15:25
admiral0gclient=gconf_client_get_default();15:25
admiral0gclient is a private member - > GConfClient *gclient;15:26
admiral0and that's all the code15:26
admiral0is there anything else to initialize?15:26
djszapiptr ?15:27
admiral0ptr?15:27
djszapiGConfClient *gclient; -> You should initialize that to zero in the initializer list.15:27
djszapi(or to some  valid value)15:27
djszapibut that is behind the point. I do not know, sorry.15:27
admiral0fuc*ing gnome libs15:28
djszapisomeone needs to create a self conatined example for further investigation.15:28
*** hardaker has joined #harmattan15:28
admiral0@nokia: hey i've got a briliant idea. Let's make a Qt phone, but we use gnome libs for settings [1000 applause]15:29
e0xheh15:30
e0xadmiral0: http://svn.navi.cx/misc/tags/xchat-gnome-0.1/fe-gnome/preferences.c15:30
e0xcheck that code15:30
e0xnot sure , but can give some idea15:30
admiral0i do the same thing in my code15:31
admiral0i'm afraid it requires some glib asskicking to start up15:31
e0x:S15:32
e0xdid you init it ?15:32
e0xsomething like15:32
e0xg_type_init();15:32
djszapithat is what I wanted to say15:32
e0xclient = gconf....15:32
djszapithese things normally need initialization.15:32
djszapiwhich can be done in the constructor.15:32
e0xGConfClient *client;15:33
e0x g_type_init();15:33
djszapiand I think they even write that in the documentation otherwise unexpected behavior15:33
e0xclient=gconf_client_get_default();15:33
admiral0djszapi: gconf docs are outdated.15:33
admiral0i read them.15:34
admiral0simply gnome people care little about docs15:34
djszapiit has been like that since ever :)15:34
e0xadmiral0: http://developer.gnome.org/gobject/stable/gobject-Type-Information.html#g-type-init15:34
djszapisuch things need initialization, so just try :)15:34
e0xyes , i am pretty sure is that15:34
e0xneed call g_type_init()15:35
e0xlike the doc say...15:35
djszapiyeah, it is a common practice with low-level libraries.15:35
e0x"Prior to any use of the type system, g_type_init() has to be called to initialize the type system and assorted other code portions (such as the various fundamental type implementations or the signal system)"15:35
admiral0e0x: well fuck me gently with a chainsaw....15:39
admiral0it works15:39
admiral0thank you people15:39
e0xnp15:40
e0xb15:41
e0xBTW15:41
e0xthe doc say it15:41
e0xhttp://developer.gnome.org/gconf/stable/gconf-gconf-client.html#gconf-client-get-default15:41
* admiral0 is blind15:41
e0x^_^15:41
* admiral0 is very blind when reading gnome docs15:41
*** Khaled has joined #harmattan15:48
admiral0e0x: http://wstaw.org/m/2012/02/17/out.jpeg15:48
admiral0:D15:48
*** Khaled has left #harmattan15:50
phakoyeah why didn't nokia bother to write a Qt wrapper for that15:52
phakooh wait15:52
phakohttp://harmattan-dev.nokia.com/docs/platform-api-reference/showdoc.php?pkn=libgq-gconf&wb=daily-docs&url=Li94bWwvZGFpbHktZG9jcy9saWJncS1nY29uZg%3D%3D15:52
phako...15:52
*** jluisn has joined #harmattan15:55
*** faenil has joined #harmattan15:55
e0xphako: that page is blank15:55
admiral0e0x: classes15:56
e0xadmiral0: nice ! the c++ version ?15:56
admiral0it's a sample doxygen15:56
admiral0config15:56
admiral0e0x: yes15:56
phakohttp://harmattan-dev.nokia.com/docs/platform-api-reference/, look for libgq-gconf15:56
admiral0e0x: the thingie is rendered with this config "%batIcon{} %batCapacity{} %icon{calendar.png} %date{}"15:57
e0xok15:57
admiral0that will soon become %batCapacity{mAh}  for custom trailing text15:58
*** djszapi has left #harmattan15:58
admiral0ok15:59
admiral0now it works15:59
admiral0time for reward15:59
admiral01h tf215:59
*** lizardo has quit IRC15:59
*** jluisn has quit IRC16:01
*** jluisn has joined #harmattan16:01
*** djszapi has joined #harmattan16:05
djszapiIs there a way in Ovi store to check out the profile of the people commenting on my content ?16:05
djszapiFullname, city, avatar, etc ...16:05
*** jluisn has quit IRC16:08
*** jluisn has joined #harmattan16:08
*** Hamidx9 has quit IRC16:09
*** mardy_ is now known as mardy16:11
*** eean has joined #harmattan16:13
*** djszapiN9 has joined #harmattan16:18
*** lizardo has joined #harmattan16:19
*** jluisn has quit IRC16:21
*** jluisn has joined #harmattan16:22
*** lbt has quit IRC16:25
*** lbt has joined #harmattan16:25
*** lbt has joined #harmattan16:25
*** sigmaorion has joined #harmattan16:38
sigmaorionhi there! I've just installed Qt SDK for Harmattan with QEmu and built the helloworld app. Everything is working fine but... QEmu is running very slow, even with OpenGL hardware acceleration!16:40
djszapiit is not a Harmattan issue :)16:40
sigmaorionhow fast/slow should I expect it to run on an i3 notebook with W7?16:40
djszapihave you ever used qemu before16:41
sigmaorionI know it's not a Harmattan issue, but it's my first time, so, I have no reference, heh!16:41
djszapiqemu is ultraslow16:41
sigmaorionno, I never used it before...16:41
sigmaorionoh, ok!!!16:41
djszapiunfortunately :/16:41
djszapieven if our boot time is ok'ish.16:41
djszapiand so on.16:41
sigmaorionbesides using the real device to run the app, is there another faster/better solution?16:41
itsnotabigtrucki386 builds, probably16:42
itsnotabigtruckand does the sdk come with some kind of simulator?16:42
itsnotabigtruckor you could use scratchbox in i386 mode16:42
djszapisigmaorion: depends on the programm, but you could use qml editing directly on the device.16:43
djszapiprogram*16:43
itsnotabigtruckman, not much going on since last night :(16:44
*** benares_98 has joined #harmattan16:44
itsnotabigtruckalso djszapi: what, want to send the nokia hit squad down to people writing bad reviews about your app? ;)16:45
djszapiitsnotabigtruck: mmh ?16:45
djszapiI have an automated review validation :)16:45
itsnotabigtruckre the getting profile details about reviewers16:45
sigmaorionthanks a lot, djszapi!16:46
djszapiso bad reviews are filtered and reported abuse automatically :D16:46
itsnotabigtrucksigmaorion djszapi: is there a way to do x86 builds with qt sdk16:46
djszapiI can do in sb.16:46
itsnotabigtruckor does that have to be done on scratchbox16:46
djszapibut no guarantee how much stuff is emulated properly.16:47
itsnotabigtruckand does qt sdk have a non-emulating simulator16:47
djszapibb5 and cryptographics libraries are pain in the ass to emulate.16:47
djszapiitsnotabigtruck: back to my question: I would like to see their full name at least.16:47
djszapiwhether they are friend or completely strange guys16:47
*** jluisn has quit IRC16:47
*** jluisn has joined #harmattan16:48
itsnotabigtruckprobably friends, there's not enough russian reviews yet for the ratio to balance out16:48
itsnotabigtruckit is an english anagramming game though...16:48
itsnotabigtruckthat might bias the reviews toward english speakers16:49
sigmaoriondjszpi is almost "Dj Pizza"!!! hehe!16:50
sigmaorionjust a joke...16:50
*** beford has joined #harmattan16:52
*** xarcass has quit IRC16:57
djszapiIs there an ovi store publisher client for N9/N950 ?16:58
djszapiI need something like home for reviewing my apps, stuff and the reviews of my apps efficiently.16:58
djszapisomething like the webinterface, but a comfy client on the phone.16:58
*** gri is now known as zz_gri17:06
faenilcan anybody help me with list passing fom c++ to qml?17:11
faenilmy c++ fun returns QVariantList17:11
djszapilist passing from C++ to qml ?17:11
faenilyes, list of values17:11
djszapiCould you please  clarify the use case for that ?17:11
djszapiahh not listview17:11
djszapiok17:11
faenilGet info about a file17:11
faenilso I have my c++ fun17:12
faenilwhich takes the path17:12
faenilcreates QFileInfo17:12
djszapiconsole.log("TEST:", yourvarianglistaccessor) ?17:12
djszapiwhat does it print out ?17:12
*** snowpong has quit IRC17:12
faenilI use var list = c++fun(path)17:13
djszapiplease print it out17:13
djszapiwhether you get the correct stuff at all in the first place.17:13
faenilI used console.log(list[0])17:13
faenilbut it crashes before that17:14
faenilQt has caught an exception thrown from an event handler. Throwing exceptions from an event handler is not supported in Qt. You must reimplement QApplication::notify() and catch all exceptions there.17:14
djszapiand if you print out the stuff from C++ test code ?17:15
faenilit prints till the end of the fun17:15
* djszapi gotta go17:15
faenilnp, cya17:15
faenilI have console.log("1") ; var list = c++fun() ; console.log("2")17:17
faenilit prints 1, and it finishes the c++fun17:17
faenilbut it doesn't print "2"17:17
djszapihuh right...17:17
djszapiit is a slot or invokable right ?17:18
faenilLOL17:18
faenilI forgot the return in the c++ fun -.- omg...17:18
djszapi*fistshake*17:18
* faenil wants to be punished, anyone?17:18
* djszapi happily :D17:19
faenilXD17:19
djszapibut cya really...17:19
*** djszapi has left #harmattan17:19
faenilit works :D17:20
sigmaorionis there anybody developing any app targeted for babies using dadys phone as a toy? Heh... I mean, buttons with primary colors and sounds!17:21
faenilBUT, QfileInfo returns size = 0....17:21
faenil-.-17:21
sigmaorionif anybody is doing so, let me know, I'm planning to do it and I don't want to reinvent the wheel!17:21
*** zk8 has joined #harmattan17:22
*** rm_work has joined #harmattan17:24
*** rm_work has joined #harmattan17:24
faenilguys isn't there any way to make the timeout for doubleclick longer in MouseArea?17:24
*** miroslav has joined #harmattan17:27
* sigmaorion has deployed my first harmattan app to my N9!!! (Just a couple of widget with no functionality, but sigmaorion is happy!!)17:38
SpeedEvil:)17:38
itsnotabigtrucknice17:38
*** miroslav has quit IRC17:47
*** fcrochik has joined #harmattan17:49
*** fcrochik has quit IRC17:50
*** fcrochik has joined #harmattan17:50
*** fcrochik has quit IRC17:52
*** fcrochik has joined #harmattan17:53
*** fcrochik has joined #harmattan17:54
*** faenil has quit IRC17:59
*** fiferboy has joined #harmattan18:01
fiferboyHi all18:04
*** gabriel9|work has quit IRC18:06
*** risca has joined #harmattan18:06
*** fcrochik has quit IRC18:07
befordhi18:12
djszapiN9hiiiiiii fiferboy18:17
djszapiN9zillion years ago!!18:17
*** MohammadAG has quit IRC18:17
*** MohammadAG has joined #harmattan18:17
*** arekinath has quit IRC18:22
*** arekinath has joined #harmattan18:25
*** arekinath has joined #harmattan18:25
djszapiN9any ovi publisher account for harmattan ?18:38
befordwhat does that mean18:39
befordxD18:39
djszapiN9(which would for instance solve the stupid rectangle screenshot trail too)18:39
befordah18:39
djszapiN9client*18:39
djszapiN9integeated into accounts18:39
itsnotabigtruckdjszapiN9: what do you mean?18:40
djszapiN9by what ?18:40
beforda harmattan client to see publisher ovi information18:40
befordthey use flash on the website so you can't really see the monthly stats from the n9 :/18:40
djszapiN9yep18:40
djszapiN9client could display though18:41
fiferboydjszapiN9: I have one app in the store and another coming18:41
fiferboydjszapiN9: How's it going with you? It's been a while18:41
djszapiN9fiferboy, fine18:42
*** Sazpaimon has quit IRC18:42
djszapiN9fiferboy, what name shall i look for in ovi ?18:42
fiferboydjszapiN9: The app is "Lexicon"18:42
*** Sazpaimon has joined #harmattan18:45
djszapiN9fiferboy, it is not an ovi publisher client :/18:47
djszapiN9:p18:47
djszapiN9but good app18:47
fiferboyOops, misunderstood you18:48
djszapiN9fiferboy you can show my game to your kid18:54
djszapiN9if you like it :)18:54
djszapiN9too bad harmattan has been beheaded without a cool successor19:00
djszapiN9it is a great device and platform !19:01
itsnotabigtruckugh, another professor is subbing in for one of my classes19:04
itsnotabigtruckwho happens to be the same prof i have for the class after that19:04
*** NIN101 has joined #harmattan19:05
*** kkito has joined #harmattan19:11
*** kkito has quit IRC19:16
*** risca has quit IRC19:20
*** risca has joined #harmattan19:24
*** zk8 has quit IRC19:25
djszapiN9damn i felt asleep on the bus19:30
djszapiN9and i do not know where i am, plus the driver does not speak in english19:31
djszapiN9do we have some gprs sw ?19:31
befordlol19:34
itsnotabigtrucknice :p19:34
*** njeisecke has quit IRC19:41
sigmaorionwhy is this expression resulting always false?? (rect.color === "#ff0000") ?19:44
sigmaorionobviously I have set rect.color = "#ff0000" before19:45
* djszapiN9 misses the android app making large noises if approaching toward tha house by bus .....19:45
sigmaorionI just want to toggle the color of the rectangle when a button is pressed19:45
itsnotabigtrucksigmaorion: what datatype is rect.color supposed to be19:46
itsnotabigtruckmaybe it's a hex number19:46
itsnotabigtrucki.e. 0xFF000019:46
itsnotabigtrucknot "#FF0000"19:46
djszapiN9whot not use red ?19:46
djszapiN9why*19:47
sigmaorionitsnotabigtruck, good point!19:47
itsnotabigtrucknah, on second thought i'm probably wrong19:47
sigmaoriondjszapiN9, I want to use non defined colors later :)19:47
itsnotabigtruckbut check what rect.color actually is19:47
itsnotabigtruckdoing an exact match on a string to check what color it is seems doomed to fail19:47
itsnotabigtruckalso it would probably be best to avoid doing that check19:48
befordhttp://doc.qt.nokia.com/4.7-snapshot/qml-color.html I think it should work comparing it to the html color notation19:48
itsnotabigtruckstore the current color in your own variable, and only set the rect color19:48
trxif its a string just upper case both of them in that expession19:48
sigmaorionmaybe using Qt.rgba(0.5, 0.5, 0, 1)19:49
befordoh yea, the examples use FF instead of ff19:49
sigmaorionoh, just using upper case? I'll try, brb19:50
djszapiN9qt,rgba is always better19:51
djszapiN9since the order is clear19:51
itsnotabigtruckor don't do that comparison in the first place19:51
sigmaorionupper case didn't work19:52
itsnotabigtruckthe fact that there's so many representations for one color should be a sign you shouldn't be comparing colors19:52
sigmaorionhow could I compare colors, then?19:52
itsnotabigtruckdon't, remember which color you set on the rectangle yourself19:52
sigmaorionusing another variable to keep track of the color?19:52
itsnotabigtruckinstead of testing the color, have e.g. isActive or something19:52
itsnotabigtruckmost of the time gui widget properties should be considered set-only19:53
sigmaorionYeap, maybe it's a good idea. I'm still doing my first couple of tests before starting my real project19:53
sigmaorionthen I do not so usefull things...19:53
djszapiN9not neccesarily a good idea...19:54
sigmaoriondjszapiN9, how would you do it?19:54
djszapiN9when would you like to change it ?19:54
*** lizardo has quit IRC19:55
sigmaorionwhen I press a button19:55
djszapiN9damn i cannot concentrate, it is so friggin cold here19:55
befordsigmaorion, you are probably doing something wrong19:55
befordI just tested it          if(firstBand.color=="#ffffff")19:55
beford              console.log("white")19:55
sigmaorionbeford, for sure!!!!19:55
befordand worked19:55
sigmaorionoops!19:55
* djszapiN9 will do a teachable app for approaching home, and give noises19:56
sigmaorionbeford, that's C++19:56
sigmaorionI'm using QML19:56
befordme too  :)19:57
djszapiN9that is qml19:57
* sigmaorion is confused!19:57
* sigmaorion is really new to QML19:57
djszapiN9why do you use === ?19:58
djszapiN9p'haps the issue ?19:58
sigmaorionif I use == QtCreator tells me that I should use ===19:58
sigmaorionbesides, I found === everywhere in QML19:59
itsnotabigtruckdjszapiN9: triple equal is strict equality, you're supposed to always use it20:00
itsnotabigtruckbecause js plays fast and loose with what's considered ==20:00
* djszapiN9 has never use it 20:00
djszapiN9plus it might be the root cause20:00
itsnotabigtruckdjszapiN9: in your browser try javascript:alert(false == "")20:01
itsnotabigtruckthen try javascript:alert(false === "")20:01
djszapiN9because color has many type representation20:01
*** djszapi has joined #harmattan20:01
befordindeed20:01
djszapinot really.20:01
befordjust tested === and did not work20:01
djszapiexactly20:01
itsnotabigtruckthe real solution is to remember the color OUTSIDE OF THE WIDGET20:01
itsnotabigtruckthis isn't that complicated20:02
itsnotabigtruckdo that and you're done20:02
itsnotabigtruckinstead of trying to find the least complicated way to implement it wrong20:02
djszapinot really.20:02
djszapiit is just a bit of understand how the color works20:02
* sigmaorion will remember the colour in a separate variable20:02
djszapiand === is really wrong in this special case20:03
djszapiunderstanding*20:03
sigmaorionbut I've just tried == and didn't work either!20:03
djszapiso qtcreator, please shut up ...20:03
djszapibugreport ?20:03
sigmaorionoh, no, hold on!! I'm still using Qt.rgba20:03
befordhttp://developer.qt.nokia.com/forums/viewthread/333520:03
djszapifalsePositiveCreator20:04
befordrelated discussion20:04
itsnotabigtruckthere's probably some way you can pragma away warnings20:04
*** djszapiN9 has quit IRC20:04
itsnotabigtruckor add compiler flags for it20:04
djszapiitsnotabigtruck: the task of it would be to simplify your life.20:04
djszapinot make it all sort of haywire.20:04
*** pinheiro_ has quit IRC20:05
sigmaorionnah, it doesn't work with ==20:05
sigmaorionI'll try C++ syntax as in beford's link20:06
djszapithat is qml ...20:06
djszapibut make a boolean variable20:06
djszapiand you do not need to debug20:06
befordhttp://pastebin.com/2MPDbZpM20:06
itsnotabigtruckdon't use pastebin public pastes!20:08
beford:<20:08
sigmaorionwell, it's not working in anyway!!!20:09
sigmaorionitsnotabigtruck, I was just about to post on pastebin... which pastebin should I use?20:09
djszapipaste.kde.org ?20:10
itsnotabigtrucksigmaorion: gist.github.com, click the private button20:10
itsnotabigtruckunlike the others it's https20:11
djszapithough I am not against pastebin.com either20:11
djszapionly pastie.org which did not work for chinese people so far.20:11
itsnotabigtruckis it blocked?20:12
djszapiyup20:12
itsnotabigtruckpastie.org looks nice but it's down a lot and doesn't have ssl20:12
djszapiI wonder why the qt-project does not have pastie20:12
sigmaorionhere's my code: https://gist.github.com/060eb7e059fd06e325f820:13
*** blueslee has joined #harmattan20:14
sigmaorionif anybody finds out the problem, let me know!!!20:14
djszapinote that it is Friday evening here, so we have +50 % overtime fee for this :D20:15
itsnotabigtrucksigmaorion: ok, so what you'd do is have a flag variable20:15
itsnotabigtruckwhen the button is clicked, you toggle the flag20:15
itsnotabigtruckthen you set the color according to the flag20:15
sigmaorionoops20:15
sigmaorionhold on, there is something wrong, but it wasn't before20:15
itsnotabigtruckso isActive = !isActive; rect.color = isActive ? "foo" : "bar";20:16
sigmaorionI used == to assign20:16
itsnotabigtruckheh20:16
*** blueslee has quit IRC20:16
itsnotabigtruckin fact, you could do20:17
itsnotabigtruckrect.color = (isActive = !isActive) ? "foo" : "bar"20:17
itsnotabigtruckjavascript lets you do that, right?20:18
djszapiright20:18
befordyea, ternary operator20:18
djszapibut you should not do that20:18
djszapiyou can just initialize like that20:18
itsnotabigtrucki meant assignment as expression20:18
djszapiso ":" instead of "="20:18
djszapiand it is enough to change the state20:18
itsnotabigtruckright, so take the RHS of that and put it in20:18
djszapiwithout further worry20:18
befordyep20:19
sigmaorionhow do I declare a variable as bool in qml??20:19
itsnotabigtruckerr, except, it's a handler, right20:19
djszapiproperty bool20:19
itsnotabigtruckoh, right - so the color is going to be isActive ? "foo" : "bar", and the handler is going to be isActive = !isActive20:19
itsnotabigtruckthere we go20:19
petteriis there any way to force application to landscape mode, would be nice for tv-out for some apps (like spotify)20:19
itsnotabigtruckassuming that qml can magically detect variable changes like that20:19
djszapiyes20:20
djszapihold on20:20
itsnotabigtruckpetteri: there definitely is, no idea exactly how though20:20
djszapihttps://projects.kde.org/projects/kde/kdeedu/kanagram/repository/revisions/master/entry/src/harmattan/MainPage.qml#L2920:21
petterii think i cannot modify spotify's code :P20:22
djszapipetteri: you can use the baby app20:22
djszapito lock the screen20:22
djszapibut you need to be in landscape mode for that20:22
djszapibabylock or something like that in ovi20:22
* djszapi is vastly refactoring kanagram20:23
befordsigmaorion,  http://pastebin.com/gd0Ramgr20:25
djszapibeford: white brakcets ?20:27
djszapiaround isActive ?20:27
befordwhere xD20:27
djszapithe precedence is of course good to go without that20:27
befordoh in the color:20:27
djszapiAlso, I still vote for Qt.rgba20:27
befordyea not need20:27
djszapisince that makes the order explicitely clear.20:27
*** tarantism has joined #harmattan20:28
sigmaorionbeford, thanks!!!20:28
sigmaorionI'll try that20:28
befordsigmaorion,  (rect.color == "#ff0000") ? rect.color = "#0000ff" : rect.color = "#ff0000" that is the line to fix with the code you pasted earlier, both work20:30
*** benares_98 has quit IRC20:30
sigmaorioncompiling!20:30
sigmaorionbeford, you say that's the line to fix, why?20:31
befordhttps://gist.github.com/060eb7e059fd06e325f8 here20:31
befordin line 35,20:31
befordand it should work20:31
beforddifferent ways to do the same thing20:31
*** faenil has joined #harmattan20:31
sigmaorionin the pastebin I posted it like rect.color == "#0000ff" : rect.color == "#ff0000", but I fixed that and it didn't work...20:32
befordyes I gave you the fixed line20:32
sigmaorionwhat did you change?? that's what I posted20:33
befordits not, I use = for asignements and lowercase for colors20:33
* sigmaorion thinks that's what he did the first time, but can't remember20:34
*** benares_98 has joined #harmattan20:35
befordfirst time you used === in the comparison  and that failed20:35
sigmaorionI'm trying isActive approach now20:35
befordcool20:35
sigmaorionbeford, you are right!!20:35
sigmaorionisActive is not workiiiiiiiiiiiing!!!20:36
sigmaorionwhat is going on? haha!20:36
befordpebkac :P20:36
befordi tried the code before pasting it20:36
sigmaorionyeap, but I didn't use the same code, just used it as reference20:37
*** lizardo has joined #harmattan20:37
befordwell show us your new code20:37
sigmaorionand I defined isActive inside the rectangle, and then tried to change it outside of it!20:37
sigmaorionI think I got it, hold on... one second20:37
sigmaorionWORKS!!!!20:38
sigmaorionhehehehe!20:38
befordmagic20:38
* sigmaorion is jumping on the chair!20:38
djszapijust pay us :P20:38
befordconsole.log(rect.color == Qt.rgba(1, 0, 0, 1)) true and console.log(rect.color === Qt.rgba(1, 0, 0, 1)) false20:39
sigmaoriondjszapi, I will pay using argentinian pesos, hehehe!20:40
sigmaorion1 dollar = 4.3 ARS... and you have to change them for dollars here in Argentina20:40
befordI suppose there is no strict comparison for color type20:40
sigmaorionjeje20:40
djszapipay in a cute argentin woman being professional with the tango of theirs :D20:40
sigmaorionoh, tango, that thing I never danced, even being an argentinian myself20:41
sigmaorionbeford, I'll try the other way now20:42
befordlisto, dale :)20:42
sigmaorionbeford, where are you from?20:43
*** e-yes has joined #harmattan20:43
befordColombia20:44
sigmaorionaah, ok!! anyway I'll keep speaking english, I guess it's what we are supposed to do in this channel :)20:45
befordexactly20:45
djszapino20:46
djszapiwe speak here in programming languages ;)20:46
sigmaorionoooh, ok, then I'll ask the following way: if(program works) I'm happy else I'm sad20:47
sigmaorionhehe20:47
sigmaorionok, beford, it's working both ways now20:47
sigmaorionmay be I made more than one mistake the first time20:48
sigmaorionthanks a lot, guys!!!20:48
djszapicheers20:48
e-yesis this channed deducated to anime?20:49
sigmaorionshouldn't be https://gist.github.com in the channel subject, just like http://wiki.meego.com/N950_landing_page? whould be usefull, I guess20:50
djszapiwhy would ?20:50
djszapiadd it to the language page if you think it is supercool for the humanity.20:51
djszapilanding*20:51
djszapibut do not add it please in this special case.20:53
sigmaoriondjszpi, I won't add anything, I don't even know how to do it!!! hehe!20:54
sigmaorionit was just an idea20:54
djszapicannot you use tab character for nickname completion not to make typos ? :P20:56
djszapiadmiral0: ping21:01
djszapido you just put the time onto a label or distinct letters for the digits in that screeny application you do ?21:02
*** faenil has quit IRC21:03
*** admiral0 has quit IRC21:05
*** pinheiro has joined #harmattan21:06
* djszapi personally prefers rectangles otherwise the ":" might keep moving21:08
*** benares_98 has quit IRC21:10
*** benares_98 has joined #harmattan21:12
*** admiral0 has joined #harmattan21:14
admiral0djszapi: pong21:15
djszapiI see applications using labels and also distinct rectangles for the digits. I might go for the second.21:16
admiral0?21:17
* admiral0 doesn't understand. context?21:18
admiral0bbl21:18
*** fiferboy has quit IRC21:26
djszapiI cannot set custom background color for the button qt-components ? That is strange...21:31
djszapiam I missing something ?21:31
*** risca has quit IRC21:31
djszapiI can only see options for setting an image for the pressed, checked, disabled and default background.21:31
*** risca has joined #harmattan21:32
djszapiI can use a container rectangle for this..it is just weird. :)21:35
*** SqRt7744 has joined #harmattan21:37
djszapiButton element uses a BorderImage, not a Rectangle with gradient :(21:37
*** lbt has quit IRC21:38
*** harbaum has joined #harmattan21:38
*** lbt has joined #harmattan21:38
*** harbaum has joined #harmattan21:43
alteregoThat's because gradients in QML are rubbish at the moment ..21:48
*** harbaum has quit IRC21:49
*** harbaum has joined #harmattan21:51
SqRt7744anyone know how to use pinch zoom in a WebView component?21:52
djszapialterego: already "fixed".21:54
SqRt7744aha PinchArea element.21:54
djszapiyes21:54
djszapifrom 4.7.421:54
alteregodjszapi: yeah, in Qt5 :P21:54
djszapiand QtQuick 1.121:54
djszapialterego: not really, in current qt421:55
*** briglia has joined #harmattan21:55
*** harbaum has quit IRC21:55
alteregoNot on Harmattan it isn't.21:55
djszapiI have a working stuff I wanted it to work21:56
alteregoThen you don't know what I mean by broken ;)21:56
alteregofor instance, a gradient should have a vector to define the direction of the gradient.21:57
alteregoYou can't currently do that without rotating the whole item, which isn't very good at all.21:57
djszapiI do know, but I do not care21:57
djszapisince bitching does not solve the issue for my app21:58
*** harbaum has joined #harmattan21:58
djszapisetting the theme background helped me.21:58
alteregoI was merely making something known, not bitching.21:58
djszapiI am sorry, but I am not interested in qt5 yet in this sense.21:59
alteregoPointing out a reason why people tend not to use gradients, especially in something like qt components.21:59
alteregoBitching is your territory :P21:59
djszapiwell qt components should hack around21:59
djszapiexactly the place which should "fix" it.21:59
alteregoI think you misunderstand, I'm just saying that gradients are pretty much out-of-the-question unless you're using Qt 5, I wasn't saying use or wait for Qt 5, that'd be stupid :P22:00
djszapithe only place where the qml limitation should be addressed22:00
djszapiI cook with the current ingredients.22:00
alteregoExactly22:00
djszapiI really do not care about qt522:00
djszapinow.22:01
alteregoI do, can't wait for Qt 5 :P22:01
djszapiyou do not need to22:01
alteregoBut it's not going to stop me working with previous versions :)22:01
alteregoOoo, got another idea for a visualisation for my 3x3 LED cube.22:02
alteregoI think they should teach micro-controller programming in 1st year CS. It's refreshing not having to worry about frameworks, and other crap. Just bare-metal programming :)22:03
*** harbaum has quit IRC22:04
*** benares_98 has quit IRC22:04
*** harbaum has joined #harmattan22:04
*** lacerda has quit IRC22:06
*** benares_98 has joined #harmattan22:07
*** harbaum has quit IRC22:10
*** harbaum has joined #harmattan22:11
*** admiral0 has quit IRC22:19
*** harbaum has quit IRC22:22
*** risca has quit IRC22:27
*** risca has joined #harmattan22:28
*** ZogG_laptop has quit IRC22:29
*** zk8 has joined #harmattan22:29
*** etrunko has quit IRC22:29
*** ZogG_laptop has joined #harmattan22:45
*** zk8 has quit IRC22:48
*** risca has quit IRC23:03
*** jluisn has quit IRC23:07
*** lizardo has quit IRC23:09
*** sigmaorion has quit IRC23:17
*** briglia has quit IRC23:39
*** risca has joined #harmattan23:42
*** rm_work has quit IRC23:53

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