00:04.41 | aquarius | aha. Wifi problem replicated. |
00:04.54 | aquarius | so, currently, I am sshed into the N9 over USB |
00:05.12 | aquarius | and the browser can't see the internet -- "Couldn't open page" |
00:05.31 | aquarius | it thinks it's connected to wifi (that is: it's in the top bar) |
00:05.37 | aquarius | and my router sees that it has an IP |
00:05.47 | aquarius | nothing in syslog |
00:05.58 | aquarius | is there anything useful I can do to debug? |
00:07.00 | aquarius | and, of course, now it starts working, after five minutes of hitting refresh and it not working. As soon as I try "ifconfig", the problem resolves itself. |
00:07.07 | aquarius | Heisenberg, eat your heart out. |
00:16.15 | ZogG_laptop | nice monolog dude =) |
00:16.48 | aquarius | :) |
00:17.58 | aquarius | it is possible that all that's happening is that the N9 is (correctly) dropping off the network and then reconnecting when I ask it to |
00:18.00 | aquarius | I don't mind that |
00:18.19 | aquarius | if that's the case, though, I wish the top bar wouldn't lie and show the wifi symbol. ;) |
00:19.27 | aquarius | anyway, time for bed. |
00:20.32 | ZogG_laptop | night |
00:30.02 | *** join/#harmattan b0unc3 (~b0unc3@dynamic-adsl-84-220-56-106.clienti.tiscali.it) |
00:30.53 | *** join/#harmattan DocScrutinizer2 (~halebob@openmoko/engineers/joerg) |
00:46.34 | *** join/#harmattan bef0rd (~fernando@unaffiliated/beford) |
00:47.12 | *** join/#harmattan beford (~fernand0@unaffiliated/beford) |
00:49.28 | *** join/#harmattan b0unc3 (~b0unc3@dynamic-adsl-62-10-93-59.clienti.tiscali.it) |
00:58.50 | *** join/#harmattan DocScrutinizer2 (~halebob@openmoko/engineers/joerg) |
01:01.07 | *** join/#harmattan DocScrutinizer2 (~HaleBopp@openmoko/engineers/joerg) |
01:10.02 | mtd_ | anyone know how N9(50)'s face recognition works? what the software is called? It is quite cool... |
01:10.31 | mtd_ | cannot believe it's haar-cascade based, given the training times. |
01:17.24 | Elleo | mtd_: well, there's a custom gstreamer element called facetracking, presumably that's what handle it |
01:17.28 | Elleo | handles* |
01:17.59 | Elleo | as to the method used I have no idea, since it's a proprietary plugin |
01:34.43 | SpeedEvil | Posts image to server, has person in india compare pictures. |
01:36.36 | DocScrutinizer2 | hehe |
01:40.25 | *** join/#harmattan b0unc3 (~b0unc3@dynamic-adsl-62-10-90-79.clienti.tiscali.it) |
01:40.40 | ieatlint | i can vouch for that as being the method |
01:42.28 | ieatlint | contemplates hiring the day workers who stand outside the nearby hardware store to write his design doc so he doesn't have to |
01:44.13 | ieatlint | "why'd you write your design document in spanish with a pen and paper?" "uh... no sé" |
01:50.25 | *** join/#harmattan diorahman (~diorahman@118.97.180.124) |
01:52.28 | diorahman | I didn't do anything, I received the device in that way |
01:53.03 | diorahman | I just frustrated to make it work, maybe there are other ways except usb |
02:10.59 | mtd_ | Elleo: ooh |
02:13.57 | GeneralAntilles | Somebody in Europe want to price this for me: http://store.ovi.com/content/279408 ? |
02:14.53 | Tronic | Says € 1,00 on the website. |
02:14.57 | GeneralAntilles | OK |
02:15.00 | GeneralAntilles | Thanks |
02:15.01 | Tronic | Including VAT. |
02:15.11 | Tronic | $ 1,00 in USA? |
02:15.25 | GeneralAntilles | $0.99 in the US |
02:16.02 | Tronic | Plus sales tax? |
02:16.33 | Tronic | (not that it really matters) |
02:20.14 | *** join/#harmattan diorahman_ (~diorahman@118.97.180.124) |
02:20.28 | GeneralAntilles | Tronic, sales tax is a state issue |
02:20.48 | GeneralAntilles | as Nokia Store doesn't have any local stores that I'm aware of . . . |
02:20.54 | GeneralAntilles | Depends on how they incorporated |
02:21.10 | GeneralAntilles | But, I doubt there's anywhere charging sales tax on the Nokia Store in the US. |
02:28.26 | ieatlint | assuming you can charge it via your carrier, then you'd pay sales tax on it when you get your monthly bill |
02:38.31 | *** join/#harmattan hardaker (~hardaker@mail.hardakers.net) |
02:48.40 | DocScrutinizer | ~ping |
02:48.40 | infobot | ~pong |
02:51.38 | *** join/#harmattan natunen (~nalle@213-186-240-19.bb.dnainternet.fi) |
02:55.49 | *** join/#harmattan b0unc3 (~b0unc3@dynamic-adsl-84-221-12-168.clienti.tiscali.it) |
02:57.52 | *** join/#harmattan diorahman_ (~diorahman@118.97.180.124) |
03:12.47 | *** join/#harmattan diorahman_ (~diorahman@118.97.180.124) |
03:18.11 | *** join/#harmattan imunsie (~imunsie@ibmaus65.lnk.telstra.net) |
03:29.40 | *** join/#harmattan diorahman_ (~diorahman@118.97.180.124) |
03:37.38 | Tronic | The sales tax seems rather minor in any case, compared to our VAT of 23 % (next year 24 %, and Sweden already has 25 %). |
03:37.39 | *** join/#harmattan b0unc3 (~b0unc3@dynamic-adsl-84-220-56-128.clienti.tiscali.it) |
03:44.56 | *** join/#harmattan imunsie (~imunsie@ibmaus65.lnk.telstra.net) |
04:09.04 | GeneralAntilles | Tronic, thus why our economy tends to do better. :P |
04:19.31 | *** join/#harmattan b0unc3 (~b0unc3@dynamic-adsl-62-10-93-30.clienti.tiscali.it) |
04:36.29 | mtd_ | Elleo: I am amazed at how concise stuff like https://github.com/Elleo/gst-opencv/blob/master/examples/python/facedetect.py is |
04:38.02 | *** join/#harmattan adlan (~adlan@115.85.128.54) |
04:47.51 | Elleo | mtd_: thanks, :) |
04:48.44 | Elleo | although I don't maintain those plugins anymore, they've become part of one of the main gst-plugins packages and I think thiagoss looks after them now |
04:53.00 | mtd_ | Elleo: seriously this is cool :). Was stumped for a bit because the haarcascade xml files are in a non-default location on Fedora but now have a happy blue circle on my face :) |
04:53.27 | mtd_ | Elleo: now if only I could do face recognition I could unlock my PC with a small python script. |
04:53.30 | mtd_ | :) |
04:53.38 | mtd_ | Elleo: thanks for the pointer about thiagoss |
04:53.43 | mtd_ | Elleo: will thank him too |
04:56.06 | Elleo | mtd_: great :) |
04:57.34 | Elleo | mtd_: if you're interested I have an old post on my blog about using the face blurring plugin on an n900: http://blog.mikeasoft.com/2010/06/17/gstreamer-opencv-plugins-on-the-nokia-n900/ |
04:59.31 | mtd_ | Elleo: thanks, that's very cool |
05:01.56 | *** join/#harmattan lamikr (lamikr@nat/nokia/x-dqjhflfdzxdlixld) |
05:13.08 | *** join/#harmattan DocScrutinizer2 (~HaleBopp@openmoko/engineers/joerg) |
05:31.12 | *** join/#harmattan piggz (~piggz@host-92-18-176-67.as13285.net) |
05:31.40 | *** join/#harmattan natunen (~nalle@213-186-240-19.bb.dnainternet.fi) |
05:32.36 | *** join/#harmattan gabriel9 (~gabriel9@137-70-246-188-bl.cable.dyn.broadband.blic.net) |
05:47.20 | *** join/#harmattan GonzoTheGreat (~quassel@loki.atnf.csiro.au) |
06:18.47 | *** join/#harmattan fignew (~woowoo@user-1121lt9.dsl.mindspring.com) |
06:21.29 | *** join/#harmattan e-yes (~e-yes@94.45.169.247) |
06:55.59 | *** join/#harmattan rcg1 (~rc@84.122.33.18.dyn.user.ono.com) |
06:56.41 | *** join/#harmattan rnovacek (radek@nat/redhat/x-gutlbskodmqcltph) |
06:58.55 | *** join/#harmattan gabriel9|work (~quassel@79.143.160.58) |
07:05.01 | *** join/#harmattan elldekaa (~hyviquel@dyn-177-185.public.tut.fi) |
07:05.57 | *** join/#harmattan tom (~tom@93.186.147.97) |
07:20.15 | *** join/#harmattan diorahman (~diorahman@118.97.180.124) |
07:25.05 | *** join/#harmattan jreznik (jreznik@nat/redhat/x-swebagxmeqfvomkx) |
07:46.15 | *** join/#harmattan aquarius (~aquarius@cpc5-dudl10-2-0-cust29.wolv.cable.virginmedia.com) |
07:46.40 | *** join/#harmattan aquarius (~aquarius@cpc5-dudl10-2-0-cust29.wolv.cable.virginmedia.com) |
07:50.31 | *** join/#harmattan ArkanoiD_ (~ark@swsoft-msk-nat.sw.ru) |
07:51.43 | *** join/#harmattan lamikr (lamikr@nat/nokia/x-hrbtltqnjfdzpkja) |
07:51.58 | *** join/#harmattan vladest (~Vlad@195.238.93.36) |
07:58.05 | *** join/#harmattan faenil (~faenil@146.48.107.134) |
08:14.56 | ZogG_laptop | Elleo: the eyrie worked on n9, though tested one song |
08:15.10 | Elleo | ZogG_laptop: great :) |
08:15.43 | Elleo | I've been chatting with some of the folks at echonest and it sounds like they should have a mechanism for contributing fingerprints soon |
08:16.20 | Elleo | when that happens I want to write a mafw plugin that automatically sends fingerprints when you listen to stuff, that way N9 users can help other N9 users recognise music just by listening to stuff themselves |
08:19.05 | kimju | just fingerprint everything as rick astley? ;) |
08:19.46 | Elleo | heh |
08:26.40 | *** join/#harmattan cityLights (~nivw@bzq-218-29-26.cablep.bezeqint.net) |
08:27.22 | ZogG_laptop | kimju: i think in about 1 millisecond the reply of echonest is "OH, COME ON!!!!! =\" |
08:28.40 | *** join/#harmattan rcg1 (~rc@ucaip141.uca.es) |
08:34.37 | *** join/#harmattan M4rtinK (~M4rtinK@mail.melf.eu) |
08:35.51 | *** join/#harmattan b0unc3 (~b0unc3@dynamic-adsl-62-10-97-108.clienti.tiscali.it) |
08:37.38 | *** join/#harmattan artemma (~artem@a237-254.24online.fi) |
08:41.35 | cityLights | morning |
08:45.02 | *** join/#harmattan NIN101 (~NIN@p5DD289A5.dip0.t-ipconnect.de) |
09:03.23 | *** join/#harmattan Shaan7 (~quassel@kde/developer/shantanu) |
09:14.42 | *** join/#harmattan tom (~tom@93.186.147.97) |
09:27.43 | *** join/#harmattan GonzoTheGreat (~quassel@124-169-15-87.dyn.iinet.net.au) |
09:33.43 | vladest | hi |
09:34.14 | vladest | is there is a chance to get same set of qt components for harmattanas for symbian? |
09:40.12 | timoph | afaik you could compile them but they would collide with the symbian ones (using same names for different things) |
09:46.03 | GonzoTheGreat | is anybody around who knows about qmobility messaging/location? |
10:00.35 | MohammadAG | I've used location in sociality |
10:01.48 | aquarius | Elleo, I agree that submitting fingerprints would be nice for echoprint, but my understanding was that they were fingerprinting their whole catalogue in the background, rather than expecting that the entire echoprint catalogue will be crowdsourced. Am I wrong about that? |
10:02.28 | flux | how large is their catalogue in the first place? |
10:02.47 | Elleo | aquarius: I'm not sure if they plan on fingerprinting their own catalogue with echoprint like they've done with their other algorithm, but they are certainly planning on making it possible for users to submit fingerprints |
10:03.05 | Elleo | flux: well for their other fingerprinting algorithm they have ~30,000,000 tracks fingerprinted |
10:03.18 | aquarius | flux, the echoprint catalogue is 200,000 songs or so. the ENMFP catalogue (the old-fashioned proprietary fingerprint, which isn't as good technically) is about thirty or forty million -- basically every popular song ever :) |
10:03.25 | *** join/#harmattan snowpong (~espen@156.116.27.2) |
10:03.27 | GonzoTheGreat | MohammadAG you aren't using qml though ;-). Anyway I have trouble sending SMS (c++ mobility) have you encountered this? |
10:03.35 | flux | I bet they don't have many Finnish songs.. ;) |
10:04.04 | aquarius | flux, I admit that when I said "popular" I meant "in the UK and the US" because I am a scumbag English imperialist. Sorry :) |
10:04.05 | Elleo | I have a giant dump of jamendo oggs I'd like to get fingerprinted for them too |
10:05.10 | aquarius | General question: PageStackWindow is lovely, but because it's a meego-specific thing, it makes it hard to build/play with an app without a meego-specific build environment (which I have, but it's annoying). Has anyone got an implementation (which could be pretty basic) of PageStackWindow that works without the meego components? |
10:05.30 | Elleo | aquarius: there's a qt-components package for ubuntu somewhere, hang on |
10:06.09 | Elleo | aquarius: https://launchpad.net/~forumnokia/+archive/fn-ppa/+packages |
10:06.14 | Elleo | bit old though |
10:06.17 | aquarius | I mean, I could just steal PageStackWindow.qml out of the meego components, but that seems like I'll end up in dependency hell :) |
10:06.31 | aquarius | ooh, interesting |
10:06.46 | Elleo | not sure what package you need to get a working theme with it |
10:07.05 | Elleo | although you could probably pinch the blanco theme straight off your device if you want to keep everything looking consistent between the two |
10:07.36 | aquarius | I don't care so much about consistency here -- I'm not looking to *release* an Ubuntu version of my app |
10:07.45 | Elleo | (don't think you'd be able to redistribute blanco, but there's an n900 theme for qt-components that looks very similar you could use if redistribution of the desktop stuff was what you wanted) |
10:08.02 | aquarius | I'd just like to be able to test in a native window, without all the faffing about with xephyr and scratchbox and all that :) |
10:08.06 | Elleo | aquarius: you will need to grab a theme from somewhere, though, otherwise a lot of stuff will just look black |
10:08.09 | *** join/#harmattan pinheiro (~pinheiro@bl15-12-103.dsl.telepac.pt) |
10:08.10 | aquarius | (and this would make sound work, to boot :)) |
10:08.12 | MohammadAG | GonzoTheGreat: Nope, never used the API, what problems though? |
10:11.20 | *** join/#harmattan NIN101 (~NIN@p5DD289A5.dip0.t-ipconnect.de) |
10:13.57 | GonzoTheGreat | the message only get marked as delivered (not sent) and when I monitor dbus I see a reply from the message senter with an error field. |
10:14.25 | GonzoTheGreat | center |
10:16.57 | GonzoTheGreat | the message gets delivered eventually and/or when i send one to the same number via Conversation. |
10:17.42 | *** join/#harmattan natunen (~nalle@213-186-240-19.bb.dnainternet.fi) |
10:25.20 | *** join/#harmattan Natunen (nalle@213-186-240-19.bb.dnainternet.fi) |
10:26.42 | MohammadAG | Oh, no idea then :( |
10:27.01 | MohammadAG | The galaxy sii does that too sometimes :p |
10:31.11 | *** join/#harmattan mschlens (~mschlens@e180025190.adsl.alicedsl.de) |
10:45.09 | GonzoTheGreat | Well another few nights will be wasted doing work arounds. |
10:47.32 | *** join/#harmattan aleksander_m (~aleksande@85.Red-79-152-41.dynamicIP.rima-tde.net) |
10:47.33 | *** join/#harmattan ZogG_laptop (~ZogG_lapt@bzq-79-180-207-36.red.bezeqint.net) |
11:07.30 | *** join/#harmattan GeneralAntilles (~ryan@Maemo/community/contributor/GeneralAntilles) |
11:28.36 | *** join/#harmattan jluisn (~quassel@187.115.172.24) |
11:46.46 | *** join/#harmattan cityLights (~nivw@bzq-218-29-26.cablep.bezeqint.net) |
11:47.42 | *** join/#harmattan liar (~liar@clnet-p09-185.ikbnet.co.at) |
11:54.31 | *** join/#harmattan aleksander_m (~aleksande@85.Red-79-152-41.dynamicIP.rima-tde.net) |
11:54.52 | *** join/#harmattan DocScrutinizer (~halley@openmoko/engineers/joerg) |
12:04.46 | *** join/#harmattan Shaan7 (~quassel@kde/developer/shantanu) |
12:16.39 | *** join/#harmattan elldekaa (~hyviquel@dyn-177-185.public.tut.fi) |
12:34.10 | *** join/#harmattan djszapi (~lpapp@plexyplanet.org) |
12:34.25 | djszapi | How can I access a C++ enum from QML which is not supposed to be in a class, like a specialized Q_OBJECT for nothing ? |
12:39.44 | *** join/#harmattan pa (~pa@unaffiliated/pa) |
12:43.07 | *** join/#harmattan beford (~fernand0@unaffiliated/beford) |
12:54.42 | GonzoTheGreat | djszapi: How about using a QVariantMap instead |
12:55.39 | *** join/#harmattan aleksander_m (~aleksande@85.Red-79-152-41.dynamicIP.rima-tde.net) |
12:56.24 | djszapi | GonzoTheGreat: sounds like a castrated idea ;) |
12:56.48 | GonzoTheGreat | isn't that qml ;) |
13:07.48 | djszapi | GonzoTheGreat: well, I kinda cracked this around two years ago, but I hoped for a more mature qml nowadays :) |
13:12.41 | *** join/#harmattan etrunko (etrunko@nat/ibm/x-ycfviugwsukioomm) |
13:13.00 | artemma | djszapi: I studied it lately. Nothing for non-classed enums in QtQuick 1.1 |
13:13.19 | artemma | barely remember that it could be improved in QtQuick 2.0 |
13:13.38 | artemma | or maybe it was about javascript constants only |
13:14.53 | djszapi | artemma: the problem is also that I need to instantiate the enum with Q_ENUMS usage. That is a bit unhandy, when you would need a status enum instantiated for only one item of the repeater. |
13:15.12 | djszapi | for all items of the repeater*, heh |
13:15.29 | djszapi | I mean in qml, it would be just one-time instantiation inside the relevant element obviously. |
13:15.38 | artemma | I can certainly tell you some workaround tricks, but you know them anyway |
13:15.44 | djszapi | I cannot think of a simple way. |
13:15.55 | artemma | like exposing a C++ model that happens to be a list of all enum values |
13:16.07 | artemma | or mentioned QVariantMap for virtually the same |
13:16.37 | djszapi | I am leaning towards the enum created in qml. |
13:16.43 | artemma | or a C++ side object with a function or two |
13:16.58 | artemma | oh, if pure QL approach is fine for you - why not then :) |
13:17.11 | djszapi | aka. http://paste.kde.org/488528/ |
13:17.14 | artemma | I thought you need enum for interoperating QML <-> C++ |
13:17.25 | djszapi | not too cool since this is something that the library should provide. |
13:17.41 | djszapi | but as far as I see the C++ integration with Qml wrt seems too hacky to my taste. |
13:18.07 | artemma | I use specialized class for just enum in my app |
13:18.10 | artemma | works fine |
13:18.40 | djszapi | The main problem as far as I see that, I would have a status for each element a repeater. |
13:18.52 | djszapi | so ideally, the instantiation should happen inside that element, and not on C++ side. |
13:18.54 | artemma | oh, actually my specialized class uses Q_ENUMS |
13:19.00 | djszapi | I would only need the type defined inside the library. |
13:19.20 | artemma | what's the end goal? |
13:19.32 | djszapi | to have buttons in a repeater with a state enum. |
13:19.54 | artemma | but repeating on some other model? |
13:20.02 | artemma | or one element per one possible status? |
13:20.44 | djszapi | Grid { Repeater { Button { .. property MyEnum myEnum: Init; ... } } } |
13:20.55 | djszapi | with pseudo code ^ |
13:21.30 | artemma | so element in the model have some sort of state that is expressed as enum value |
13:21.42 | artemma | and you want to show different icons for different states |
13:22.09 | djszapi | not sure how this is related to a model. |
13:22.29 | artemma | I was trying to make sure you are trying to iterate the possible enum values |
13:22.33 | djszapi | it would be just a property of an element in a Repeater. |
13:22.43 | artemma | ok, I think I've got it |
13:22.53 | artemma | I had same issue, solved it with a specialized class |
13:22.57 | artemma | just a few lines |
13:23.04 | artemma | class TwContactAvailability : public QObject |
13:23.04 | artemma | { |
13:23.04 | artemma | <PROTECTED> |
13:23.04 | artemma | public: |
13:23.07 | djszapi | so this would be changed willingly according to the need for each button separately. The status, that is. |
13:23.12 | artemma | Q_ENUMS(Availability) |
13:23.12 | artemma | <PROTECTED> |
13:23.12 | artemma | <PROTECTED> |
13:23.13 | artemma | <PROTECTED> |
13:23.17 | artemma | }; |
13:23.22 | artemma | }; |
13:23.25 | artemma | that's it |
13:23.28 | djszapi | that did not work for me. |
13:23.36 | djszapi | I have tried to use TwContactAvailability.AVAILABLE |
13:23.45 | djszapi | or twContactAvailability.AVAILABLE as well |
13:24.00 | artemma | on top of that you need to register this class to qml |
13:24.10 | artemma | qmlRegisterType<TwContactAvailability>("TwineLib", 1, 0, "TwContactAvailability"); |
13:24.23 | djszapi | yes, that is what I did two years ago :) |
13:24.34 | artemma | hmm |
13:24.45 | artemma | then in my code I just import a library and use enums |
13:24.55 | artemma | as in the following |
13:24.56 | artemma | import TwineLib 1.0 |
13:25.03 | artemma | availability: TwContactAvailability.AVAILABLE, |
13:25.05 | djszapi | https://projects.kde.org/projects/playground/games/gluon/repository/revisions/master/entry/player/fremantle/gamewindowmanager.cpp#L99 |
13:25.14 | djszapi | though, I hoped for something simpler, like a context property. |
13:25.37 | djszapi | Unsure why I used UncreatableType back then. :) |
13:25.56 | artemma | well, you can instantiate something in c++ side and inject it as a context property |
13:26.17 | djszapi | Like I wrote in the comment in there, this is a bit flaky stuff :) |
13:26.25 | artemma | anyway, custom class approach works for me. You mentioned you can't use Q_ENUMS. Why? |
13:26.37 | *** join/#harmattan zhxt (~zhxt@117.79.233.237) |
13:26.50 | djszapi | artemma: well, ideally, I would expose an enum, maximum from a namespace. |
13:26.58 | artemma | ah |
13:27.05 | djszapi | Q_ENUMS ruins that goal. :) |
13:27.08 | djszapi | since then I need to use a wrapper class. |
13:27.19 | djszapi | secondly, I do not feel cool with this register type thingy =] |
13:28.19 | djszapi | I would feel more comfortable with an exposed context property. |
13:28.39 | artemma | I don't think there is a way for proper enums |
13:28.44 | djszapi | The syntax of this register thingy is unheuristic to me :) |
13:28.46 | artemma | workarounds are certainly possible |
13:29.05 | artemma | you can even create a data model for all possible statuses on c++ side |
13:29.13 | artemma | and use its indexes as enum values |
13:29.25 | artemma | though registering a specialized class looks more elegant to me :) |
13:30.27 | djszapi | I hope QtQuick2 will be user friendlier. |
13:30.58 | djszapi | somewhat nightmare this has not changed the last two years :) |
13:31.04 | djszapi | I still need to make the same ugly hack... |
13:31.24 | artemma | I somehow stopped considering it a hack after I used it |
13:31.34 | artemma | and managed to even find some elegance in the approach :) |
13:31.56 | artemma | sort of a feeling of constructing an own strict type system dynamically. |
13:32.47 | djszapi | I think it would be cool if I could mark an enum "invokable" similarly in complexity to a method. |
13:33.05 | djszapi | meaning: Q_ENUMS + Context property. |
13:33.30 | artemma | yeah, that would have been good |
13:33.33 | djszapi | this is also similar to the properties and how to use them from Qml. |
13:34.22 | artemma | Hmm, you might be able to achieve something like this with your own clever macros that will declare same specialized class behind the scenes.. |
13:41.00 | *** join/#harmattan Shaan7 (~quassel@kde/developer/shantanu) |
13:46.14 | *** join/#harmattan danielcbit (daniel@nat/indt/x-iduffcyjuptuivcb) |
13:49.06 | beford | hi djszapi |
13:49.14 | djszapi | o/ |
14:02.03 | *** join/#harmattan aleksander_m (~aleksande@85.Red-79-152-41.dynamicIP.rima-tde.net) |
14:09.14 | *** join/#harmattan Shaan7 (~quassel@kde/developer/shantanu) |
14:21.53 | *** join/#harmattan thp (~thp@Maemo/community/contributor/thp) |
14:22.09 | RST38h | moo thp |
14:22.31 | thp | RST38h: hey ho :) |
14:22.43 | *** join/#harmattan zhxt (~zhxt@117.79.233.237) |
14:23.59 | *** join/#harmattan gabriel9 (~quassel@79.143.160.58) |
14:25.06 | djszapi | Can I have Q_PROPERTY without WRITE method, but definitely with NOTIFY signal ? |
14:26.43 | ZogG_laptop | djszapi: if it was up to me — you would |
14:26.56 | djszapi | ZogG_laptop: kindness :) |
14:28.30 | *** join/#harmattan gabriel9|work (~quassel@79.143.160.58) |
14:30.07 | djszapi | so what is the reality... |
14:30.15 | thp | djszapi: yes |
14:30.27 | thp | djszapi: it's a read-only property that you can still notify with the NOTIFY signal |
14:30.29 | djszapi | I do not have an "int foobar" member since I read the stuff from the configuration file with QSettings. |
14:30.41 | djszapi | so I do not change this explicitely. |
14:30.52 | thp | djszapi: and property bindings (to it) and these things work great, you just can't set it (not sure if you get an error) |
14:30.53 | djszapi | the reader method basically reads the configuration file |
14:30.58 | djszapi | and counts how many elements are in there. |
14:31.14 | djszapi | and I have a addNewStuff method which adds a new item to the configuration file, and emits the signal. |
14:31.29 | djszapi | thp: I do not set this. |
14:31.40 | thp | yes, then it will work :) |
14:31.52 | thp | Q_PROPERTY(int cool READ getCool NOTIFY coolChanged) |
14:31.52 | djszapi | thp: here is my code, but something goes utterly wrong: http://paste.kde.org/488540/ |
14:32.07 | djszapi | so I do not need to have "cool" member variable, right ? |
14:32.19 | thp | djszapi: nope |
14:32.33 | thp | it will only be read via the READ method |
14:32.52 | thp | i.e. the getCool above should be a public: int getCool() { return mycoolvariable; } |
14:33.05 | djszapi | err... I do not have such a stuff... |
14:33.08 | thp | oh, and to be qt-ish, the read method should be named like the property |
14:33.11 | djszapi | like I said, no real variable, really. |
14:33.34 | djszapi | I fire up the config file for reading with QSettings, and I return how many items are in there. |
14:34.21 | thp | djszapi: http://paste.kde.org/488564/ |
14:34.34 | thp | yes, you don't need to store it in a member variable |
14:34.38 | *** join/#harmattan aleksander_m (~aleksande@85.Red-79-152-41.dynamicIP.rima-tde.net) |
14:34.59 | thp | (though for performance reasons you might, depending on how often you read that property) |
14:35.35 | djszapi | thp: well reading a really short config file is not much of a time. |
14:35.45 | djszapi | thp: in any case, I do not see the signal emitted in your example... |
14:36.00 | thp | yes, sure - you need to emit it from some code that "knows" when the config file changes |
14:36.28 | thp | if you emit it, and you have something bound to that property in qml, the cool() method will be called again to get the new value |
14:36.29 | djszapi | yes, the one which adds a new item. |
14:36.36 | djszapi | I do not know where the problem lies in my code then. :/ |
14:36.52 | djszapi | lays* :) |
14:37.01 | thp | djszapi: does it just crash or something? |
14:38.01 | thp | (and I think it's "lies") |
14:38.48 | thp | http://answers.google.com/answers/threadview/id/439461.html |
14:39.15 | djszapi | I think, lays down is fine |
14:39.31 | djszapi | but this is clearly not what I am after really. |
14:39.32 | thp | djszapi: you could put some qDebug() output into the READ method to see when and if it is called |
14:39.47 | djszapi | I think better to debug this in qml to be honest. |
14:43.09 | djszapi | thp: setStuff really decrease the counter in this code: http://paste.kde.org/488540/ |
14:43.20 | djszapi | so I wonder why buttons are not recolorized and re-subtexted accordingly :o |
14:43.55 | thp | djszapi: you have to emit the signal |
14:44.01 | thp | that you specified with NOTIFY |
14:44.18 | thp | otherwise there's no way for QML to know that the property changed |
14:45.10 | thp | the configurationManager would have a foobarCount property that has a NOTIFY signal there and that signal needs to be emitted for the property to be re-read |
14:45.12 | djszapi | I do emit like I said in the beginning |
14:45.27 | thp | does the READ method for the foobarCount property get called? |
14:45.31 | thp | and what does it return? |
14:45.36 | djszapi | 17:31 < djszapi> and I have a addNewStuff method which adds a new item to the configuration file, and emits the signal. |
14:45.42 | *** join/#harmattan rcg1 (~rc@ucaip141.uca.es) |
14:46.03 | thp | djszapi: but you are not calling addNewStuff from QML, so I can't know that setStuff calls it (indirectly?) |
14:46.06 | MohammadAG | you have to have a method called getFooBar |
14:46.23 | MohammadAG | so I'd suggest storing the data in a variable |
14:46.25 | djszapi | thp: addNewStuff is exactly called by setStuff. |
14:46.51 | MohammadAG | and there's a getStuff method? |
14:46.54 | thp | djszapi: so why not add some debugging output to the READ method? |
14:47.10 | djszapi | I already did. |
14:47.12 | thp | djszapi: if you can/want, please paste the C++ code also - that might help |
14:47.24 | djszapi | err.. sorry, that is not going to work.. |
14:49.01 | *** join/#harmattan aleksander_m (~aleksande@15.Red-88-1-159.dynamicIP.rima-tde.net) |
14:50.29 | thp | djszapi: then read up on how properties work on the C++ side here: http://qt-project.org/doc/qt-4.8/properties.html |
14:50.37 | djszapi | meh |
14:50.45 | djszapi | I have known that for years really :) |
14:50.51 | *** join/#harmattan vladest (~Vlad@96-208-133-95.pool.ukrtel.net) |
14:51.21 | thp | sure. but apparently it doesn't work. and i forgot my magic 8 ball today, so can't guess what your code does wrong |
14:51.42 | djszapi | you do not need to be cynical t o help |
14:51.53 | djszapi | nobody said, you should have "your magic 8 ball today". |
14:52.35 | thp | ;) anyway, have you found the cause of the problem? i'd still be interested to know |
14:53.09 | rcg1 | http://ruedigergad.com/2011/11/13/exchange-data-and-objects-between-c-and-qml-and-vice-versa/ |
14:53.17 | rcg1 | could be interesting for you in that context |
14:53.55 | djszapi | I am not a superman to find every issues in two minutes, sorry. |
14:53.57 | thp | rcg1: looks good. but i'd only emit the changed signal when the value really changed |
14:54.06 | *** join/#harmattan b0unc3 (~b0unc3@dynamic-adsl-62-10-96-106.clienti.tiscali.it) |
14:54.41 | thp | (i.e. in the set method: if (myA != a) { myA = a; emit aChanged(); }) |
14:55.10 | rcg1 | thp: hehe, yeah.. well it's intended as minimal working example that shows the mechanism on interacting between qml and c++ |
14:55.48 | rcg1 | yeah, i know.. however the aim was not to provide a full-fledged property getter setter example ;) |
14:56.05 | djszapi | beford: how are you ? |
14:56.20 | thp | it's great as it is :) |
14:56.22 | thp | http://doc.qt.nokia.com/4.7-snapshot/qtbinding.html#modifying-properties |
14:56.35 | rcg1 | thp: thx :) |
14:56.55 | *** join/#harmattan Venemo_N950 (~Venemo@fedora/Venemo) |
14:57.04 | rcg1 | thp: also comments are in fact highly appreciated :) |
14:57.30 | thp | rcg1: you mean as a comment in the blog entry or via mail? |
14:58.29 | rcg1 | however you like |
14:58.52 | rcg1 | comment entries are not shown directly.. i have to manually approve them |
15:00.03 | rcg1 | i think comment should be better as then everyone can benefit |
15:00.48 | thp | argh! now i wrote a nice comment and it wants me to login to wordpress :/ |
15:01.20 | rcg1 | huh? |
15:01.27 | rcg1 | that shouldn't happen :( |
15:03.34 | rcg1 | thp: did you use an email address that was already registered at wp? |
15:04.18 | rcg1 | just tried it.. with my email address used at wp it wants me to log in.. with a different one it doesnt |
15:05.28 | thp | rcg1: yep. i've tried to login now, but not sure if the form data was submitted |
15:05.55 | rcg1 | alright |
15:05.58 | rcg1 | i'll check |
15:05.59 | djszapi | thp: for some for some reason, after the notification signal emit, the read method is executed zillion times. |
15:06.17 | rcg1 | however, i noticed that wp is sometimes pretty slow wrt showing new messages |
15:06.18 | thp | then you have a binding loop somewhere |
15:06.57 | djszapi | in fact, it is executed many times periodically, apparently not like a flood permanently, just periodically... I presume I need to look for stuff where it is read in a loop... |
15:07.11 | thp | djszapi: btw, why do you use the "lastIndex" array as parameter to setStuff? |
15:07.19 | thp | do you plan to set more values there later on? |
15:07.20 | djszapi | thp: because setStuff expects string |
15:07.27 | djszapi | in fact, QStringList. |
15:08.08 | djszapi | but that is not the point here. |
15:08.45 | thp | hmm. curious. because in the other line, you call it with "index + 1" |
15:09.03 | thp | (line 36 + line 78 in http://paste.kde.org/488540/) |
15:09.55 | djszapi | <PROTECTED> |
15:10.19 | djszapi | thp: yes of course since the settings is human readable. |
15:10.23 | djszapi | aka. not starting from zero |
15:10.37 | *** join/#harmattan javispedro (~javier@Maemo/community/contributor/javispedro) |
15:11.09 | thp | but didn't you say that fooBar.setStuff expects a QStringList? index+1 evaluates to a single (numeric, but that would be auto-converted to string anyway) value |
15:11.35 | djszapi | QString != QStringList |
15:11.43 | djszapi | but, no, it does not autoconvert. |
15:12.13 | djszapi | Otherwise I would not obviously use that :) |
15:13.07 | thp | djszapi: so then one of the calls is wrong - line 36 if you say it expects a QStringList |
15:13.36 | rcg1 | thp: thanks for the comment.. i also wrote a short reply as i wasn't yet aware of QDeclarativeProperty::read and ::write as mentioned in the guide you linked |
15:13.39 | djszapi | well, they are different methods in the reality. |
15:14.23 | thp | djszapi: ok. i should probably stop trying to be helpful here :) |
15:15.03 | rcg1 | thp: however i am currently very busy with other stuff so updating this example unfortunately doesn't have top priority.. nonetheless, thanks for the very useful comment. :) and if people are really interested they can follow the link and see on their own in the meantime |
15:15.40 | djszapi | thp: I wonder how you got that conclusion... |
15:15.46 | djszapi | to* |
15:18.46 | djszapi | it really seems to be a better option to bind a C++ property to a qml instead of reading the C++ property all the time. |
15:19.08 | djszapi | or perhaps actually not. |
15:36.34 | *** join/#harmattan lamikr (lamikr@nat/nokia/x-qrysowppbamwetkt) |
15:43.03 | *** join/#harmattan hardaker (~hardaker@mail.hardakers.net) |
16:05.35 | *** join/#harmattan bef0rd (~fernand0@unaffiliated/beford) |
16:19.29 | djszapi | any qml guru here ? :-) |
16:23.44 | *** join/#harmattan jaywink (~jaywink@cs181163242.pp.htv.fi) |
16:27.52 | *** join/#harmattan lamikr (lamikr@nat/nokia/x-hrxbbbinpilfmtxw) |
16:33.02 | *** join/#harmattan rcg1 (~rc@84.122.33.18.dyn.user.ono.com) |
16:41.44 | *** join/#harmattan piggz (~piggz@host-92-18-176-67.as13285.net) |
16:44.58 | *** join/#harmattan gabriel9 (~gabriel9@137-70-246-188-bl.cable.dyn.broadband.blic.net) |
16:45.00 | trx | djszapi nope, but you can ask anyway |
16:45.45 | *** join/#harmattan jluisn (~quassel@187.115.172.24) |
16:51.24 | *** join/#harmattan Natunen (nalle@213-186-240-19.bb.dnainternet.fi) |
16:53.46 | *** join/#harmattan tom____ (~tom@93.186.147.97) |
17:06.29 | *** join/#harmattan befr0d (~fernando@186.31.127.207) |
17:19.38 | *** join/#harmattan piggz (~piggz@host-92-18-176-67.as13285.net) |
17:21.09 | djszapi | trx: how do you know "nope" for everybody ? :) |
17:21.16 | djszapi | and I already asked... |
17:23.43 | MohammadAG | if there was anybody they'd say that :p |
17:23.48 | gabriel9 | ola |
17:23.51 | gabriel9 | https://maps.google.com/maps/ms?ie=UTF&msa=0&msid=200575306309039860448.0004c061f019b930e8621 |
17:24.03 | gabriel9 | for those who does not hate google :P |
17:24.10 | gabriel9 | and godo evening |
17:25.42 | trx | djszapi can you copy the question? |
17:26.21 | djszapi | trx: I would replicate the log. |
17:27.24 | trx | is this it : "Can I have Q_PROPERTY without WRITE method, but definitely with NOTIFY signal ?" ? |
17:27.59 | djszapi | we sorted that out |
17:29.42 | trx | so whats the problem then, the repeater isnt updating or what? |
17:34.27 | *** join/#harmattan astm (astm@nat/indt/x-xjxtppexfcbulaut) |
17:36.22 | hahlo | gabriel9: what is that map? |
17:36.24 | *** join/#harmattan aparaatti (~aparaatti@91-157-17-37.elisa-laajakaista.fi) |
17:36.32 | djszapi | trx: one base problem is that, I do not understand why these are not equivalent: http://paste.kde.org/488666/ |
17:36.32 | gabriel9 | N9 users |
17:36.37 | gabriel9 | across the globe :) |
17:36.43 | hahlo | cool |
17:37.20 | gabriel9 | i say also |
17:37.46 | trx | djszapi because of the elseif's |
17:37.50 | trx | the code is not the same |
17:38.08 | djszapi | why not ? |
17:39.05 | djszapi | the last could be else for sure, but I think they represent the same logic. |
17:39.35 | djszapi | just an explicite function is way more readable. |
17:39.58 | trx | http://paste.kde.org/488684/ |
17:40.03 | trx | this would be the same |
17:40.10 | trx | but both should work anyway |
17:40.38 | djszapi | sorry ? |
17:40.48 | djszapi | it is exactly the same with different personal taste... |
17:41.59 | trx | as i said, both should work in this context |
17:42.18 | djszapi | that is the thing, they do not. |
17:42.23 | trx | which one works? |
17:42.25 | djszapi | and I am just wondering why |
17:43.05 | gabriel9 | if i may add the bottom syntax is better |
17:43.23 | gabriel9 | not long and 2 lines of code |
17:43.31 | gabriel9 | oh one :D |
17:43.37 | trx | exactly |
17:43.50 | hahlo | gabriel9: how they have found those phones in the map? |
17:44.00 | gabriel9 | you add yourself |
17:44.13 | gabriel9 | just click edit on the left and then add |
17:44.23 | djszapi | gabriel9: and that is exactly the reason why that is ugly. |
17:44.28 | hahlo | ah so there must be many others |
17:44.30 | djszapi | that tries to be smart unnecessarily. |
17:44.33 | gabriel9 | The Good Coder book(nice read) sugest always smaller lines of code |
17:44.48 | gabriel9 | it is more readable, and smaller chance to make a mistake |
17:44.49 | djszapi | huh ? |
17:44.53 | djszapi | huh ? |
17:44.57 | gabriel9 | :D |
17:45.13 | djszapi | afaik, almost every programming book begins with do NOT be tricky. |
17:45.25 | djszapi | unless there is a very compelling reason. |
17:45.44 | gabriel9 | i agree, and i use normal if else only if the line os long |
17:45.45 | trx | as long as it workes, no one cares, its not that big a diffrence |
17:45.52 | *** join/#harmattan lmoura (lmoura@nat/indt/x-plmhxmrtfdelnwos) |
17:46.05 | djszapi | trx: clearly you never contributed to other projects like Qt, KDE, etc |
17:46.08 | gabriel9 | one dude sayed the syntax is not important |
17:46.09 | trx | and if it were a real language, the second case would be better |
17:46.14 | djszapi | those projects are definitely against tricky code |
17:46.21 | trx | because it is inline |
17:46.31 | hahlo | does manufacturer know exact amount of phones and where they are? about updating etc |
17:46.45 | djszapi | trx: you do not know what you are talking about :D |
17:47.00 | djszapi | you essentially say you are smarter than gcc, msvc and other compilers... |
17:47.05 | gabriel9 | hahlo: i don't know |
17:47.51 | gabriel9 | either way we shall write text documents :/ |
17:47.56 | hahlo | ok |
17:48.00 | gabriel9 | sometimes short syntax is OK |
17:48.05 | gabriel9 | sometimes it is not |
17:48.22 | trx | djszapi whatever, your setColor function doesnt have a return value.. |
17:48.23 | djszapi | readability makes a big difference. |
17:48.29 | gabriel9 | for php when you mix it with html shorts sytax is far better |
17:49.00 | gabriel9 | i agree also, but there is situations where shorter is more readable |
17:49.27 | djszapi | trx: yes |
17:49.57 | gabriel9 | i lost link for this subject :( |
17:50.14 | gabriel9 | but there is more important thing then syntax |
17:50.25 | gabriel9 | code optimization, concurency |
17:50.59 | gabriel9 | i'm relativly new too all this but i have 1 year of expiriance :) |
17:55.27 | *** join/#harmattan xmlich02 (~imlich@2001:67c:1220:80c:0:6d64:db3a:5db6) |
18:16.34 | *** join/#harmattan tom____ (~tom@93.186.147.97) |
18:19.42 | *** join/#harmattan achilles999 (62e43fd5@gateway/web/freenode/ip.98.228.63.213) |
18:20.21 | achilles999 | hi |
18:20.28 | gabriel9 | ola |
18:20.41 | achilles999 | i'm having problem in deploying ssh keys to N9 device via Qt creator |
18:20.48 | achilles999 | I get connection failed :( |
18:20.49 | *** join/#harmattan snowpong_ (~espen@156.116.27.2) |
18:20.56 | achilles999 | can someone please help?? |
18:21.02 | gabriel9 | usb or wlan? |
18:21.09 | achilles999 | usb |
18:21.22 | bef0rd | what fails |
18:21.22 | gabriel9 | did you set up IP adresses? |
18:21.29 | bef0rd | can you ping the ip from terminal? |
18:21.35 | bef0rd | n9's ip |
18:21.57 | *** join/#harmattan swerige (~kvirc@host-95-206-6-1.mobileonline.telia.com) |
18:21.57 | achilles999 | i'm on windows |
18:22.01 | achilles999 | let me try to ping & see |
18:24.56 | *** part/#harmattan djszapi (~lpapp@plexyplanet.org) |
18:26.04 | befr0d | can you ssh to the phone with the ip? |
18:26.24 | befr0d | first thing is to find out if the usb network connection is set |
18:26.29 | gabriel9 | just use Wifi if you can, it is much easier |
18:26.43 | befr0d | not sure how is in windows, I suppose a new network device will appear |
18:27.17 | gabriel9 | achilles999, check in setting of the phone password |
18:27.19 | gabriel9 | ip |
18:27.28 | gabriel9 | and then set up Qt Creator |
18:27.47 | gabriel9 | befr0d: he should use GNU/Linux |
18:28.15 | *** join/#harmattan b0unc3 (~b0unc3@dynamic-adsl-62-10-93-101.clienti.tiscali.it) |
18:29.28 | *** join/#harmattan achilles999 (62e43fd5@gateway/web/freenode/ip.98.228.63.213) |
18:29.38 | achilles999 | sorry, my connection dropped |
18:29.48 | achilles999 | i'm not able to ping my device |
18:29.56 | befr0d | <befr0d> can you ssh to the phone with the ip? |
18:29.57 | befr0d | <befr0d> first thing is to find out if the usb network connection is set |
18:29.57 | befr0d | <gabriel9> just use Wifi if you can, it is much easier |
18:29.57 | befr0d | <befr0d> not sure how is in windows, I suppose a new network device will appear |
18:29.57 | befr0d | <gabriel9> achilles999, check in setting of the phone password |
18:30.01 | achilles999 | i disabled firewall & tried |
18:30.25 | gabriel9 | check settings |
18:30.28 | gabriel9 | of the phone |
18:30.36 | gabriel9 | and |
18:30.43 | gabriel9 | did you install dev packages??? |
18:30.45 | achilles999 | what settings on the phone? settings on sdk tool? |
18:30.49 | gabriel9 | y |
18:30.52 | achilles999 | yes, I enabled dev mode |
18:31.19 | gabriel9 | what do you have under sdk cnnection? |
18:31.21 | achilles999 | in past I connected my device on windows, but a different machine(work PC)..now i'm trying to connect on home PC |
18:32.32 | *** join/#harmattan NIN101 (~NIN@p5DD289A5.dip0.t-ipconnect.de) |
18:32.35 | gabriel9 | sometimes reset of the phone helps |
18:32.36 | gabriel9 | and double check pass and ip settings |
18:32.48 | gabriel9 | in Qt creator and N9 |
18:33.14 | gabriel9 | i had some issues also, but now i am back on Arch and all is nice |
18:35.15 | achilles999 | let me try over wifi |
18:35.20 | achilles999 | thanks for your time |
18:35.21 | achilles999 | BRB |
18:36.03 | gabriel9 | np :) |
18:36.45 | gabriel9 | so anyone wish to give me N950? :D |
18:39.58 | *** join/#harmattan adlan (~adlan@210.195.11.42) |
18:40.29 | befr0d | nop |
18:40.45 | gabriel9 | ok |
18:40.51 | *** join/#harmattan Morpog (~Morpog@stgt-5f715852.pool.mediaWays.net) |
18:41.00 | gabriel9 | something is wrong, i am to happy |
18:41.22 | befr0d | drugs |
18:41.25 | befr0d | alcohol |
18:41.26 | befr0d | meds |
18:41.28 | befr0d | ? |
18:41.37 | befr0d | spring? |
18:41.55 | gabriel9 | nop |
18:45.17 | gabriel9 | my gf is at her parents |
18:45.24 | gabriel9 | but i like her |
18:46.33 | befr0d | that's good |
18:46.39 | befr0d | no drugs involved |
18:46.40 | *** join/#harmattan Enforcer (David@203-206-166-147.perm.iinet.net.au) |
18:46.42 | befr0d | :P |
18:47.08 | gabriel9 | for me drugs are code, my PC and SF movies |
18:47.19 | befr0d | SF? |
18:47.47 | gabriel9 | Sciance Fiction |
18:47.51 | befr0d | ah |
18:48.37 | gabriel9 | can you debug QML? |
18:48.42 | gabriel9 | on N9? |
18:48.49 | befr0d | console.debug() |
18:48.50 | befr0d | ? |
18:48.52 | befr0d | from qml |
18:48.55 | befr0d | console.log |
18:49.10 | gabriel9 | breakpoints |
18:49.35 | befr0d | with qtcreator I believe so, not sure if you can put them on QML/Js code |
18:49.53 | befr0d | but on the Qt side if things I have |
18:50.00 | befr0d | of things* |
18:50.25 | gabriel9 | js code needs debuging also |
18:50.35 | gabriel9 | and QML items(states) |
18:50.40 | befr0d | never tried it so not sure |
18:51.25 | gabriel9 | i tried it couple of times but no hope |
18:52.06 | gabriel9 | still does not work |
18:53.22 | gabriel9 | QDeclarativeDebugServer: Ignoring "-qmljsdebugger=port:10000,block". Debugging has not been enabled. |
18:54.55 | gabriel9 | i give up :/ well i go and code my XML/HTTP pareser |
18:55.14 | *** join/#harmattan M4rtinK (~M4rtinK@mail.melf.eu) |
18:57.17 | befr0d | xml ? |
18:57.21 | befr0d | qml already parses xml |
18:57.34 | befr0d | from http |
18:58.52 | gabriel9 | i have some bad XML to parse |
18:59.02 | gabriel9 | it have huge chunk of data in CDATA part |
18:59.08 | gabriel9 | and i need that part to parse |
19:03.04 | MohammadAG | does anyone know where the brightness icons in settings are? |
19:05.33 | gabriel9 | sorry i did not go that deap |
19:07.11 | Morpog | MohammedAG when your at it, add switches for BT and DLNA on/off there too ;-) |
19:07.42 | gabriel9 | BT off/on would be nice :) |
19:08.13 | jonni | gabriel9: you need to build the debugging helpers first if you want to debug qml, but enabling console.log can even be done more easily |
19:08.59 | gabriel9 | I build some stuff, also console.log is OK, but sometimes i wish to break on some point and then inspect all stuff |
19:09.07 | gabriel9 | thanks for hint |
19:09.29 | jonni | http://doc.qt.nokia.com/qtcreator-2.4/creator-debugging-qml.html |
19:10.18 | jonni | qml inspector is pretty handy tool |
19:10.52 | gabriel9 | and i see there is JS console |
19:10.59 | gabriel9 | that is real power!!! |
19:11.07 | gabriel9 | for JS part BTW |
19:12.44 | MohammadAG | Morpog, heh |
19:13.21 | Morpog | in the starus bar menu |
19:13.46 | Morpog | which you are modding atm ;-) |
19:13.59 | Morpog | status |
19:18.22 | *** join/#harmattan hardaker (~hardaker@mail.hardakers.net) |
19:20.59 | *** join/#harmattan piggz (~piggz@host-92-18-176-67.as13285.net) |
19:34.25 | *** join/#harmattan e-yes (~e-yes@94.45.169.247) |
19:43.28 | *** join/#harmattan achilles999 (62e43fd5@gateway/web/freenode/ip.98.228.63.213) |
20:07.41 | *** join/#harmattan achilles999 (62e43fd5@gateway/web/freenode/ip.98.228.63.213) |
20:09.59 | *** join/#harmattan MohammadAG (~MohammadA@2.55.123.224) |
20:10.02 | *** join/#harmattan MohammadAG (~MohammadA@Maemo/community/contributor/MohammadAG) |
20:10.33 | MohammadAG | http://talk.maemo.org/showthread.php?p=1214023#post1214023 http://talk.maemo.org/showthread.php?p=1214014#post1214014 |
20:10.40 | MohammadAG | cc Morpog ^ |
20:10.44 | MohammadAG | have fun :p |
20:11.08 | MohammadAG | toggles should be easy, it's a normal MTF MWidget |
20:11.28 | Morpog | seen already ;) Just need to redo inception. |
20:13.24 | thp | MohammadAG: good move :) |
20:13.37 | thp | so, why does the alarms applet not appear in the stock sysuid? did they blacklist it or something? |
20:13.49 | achilles999 | i'm learning QML & experimenting on N9. can anyone suggest some simple open source N9 app which is written in QML? |
20:13.51 | achilles999 | I like to see how it is written & improve my understanding |
20:14.27 | thp | achilles999: you could try (shamless plug warning) gpodder - http://github.com/gpodder/gpodder (it uses python and not c++, which might be good or might be bad depending on how you see it ;) |
20:15.44 | MohammadAG | thp, they have a hardcoded regex :p |
20:15.44 | mankeli | MohammadAG: ooh, very nice. would it possible to add scrolling to the status menu while the phone is in landscape mode? |
20:15.48 | befr0d | there is a harmattan showcase api, it may be alittle advanced example, however it includes a lot of funciontality |
20:16.16 | befr0d | http://harmattan-dev.nokia.com/docs/library/html/guide/html/examples/api_showcase.html |
20:16.27 | mankeli | since that menu will problably get a lot of extensions in future |
20:16.28 | MohammadAG | mankeli, it already scrolls as of the latest PR from Nokia |
20:17.07 | MohammadAG | at least on the N950 |
20:17.11 | mankeli | probably only on n950 |
20:17.42 | mankeli | pr1.2 here, and no scrolling. but landscape isn't normally available either |
20:17.42 | MohammadAG | no |
20:17.56 | MohammadAG | the N9 has a newer firmware |
20:18.04 | MohammadAG | and the source clearly has a viewport |
20:18.32 | mankeli | does it btw open full screen on n950? |
20:18.39 | mankeli | or does it only cover the left side of screen |
20:18.42 | MohammadAG | same as in portrait |
20:19.44 | MohammadAG | thp, the regex has alarms... |
20:19.50 | MohammadAG | ok, I'm stumped, lemme check again |
20:20.36 | mankeli | hmm. probably installing that unrestricted system-ui will fix behavior to n950-like |
20:20.45 | MohammadAG | extensionArea->setInProcessFilter(QRegExp("/statusindicatormenu-(alarms|internetconnection|presence|profile).desktop$")); |
20:21.11 | *** join/#harmattan b0unc3 (~b0unc3@dynamic-adsl-84-220-62-238.clienti.tiscali.it) |
20:21.12 | mankeli | is it possible to get old system-ui back if unrestricted package doesn't work? |
20:21.20 | MohammadAG | probably, haven't tested |
20:21.30 | *** join/#harmattan Mohammad- (~MohammadA@ool-45772b34.dyn.optonline.net) |
20:21.37 | MohammadAG | hmm, bouncer back |
20:22.25 | *** join/#harmattan MohammadAG (~MohammadA@Maemo/community/contributor/MohammadAG) |
20:22.31 | *** join/#harmattan xnt14 (~xnt14@ool-45772b34.dyn.optonline.net) |
20:28.10 | MohammadAG | thp, how do I create a new repo under harmattan? |
20:29.17 | *** join/#harmattan arcean (~arcean@aaer152.neoplus.adsl.tpnet.pl) |
20:32.36 | MohammadAG | oh nvm, figured it out |
20:32.37 | MohammadAG | https://github.com/harmattan/system-ui-brightness-control |
20:35.23 | thp | MohammadAG: ;) thanks! |
20:35.24 | ZogG_laptop | MohammadAG: did i tell you — you are the man |
20:36.56 | MohammadAG | ZogG_laptop, lots of credit goes to itsnotabigtruck for Inception really ;) |
20:37.06 | MohammadAG | thp, you're welcome :) |
21:05.08 | *** join/#harmattan b0unc3 (~b0unc3@dynamic-adsl-84-221-13-140.clienti.tiscali.it) |
21:17.40 | *** join/#harmattan rcg1 (~rc@84.122.33.18.dyn.user.ono.com) |
21:23.38 | *** join/#harmattan b0unc3 (~b0unc3@dynamic-adsl-62-10-93-52.clienti.tiscali.it) |
21:25.32 | *** join/#harmattan ZogG_laptop (~ZogG_lapt@bzq-79-183-200-7.red.bezeqint.net) |
21:49.54 | *** join/#harmattan aquarius (~aquarius@cpc5-dudl10-2-0-cust29.wolv.cable.virginmedia.com) |
22:02.25 | *** join/#harmattan b0unc3 (~b0unc3@dynamic-adsl-62-10-94-89.clienti.tiscali.it) |
22:10.27 | *** join/#harmattan Morpog (~Morpog@stgt-5f715852.pool.mediaWays.net) |
22:11.02 | Morpog | MohammadAG, whats the path for the alarns.desktop file? |
22:14.34 | *** join/#harmattan tom_ (~tom@93.186.147.97) |
22:14.37 | MohammadAG | /usr/share/meegotouch/applicati(tab) |
22:16.42 | *** join/#harmattan aquarius (~aquarius@cpc5-dudl10-2-0-cust29.wolv.cable.virginmedia.com) |
22:20.36 | *** join/#harmattan faenil (~faenil@host208-20-dynamic.15-87-r.retail.telecomitalia.it) |
22:29.50 | Morpog | MohammadAG, it works, but i made a backup of it ;) |
22:35.34 | *** join/#harmattan Morpog (~Morpog@stgt-5f715852.pool.mediaWays.net) |
22:37.58 | ieatlint | are you shitting me nokia? i can't pass a QGeoCoordinate into qml to use as a Coordinate for a Map element? |
22:39.39 | *** join/#harmattan faenil (~faenil@host208-20-dynamic.15-87-r.retail.telecomitalia.it) |
22:50.58 | *** join/#harmattan mzorz (~mzorz@190.51.129.42) |
22:54.39 | mzorz | hi all, quick question: ovi store has rejected our app saying ACTUAL RESULT: The error message "Installation interrupted." is shown, on a N950, but it jus installs ok on RDA and a N9 I have, any ideas? |
22:56.08 | ieatlint | the n950 firmware is slightly different... there must be something like a library mismatch or missing happening |
22:56.32 | ieatlint | does your app use low level libraries? |
22:56.35 | mzorz | oh I see |
22:56.48 | mzorz | no it only uses networkservices |
22:57.06 | ieatlint | then that is indeed weird |
22:57.14 | ieatlint | i assume you don't have an n950 to test on? |
22:58.05 | mzorz | no I don't have an N950 unfortunately |
22:58.15 | mzorz | but I tested it on RDA and it installed |
22:58.39 | mzorz | I'll check firmware versions, but Ovi's QA report doesn't give much information |
22:58.44 | ieatlint | well, you can try just resubmitting and see if it gets rejected again, but you risk wasting time if it will |
22:59.29 | mzorz | I see |
23:00.03 | mzorz | sorry I correct myself, we're using SwEvent NetworkServices Location ReadUserData WriteUserData |
23:00.14 | ieatlint | assuming your app isn't scary, i'm sure you can find someone in here to try installing it |
23:00.20 | mzorz | coiuld any of these be a cause of a problem |
23:00.28 | mzorz | hehe |
23:00.33 | ieatlint | strictly speaking those are symbian capabilities, and don't exist on harmattan |
23:00.48 | ieatlint | and if it works on the n9, then permissions shouldn't be an issue |
23:01.41 | mzorz | you're right, it's scope is declared as in symbian:TARGET.CAPABILITY |
23:02.46 | mzorz | anyone want to try installing the .deb file? the app just browses cinemas shows for a local cinema theatre branch |
23:03.00 | ieatlint | the only thing that should interrupt the installation on the n950 when it works on the n9 is a library issue, but then, i may just be wrong :P |
23:03.15 | ieatlint | and yeah, let me go find my n950 and i think i can do it |
23:03.24 | mzorz | great, thanks so much |
23:05.36 | ieatlint | ok, have it here, i can do a dpkg -i on the terminal and give you the output |
23:05.45 | mzorz | great |
23:05.58 | danielcbit | Hi everybody. Does some one know if it is possible to know the direction of the movement in a qml ListView? |
23:06.25 | ieatlint | unless you can give me a url to grab it from, email might be easiest... |
23:06.26 | mzorz | you can download the app from here http://dnld.mobi/hoyts15.deb |
23:06.30 | ieatlint | ah, good |
23:08.00 | mzorz | you mean the direction of the movement as in up or down? |
23:08.29 | ieatlint | mzorz, looks like it installed without issue |
23:08.44 | mzorz | uhm |
23:08.51 | mzorz | now it's weird then |
23:08.53 | ieatlint | http://pastebin.com/TZfDhS6P |
23:09.35 | ieatlint | yeah, app icon on desktop, launches fine |
23:09.43 | mzorz | wow |
23:10.13 | ieatlint | there is a failure message there, and i'm afraid i don't know enough about aegis to give you a good explanation, but it appears non-fatal |
23:10.21 | mzorz | danielcbit, listview inherits from flickable, you might want to bind some properties to detect dierction of movement, check http://doc.qt.nokia.com/4.7-snapshot/qml-flickable.html |
23:10.34 | mzorz | ok ieatlint, great, I'll check it out |
23:10.52 | ieatlint | ah, yeah, there is an issue there... it's not being installed properly |
23:11.08 | ieatlint | i can't delete it from the desktop by holding down on the icon |
23:11.20 | mzorz | oh |
23:11.23 | mzorz | but it did run, didn't it |
23:11.37 | ieatlint | yeah, but it needs to have normal behaviour |
23:11.37 | danielcbit | mzorz: I already known this, but I can't seem to find a way to detect the direction of the flick |
23:11.53 | ieatlint | i suspect the gui installer calls that failure fatal... will try it via the gui installer |
23:13.06 | mzorz | great thanks a lot ieatlint |
23:13.39 | mzorz | danielcbit: you mean like, if it's vertical, you need to know if it's moving down or up, and if it's horizontal, you need to know whether it's moving towards right or left, is that what you're looking for? |
23:14.14 | danielcbit | mzorz: exactly |
23:14.42 | ieatlint | mrmlz_, installed without any issue via the gui... install screen all appeared normal |
23:14.45 | ieatlint | err |
23:14.48 | ieatlint | mzorz |
23:15.12 | mzorz | yes |
23:15.12 | ieatlint | mzorz, and when i install via the gui, i can indeed delete it from the home screen by long-pressing on the icon |
23:16.03 | mzorz | uhm ok I wonder what the guys at Ovi's QA did, if only they provided more information for us to track it down |
23:16.22 | ieatlint | mzorz, i will say i see two issues here though, but they're not the listed reasons for rejection |
23:16.40 | ieatlint | the icon label on the homescreen is listed as "hoyts", and i suspect that should be capitalized |
23:16.47 | *** join/#harmattan b0unc3 (~b0unc3@dynamic-adsl-84-220-63-85.clienti.tiscali.it) |
23:17.01 | mzorz | point taken |
23:17.06 | mzorz | thanks for pointing that out |
23:17.08 | ieatlint | and if you go to the manage applications screen and select your app, it gives the description and version details, but the contact is listed as "unknown < >" |
23:17.35 | mzorz | oops I think that's a cause for rejection, i'll correct that as well, thanks!! |
23:17.43 | ieatlint | np |
23:17.51 | ieatlint | good luck... i had my own fun with ovi qa a few weeks ago |
23:18.00 | ieatlint | i'd fix those two things and resubmit |
23:18.08 | ieatlint | maybe research that aegis error |
23:19.26 | mzorz | cool I'll do that for sure |
23:20.32 | mzorz | thanks again! btw would you elaborate on your experience wiht ovi qa :) |
23:21.48 | danielcbit | mzorz: any tips? |
23:22.28 | mzorz | danielcbit: have you tried binding a function of your own to movingHorizontally and movingVertically, then checking horizontalVelocity or verticalVelocity |
23:22.34 | ieatlint | eh, my rejections were because they kept insisting my support page wasn't good enough |
23:23.24 | mzorz | danielcbit: (under the assumption horizontalVelocity is i.e. negative for left, for instance) |
23:23.34 | ieatlint | i should just start screwing with them... put in a date check at the start of the app, show something inane for the time period qa looks at it, then something entirely different |
23:23.47 | mzorz | ieatlint: ah I see |
23:23.52 | mzorz | hahaha that's probably a good one |
23:24.43 | ieatlint | could be worse... could be apple's store |
23:24.48 | mzorz | I have to say I had crazier times with Samsung Apps QA |
23:25.24 | mzorz | sometimes they actually rejected a couple of our apps because they expected some thing to behave differently, as in.. they recommended features! |
23:25.40 | mzorz | or whcih features the app should have... |
23:25.43 | mzorz | insane |
23:26.20 | ieatlint | yeah, and i'm also happy it only costs 1EUR to be able to submit apps |
23:27.05 | danielcbit | mzorz: I tried with horizontalVelocity but cound't get a nice resolution. |
23:27.32 | mzorz | that's true, it's good |
23:28.14 | mzorz | danielcbit: but you did get a value that allowed you to decide whether the direction was left or right? |
23:28.49 | *** join/#harmattan imunsie (~imunsie@ibmaus65.lnk.telstra.net) |
23:31.34 | danielcbit | mzorz: some times I got 0 of velocity while swiping to the left |
23:32.28 | danielcbit | mzorz: sorry, it was to the right when I got 0 |
23:32.50 | *** join/#harmattan mzorz (~mzorz@190.51.129.42) |
23:34.17 | ieatlint | danielcbit, http://doc.qt.nokia.com/4.7-snapshot/declarative-ui-components-scrollbar.html |
23:34.39 | ieatlint | that draws a scrollbar moving left/right with a high resolution |
23:35.04 | ieatlint | should work as an example of how to do it |
23:36.07 | ieatlint | basically just monitor the flickable's visiableArea.xPosition |
23:36.27 | ieatlint | if it increases, you're going right, if it decreases, left ... at least, that's how i'm reading it |
23:37.29 | ieatlint | (and the "bump" at the end of the listview may cause something weird with the visible area value, so you might need to account for that) |
23:38.33 | mzorz | don't know if danielcbit got it but I did, and will use it :) thanks too |
23:40.09 | danielcbit | mzorz, ieatlint: Testing right now. I think it will do the work. |
23:40.58 | danielcbit | mzorz, ieatlint: Any idea of what signal I can use so the change is perceived more quickly ? |
23:41.39 | danielcbit | I'm using this to set the z property of my delegate in listview |
23:43.16 | ieatlint | the on__Changed signal isn't doing the trick? |
23:49.10 | danielcbit | ieatlint: The problem is to discover what is the best signal. I'm trying with onContentXChanged |
23:52.21 | ieatlint | i'd do this: "property alias xPos: view.visableArea.xPosition" and then "onXPosChanged" |
23:54.12 | danielcbit | ieatlint: Interesting, but I still would need to compare it with something to decide whether the user is swiping left or right. Isn't ? |
23:54.59 | ieatlint | you can cache the last value if needed |
23:56.43 | mzorz | yes and you might want to reset the last value onMovementStarted |
23:57.22 | ieatlint | so do like "property int lastXpos" and then in the onChanged signal handler, compare the values then store the xPosition in lastXpos for the next time |
23:59.08 | danielcbit | ieatlint: Ok. I'll try this. |
23:59.27 | ieatlint | might set lastXpos to an initial value of 0 or something |