*** elldekaa_ has quit IRC | 00:01 | |
aquarius | So be it. I am basically trying to cope with one specific not-handled-very-well-currently situation: that when you give a QML Audio component a file:// URL where that file is in the process of being downloaded, the Audio will only play as far as the file extended when playback started and will not pick up the changes. | 00:05 |
---|---|---|
aquarius | there are many, many other use cases for audio streaming and audio downloading which this does not handle at all | 00:06 |
*** DocScrutinizer2 has quit IRC | 00:12 | |
*** DocScrutinizer2 has joined #harmattan | 00:13 | |
*** b0unc3 has quit IRC | 00:28 | |
*** beford has joined #harmattan | 00:29 | |
*** b0unc3 has joined #harmattan | 00:29 | |
*** lardman|home has joined #harmattan | 00:31 | |
*** lardman has quit IRC | 00:31 | |
*** piggz has quit IRC | 00:34 | |
*** tom_ has quit IRC | 00:39 | |
*** b0unc3 has quit IRC | 00:50 | |
*** b0unc3 has joined #harmattan | 00:52 | |
*** e-yes has quit IRC | 01:07 | |
aquarius | god, stop losing the network connection, n9. This is the One Annoying Thing about harmattan :( | 01:12 |
* ieatlint doesn't have that issue | 01:23 | |
ieatlint | wifi or cell network? | 01:23 |
*** faenil has joined #harmattan | 01:25 | |
*** bef0rd has joined #harmattan | 01:28 | |
*** bef0rd has quit IRC | 01:28 | |
*** bef0rd has joined #harmattan | 01:28 | |
*** rcg1 has joined #harmattan | 01:31 | |
*** Sniper_swe has quit IRC | 01:31 | |
*** niqt has quit IRC | 01:33 | |
*** DocScrutinizer2 has quit IRC | 01:35 | |
*** NIN102 has quit IRC | 01:36 | |
*** gabriel9 has quit IRC | 01:40 | |
aquarius | ieatlint, wifi | 01:45 |
*** e-yes has joined #harmattan | 01:51 | |
Jare | anything in syslog? | 01:51 |
*** Natunen has quit IRC | 01:51 | |
aquarius | interesting thought. I hadn't considered checking | 01:52 |
aquarius | now I get to try and make it happen again :0 | 01:52 |
aquarius | you watch, it'll just work now. | 01:53 |
aquarius | typical, all working fine. | 01:55 |
aquarius | as I suspected: the way to make the wifi work perfectly is... to tell someone else that it doesn't work | 01:56 |
aquarius | so the universe gets another chance to maximise its irony cunt | 01:56 |
aquarius | er, count. | 01:56 |
aquarius | stupid question: what's the best way from the N9 command line to launch a URL in the browser? | 02:20 |
ieatlint | there's a dbus command, but i forget what it is | 02:22 |
aquarius | yeah; I can do that if need be. I was wondering if there were an easier way -- I don't want to write a little complex d-bus command line and then have someone say "why didn't you just use meego-open?" or somethnig :0 | 02:23 |
aquarius | hm | 02:23 |
aquarius | mosh-server doesn't run because the locale isn't utf-8. how irritating | 02:24 |
* aquarius pokes aroun | 02:24 | |
Elleo | aquarius: xdg-open | 02:26 |
aquarius | ha! | 02:27 |
aquarius | I never even looked for xdg-open | 02:27 |
*** liar has quit IRC | 02:27 | |
aquarius | superb. | 02:27 |
Elleo | :) | 02:27 |
aquarius | time to write tiny Fox2Phone thing then :) | 02:27 |
*** arcean has quit IRC | 02:29 | |
aquarius | although I'm not sure I understand the difference between the "user" and the "developer" accounts. | 02:29 |
ieatlint | note that in an application, you should be using qdesktopservices to open urls in the browser | 02:32 |
ieatlint | and the difference is that they're two accounts.. the ~/MyDocs folder is shared, but any stored settings/data outside of MyDocs isn't.. they otherwise have the same permissions for accessing things | 02:33 |
aquarius | ieatlint, oh, sure, that's what I am doing | 02:34 |
aquarius | I'm not talking about shelling out from an app to xdg-open, I'm not that much of a bellend. :) | 02:34 |
aquarius | this is because I was looking at the Nokia push messages notifications magic in order to do Fox2Phone | 02:34 |
aquarius | (that is: a button in my browser to open the same page on the phone) | 02:35 |
*** M4rtinK has quit IRC | 02:35 | |
aquarius | and I thought: well, why don't I just ssh to the phone? | 02:35 |
ieatlint | wasn't seriously trying to say you were, it's just a better way to go about it than asking "you aren't running a shell command from an app, right?" | 02:35 |
aquarius | :) | 02:35 |
aquarius | since I never, ever, ever want to send to my phone if my phone and my laptop are not on the same wifi connection | 02:35 |
aquarius | so I can just ssh in and run xdg-open url | 02:36 |
aquarius | the sort of question is: if i ssh in as *developer* and then open the browser... is that bad? Since normally when I run the browser I'm running as "user" | 02:36 |
aquarius | but afaict I can't ssh in as "user" because I don't have a password for it, and I can't su to it, and I can't read its home folder as devel-su to add an ssh authorized key | 02:37 |
ieatlint | well, "bad" is relative.. it won't hurt anything to run the browser as developer, but depending on how the browser does its caching and stores its cookies, it may not share it with the user account | 02:38 |
ieatlint | so cookies you have from normal browser usage may not be present and vise-versa | 02:38 |
ieatlint | along with setting a browsing history, or so forth | 02:38 |
ieatlint | and if you want to access as user, you can set a password for the user account via the phone's terminal app | 02:38 |
ieatlint | you can also setup pubkey auth for it | 02:39 |
aquarius | heh, I never thought of the terminal app. Wisdom. | 02:40 |
ieatlint | alternatively you could write a very quick and simple app that just listens on a port, and then push urls to it from your browser.. could have features like showing the current ip address and port, and a history of urls received | 02:40 |
aquarius | extra thing...does the phone get a whatever.local DNS name with the mdns stuff? | 02:40 |
ieatlint | not sure | 02:41 |
ieatlint | it will report a name to the dhcp server, which your dns server can in theory use | 02:42 |
ieatlint | but that's a configuration on your network side | 02:42 |
aquarius | "hostname" on the phone says "RM696", and RM696.local doesn't exist, but I don't really understand mdns -- all my Ubuntu machines are available as <machine hostname>.local, but I don't know exactly how that works :) | 02:42 |
aquarius | ah! http://talk.maemo.org/showthread.php?t=82397 | 02:43 |
* ieatlint shrugs | 02:44 | |
ieatlint | my gateway has a dns server that proxies my requests, and adds in local resolution using the dhcp name as the hostname | 02:45 |
ieatlint | so "RM696" resolves through my domain search order | 02:45 |
*** oberling has quit IRC | 02:45 | |
*** Jare has quit IRC | 02:46 | |
*** Jare has joined #harmattan | 02:46 | |
*** MikaT_ has quit IRC | 02:46 | |
*** Kozzi has quit IRC | 02:46 | |
*** Kozzi has joined #harmattan | 02:46 | |
*** MikaT has joined #harmattan | 02:48 | |
*** faenil has quit IRC | 02:49 | |
*** e-yes has quit IRC | 02:56 | |
*** rcg1 has quit IRC | 03:04 | |
aquarius | aha. Wifi problem replicated. | 03:04 |
aquarius | so, currently, I am sshed into the N9 over USB | 03:04 |
aquarius | and the browser can't see the internet -- "Couldn't open page" | 03:05 |
aquarius | it thinks it's connected to wifi (that is: it's in the top bar) | 03:05 |
aquarius | and my router sees that it has an IP | 03:05 |
aquarius | nothing in syslog | 03:05 |
aquarius | is there anything useful I can do to debug? | 03:05 |
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. | 03:07 |
aquarius | Heisenberg, eat your heart out. | 03:07 |
ZogG_laptop | nice monolog dude =) | 03:16 |
aquarius | :) | 03:16 |
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 | 03:17 |
aquarius | I don't mind that | 03:18 |
aquarius | if that's the case, though, I wish the top bar wouldn't lie and show the wifi symbol. ;) | 03:18 |
aquarius | anyway, time for bed. | 03:19 |
ZogG_laptop | night | 03:20 |
*** aquarius has quit IRC | 03:25 | |
*** b0unc3 has quit IRC | 03:27 | |
*** b0unc3 has joined #harmattan | 03:29 | |
*** DocScrutinizer2 has joined #harmattan | 03:30 | |
*** bef0rd has quit IRC | 03:33 | |
*** beford has quit IRC | 03:34 | |
*** bef0rd has joined #harmattan | 03:46 | |
*** beford has joined #harmattan | 03:47 | |
*** b0unc3 has quit IRC | 03:47 | |
*** b0unc3 has joined #harmattan | 03:49 | |
*** DocScrutinizer2 has quit IRC | 03:58 | |
*** DocScrutinizer2 has joined #harmattan | 03:58 | |
*** DocScrutinizer2 has quit IRC | 04:00 | |
*** DocScrutinizer2 has joined #harmattan | 04:01 | |
mtd_ | anyone know how N9(50)'s face recognition works? what the software is called? It is quite cool... | 04:10 |
* mtd_ cannot believe it's haar-cascade based, given the training times. | 04:10 | |
Elleo | mtd_: well, there's a custom gstreamer element called facetracking, presumably that's what handle it | 04:17 |
Elleo | handles* | 04:17 |
Elleo | as to the method used I have no idea, since it's a proprietary plugin | 04:17 |
SpeedEvil | Posts image to server, has person in india compare pictures. | 04:34 |
DocScrutinizer2 | hehe | 04:36 |
*** b0unc3 has quit IRC | 04:39 | |
*** b0unc3 has joined #harmattan | 04:40 | |
ieatlint | i can vouch for that as being the method | 04:40 |
* ieatlint contemplates hiring the day workers who stand outside the nearby hardware store to write his design doc so he doesn't have to | 04:42 | |
ieatlint | "why'd you write your design document in spanish with a pen and paper?" "uh... no sé" | 04:44 |
*** diorahman has joined #harmattan | 04:50 | |
diorahman | I didn't do anything, I received the device in that way | 04:52 |
diorahman | I just frustrated to make it work, maybe there are other ways except usb | 04:53 |
mtd_ | Elleo: ooh | 05:10 |
GeneralAntilles | Somebody in Europe want to price this for me: http://store.ovi.com/content/279408 ? | 05:13 |
Tronic | Says € 1,00 on the website. | 05:14 |
GeneralAntilles | OK | 05:14 |
GeneralAntilles | Thanks | 05:15 |
Tronic | Including VAT. | 05:15 |
Tronic | $ 1,00 in USA? | 05:15 |
GeneralAntilles | $0.99 in the US | 05:15 |
Tronic | Plus sales tax? | 05:16 |
Tronic | (not that it really matters) | 05:16 |
*** diorahman_ has joined #harmattan | 05:20 | |
GeneralAntilles | Tronic, sales tax is a state issue | 05:20 |
GeneralAntilles | as Nokia Store doesn't have any local stores that I'm aware of . . . | 05:20 |
GeneralAntilles | Depends on how they incorporated | 05:20 |
GeneralAntilles | But, I doubt there's anywhere charging sales tax on the Nokia Store in the US. | 05:21 |
*** diorahman has quit IRC | 05:22 | |
*** diorahman_ is now known as diorahman | 05:22 | |
ieatlint | assuming you can charge it via your carrier, then you'd pay sales tax on it when you get your monthly bill | 05:28 |
*** hardaker has joined #harmattan | 05:38 | |
DocScrutinizer | ~ping | 05:48 |
infobot | ~pong | 05:48 |
*** natunen has joined #harmattan | 05:51 | |
*** b0unc3 has quit IRC | 05:55 | |
*** b0unc3 has joined #harmattan | 05:55 | |
*** diorahman_ has joined #harmattan | 05:57 | |
*** diorahman has quit IRC | 06:00 | |
*** diorahman_ is now known as diorahman | 06:00 | |
*** diorahman_ has joined #harmattan | 06:12 | |
*** diorahman has quit IRC | 06:15 | |
*** diorahman_ is now known as diorahman | 06:16 | |
*** imunsie has joined #harmattan | 06:18 | |
*** diorahman_ has joined #harmattan | 06:29 | |
*** diorahman has quit IRC | 06:33 | |
*** diorahman_ is now known as diorahman | 06:33 | |
*** b0unc3 has quit IRC | 06:35 | |
*** imunsie has quit IRC | 06:36 | |
Tronic | The sales tax seems rather minor in any case, compared to our VAT of 23 % (next year 24 %, and Sweden already has 25 %). | 06:37 |
*** b0unc3 has joined #harmattan | 06:37 | |
*** imunsie has joined #harmattan | 06:44 | |
*** DocScrutinizer2 has quit IRC | 07:04 | |
GeneralAntilles | Tronic, thus why our economy tends to do better. :P | 07:09 |
*** diorahman has quit IRC | 07:15 | |
*** b0unc3 has quit IRC | 07:17 | |
*** b0unc3 has joined #harmattan | 07:19 | |
mtd_ | Elleo: I am amazed at how concise stuff like https://github.com/Elleo/gst-opencv/blob/master/examples/python/facedetect.py is | 07:36 |
*** adlan has joined #harmattan | 07:38 | |
Elleo | mtd_: thanks, :) | 07:47 |
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 | 07:48 |
*** natunen has quit IRC | 07:49 | |
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 :) | 07:52 |
mtd_ | Elleo: now if only I could do face recognition I could unlock my PC with a small python script. | 07:53 |
mtd_ | :) | 07:53 |
mtd_ | Elleo: thanks for the pointer about thiagoss | 07:53 |
mtd_ | Elleo: will thank him too | 07:53 |
Elleo | mtd_: great :) | 07:56 |
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/ | 07:57 |
mtd_ | Elleo: thanks, that's very cool | 07:59 |
*** lamikr has joined #harmattan | 08:01 | |
*** DocScrutinizer2 has joined #harmattan | 08:13 | |
*** DocScrutinizer2 has quit IRC | 08:14 | |
*** piggz has joined #harmattan | 08:31 | |
*** natunen has joined #harmattan | 08:31 | |
*** gabriel9 has joined #harmattan | 08:32 | |
*** piggz has quit IRC | 08:36 | |
*** hardaker has quit IRC | 08:38 | |
*** gabriel9 has quit IRC | 08:39 | |
*** GonzoTheGreat has joined #harmattan | 08:47 | |
*** fignew has quit IRC | 09:13 | |
*** bef0rd has quit IRC | 09:14 | |
*** fignew has joined #harmattan | 09:18 | |
*** e-yes has joined #harmattan | 09:21 | |
*** GonzoTheGreat has quit IRC | 09:35 | |
*** Shaan7 has quit IRC | 09:42 | |
*** rcg1 has joined #harmattan | 09:55 | |
*** rnovacek has joined #harmattan | 09:56 | |
*** gabriel9|work has joined #harmattan | 09:58 | |
*** elldekaa has joined #harmattan | 10:05 | |
*** tom has joined #harmattan | 10:05 | |
*** diorahman has joined #harmattan | 10:20 | |
*** jreznik has joined #harmattan | 10:25 | |
*** beford has quit IRC | 10:31 | |
*** lamikr has quit IRC | 10:34 | |
*** aquarius has joined #harmattan | 10:46 | |
*** aquarius has joined #harmattan | 10:46 | |
*** ArkanoiD_ has joined #harmattan | 10:50 | |
*** lamikr has joined #harmattan | 10:51 | |
*** vladest has joined #harmattan | 10:51 | |
*** faenil has joined #harmattan | 10:58 | |
*** rcg1 has quit IRC | 11:05 | |
*** diorahman has quit IRC | 11:05 | |
ZogG_laptop | Elleo: the eyrie worked on n9, though tested one song | 11:14 |
Elleo | ZogG_laptop: great :) | 11:15 |
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 | 11:15 |
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 | 11:16 |
kimju | just fingerprint everything as rick astley? ;) | 11:19 |
Elleo | heh | 11:19 |
*** e-yes has quit IRC | 11:23 | |
*** cityLights has joined #harmattan | 11:26 | |
ZogG_laptop | kimju: i think in about 1 millisecond the reply of echonest is "OH, COME ON!!!!! =\" | 11:27 |
*** rcg1 has joined #harmattan | 11:28 | |
*** b0unc3 has quit IRC | 11:33 | |
*** M4rtinK has joined #harmattan | 11:34 | |
*** b0unc3 has joined #harmattan | 11:35 | |
*** faenil has quit IRC | 11:37 | |
*** artemma has joined #harmattan | 11:37 | |
cityLights | morning | 11:41 |
*** NIN101 has joined #harmattan | 11:45 | |
*** natunen has quit IRC | 11:55 | |
*** Shaan7 has joined #harmattan | 12:03 | |
*** ZogG_laptop has quit IRC | 12:08 | |
*** tom has quit IRC | 12:13 | |
*** tom has joined #harmattan | 12:14 | |
*** GonzoTheGreat has joined #harmattan | 12:27 | |
vladest | hi | 12:33 |
vladest | is there is a chance to get same set of qt components for harmattanas for symbian? | 12:34 |
timoph | afaik you could compile them but they would collide with the symbian ones (using same names for different things) | 12:40 |
GonzoTheGreat | is anybody around who knows about qmobility messaging/location? | 12:46 |
*** tom has quit IRC | 12:48 | |
MohammadAG | I've used location in sociality | 13:00 |
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? | 13:01 |
flux | how large is their catalogue in the first place? | 13:02 |
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 | 13:02 |
Elleo | flux: well for their other fingerprinting algorithm they have ~30,000,000 tracks fingerprinted | 13:03 |
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 :) | 13:03 |
*** snowpong has joined #harmattan | 13:03 | |
GonzoTheGreat | MohammadAG you aren't using qml though ;-). Anyway I have trouble sending SMS (c++ mobility) have you encountered this? | 13:03 |
*** NIN101 has quit IRC | 13:03 | |
flux | I bet they don't have many Finnish songs.. ;) | 13:03 |
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 :) | 13:04 |
Elleo | I have a giant dump of jamendo oggs I'd like to get fingerprinted for them too | 13:04 |
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? | 13:05 |
Elleo | aquarius: there's a qt-components package for ubuntu somewhere, hang on | 13:05 |
Elleo | aquarius: https://launchpad.net/~forumnokia/+archive/fn-ppa/+packages | 13:06 |
Elleo | bit old though | 13:06 |
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 :) | 13:06 |
aquarius | ooh, interesting | 13:06 |
Elleo | not sure what package you need to get a working theme with it | 13:06 |
Elleo | although you could probably pinch the blanco theme straight off your device if you want to keep everything looking consistent between the two | 13:07 |
aquarius | I don't care so much about consistency here -- I'm not looking to *release* an Ubuntu version of my app | 13:07 |
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) | 13:07 |
*** imunsie has quit IRC | 13:07 | |
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 :) | 13:08 |
Elleo | aquarius: you will need to grab a theme from somewhere, though, otherwise a lot of stuff will just look black | 13:08 |
*** pinheiro has joined #harmattan | 13:08 | |
aquarius | (and this would make sound work, to boot :)) | 13:08 |
MohammadAG | GonzoTheGreat: Nope, never used the API, what problems though? | 13:08 |
*** NIN101 has joined #harmattan | 13:11 | |
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. | 13:13 |
GonzoTheGreat | center | 13:14 |
GonzoTheGreat | the message gets delivered eventually and/or when i send one to the same number via Conversation. | 13:16 |
*** natunen has joined #harmattan | 13:17 | |
*** natunen has quit IRC | 13:23 | |
*** Natunen has joined #harmattan | 13:25 | |
MohammadAG | Oh, no idea then :( | 13:26 |
MohammadAG | The galaxy sii does that too sometimes :p | 13:27 |
*** mschlens has quit IRC | 13:29 | |
*** mschlens has joined #harmattan | 13:31 | |
*** adlan has quit IRC | 13:31 | |
GonzoTheGreat | Well another few nights will be wasted doing work arounds. | 13:45 |
*** aleksander_m has joined #harmattan | 13:47 | |
*** ZogG_laptop has joined #harmattan | 13:47 | |
*** M4rtinK has quit IRC | 13:55 | |
*** GeneralAntilles has quit IRC | 14:07 | |
*** GeneralAntilles has joined #harmattan | 14:07 | |
*** cityLights has quit IRC | 14:17 | |
*** jluisn has joined #harmattan | 14:28 | |
*** Shaan7 has quit IRC | 14:45 | |
*** cityLights has joined #harmattan | 14:46 | |
*** liar has joined #harmattan | 14:47 | |
*** aleksander_m has quit IRC | 14:52 | |
*** aleksander_m has joined #harmattan | 14:54 | |
*** DocScrutinizer has quit IRC | 14:54 | |
*** DocScrutinizer has joined #harmattan | 14:54 | |
*** Shaan7 has joined #harmattan | 15:04 | |
*** elldekaa has quit IRC | 15:15 | |
*** elldekaa has joined #harmattan | 15:16 | |
*** djszapi has joined #harmattan | 15:34 | |
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 ? | 15:34 |
*** pa has joined #harmattan | 15:39 | |
*** beford has joined #harmattan | 15:43 | |
GonzoTheGreat | djszapi: How about using a QVariantMap instead | 15:54 |
*** aleksander_m has quit IRC | 15:54 | |
*** aleksander_m has joined #harmattan | 15:55 | |
djszapi | GonzoTheGreat: sounds like a castrated idea ;) | 15:56 |
GonzoTheGreat | isn't that qml ;) | 15:56 |
djszapi | GonzoTheGreat: well, I kinda cracked this around two years ago, but I hoped for a more mature qml nowadays :) | 16:07 |
*** etrunko has joined #harmattan | 16:12 | |
artemma | djszapi: I studied it lately. Nothing for non-classed enums in QtQuick 1.1 | 16:13 |
artemma | barely remember that it could be improved in QtQuick 2.0 | 16:13 |
*** Shaan7 has quit IRC | 16:13 | |
artemma | or maybe it was about javascript constants only | 16:13 |
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. | 16:14 |
djszapi | for all items of the repeater*, heh | 16:15 |
djszapi | I mean in qml, it would be just one-time instantiation inside the relevant element obviously. | 16:15 |
artemma | I can certainly tell you some workaround tricks, but you know them anyway | 16:15 |
djszapi | I cannot think of a simple way. | 16:15 |
artemma | like exposing a C++ model that happens to be a list of all enum values | 16:15 |
artemma | or mentioned QVariantMap for virtually the same | 16:16 |
djszapi | I am leaning towards the enum created in qml. | 16:16 |
artemma | or a C++ side object with a function or two | 16:16 |
artemma | oh, if pure QL approach is fine for you - why not then :) | 16:16 |
djszapi | aka. http://paste.kde.org/488528/ | 16:17 |
artemma | I thought you need enum for interoperating QML <-> C++ | 16:17 |
djszapi | not too cool since this is something that the library should provide. | 16:17 |
djszapi | but as far as I see the C++ integration with Qml wrt seems too hacky to my taste. | 16:17 |
artemma | I use specialized class for just enum in my app | 16:18 |
artemma | works fine | 16:18 |
djszapi | The main problem as far as I see that, I would have a status for each element a repeater. | 16:18 |
djszapi | so ideally, the instantiation should happen inside that element, and not on C++ side. | 16:18 |
artemma | oh, actually my specialized class uses Q_ENUMS | 16:18 |
djszapi | I would only need the type defined inside the library. | 16:19 |
artemma | what's the end goal? | 16:19 |
djszapi | to have buttons in a repeater with a state enum. | 16:19 |
artemma | but repeating on some other model? | 16:19 |
artemma | or one element per one possible status? | 16:20 |
djszapi | Grid { Repeater { Button { .. property MyEnum myEnum: Init; ... } } } | 16:20 |
djszapi | with pseudo code ^ | 16:20 |
artemma | so element in the model have some sort of state that is expressed as enum value | 16:21 |
artemma | and you want to show different icons for different states | 16:21 |
djszapi | not sure how this is related to a model. | 16:22 |
artemma | I was trying to make sure you are trying to iterate the possible enum values | 16:22 |
djszapi | it would be just a property of an element in a Repeater. | 16:22 |
artemma | ok, I think I've got it | 16:22 |
artemma | I had same issue, solved it with a specialized class | 16:22 |
artemma | just a few lines | 16:22 |
artemma | class TwContactAvailability : public QObject | 16:23 |
artemma | { | 16:23 |
artemma | Q_OBJECT | 16:23 |
artemma | public: | 16:23 |
djszapi | so this would be changed willingly according to the need for each button separately. The status, that is. | 16:23 |
artemma | Q_ENUMS(Availability) | 16:23 |
artemma | enum Availability { | 16:23 |
artemma | AVAILABLE = 0, | 16:23 |
artemma | MAYBE_AVAILABLE, | 16:23 |
artemma | }; | 16:23 |
artemma | }; | 16:23 |
artemma | that's it | 16:23 |
djszapi | that did not work for me. | 16:23 |
djszapi | I have tried to use TwContactAvailability.AVAILABLE | 16:23 |
djszapi | or twContactAvailability.AVAILABLE as well | 16:23 |
artemma | on top of that you need to register this class to qml | 16:24 |
artemma | qmlRegisterType<TwContactAvailability>("TwineLib", 1, 0, "TwContactAvailability"); | 16:24 |
djszapi | yes, that is what I did two years ago :) | 16:24 |
artemma | hmm | 16:24 |
artemma | then in my code I just import a library and use enums | 16:24 |
artemma | as in the following | 16:24 |
artemma | import TwineLib 1.0 | 16:24 |
artemma | availability: TwContactAvailability.AVAILABLE, | 16:25 |
djszapi | https://projects.kde.org/projects/playground/games/gluon/repository/revisions/master/entry/player/fremantle/gamewindowmanager.cpp#L99 | 16:25 |
djszapi | though, I hoped for something simpler, like a context property. | 16:25 |
djszapi | Unsure why I used UncreatableType back then. :) | 16:25 |
artemma | well, you can instantiate something in c++ side and inject it as a context property | 16:25 |
djszapi | Like I wrote in the comment in there, this is a bit flaky stuff :) | 16:26 |
artemma | anyway, custom class approach works for me. You mentioned you can't use Q_ENUMS. Why? | 16:26 |
*** zhxt has joined #harmattan | 16:26 | |
djszapi | artemma: well, ideally, I would expose an enum, maximum from a namespace. | 16:26 |
artemma | ah | 16:26 |
djszapi | Q_ENUMS ruins that goal. :) | 16:27 |
djszapi | since then I need to use a wrapper class. | 16:27 |
djszapi | secondly, I do not feel cool with this register type thingy =] | 16:27 |
djszapi | I would feel more comfortable with an exposed context property. | 16:28 |
artemma | I don't think there is a way for proper enums | 16:28 |
djszapi | The syntax of this register thingy is unheuristic to me :) | 16:28 |
artemma | workarounds are certainly possible | 16:28 |
artemma | you can even create a data model for all possible statuses on c++ side | 16:29 |
artemma | and use its indexes as enum values | 16:29 |
artemma | though registering a specialized class looks more elegant to me :) | 16:29 |
djszapi | I hope QtQuick2 will be user friendlier. | 16:30 |
djszapi | somewhat nightmare this has not changed the last two years :) | 16:30 |
djszapi | I still need to make the same ugly hack... | 16:31 |
artemma | I somehow stopped considering it a hack after I used it | 16:31 |
artemma | and managed to even find some elegance in the approach :) | 16:31 |
artemma | sort of a feeling of constructing an own strict type system dynamically. | 16:31 |
djszapi | I think it would be cool if I could mark an enum "invokable" similarly in complexity to a method. | 16:32 |
djszapi | meaning: Q_ENUMS + Context property. | 16:33 |
artemma | yeah, that would have been good | 16:33 |
djszapi | this is also similar to the properties and how to use them from Qml. | 16:33 |
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.. | 16:34 |
*** Shaan7 has joined #harmattan | 16:41 | |
*** danielcbit has joined #harmattan | 16:46 | |
*** jluisn has quit IRC | 16:48 | |
beford | hi djszapi | 16:49 |
djszapi | o/ | 16:49 |
*** GonzoTheGreat has quit IRC | 16:51 | |
*** vladest has quit IRC | 17:01 | |
*** aleksander_m has quit IRC | 17:01 | |
*** aleksander_m has joined #harmattan | 17:02 | |
*** Natunen has quit IRC | 17:02 | |
*** artemma has quit IRC | 17:07 | |
*** Shaan7 has quit IRC | 17:08 | |
*** Shaan7 has joined #harmattan | 17:09 | |
*** thp has quit IRC | 17:21 | |
*** thp has joined #harmattan | 17:21 | |
RST38h | moo thp | 17:22 |
*** zhxt has quit IRC | 17:22 | |
thp | RST38h: hey ho :) | 17:22 |
*** zhxt has joined #harmattan | 17:22 | |
*** gabriel9 has joined #harmattan | 17:23 | |
djszapi | Can I have Q_PROPERTY without WRITE method, but definitely with NOTIFY signal ? | 17:25 |
*** gabriel9|work has quit IRC | 17:25 | |
ZogG_laptop | djszapi: if it was up to me — you would | 17:26 |
djszapi | ZogG_laptop: kindness :) | 17:26 |
*** gabriel9|work has joined #harmattan | 17:28 | |
*** rnovacek has quit IRC | 17:28 | |
djszapi | so what is the reality... | 17:30 |
thp | djszapi: yes | 17:30 |
thp | djszapi: it's a read-only property that you can still notify with the NOTIFY signal | 17:30 |
djszapi | I do not have an "int foobar" member since I read the stuff from the configuration file with QSettings. | 17:30 |
djszapi | so I do not change this explicitely. | 17:30 |
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) | 17:30 |
djszapi | the reader method basically reads the configuration file | 17:30 |
djszapi | and counts how many elements are in there. | 17:30 |
djszapi | and I have a addNewStuff method which adds a new item to the configuration file, and emits the signal. | 17:31 |
djszapi | thp: I do not set this. | 17:31 |
thp | yes, then it will work :) | 17:31 |
thp | Q_PROPERTY(int cool READ getCool NOTIFY coolChanged) | 17:31 |
djszapi | thp: here is my code, but something goes utterly wrong: http://paste.kde.org/488540/ | 17:31 |
djszapi | so I do not need to have "cool" member variable, right ? | 17:32 |
*** gabriel9 has quit IRC | 17:32 | |
thp | djszapi: nope | 17:32 |
thp | it will only be read via the READ method | 17:32 |
thp | i.e. the getCool above should be a public: int getCool() { return mycoolvariable; } | 17:32 |
djszapi | err... I do not have such a stuff... | 17:33 |
thp | oh, and to be qt-ish, the read method should be named like the property | 17:33 |
djszapi | like I said, no real variable, really. | 17:33 |
djszapi | I fire up the config file for reading with QSettings, and I return how many items are in there. | 17:33 |
*** aleksander_m has quit IRC | 17:33 | |
thp | djszapi: http://paste.kde.org/488564/ | 17:34 |
thp | yes, you don't need to store it in a member variable | 17:34 |
*** aleksander_m has joined #harmattan | 17:34 | |
thp | (though for performance reasons you might, depending on how often you read that property) | 17:34 |
djszapi | thp: well reading a really short config file is not much of a time. | 17:35 |
djszapi | thp: in any case, I do not see the signal emitted in your example... | 17:35 |
thp | yes, sure - you need to emit it from some code that "knows" when the config file changes | 17:35 |
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 | 17:36 |
djszapi | yes, the one which adds a new item. | 17:36 |
djszapi | I do not know where the problem lies in my code then. :/ | 17:36 |
djszapi | lays* :) | 17:36 |
thp | djszapi: does it just crash or something? | 17:37 |
thp | (and I think it's "lies") | 17:38 |
thp | http://answers.google.com/answers/threadview/id/439461.html | 17:38 |
djszapi | I think, lays down is fine | 17:39 |
djszapi | but this is clearly not what I am after really. | 17:39 |
thp | djszapi: you could put some qDebug() output into the READ method to see when and if it is called | 17:39 |
djszapi | I think better to debug this in qml to be honest. | 17:39 |
*** lamikr has quit IRC | 17:40 | |
*** rcg1 has quit IRC | 17:40 | |
djszapi | thp: setStuff really decrease the counter in this code: http://paste.kde.org/488540/ | 17:43 |
djszapi | so I wonder why buttons are not recolorized and re-subtexted accordingly :o | 17:43 |
thp | djszapi: you have to emit the signal | 17:43 |
thp | that you specified with NOTIFY | 17:44 |
thp | otherwise there's no way for QML to know that the property changed | 17:44 |
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 | 17:45 |
djszapi | I do emit like I said in the beginning | 17:45 |
thp | does the READ method for the foobarCount property get called? | 17:45 |
thp | and what does it return? | 17:45 |
djszapi | 17:31 < djszapi> and I have a addNewStuff method which adds a new item to the configuration file, and emits the signal. | 17:45 |
*** rcg1 has joined #harmattan | 17:45 | |
thp | djszapi: but you are not calling addNewStuff from QML, so I can't know that setStuff calls it (indirectly?) | 17:46 |
MohammadAG | you have to have a method called getFooBar | 17:46 |
MohammadAG | so I'd suggest storing the data in a variable | 17:46 |
djszapi | thp: addNewStuff is exactly called by setStuff. | 17:46 |
MohammadAG | and there's a getStuff method? | 17:46 |
thp | djszapi: so why not add some debugging output to the READ method? | 17:46 |
djszapi | I already did. | 17:47 |
thp | djszapi: if you can/want, please paste the C++ code also - that might help | 17:47 |
djszapi | err.. sorry, that is not going to work.. | 17:47 |
*** aleksander_m has quit IRC | 17:47 | |
*** aleksander_m has joined #harmattan | 17:49 | |
thp | djszapi: then read up on how properties work on the C++ side here: http://qt-project.org/doc/qt-4.8/properties.html | 17:50 |
djszapi | meh | 17:50 |
djszapi | I have known that for years really :) | 17:50 |
*** vladest has joined #harmattan | 17:50 | |
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 | 17:51 |
djszapi | you do not need to be cynical t o help | 17:51 |
djszapi | nobody said, you should have "your magic 8 ball today". | 17:51 |
*** b0unc3 has quit IRC | 17:52 | |
*** cityLights has quit IRC | 17:52 | |
thp | ;) anyway, have you found the cause of the problem? i'd still be interested to know | 17:52 |
rcg1 | http://ruedigergad.com/2011/11/13/exchange-data-and-objects-between-c-and-qml-and-vice-versa/ | 17:53 |
rcg1 | could be interesting for you in that context | 17:53 |
djszapi | I am not a superman to find every issues in two minutes, sorry. | 17:53 |
thp | rcg1: looks good. but i'd only emit the changed signal when the value really changed | 17:53 |
*** b0unc3 has joined #harmattan | 17:54 | |
thp | (i.e. in the set method: if (myA != a) { myA = a; emit aChanged(); }) | 17:54 |
rcg1 | thp: hehe, yeah.. well it's intended as minimal working example that shows the mechanism on interacting between qml and c++ | 17:55 |
rcg1 | yeah, i know.. however the aim was not to provide a full-fledged property getter setter example ;) | 17:55 |
djszapi | beford: how are you ? | 17:56 |
thp | it's great as it is :) | 17:56 |
thp | http://doc.qt.nokia.com/4.7-snapshot/qtbinding.html#modifying-properties | 17:56 |
rcg1 | thp: thx :) | 17:56 |
*** Venemo_N950 has joined #harmattan | 17:56 | |
rcg1 | thp: also comments are in fact highly appreciated :) | 17:57 |
thp | rcg1: you mean as a comment in the blog entry or via mail? | 17:57 |
rcg1 | however you like | 17:58 |
rcg1 | comment entries are not shown directly.. i have to manually approve them | 17:58 |
*** Venemo_N950 has quit IRC | 17:59 | |
rcg1 | i think comment should be better as then everyone can benefit | 18:00 |
thp | argh! now i wrote a nice comment and it wants me to login to wordpress :/ | 18:00 |
rcg1 | huh? | 18:01 |
rcg1 | that shouldn't happen :( | 18:01 |
rcg1 | thp: did you use an email address that was already registered at wp? | 18:03 |
rcg1 | just tried it.. with my email address used at wp it wants me to log in.. with a different one it doesnt | 18:04 |
thp | rcg1: yep. i've tried to login now, but not sure if the form data was submitted | 18:05 |
rcg1 | alright | 18:05 |
rcg1 | i'll check | 18:05 |
djszapi | thp: for some for some reason, after the notification signal emit, the read method is executed zillion times. | 18:05 |
rcg1 | however, i noticed that wp is sometimes pretty slow wrt showing new messages | 18:06 |
thp | then you have a binding loop somewhere | 18:06 |
*** gabriel9|work has quit IRC | 18:06 | |
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... | 18:06 |
thp | djszapi: btw, why do you use the "lastIndex" array as parameter to setStuff? | 18:07 |
thp | do you plan to set more values there later on? | 18:07 |
djszapi | thp: because setStuff expects string | 18:07 |
djszapi | in fact, QStringList. | 18:07 |
djszapi | but that is not the point here. | 18:08 |
thp | hmm. curious. because in the other line, you call it with "index + 1" | 18:08 |
thp | (line 36 + line 78 in http://paste.kde.org/488540/) | 18:09 |
djszapi | for (var i = 0; i < configurationManager.receiverCount; ++i) { -> this runs in a second timer, so that explains it. | 18:09 |
djszapi | thp: yes of course since the settings is human readable. | 18:10 |
djszapi | aka. not starting from zero | 18:10 |
*** javispedro has joined #harmattan | 18:10 | |
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 | 18:11 |
djszapi | QString != QStringList | 18:11 |
djszapi | but, no, it does not autoconvert. | 18:11 |
djszapi | Otherwise I would not obviously use that :) | 18:12 |
thp | djszapi: so then one of the calls is wrong - line 36 if you say it expects a QStringList | 18:13 |
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 | 18:13 |
djszapi | well, they are different methods in the reality. | 18:13 |
thp | djszapi: ok. i should probably stop trying to be helpful here :) | 18:14 |
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 | 18:15 |
djszapi | thp: I wonder how you got that conclusion... | 18:15 |
djszapi | to* | 18:15 |
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. | 18:18 |
djszapi | or perhaps actually not. | 18:19 |
*** zhxt has quit IRC | 18:20 | |
*** rcg1 has quit IRC | 18:28 | |
*** lamikr has joined #harmattan | 18:36 | |
*** hardaker has joined #harmattan | 18:43 | |
*** bef0rd has joined #harmattan | 19:05 | |
*** beford has quit IRC | 19:06 | |
*** lamikr has quit IRC | 19:13 | |
djszapi | any qml guru here ? :-) | 19:19 |
*** elldekaa has quit IRC | 19:21 | |
*** jaywink has joined #harmattan | 19:23 | |
*** lamikr has joined #harmattan | 19:27 | |
*** rcg1 has joined #harmattan | 19:33 | |
*** jreznik has quit IRC | 19:39 | |
*** piggz has joined #harmattan | 19:41 | |
*** gabriel9 has joined #harmattan | 19:44 | |
trx | djszapi nope, but you can ask anyway | 19:44 |
*** jluisn has joined #harmattan | 19:45 | |
*** piggz has quit IRC | 19:46 | |
*** Natunen has joined #harmattan | 19:51 | |
*** tom____ has joined #harmattan | 19:53 | |
*** hardaker has quit IRC | 20:01 | |
*** befr0d has joined #harmattan | 20:06 | |
*** javispedro has quit IRC | 20:11 | |
*** piggz has joined #harmattan | 20:19 | |
*** tom____ has quit IRC | 20:19 | |
djszapi | trx: how do you know "nope" for everybody ? :) | 20:21 |
djszapi | and I already asked... | 20:21 |
MohammadAG | if there was anybody they'd say that :p | 20:23 |
gabriel9 | ola | 20:23 |
gabriel9 | https://maps.google.com/maps/ms?ie=UTF&msa=0&msid=200575306309039860448.0004c061f019b930e8621 | 20:23 |
gabriel9 | for those who does not hate google :P | 20:24 |
gabriel9 | and godo evening | 20:24 |
*** NIN101 has quit IRC | 20:25 | |
trx | djszapi can you copy the question? | 20:25 |
djszapi | trx: I would replicate the log. | 20:26 |
trx | is this it : "Can I have Q_PROPERTY without WRITE method, but definitely with NOTIFY signal ?" ? | 20:27 |
djszapi | we sorted that out | 20:27 |
trx | so whats the problem then, the repeater isnt updating or what? | 20:29 |
*** Enforcer has quit IRC | 20:33 | |
*** astm has joined #harmattan | 20:34 | |
hahlo | gabriel9: what is that map? | 20:36 |
*** aparaatti has joined #harmattan | 20:36 | |
djszapi | trx: one base problem is that, I do not understand why these are not equivalent: http://paste.kde.org/488666/ | 20:36 |
gabriel9 | N9 users | 20:36 |
gabriel9 | across the globe :) | 20:36 |
hahlo | cool | 20:36 |
gabriel9 | i say also | 20:37 |
trx | djszapi because of the elseif's | 20:37 |
trx | the code is not the same | 20:37 |
*** piggz has quit IRC | 20:38 | |
djszapi | why not ? | 20:38 |
djszapi | the last could be else for sure, but I think they represent the same logic. | 20:39 |
djszapi | just an explicite function is way more readable. | 20:39 |
trx | http://paste.kde.org/488684/ | 20:39 |
trx | this would be the same | 20:40 |
trx | but both should work anyway | 20:40 |
djszapi | sorry ? | 20:40 |
djszapi | it is exactly the same with different personal taste... | 20:40 |
trx | as i said, both should work in this context | 20:41 |
djszapi | that is the thing, they do not. | 20:42 |
trx | which one works? | 20:42 |
djszapi | and I am just wondering why | 20:42 |
gabriel9 | if i may add the bottom syntax is better | 20:43 |
gabriel9 | not long and 2 lines of code | 20:43 |
*** xmlich02 has quit IRC | 20:43 | |
gabriel9 | oh one :D | 20:43 |
trx | exactly | 20:43 |
hahlo | gabriel9: how they have found those phones in the map? | 20:43 |
gabriel9 | you add yourself | 20:44 |
gabriel9 | just click edit on the left and then add | 20:44 |
djszapi | gabriel9: and that is exactly the reason why that is ugly. | 20:44 |
hahlo | ah so there must be many others | 20:44 |
djszapi | that tries to be smart unnecessarily. | 20:44 |
gabriel9 | The Good Coder book(nice read) sugest always smaller lines of code | 20:44 |
gabriel9 | it is more readable, and smaller chance to make a mistake | 20:44 |
djszapi | huh ? | 20:44 |
djszapi | huh ? | 20:44 |
gabriel9 | :D | 20:44 |
djszapi | afaik, almost every programming book begins with do NOT be tricky. | 20:45 |
djszapi | unless there is a very compelling reason. | 20:45 |
gabriel9 | i agree, and i use normal if else only if the line os long | 20:45 |
trx | as long as it workes, no one cares, its not that big a diffrence | 20:45 |
*** lmoura has joined #harmattan | 20:45 | |
djszapi | trx: clearly you never contributed to other projects like Qt, KDE, etc | 20:46 |
gabriel9 | one dude sayed the syntax is not important | 20:46 |
trx | and if it were a real language, the second case would be better | 20:46 |
djszapi | those projects are definitely against tricky code | 20:46 |
trx | because it is inline | 20:46 |
hahlo | does manufacturer know exact amount of phones and where they are? about updating etc | 20:46 |
djszapi | trx: you do not know what you are talking about :D | 20:46 |
djszapi | you essentially say you are smarter than gcc, msvc and other compilers... | 20:47 |
gabriel9 | hahlo: i don't know | 20:47 |
gabriel9 | either way we shall write text documents :/ | 20:47 |
hahlo | ok | 20:47 |
gabriel9 | sometimes short syntax is OK | 20:48 |
gabriel9 | sometimes it is not | 20:48 |
trx | djszapi whatever, your setColor function doesnt have a return value.. | 20:48 |
djszapi | readability makes a big difference. | 20:48 |
gabriel9 | for php when you mix it with html shorts sytax is far better | 20:48 |
gabriel9 | i agree also, but there is situations where shorter is more readable | 20:49 |
djszapi | trx: yes | 20:49 |
gabriel9 | i lost link for this subject :( | 20:49 |
gabriel9 | but there is more important thing then syntax | 20:50 |
gabriel9 | code optimization, concurency | 20:50 |
gabriel9 | i'm relativly new too all this but i have 1 year of expiriance :) | 20:50 |
*** xmlich02 has joined #harmattan | 20:55 | |
*** tom____ has joined #harmattan | 21:16 | |
*** swerige has quit IRC | 21:18 | |
*** achilles999 has joined #harmattan | 21:19 | |
achilles999 | hi | 21:20 |
gabriel9 | ola | 21:20 |
achilles999 | i'm having problem in deploying ssh keys to N9 device via Qt creator | 21:20 |
achilles999 | I get connection failed :( | 21:20 |
*** snowpong_ has joined #harmattan | 21:20 | |
achilles999 | can someone please help?? | 21:20 |
gabriel9 | usb or wlan? | 21:21 |
achilles999 | usb | 21:21 |
bef0rd | what fails | 21:21 |
gabriel9 | did you set up IP adresses? | 21:21 |
*** b0unc3 has quit IRC | 21:21 | |
bef0rd | can you ping the ip from terminal? | 21:21 |
bef0rd | n9's ip | 21:21 |
*** swerige has joined #harmattan | 21:21 | |
achilles999 | i'm on windows | 21:21 |
achilles999 | let me try to ping & see | 21:22 |
*** snowpong has quit IRC | 21:22 | |
*** bef0rd has quit IRC | 21:23 | |
*** djszapi has left #harmattan | 21:24 | |
befr0d | can you ssh to the phone with the ip? | 21:26 |
befr0d | first thing is to find out if the usb network connection is set | 21:26 |
gabriel9 | just use Wifi if you can, it is much easier | 21:26 |
befr0d | not sure how is in windows, I suppose a new network device will appear | 21:26 |
gabriel9 | achilles999, check in setting of the phone password | 21:27 |
gabriel9 | ip | 21:27 |
gabriel9 | and then set up Qt Creator | 21:27 |
gabriel9 | befr0d: he should use GNU/Linux | 21:27 |
*** b0unc3 has joined #harmattan | 21:28 | |
*** achilles999 has quit IRC | 21:28 | |
*** achilles999 has joined #harmattan | 21:29 | |
achilles999 | sorry, my connection dropped | 21:29 |
achilles999 | i'm not able to ping my device | 21:29 |
befr0d | <befr0d> can you ssh to the phone with the ip? | 21:29 |
befr0d | <befr0d> first thing is to find out if the usb network connection is set | 21:29 |
befr0d | <gabriel9> just use Wifi if you can, it is much easier | 21:29 |
befr0d | <befr0d> not sure how is in windows, I suppose a new network device will appear | 21:29 |
befr0d | <gabriel9> achilles999, check in setting of the phone password | 21:29 |
achilles999 | i disabled firewall & tried | 21:30 |
gabriel9 | check settings | 21:30 |
gabriel9 | of the phone | 21:30 |
gabriel9 | and | 21:30 |
gabriel9 | did you install dev packages??? | 21:30 |
achilles999 | what settings on the phone? settings on sdk tool? | 21:30 |
gabriel9 | y | 21:30 |
achilles999 | yes, I enabled dev mode | 21:30 |
*** snowpong_ has quit IRC | 21:30 | |
gabriel9 | what do you have under sdk cnnection? | 21:31 |
achilles999 | in past I connected my device on windows, but a different machine(work PC)..now i'm trying to connect on home PC | 21:31 |
*** NIN101 has joined #harmattan | 21:32 | |
gabriel9 | sometimes reset of the phone helps | 21:32 |
gabriel9 | and double check pass and ip settings | 21:32 |
gabriel9 | in Qt creator and N9 | 21:32 |
gabriel9 | i had some issues also, but now i am back on Arch and all is nice | 21:33 |
achilles999 | let me try over wifi | 21:35 |
achilles999 | thanks for your time | 21:35 |
achilles999 | BRB | 21:35 |
gabriel9 | np :) | 21:36 |
gabriel9 | so anyone wish to give me N950? :D | 21:36 |
*** adlan has joined #harmattan | 21:39 | |
befr0d | nop | 21:40 |
gabriel9 | ok | 21:40 |
*** Morpog has joined #harmattan | 21:40 | |
gabriel9 | something is wrong, i am to happy | 21:41 |
befr0d | drugs | 21:41 |
befr0d | alcohol | 21:41 |
befr0d | meds | 21:41 |
befr0d | ? | 21:41 |
befr0d | spring? | 21:41 |
gabriel9 | nop | 21:41 |
gabriel9 | my gf is at her parents | 21:45 |
gabriel9 | but i like her | 21:45 |
befr0d | that's good | 21:46 |
befr0d | no drugs involved | 21:46 |
*** Enforcer has joined #harmattan | 21:46 | |
befr0d | :P | 21:46 |
gabriel9 | for me drugs are code, my PC and SF movies | 21:47 |
befr0d | SF? | 21:47 |
*** aleksander_m has quit IRC | 21:47 | |
gabriel9 | Sciance Fiction | 21:47 |
befr0d | ah | 21:47 |
gabriel9 | can you debug QML? | 21:48 |
gabriel9 | on N9? | 21:48 |
befr0d | console.debug() | 21:48 |
befr0d | ? | 21:48 |
befr0d | from qml | 21:48 |
befr0d | console.log | 21:48 |
gabriel9 | breakpoints | 21:49 |
befr0d | with qtcreator I believe so, not sure if you can put them on QML/Js code | 21:49 |
befr0d | but on the Qt side if things I have | 21:49 |
befr0d | of things* | 21:50 |
gabriel9 | js code needs debuging also | 21:50 |
gabriel9 | and QML items(states) | 21:50 |
*** rcg1 has quit IRC | 21:50 | |
befr0d | never tried it so not sure | 21:50 |
gabriel9 | i tried it couple of times but no hope | 21:51 |
gabriel9 | still does not work | 21:52 |
*** aparaatti has quit IRC | 21:53 | |
gabriel9 | QDeclarativeDebugServer: Ignoring "-qmljsdebugger=port:10000,block". Debugging has not been enabled. | 21:53 |
gabriel9 | i give up :/ well i go and code my XML/HTTP pareser | 21:54 |
*** M4rtinK has joined #harmattan | 21:55 | |
befr0d | xml ? | 21:57 |
befr0d | qml already parses xml | 21:57 |
befr0d | from http | 21:57 |
*** tom____ has quit IRC | 21:57 | |
gabriel9 | i have some bad XML to parse | 21:58 |
gabriel9 | it have huge chunk of data in CDATA part | 21:59 |
gabriel9 | and i need that part to parse | 21:59 |
MohammadAG | does anyone know where the brightness icons in settings are? | 22:03 |
gabriel9 | sorry i did not go that deap | 22:05 |
Morpog | MohammedAG when your at it, add switches for BT and DLNA on/off there too ;-) | 22:07 |
gabriel9 | BT off/on would be nice :) | 22:07 |
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 | 22:08 |
gabriel9 | I build some stuff, also console.log is OK, but sometimes i wish to break on some point and then inspect all stuff | 22:08 |
gabriel9 | thanks for hint | 22:09 |
jonni | http://doc.qt.nokia.com/qtcreator-2.4/creator-debugging-qml.html | 22:09 |
jonni | qml inspector is pretty handy tool | 22:10 |
gabriel9 | and i see there is JS console | 22:10 |
gabriel9 | that is real power!!! | 22:10 |
gabriel9 | for JS part BTW | 22:11 |
MohammadAG | Morpog, heh | 22:12 |
Morpog | in the starus bar menu | 22:13 |
Morpog | which you are modding atm ;-) | 22:13 |
Morpog | status | 22:13 |
*** hardaker has joined #harmattan | 22:18 | |
*** piggz has joined #harmattan | 22:20 | |
*** xnt14 has quit IRC | 22:31 | |
*** MohammadAG has quit IRC | 22:31 | |
*** e-yes has joined #harmattan | 22:34 | |
*** achilles999 has quit IRC | 22:35 | |
*** achilles999 has joined #harmattan | 22:43 | |
*** xmlich02 has quit IRC | 22:56 | |
*** achilles999 has quit IRC | 23:00 | |
*** etrunko has quit IRC | 23:00 | |
*** lmoura has quit IRC | 23:04 | |
*** achilles999 has joined #harmattan | 23:07 | |
*** MohammadAG has joined #harmattan | 23:09 | |
*** MohammadAG has joined #harmattan | 23:10 | |
*** NIN101 has quit IRC | 23:10 | |
MohammadAG | http://talk.maemo.org/showthread.php?p=1214023#post1214023 http://talk.maemo.org/showthread.php?p=1214014#post1214014 | 23:10 |
MohammadAG | cc Morpog ^ | 23:10 |
MohammadAG | have fun :p | 23:10 |
MohammadAG | toggles should be easy, it's a normal MTF MWidget | 23:11 |
Morpog | seen already ;) Just need to redo inception. | 23:11 |
thp | MohammadAG: good move :) | 23:13 |
thp | so, why does the alarms applet not appear in the stock sysuid? did they blacklist it or something? | 23:13 |
achilles999 | i'm learning QML & experimenting on N9. can anyone suggest some simple open source N9 app which is written in QML? | 23:13 |
achilles999 | I like to see how it is written & improve my understanding | 23:13 |
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 ;) | 23:14 |
MohammadAG | thp, they have a hardcoded regex :p | 23:15 |
mankeli | MohammadAG: ooh, very nice. would it possible to add scrolling to the status menu while the phone is in landscape mode? | 23:15 |
befr0d | there is a harmattan showcase api, it may be alittle advanced example, however it includes a lot of funciontality | 23:15 |
befr0d | http://harmattan-dev.nokia.com/docs/library/html/guide/html/examples/api_showcase.html | 23:16 |
mankeli | since that menu will problably get a lot of extensions in future | 23:16 |
MohammadAG | mankeli, it already scrolls as of the latest PR from Nokia | 23:16 |
MohammadAG | at least on the N950 | 23:17 |
mankeli | probably only on n950 | 23:17 |
mankeli | pr1.2 here, and no scrolling. but landscape isn't normally available either | 23:17 |
MohammadAG | no | 23:17 |
MohammadAG | the N9 has a newer firmware | 23:17 |
MohammadAG | and the source clearly has a viewport | 23:18 |
mankeli | does it btw open full screen on n950? | 23:18 |
mankeli | or does it only cover the left side of screen | 23:18 |
MohammadAG | same as in portrait | 23:18 |
MohammadAG | thp, the regex has alarms... | 23:19 |
*** b0unc3 has quit IRC | 23:19 | |
MohammadAG | ok, I'm stumped, lemme check again | 23:19 |
mankeli | hmm. probably installing that unrestricted system-ui will fix behavior to n950-like | 23:20 |
MohammadAG | extensionArea->setInProcessFilter(QRegExp("/statusindicatormenu-(alarms|internetconnection|presence|profile).desktop$")); | 23:20 |
*** b0unc3 has joined #harmattan | 23:21 | |
mankeli | is it possible to get old system-ui back if unrestricted package doesn't work? | 23:21 |
MohammadAG | probably, haven't tested | 23:21 |
*** Mohammad- has joined #harmattan | 23:21 | |
MohammadAG | hmm, bouncer back | 23:21 |
*** MohammadAG has quit IRC | 23:21 | |
*** Mohammad- is now known as MohammadAG | 23:21 | |
*** MohammadAG has quit IRC | 23:22 | |
*** MohammadAG has joined #harmattan | 23:22 | |
*** xnt14 has joined #harmattan | 23:22 | |
*** jaywink has quit IRC | 23:26 | |
MohammadAG | thp, how do I create a new repo under harmattan? | 23:28 |
*** arcean has joined #harmattan | 23:29 | |
MohammadAG | oh nvm, figured it out | 23:32 |
MohammadAG | https://github.com/harmattan/system-ui-brightness-control | 23:32 |
*** aquarius has quit IRC | 23:35 | |
thp | MohammadAG: ;) thanks! | 23:35 |
ZogG_laptop | MohammadAG: did i tell you — you are the man | 23:35 |
MohammadAG | ZogG_laptop, lots of credit goes to itsnotabigtruck for Inception really ;) | 23:36 |
MohammadAG | thp, you're welcome :) | 23:37 |
*** hardaker has quit IRC | 23:38 | |
*** rZr is now known as RzR | 23:49 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!