*** zarlino has quit IRC | 00:00 | |
thp | ok, so how can i have a left-aligned back button + two right aligned other buttons in a QML ToolBar? (qt quick components) | 00:03 |
---|---|---|
ajalkane | thp: right-most item to parent.right, and the second right-most to that button's anchors.left ? | 00:05 |
thp | ajalkane: hmm i don't anchor anything at all there. can/should i anchor ToolIcon elements to ToolBarLayouts? | 00:06 |
ajalkane | thp: you can anchor, it did so in some example too which I copied from | 00:06 |
thp | what I have now is ToolBarLayout { ToolIcon {} Item {} ToolIcon {} ToolIcon {} } | 00:07 |
thp | which seems to work great if only one of the last two items is visible | 00:07 |
thp | ok, i'll try to anchor it :) | 00:07 |
ajalkane | I've got like this to anchor the menu to right: ToolIcon { | 00:07 |
ajalkane | iconId: "toolbar-view-menu"; | 00:07 |
ajalkane | anchors.right: parent===undefined ? undefined : parent.right | 00:07 |
ajalkane | onClicked: (myMenu.status == DialogStatus.Closed) ? myMenu.open() : myMenu.close() | 00:07 |
ajalkane | } | 00:07 |
ajalkane | And it's straight from the qt-components example, so I guess it's "canonical" if not beatiful :P | 00:08 |
thp | indeed. anchoring works beautifully :) | 00:08 |
mikhas | this looks horrible | 00:09 |
thp | anchors.right: toolPlay.visible?toolPlay.left:toolPlay.right | 00:09 |
mikhas | and why the ungodly triple= | 00:09 |
thp | (with toolPlay being my rightmost tool button) | 00:09 |
ajalkane | The triply thing is something about not enforcing types. I don't quite understand it, but QtCreator gives a warning without it | 00:09 |
thp | ajalkane: well, do you reparent that ToolIcon? | 00:10 |
thp | because if not, that's not really needed | 00:10 |
ajalkane | thp: no, it sits inside ToolBarLayout | 00:10 |
thp | well then you don't need it | 00:10 |
thp | because that will always have a parent | 00:10 |
thp | (the ToolBarLayout) | 00:10 |
ajalkane | thp: QtCreator says "== pefromrs type coercion, use === to avoid it" warning | 00:11 |
thp | ajalkane: hehe.. that's true | 00:13 |
ajalkane | ah right now I understood, parent === undefined is unneeded altogether. I wonder why it's there | 00:13 |
thp | alterego: but "anchors.right: parent.right" is sufficient | 00:13 |
alterego | Yes, usually :P | 00:13 |
alterego | Though I'm guessing that's meant for someone else :) | 00:13 |
thp | that's why i asked if you reparent it | 00:13 |
ajalkane | yeah... I just copy-pasted it. But you're right. I don't understand why it's there. Maybe someone else also copy-pasted it from something more complex :) | 00:14 |
*** javispedro has joined #harmattan | 00:15 | |
DocScrutinizer | (SIP chat) I've seen SIP chat posts getting translated to SMS and reverse, and also seen each single line creating another INVITE which made it rather easy to create a whole block with ringing phones, hell even half a small town of all phones ringing :-) | 00:15 |
DocScrutinizer | the provider fixed that bug *rapidly* ;-P | 00:16 |
DocScrutinizer | been Sipgate.de btw | 00:16 |
DocScrutinizer | one of their gateways been severely misconfigured | 00:17 |
ajalkane | I'm surprised SIPs still around and supported. I guess it's used still in some corporate environments (?). | 00:17 |
DocScrutinizer | EH? | 00:18 |
Arkenoi | ajalkane: huh? any better alternative? | 00:18 |
DocScrutinizer | actually we are halfway to swapping all ISDN/POTS phones for SIP aka NGN phones here in Germany | 00:18 |
ajalkane | I mean, I've never seen any end-users using it | 00:19 |
DocScrutinizer | HAHAHA | 00:19 |
ajalkane | Forgive my ignorance, but doesn't it basically do what Skype and XMPP etc. does? | 00:19 |
DocScrutinizer | end-users just aren't aware they are using SIP | 00:19 |
ajalkane | I know it's been around in the telco business, but as a direct end-user product. Is it necessary? | 00:20 |
DocScrutinizer | they just plug in that combined DSL&phone box of 1&1 or Arcor or whatever is the name of your favourite provider | 00:21 |
DocScrutinizer | as mentioned above I gues ~50% of German phone lines are SIP and users aren't even aware of the fact | 00:22 |
*** djszapi_ has quit IRC | 00:22 | |
DocScrutinizer | basically SIP is the ISDN of internet age | 00:23 |
ajalkane | That's what I mean, it's a behind-the-scenes protocol. I mean is there any realistic use-case for having a SIP account on phones that you can configure? | 00:23 |
ajalkane | It's been on Nokia phones forever, but I can't use it with anyone practically | 00:24 |
Arkenoi | i use SIP all the time | 00:24 |
DocScrutinizer | sure, e.g. if you think SIP can and will do more than that stupid box with the plain old phone plugged in to it | 00:24 |
Arkenoi | because i prefer to pay fair termination fee, not some nonsense "long distance" | 00:24 |
Arkenoi | also i want to receive call wherever i am without nonsense "roaming" fees | 00:25 |
ajalkane | The stupid phone box is long dead at least here in Finland. | 00:26 |
ajalkane | I understand those use cases, but aren't those exactly what Skype and similar provide? | 00:26 |
DocScrutinizer | uhuh, so what are you using then? configurable SIP phones? | 00:26 |
*** rm_code has joined #harmattan | 00:27 | |
Arkenoi | and what is the point of using skype, ugly, proprietary and generally sucking while there is good kosher SIP? | 00:27 |
ajalkane | Just mobile phones. I think for Voip Skype is the most used, SIP... I've not seen anyone use it here | 00:27 |
rm_code | Arkenoi: to talk to the millions of people who have skype... | 00:27 |
*** spenap has quit IRC | 00:27 | |
ajalkane | I agree I'd rather use SIP than Skype. But it just doesn't seem to be happening | 00:27 |
Arkenoi | i do not care about millions too stupid to configure sip :-) | 00:27 |
rm_code | Arkenoi: like my mother... or all of my non-geek friends, or my girlfriend.... | 00:28 |
Sput | SIP sucks in a lot of NATted networks where Skype just works, apparently | 00:28 |
rm_code | ^^ also true | 00:28 |
DocScrutinizer | uhuh, doesn't seem to be happening? why not? | 00:29 |
Arkenoi | Sput: not really. solved long time ago. | 00:29 |
rm_code | skype has some MAGIC going on with NAT, it can connect when i can't even get to web pages sometimes | 00:29 |
Sput | might be less of an issue nowadays, with smart routers having autoconfig for that, but that's the main reason skype got big - it worked out of the box, where most other solutions didn't | 00:29 |
ajalkane | DocScrutinizer: I don't know. Maybe it's too hard to configure for them, they don't know what the hell SIP is, or there's not easy enough ready-made-service. | 00:29 |
Arkenoi | i use sip even with public wifi hotspots and experience no problems | 00:29 |
DocScrutinizer | https://secure.sipgate.de/catalog/ | 00:29 |
thp | wazd: btw, any progress on the replacements for my crappy self-made artwork in gpodder? :) | 00:30 |
DocScrutinizer | I use SIP even over UMTS and have no problems | 00:30 |
rm_code | and i would love to use SIP, but it doesn't help me talk to the huge infrastructure of people i already talk to with skype and who aren't technically savvy enough to get SIP working | 00:30 |
rm_code | not to mention, you call Skype ugly, but have you seen the average windows SIP client? >_> | 00:30 |
rzr | do u know of sip2xmpp gateways ? | 00:31 |
ajalkane | I configured SIP to my gf's phone so that I could call her free. And she configured it away. Lol. | 00:31 |
rm_code | i think you're making the wrong argument -- is SIP better than skype? probably. but is that enough of a reason to say we don't need skype working? hell no | 00:31 |
*** NIN101 has quit IRC | 00:32 | |
DocScrutinizer | what do you think is this service running on: http://www.1und1.de/Jumpto?site=PU.AD.DE&origin.page=Home&page=DslEinstieg&linkOrigin=Home&linkId=ct.btn.productswitch.dsl | 00:32 |
DocScrutinizer | rm_code: I give a shit about those i***** | 00:33 |
ajalkane | I'm happy Germany has apparently good mainstream usage of SIP. But that's not the case at least here in Finland. It's mobile phones or Skype. | 00:33 |
DocScrutinizer | I don't WANT skype working, as it cuts thru my battery in no time | 00:33 |
*** artemm has quit IRC | 00:34 | |
rm_code | DocScrutinizer, thanks for telling me you don't give a shit about the "idiots" that are my family and the people i love. go fuck yourself. | 00:34 |
ajalkane | And what I've observed, Skype is used only from computers to make those annoying video calls. I hate enough using my voice, having video on top of that would be far too sociable! | 00:34 |
rm_code | and maybe think about what you're saying before you make absolute statements | 00:35 |
rm_code | the bottom line is, SOME PEOPLE NEED SKYPE, so it would be nice to have it working alongside SIP. | 00:35 |
*** M4rtinK has joined #harmattan | 00:35 | |
SpeedEvil | Same as with flash. | 00:36 |
DocScrutinizer | rm_code: sorry you got me wrong, I can call *every* phone in Germany for *free* with that 1&1 account. and I don't care if the far end is SIP or what else | 00:36 |
*** antman8969 has quit IRC | 00:36 | |
rm_code | it is not like that in the US | 00:36 |
rm_code | and 95% of the people i know have Skype set up and working | 00:37 |
rm_code | and i know only ONE PERSON with SIP working | 00:37 |
rm_code | but i don't know how to contact him via SIP because we normally use skype | 00:37 |
DocScrutinizer | and if some smart guy knows how to configure his SIP client on his smartphone so his landline number is working on that smartphone SIP as well, fine, I call her for free too | 00:37 |
* DocScrutinizer shrugs | 00:38 | |
DocScrutinizer | US also has CDMA I heard | 00:38 |
DocScrutinizer | doesn't mean CDMA is better than GSM or UMTS | 00:38 |
berndhs | yeah CDMA works greeat | 00:38 |
Sput | I'm in Germany, and most people I know use skype | 00:38 |
ajalkane | Almost no one uses landline phones anymore in Finland. We're all at the clutches of the evil operators here. I don't think they have much interest in providing SIP support :P | 00:38 |
Sput | hardly any SIP users, except for a few geeks | 00:38 |
Sput | that is *not* the target audience for phones | 00:38 |
DocScrutinizer | I know *very* few people that have a skype PHONE | 00:39 |
Sput | also, note that to my knowledge, only O2 allows SIP via GSM anyway | 00:39 |
DocScrutinizer | and the people *I* know are not sitting in front of their PC all day and all night, hell some of them even SHUT IT DOWN :-o | 00:39 |
*** artemm has joined #harmattan | 00:40 | |
Sput | DocScrutinizer: that can't be | 00:40 |
Sput | computers cannot be shut down | 00:40 |
Sput | that is physically impossible, for all I know | 00:40 |
berndhs | the world's gonna end if we shut down all the computers | 00:41 |
ajalkane | Ah... how cool would it be to shutdown the world's last computer, knowing you're gonna trigger the end of the world doing it | 00:42 |
ajalkane | It could be some old crusty VAX in some basement... I bet I couldn't even figure out how to shut down one of those beasts. | 00:43 |
DocScrutinizer | and for a sequel to the "i****" part: look at sipgate.co.uk or whatever first level domain you prefer. The download of their SIP softphone client, ready with preconfigured setup, is at least as simple as that for skype | 00:43 |
berndhs | cleaning personnel had no trouble shutting down Vaxen | 00:44 |
*** BrettQ has joined #harmattan | 00:44 | |
Sput | that does *not* change the fact that there is a huge ass installed userbase of skype, and you can't just ignore them for the same reason that facebook will still be around for a long time despite g+, and ICQ still is there even though Jabber is better | 00:44 |
DocScrutinizer | just sign-up is a bit more tedious, as you get a free landline number and they want some of your person's data for that. Unlike skype where you can start with random BS nicknames as "phonenumber" | 00:45 |
DocScrutinizer | I actually can and I actually do. Both friggin skype and brainfsckd rogue facebook | 00:45 |
DocScrutinizer | yu want to force me to use them? | 00:46 |
DocScrutinizer | good luck! | 00:46 |
Sput | you can use whatever you want | 00:46 |
rm_code | good developers realize that you can't ignore a huge userbase. you don't have to use it yourself, but if you want large-scale acceptance/adoption of a platform, you have to make the tools the AVERAGE PERSON wants | 00:46 |
ajalkane | hmm... what if Jesus said you must use one of those services to get into heaven? | 00:46 |
Sput | but ignoring that the better part of the population uses worse stuff, usually made by "the market leader", is not smart either | 00:47 |
DocScrutinizer | mhm and the average person wants to use skype from their smartphone, to annoy those who can't and have to sit in front of their computer - I see | 00:48 |
* DocScrutinizer waves | 00:48 | |
DocScrutinizer | afk | 00:48 |
rm_code | you can be an elitist techno-geek all you want :/ | 00:48 |
*** rcg1 has joined #harmattan | 00:48 | |
rm_code | Android has a skype client | 00:48 |
rm_code | iOS has a skype client | 00:48 |
ajalkane | N9 has a skype client! | 00:49 |
Sput | the same argumentation as for why do people still use windows | 00:49 |
Sput | or other legacy software | 00:49 |
ajalkane | my grandma has a skype client :(. Even my poor grandma! But I don't. Shit... | 00:49 |
Sput | all we can do is educate them, and while trying to do that, trying to support as much of the legacy crap as possible | 00:49 |
rm_code | even winmo7 is about to have a skype client | 00:50 |
Sput | skype on the windows desktop sucks btw since MS bought it | 00:50 |
javispedro | oh, you CAN ignore the large existing skype userbase | 00:50 |
javispedro | it's quite easy. | 00:50 |
Sput | it has started crashing | 00:50 |
Sput | and it plays video ads now. | 00:50 |
rm_code | Sput: yeah i still run the old version | 00:50 |
ajalkane | Good old MS. They sure know how to make life a little bit more annoying. | 00:50 |
javispedro | I managed to ignore the quite large MSN userbase when MS managed to get into the #1 IM provider slot due to their monopolish practices. | 00:51 |
*** Arkenoi has quit IRC | 00:51 | |
javispedro | so skype should even be easier! | 00:51 |
*** Arkenoi has joined #harmattan | 00:51 | |
ajalkane | I used to have MSN account. But then came the good Jabber clients. | 00:52 |
DocScrutinizer | javispedro: I don't know a single skype user I couldn't call via _phone_ for free :-D Using my SIP account (admittedly that'S because I only know skype users that are also here in Germany - if my Granny wouldn't be dead but living in Honolulu I might actually consider using skype, for her sake) | 00:53 |
Sput | and I'd hate you for calling me on my *phone* | 00:53 |
Sput | because I hate using a phone for calls | 00:53 |
Sput | computer is so much more convenient! | 00:54 |
rm_code | lol | 00:54 |
MohammadAG | <ajalkane> N9 has a skype client! | 00:54 |
MohammadAG | N950 has a skype client, telepathy-spirit is installed | 00:54 |
MohammadAG | BUT, UI is missing, and skyhost expired | 00:54 |
DocScrutinizer | or I'd get her a German SIP account and plug the Grandstream SIP phone with proper configuration into her DSL router | 00:54 |
*** rcg1 has quit IRC | 00:54 | |
*** rcg1 has joined #harmattan | 00:55 | |
MohammadAG | if anyone has any idea how to mount an N9(50) rootfs.jffs2, you too can have a skype client | 00:55 |
ajalkane | MohammadAG: well yes, actually you could say N9(XX)? has/will have Skype client | 00:55 |
*** rcg1 has quit IRC | 00:55 | |
ajalkane | I'm not sure how much it's worth to spend time on having Skype/gTalk on N950 as the new firmware should come in few weeks now. | 00:56 |
DocScrutinizer | Sput: yeah, I also always use the hairdryer for roasting my toast | 00:56 |
ajalkane | I don't like phone calls. It makes me talk, and listen to talking. Why can't they just send e-mail, text message, or IM? Much more convenient. | 00:57 |
Sput | ajalkane: I agree | 00:57 |
artemm | depends on the priority | 00:57 |
Sput | I have my headset on anyways while sitting at the computer | 00:57 |
artemm | ;) | 00:57 |
artemm | phonecalls resolve issues faster | 00:58 |
artemm | but stop the progress on all the unrelated issues | 00:58 |
Sput | not if people like me ignore them most of the time :P | 00:58 |
ajalkane | Okay I understand if there's a goddamn catastrophe lurking, like a meteor is about to strike, or my baby's about to drown in a radioactive waste. But otherwise? Just send me a message. | 00:58 |
rm_code | can SIP do large conference calls? and can it do video? I *think* it can, but i don't remember right now where i saw the guides for it | 00:59 |
DocScrutinizer | you're aware you're in a channel that has a smartPHONE as topic? | 00:59 |
Sput | certainly. | 00:59 |
DocScrutinizer | rm_code: video yes, even N900 | 00:59 |
rm_code | yeah well at the moment my n950 is admittedly barely a phone, if i make calls i can't hang up or interface with the dialer at all for automated services | 00:59 |
ajalkane | I have a SMART(phone) so that I don't need the phone so much, but do things smart. | 00:59 |
DocScrutinizer | conference - depends. needs support from your provider | 00:59 |
artemm | oh, Harmattan can do phone calls as well! That's a cool extra feature! | 00:59 |
DocScrutinizer | or special clients | 01:00 |
MohammadAG | I never truly appreciated BT headsets till I started driving alone | 01:00 |
Sput | DocScrutinizer: my cell phone bill hovers around 3€/month, and I don't have a cheap or flat-fee contract | 01:00 |
Sput | I use a few GB of internet though. | 01:00 |
special | I'm amused that I started this with an offhand comment 2 hours ago.. and it's still going | 01:00 |
rm_code | i'm amused (not surprised) at how many absolute minded people there are here who think there is only one way to do things | 01:01 |
DocScrutinizer | ajalkane: [[ SMART(phone) ]] seems harmattan and N9 isn't the device and OS for you | 01:01 |
Sput | rm_code: obviously, no perl coders :> | 01:01 |
rm_code | "this service is better, so everyone should use this, because it is the RIGHT WAY to do things, everyone else be damned" | 01:01 |
ajalkane | DocScrutinizer: Dunno, liking N950 so far, I'd imagine N9 will be just great too | 01:02 |
rm_code | i got used to doing things I thought were dumb a *long time ago*, because not every user does things "the right way" and you can't expect them to... and if you treat them like idiots they will abandon your software | 01:02 |
DocScrutinizer | ajalkane: for the SMART part it seems to emphasize the phone part way too much | 01:02 |
Sput | if I did a lot of calling, the N950 certainly would be the wrong device for me... it's just too heavy to keep it on-ear for extended amounts of time :> | 01:02 |
rm_code | go ahead and say "i don't want them using my software anyway". i dare you. | 01:02 |
rm_code | I hope the next firmware fixes calling n N950, currently fairly useless as a phone because i have to reboot it after every phonecall to hang up | 01:03 |
Sput | oh? that works fine for me | 01:04 |
ajalkane | DocScrutinizer: I don't understand what you mean, either I'm too drunk or too tired. But anyway, the traditional phone usage of my mobile phones has decreased a lot compared to the traditional phone usage (as in talking). And that's a good thing. | 01:04 |
Sput | I would love if it used the notification light to, well, notify about missed calls though | 01:04 |
artemm | really? Public N950 FW makes calls very fine for me | 01:04 |
rm_code | you're lucky then | 01:04 |
special | I've only had to reboot to end a call once | 01:04 |
rm_code | theres a lot of people for whom the "active call window" is just a black screen -- and if you close it, it doesn't hang up the call | 01:04 |
DocScrutinizer | ajalkane: I'm just talking for the talking it seems - ignore me for the next 1h ;-D | 01:05 |
DocScrutinizer | ajalkane: probably I just noticed I don't know what I mean either :-) | 01:05 |
ajalkane | DocScrutinizer: Well, my reply was really non-sensical also, so let's call it even. | 01:06 |
DocScrutinizer | deal | 01:06 |
DocScrutinizer | XD | 01:06 |
DocScrutinizer | afk again | 01:07 |
Sput | for me the task manager crashes a lot, but calls seem to work fine | 01:07 |
Sput | but as I said, I'm not calling that much :) | 01:07 |
MohammadAG | task manager crashes? | 01:07 |
DocScrutinizer | have a look into SIP, it's way better than a lot of people seem to think | 01:07 |
Sput | yeah. it just goes black and doesn't display tasks anymore | 01:07 |
* MohammadAG ponders doing a quick daemon to use the notification light for missed calls | 01:07 | |
ajalkane | I've never had task manager crashes | 01:07 |
MohammadAG | the 3 event views suspend when you swipe out of them | 01:08 |
Sput | MohammadAG: that would rock... | 01:08 |
MohammadAG | by suspend I mean they don't redraw, and stay black | 01:08 |
Sput | I can swipe around as much as I want, I can't reactivate the task manager after that happened | 01:08 |
MohammadAG | I'm just saying what's prolly causing it for you :p | 01:09 |
MohammadAG | javispedro, /etc/mce/mce-radio-states.ini | 01:10 |
ajalkane | Sometimes it's happened to me, though, that I can't open the apps from task-manager. It goes into some kind of stucked state. | 01:10 |
ajalkane | But it recovers when I start an app from the application list. | 01:11 |
javispedro | MohammadAG: afaik, that's a file that lists the available hw | 01:11 |
javispedro | MohammadAG: one -dadd package overwrites it with the version you are seeing | 01:11 |
MohammadAG | FMTX = false? | 01:11 |
javispedro | the n950 has no fmtx | 01:11 |
MohammadAG | it has a wl1271 | 01:11 |
MohammadAG | which has an FMTX afaik | 01:11 |
javispedro | yes, same as n9, | 01:11 |
javispedro | but no antenna; the n9 might. | 01:11 |
MohammadAG | f the antenna, get the base hardware to work then plug an antenna | 01:12 |
MohammadAG | we can put an antenna in place of the microSD slo.... waaiit... | 01:12 |
javispedro | the board file for the rm680 basically says that the fmtx is fscked | 01:12 |
*** seif has quit IRC | 01:13 | |
javispedro | the one for the rm696 on the other side does not | 01:13 |
javispedro | yes, I could remove the fmtx is fsck parted either by rebuildign the kernel or by using a unseal.ko-like trick, but I bet it won't work | 01:13 |
javispedro | s/fmtx is fsck parted/"fmtx is fsck" part | 01:14 |
MohammadAG | wouldn't hurt to try :p | 01:14 |
*** seif has joined #harmattan | 01:14 | |
javispedro | fmrx goes before that! | 01:14 |
MohammadAG | oh and illegal fmtxs are kinda good | 01:14 |
MohammadAG | I wonder if I could turn up power on that | 01:14 |
*** artemm has quit IRC | 01:14 | |
javispedro | get me a datasheet to search for the power specs =) | 01:14 |
javispedro | the weird part is BluetoothRadioState=false | 01:17 |
*** artemm has joined #harmattan | 01:19 | |
*** Arkenoi_ has joined #harmattan | 01:19 | |
*** MohammadAG has quit IRC | 01:19 | |
*** MohammadAG_ has joined #harmattan | 01:19 | |
*** MohammadAG_ has quit IRC | 01:19 | |
*** Arkenoi has quit IRC | 01:19 | |
*** Arkenoi_ is now known as Arkenoi | 01:19 | |
*** lcuk has joined #harmattan | 01:20 | |
*** BrettQ has left #harmattan | 01:22 | |
*** NIN101 has joined #harmattan | 01:25 | |
*** MohammadAG has joined #harmattan | 01:26 | |
*** zarlino has joined #harmattan | 01:27 | |
*** zarlino has quit IRC | 01:44 | |
*** Neo has joined #harmattan | 01:45 | |
*** smoku1 has left #harmattan | 01:46 | |
*** Neo is now known as Guest65270 | 01:46 | |
*** wazd has quit IRC | 01:48 | |
*** GNUtonio has quit IRC | 01:51 | |
*** zarlino has joined #harmattan | 01:52 | |
*** crevetor has quit IRC | 02:04 | |
*** Stecchino has quit IRC | 02:05 | |
*** vgrade has quit IRC | 02:07 | |
*** zarlino has quit IRC | 02:15 | |
DocScrutinizer | isn't it a real big advantage that everything is OSS on maemo? | 02:16 |
DocScrutinizer | nad everything comes with a comprehensive manpage | 02:16 |
*** seif has quit IRC | 02:16 | |
DocScrutinizer | and* | 02:16 |
javispedro | that's why we should all switch to Meego! | 02:18 |
* javispedro hides | 02:18 | |
DocScrutinizer | everything is so damn well documented that the schematics and datasheets they published for us are almost redundant | 02:18 |
DocScrutinizer | we wouldn't really need them | 02:19 |
*** dm8tbr has quit IRC | 02:24 | |
*** deimos has quit IRC | 02:28 | |
*** dm8tbr has joined #harmattan | 02:29 | |
*** baraujo has quit IRC | 02:32 | |
*** Arkenoi has quit IRC | 02:39 | |
*** Arkenoi has joined #harmattan | 02:41 | |
*** M4rtinK has quit IRC | 02:43 | |
*** zarlino has joined #harmattan | 02:45 | |
*** djszapi_ has joined #harmattan | 02:46 | |
*** antman8969 has joined #harmattan | 02:59 | |
*** zarlino has quit IRC | 03:01 | |
*** antman8969 has quit IRC | 03:11 | |
*** denism1 has joined #harmattan | 03:18 | |
*** captaini1loo has joined #harmattan | 03:19 | |
*** weggi__ has joined #harmattan | 03:19 | |
*** thp_ has joined #harmattan | 03:19 | |
*** ajalkane_ has joined #harmattan | 03:19 | |
*** Ronksu_ has joined #harmattan | 03:20 | |
*** weggi_ has quit IRC | 03:22 | |
*** Kypeli has quit IRC | 03:22 | |
*** denism has quit IRC | 03:22 | |
*** thp has quit IRC | 03:22 | |
*** captainigloo has quit IRC | 03:22 | |
*** ajalkane has quit IRC | 03:22 | |
*** Ronksu has quit IRC | 03:22 | |
*** Kypeli has joined #harmattan | 03:27 | |
*** eman has joined #harmattan | 03:33 | |
*** BrettQ has joined #harmattan | 03:42 | |
*** eman has left #harmattan | 03:42 | |
*** NIN101 has quit IRC | 03:59 | |
*** vladest_ has joined #harmattan | 04:01 | |
*** vladest has quit IRC | 04:02 | |
*** vladest_ is now known as vladest | 04:02 | |
*** willer_ has quit IRC | 04:17 | |
*** lcuk2 has joined #harmattan | 04:22 | |
*** Guest65270 has quit IRC | 04:22 | |
*** lcuk has quit IRC | 04:24 | |
*** eman has joined #harmattan | 04:31 | |
*** rm_code has quit IRC | 04:47 | |
*** mikhas has quit IRC | 04:51 | |
*** djszapi_ has quit IRC | 04:51 | |
*** djszapi__ has joined #harmattan | 04:57 | |
*** Arkenoi has quit IRC | 05:13 | |
*** Arkenoi has joined #harmattan | 05:14 | |
*** MohammadAG has quit IRC | 05:18 | |
*** MohammadAG has joined #harmattan | 05:21 | |
*** MohammadAG has quit IRC | 05:26 | |
*** MohammadAG has joined #harmattan | 05:28 | |
*** Mohammad- has joined #harmattan | 05:33 | |
*** MohammadAG has quit IRC | 05:33 | |
*** Mohammad- is now known as MohammadAG | 05:33 | |
*** meegoexperts has left #harmattan | 05:42 | |
MohammadAG | oh yay, lost my first guitar string | 05:56 |
*** djszapi__ has quit IRC | 05:58 | |
*** djszapi_ has joined #harmattan | 06:02 | |
*** berndhs has quit IRC | 06:04 | |
*** rm_code has joined #harmattan | 06:04 | |
*** crevetor has joined #harmattan | 06:50 | |
*** artemm has quit IRC | 06:56 | |
*** javispedro has quit IRC | 06:59 | |
*** crevetor has quit IRC | 07:21 | |
*** DocScrutinizer has quit IRC | 07:30 | |
*** DocScrutinizer has joined #harmattan | 07:30 | |
*** djszapi_ has quit IRC | 07:58 | |
*** Ronksu_ is now known as Ronksu | 08:07 | |
*** smoku1 has joined #harmattan | 08:12 | |
*** trx has quit IRC | 08:17 | |
*** Arkenoi has quit IRC | 08:20 | |
*** denism1 has quit IRC | 08:22 | |
*** GNUtonio has joined #harmattan | 08:23 | |
*** GNUtonio has quit IRC | 08:37 | |
*** xarcass has joined #harmattan | 08:48 | |
*** spenap has joined #harmattan | 08:51 | |
*** smoku1 has left #harmattan | 09:06 | |
*** smoku1 has joined #harmattan | 09:06 | |
*** smoku1 has left #harmattan | 09:29 | |
*** eman has quit IRC | 09:42 | |
*** antman8969 has joined #harmattan | 09:53 | |
*** harbaum has joined #harmattan | 09:56 | |
*** vladest has quit IRC | 10:03 | |
*** Arkenoi has joined #harmattan | 10:05 | |
*** veskuh has joined #harmattan | 10:10 | |
*** veskuh has left #harmattan | 10:10 | |
*** mikhas has joined #harmattan | 10:19 | |
*** Stecchino has joined #harmattan | 10:22 | |
*** Stecchino has joined #harmattan | 10:22 | |
*** rcg has joined #harmattan | 10:47 | |
*** frinring has joined #harmattan | 10:58 | |
*** leinir has joined #harmattan | 11:03 | |
*** Sicelo is now known as Sicelo__ | 11:04 | |
*** Sicelo has joined #harmattan | 11:06 | |
*** rm_code has quit IRC | 11:10 | |
*** lardman has joined #harmattan | 11:17 | |
lardman | morning | 11:18 |
*** Sicelo has quit IRC | 11:19 | |
*** Sicelo has joined #harmattan | 11:20 | |
*** vladest has joined #harmattan | 11:23 | |
*** wazd has joined #harmattan | 11:25 | |
*** antman8969 has quit IRC | 11:27 | |
*** djszapi has joined #harmattan | 11:27 | |
*** seif has joined #harmattan | 11:30 | |
wazd | hi all | 11:31 |
*** Sicelo__ has left #harmattan | 11:31 | |
djszapi | Not sure who, but someone was asking a question related to requesting credentials for an install script. I told that he can request it to <for path="/var/lib/dpkg/info/mypackage.postinst" />, but I realized that it is a better way to do by using the context attribute for the installation/removal phrase. | 11:32 |
xarcass | djszapi: that was me, probably. but i've solved this problem long ago. and there's better way, it's in the documentation: <request context="INSTALL"> | 11:34 |
xarcass | djszapi: oops, haven't read your whole sentence.. | 11:36 |
djszapi | xarcass: yep, actually more people asked it. Do you understand why it is better way ? | 11:36 |
djszapi | or shall I document it more in the next SDK ? | 11:36 |
xarcass | btw, i haven't found a way to remove files without gaining root ownership first | 11:37 |
djszapi | xarcass: remove file in what context ? Do you have a scenario, please ? | 11:37 |
xarcass | djszapi: it would be helpful if there was full list of capabilities that can be requested on the same page. or a link | 11:38 |
djszapi | We did already few weeks ago. | 11:38 |
xarcass | djszapi: i use doc pages from SDK, they are not updated very frequently | 11:38 |
djszapi | but there are 3 different matters, here. Could you please answer the first two first ? | 11:39 |
djszapi | xarcass: SDK is updated when there is a new release, not sync'd up daily. | 11:39 |
djszapi | since till that, it is a moving target. | 11:39 |
xarcass | djszapi: scenario: i have directory which is created by app. there are directories and files in it, which are created also by an app. i wanted to remove this whole directory upon uninstall. i wasn't be able to do this because of permissions. | 11:40 |
djszapi | xarcass: right, as for me, I required dac_override, but I know you cannot do that. Will study it and come back to you. | 11:41 |
djszapi | xarcass: is the context clear for you why that is better ? | 11:41 |
kimju | I'd still like to see a platform documentation with list of all tokens in use in the system as released, what resources those are protecting and if there is limitations in use of those (ie. can a package not coming from official repository ask for those tokens). | 11:43 |
xarcass | djszapi: how i've solved this: i requested cap_chown in manifest, then i chown'ed all this directory contents, then i rm'ed this contents. so, now i have all files removed, but there's only empty directory in the home. I suppose, this is acceptable, but not exactly 'clear'. Not perfect, i'd say. | 11:43 |
djszapi | kimju: that has nothing to do with aegis, that is OVI question. I cannot answer anything about their documentation. We can maximum reference to them | 11:44 |
djszapi | xarcass: yes, that is rather hackish ;) | 11:44 |
kimju | djszapi, that is a harmattan platform question, not ovi store or anything. | 11:44 |
djszapi | kimju: you are wrong, that is OVI question | 11:44 |
kimju | define ovi? | 11:45 |
djszapi | ie. can a package not coming from official repository ask for those tokens -> this has nothing to do with aegis. | 11:45 |
djszapi | the first part, I already answered, see above | 11:45 |
kimju | where? | 11:46 |
djszapi | 11:38 < djszapi> We did already few weeks ago. | 11:46 |
djszapi | We would not really like to confuse people with different stores and their consequences. We can only say that: use OVI. OVI needs to document it the further things since the origin thing happens there anyway. | 11:47 |
djszapi | stores -> sources. | 11:47 |
kimju | Sorry, I don't understand what you are saying. | 11:48 |
djszapi | kimju: well, security provides a platform, right ? | 11:49 |
djszapi | OVI uses the and decides the original policies and so forth, so it is up to really them how they use our platform, we cannot say what our users do. | 11:49 |
* Arkenoi took a look at ovi store. almost impossible to find anything useful by browsing because it is full of useless bookmarks disguised as apps | 11:52 | |
kimju | djszapi, so are you saying that I can't install .debs from anywhere else than ovi store? | 11:52 |
lardman | can I instantiate a QML component which is contained in a string? | 11:53 |
lardman | s/contained/defined | 11:53 |
djszapi | kimju: no, I do not say | 11:54 |
djszapi | xarcass: the solution seems to be very simple for your case: just request UID::user credential for the install context | 11:55 |
djszapi | kimju: but that is obviously the lowest origin source in the OVI store "hiearchy", so it will be documented there. | 11:56 |
djszapi | with all the other levels, it is up to them. That is the target way Nokia tries to achieve anyway. | 11:56 |
kimju | djszapi, ok, so let me rephrase the question: If I package for example bash in obs (or scratchbox) and download the resulting deb into the device. can I install it? what if I ask for CAP::sys_module in manifest, can I still install it and get the capability token granted? | 11:57 |
djszapi | kimju: as said, read the OVI documentation. | 11:58 |
djszapi | we will publish a reference to that for sure from the security guide. | 11:58 |
elpuri | lardman: sure | 11:59 |
djszapi | kimju: Nokia does not care about c-obs, it cares about OVI store, that is | 11:59 |
*** lcuk2 is now known as lcuk | 11:59 | |
*** lcuk has joined #harmattan | 11:59 | |
lardman | elpuri: I need to change a "widget" at runtime, and am not sure whether to supply a QDeclarativeWidget or some QML code from the C++ side; either way I'm not sure how to plumb it in | 11:59 |
lardman | lcuk: morning | 12:00 |
kimju | and I don't care about ovi store, I care what the software platform in the device allows me to do. | 12:00 |
xarcass | djszapi: i was afraid that UID::user in request might break something. I've tried CAP::fowner - without success, surprisingly | 12:00 |
djszapi | kimju: and, no you cannot obviosuly grant sys_module, that is against the whole architecture design from the page zero | 12:00 |
lcuk | morning lardman \o | 12:01 |
lcuk | hey simon, there is an event happening at manchester university about content creation and usability/ux :) | 12:01 |
* lcuk is getting ticket | 12:01 | |
djszapi | xarcass: it does not break anything, that is the idea and design. Feel free to contact me if something breaks. | 12:04 |
elpuri | lardman: is this what you were looking for? http://doc.qt.nokia.com/4.7-snapshot/qdeclarativedynamicobjects.html#creating-an-object-from-a-string-of-qml | 12:04 |
djszapi | kimju: *sigh* | 12:04 |
xarcass | djszapi: thanks, i'll try | 12:04 |
djszapi | kimju: that is what Nokia pushes, period. Not sure why we still discuss it, if you do not accept what Nokia pushes, do not use it :D | 12:04 |
lardman | elpuri: looks promising, thanks :) | 12:04 |
djszapi | kimju: we will obviously not mix up the documentation in 1000 places as a separate snippets, just because of c-obs that is really no goal of nokia. | 12:04 |
djszapi | actually, it is quite against the Nokia wishes. | 12:04 |
elpuri | lardman: look at the qml<->c++ models too | 12:04 |
elpuri | usually models are the best choice | 12:04 |
kimju | djszapi, ok, what other tokens I can't request then? http://www.developer.nokia.com/Community/Wiki/Harmattan:Developer_Library/Developing_for_Harmattan/Harmattan_security/Security_guide#Requesting_POSIX_capabilities documents how to request them, but what I've been asking what the device allows you to request. I don't see how that is related to ovi, it's part of the software platform in the device. | 12:04 |
lardman | elpuri: models as in database models? | 12:04 |
djszapi | kimju: ok, I told it to you more times, I stop it. | 12:04 |
dm8tbr | djszapi: are you referring to documentation currently available only under NDA? | 12:04 |
lardman | lcuk: I'm sat twiddling thumbs waiting for a baby still, only a week and a bit overdue now | 12:04 |
lcuk | lardman, :D fun | 12:05 |
djszapi | dm8tbr: yes, the documentation of the new release (which is a moving target) is obviously not out. | 12:05 |
lcuk | tracy was induced in the end | 12:05 |
lcuk | well waters broke | 12:05 |
lardman | Holly is booked in, but there's time yet.... | 12:05 |
lcuk | indeed | 12:05 |
dm8tbr | djszapi: please keep in mind that this channel has mostly people that did not sign an NDA with nokia and thus all discussion should be kept in mind that this is the baseline level. | 12:06 |
lcuk | do we need to sign NDA to talk about pregnancy now? | 12:06 |
hiemanshu | lcuk: yes sir | 12:07 |
Ronksu | lcuk: not after the first three months :) | 12:07 |
lcuk | :D | 12:07 |
hiemanshu | lcuk: its called the Pre-Delivery NDA, or the PDNDA :P | 12:07 |
djszapi | dm8tbr: not sure what the outcome is of your sentence. Should I explain more what I say because it is hard to understand for people here because it is too depth, or ? | 12:07 |
* lcuk facepalms | 12:07 | |
*** ChanServ sets mode: +o dm8tbr | 12:08 | |
*** dm8tbr changes topic to "A cozy little place for pure harmattan device and development discussions | No discussion that requires NDA please! | Developers check this: http://library.developer.nokia.com/ | http://wiki.meego.com/N950_landing_page | MeeGo N9(|50) CE on its way, MOSLO still missing, discuss in #meego-arm please | logs: http://mg.pov.lt/harmattan-irclog/" | 12:08 | |
hiemanshu | djszapi: its just that most people dont have access to stuff you have, and so writing someone off is not a good idea | 12:08 |
djszapi | hiemanshu: what do you mean by writing someone off ? | 12:08 |
lardman | that can be easily solved by uploading the relevant NDA'd docs of course ;) | 12:08 |
hiemanshu | djszapi: <djszapi> kimju: ok, I told it to you more times, I stop it. | 12:09 |
djszapi | hiemanshu: what is wrong about that sentence ? | 12:09 |
hiemanshu | djszapi: sounds very very rude | 12:09 |
djszapi | I think that is the consequence of not accepting the platform and design. I cannot really say more than I said. Why should I continue ? | 12:09 |
dm8tbr | djszapi: to make this more clear for you: if you say something here. please make sure that you only asume that people have information that is not under NDA. | 12:10 |
djszapi | it seems he did not accept the nokia decisions ? I cannot comment more on that. | 12:10 |
dm8tbr | djszapi: if you need clarification of how to separate such information please contact the relevant Nokia people to arrange a briefing. | 12:10 |
hiemanshu | djszapi: well this isn't the only thing, you did the same to me yesterday as well | 12:10 |
Stskeeps | if anyone is obviously breaching an NDA, be sure to report to corporate security | 12:10 |
kimju | I haven't said that I'm not accepting the platform or Nokia decisions. I'm just trying to understand what that platform allows me to do or not. | 12:11 |
djszapi | dm8tbr: I am not sure why you are telling it to me, I firmly believe I know better what I can say and not. I am the only one actually warned others about it when they told more (for instance the guy with new image flashing question here) | 12:11 |
* Stskeeps returns to his perl build | 12:11 | |
* lardman is interested in a Perl build | 12:12 | |
djszapi | kimju: but I told you so many times. It seems you do not accept it since you are still against that decision. | 12:12 |
kimju | I still think it's a valid question to ask what tokens can be requested by a package not coming from the official repositories. | 12:12 |
lardman | though now I think about it, the app in question uses a GTK+ ui, which is not ideal | 12:12 |
* dm8tbr would be interested in bluetooth python bindings | 12:12 | |
djszapi | kimju: and I already answered that how you can do that, numerous times. | 12:12 |
* Stskeeps would like a pony | 12:12 | |
lardman | lol | 12:12 |
dm8tbr | Stskeeps: for me one steak sandwich please! | 12:12 |
Stskeeps | dm8tbr: damn you, now i have to go out for a steak sandwich | 12:13 |
djszapi | hiemanshu: I provided a feedback to make your software better, you started telling me, it is installed even if it was not. | 12:13 |
Stskeeps | :P | 12:13 |
dm8tbr | but actually I should start consuming the sushi I made myself for lunch :D | 12:13 |
djszapi | hiemanshu: Not sure what I did wrong. | 12:13 |
lardman | only £25? | 12:13 |
lardman | or did you mean a real one? | 12:13 |
djszapi | hiemanshu: I am really happy if a feedback comes into the picture in KDE projects I am involved in. | 12:13 |
* lardman stops with the slang and goes back to QML "goodness" | 12:13 | |
hiemanshu | djszapi: like I said, it works for everyone with an N950, and we cannot do anything until we have newer software | 12:14 |
*** rcg has quit IRC | 12:14 | |
djszapi | hiemanshu: that is fine, but I did not like that when you wanted to know better what I had installed and what not :) | 12:14 |
hiemanshu | djszapi: if you file a buy, I will try to solve it :P | 12:15 |
djszapi | buy lol :D | 12:15 |
hiemanshu | bug* | 12:15 |
lardman | Does the email app work for anyone else? I seem to be unable to send mail, though I can receive it. Anyone know if there's any logging anywhere as the "Error occurred" message isn't overly enlightening? | 12:16 |
*** artemm has joined #harmattan | 12:16 | |
maxw | I see that too, fwiw | 12:16 |
lardman | ok, glad it's not just me | 12:17 |
maxw | I've not tried to solve the problem though. | 12:17 |
djszapi | hiemanshu: actually, you started me asking about this, and I even told you, sorry no because it is NDA :) | 12:17 |
maxw | I had it in mind to remove and add the account again, to see if it made any difference. | 12:17 |
djszapi | and, no I do not think I should report someone (for instance the last Qt guys while trying to ask NDA things here) for the first time. I do think we are mature enough to warn people in private. | 12:18 |
lardman | I've done lots of fiddling with account settings to no avail, I've also tried starting fenix from the command line, but it detached from the term and I've not checked whether it was a shell script or there's some options yet | 12:18 |
hiemanshu | djszapi: like I said if you say you have a problem, I would want to know what it is, you went on to tell me I shouldn't write software using guess work and such | 12:19 |
lardman | The other interesting problem I sometimes see if that the clock has missing digits; usually the 10s of the minutes | 12:19 |
djszapi | hiemanshu: I do not know what problem it is in fact since I do not have time to deal with the software, sorry. I am happy to help with any security issues though. :) | 12:20 |
xarcass | lardman: i've seen the same thing. but only on the 'lock screen' | 12:23 |
hiemanshu | djszapi: so whats the use of pointing out an error when you dont want a solution :P | 12:23 |
hiemanshu | djszapi: which is what pissed me off yesterday | 12:23 |
djszapi | hiemanshu: to know whether it is a trivial issue and can be fixed easily or not. | 12:23 |
lardman | xarcass: when I see it on the lock screen and unlock it also appears on the "system tray" clock | 12:23 |
hiemanshu | djszapi: its a trivial issue, it could be fixed easily if you could tell me just give me the output of the command I asked for, and you said that was under NDA | 12:24 |
*** ajalkane_N950 has joined #harmattan | 12:25 | |
djszapi | hiemanshu: trivial fix as in easy to fix without having a device. | 12:26 |
djszapi | 12:23 < hiemanshu> djszapi: so whats the use of pointing out an error when you dont want a solution :P | 12:27 |
djszapi | 12:23 < hiemanshu> djszapi: which is what pissed me off yesterday | 12:27 |
SpeedEvil | The app runs just fine on a n950 with the publically available image. | 12:27 |
djszapi | it is not really, I do really want a solution and that is why I mentioned to you. However NDA has higher priority than a leisure time irc client ;-) | 12:27 |
hiemanshu | djszapi: NOTFIXING, WORKSFORME, EOF | 12:27 |
*** rcg has joined #harmattan | 12:28 | |
sebas | hiemanshu: you can't really expect djszapi to break his contractual obligations I think | 12:33 |
hiemanshu | sebas: I am not expecting him to do that, a simple doesn't work for me, and I cannot help you without a issue because I have an NDA to follow would have been good enough | 12:33 |
sebas | I understood djszapi as such | 12:34 |
sebas | maybe you should assume positive | 12:35 |
w00t_ | sebas: you might have missed the part of the conversation yesterday when he was telling hiemanshu to not write software by guesswork, etc :) | 12:35 |
sebas | yep, I missed that part | 12:36 |
djszapi | w00t_: What I meant with that, it possibly expect a hard coded option. Sorry for not being clear and it could be misunderstood | 12:36 |
djszapi | but the problem seems to be that it expects a "guess" which is not working on this device. | 12:36 |
djszapi | guess as in hard coded (either dependency missing, or hard coded path somewhere). | 12:37 |
hiemanshu | djszapi: like I said, it worked perfectly for everyone who tested it on a N950, and I cannot *guess* what the N9 has and doesn't | 12:40 |
djszapi | yep, exactly that is why it is important to mention every dependencies, not using hard coded paths, set the proper paths (either in the build system or somewhere else). | 12:41 |
sebas | maybe file a bug about this, then at least someone powerful enough can look at it and decide wether or not to give out this information, or fix it? | 12:41 |
hiemanshu | djszapi: it is mentioned, and there is no hard coded paths | 12:42 |
hiemanshu | we have 'import com.meego.extras' which doesn't work for you | 12:42 |
hiemanshu | its not a hard coded path, and its a part of the qt-components package, atleast on the N950 | 12:42 |
Sput | hmm. is there a way to execute a binary on the device using Madde, without having to package it as a .deb? I tried using the mad remote send which put the binary in developer's home directory, but I don't seem to be able to execute that neither using mad remote run nor directly on the shell | 12:42 |
dm8tbr | hiemanshu: to briefly touch on your previous statement: actually most NDAs I've seen are worded that you are not even supposed to mention that you are bound by it. So a simple 'I'm sorry but I can't answer that' or simply not engaging in conversation that might bring up such a question are good strategies. | 12:42 |
Sput | I guess I have to add permissions somehow, but I have no idea how :) | 12:43 |
Sput | "the device" being the N950 | 12:43 |
djszapi | hiemanshu: yep, but it does not hurt to ask whether it is general issue about hard coding and can be fixed without device, I guess. | 12:43 |
hiemanshu | djszapi: I said no, and you said 'dont write software using guess work' | 12:44 |
djszapi | reading back the log, it seems you realized it later, it is not hard coded. | 12:44 |
djszapi | and you told it after I said whether there is any guess work. | 12:45 |
hiemanshu | I know it is not hard coded, its a part of the qt-components package | 12:45 |
djszapi | yep, but I did not know who never dealt with that package ;-) | 12:45 |
radiofree | is it com.meego.extras? | 12:47 |
radiofree | not com.nokia.extras? | 12:47 |
hiemanshu | we used com.meego.extras yes | 12:48 |
radiofree | interesting | 12:48 |
hiemanshu | <djszapi> hiemanshu: you should really not make a software with guess-works, seriously. <-- from the logs | 12:49 |
djszapi | I still stick by, there is a guess work there, and I am sorry if it cannot be covered what exactly because of the NDA. | 12:50 |
ajalkane_N950 | com.meego.extras is wrong maybe, git has com.nokia.extras in examples | 12:50 |
djszapi | that guess work ^ | 12:50 |
radiofree | yes, for me qt-components is com.nokia.extras | 12:50 |
*** MohammadAG has quit IRC | 12:51 | |
hiemanshu | ajalkane_N950: like I said the one we have on N950 works for us | 12:52 |
ajalkane_N950 | I know, I'm using it. But seems N9 has newer version with different import | 12:53 |
hiemanshu | ajalkane_N950: yeah, and my psychic power has gone for a toss to guess that | 12:54 |
ajalkane_N950 | I use extras too, I think the nokia one | 12:54 |
ajalkane_N950 | hiemanshu, I'm just guessing, not commenting on the argument between you and djszapi. | 12:55 |
hiemanshu | ajalkane_N950: no guess-work is welcome here | 12:56 |
* hiemanshu runs | 12:56 | |
* hiemanshu ---> $dayjob | 12:56 | |
ajalkane_N950 | I like guessing. | 12:57 |
DocScrutinizer | djszapi: don't you think your way to put things is rather antagonizing? It's commonly perceived as rude and not exactly helpful. Please try to reconsider the way you participate in this channel. I suggest you also have a short glance at http://freenode.net/channel_guidelines.shtml just in case there might be some generic ideas about concepts I personally love to reread every once in a while | 12:58 |
ajalkane_N950 | Like, I once guessed lottery numbers. Exciting | 12:58 |
* xarcass uses com.meego.extras all the time and it works on two N950 with different fw versions | 12:59 | |
djszapi | DocScrutinizer: mmm, I have never said such things that I heard here about aegis (mainly when it is just a lack of understanding, it does not make a good atmosphere, to say "fuck", "shit" aegis and others as so many people do from the beginning). | 13:01 |
DocScrutinizer | djszapi: and (if I didn't get this part wrong in speedreading backscroll) your claim you can't utter simple "com.meego.extras is wrong maybe, git has com.nokia.extras in examples" as you're under an NDA is mere ridiculous | 13:01 |
djszapi | DocScrutinizer: I had no idea about this issue. I have been asked by providing outputs from the device. | 13:02 |
*** Kaadlajk has quit IRC | 13:03 | |
djszapi | DocScrutinizer: imagine the situation from my point of view. I am trying to help the community to get into the aegis usage better, and I just read from hours to hours, "fuck aegis(TM)". What do you think I feel after 20-30 situations like that ? | 13:03 |
DocScrutinizer | I don't want to go into doing actual statistics, but my perception of this channel is it's a lot of bitching about how we _say_ things most of the time, rather than a cooperative solving of problems | 13:04 |
*** Kaadlajk has joined #harmattan | 13:04 | |
djszapi | DocScrutinizer: Yep, I think I answered all the aegis questions heretofore. I do not see any unresolved issue. | 13:05 |
djszapi | That is why it is a bit frustrating to me to read "fuck aegis(TM)" from the day first, when I try to help about it. | 13:05 |
* hiemanshu sets a timer, PM djszapi every 30 seconds with 'Aegis - It just *doesn't* work (TM)' | 13:07 | |
DocScrutinizer | sorry about that, but that's the often rude harsh tone in FOSS community, and esp on IRC. Better just ignore it, or get a receive-regex substituting each "fuck aegis" to "I'm frustrated as I don't get this aegis thing right" | 13:07 |
xarcass | djszapi: btw, requesting UID::user don't work - permission denied. so i'll stick to CAP::chown & chown & rm solution for now | 13:07 |
djszapi | See ? | 13:07 |
hiemanshu | djszapi: I being funny :P | 13:07 |
hiemanshu | I am* | 13:07 |
flux | maybe the community feels like they are being force-fed something they would rather have the option of opting out. | 13:07 |
djszapi | DocScrutinizer: sure, it can be avoided 1-2 times, but not after reading it continously 20-30 times :( | 13:08 |
hiemanshu | djszapi: thats your problem for having a very low threshold | 13:08 |
djszapi | flux: but that is not the case, so we need to solve the problem, not thinking of that which is not the current situation. | 13:08 |
hiemanshu | its 30 people now, if there were say 5k devs in here, it would be 300 times | 13:08 |
DocScrutinizer | djszapi: then I'm sorry to say I don't see any other way for you to keep your mental sanity than just leave this channel alone. A pity but probably the only way, as you won't change the wording here | 13:09 |
hiemanshu | if you have a problem with 1, you speak to the chanops, if you have a problem with a million, you just leave :) | 13:09 |
DocScrutinizer | djszapi: nobody likes aegis, and there will always be devels that express this feeling in a XXX way | 13:10 |
mikhas | I like AEGIS. | 13:12 |
djszapi | Mmm, leaving or a very strong vest, true. | 13:12 |
DocScrutinizer | we can tighten general rules about proper speech in IRC, to make everybody use "f*** aegis" instead of using XXX words. In the end it won't change anything, though I'd be willing to go into this tedious duty to enforce worksafe speech in this chan | 13:12 |
mikhas | Without it, you folks here wouldnt have anything to talk about. | 13:12 |
hiemanshu | mikhas: do you want to talk about your issues? | 13:12 |
hiemanshu | mikhas: I would offer a free health checkup | 13:12 |
*** ajalkane_N950 has quit IRC | 13:13 | |
djszapi | DocScrutinizer: thing is that you cannot avoid the security nowadays, and that is really a good gesture. We implemented a very similar (almost the same from the third party developer pov) on meego, so you will not like it either. | 13:14 |
DocScrutinizer | mikhas: the problem as generally percieved is there's way too much talking about aegis, and be assured we had just enough to talk about when aegis would just vanish | 13:14 |
djszapi | However I agree with you, I should put on a very strong vest or leave. That is really the two options. | 13:14 |
radiofree | djszapi: you've done the same to meego?! | 13:16 |
djszapi | xarcass: if the directory is owned by the user, it works. I tested it here. | 13:16 |
djszapi | radiofree: from third party developer pov, it is almost the same, yes. | 13:17 |
Arkenoi | mikhas, you love aegis so much that you want to f**k it! | 13:17 |
*** razvanpetru has joined #harmattan | 13:17 | |
mikhas | Arkenoi, I'd put a ring on it. | 13:17 |
DocScrutinizer | djszapi: (thing is that you cannot avoid the security nowadays...) that's your POV, others may feel completely different about it. You won't convince them the way you defend aegis here, as that decision had to get discussed on a way more abstract level of platform concepts and product targets | 13:17 |
Stskeeps | yes, my statement about fuck aegis is that i want to erm, make sweet love to it | 13:17 |
Stskeeps | ;) | 13:17 |
razvanpetru | I like aegis!! | 13:17 |
xarcass | djszapi: yes it is user:users and it doesn't work. on two devices with different versions of fw. it's right in /home/user directory | 13:17 |
radiofree | from a user point of view, aegis makes sense | 13:17 |
razvanpetru | in fact it needs more permissions... | 13:18 |
Arkenoi | radiofree, how? | 13:18 |
radiofree | i wish i could completely disable it on my device though, from a developer point of view | 13:18 |
w00t_ | Stskeeps: i don't think "penetrate it with a 30ft post" is the same as "make sweet love to it" | 13:18 |
Stskeeps | w00t_: to me it does! | 13:18 |
w00t_ | though i guess in so.. | 13:18 |
w00t_ | ok, beat me to it | 13:18 |
djszapi | xarcass: the only guess is the old image then since it works here. | 13:18 |
* w00t_ facepalms gently | 13:18 | |
mikhas | The one thing to realize and accept: AEGIS won't go away for MeeGo Harmattan, it'll stay. | 13:18 |
radiofree | Arkenoi: it does a decent job of preventing applications from doing what they are not supposed to do | 13:18 |
mikhas | No amount of water running down the Niagara falls, or similarly, the amount of talk here, will change that. | 13:19 |
Arkenoi | could be useful if platform was just a bit more widespread. as it is not, it is just pure annoyance | 13:19 |
Arkenoi | also, there is no decent user controlled capability management process to make it useful | 13:19 |
radiofree | its a pure annoyance to a developer | 13:19 |
DocScrutinizer | mikhas: I tend to agree on that one | 13:20 |
mikhas | So is manual memory management. | 13:20 |
mikhas | Or debugging without debug symbols or sources. | 13:20 |
mikhas | If you get easily annoyed as a dev, it's time to change careers. | 13:20 |
mikhas | It won't get better! | 13:20 |
DocScrutinizer | mikhas: we almost all don't have a career on HARM/meego. And I for one am fine with my options to choose which platform to use for development. It's not an aegis-infested platform | 13:22 |
mikhas | Yes, please exert that freedom of choice. | 13:22 |
*** ajalkane_N950 has joined #harmattan | 13:22 | |
DocScrutinizer | I already did and stopped all work on harmattan development | 13:22 |
djszapi | What I have never understood is that, here is the platform. People got free devices. If they do not like how the platform was designed, they are not obligated to use it. Summary: if you work in a project, why not cooperating nicely after accepting the platform principles instead of continously developing for a platform where you do not accept the principal architecture design ? | 13:23 |
DocScrutinizer | err I guess this explicitly does not apply to me? | 13:24 |
Sicelo | 0_o really DocScrutinizer ? | 13:24 |
DocScrutinizer | Sicelo: yes. I *hate* the platform concept with regard to aegis/security, and I'm not excited about N9 either. So what would me make invest my time into it | 13:25 |
DocScrutinizer | I just keep this aegis-coffin they sent to me as I hope there's some better platform without aegis available soon, which deserves my attention | 13:26 |
*** M4rtinK has joined #harmattan | 13:26 | |
mikhas | DocScrutinizer, in case you got a N950: I suspect ending all H work means you'll hand it over to another developer? | 13:26 |
Sicelo | lol, coffin. yay! | 13:26 |
djszapi | I have mentioned previously Harmattan and MeeGo. From what I can say, Android tries to replicate aegis design principles nowadays, they also go into that direction. It is just heavily needed to provide security for the mobile phone users nowadays. It is not the Windows security way, I know. Nothing comes freely, you need to work a bit with it, but after a good documentation, it should not be hard. | 13:26 |
SpeedEvil | A device you're expected to develop on without pay is not free. | 13:26 |
flux | djszapi, I think people are annoyed that developers don't have a loophole for the security system. in other words, they must work at a further level from the core system than the manufacturer. | 13:27 |
flux | the security system per se seems quite interesting to me | 13:27 |
hiemanshu | djszapi: have you ever written SELinux policies? | 13:28 |
DocScrutinizer | flux: indeed | 13:28 |
hiemanshu | the thumb rule says 'Test your app without SELinux, see if it works on the platform just fine, then enable SELinux and add the security stuff needed' | 13:28 |
hiemanshu | and aegis doesn't let you do that | 13:29 |
djszapi | hiemanshu: I am really sorry, but I would not like to discuss SELinux right now because that would be a very deep and long conversation during the work hours. All the feedback can be founded on the linux kernel mailing list I pasted few weeks ago more times. I agree about that what is written over there by Linus Towards and other security experts, if you are interested in our opinion. | 13:29 |
DocScrutinizer | hiemanshu: which is the SOP I suggested from beginning and thought was what "developer mode" is all about | 13:29 |
Sput | I'd just like to be able to deploy and run a binary for testing purposes, without having to build a full package first :/ | 13:30 |
hiemanshu | see ^ | 13:30 |
hiemanshu | DocScrutinizer: exactly my point about aegis | 13:30 |
hiemanshu | its not the security platform that I am sick of, its the implementation | 13:30 |
Sput | especially since building a package takes much longer than remaking the binary | 13:30 |
hiemanshu | users dont blame implementations, they blame platforms | 13:31 |
DocScrutinizer | djszapi: the problem is "you security experts" (I honestly doubt Linus would attribute himself as such) seem to be pretty ignorant about "us developers" | 13:31 |
hiemanshu | djszapi: and I have been studying security since I was 15, so I know my stuff | 13:31 |
hiemanshu | dev mode != production mode, which is why dev mode has a lot of rules relaxed for you | 13:32 |
DocScrutinizer | and now I'm out again, as - stated correctly before - NOTHING will change for aegis neither on N950 nor on N9 or HARM in general | 13:32 |
SpeedEvil | djszapi: Can aegis be used for user security? Is it possible to for example require (in principle) a passphrase from the user before decrypting the aegisfs? | 13:33 |
djszapi | aegis and smack are used for user security. | 13:34 |
SpeedEvil | Are there docs on this side of the implementation - I haven't found any. | 13:35 |
djszapi | also the coming android security which replicates aegis more and more. | 13:35 |
DocScrutinizer | and djszapi won't talk aegis beautiful for the majority of devels that are just annoyed by it, esp by the fact they have to cope with it even in developer mode on a DEVELOPER DEVICE (as is printed in all capitals on back of N950) | 13:36 |
*** baraujo has joined #harmattan | 13:36 | |
djszapi | DocScrutinizer: I am seriously not getting what you are talking about...It is like saying to git, solve my merge conflict automatically since it is an issue for me. | 13:37 |
djszapi | simple cases can be "autogenerated" (ie.: aegis-manifest-dev), but custom cases obviously cannot. | 13:37 |
*** willer_ has joined #harmattan | 13:38 | |
djszapi | to be quiet honest: I ported Gluon with all its games to Harmattan without any security issue. It is a complete game development and distribution platform, and I had zero security issue. | 13:38 |
djszapi | quite* | 13:39 |
DocScrutinizer | djszapi: if the above sentence was maybe too screwed to not get lost in translation, here's a second try: You ( djszapi ) like aegis, some of us don't. And there's nothing that will change this discrepancy | 13:39 |
djszapi | if there is a custom case (ie.: like merging conflicts in case git, which cannot be automated by a tool), it obviously needs custom developer configuration. | 13:39 |
DocScrutinizer | and I'm out now for good (again) | 13:40 |
djszapi | "You ( djszapi ) like aegis, some of us don't. And there's nothing that will change this discrepancy" -> I do not like meego as a project, but I do not say every day like I got for aegis. | 13:40 |
djszapi | so it is a very sad conclusion. | 13:40 |
Sput | djszapi: so far I fail to simply execute a binary on the device using Madde, which is supposed to be the official deployment env. is it possible to change that somehow? | 13:41 |
djszapi | Sput: I can help later today, I need to get back to work. :) | 13:42 |
*** djszapi has left #harmattan | 13:42 | |
hiemanshu | Sput: wait let me find you a link | 13:42 |
hiemanshu | Sput: http://forum.meego.com/showthread.php?t=4000 | 13:44 |
Sput | thanks, but I don't think that's the issue... I can't use Qt Creator because the project is cmake-based, I tried using mad remote run though, but I get permission denied | 13:45 |
Sput | (+x is set on the binary, so it's probably some security policy) | 13:45 |
hiemanshu | Sput: devel-su; develsh; /usr/sbin/aegis-developer-mode --relaxed-exec <binary> | 13:46 |
hiemanshu | and you can still use Qt Creator even with cmake | 13:46 |
Sput | ah ok, will try that later when I'm in front of the SDK again | 13:46 |
Sput | hiemanshu: yes I can, but Creator misses all the device and deployment options | 13:46 |
Sput | (which is somewhat stupid, as that stuff shouldn't be buildsys specific) | 13:47 |
Sput | so I use Creator for editing the project, but I have to resort to mad in order to deploy and run on the device | 13:47 |
hiemanshu | ah yeah, makes sense | 13:47 |
Sput | I really really hope they add the deployment and on-device debugging stuff for cmake-based projects at some point :/ | 13:49 |
*** ajalkane_N950 has quit IRC | 13:56 | |
Arkenoi | I *am* security experts with about 20 years of field experience, and i say: aegis sucks! | 13:57 |
Arkenoi | expert, even | 13:57 |
*** lardman has quit IRC | 14:01 | |
dm8tbr | it's sure a pain in the neck | 14:02 |
dm8tbr | it sucks enough to make people want to remove it. so in the end hopefully things will be good | 14:03 |
Arkenoi | it is yet unknown if we really lose any functionality in the open mode. apparently not. | 14:04 |
Arkenoi | (any vital functionality) | 14:04 |
Arkenoi | i do not care about DRM-protected video and other useless stuff | 14:05 |
dm8tbr | there is no drm afaict :) | 14:05 |
*** jykae has joined #harmattan | 14:05 | |
jykae | is there fixed version of landscape enabler for n950 around somewhere? | 14:07 |
Arkenoi | as for capabilities based security is it exactly as good as capabilities management system you have. selinux is slightly better than nothing. the one we have at symbian is way worse than nothing. at the moment aegis behaves worse than selinux but better than symbian (at least we can control it), but is unpredictable, changes from version to version and all that NDA stuff is pure nonsense, so now it is worse than nothing as well | 14:09 |
Arkenoi | also think "qui prodest" | 14:11 |
Arkenoi | selinux was made for users | 14:12 |
Arkenoi | symbian capabilities system was made for symbian foundation | 14:12 |
Arkenoi | aegis was made for "IP owners" and network operators | 14:12 |
Arkenoi | anything that was not made for users is worse than nothing for users | 14:13 |
Arkenoi | jykae: all existing ones basically patch the same config files | 14:13 |
Arkenoi | so if it is that ugly, it still is | 14:14 |
*** eman has joined #harmattan | 14:14 | |
dm8tbr | Arkenoi: I agree I guess | 14:15 |
* DocScrutinizer too | 14:17 | |
ajalkane_ | But Aegis can be disabled by installing custom kernel if I've understood correctly? | 14:21 |
Arkenoi | at the moment we do not have fully functional replacement kernel, right? | 14:23 |
*** cpscotti has joined #harmattan | 14:24 | |
ajalkane_ | I haven't heard about one, but I expect it won't take long once the devices come on sale | 14:25 |
*** vladest has quit IRC | 14:27 | |
SpeedEvil | Aegis can be disabled - however it seems likely that maps and drive stop working. | 14:30 |
SpeedEvil | Which is unfortunate, as those are two quite nice apps. | 14:30 |
SpeedEvil | I'm basing this on the fact that there seems to be some aegis oddness going on with my device that means it can't login to nokia accounts. | 14:31 |
SpeedEvil | Maps sort-of-works in this state, as it has a bug. | 14:31 |
Arkenoi | SpeedEvil, does it interact with nokia any different way than other nokia devices? | 14:31 |
DocScrutinizer | reasonable assumption, as maps and drive need a nokia account | 14:31 |
SpeedEvil | Arkenoi: It requires a nokia account to run drive and maps. | 14:32 |
SpeedEvil | If you don't have one, it simply does not work. | 14:32 |
*** Reffy has joined #harmattan | 14:32 | |
SpeedEvil | (well, maps works, as it has a bug where if you switch back to the maps witndow, and tap it randomly a few doxen times, it unlocks) | 14:32 |
DocScrutinizer | LOL | 14:32 |
Arkenoi | SpeedEvil, well, i have my login and password, why cannot it work without aegis? | 14:33 |
SpeedEvil | Another interesting question is if you have a working nokia account on the phone, have the maps downloaded to the phone (you can do this), then does if you need to reboot the phone, it stay logged in> | 14:33 |
SpeedEvil | Because if it doesn't, and if you're in an area without net service, you're screwed. | 14:33 |
rzr | talking about nokia account ? | 14:34 |
SpeedEvil | yes | 14:34 |
rzr | mine used to work , but not last time i tried | 14:34 |
SpeedEvil | Unless maps only requires the account on frst startup, which is not implausible. | 14:34 |
rzr | i can check again hold on | 14:34 |
SpeedEvil | So the possibilities I guess are that a kernel with aegis disabled means maps never works. Or it could mean that maps only works if you start it at least once with the aegis kernel. | 14:35 |
rzr | semms my nok account is working again | 14:36 |
SpeedEvil | Or aegis could download some sort of security credential which in normal operation it would store meaning it does not need to access the net ever agai, but with aegis-kernelspace out of the picture it won't do that. | 14:36 |
ajalkane_ | umm, sounds annoying. Losing maps would suck. | 14:37 |
SpeedEvil | Or aegis being involved with the maps and accounts could be a bug to be resolved in the release images. | 14:37 |
SpeedEvil | I guess only one way to find out. | 14:37 |
*** artemm has quit IRC | 14:41 | |
*** Reffy has quit IRC | 14:47 | |
*** Reffy has joined #harmattan | 14:49 | |
*** jykae_n950 has joined #harmattan | 14:49 | |
*** lardman has joined #harmattan | 14:54 | |
*** trx has joined #harmattan | 14:54 | |
*** jkt has joined #harmattan | 14:56 | |
*** Khertan has joined #harmattan | 14:56 | |
Khertan | Morning | 14:56 |
rzr | evening Kaadlajk | 14:57 |
rzr | Khertan: | 14:57 |
Khertan | failed | 14:57 |
Khertan | :) | 14:57 |
Khertan | 'lu rzr | 14:57 |
* rzr is trying to dl some maps | 14:58 | |
rzr | using the CLI way | 14:58 |
Khertan | gnié ? maps from maps ? why not downloading them using the gui ? | 14:58 |
Khertan | works well :) | 14:58 |
*** BrettQ has quit IRC | 15:00 | |
*** ChanServ sets mode: -o dm8tbr | 15:04 | |
Termana | morning | 15:17 |
razvanpetru | MouseAreas work even if they're obscured by a Sheet? | 15:20 |
xarcass | razvanpetru: yes. they don't react only if they're obscured by another MouseAreas | 15:22 |
razvanpetru | that's rather unfortunate... :) | 15:24 |
razvanpetru | any workaround? | 15:24 |
Khertan | opacity:0 ? | 15:25 |
Khertan | forgot ... a MouseArea didn't have opacity | 15:25 |
Khertan | :) | 15:25 |
w00t_ | razvanpetru: put a MouseArea on your sheet obscuring the other MouseArea | 15:26 |
elpuri | it does | 15:26 |
razvanpetru | but then... my sheet buttons can't be clicked I guess? | 15:26 |
Khertan | huhu :) | 15:26 |
elpuri | MouseArea i mean | 15:26 |
w00t_ | *on* the sheet | 15:26 |
razvanpetru | Khertan: enabled should also work | 15:26 |
elpuri | it inherits Item | 15:26 |
Khertan | yep would be better | 15:26 |
Khertan | :) | 15:26 |
elpuri | setting opactiy to 0 disables it | 15:26 |
w00t_ | as in, behind your buttons | 15:26 |
w00t_ | the button MouseArea will be in front of it, so they will still work | 15:27 |
razvanpetru | behind as in declared earlier in qml, with lower z, or other? :) | 15:27 |
Khertan | elpuri: true | 15:27 |
razvanpetru | w00t: by sheet buttons I don't mean the two at the top, I have some buttons inside the sheet. I will try a few things and see how this works if I add another MouseArea | 15:28 |
xarcass | razvanpetru: sheet button are not in the 'content' item | 15:29 |
razvanpetru | xarcass - true | 15:29 |
*** jykae_n950 has quit IRC | 15:29 | |
Khertan | pffff i m tired to change password everywhere due to using only 5 or 6 differents password | 15:30 |
xarcass | razvanpetru: so, i've declared MouseArea which does nothing with anchors.fill: parent at the top of content item: that solves the issue | 15:30 |
Khertan | and one site have security breaks | 15:30 |
Khertan | and can't retain all different password by site | 15:30 |
Khertan | hum ... | 15:30 |
Khertan | what did you think of using the first 12 char of the result of a md5 of a concatenation of a master password and the domain name of a site | 15:31 |
Khertan | so one pass for all ... but different for all | 15:31 |
Khertan | ? | 15:31 |
DocScrutinizer | sounds good | 15:31 |
razvanpetru | this is a prolbem in qml... because let's say that I design a component that contains a MouseArea | 15:32 |
Khertan | md5 representation can be something else than an hex representation :) | 15:32 |
razvanpetru | now I'm forcing everyone using that component to use MouseAreas when displaying things on top of it | 15:32 |
razvanpetru | and I just wanted a clickable TextField :) | 15:33 |
DocScrutinizer | razvanpetru: indeed | 15:34 |
razvanpetru | can I tell if an Item is obscured by another? I could bind MouseArea.enabled to something like that... | 15:34 |
DocScrutinizer | that's a genuine duty of your widget set | 15:35 |
razvanpetru | :D | 15:35 |
*** zarlino has joined #harmattan | 15:35 | |
DocScrutinizer | razvanpetru: otoh think about me planning toplce textures ob the mouseAreas of your widget - I'd *want* them to still work | 15:36 |
*** seif has quit IRC | 15:36 | |
DocScrutinizer | to place* | 15:36 |
*** seif has joined #harmattan | 15:37 | |
*** artemm has joined #harmattan | 15:37 | |
razvanpetru | well they would still be visible... or do you want them to be clickable? | 15:37 |
razvanpetru | I'm working on date picker | 15:37 |
DocScrutinizer | ?o/ | 15:37 |
razvanpetru | it's just a textedit that shows a date picker dialog | 15:37 |
DocScrutinizer | meh | 15:37 |
DocScrutinizer | \o/ | 15:38 |
razvanpetru | don't know why this was not included by default | 15:38 |
razvanpetru | same with combo boxes | 15:38 |
DocScrutinizer | I think qml has got that unbearable slotmachine datepicker | 15:40 |
razvanpetru | it does... | 15:40 |
DocScrutinizer | there's a bug ticket of me lingering around at nokia's tracker about that | 15:40 |
xarcass | razvanpetru: what about so called 'Tumblers'? they are included | 15:40 |
razvanpetru | xarcass - yes, but those are only part of the date picker | 15:41 |
razvanpetru | the part that shows the date on screen is missing | 15:41 |
razvanpetru | for instance in ios you have a date edit and when you click that you get the tumbler | 15:41 |
razvanpetru | which makes sense actually... | 15:41 |
DocScrutinizer | what are tumblers? (except they are used to dry my clothes) | 15:41 |
Khertan | razvanpetru: and a fileselector .... hum ? | 15:41 |
Khertan | everyone is writing is own fileselector | 15:42 |
Khertan | so it ll be different on all apps and will be disapointing for users | 15:42 |
DocScrutinizer | indeed | 15:42 |
razvanpetru | oh yeah :D | 15:42 |
xarcass | razvanpetru: we are using, apparently, different kinds of tumblers. i can see date clearly | 15:42 |
DocScrutinizer | highly annoying | 15:42 |
*** zarlino has quit IRC | 15:42 | |
razvanpetru | xarcass... but can you add those tumblers to a form | 15:42 |
razvanpetru | e.g name, last name, *date* | 15:43 |
Khertan | https://bugreports.qt.nokia.com//browse/QTBUG-13007?focusedCommentId=137123#comment-137123 | 15:43 |
DocScrutinizer | well, the gods of meego HARM UX (aka GUI designers) have decided you don't need to expose any file system to HARM endusers | 15:43 |
Khertan | hihi ... haha ... | 15:44 |
Khertan | mouarf ... | 15:44 |
xarcass | razvanpetru: have a look at "QMLComp..." app - it's done there (i don't know how this app is called properly - that's what is shown) | 15:44 |
DocScrutinizer | probably they thought if apple is failing on that concept, it's a challenge Nokia gets it right | 15:44 |
Khertan | DocScrutinizer: yeah but if users want a iphone they bought a iphone | 15:44 |
Khertan | if they want something else ... they "could" buy nokia | 15:45 |
DocScrutinizer | exactly :-D | 15:45 |
DocScrutinizer | only if N9 wasn't just another me-too-iPhone-lookalike | 15:45 |
razvanpetru | what's the point in exposing the file system? 99% of users dont care about filesystem | 15:45 |
Khertan | at least they could by a iphone clone if it was selled 50$ | 15:45 |
razvanpetru | n9 is definitely borrowing elements from iphone | 15:46 |
Khertan | razvanpetru: oh really ? | 15:46 |
razvanpetru | but the cool thing is that you CAN write a filesystem browser | 15:46 |
razvanpetru | this is the big difference | 15:46 |
razvanpetru | yeah really :) | 15:46 |
Khertan | razvanpetru: yep ... but you loose the plateforms look and style | 15:46 |
razvanpetru | the text magnifiying glass | 15:46 |
Khertan | as every apps will look different | 15:46 |
razvanpetru | I'm sorry they didn't borrow the text copy/paste | 15:47 |
razvanpetru | go all in, so to say :> | 15:47 |
Khertan | copy/paste ? there is that in harmattan ? | 15:47 |
Khertan | did see it working | 15:47 |
DocScrutinizer | no, the big difference is fremantle already *had* a fileselector widget, and even MTF had nice usefull date- and time-pickers | 15:47 |
Khertan | didn't see it working | 15:47 |
Hq` | there is | 15:47 |
Khertan | yep the concept is here ... but currently missing | 15:48 |
Khertan | try webbrowser or terminal .... or ... contacts :) | 15:48 |
Khertan | (on contacts it can works sometimes) | 15:48 |
razvanpetru | yeah, it's worse than ios, that's for sure | 15:49 |
Hq` | maybe it's broken on the public image then... | 15:49 |
jkt | hi there; I'm struggling to get my N950 nnect to the Eduroam network. Any idea about how to convert these settings http://paste2.org/p/1604448 from wpa_supplicant into that connection UI? | 15:50 |
jkt | and maybe a related question, in the settings dialog with certificates, when I click on "add certificate", the GUI says "no certificate", so what do I have to do in order to actually import one? Where to store it? | 15:51 |
*** ajalkane_N950 has joined #harmattan | 15:52 | |
*** fiferboy has joined #harmattan | 15:52 | |
razvanpetru | the sheet MouseArea blocks the buttons from working also... | 15:53 |
razvanpetru | Sheet > ListView > Delegate > Button. MouseArea fills the ListView and buttons stopped working | 15:54 |
razvanpetru | but at least I can't click through the sheet now \o/ | 15:55 |
razvanpetru | maybe I need to add more MouseAreas... | 15:56 |
razvanpetru | MouseAreas are like violence | 15:56 |
*** fiferboy has quit IRC | 15:57 | |
xarcass | MouseArea should be *behind* the listview | 15:59 |
razvanpetru | Thanks xarcass, it worked now | 16:02 |
razvanpetru | but... isn't the list delegate "in front" of the list view? | 16:02 |
jykae | anyone knows how I get my mpoker app to my-meego.com? | 16:06 |
*** xarcass has quit IRC | 16:08 | |
jykae | to gain visibility for it | 16:08 |
*** crevetor has joined #harmattan | 16:11 | |
*** ajalkane_N950 has quit IRC | 16:12 | |
jykae | hmm, ok, sent contact mail. | 16:12 |
jykae | who is running that site btw? | 16:13 |
*** NIN101 has joined #harmattan | 16:14 | |
*** fiferboy has joined #harmattan | 16:15 | |
DocScrutinizer | jkt: good question | 16:15 |
jkt | DocScrutinizer: yeah :). any ideas? | 16:16 |
DocScrutinizer | jkt: WLAN login failed for me on a rather standard WPA2 infrastrucure AP yesterday. I pulled out my N900 and connected with no problems... :-S | 16:16 |
DocScrutinizer | so no, alas no idea at all, just saying it's a really good set of questions | 16:18 |
jkt | DocScrutinizer: frankly, I don't know what the difference between PEAP, MSCHAP, TKIP and what not is; just saying that it is weird | 16:18 |
jkt | https://bugs.maemo.org/show_bug.cgi?id=417 is a bit scary, though | 16:18 |
povbot | Bug 417: Support WEP with 802.1x EAP PEAP | 16:18 |
MeeGoBot | Bug https://bugs.meego.com/show_bug.cgi?id=417 nor, Medium, ---, yong.y.wang, VERI INVALID, please enable the CONFIG_RT2860 option in the kernel | 16:18 |
Arkenoi | PEAP/MSCHAP did not work for me | 16:18 |
Arkenoi | neither with WEP nor with WPA | 16:18 |
Arkenoi | n900 worked ok with WPA | 16:18 |
DocScrutinizer | jkt: I had to look it up in wikipedia as well ;-D | 16:18 |
*** eman has quit IRC | 16:18 | |
jkt | Arkenoi: do you happen to know how to find out what methods the AP/radius infrastructure supports? | 16:19 |
jkt | the staffers here are not really helpful, saying "it's AES" | 16:19 |
jkt | I do have a linux notebook where I can use various standard tools, though | 16:19 |
*** fiferboy has quit IRC | 16:19 | |
Arkenoi | jkt: dunno :-( just try to guess | 16:20 |
DocScrutinizer | VERI INVALID? X-D | 16:20 |
*** thp_ has quit IRC | 16:21 | |
*** thp has joined #harmattan | 16:21 | |
DocScrutinizer | jkt: http://en.wikipedia.org/wiki/Wi-Fi_Protected_Access has a few explanations, at least of equivalent terms | 16:29 |
DocScrutinizer | e.g. >>CCMP: An AES-based encryption mechanism that is stronger than TKIP. Sometimes referred to as AES instead of CCMP. Used by WPA2.<< | 16:30 |
*** fiferboy has joined #harmattan | 16:30 | |
DocScrutinizer | jkt: maybe also http://en.wikipedia.org/wiki/Eduroam helps | 16:32 |
DocScrutinizer | My spidersenses tell me the "@realm" part will often give users headache due to the @ character | 16:34 |
*** javispedro has joined #harmattan | 16:36 | |
*** lizardo has joined #harmattan | 16:39 | |
DocScrutinizer | javispedro: moo | 16:39 |
javispedro | moo. | 16:39 |
*** fiferboy has quit IRC | 16:39 | |
seif | anything new abut new images | 16:42 |
seif | :) | 16:42 |
*** wazd has quit IRC | 16:45 | |
*** wazd has joined #harmattan | 16:45 | |
* DocScrutinizer was musing about the aegis dispute as of earlier this day, and had a weird scary imagination of next "developer device" coming with a 12key 1..9*0# kbd and no way to ssh in to device, as developers are supposed to develop their apps on the target platform. "Use T9! This is not a unix workstation, this is an end-user device" | 16:50 | |
*** CepiPerez has joined #harmattan | 16:55 | |
DocScrutinizer | seif: sure, the new images. They come with true N9 feeling: hw-kbd optimized out completely, and you get a huge aegis warning on bootup about the broken NFC hardware ;-P | 16:55 |
DocScrutinizer | seif: just kidding | 16:55 |
jkt | speaking of aegis -- where do I found some documentation about how to "deal with it"? I'm trying to have a look at http://www.developer.nokia.com/bugs/show_bug.cgi?id=234 , but I'm unable to even strace the number of existing /usr/bin/signonpluginprocess processes | 16:58 |
jkt | slides from http://conference2010.meego.com/session/mobile-simplified-security-framework-overview were not that much helpful | 16:58 |
*** fiferboy has joined #harmattan | 17:02 | |
*** fiferboy has quit IRC | 17:14 | |
mariob | How are the rounded corners made on several places in the built-in apps? Are shaders used for this? | 17:28 |
mariob | For example in the contacts app | 17:28 |
ajalkane_ | images, as far as I know | 17:34 |
javispedro | mariob: what's your toolkit? they should be added auto in most supported toolkits | 17:35 |
mariob | I mean, for each contact you can have an image... And that image will have rounded corners. | 17:36 |
javispedro | ah | 17:36 |
mariob | Is that down on the C++ side? | 17:36 |
mariob | *done* | 17:37 |
* mariob whishes that Nokia releases some of the code for built-in apps | 17:38 | |
ajalkane_ | oh... contacts app uses MTF, Haven't checked it much | 17:42 |
mariob | ajalkane_: was afraid of that... | 17:44 |
*** harbaum has quit IRC | 17:50 | |
DocScrutinizer | jkt: that's the neuralgic point here with the missing docu about aegis | 17:57 |
Tronic | mariob: CSS border-radius would be my guess. | 17:57 |
Tronic | mariob: Apparently CSS is used for style in some parts of the UI. | 17:57 |
Tronic | (if not all) | 17:57 |
DocScrutinizer | jkt: there's sth about MSSF on dev.nokia wiki, but for all I know it just covers the very standard usecase and even that not exactly in a comprehensive way | 17:58 |
DocScrutinizer | there are not even manpages for the aegis related cli commands | 17:59 |
DocScrutinizer | neither for any file formats | 17:59 |
DocScrutinizer | not even to dream about documentation to details on when aegis self destruction is meant to get triggered, why, and how, and how you'd check if you're already close to stepping on the trigger | 18:01 |
DocScrutinizer | allegedly my #92 aegis suicide was a bug and not meant to happen, but evidently there's some self destruction mechanism that got implemented on purpose, and it's nowhere documented | 18:03 |
Tronic | I guess we have 92 ways of suicide documented now? | 18:04 |
*** mikhas has quit IRC | 18:04 | |
*** SpeedEvil has quit IRC | 18:04 | |
DocScrutinizer | so if you're happy with the Romulanian's 4-dimensional version of minesweeper.... | 18:04 |
DocScrutinizer | I love linux as I always can get my info somehow, I hate windows as you're basically busted if sth doesn't behave or you plan to do sth in a non-standard way. Now guess my feelings towards HARM&aegis | 18:07 |
DocScrutinizer | while on fremantle the locked (due to non-foss blob) bits were mainly some core applications, on HARM basically the complete system is (potentially) locked, and worse: you have no means to find out what's locked and what'S not, until you run into a roadblock | 18:09 |
DocScrutinizer | extremely risky platform to develop, just from a commercial project risk management POV. If I were to do sth commercially I'd never dare to pick HARM for our target platform | 18:10 |
DocScrutinizer | jkt: anyway infobot has some links for you: | 18:15 |
DocScrutinizer | ~aegis | 18:15 |
infobot | aegis is, like, http://www.developer.nokia.com/Community/Wiki/Harmattan:Developer_Library/Developing_for_Harmattan/Harmattan_security/Security_guide , or "The purpose of this framework is: ... to make sure that the platform meets the requirements set by third party software that requires a safe execution environment.", or http://en.wikipedia.org/wiki/Trusted_Computing#Criticism, or http://en.qi-hardware.com/w/images/1/10/ME_382_LockedUpTechnology2.gif | 18:15 |
*** NIN102 has joined #harmattan | 18:16 | |
Tronic | I wonder whether there would be a way to do backup flashing without upsetting aegis. | 18:17 |
Tronic | So that if you end up triggering it, you could at least recover easily. | 18:17 |
*** NIN101 has quit IRC | 18:18 | |
*** razvanpetru has left #harmattan | 18:23 | |
jkt | DocScrutinizer: thanks for pointers and sharing the frustration :) | 18:29 |
DocScrutinizer | yw :-D | 18:30 |
*** spenap has quit IRC | 18:30 | |
jkt | I have no idea how things stand at other companies, but I start to feel frustrated a bit. The platform looks like an open one from distance, provides a nice and shiny UI when you start working with it, but when you hit a bug and decide to try to fix it, you find out that a critical component is closed and/or should not be touched | 18:31 |
jkt | like http://www.developer.nokia.com/bugs/show_bug.cgi?id=234 or http://www.developer.nokia.com/bugs/show_bug.cgi?id=360 | 18:31 |
jkt | I mean, it's a developer preview, and it's cool that Nokia went out of their way to provide it to the developers, and I really appreciate it | 18:32 |
jkt | it's just that the tiny last steps are missing | 18:32 |
DocScrutinizer | jkt: hey I confirmed on that first ticket :-D | 18:34 |
javispedro | it's funny that the browser-ui is one of those ocomponents that has since nearly forever been promised it'll eventually be released | 18:34 |
javispedro | and here we are, at the end of time, and it has not been released. | 18:34 |
javispedro | btw | 18:36 |
javispedro | come to think of it | 18:36 |
javispedro | webkit is GPL | 18:36 |
javispedro | and NOT LGPL afaik. | 18:37 |
w00t_ | say what? | 18:37 |
w00t_ | webkit isn't *GPL at all | 18:37 |
javispedro | KHTML surely was | 18:37 |
w00t_ | how do you think safari exists? :) | 18:37 |
javispedro | oh, it's LGPL. | 18:38 |
Termana | The JavaScriptCore and WebCore components of WebKit are GPL | 18:38 |
javispedro | nah, it's LGPL. | 18:38 |
javispedro | just checked on the source itself ;) | 18:38 |
javispedro | either way, Nokia is violating, where is libgrob-qtwebkit source? | 18:39 |
javispedro | also, note that the reason they're using WebKit2 is not because they can split out plugins in separate processes (we have no plugins!) but because they can split the WebKit process into another process, therefore avoiding any pesky GPL complications. | 18:41 |
* javispedro sighs | 18:41 | |
javispedro | and possibly some added stability and more blablablabla. | 18:41 |
w00t_ | I think you'll find it's actually performance/stability related | 18:41 |
w00t_ | #qtwebkit might be of help | 18:41 |
*** berndhs has joined #harmattan | 18:44 | |
DocScrutinizer | pardon my doubt, but since bme in userland I don't believe in a sane rationale when finding this class of design decision taken | 18:46 |
w00t_ | javispedro: from asking one of the right people involved, git@gitorious.org:+qtwebkit-webkit2-dev/webkit/qtwebkit-webkit2-dev.git should be what you want | 18:47 |
* javispedro agrees with DocScrutinizer here | 18:47 | |
javispedro | albeit qtwebkit2 does crash quite a bit. | 18:47 |
javispedro | w00t_: thanks! | 18:47 |
*** rcg has quit IRC | 18:52 | |
*** wazd has quit IRC | 18:54 | |
*** ajalkane_N950 has joined #harmattan | 19:08 | |
*** NIN102 has quit IRC | 19:14 | |
*** rcg1 has joined #harmattan | 19:27 | |
*** NIN102 has joined #harmattan | 19:28 | |
rzr | hi | 19:30 |
rzr | dont you have the phone screen all black sometime ? | 19:30 |
*** andre__ has quit IRC | 19:31 | |
*** leinir_ has joined #harmattan | 19:42 | |
*** leinir has quit IRC | 19:42 | |
*** captaini1loo has quit IRC | 19:43 | |
*** captainigloo has joined #harmattan | 19:43 | |
*** Arkenoi has quit IRC | 19:44 | |
*** alterego has quit IRC | 19:44 | |
*** alterego has joined #harmattan | 19:44 | |
rzr | http://www.developer.nokia.com/bugs/show_bug.cgi?id=347 | 19:48 |
javispedro | rzr: yeah, happened to me, but so far seems random | 19:48 |
javispedro | Texrat says it is a bunch of 3rdparty apps that cause it, but I've seen it even without installing anything | 19:49 |
*** leinir_ is now known as leinir | 19:51 | |
*** arnaud1 has joined #harmattan | 19:53 | |
*** frinring has quit IRC | 19:54 | |
*** lcuk has quit IRC | 19:55 | |
*** chouchoune has quit IRC | 19:56 | |
*** wmarone__ has quit IRC | 19:57 | |
*** arnaud1 is now known as chouchoune | 19:58 | |
npm | i bet those third party apps aren't respecting resource policy for resources (e.g. audio or video device) and interfering w/ apps that work correctly (the stock harmattan apps): http://forum.meego.com/showthread.php?t=4125 | 20:08 |
javispedro | this policy stuff was already partially in harmattan | 20:09 |
*** lcuk has joined #harmattan | 20:09 | |
*** lcuk has quit IRC | 20:09 | |
*** lcuk has joined #harmattan | 20:09 | |
javispedro | er | 20:09 |
javispedro | I mean, fremantle | 20:09 |
Stskeeps | we even have it in CE | 20:09 |
npm | and meego tablet ux | 20:09 |
javispedro | most of the time doing nothing does the right thing, e.g. corking your streams if you get a phone call | 20:09 |
*** maxw has quit IRC | 20:10 | |
npm | i too have seen the black phone screen thing. perhaps i'm seeing it less now that the app that was hogging the resources (qmltube) is now compliant | 20:10 |
npm | also, i believe harmattan has a bug there that meego doesn't | 20:10 |
npm | it doesn't "cork the stream" correctly | 20:10 |
javispedro | hm?? | 20:11 |
javispedro | it does very well here | 20:11 |
javispedro | so well, it triggers exactly the same deadlock in PAsimple it triggered on Fremantle ;) | 20:11 |
npm | well if you run qmltube on harmattan, and then startup video-suite and start a video playing qmltube doesn't get the pause signal that the resource went away, rather it gets paused at a lower level inside qt mobility video element | 20:12 |
javispedro | that's mostly what it also does for audio | 20:12 |
npm | do the same tihing on meego 1.2 tablet ux and it sends the "callback" correctly that the resource went away. | 20:12 |
javispedro | ah | 20:12 |
npm | and so i can pause the stream in advance of getting the underlying error | 20:13 |
javispedro | you mean it is not sending resource revoked msgs correctly? | 20:13 |
npm | yes | 20:13 |
javispedro | ok. | 20:13 |
javispedro | weird | 20:13 |
npm | please try out http://nielsmayer.com/meego/qml/qmltube_1_11_1_armel.deb versus http://nielsmayer.com/meego/qml/qmltube-1_11_1-1_i586.rpm | 20:14 |
npm | and i'll be fixing the screen-space wasting headers on video playback soon in tablet ux version | 20:14 |
npm | but you'll see that behavior -- start qmltube from commandline or qtcreator remote and watch the debug output | 20:15 |
*** spenap has joined #harmattan | 20:24 | |
*** n950evil has joined #harmattan | 20:31 | |
DocScrutinizer | so where's any howto or concept paper or manpage about "(un)corking streams"? | 20:34 |
Stskeeps | DocScrutinizer: the one you refer to occasionally and shout they're bloody idiots, i think | 20:34 |
Stskeeps | (pulseaudio) | 20:34 |
DocScrutinizer | Stskeeps: I don't think I called anybody a bloody idiot any time in my whole life, so please don't spread lies | 20:35 |
Stskeeps | right, maybe not those exact words, but anyway, that's one place i would look myself | 20:35 |
javispedro | nah | 20:35 |
javispedro | don't uncork it using PA or you'll cause havoc in the resource manager | 20:36 |
npm | linus torvalds calls people masturbating monkeys :-) | 20:36 |
javispedro | either way, this time the resource manager seems to have a saner policy | 20:36 |
javispedro | like prioritizing games over music | 20:36 |
* javispedro still needs to ensure that is true, but first test showed that might be the case | 20:37 | |
*** GAN950 has joined #harmattan | 20:37 | |
*** GAN950 has quit IRC | 20:37 | |
*** GAN950 has joined #harmattan | 20:37 | |
javispedro | also, I quite loved that acquiring the music resource means the -/+ buttons are automatically remapped to main volume instead of ringing volume | 20:38 |
GAN950 | Automagically? | 20:39 |
npm | i added a clip of the conversation to http://www.developer.nokia.com/bugs/show_bug.cgi?id=347 | 20:39 |
javispedro | GAN950: yep, so I can put that to games | 20:39 |
javispedro | npm: I'm still not sure it has anything to do with resources though. | 20:40 |
*** aslani has quit IRC | 20:40 | |
*** aslani has joined #harmattan | 20:40 | |
javispedro | if you believe so you should explain why on that bug, cause from the log it's not clear. | 20:40 |
* javispedro enjoys his vsynced SDL some more | 20:42 | |
javispedro | ooh, vsynced mario kart. | 20:42 |
javispedro | hm, just noticing the random noise generation is a bit off | 20:44 |
GAN950 | You can't set up repeating events yet can you? | 20:44 |
javispedro | uh, a bit, it's totally broken | 20:45 |
javispedro | GAN950: hm? what do you mean? | 20:45 |
Stskeeps | GAN950: i can, if i go and edit afterwards | 20:45 |
*** wazd has joined #harmattan | 20:45 | |
javispedro | ah, in calendar | 20:46 |
*** harbaum has joined #harmattan | 20:48 | |
rzr | plz vote for it http://www.developer.nokia.com/bugs/show_bug.cgi?id=347 | 20:48 |
npm | javispedro: i clarified my "paste" | 20:49 |
npm | and gave it 100 votes :-) | 20:49 |
Stskeeps | " which is why the Korean government has stepped in to create its own OS. Kim Jae-hong, deputy minister from Seoul's Ministry of Knowledge Economy, thinks that American dominance in mobile software is generally a bad thing. The minister said that the country would "foster a habitat" for the open-source OS, which might mean incentivized pricing on these device" | 20:50 |
Stskeeps | http://www.engadget.com/2011/08/23/south-korea-brings-the-big-guns-to-the-mobile-os-knife-fight/ | 20:50 |
Stskeeps | time for KRMeeGo, or something | 20:50 |
npm | which i'll reduce as soon as i find some other bug that competes with it in terms of making the phone somewhat painful to use in an emergency | 20:50 |
npm | it also gets into a state where you can't hang it up without power-cycling. | 20:50 |
npm | which is sort of old school | 20:51 |
npm | :-) | 20:51 |
npm | as if all those billions of transistors were just a bunch of wires and magnets | 20:51 |
javispedro | welcome to the world of tomorrow! | 20:52 |
npm | someone should write an app to simulate a rotary phone in qt :-)... complete with clicking | 20:52 |
alterego | npm: there's a demo doing that. | 20:53 |
rzr | Stskeeps: you're talking about the republic of samsung | 20:53 |
npm | i wonder if that could be used in certain emergency conditions when the regular tone networks aren't working, perhaps due to an EMP | 20:53 |
*** smoku1 has joined #harmattan | 20:55 | |
*** SpeedEvil has joined #harmattan | 20:59 | |
rzr | I think I screwed someone comments | 21:01 |
rzr | who is NielsMayer ? | 21:02 |
rzr | npm: that screen does not even show once rebooted my side | 21:02 |
*** SpeedEvil has quit IRC | 21:05 | |
* npm is NielsMayer | 21:07 | |
*** SpeedEvil has joined #harmattan | 21:09 | |
DocScrutinizer | (aegis, developer-mode) it all boils down to the true meaning and implications of <quote URL=http://www.developer.nokia.com/Community/Wiki/Harmattan:Developer_Library/Developing_for_Harmattan/Harmattan_security/Security_guide> If your application needs any POSIX capabilities, the following example shows how to request POSIX capabilities for your application: Note that POSIX capabilities are sensitive credentials. Even if you use the | 21:11 |
DocScrutinizer | request, whether you get the capabilities or not depends on the software source.</quote> How would we add a policy that defines an arbitrary or specified local source as an entitled source for requesting all posix resources? -- In fact I thought THAT was what developer mode would do, but as I got told in CAPITALS several times developer mode is something completely different (alas I still didn't manage to wrap my head around what it | 21:11 |
DocScrutinizer | actually is then) | 21:11 |
rzr | npm: ok your post seems to be still there | 21:12 |
* rzr votes his points on http://www.developer.nokia.com/bugs/votes.cgi?action=show_user&user_id=691# | 21:12 | |
*** SpeedEvil has quit IRC | 21:12 | |
DocScrutinizer | s/posix resources/posix capabilities/ | 21:13 |
*** SpeedEvil has joined #harmattan | 21:13 | |
*** deimos has joined #harmattan | 21:16 | |
*** cpscotti has quit IRC | 21:17 | |
*** n950evil has quit IRC | 21:19 | |
DocScrutinizer | also to me it seems rather unclear *when* aegis is going to force new credentials/tokens to a process. The >>When your application is launched, the credential information defined in the file is passed on to the system kernel.<< is pretty fuzzy and unclear. What does this mean exactly? is this on execve() and friends? On loading a harmattan app from applications launcher via *.desktop et al? On fork()? On loading an executable to RAM (i. | 21:26 |
DocScrutinizer | e. also for *.so etc)? | 21:26 |
dm8tbr | DocScrutinizer: I thought that developer mode allowed you to install your own binaries with (almost) all possible base capabilities. | 21:27 |
dm8tbr | but some apparently not like loading modules, etc bla | 21:28 |
dm8tbr | so, close but not close enough for an open feeling | 21:28 |
DocScrutinizer | I.E. will e.g. a (true, non busybox) shell command inherit the shell's capabilities, or are the freshly defined? | 21:28 |
dm8tbr | I'd expect inheritance, but then I know nothing about this | 21:29 |
Stskeeps | that's a funny question actually.. | 21:29 |
Stskeeps | what aegis permissions a console shell has | 21:29 |
Stskeeps | like, serial line | 21:29 |
dm8tbr | I think that's also in this repsok file or what it's called | 21:30 |
DocScrutinizer | one thing's for sure: aegis "documentation" as of http://www.developer.nokia.com/Community/Wiki/Harmattan:Developer_Library/Developing_for_Harmattan/Harmattan_security/Security_guide is a joke, an evil pun, or just an introduction that's missing the true proper documentation plus links to that | 21:30 |
dm8tbr | I've seen serial lines caps being defined there | 21:30 |
Stskeeps | dm8tbr: ah, ok | 21:30 |
dm8tbr | DocScrutinizer: I truly hope it's just the latter. the very important question is if we get to see the rest | 21:31 |
DocScrutinizer | my hopes are small for that to ever happen | 21:31 |
javispedro | how ineriting works in aegis I've not fully understood yet | 21:35 |
rzr | npm: do u see something suspect in my logs at http://www.developer.nokia.com/bugs/show_bug.cgi?id=347? | 21:35 |
DocScrutinizer | as small actually as my hopes for a proper cert/policy that entitles packages from my local repository to request arbitrary credentials/posix capabilities | 21:35 |
javispedro | in fact, I think the supposed bug that caused Doc's self-destruction was caused by something related to inheriting tokens. | 21:36 |
*** GAN950 has quit IRC | 21:37 | |
*** rm_code has joined #harmattan | 21:39 | |
RST38h | rm_code: Could you quickly add Nokia's own harmattan repos to the packrat? | 21:40 |
RST38h | rm_code: as a static list whose contents are loaded before wiki is mined for the rest of repo addresses? | 21:41 |
DocScrutinizer | javispedro: nah, according to djszapi I was just making up all that | 21:41 |
rm_code | RST38h, i had problems doing that because they require auth | 21:42 |
DocScrutinizer | there is no such thing like a dedicate suicide function in aegis!!1!1!!11 | 21:42 |
Sput | can the device recover from self-destruction somehow, or is it permanently bricked then? | 21:42 |
RST38h | rm_code: Oh, true | 21:42 |
RST38h | rm_code: But not all of them, I think | 21:43 |
rzr | i also noticed the device wont ring too | 21:43 |
rm_code | RST38h, this is how i add custom repos: | 21:43 |
rm_code | $mrepo = "http://sheeplauncher.net/debs/"; | 21:43 |
rm_code | print "Manually adding repository ".$mrepo."\n"; | 21:43 |
rm_code | push(@Result,{("URL"=>$mrepo,"Version"=>'Harmattan',"System"=>'./')}); | 21:43 |
DocScrutinizer | Sput: reflash | 21:43 |
Sput | DocScrutinizer: ok. so data loss, but not beyond salvation | 21:43 |
DocScrutinizer | yup | 21:43 |
Sput | that's... reassuring | 21:44 |
Sput | I keep backups in Ovi Suite anyway :) | 21:44 |
npm | rzr -- yes | 21:44 |
DocScrutinizer | Sput: though I was willing to believe this suicide-bomber has several different assault modes | 21:44 |
javispedro | DocScrutinizer: for next time -- it's official name is "MALF" | 21:44 |
javispedro | (the self destruct feature I mean) | 21:45 |
npm | rzr : Aug 23 20:01:57 (none) nped[1370]: i2c_write: Remote I/O error | 21:45 |
npm | ?? | 21:45 |
DocScrutinizer | sbin/malf --final | 21:45 |
rm_code | npm, is there a newer qmltube? it stopped working recently | 21:45 |
DocScrutinizer | sbin/malf --just-a-little | 21:45 |
RST38h | rm_you: yea, that is one way to do it :) | 21:45 |
npm | http://nielsmayer.com/meego/qml/qmltube_1_11_1_armel.deb <-- rm_code | 21:45 |
DocScrutinizer | sbin/malf --solid-fsckup | 21:45 |
*** mikhas has joined #harmattan | 21:46 | |
rm_code | npm, k thx :) is that a valid repo? | 21:46 |
npm | no | 21:46 |
rm_code | npm, if so i can add it to packrat | 21:46 |
rm_code | ah k | 21:46 |
rm_code | if you want me to add your package to my repo i can | 21:46 |
rm_code | it will be packrat indexed | 21:46 |
DocScrutinizer | it fails to hit me how such a suicide-function is "to protect the user" | 21:46 |
npm | let me know if that version works for you and if so, then please add to repo | 21:46 |
npm | there's also a more in progress meego ux version http://nielsmayer.com/meego/qml/qmltube-1_11_1-1_i586.rpm | 21:47 |
*** piggz has quit IRC | 21:47 | |
npm | work in progress that is | 21:47 |
rm_code | how usable? | 21:48 |
*** lcuk has quit IRC | 21:49 | |
rm_code | npm, looks working | 21:52 |
rm_code | downloads are actually moving instead of failing :P | 21:52 |
rm_code | adding to my repo | 21:52 |
DocScrutinizer | javispedro: less /etc/init/check_malf.conf; thanks for pointer mate | 21:54 |
DocScrutinizer | # We are in MALF state already | 21:55 |
DocScrutinizer | # | 21:55 |
DocScrutinizer | /usr/sbin/show_malf `cat /var/malf` | 21:55 |
DocScrutinizer | I bet this will look like my photo | 21:55 |
rm_code | wtf is malf | 21:55 |
DocScrutinizer | malfunction | 21:55 |
Stskeeps | that it 'malfunctions' | 21:55 |
rm_code | ah | 21:55 |
DocScrutinizer | aegis suicide-bomber | 21:55 |
Stskeeps | nah, it's older than that | 21:55 |
*** lcuk has joined #harmattan | 21:55 | |
*** lcuk has joined #harmattan | 21:55 | |
Stskeeps | but aegis can indicate malf, yeah | 21:55 |
rzr | npm: i can reboot to double check | 21:56 |
rm_code | so can you just bind something over that file that always indicates no malfunction? :P | 21:56 |
DocScrutinizer | I bet editing /etc/init/check_malf.conf will trigger MALF ;-P | 21:56 |
npm | rm_code: thanks... what's your email incase i have an update? | 21:56 |
rm_code | npm, check for my notice | 21:56 |
npm | ok | 21:56 |
DocScrutinizer | hehe /etc/init/check_malf.conf, I feel venturous today | 21:58 |
SpeedEvil | In principle the 'flash now' screen is good - if it detects stuff right - rather than just silently and confusingly failing. | 21:58 |
DocScrutinizer | actually /usr/sbin/check_malf | 21:59 |
DocScrutinizer | say goodbye to my N950 :-D | 21:59 |
rm_code | DocScrutinizer, find "good" output of /var/malf, then put that into a file "good_return" and bind it over /var/malf :) | 22:00 |
rzr | npm: no i2c err this time | 22:01 |
DocScrutinizer | rm_code: I gather no output is a good output, actually: | 22:02 |
DocScrutinizer | elif [ -G /var/malf ]; then | 22:02 |
DocScrutinizer | # | 22:02 |
DocScrutinizer | # We are in MALF state already | 22:02 |
rm_code | ah | 22:02 |
rzr | +Aug 23 21:04:54 (none) applifed[847]: Application 'Com.Nokia.Telephony.CallUi' released from prestarted state, count=1 | 22:02 |
rzr | +Aug 23 21:04:56 (none) cellular: csd[587]: com.nokia.csd.GPRS: service suspended, status=8 | 22:02 |
rzr | +Aug 23 21:05:02 (none) kernel: [ 248.555328] cmt_speech cmt_speech: Write pending on data channel. | 22:02 |
DocScrutinizer | RM680-22-6_PR_RM680:~# /usr/sbin/check_malf --help | 22:02 |
DocScrutinizer | RM680-22-6_PR_RM680:~# | 22:02 |
DocScrutinizer | :-S | 22:02 |
rm_code | :P | 22:03 |
DocScrutinizer | man check_malf *ENTER* | 22:03 |
DocScrutinizer | $#!!\¿¿!##@@! | 22:03 |
rzr | ls -l /var/malf | 22:03 |
rzr | ls: /var/malf: No such file or directory | 22:03 |
javispedro | there's a set of startup files that should be both a) existing b ) validated by aegis, otherwise -> MALF. | 22:04 |
javispedro | iirc that included, obviously, malf itself. | 22:04 |
DocScrutinizer | (sorry djszapi) FSCK aegis! | 22:04 |
javispedro | DocScrutinizer: did it self destruct again? | 22:04 |
rm_code | yeah but if it uses check_malf to do the check | 22:04 |
DocScrutinizer | not yet | 22:05 |
DocScrutinizer | but doesn't reveal any bit of info either | 22:05 |
rm_code | you should be able to make a new version of check_malf that only returns clean status? | 22:05 |
DocScrutinizer | I'd maybe test to edit /etc/init/check_malf.conf but it seems to me I already know what's going to follow | 22:06 |
DocScrutinizer | either FSCK!!!! or MUHAHAHAHA | 22:06 |
rm_code | brb | 22:06 |
*** rm_code has quit IRC | 22:08 | |
DocScrutinizer | though:::: >>-G FILE True if the file is effectively owned by your group.<< | 22:08 |
DocScrutinizer | create /var/malf with another group, with another owner, set 444 | 22:09 |
DocScrutinizer | so nobody can overwrite it | 22:10 |
DocScrutinizer | neither anybody changes effective group of that file | 22:11 |
*** Khertan has quit IRC | 22:11 | |
*** Reffy has quit IRC | 22:12 | |
DocScrutinizer | probably aegis' cerberus will make damn sure this file gets created with proper effective group no matter what's been there before | 22:13 |
rzr | i think i got more info to share | 22:14 |
rzr | MAssembly: Stylesheet missing "/usr/share/themes/base/meegotouch/libminputcontext/style/libminputcontext.css" | 22:14 |
DocScrutinizer | >>couldn't open page \n Request to open non-local file file://usr/share/images/malfNOK_en_GB.bmp<< | 22:17 |
rzr | MAssembly: Stylesheet missing "/usr/share/themes/base/meegotouch/libSignOnUI/style/libSignOnUI.css" | 22:17 |
DocScrutinizer | somehow microB was way nicer | 22:17 |
DocScrutinizer | WTF /usr/sbin/enter_malf | 22:18 |
DocScrutinizer | ln -s /usr/sbin/enter_malf /usr/sbin/suicide-bomber | 22:19 |
DocScrutinizer | Sput: if you're curious I suggest you ask /usr/sbin/enter_malf --help to find out if it has a parameter to determine severity of self-destruction ;-P | 22:20 |
*** lbt_away is now known as lbt | 22:21 | |
*** leinir has quit IRC | 22:21 | |
DocScrutinizer | it will either tell you about possible options, or demonstrate it doesn't take any options | 22:21 |
*** leinir has joined #harmattan | 22:21 | |
DocScrutinizer | also reassuring: /lib/dsme/malf.so | 22:22 |
DocScrutinizer | "we had to restart browserd 10 times! MALFUNCTION DETECTED! please try to reflash, if that fails please visit your local Nokia service-center" heh just kidding? | 22:23 |
Stskeeps | that usually shows a deeper problem | 22:24 |
DocScrutinizer | I'd say /etc/init/check_malf.conf has to die | 22:24 |
DocScrutinizer | Stskeeps: if there is a "deeper problem" then I'd prefer to try and investigate for myself, rather than check_malf suggesting I should reflash (thus nuking all forensic evidence about the actual problem) and to make sure I do it locks the device | 22:28 |
Stskeeps | DocScrutinizer: no arguments there | 22:28 |
* javispedro triggers a harmattan gcc bug | 22:30 | |
javispedro | and sadly removing the snippet from its context makes it disappear | 22:31 |
javispedro | int type = (byte & mask) ? 1 : 0; printf("%d\n", type) --> "16" :D | 22:32 |
javispedro | if I replace the ternary with an if...else, still fails. If I add two printfs to check with if branch it decides to take, it works. | 22:32 |
DocScrutinizer | UGH | 22:33 |
javispedro | s/with/which/ | 22:33 |
Stskeeps | ancient toolchain there, too | 22:33 |
infobot | javispedro meant: if I replace the ternary which an if...else, still fails. If I add two printfs to check with if branch it decides to take, it works. | 22:33 |
javispedro | infobot: shut up! | 22:33 |
infobot | get lost, jerkoff | 22:33 |
DocScrutinizer | int type; int check = (byte & mask); type = check ? 1 : 0; | 22:35 |
DocScrutinizer | s/int check/char check/. | 22:35 |
*** CepiPerez has left #harmattan | 22:36 | |
javispedro | DocScrutinizer: seems to work | 22:36 |
DocScrutinizer | parsing sequence error? | 22:36 |
* javispedro thinks it is optimizing something | 22:36 | |
DocScrutinizer | int {type = (byte & mask)} ? 1 : 0 | 22:37 |
javispedro | nah, byte & mask is 0 btw. | 22:37 |
rzr | npm: I got it back | 22:37 |
javispedro | for each value of mask in the loop. | 22:37 |
rzr | npm: I had to kill it | 22:37 |
javispedro | (checked with printf too) | 22:37 |
rzr | npm: killall -9 call-ui && killall -9 call-ui && killall -9 call-ui ; even once rebooted | 22:37 |
DocScrutinizer | hmm, hoped it's 16 | 22:37 |
DocScrutinizer | let's call it a bug, and get some club mate aka hackerbrause | 22:38 |
javispedro | DocScrutinizer: it's in a loop, mask is 0x1, 0x2, ..., 0x16, .. , 0x128 | 22:38 |
javispedro | erm | 22:38 |
javispedro | s/0x16/0x10 ;) | 22:38 |
javispedro | s/0x128/128 ;) ;) | 22:38 |
DocScrutinizer | 0x7F | 22:39 |
DocScrutinizer | err | 22:39 |
DocScrutinizer | 0x80 | 22:39 |
*** djszapi_ has joined #harmattan | 22:39 | |
* DocScrutinizer needs a shower, URGENTLY | 22:39 | |
DocScrutinizer | ~weather EDDN | 22:40 |
infobot | Nuernberg, Germany; (EDDN) 49-30N 011-03E 318M; last updated: 2011.08.23 1920 UTC; Dew Point: 64 F (18 C); Pressure (altimeter): 29.94 in. Hg (1014 hPa); Relative Humidity: 65%; Temperature: 77 F (25 C); Visibility: greater than 7 mile(s); Wind: Variable at 1 MPH (1 KT) | 22:40 |
* javispedro applies DocScrutinizer's change and calls it a day | 22:41 | |
*** javispedro has quit IRC | 22:41 | |
DocScrutinizer | don't forget to claim your free towel for reporting the bug against gcc | 22:42 |
*** smoku1 has left #harmattan | 22:44 | |
DocScrutinizer | grr he's gone - just when it hits me I once heard something was odd about ternary | 22:45 |
lardman | evening all | 22:49 |
*** antman8969 has joined #harmattan | 22:50 | |
lardman | so I'd like to at runtime generate/use a random QML component that will be provided by a plugin; how do I get this component to display in my main QML view? | 22:50 |
lardman | main code is C++ with QDeclarativeEngine etc, and the plugin will also be C++ and generate a QML component | 22:51 |
lardman | the question is whether I need to use some javascript code to create the component from the C++ plugin, or whether I can do this all in C++? | 22:51 |
DocScrutinizer | hi lardman | 22:52 |
lardman | hey Doc | 22:52 |
DocScrutinizer | have fun with your demanding concept of dynamic QML ;-D | 22:53 |
* lardman is not particularly pleased | 22:54 | |
DocScrutinizer | probably you'll have to learn how the guts of QML work to get an answer for this question | 22:54 |
lardman | porting from dynamic QWidgets is not all that much fun | 22:54 |
antman8969 | let me make sure I understand what you're asking.... you just want to know what you need to make a qml plugin? | 22:54 |
lardman | no not really | 22:54 |
DocScrutinizer | *dynamically* make a plugin | 22:55 |
DocScrutinizer | aiui | 22:55 |
lardman | I've got the main mBarcode code, which is a C++ class to wrap the functionality plus QML code to provide the ui | 22:55 |
lardman | then I have lots of plugins, each of which needs to display a QWidget that it populates with whatever it wants | 22:55 |
lardman | e.g. buttons to do some action, some labels to describe the contents of the barcode, etc. etc | 22:55 |
lardman | the question is how to get that QWidget into the main QML code | 22:56 |
lardman | and whether that should be done by using a QDeclarativeView, whether an app can have more than one QDeclarativeView, etc. | 22:56 |
antman8969 | is this link useful? http://doc.qt.nokia.com/4.7-snapshot/qml-integration.html | 22:56 |
DocScrutinizer | on Qt plain it'd be pretty easy | 22:56 |
lardman | or whether to load the plugin's QML file dynamically using Javascript | 22:57 |
lardman | DocScrutinizer: yeah in C++ code it all worked fine | 22:57 |
lardman | antman8969: looking now | 22:57 |
antman8969 | i THINK thats what you want... | 22:57 |
antman8969 | I know it warns you that it's "slower" to use QDeclarative view (for starting up) but I think you should test it and see how much slower it actually is | 22:58 |
antman8969 | especially on the n950 hardware | 22:58 |
lardman | hmm, I think that's a way of wrapping your entire application | 22:58 |
lardman | oh I see, I can do QGraphicsObject *object = qobject_cast<QGraphicsObject *>(component.create()); | 22:59 |
antman8969 | the last section | 22:59 |
antman8969 | yea | 22:59 |
DocScrutinizer | well it's half the rent | 22:59 |
DocScrutinizer | you can call QML from Qt | 22:59 |
DocScrutinizer | now you need to integrate this Qt/C++ code to QML | 23:00 |
lardman | yeah I know you can manipulate from both sides, but that then means they are pretty intertwined, which is the whole thing QML is supposed to get away from I thought | 23:00 |
DocScrutinizer | but actually better ignore me, I have NFC about QML and not much revent experience with Qt either | 23:00 |
lardman | lol | 23:00 |
antman8969 | lol | 23:00 |
antman8969 | I agree lardman, I would want to stay away from controlling QML from Qt | 23:01 |
antman8969 | from C++ rather | 23:01 |
lardman | I'm still a bit fuzzy about how I should place the component I create too | 23:01 |
lardman | with C++ I could generate a QWidget in my plugin, pass it back and have the main code put it somewhere | 23:01 |
lardman | I guess I could achieve that with Javascript | 23:01 |
antman8969 | The entire point of using QWidget in your application is... you already have a working version and don't want to rewrite? | 23:01 |
lardman | not quite, I've altered the app quite a bit, but basically the plugin needs to pass back some component that will be self contained and displayed | 23:02 |
Sput | lardman: also relying on QGraphics* is a bad idea, as that's going away in Qt5 | 23:02 |
Sput | (not the actual QGV stuff, but QML no longer will be based on it) | 23:02 |
lardman | so it's not currently a QWidget, I'm just using that as I'm familiary with the C++ terminology | 23:02 |
lardman | Sput: ok, all the more reason to not go that route then | 23:03 |
antman8969 | if thats the case, then I'd obviously recommend QML lol | 23:03 |
lardman | antman8969: yeah but the plugin is C++ | 23:03 |
Sput | you can always use QDeclarativeItem | 23:03 |
antman8969 | you can make plugins available too, and just have the QML talk to the C++ for the data you need | 23:03 |
Sput | just don't assume that that's based on QGV in the future | 23:03 |
lardman | Sput: so the plugin can return a QDeclarativeItem in C++, and then somehow have that created from the main code? | 23:04 |
Sput | you can use a QDeclarativeItem implemented in C++ as a normal Item element in QML | 23:04 |
antman8969 | is this mbarcode reader lardman? | 23:04 |
lardman | antman8969: yeah | 23:04 |
lardman | Sput: ok, but when I write the main code I don't know what the component will be called, that only happens at runtime | 23:05 |
antman8969 | thats why I would rather just use the plugin to deliver a model or data. You can dynamically create QML delegates as you need to much easier | 23:05 |
lardman | antman8969: the plugin needs to decode the barcode contents e.g. for a vCard work out what the fields mean, and present that to the user | 23:06 |
antman8969 | well, does it HAVE to do all of that? or can it just decode, pass a model to QML and then have a ListView (or something similar) display the data to the user | 23:07 |
lardman | seems a bit clunky to generate a QString filled with QML code to create the component to be displayed, is that what you're suggesting? | 23:07 |
antman8969 | not rly | 23:07 |
antman8969 | you can make a QAbstractListModel type class if you wanted | 23:07 |
lardman | antman8969: well there are lots of options of course, that was what the old version did, but it would be nicer for the user to be presented with a decoded view of the payload imo | 23:07 |
antman8969 | and then use it in one of the builtin ListViews of qml | 23:07 |
antman8969 | I guess I don't see why that isn't possible with my suggestion, just a different type of data being passed to QML | 23:08 |
lardman | also things like vCards can contain email addresses and urls, it would be useful for the user to be able to open these or to import the whole thing, etc. the choice should be left up to the plugin writer | 23:08 |
lardman | so what about a geo: payload, showing a map location? | 23:09 |
lardman | it would be good to show a map with a pin, rather than just a couple of lines of description of lat/lon | 23:09 |
antman8969 | right | 23:10 |
lardman | certainly when I was sketching out the code I was planning a multiline label, but that's not very nice to look at or use | 23:10 |
hardaker | marble is supposedly embeddeblae fairly easily. | 23:10 |
hardaker | but I haven't tried it. | 23:10 |
antman8969 | i've not used QtMobility form QML yet, but thats where the maps stuff is I think. As long as QML at some point gets the lat/lon, you can bring up a map to display it. | 23:10 |
antman8969 | you can also separate the plugins functionality. You can use c++ code without making it a plugin too | 23:11 |
lardman | antman8969: I don't want the main code to have to handle every possibility for what to display though, I'd like the plugin to generate its own QML component to display and handle any interaction | 23:11 |
antman8969 | you can have your map function called from QML after the QML receives the data from the decoded barcodes (from your plugin) | 23:11 |
antman8969 | so it's more of a "mbarcode" plugin than a series of "docoder" plugin, "map" plugin etc... | 23:12 |
antman8969 | well, you know that theres really on right way | 23:12 |
antman8969 | I just like to keep everything separate as much as possible | 23:12 |
lardman | ah slight misunderstanding here, the main code accepts the decoded barcode data as a string, then it passes it to the plugins which decide which can handle the payload best | 23:12 |
antman8969 | now, when you say "main" code, you mean qt c++ code? or code in main() | 23:13 |
lardman | main code is the Qt C++ code with a QML ui | 23:13 |
antman8969 | mm | 23:13 |
lardman | so main as opposed to plugin codes | 23:13 |
lardman | the reason for plugins is that some payloads can contain a number of different content types. E.g. a vCard could contain both the cVard and as fields an URL an email telephone numbers, etc. | 23:14 |
djszapi_ | Sput: Did you find a solution for your issue after all ? | 23:14 |
Sput | djszapi_: haven't had the time today to play with the SDK :/ | 23:15 |
lardman | so each plugin will look for something it can handle in the string it is passed, and then they are ranked such that if a vCard is detected that will be displayed, rather than just the URL, etc | 23:15 |
Sput | I took note of the hint and will try soon | 23:15 |
DocScrutinizer | lardman: ( don't want the main code to have to handle every possibility...) fair enough, as the plugin even might want to use a custom made widget | 23:15 |
antman8969 | right lardman. I've never worked with barcodes to I could be missing something btw. But | 23:15 |
antman8969 | thats where MY plugin's job would end, decode and then thats all. Making it responsible for so much as to include generating the UI is daunting | 23:16 |
lardman | antman8969: the barcode decoding is now handled by a daemon called PhotoAnalyser which sits and scans new photographs | 23:16 |
lardman | that then sends a DBus message if it sees a barcode; mBarcode then wakes up (or is started) and handles the payload of the barcode | 23:17 |
lardman | so mBarcode now really is only focussed on doing something with what was in the barcode, rather than with the scanning and decoding parts | 23:17 |
antman8969 | ok, just let's say I scan a barcode with a vcard in it. can you tell me what happens to that data after it's decoded | 23:18 |
antman8969 | in your model | 23:18 |
lardman | this also means that PhotoAnalyser can perform more than just barcode extraction, e.g. text extraction and translation would be quite doable | 23:18 |
lardman | antman8969: it's decoded and the string is sent over DBus to mBarcode | 23:18 |
antman8969 | and from there | 23:18 |
DocScrutinizer | lardman: do you need to place the plugin's GUI inside the main window? It could open its own window? | 23:19 |
lardman | mBarcode then sends that data to each of its plugins, waits for them to all reply whether they can handle the barcode type and payload or not and then asks the highest priority one to return a widget for display | 23:19 |
lardman | DocScrutinizer: better inside the main UI, as thay houses the history list and a centralised settings page, etc | 23:19 |
lardman | also fewer open windows is better imo | 23:19 |
antman8969 | oooh, the plugins main job IS to make the widget, I thought it was doing much more... | 23:20 |
DocScrutinizer | yeah, sure | 23:20 |
lardman | antman8969: it makes the widget, then waits for the widget to ask it to do something - e.g. add the vCard, open a URL/email/etc | 23:20 |
lardman | button presses, etc | 23:20 |
antman8969 | mm | 23:21 |
*** cpscotti has joined #harmattan | 23:21 | |
antman8969 | I would still end up using QML and Javascript for most things... If you were going to use your plugins then you need to figure out how to make them available... but you know that already lol | 23:22 |
lardman | ok I reckon I can do the following - return a QDeclarativeItem from the plugin, plus its name; send that by way of a signal to the QML code that is attached to my main mBarcode object (which is exposed to QML), then have some javascript code create the plugin-created item in the main QML "view" | 23:22 |
djszapi_ | SpeedEvil: What was your issue about aegis and maps ? | 23:23 |
antman8969 | lardman that sounds good. And from that it sounds like you already know that you can send signals from Qt and catch them in QML | 23:23 |
lardman | antman8969: yeah I've read that stuff, seems quite straight forward... hopefully ;) | 23:24 |
lardman | bbiab | 23:24 |
*** lardman is now known as lardman|afk | 23:24 | |
antman8969 | wouldn't be bad at all. You wouldn't need much javascript either, just something like | 23:25 |
antman8969 | onSignal: loader.sourceComponent = myPluginItem | 23:25 |
antman8969 | and have a loader as the main comp for that screen | 23:25 |
DocScrutinizer | lardman|afk: what about doing *all* QML wrapped into this QDeclarative wrapper and control it from C++ main() | 23:28 |
DocScrutinizer | lardman|afk: not only plugins but also your main code's GUI | 23:29 |
djszapi_ | jkt: use develsh for strace. | 23:30 |
DocScrutinizer | djszapi_: can you tell me _when_ a process gets assigned its credentials/tokens/capabilities? As in "the posix capabilities are derived from aegis and set to kernel on (2) execve() | 23:32 |
DocScrutinizer | " | 23:32 |
DocScrutinizer | or is it just the harmattan launcher that does this? | 23:32 |
SpeedEvil | djszapi_: I cannot for some reason on my device create a new nokia account. This may be an unrelated bug - however, when I attempt to do so, I get no network traffic - just 'unavailable' - I forget the exact error. Someone elses comment lead me to believe it was possible that all account verification is done through aegis. | 23:33 |
DocScrutinizer | or maybe even (2) fork() ? | 23:33 |
SpeedEvil | djszapi_: I hypothesised that somehow the chain of trust is broken on my device, leading to aegis reporting a failure creating/obtaining a key or something, which manifests in 'can't open account'. | 23:35 |
SpeedEvil | djszapi_: It could of course be something else - but if this is true, it indicates what might happen with an unapproved kernel. I haven't been screwing with the kernel however. Can't create account = can't access maps or drive. | 23:36 |
djszapi_ | SpeedEvil: You are using tha Harmattan image ? | 23:36 |
antman8969 | speedevil, have you tested the theory with other account creations? | 23:36 |
SpeedEvil | djszapi_: I'm using the most recent publically available image. | 23:36 |
djszapi_ | SpeedEvil: if it is not custom kernel, could you please send me the scenario how it is supposed to be reproducible ? | 23:37 |
SpeedEvil | djszapi_: No, as it's apparantly not for anyone else. | 23:37 |
SpeedEvil | Flash device - connect to 3g internet - attempt to add nokia account -> service unavailable | 23:38 |
*** trollet has joined #harmattan | 23:38 | |
DocScrutinizer | http://www.developer.nokia.com/bugs/show_bug.cgi?id=234 | 23:38 |
djszapi_ | SpeedEvil: no idea about the account verification and how they implemented it. You might need to ask the developers of the application. | 23:39 |
npm | rzr -- perhaps i did the same as your " killall -9 call-ui && killall -9 call-ui && killall -9 call-ui " when i did a "close all" in app manager | 23:39 |
*** trollet has quit IRC | 23:39 | |
*** Stecchino_ has joined #harmattan | 23:39 | |
DocScrutinizer | SpeedEvil: djszapi_: ^^^ this ticket is about that issue | 23:39 |
SpeedEvil | Adding a facebook account works | 23:41 |
SpeedEvil | I forgot about my facebook account, as it's in a fake name, and I don't use it. | 23:41 |
*** npm has quit IRC | 23:41 | |
*** npm has joined #harmattan | 23:42 | |
djszapi_ | SpeedEvil: but at any rate, if it is any security "related", it is related to the application and their misusage of the security framework. It is not us how wrote the application. :) Feel free to prove me wrong with logs, outputs. | 23:42 |
SpeedEvil | After adding FB account, try to add nokia account in the same way. | 23:42 |
SpeedEvil | 'service currently unavailable' | 23:42 |
djszapi_ | SpeedEvil: It seems to work here. | 23:42 |
SpeedEvil | For most it works. | 23:43 |
SpeedEvil | There are no docs as to the seciruty framework, and how it interacts with apps (that I've seen), so I'm guessing. | 23:43 |
*** Stecchino has quit IRC | 23:43 | |
DocScrutinizer | SpeedEvil: try deleting all cookies | 23:43 |
djszapi_ | SpeedEvil: try to grep for aegis in syslog. | 23:43 |
SpeedEvil | DocScrutinizer: I reflashed | 23:44 |
antman8969 | does harmattan use the same flasher utility has the n900? flasher-3.5 or w/e | 23:44 |
SpeedEvil | A couple of times - with no results. | 23:44 |
DocScrutinizer | and it still fails :-/ | 23:44 |
DocScrutinizer | hmm | 23:44 |
rzr | does it worth to be reflashed ? | 23:44 |
DocScrutinizer | antman8969: no | 23:45 |
djszapi_ | antman8969: imo nope | 23:45 |
DocScrutinizer | new flasher | 23:45 |
antman8969 | just saw from the site.. thanks | 23:45 |
antman8969 | 556 mb download... | 23:45 |
DocScrutinizer | yup, sounds correct | 23:45 |
DocScrutinizer | one_click_flasher | 23:45 |
djszapi_ | so small ? | 23:45 |
DocScrutinizer | well, these 556MB is all we get for N950 ;-D | 23:46 |
DocScrutinizer | no angry birds in there ;-) | 23:47 |
antman8969 | lol | 23:47 |
* SpeedEvil doesn't see any clearly obviously smoking guns in syslog. | 23:48 | |
* SpeedEvil tries rebooting. | 23:48 | |
djszapi_ | SpeedEvil: issues relevant to missing credentials and capabilities are normally reported in syslog (not 1:1, but yep). | 23:48 |
DocScrutinizer | I hnestly doubt that nokia account issue is related to security at all | 23:48 |
djszapi_ | if there is nothing in syslog, it is probably not aegis issue | 23:48 |
SpeedEvil | Ok - thanks - that's useful. | 23:49 |
djszapi_ | DocScrutinizer: everything is related ;-) | 23:49 |
SpeedEvil | I question what the hell it can be though. | 23:49 |
*** vgrade has joined #harmattan | 23:50 | |
DocScrutinizer | creating a nokia account seems a web service (more or less), and it also seems that account management is kinda messed up even when you try to access it via firefox from your PC | 23:50 |
SpeedEvil | Disentangling between poorly understood security infrastructure, old bugs that are possibly fixed by now, and PEBKAC is fun. | 23:50 |
DocScrutinizer | indeed | 23:51 |
djszapi_ | mmm, javispedro did not know how the inheritance works for the capabilities, that is simple to clarify, there is an add policy, that is | 23:51 |
DocScrutinizer | thinking about it I never *created* an account on N950, I just used an already existing account's credentials | 23:51 |
SpeedEvil | I've tried both, neither worked. | 23:52 |
DocScrutinizer | and that worked after reflash or maybe unrelated to that, and since then maps and drive are ok | 23:52 |
djszapi_ | SpeedEvil: Yes, it can be frustrating, and that is why I am trying to help with where I can ;-) | 23:52 |
DocScrutinizer | I think trying to create an account drops a cookie that taints your system soo nothing will work from then on | 23:53 |
SpeedEvil | But drops a cookie somewhere that survives flashing??? | 23:53 |
DocScrutinizer | no | 23:53 |
SpeedEvil | That's part of the reason I was wondering if it was some secure storage area that the user can never touch. | 23:53 |
DocScrutinizer | as mentioned above it worked for me after flashing. Also for somebody else on that ticket | 23:53 |
SpeedEvil | Yeah - that's what confused. | 23:54 |
SpeedEvil | Aug 23 21:51:50 (none) mission-control-5[794]: GLIB CRITICAL ** default - ag_account_get_selected_service: assertion `AG_IS_ACCOUNT (account)' failed | 23:55 |
SpeedEvil | hmm | 23:55 |
DocScrutinizer | maybe you also need to log out from your account and related sites on all your other devices prior to this thing working on N950, who knows. Similar advice regularly given by quim et al for developer.nokia.com and the launchpad | 23:55 |
SpeedEvil | I'm not logged in on any devices on that account. | 23:56 |
*** lardman|afk is now known as lardman | 23:56 | |
djszapi_ | DocScrutinizer: system kernel is not execve, nope. | 23:56 |
djszapi_ | not even fork and friends. | 23:57 |
rzr | djszapi_: still on kde ? | 23:57 |
DocScrutinizer | no idea honestly. You'd think somebody who has better access to the source and to debugging tools should answer on http://www.developer.nokia.com/bugs/show_bug.cgi?id=234 eventually | 23:57 |
djszapi_ | I.E. will e.g. a (true, non busybox) shell command inherit the shell's capabilities, or are the freshly defined? -> it depends, it is not that simple. | 23:57 |
DocScrutinizer | yeah, that's why I ask | 23:58 |
lardman | antman8969: exactly | 23:58 |
djszapi_ | it is not a comprehensive yes/no answer. | 23:58 |
djszapi_ | javispedro was basically asking the same. The key point is the add policy here. | 23:58 |
lardman | DocScrutinizer: the problem with controlling the QML from the C++ is that it goes against the idea of separating the C++ and QML code, afaiu | 23:58 |
djszapi_ | rzr: sorry ? | 23:59 |
DocScrutinizer | unless I at least understand WHEN aegis kicks in, I never can wrap my head around how it works at large | 23:59 |
mikhas | lardman, huh? | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!