IRC log of #harmattan for Thursday, 2012-02-02

*** trx has joined #harmattan00:02
*** admiral0 has quit IRC00:03
*** gri is now known as zz_gri00:06
djszapiajalkane: ping00:12
ieatlinthas anyone else had issues with occasional audio "skipping" with bluetooth headphones?00:13
djszapi -> resolveTime does not work for some reason00:13
djszapithat slider does not get initialized ..00:14
djszapilet me see withconsole.log00:14
ajalkaneyou have in Slider Component.onCompleted, and we determined yesterday that it should only be used in root object. Maybe that's messing it?00:15
djszapiwe discussed that yesterday /Components/ should be in the root object, Page in thiscase.00:16
ajalkaneyou have Component.onCompleted inside slider00:16
djszapiyes, intended.00:16
ajalkaneand I can't find any initalization for resolveTimeSlider.value00:17
djszapiwhy not ?00:17
ajalkanewhere is it?00:17
djszapivalue = kanagramEngineHelper.resolveTime;00:17
ajalkaneI see hooks for onChanged00:17
ajalkanebut not initialization00:17
djszapi -> 15400:18
ajalkanedjszapi: have you tried putting debug on Slider.Component.onCompleted whether it gets called?00:20
*** gabriel9 has joined #harmattan00:20
djszapiit does not00:20
djszapiI bet it is called once00:20
djszapiso might be a good idea to put outside00:20
djszapiand set everythingie in one onCompleted.00:21
ajalkaneI think so00:21
djszapibut still, it worked this way yesterday00:21
djszapior maybe I was too tired to test it.00:21
ajalkaneMy gut-feeling is, that it should work this way... I mean the order of Component.onCompleted calls is not something to be trusted on, but they should be called when created.00:23
*** NIN101 has quit IRC00:23
djszapithey should be aggregated00:23
*** gabriel9 has quit IRC00:23
djszapithough, if that comforts you I do not understand many things in qml, just having workarounds :]00:24
ajalkaneyeah, I'm used to that too. I guess doing those workarounds long enough you get used to it. I'm still not sure if it's just that I don't fully get QML or if it's just deficiencies in some implementation details in the framework.00:28
ajalkaneBut at least nowadays I can more often than not find a workaround quickly enough based on previous experience00:28
djszapiyou became a workaround software specialist :]00:29
ajalkanethe most glorious job in the world. I guess 95% of programmers are such, finding workarounds for frameworks that don't work quite as wanted :)00:30
*** gabriel9 has joined #harmattan00:32
djszapiright, so the resolve time thingie is still fishy with one completed thingy00:32
djszapiI personally prefer more because it better localized to the current value00:32
djszapias if you wrote it normally, just +1/1 line around.00:32
djszapiit is better*00:33
djszapibut anyway, no clue00:33
*** wirwe has quit IRC00:34
ajalkanewhat you mean? You can use wrap to flow text to more lines if necessary00:35
djszapitake a look at the local completed management00:35
djszapiit is like as if you just wrote the value as a property init line.00:36
djszapiexcept that you use "=" instead of ":" of course.00:36
djszapibut other then that is one line beforehand, and "}" afterhand.00:36
ajalkaneI'm not sure if I understand, but that's basically differentiating the context between declarative and procedural (javascript) contexts00:37
ajalkanePart of what makes QML a bit weird is wrapping head around the mixing of declarative and javascript00:38
ZogG_laptopfrals: ping =00:38
djszapiajalkane: onCompleted never arrivea.00:38
djszapiconsole.log is never called inside :/00:38
ajalkanedjszapi: so I guess you should move it to root00:40
djszapiit is already there.00:40
ZogG_laptopdamn that signon with no proper docs00:40
*** jesuschrist has quit IRC00:41
djszapiajalkane: sorry, was blind amongst the long cli lines, it is called with proper value00:41
ajalkaneoh ok00:41
*** xTs has quit IRC00:42
djszapiajalkane: though always with the same00:42
djszapino matter what I set up00:42
djszapiI looked for typos in the saving code onValueChanged00:43
djszapibut cannot really find one.00:43
ieatlintis it possible to the pull the individual rgb values from a Color element in qml?00:45
ajalkaneI gotta go sleeping... but you should put debug logging everywhere in the variable in question to see where the propagation of changed value changes, but is not detected00:45
ieatlintor do i actually need to make helper functions to ask c++ for them?00:45
*** ajalkane has quit IRC00:45
djszapiieatlint: check the code whether those accessors are invokable.00:51
djszapiif not, you might need then to write a one liner wrapper in C++ and then get it exposed.00:51
djszapiprovided qml color -> qcolor conversion works implicitely.00:51
*** beford has quit IRC00:54
*** MohammadAG has joined #harmattan00:57
*** artemma has quit IRC00:57
*** miroslav1 has quit IRC00:59
*** artemma has joined #harmattan01:04
*** xnt14 has joined #harmattan01:04
*** Free-MG has quit IRC01:06
*** beford has joined #harmattan01:06
artemmaoups, my app shows black screen only when starting on PR1.0 (works fine on 1.0, 1.1) :/01:26
artemmaproblem is that the only 1.0 device i have access to is in remote device access, hard to debug..01:27
*** paulo has joined #harmattan01:27
befordartemma, show me your lines of import com.*01:30
befordin the QML files01:30
befordI had that problem too when sending it to ovi01:30
artemmaso it's likely to be abt extras and stuff..01:30
artemmasuspected that01:30
*** niqt has quit IRC01:30
*** paulo has quit IRC01:30
artemmalemme see, imports are a little diffrent in different files01:31
artemmaimport QtQuick 1.101:31
artemmaimport 1.001:31
artemmaimport 1.101:31
artemmaimport SwypeSwitcher 1.001:31
artemmaSwypeSwitcher is mine01:31
befordtry extras 1.001:31
artemmaI think I tried them and the didn't work on PR1.1 for some reason01:31
befordmm works for me, maybe you are using a new component01:32
artemmawill try again though01:32
artemmathanks for a hint!01:32
artemmathe only thing I am using from extras is SystemBanner I think01:33
artemmabecause somehow I failed to make InfoBanner work01:33
befordif you use extras 1.0 does it show an error when running it on 1.1 ?01:35
artemmait does show error on desktop (SDK doesn't have extras 1.0 on desktop)01:35
artemmaprobably that was the reason why I switched to 1.101:35
artemmatry on HW now01:35
befordoh desktop01:35
artemmatrying on HW now01:35
ieatlintthe sdk's extras and "InfoBanner" are for symbian01:36
ieatlintoddly, InfoBanner for harmattan and symbian are not compatible, but serve essentially identical functions01:36
*** Teo` has quit IRC01:37
*** mgedmin has quit IRC01:37
*** special has quit IRC01:37
*** secyritas has quit IRC01:37
*** flat` has quit IRC01:37
*** kralor has quit IRC01:37
artemmahmm, I think desktop stuff worked fine with extras 1.101:37
artemmadidn't keep the record though01:37
*** kralor has joined #harmattan01:37
*** flat` has joined #harmattan01:37
*** special has joined #harmattan01:38
*** special has joined #harmattan01:38
*** mgedmin has joined #harmattan01:38
*** secyritas has joined #harmattan01:38
*** Teo` has joined #harmattan01:39
*** Teo` has joined #harmattan01:39
*** wirwe has joined #harmattan01:39
beforddid you see the examples from the QML Components gallery for InfoBanner artemma ?01:39
artemmayeah.. at some point01:40
artemmawhen they were still a part of default image (1.0 beta?)01:40
artemmaok, extras 1.0 work on PR1.2beta, trying on PR 1.1 device now01:40
artemmaor acrtually half work :)01:41
artemmastuff doesn't crash anymore, but SystemBanner doesn't work01:42
artemmathat's a different story though01:42
artemmanow will try on PR1.0 device01:42
befordhow come you have 3 devices? :(01:43
*** risca has quit IRC01:44
*** risca has joined #harmattan01:44
*** risca has quit IRC01:44
artemmatwo devices01:45
artemmaPR1.0 in RDA only01:45
artemmaand that's a problem :(01:45
artemmait just got disconnected (reboot?)01:46
artemmawill test tomorrow probably01:46
artemmabeford: N9 is easy to get anywhere01:46
befordoh cool, I thought RDA was already running 1.101:46
artemmaand N950 they were sending to devs, so it makes two devices already01:46
artemmathere are 1.0, 1.1 and 1.2 devices I think01:46
artemma1.2 only N950 though01:47
artemmaonly one PR1.0 device though01:47
artemmaI was told just today that they are going to add more PR1.0 and some PR1.2 N9s within days01:47
befordcool, I'll check if my app runs ok on 1.201:48
artemmaactually they don't have 1.2 yest, just checked01:48
befordI asked ovi how to test for 1.0 and they told me to use qemu/scratchbox SDK01:48
artemmano, extras 1.0 didn't help. Still black screen on PR1.0 :(01:48
artemmafunny thing is that my app actually makes absolutely no sense for PR.1001:49
artemmait improves swype and there was no swype in PR 1.0 yet01:49
artemmaso I was anyway going to show just warning when swype isn't found01:49
artemmaheh, some logging to be directed to file I guess01:50
befordmaybe its failing because of that, can't you run it fromt the terminal?01:50
artemmait's a pity you can't deploy to RDA right from Qt Creator with debugging enabled :)01:50
artemmait shouldn't as I am touching files only01:50
artemmahowever, terminal is a good idea!01:50
artemmaah, terminal shows there's still extras 1.1!01:52
artemmadidn't rebuild something01:52
artemmaor uploaded wrong file01:53
itsnotabigtruckieatlint: do you have an n950 with pr1.2beta?02:04
artemmahooray, extras 1.0 work on all PRs!02:05
artemmabeford: , thanks02:05
ieatlintbut it's at home and i'm at work02:05
artemmanow I need to figure out why I can't see SystemBanner from extras 1.0 on screen, but that's another story :)02:05
* artemma still thinks it's sort of lame that there are harmattan components on desktop, but only one version is supported, while real device has several ones02:06
*** rm_work has quit IRC02:06
itsnotabigtruckhm, anyone else with pr1.2beta loaded up?02:07
*** [lutunen] has quit IRC02:09
*** heymaster has quit IRC02:09
TronicI upgraded yesterday.02:10
infobot[~skype] Skype is a free VoIP software and service using a closed client and propritary protocol. Only commercial channel drivers exist, with most solutions being complex, complicated, and hack-ish . Digium's SkypeForAsterisk (see ~SkypeForAsterisk) is a new solution that is a cleaner non-dependent option.02:10
TronicAny good ways for enabling Skype on N950 yet?02:11
ieatlintsame as 1.1 i'm told02:11
TronicAnd why is not included by Nokia, anyway? Licensing issues?02:11
befordcool artemma02:11
artemmaI've seen some post on the web that was pretty much apt-get one package for skype ui02:12
artemmaenabled contacts and chat perfectly02:12
artemmabut not calls02:12
itsnotabigtruckTronic: see /query02:13
itsnotabigtruckand licensing issues wouldn't be surprising02:13
Tronicartemma: This one, I presume:
itsnotabigtruckperhaps they have to pay a per-unit fee02:13
artemmaTronic: yep, that one02:13
itsnotabigtruckbut it's fairly trivial to install it, all you have to do is load up the packages for n902:13
artemmanot sure what else is needed for calss02:13
artemmafor calls02:13
ieatlintsomething about the licencing claim makes no sense... why would skype be against it on n950s?02:14
ieatlintthey have free apps with no adverts for pretty much every phone platform02:14
itsnotabigtruckieatlint: if nokia doesn't feel like paying $n for each n950 they ship out02:14
itsnotabigtruckbut that's all conjecture02:14
ieatlintyeah, my point is why would there be a licence fee at all when skype wants you to get the app for free everywhere else?02:15
ieatlintskype makes its money on subscribers, not licensing02:15
*** gabriel9 has quit IRC02:16
*** heymaster has joined #harmattan02:19
kimjumight not be even a fee, just that they have agreement allowing distributing it with n9, but someone forgot to mention n950 there. and then nokia is playing it safe..02:19
ieatlintthat would make more sense02:21
*** artemma has quit IRC02:24
*** benares_98 has quit IRC02:27
*** benares_98 has joined #harmattan02:30
M4rtinKprecompiling the Mieru python files shaves about 500 ms from startup time02:33
*** adlan has quit IRC02:47
TronicM4rtinK: How long is the startup time in total?02:49
TronicNot really that surprising: parsing text is rather slow.02:50
GeneralAntillesSleep deprivation land, ho!02:53
*** b3ll has quit IRC02:54
*** GeneralAntilles has quit IRC02:55
*** b3ll has joined #harmattan02:56
*** zk8 has joined #harmattan03:33
*** adlan has joined #harmattan03:35
*** M4rtinK has quit IRC03:48
*** zk8 has quit IRC03:49
*** iHile has quit IRC03:54
*** risca has joined #harmattan04:39
*** auenf has quit IRC04:45
*** auenf has joined #harmattan04:46
*** beford has quit IRC04:58
*** GeneralAntilles has joined #harmattan04:58
*** benares_98 has quit IRC05:38
*** Natunen has joined #harmattan05:48
*** oberling has joined #harmattan05:51
*** oberling_ has quit IRC05:54
*** MeegoUpload has joined #harmattan06:58
*** MeegoUpload has quit IRC06:58
*** risca has quit IRC06:59
*** djszapi has left #harmattan07:00
*** risca has joined #harmattan07:12
itsnotabigtrucklol, i was four shells deep just now07:20
*** daniel_o has quit IRC07:20
itsnotabigtruckneed to go...deeper07:20
*** b3ll has quit IRC07:39
*** hardaker has quit IRC07:44
*** xarcass has joined #harmattan07:52
*** djszapi has joined #harmattan08:09
*** djszapi has left #harmattan08:09
*** mece has joined #harmattan08:21
*** djszapi has joined #harmattan08:43
djszapimeh, -21 outside :)08:43
* xarcass clearly remembers how it feels when there is -54 outside08:45
djszapiI missed the bus last night, and the next one came in 20 minutes..Was really considering taxi..08:46
djszapiHow can I do this in QML: var sourceDestinationLetterIndexHash = new Array(); ? Shall I define a list/variant property instead, or what is the way of having a global variable for scripting ? I need it only for 4-5 lines below, thus I would not like to establish a separate "js" file and import for that goal.08:53
*** bemasc has quit IRC09:06
xarcassI always had "Constants.js" - like Nokia recommends - file which is included in each QML in any case, so i'd put that array there09:07
djszapiI find it more "administration" overhead than benefit. On the contrary, it is not any const by the way.09:08
*** MohammadAG has quit IRC09:22
*** MohammadAG has joined #harmattan09:22
*** risca has quit IRC09:31
*** leinir has quit IRC09:40
*** leinir has joined #harmattan09:50
*** leinir has joined #harmattan09:50
*** zk8 has joined #harmattan09:53
*** jreznik has joined #harmattan09:56
*** gabriel9 has joined #harmattan09:58
*** bemasc has joined #harmattan09:59
*** zk8 has quit IRC09:59
*** jreznik_n9_ has joined #harmattan10:03
*** tbf has joined #harmattan10:36
*** snowpong has joined #harmattan10:46
fralsZogG_laptop: pong10:47
*** lamikr has joined #harmattan10:50
*** tbf has quit IRC10:57
*** tbf has joined #harmattan10:58
*** jreznik_n9__ has joined #harmattan11:03
*** jreznik_n9_ has quit IRC11:03
*** DocScrutinizer has quit IRC11:06
*** DocScrutinizer has joined #harmattan11:06
*** jreznik_n9__ has quit IRC11:09
*** jreznik_n9__ has joined #harmattan11:10
*** nebulon has joined #harmattan11:13
ZogG_laptopfrals: oh god hwey11:37
ZogG_laptopi was trying to reach you in all ways =)11:37
djszapitoo late to start one for this year, but one might consider it for next year... ;)11:38
djszapi(if we use Harmattan in one year at all)11:38
petteriwhy not11:39
ZogG_laptopfrals: anyway you can show small examples of xauth usage? (i know u developed twitter app, or it least fixed bugs and i assume i uses xauth), there is no documentation of xauth i could find11:40
djszapi -> it might be a workaround for now.11:40
*** jreznik_n9__ has quit IRC11:42
ZogG_laptopi think i saw harmattan fosdem app11:44
djszapilink ?11:45
ZogG_laptopbut anyway i think option to add calendar integration in rss would be good11:45
ZogG_laptopdjszapi: "i think i saw"11:46
ZogG_laptopso you can add eent thru it and no need in separete app11:47
djszapicalendar is for different purpose11:47
djszapicalendar is more about date, and this is more about time during given day(s)11:48
djszapiThe middle button in the bottom has such a feature though without separated rooms though.11:49
ZogG_laptopcalendar app has time and notifications as well as there is nice app showing them on feed11:49
djszapianyway, it is theoritical for now, is my workaround for the practice. :)11:50
RzRdjszapi: you can install !FosDem on !HarmatTan #n9 / !n950club , I can show you how and met !mAEmo !MeeGo !TiZen11:51
djszapiRzR: is it cpp or qt-components ?
RzRqt cxx11:52
djszapiZogG_laptop: I am sorry, but I am now looking for a working solution, not new project design :D11:52
djszapiI do not have time for that ...11:52
djszapiRzR: yeah, I pasted that one yesterday, but ... it is usable ?11:52
RzRseems so11:53
ZogG_laptopdjszapi: say what?11:53
djszapiRzR: why do you provide the c-obs source project link, instead of the debian packages, or at least those too ?11:53
ZogG_laptopdjszapi: add repo and install11:54
djszapiZogG_laptop: no sorry I do not mess up11:54
*** jreznik_n9__ has joined #harmattan11:57
djszapiRzR: please add this link to your page:
djszapithis one needed, too:
*** thp has quit IRC12:00
ZogG_laptopdjszapi: he provide repo with apps - if you don't want to install repo - it's up to you to get the debs manualy12:00
*** thp has joined #harmattan12:00
djszapiZogG_laptop: you are not following me.12:00
djszapiI am saying to add 2 lines - as everybody else does btw - to the wiki with the debian package.12:01
djszapiwhat can be disagreed about this ?12:01
ZogG_laptopcoz he has wiki to almost every ptoject =)12:02
ZogG_laptopwhat the point of repo if all debs in wiki =)12:03
djszapiNo, that is untrue. There are links to special apps there. oh well, you disregard the point: making people's life simpler.12:04
*** jbos has quit IRC12:16
*** abinader has quit IRC12:17
*** leinir has quit IRC12:22
*** faenil has joined #harmattan12:23
*** adlan has quit IRC12:29
djszapiRzR: it is really widget app for Harmattan :D12:30
djszapithis is lol ... so much money with so simple app :D12:36
*** M4rtinK has joined #harmattan12:36
*** jreznik_n9__ has quit IRC12:38
*** leinir has joined #harmattan12:39
faenilare you sure it's simple? :)12:41
faenilbecause I talked to the author when I used to make custom firmwares for symbian phones12:42
faeniland he said that app is driver-level IIRC12:42
jussidjszapi: you havent emailed me with your account plugin, could you do that?12:42
djszapifaenil: pretty simple12:42
djszapiactually there are more applications like that.12:43
djszapiand one of them is even open source ...12:43
faenilcould be easier on N9 :)12:43
*** stroughtonsmith_ has joined #harmattan12:43
faenilI remember he had to make a new versions for every new version of the official firmware (almost) on symbian phones12:44
faenilanyway, 50k is a lot of money :D12:45
jussidjszapi: thank you good sir :)12:46
djszapijussi: it is not fully functioning12:49
djszapibut you can get the idea.12:50
djszapifaenil: we do not change the kernel api on Harmattan12:52
djszapiand you do not need to interact with it in any sense anyway12:52
faenilok ;) just spent my 2 cents on the matter12:52
faenilI don't think they do on symbian firmwares either12:52
faenilbut still, he had to adapt it lots of times..12:53
*** artemma has joined #harmattan12:55
djszapifaenil: sounds really strange.12:57
faenilit does :) but let's not continue, it was 2 years ago and I could be reporting wrong memories :D12:57
*** nid0 has quit IRC12:59
*** nid0 has joined #harmattan12:59
ZogG_laptopfrals: =\13:00
*** artemma has quit IRC13:03
matrixxwow that confclerk needs bigger buttons and scrollbar13:07
matrixxmy fingers are too big :S13:07
*** artemma has joined #harmattan13:10
*** jluisn has joined #harmattan13:10
djszapijonni: could you please test a simple app on PR1.0 ?13:14
jonnisorry I'm in germany currently, and I dont have PR1.0 device with me.13:15
djszapiOh, np =) escaped from the cold weather ? :P13:16
*** Saviq is now known as Saviq|review-fre13:20
*** Saviq|review-fre is now known as Saviq|MR-frenzy13:20
gabriel9last night i tried to add some wav files to my app(music box)13:27
gabriel9and i can add some of them, but some of them can't be added . Some aegis complains :/13:27
gabriel9and i need all sounds13:27
gabriel9anyone got anything like that? is there some limit on the number of file wav or anything strange like that?13:28
gabriel9and phone in one moment complains about not having free memory13:29
gabriel9i have 64GB :D13:29
*** dymaxion has quit IRC13:57
*** lizardo has joined #harmattan13:58
*** nwoki has joined #harmattan14:00
auenfgabriel9, how much space is left in root?14:03
gabriel9installed aps 2.4 of 4.214:04
gabriel9app data 302MB of 2.1GN14:04
gabriel9User data 2.1GB of 5714:04
auenfaltho, wav files should go in /home/user/MyDocs anyway, which is a 53.7G partition on 64gb n9's14:04
djszapifound a cool way of testing an app against PR1.0 build without PR1.0 device14:05
djszapivery cool !14:05
auenfhow big are the wav files?14:05
gabriel9damn small14:05
*** smoku has joined #harmattan14:06
auenfdjszapi, i know someone who cant install PR1.1 yet14:06
*** smoku has left #harmattan14:06
djszapiauenf: that does not effect my solution.14:07
fralsZogG_laptop: i can check when im off work, unfortunately during work hours i have to... work ;)14:10
*** faenil has quit IRC14:10
*** dymaxion has joined #harmattan14:11
*** jluisn has quit IRC14:20
* RST38h yawns14:21
*** jluisn has joined #harmattan14:24
*** Free-MG has joined #harmattan14:28
*** lamikr has quit IRC14:29
*** zz_gri is now known as gri14:35
*** etrunko has joined #harmattan14:35
*** lamikr has joined #harmattan14:38
gridjszapi: escaping from cold weather? In Germany it's also -12°C :) I know you have less in Finland but both is pretty cold :D14:41
*** tonyoy has joined #harmattan14:42
djszapigri: that is a like a sauna for us :D14:42
griI know you use your fridge for heating food :P14:43
djszapiahaha :D ...will be a huge change for me to relocate to New Zealand14:46
*** adlan has joined #harmattan14:48
auenfits a cold summer here :P14:52
auenfonly hit a wet 18c today14:53
jreznikauenf: ah, I want it! cold everywhere outside and overheated inside...14:53
auenfour winter is warmer than this summer :P14:54
*** b3ll has joined #harmattan14:54
*** briglia has quit IRC14:55
auenfmonday was a dry 29c14:56
auenferr, tuesday14:56
*** briglia has joined #harmattan14:57
auenfmonday was 34c aparently14:58
auenfthats more like summer :P14:58
*** faenil has joined #harmattan14:59
*** Saviq|MR-frenzy is now known as Saviq|mtg15:01
*** heymaster has quit IRC15:02
auenfanyway, definately sleep time...15:03
djszapiauenf: where do you live ?15:04
djszapiCamden, New South Wales ?15:04
*** tbf_ has joined #harmattan15:07
*** tbf has quit IRC15:10
jussiits kinda cold here today...15:12
*** longthen1 has quit IRC15:12
sp3000fine, you win ;)15:13
*** tbf_ has quit IRC15:13
sp3000ooh, single digits for monday. toasty!15:14
*** longthen has joined #harmattan15:14
*** tbf_ has joined #harmattan15:25
*** dymaxion has quit IRC15:36
*** mgedmin has quit IRC15:38
*** mgedmin has joined #harmattan15:38
*** zk8 has joined #harmattan15:49
*** etrunko has quit IRC15:49
*** etrunko has joined #harmattan15:50
djszapigri: pingy15:55
djszapido you know how to make an array in qml nicely ? I cannot apparently use global javascript array in qml, and I would not like to import a js code for such a simple case as mine.15:56
djszapiI was considering the list/varian property types for this... I need to map an integer value to another integer, but one dimension is static enough, as in incremental indices; that is why an array/list/vector would be well feasible.15:56
grierm, just the static way with property variant blah: [1,2,3,4]15:57
djszapigri: I would like to change it dynamically (insert/append)15:57
grithen no idea, sorry15:57
djszapiit would be empty after the initialization time.15:57
griI do most things on c++ side, so I was never faced with this :)16:00
*** hardaker has joined #harmattan16:10
radiofreedjszapi: could you use a variant?16:12
radiofree    property variant foo;16:12
radiofreethen in some initialisation (component oncomplete?) do something like foo = { "Key1":1, "Key2":2 ... }16:12
radiofreeComponent.onCompleted even..16:13
djszapiradiofree: I would like to dynamically add/remove16:14
djszapiif that is possible with list/variant properties, I am all for it.16:14
djszapithe list documentation writes about objects, not int.16:15
*** b3ll has quit IRC16:15
radiofreelooks like it might be javascript only16:20
radiofreeat least foo = {}, foo["SomeKey"] = "bar" doesn't work16:20
radiofreebut var hash = {}; hash["SomeKey"] = "bar" does, then I can dynamically changed hash["SomeKey"] = "New foo" etc..16:21
*** xarcass has quit IRC16:22
*** benares_98 has joined #harmattan16:23
*** virtuald has quit IRC16:23
radiofreedjszapi: not ideal, but you can just created a javascript file16:24
radiofreevar hashMap = {};16:24
radiofreethen import "hasmap.js" as HashMap16:24
radiofreeand do HashMap.hashMap["FOO"] = "BAR" etc..16:24
*** virtuald has joined #harmattan16:26
radiofreeyou can also do delete HashMap.hashMap["FOO"] as well16:28
*** Free-MG has quit IRC16:38
djszapiI would use 3-4 additional lines with the variable, so I would not like to create a separate module with all its separation overhead16:40
djszapilicense, error-proneness at importing, build system registration etc16:40
*** benares_98 has quit IRC16:42
*** benares_98 has joined #harmattan16:45
*** beford has joined #harmattan16:50
griis gitorious down again?16:53
griah, it is.16:53
djszapigri: wrong type of question. We need to ask when it is up: "Is gitorious up again?" ;)16:54
grieven if it's up, it's sometimes slow as hell16:56
*** Free-MG has joined #harmattan16:56
*** Free-MG has quit IRC16:57
*** Free-MG has joined #harmattan16:57
*** rm_work has joined #harmattan16:58
*** rm_work has joined #harmattan16:58
*** b3ll has joined #harmattan17:08
djszapiradiofree: imho, a dynamical int list/vector/array would fit better according to the use case.17:08
djszapibut variant seems to work.17:08
radiofreedjszapi: it's not that much work to implement your own (with associated push/pop methods if you want them) in javascript and just import it17:11
djszapiradiofree: I dislike the idea "importing".17:12
djszapibecause I would use the variable only for 3-4 lines.17:12
djszapi"Since this operation is inefficient, if a list or map should be modifiable, it is better to use alternative approaches. For example, you could implement a custom C++ list element, or write to a JavaScript object defined from within a JavaScript file." -> This is a sad state of the art.17:14
radiofreeyes, there's a lot of things lacking in qml17:15
djszapiso I will need a javascript file with one line, nifty :D17:17
radiofreedjszapi: yes, if you feel "var hash = {}" looks a bit lonely, I suppose you could always implement some methods as well ;)17:18
djszapieven html has options for embedding javascript script.17:20
djszapiwithout having a separate file.17:20
radiofreeyou can embed javascript functions in the qml, but you want a globally accessible list, so thats not much help...17:21
djszapino, I do not wanna.17:21
djszapiI wanna have a "static" variable according to the C/C++ terms.17:21
djszapior just local to the root object.17:21
radiofreeit's a bit nonsense how there's no basic type for this17:22
radiofreevariant will work if you don't need it to be dynamic17:22
radiofreebut you do.. so... hmm17:22
djszapior temporary copy17:22
djszapior reassign everything17:23
djszapibut that is not really nice wrt performance.17:23
*** zk8 has quit IRC17:24
djszapido I also need to include this ? .pragma library17:25
radiofreethat's to indicate it's stateless, you don't need that if you're only including it from one place17:26
radiofreeit's probably a good idea to put it in though17:26
radiofreewell.. really, it depends how you want to use it17:27
radiofreeif you want the hash/array to be unique for all includes, then add that, if you want the type to just be exposed wherever you include it, dont17:27
radiofreesorry, i meant the hash/array to be the same for wherever it is included = use .pragma library17:28
radiofreewithout it, each include "foo.js" will use a unique copy17:28
radiofreeI seem to remember that being the case anyway, I haven't done much QML in quite some time17:29
grithe Qt ios port is near, yay :)17:32
fluxreally? whoa17:33
fluxwhen is the WP7/8 port ready?-)17:33
*** Saviq|mtg is now known as Saviq17:34
djszapiflux: in half a year, we can check it out17:36
djszapiwith the Tango thingie17:36
djszapiguys at nokia work on that17:36
fluxsomewhat surprising I would say, but nice to hear Qt has semiofficial continuation on these new platforms as well17:36
gridoes "we" in that context mean people with access to internal systems or public users?17:36
djszapiofc public17:37
*** b3ll_ has joined #harmattan17:38
*** b3ll has quit IRC17:39
*** b3ll_ is now known as b3ll17:39
*** torarne has joined #harmattan17:40
grigreat :) that may ease development for multiple platforms a bit :)17:40
djszapiwell, do not forget the fact we also need declarative and components...17:41
torarneQ: What's the best way to modify the sms/conversaations database? I synced between two N9s and now i've got 4-5 copies of each SMS, on both phones :(17:41
gridjszapi: Yeah I meant for applications that don't need the components17:42
radiofreetorarne: tracker-sparql -q "select ?u { ?u a nmo:SMSMessage }"17:42
radiofreegood luck!17:42
torarneradiofree: thanks!17:42
djszapigri: is there such an app ? :o17:43
gridjszapi: Not yet but within next week I get a new commercial project for ios and android and I have no idea yet what to do :) I mean either write the needed components myself or port the existing ones to android/ios without caring about their theme look (and missing all images)17:44
djszapithat is the thing17:44
djszapisee ?17:45
djszapipure qml is just poor qml :D17:45
griyou should not create a shirt with that slogan17:45
radiofreetorarne: it's probably more useful for you to select something that will be the same in the messages aswell.. since you're hunting for duplicates...17:46
radiofreetracker-sparql -q "select ?u ?ptc { ?u a nmo:SMSMessage; nie:plainTextContent ?ptc }" probably17:46
torarneradiofree: i know when i did the sync, so i figured id do some sort of delete from sms where created_at > date;17:47
*** Nirkus has joined #harmattan17:47
*** Nirkus has joined #harmattan17:47
radiofreegood idea17:48
torarneradiofree: that's some weird query syntax though, will have to read up on that :)17:48
radiofreeit's sparql17:48
torarneas long as it has a delete method, and the creation time of each message is stored or i have an id to go by i should be good17:48
radiofreeyes, tracker#added is what you'll need17:49
radiofreefor deletes use tracker-sparql -qu "foo"17:50
torarnenice, thanks!17:50
*** nwoki has quit IRC17:52
*** nwoki has joined #harmattan17:53
*** nwoki has joined #harmattan17:53
*** b3ll has quit IRC17:54
*** leinir has quit IRC17:54
*** risca has joined #harmattan17:56
radiofreetorarne: something like :  tracker-sparql -q "select ?u ?ta ?ptc { ?u a nmo:SMSMessage; tracker:added ?ta; nie:plainTextContent ?ptc FILTER (?ta > \"2012-02-00T00:00:00Z\") } ORDER BY ?ptc"17:59
torarnehow do i modify that to be a select rather than a delete, so i can check that it will do the right thing?18:00
torarneto print all the selects?18:00
radiofreethat's a select18:00
radiofreeso you should see the message id, the date added to tracker, and the actual text message18:00
torarneah, nice, and then to make that delete the records? -qu?18:00
* torarne tries18:00
radiofreetorarne: you need to use the DELETE syntax for deletes18:03
torarnein the select, how do i order them by the date, not the message?18:04
torarneit's right there, in the query18:04
torarnenever mind :P18:04
*** lamikr has quit IRC18:08
*** leinir has joined #harmattan18:09
*** leinir has joined #harmattan18:09
torarneradiofree: okey, so i did an initial import 2012-01-25T10:21:29Z18:09
torarneradiofree: then a series of imports at 2012-02-01T22:16:40Z ++18:09
*** nwoki has quit IRC18:10
torarneradiofree: i'd like to keep everything from the first import, and the unique messages between the first and second import18:10
*** gabriel9 has quit IRC18:10
*** nwoki has joined #harmattan18:11
radiofreeslightly more complicated, you'll have to filter by something else that makes them unique i suppose18:11
radiofree !18:11
*** benares_98 has quit IRC18:11
torarneradiofree: so delete from sms where tracker:added > <initial_import_date> AND message_recived_at >= <second import date>18:12
radiofreemaybe you can get the DISTINCT messages based on the ptc?18:12
radiofreesomething along those lines yes18:12
radiofreei can't remember the exact syntax off the top of my head though18:12
torarneradiofree: how do i pull out the schema for the db?18:12
*** nwoki has quit IRC18:13
*** nwoki has joined #harmattan18:14
*** nwoki has joined #harmattan18:14
*** benares_98 has joined #harmattan18:16
djszapiqt5 packages for Harmattan ^ :)18:17
*** nwoki has quit IRC18:17
*** nwoki has joined #harmattan18:17
*** nwoki has joined #harmattan18:17
*** jreznik has quit IRC18:17
*** mece has quit IRC18:22
*** nix-cyrus has joined #harmattan18:22
torarneradiofree: where's the tracker db located, so i can make a backup before i go crazy?18:23
*** artemma has quit IRC18:26
*** b3ll has joined #harmattan18:29
radiofreetorarne: ah.. erm.. sorry, can't remember!18:29
torarnenp :)18:29
radiofreetorarne: if you want to see whats stored for a particular message you can do tracker-sparql -q "select * { <message:id> ?o ?p } "18:30
*** kevin_b has quit IRC18:31
*** Jaffa has quit IRC18:32
*** nwoki has quit IRC18:32
*** kevin_b has joined #harmattan18:32
*** artemma has joined #harmattan18:32
*** nwoki has joined #harmattan18:32
*** Jaffa has joined #harmattan18:32
*** oytunx has joined #harmattan18:33
ZogG_laptopfrals: thanks man, tell what hours you are here or other way to contact you, as i'm always online but always here and it's hard to search thru logs sometimes for reply =)18:36
radiofreetorarne: i just did a little test18:37
radiofreeyou'll want to delete the entire rdfs:Resource for a message18:37
radiofreeso tracker-sparql -qu "delete { ?u a rdfs:Resource } WHERE {?u a nmo:IMMessage; tracker:added ?ta FILTER (?ta > \"2012-02-02T11:50:00Z\") }"18:37
radiofreeyou'll want a nmo:SMSMessage instead of IMMessage though18:37
torarneradiofree: does IMMessage cover both SMS and MMs and facebook and the like?18:38
*** djszapi has left #harmattan18:38
torarneradiofree: the earlier select you gave me gives zero records with ?u a nmo:IMMessage;18:39
radiofreedon't use IMMessage, i was just testing it on immessages18:39
radiofreeyou want nmo:SMSMessage18:39
torarnethanks :)18:39
torarnei added nmo:sentDate ?d;18:39
torarneso i know when it was sent18:39
radiofreetest it with selects though18:41
torarneyepp :)18:41
*** suy has joined #harmattan18:41
radiofreeselect ?u ?ta ?ptc { ?u a nmo:IMMessage; tracker:added ?ta; nie:plainTextContent ?ptc; nmo:sendDate ?d FILTER (?ta > \"2012-01-30T09:00:00Z\") FILTER (?d < \"2012-01-30T09:57:00Z\")18:41
radiofree} ORDER BY ?ta"18:41
torarneworst case i have 5 copies on each sms in the tracker db on the phone i synced _from_ as well :D18:41
radiofreewith a sms message obviously18:41
radiofreeor >= for the d (i think you wanted)18:42
*** nwoki has quit IRC18:42
*** nwoki has joined #harmattan18:43
torarneso FILTER() FILTER(), not FILTER(foo and bar) ?18:43
*** stef_204 has joined #harmattan18:44
*** abinader has joined #harmattan18:44
*** jbos has joined #harmattan18:44
radiofreeI don't know if FILTER( foo and bar) will work, maybe there's some syntax for that18:45
radiofreeat least, backup your tracker db using tracker-control -b file.db :)18:48
*** beford has quit IRC18:53
damaltorradiofree: you guys seem to know about tracker. :) is there a way to reset only one singe database? we just had the case of a corrupted contacts database in the #n9 channel. we ended up using tracker-control -r to clear all databases. is there a way to only reset /home/user/.contacts/tracker instead?18:56
*** djszapi has joined #harmattan18:57
*** mtd has quit IRC19:00
radiofreedamaltor: I suppose you could delete all the contacts using the tracker-sparql -qu command19:00
damaltorradiofree: no, the database was corrupted in a way that even tracker-stats did not work anymore19:00
*** nebulon has quit IRC19:01
radiofreedamaltor: It would appear the entire database is corrupt then19:01
ArkanoiD_who was the inventor of that sick idea to use tracker instead of sqlite for everything?19:02
damaltori have no idea. but i would kill him/her19:02
ArkanoiD_and damn *WHY* did he/she do it?19:03
*** stef_204 has quit IRC19:03
*** xTs has joined #harmattan19:05
*** artemma has quit IRC19:07
*** NIN101 has joined #harmattan19:07
*** lamikr has joined #harmattan19:09
damaltorradiofree: well it obviosly was. after tracker-control -r it works again19:11
*** djszapi has left #harmattan19:11
*** artemma has joined #harmattan19:13
*** stroughtonsmith_ has quit IRC19:17
*** b3ll has quit IRC19:18
*** blueslee has joined #harmattan19:18
*** NIN102 has joined #harmattan19:25
*** b3ll has joined #harmattan19:26
*** risca has quit IRC19:26
*** NIN101 has quit IRC19:27
*** lizardo has quit IRC19:31
*** blueslee has quit IRC19:35
*** lizardo has joined #harmattan19:38
ZogG_laptopwhat elements are used to swipe? or you use mousearea with hold and release?19:46
*** hhartz has joined #harmattan19:48
faenilwhat do you mean to swipe?19:49
torarneradiofree: does the spaqrl on harmattan support the HAVING operation? i keep getting "expected :"19:50
torarneradiofree: tracker-sparql -q "select ?u ?ta ?d ?ptc COUNT(?d) AS ?count { ?u a nmo:SMSMessage; tracker:added ?ta; nmo:sentDate ?d; nie:plainTextContent ?ptc } GROUP BY ?d HAVING(COUNT(?d) > 3)"19:50
ZogG_laptopfaenil: swipe, like swipe between pages or elements, like in mail app or music app19:51
faenilso you want to recognize a normal swipe, not the harmattan one, right?19:51
faenilI know what a swipe is, I wanted to know if you meant the normal swipe or the harmattan special one :P19:52
faenilanyway, there's a GestureArea in QML for that, even if it's not supported as qml element19:52
faenilon that page the special harmattan one is show19:53
faenilthe one you use to send software to background19:53
ZogG_laptopyeah i tried to add it, do i need to include something special for it?19:54
faenildon't remember19:55
faenilmaybe import qt.labs.gestures or something like that19:55
ZogG_laptopyeah i saw it's deprecated and they use pintch instead19:55
ZogG_laptopbut it doesn't have swipe19:55
tommaoh it was some discontinued experiment19:56
*** zk8 has joined #harmattan19:58
*** faenil has quit IRC20:03
torarneradiofree: i can't seem to delete records :(20:04
torarneradiofree: tracker-sparql -qu "delete { ?u a rdfs:Resource } WHERE {?u a nmo:SMSMessage FILTER (?u = 5127) }"20:05
torarnethe 5127 record is still there20:05
torarnesame if i do tracker-sparql -qu "delete { ?u a nmo:SMSMessage } WHERE {?u a nmo:SMSMessage FILTER (?u = 5127) }"20:05
*** jluisn has quit IRC20:07
*** snowpong has quit IRC20:09
*** jluisn has joined #harmattan20:11
*** blueslee has joined #harmattan20:20
*** oytunx has quit IRC20:21
*** benares_98 has quit IRC20:23
*** gri is now known as zz_gri20:25
*** torarne has quit IRC20:30
*** zz_gri is now known as gri20:46
*** gri is now known as zz_gri20:46
*** blueslee has quit IRC20:50
*** zz_gri is now known as gri21:07
radiofreetorarne: ping21:08
*** b3ll has quit IRC21:10
phakoradiofree: he left21:12
griyay, I just started the ps3 for the first time in 2012 to play a little bit online ... playstation network maintainance ... ok, then I go for offline: hangs up when starting the game :P21:12
*** zk8 has quit IRC21:13
*** artemma has quit IRC21:17
*** zk8 has joined #harmattan21:17
npm@nokia_connects wow I guess we weren't supposed to see which looked like an awesome hybrid of buttonless N9 and Tile UX21:19
npm@Nokia_Connects My reply to "Everything is going to be gesture controlled in the future. What purpose do physical buttons serve?" disappeard21:20
npmi even spell checked it :-(21:20
*** zk8 has quit IRC21:20
SpeedEvilDid it contain the words retarded monkey chainsaw or genitals?21:20
npmonly thing left it the browser cache is pictures :-)21:21
npmno but "offal" got past the censors, when "crap" didn't21:22
*** artemma has joined #harmattan21:23
*** artemma has quit IRC21:28
DocScrutinizerHAH!  Sorry, but you're looking for something that isn't here.21:30
* DocScrutinizer never realized crap was also some XXX word21:32
*** jbos has quit IRC21:32
*** abinader has quit IRC21:32
*** b3ll has joined #harmattan21:32
*** jbos has joined #harmattan21:33
*** abinader has joined #harmattan21:33
DocScrutinizermaybe for puritans that also think alike of "damn" and "bloody"21:33
DocScrutinizerdman bolody carp21:34
*** artemma has joined #harmattan21:34
DocScrutinizeror in good ol'German: Wattenscheit21:35
*** artemma has quit IRC22:06
*** b3ll_ has joined #harmattan22:09
*** b3ll has quit IRC22:11
*** b3ll_ is now known as b3ll22:11
*** artemma has joined #harmattan22:13
*** djszapi has joined #harmattan22:23
*** benares_98 has joined #harmattan22:23
*** b3ll has quit IRC22:26
*** Free-MG has quit IRC22:29
*** RzR is now known as rZr22:35
*** blueslee has joined #harmattan22:37
*** etrunko has quit IRC22:40
djszapiI thought the indices of the Repeater beging from zero...apparently not for some reason.22:41
djszapiwhat am I missing ?22:41
djszapi -> It should begin with zero, but I am always getting "1" as the first index :/22:42
*** djszapi has left #harmattan22:43
*** faenil has joined #harmattan22:53
*** djszapi has joined #harmattan22:55
djszapiheh, it was my n00b fault. Next question: can I modify qml model elements or just with reassigning the whole stack ? For instance, I have a stringlist in it.22:55
*** blueslee has quit IRC23:01
*** lizardo has quit IRC23:02
*** gabriel9 has joined #harmattan23:03
Jaredoes "skyhost" have something to do with skype?23:14
Jarejust wondering why it's listening on port 654623:14
*** artemma has quit IRC23:17
*** tbf_ has quit IRC23:17
*** artemma has joined #harmattan23:23
*** fuz_ has quit IRC23:25
*** fuz_ has joined #harmattan23:30
*** nix-cyrus has left #harmattan23:31
*** jluisn has quit IRC23:32
*** jluisn has joined #harmattan23:35
*** firevampire has joined #harmattan23:40
*** jluisn has quit IRC23:43
*** firevampire has quit IRC23:50
Jareis anyone doing an iptables gui for the n9? I would prefer a reasonably configured firewall since iptables is already built-in23:57
Jareeven an on/off switch would be sufficient23:57

Generated by 2.15.1 by Marius Gedminas - find it at!