*** radegand has joined #maemo-devel | 00:01 | |
*** edisson has quit IRC | 00:02 | |
*** BluesLee has quit IRC | 00:03 | |
*** VDVsx has quit IRC | 00:05 | |
*** fiferboy has quit IRC | 00:13 | |
*** rlinfati has quit IRC | 00:16 | |
*** SpeedEvil has quit IRC | 00:33 | |
*** kW has quit IRC | 00:34 | |
*** onen|openBmap has quit IRC | 00:39 | |
*** SpeedEvil has joined #maemo-devel | 00:42 | |
*** mindfaq has quit IRC | 00:49 | |
*** JPohlmann has quit IRC | 01:05 | |
*** DocScrutinizer51 has quit IRC | 01:06 | |
*** aboyer has quit IRC | 01:06 | |
*** T7g has quit IRC | 01:06 | |
*** kevsim has quit IRC | 01:06 | |
*** DocScrutinizer51 has joined #maemo-devel | 01:08 | |
*** aboyer has joined #maemo-devel | 01:08 | |
*** T7g has joined #maemo-devel | 01:08 | |
*** kevsim has joined #maemo-devel | 01:08 | |
*** _0x471 has quit IRC | 01:18 | |
*** minglis has joined #maemo-devel | 01:29 | |
*** kW_ has joined #maemo-devel | 01:43 | |
*** csaavedra has quit IRC | 02:00 | |
*** kW_ has quit IRC | 02:06 | |
*** SpeedEvil has quit IRC | 02:09 | |
*** radegand has quit IRC | 02:10 | |
*** _Lucretia_ has quit IRC | 02:21 | |
*** SpeedEvil has joined #maemo-devel | 02:23 | |
*** SpeedEvil has joined #maemo-devel | 02:24 | |
*** _Lucretia_ has joined #maemo-devel | 02:28 | |
*** SpeedEvil has quit IRC | 02:30 | |
*** SpeedEvil has joined #maemo-devel | 02:44 | |
*** minglis has quit IRC | 03:15 | |
*** rcampbell_ has joined #maemo-devel | 03:15 | |
*** shinkamui has joined #maemo-devel | 04:28 | |
*** kamui__ has quit IRC | 04:33 | |
*** azakai has quit IRC | 05:14 | |
*** lbt has quit IRC | 05:43 | |
*** lbt has joined #maemo-devel | 05:43 | |
*** einval has quit IRC | 06:02 | |
*** einval has joined #maemo-devel | 06:03 | |
*** rcampbell_ has quit IRC | 06:22 | |
*** rcampbell_ has joined #maemo-devel | 06:23 | |
*** dotblank has joined #maemo-devel | 06:31 | |
dotblank | Im having a problem using qt creator debugging apps on the n900 | 06:32 |
---|---|---|
dotblank | it seems for the desktop target it is always trying to link libqtdbus | 07:02 |
dotblank | /home/eli/NokiaQtSDK/QtCreator/lib/qtcreator/libQtDBus.so.4:: error: undefined reference to `QListData::detach(int)' | 07:02 |
dotblank | my qt is in path so why would it try to link against one in qt creater | 07:02 |
dotblank | wait nvm my library path was wrong | 07:04 |
dotblank | w00t_, you have a moment? | 07:22 |
*** DocScrutinizer has quit IRC | 07:31 | |
*** DocScrutinizer has joined #maemo-devel | 07:31 | |
*** Acedip has joined #maemo-devel | 08:12 | |
*** Acedip has quit IRC | 09:44 | |
*** ppenz has joined #maemo-devel | 09:45 | |
*** swc|666 has quit IRC | 09:57 | |
*** mirr0r has quit IRC | 10:03 | |
*** eitama__ has joined #maemo-devel | 10:03 | |
*** dazo_afk has quit IRC | 10:03 | |
*** eitama_ has quit IRC | 10:03 | |
*** eitama_ has joined #maemo-devel | 10:04 | |
*** dazo_afk has joined #maemo-devel | 10:04 | |
*** 5EXAA1T03 has joined #maemo-devel | 10:04 | |
*** 5EXAA1T03 has quit IRC | 10:05 | |
*** pillar has quit IRC | 10:06 | |
*** pillar has joined #maemo-devel | 10:07 | |
*** eitama__ has quit IRC | 10:08 | |
*** dazo_afk is now known as dazo | 10:12 | |
*** Acedip has joined #maemo-devel | 10:22 | |
*** Acedip has quit IRC | 10:32 | |
*** kW_ has joined #maemo-devel | 10:40 | |
*** Acedip has joined #maemo-devel | 10:44 | |
*** kW_ has quit IRC | 10:49 | |
*** kW_ has joined #maemo-devel | 10:50 | |
*** kW_ has quit IRC | 10:53 | |
*** kW_ has joined #maemo-devel | 10:53 | |
*** kW_ has quit IRC | 11:06 | |
*** dazo_ has joined #maemo-devel | 11:14 | |
*** dazo is now known as Guest24620 | 11:14 | |
*** dazo_ is now known as dazo | 11:15 | |
*** kW_ has joined #maemo-devel | 11:20 | |
*** Guest24620 has left #maemo-devel | 11:22 | |
*** mirr0r has joined #maemo-devel | 11:26 | |
*** kW_ has quit IRC | 11:36 | |
*** achipa has joined #maemo-devel | 12:01 | |
*** csaavedra has joined #maemo-devel | 12:09 | |
*** Acedip has quit IRC | 12:10 | |
*** kW_ has joined #maemo-devel | 12:32 | |
w00t_ | dotblank: sup | 13:26 |
*** Venemo has joined #maemo-devel | 13:33 | |
*** lizardo has joined #maemo-devel | 13:40 | |
*** eitama_ has quit IRC | 13:56 | |
*** eitama_ has joined #maemo-devel | 13:57 | |
*** Venemo1 has joined #maemo-devel | 14:23 | |
*** Venemo has quit IRC | 14:26 | |
*** eitama_ has quit IRC | 14:36 | |
*** apoi has quit IRC | 15:14 | |
*** apoi has joined #maemo-devel | 15:22 | |
*** Venemo has joined #maemo-devel | 15:36 | |
*** SpeedEvil has quit IRC | 15:37 | |
*** Venemo1 has quit IRC | 15:37 | |
*** apoi has quit IRC | 15:38 | |
*** apoi has joined #maemo-devel | 15:43 | |
*** Acedip has joined #maemo-devel | 15:45 | |
*** achipa has quit IRC | 15:52 | |
*** Venemo has quit IRC | 16:04 | |
*** achipa has joined #maemo-devel | 16:13 | |
*** edisson has joined #maemo-devel | 16:24 | |
*** kamui__ has joined #maemo-devel | 16:28 | |
*** shinkamui has quit IRC | 16:33 | |
*** Acedip has quit IRC | 16:49 | |
*** mirr0r has quit IRC | 16:53 | |
*** mirr0r has joined #maemo-devel | 16:54 | |
*** lardman has joined #maemo-devel | 16:55 | |
lardman | lcuk: you about? | 16:56 |
lardman | does your company do any work on the contacts app? | 16:56 |
lcuk | yeah for a short while whats your boggle | 16:56 |
lcuk | lardman, with respect to which element :p we have abook maintainers amongst other things | 16:58 |
lardman | ah-ha | 17:00 |
lardman | well I was wondering how to use abook from Qt | 17:00 |
lardman | whether there's a C++ wrapper for the headers, or if it's already wrapped in some Qt class? | 17:00 |
lardman | I just want to import a vCard atm | 17:01 |
lardman | and the C/GTK+ code doesn't seem too happy (or rather the C++ compiled doesn't like the headers much) | 17:01 |
lardman | s/compiled/compiler | 17:01 |
w00t_ | lardman: QtMobility has a contacts library | 17:02 |
*** Acedip has joined #maemo-devel | 17:02 | |
w00t_ | I think it has a specific library to import vcards too | 17:03 |
lardman | apparently it doesn't hook into the same one the contacts app uses though? | 17:03 |
w00t_ | it should do. | 17:03 |
* w00t_ goes hunting | 17:03 | |
w00t_ | yup, it has a maemo5 specific backend which looks like it talks to native abook | 17:05 |
w00t_ | (http://qt.gitorious.org/qt-mobility/contacts/blobs/master/plugins/contacts/maemo5/) | 17:05 |
w00t_ | versit should allow you to do import/export from vcards | 17:05 |
w00t_ | (http://doc.qt.nokia.com/qtmobility-1.0/versit.html) | 17:05 |
*** Lullen has quit IRC | 17:07 | |
lardman | great, thanks w00t_ | 17:07 |
lardman | :) | 17:07 |
*** barisione has joined #maemo-devel | 17:08 | |
*** albanc has joined #maemo-devel | 17:08 | |
lcuk | lol | 17:08 |
w00t_ | collabora invasion \o/ | 17:08 |
lcuk | lardman, more assistance :D | 17:08 |
lardman | all good, about to move onto GStreamer ;) | 17:08 |
lcuk | :P | 17:09 |
lardman | any gst gurus about...? ;) | 17:09 |
lardman | 3 questions: 1) what does "capture-mode" on the v4l2src device actually change in the driver? (is the source handy?) 2) if I want to export a frame from a barcode decoder element, should I send it in a message or create one of those temp src pads to output it 3) anyone have any clues about the wierd colours in mbarcode's video output just after autofocus? | 17:10 |
*** Lullen has joined #maemo-devel | 17:14 | |
lardman | stuned silence! | 17:14 |
w00t_ | lcuk: doesn't liqbase use v4l2src stuff? | 17:14 |
* w00t_ thinks that sounds familiar | 17:14 | |
lardman | It's from camerabin, I know you set one value for camera one for video and one for preview, just wondering what happens inside | 17:14 |
lcuk | yes w00t_ however, i originally wrote it after boiling down and discussing with lardman from his original barcode code :P | 17:14 |
lardman | lol :) | 17:15 |
w00t_ | oops :) | 17:15 |
lcuk | so in this case i am completely blind - i just like having a nice fast low resolution stream | 17:15 |
lardman | basically after the autofocus the top of the screen has two small images of the screen which are green and purple iirc, I'd like to get rid of this somehow | 17:15 |
lcuk | lardman, pics | 17:15 |
lardman | I wonder if I could do a screenie | 17:16 |
lcuk | photo of screen | 17:16 |
lcuk | you cant screenshot yuv overlay | 17:16 |
lardman | yeah thought not | 17:16 |
* lcuk can :p | 17:16 | |
lardman | I don't have a camera other than the one in the N900 | 17:16 |
lcuk | ok, is the color in the actual overlay | 17:16 |
lardman | I think it's in the stream | 17:17 |
lcuk | "two small images of the screen" | 17:17 |
lardman | yeah confusing | 17:17 |
lardman | hang on, let me try to explain better | 17:17 |
lcuk | you mean quarter sized? | 17:17 |
lardman | (or try mbarcode ;)) | 17:17 |
lcuk | hang on, is this reproducable on your -devel code? | 17:17 |
lardman | probably are - looks like YUV layout | 17:17 |
lcuk | was just gonna say | 17:17 |
lardman | yep | 17:17 |
lardman | but I thought our YUV was interleaved | 17:18 |
lcuk | lemme see whats happening, | 17:18 |
lcuk | it depends, if your gst pipeline is demuxing it for rendering then it will become planar | 17:18 |
lcuk | but if its using the wrong mode.. | 17:18 |
lardman | yeah I ask for YUV | 17:19 |
lardman | 'cos I only want the Y data really | 17:19 |
lcuk | yeah | 17:19 |
lcuk | "mbarcode is already the newest version" | 17:20 |
lardman | the question is then whether the autofocus changes the mode and some of that data is pushed into the pipeline, or the pipeline is just full of old data that gets misinterpreted | 17:20 |
lcuk | has it been a problem for a while | 17:20 |
lardman | or something | 17:20 |
lardman | oh yeah | 17:20 |
lardman | try scanning somewhere a bit dark so you don't get it to work straight away | 17:20 |
lcuk | ive had an issue with my camera recently | 17:20 |
lcuk | lardman, what does your mbarcode icon decode to? | 17:22 |
lardman | no idea | 17:22 |
lardman | probably mbarcode or similar :) | 17:22 |
lardman | was a long time ago! | 17:22 |
lcuk | jesus dude that thing is like a strobe when it cant focus on a barcode | 17:23 |
lcuk | it carries on trying | 17:23 |
lardman | I know, I need to make the timing adaptive | 17:24 |
lardman | that's on my todo list for this week | 17:24 |
lardman | try focusing close to something (not a barcode) and you can see the purple/green mini-screens in the top of the stream | 17:24 |
lcuk | lardman, portrait mode xvideo | 17:27 |
lcuk | i just got a call in the middle of focusing | 17:27 |
lcuk | when call ended your app was in portrait | 17:28 |
lardman | I think it does rotation, can't really remember | 17:28 |
lcuk | ok - the flashes are when its reseting its mode | 17:28 |
lcuk | do you reinitialise the pipeline during refocusing | 17:29 |
lardman | I think it;s moved to paused for the refocus to take placwe | 17:29 |
lcuk | it looks like something is pushing wrong data in - those flashes are when data is overwriting the UV planes | 17:30 |
lardman | yep | 17:30 |
lardman | so I wonder where the autofocus works, probably below the v4l2src layer | 17:30 |
lcuk | yeah afaik its low level | 17:31 |
lardman | the camera app doesn't suffer from this, so there's a way around it | 17:31 |
lcuk | but without AF stuff, i have a refocus element in liqbase | 17:31 |
lardman | I wonder if I should move to RGB for the whole pipeline for example | 17:31 |
lcuk | touching the screen changes focus - i dont see any glitches in the stream for those transitions | 17:31 |
lardman | refocus element, does that call the autofocus stuff in gstphotography?] | 17:32 |
lcuk | struct v4l2_control ctrl = { 0 }; | 17:33 |
lcuk | ctrl.id = V4L2_CID_FOCUS_ABSOLUTE; | 17:33 |
lcuk | ctrl.value = newvalue; | 17:33 |
lcuk | if (doioctl(fd, VIDIOC_S_CTRL, &ctrl, "VIDIOC_S_CTRL")) | 17:33 |
lcuk | { | 17:33 |
lardman | ah I see, you bypass it anyway | 17:35 |
lcuk | thats pretty much extracted direct from the v4l2-ctl command line app - or rather is the way it does it | 17:35 |
lardman | well that shouldn't change the stream type, but if the autofocus routines require e.g. a rgb stream, it may leave that in the buffer after it's done | 17:35 |
lcuk | the autofocus stuff is deep within the low level driver afaik | 17:36 |
lcuk | its not related to gst at all? | 17:36 |
lardman | I guess the other question to ask is whether it's possible to purge the pipeline or delay the output for a frame or two? | 17:36 |
lardman | lcuk: yeah buried right in there, just wondering if the on-camera/in-kernel/wherever it is buffer retains info in the wrong mode, or something like that | 17:37 |
lcuk | i guess best person who could point towards knowledge would be ab | 17:37 |
lardman | ah, I will ping him in #maemo | 17:37 |
lardman | Anyone with any thoughts about how to transfer a single from from a gst decoder element (so that I can display the same data that was decoded)? | 17:39 |
* lardman moves onto the next point ;) | 17:39 | |
*** ppenz has quit IRC | 17:40 | |
lcuk | lardman, you need a tee dont you to split it out? but i have to vanish | 17:41 |
lardman | no, as the element drops frames while decoding, so I want to be passed the decoded frame without needing to save all frames and compare the timestamp after I get the decoded message | 17:42 |
lardman | thanks for your help lcuk, cu later | 17:42 |
barisione | does anybody know which section I should use in a debian/control file for an application that is not supposed to be visible in the application manager? | 17:47 |
barisione | it's just a daemon that is a dependency for the real app | 17:47 |
*** SpeedEvil has joined #maemo-devel | 17:50 | |
lardman | barisione: is it not just anything without "user/" on the front? | 17:50 |
barisione | probably, but I don't know :) | 17:50 |
lardman | i.e. a normal section name | 17:50 |
barisione | hm, right | 17:51 |
lardman | http://wiki.maemo.org/Packaging#Sections | 17:51 |
lardman | should be I think | 17:51 |
SpeedEvil | Is there a way - in principle - to pass arguments along with shortcuts? Say I want three shortcuts to an app on the desktop that open different files/sites/... | 17:51 |
SpeedEvil | (not that any particular app would implement) | 17:51 |
*** Venemo has joined #maemo-devel | 17:52 | |
lardman | SpeedEvil: no idea I'm afraid | 18:00 |
Lullen | Why do I get a undefined reference error on HistoryInfoWindow::HistoryInfoWindow(QWidget*) and HistoryInfoWindow::load(QString) in dayhistory.cpp. Full source of dayhistory.h/cpp and historyinfowindow.h/cpp: http://pastebin.com/nGkKrjvK | 18:00 |
Lullen | Been looking for two days now :( | 18:00 |
Venemo | Lullen: what is HistoryInfoWindow? | 18:02 |
Lullen | its a window that shows the set you done | 18:03 |
lardman | QString not included in historyinfowindow.h? | 18:03 |
Lullen | just 9 labels | 18:03 |
Venemo | lardman: it includes QtGui which includes QtCore which includes QString | 18:04 |
lardman | ok | 18:04 |
Lullen | here is the error: https://garage.maemo.org/builder/fremantle/qexercise_0.4-5/armel.build.log.FAILED.txt | 18:04 |
Venemo | Lullen: does it only fail with the auto builder, or on your computer, too? | 18:05 |
Lullen | I can not compile on my computer. No idea how to get it working without connecting my phone | 18:06 |
Venemo | Lullen: why don't you connect your phone then? | 18:06 |
Lullen | It got stolen one week ago :( | 18:06 |
Lullen | Or I can try to compile it as it is failing in the end of the compiling, just to see if it stops at the same place | 18:08 |
Lullen | Venemo, I know the problem :) It was the .pro file that did not have the right info about the historyinfowindow | 18:13 |
Venemo | Lullen: okay | 18:38 |
*** kW_ has quit IRC | 19:04 | |
*** kW_ has joined #maemo-devel | 19:04 | |
*** azakai has joined #maemo-devel | 19:07 | |
SpeedEvil | lardman: thanks | 19:31 |
lardman | SpeedEvil: not very helpful though! ;) | 19:31 |
*** achipa has quit IRC | 19:35 | |
*** dazo is now known as dazo_afk | 19:38 | |
*** lardman is now known as lardman|gone | 19:59 | |
*** spenap has joined #maemo-devel | 20:09 | |
*** Venemo has quit IRC | 20:29 | |
*** dazo_afk is now known as dazo | 20:41 | |
ruskie | *shudders* at the MeeGo handset UX | 20:48 |
SpeedEvil | Yeah. | 20:49 |
ruskie | rip of city | 20:49 |
ruskie | it's like every other handset out there | 20:49 |
ruskie | amazing | 20:49 |
SpeedEvil | Oh | 20:50 |
SpeedEvil | I thought it was revolutionary. | 20:50 |
SpeedEvil | I mean - I haven';t looked at it yet. | 20:50 |
SpeedEvil | I have been doing more exciting stuff. | 20:50 |
ruskie | for a moment I thought I was looking at either the iPhone or the Android | 20:50 |
SpeedEvil | Washing tins of foods that the rats have gotten into the cupboard. | 20:50 |
ruskie | http://www.youtube.com/watch?v=EW5wpg5epMs <-- not impressed :( | 20:51 |
*** Venemo has joined #maemo-devel | 20:52 | |
SpeedEvil | Oh jesus. | 20:54 |
SpeedEvil | If you're demoing something, and you accidentally 'click' on a contact when meaning to scroll - shoot it again. | 20:55 |
ruskie | I guess MeeGo will be desigend for those that want a phone... not a mini computer in their pocket | 21:01 |
lcuk | SpeedEvil, perhaps they did .. | 21:02 |
lcuk | is the aava capacitive? | 21:02 |
ruskie | *shrug* | 21:02 |
SpeedEvil | In some ways, I would prefer a bimodal thing. | 21:02 |
SpeedEvil | Perhaps with an actual hardware 'computer/phone' switch | 21:03 |
ruskie | I actually like the m5 apps... like conversations and the phone dialer and abook | 21:03 |
lcuk | :) ruskie ++ | 21:03 |
ruskie | not the best but not the worst as well | 21:03 |
ruskie | probably won't be getting a MeeGo device in the mid-to-far future | 21:04 |
lcuk | SpeedEvil, i *NEED* a method to completely disable phone/communication stuff - jake keeps trying to ring people when he gets n900 | 21:04 |
ruskie | hmm | 21:05 |
w00t_ | lcuk: for me at least there is a way! :) | 21:05 |
ruskie | isn't there a sim logout command available? | 21:05 |
w00t_ | 2G/3G mode switcher.. 3 doesn't work with 2G mode | 21:05 |
w00t_ | :P | 21:05 |
SpeedEvil | lcuk: offline mode? | 21:05 |
w00t_ | SpeedEvil: disables wifi | 21:05 |
SpeedEvil | hmm | 21:05 |
SpeedEvil | would that still allow skype? | 21:05 |
lcuk | SpeedEvil, nope | 21:05 |
SpeedEvil | How old is jake? | 21:05 |
w00t_ | given you would be disconnected, no | 21:05 |
lcuk | in offline mode if you try dialing it comes up and asks to go back online | 21:06 |
lcuk | so jake reads "yes" and continues | 21:06 |
SpeedEvil | lcuk: hmm - point | 21:06 |
lcuk | i actually want to disable it under proper secure - vanished until i reenable it | 21:06 |
lcuk | hes 8 | 21:06 |
Venemo | SpeedEvil: in offline, skype is not allowed, as you can't connect to anything | 21:06 |
SpeedEvil | Venemo: I was meaning in some hypothetical mode that allowed wifi | 21:07 |
SpeedEvil | There is a modem switcher applet | 21:07 |
Venemo | SpeedEvil: there is an applet that lets you disable only the cellular functionality only | 21:07 |
Venemo | It has a "tablet mode" | 21:07 |
lcuk | Venemo, on which device | 21:08 |
lcuk | meego? | 21:08 |
Venemo | lcuk: no | 21:08 |
SpeedEvil | If the battery voltage is below 3200mV or so, the cellmo shuts down. | 21:09 |
SpeedEvil | However, this isn't actually very useful, as then (with BME stopped) you have around 20 min active left | 21:09 |
* lcuk ponders simpler methods | 21:09 | |
Venemo | lcuk: it is app in Extras | 21:09 |
lcuk | Venemo, mm | 21:10 |
Venemo | lcuk: it is called "cellular modem control buttons" | 21:10 |
Venemo | it adds a button to the power menu with which you can go into "tablet mode" -> this allows wi-fi & bluetooth, but disables the phone features | 21:10 |
lcuk | Venemo, testing now | 21:10 |
lcuk | ta | 21:10 |
SpeedEvil | There is the alternative of course. | 21:11 |
SpeedEvil | 'If you do that again, you're not getting any dinner'. | 21:11 |
Venemo | lcuk: it is a very useful piece of software that lets me browse the web while I don't want anyone to call me on the phone | 21:11 |
lcuk | Venemo, awesome - thats close to whats needed | 21:12 |
lcuk | however he can still fill up sms queue for later resending :D | 21:12 |
lcuk | it is better though :) thanks for tip | 21:13 |
Venemo | lcuk: is this what you were looking for? | 21:13 |
lcuk | yes thats half of it - it stops random phone calls when hes playing games or drawing n stuff | 21:14 |
Venemo | lcuk: what would be the other half? | 21:16 |
lcuk | Venemo, well having a couple of random messages to his mum and friends isnt end of the world | 21:16 |
lcuk | it stops the instant concern about him wasting all my credit phoning finland | 21:16 |
Venemo | lcuk: ah, I see - so you gave the N900 to your little child? | 21:19 |
lcuk | yes Venemo :) jake uses it often, but sometimes he gets a bug to call people or text them | 21:21 |
Venemo | lcuk: oh. :) | 21:24 |
Venemo | lcuk: how old is he? :) | 21:24 |
lcuk | 8 | 21:24 |
*** VDVsx has joined #maemo-devel | 21:24 | |
Venemo | lcuk: okay - basically, you would need a call blacklisting app, that blocks the calling of every number except some predefined ones? | 21:26 |
lcuk | Venemo, no, i needed to disable it and put it into tablet mode | 21:27 |
lcuk | thats perfect and does - the only thing is if messages get written in tablet node | 21:27 |
lcuk | then once i get phone back and turn back to phone, they get sent | 21:28 |
Venemo | lcuk: hm, I didn't know about that :) | 21:29 |
lcuk | it says "cellular service not available, messages will be sent when coverage..." | 21:30 |
lcuk | its normal for when you are in mountains | 21:30 |
Venemo | lcuk: ah. I never tried it yet :) | 21:30 |
lcuk | i tested the things he does ;) | 21:30 |
Venemo | lcuk: understandable | 21:32 |
lcuk | im actually really pleased to see tablet mode :) | 21:32 |
lcuk | did you write the app or just found it?> | 21:33 |
Venemo | lcuk: no, I just found it some moths ago in the repos, and found it extremely useful | 21:33 |
Venemo | lcuk: what happens if you delete the messages before you switch back to "phone mode"? | 21:33 |
lcuk | they will e deleted - thats not a hassle | 21:34 |
lcuk | its a minor point | 21:34 |
Venemo | lcuk: so if you notice that there are pending messages and delete them, they will not be sent? | 21:34 |
lcuk | Venemo, i will never remember and theres multiple mailboxes for different conversations | 21:35 |
lcuk | its not like theres a single outbox | 21:35 |
Venemo | lcuk: well, that's true | 21:35 |
lcuk | im not fussed anyway :) | 21:35 |
Venemo | lcuk: and what happens if Jake finds the "Phone mode" button? :P | 21:35 |
lcuk | then hes already a better hacker than me and deserves an n900 of his own | 21:36 |
Venemo | lcuk: haha! :) nice :) | 21:36 |
* lcuk puts his software through the jake test often | 21:37 | |
* Venemo wonders, what sort of software is lcuk working on? | 21:38 | |
lcuk | :) Venemo | 21:39 |
Venemo | ? | 21:39 |
lcuk | Venemo, actual code recently has been less on new things and more on background stuff - http://liqbase.net/20100626_005.mp4 is one thing | 21:40 |
Venemo | liqbase? | 21:40 |
lcuk | yeah | 21:40 |
Venemo | lcuk, I'm sorry, I'm not familiar with it (yet :) ) | 21:40 |
lcuk | the video shows the 90degree software rotation i just needed for something | 21:41 |
lcuk | used on the image select dialog | 21:42 |
Venemo | lcuk: and what is liqbase? | 21:42 |
lcuk | my take on how a mobile device should work | 21:43 |
lcuk | http://www.youtube.com/watch?v=7hGUKICDeok | 21:43 |
Venemo | oh. | 21:43 |
lcuk | oh no, yt broken | 21:44 |
Venemo | lcuk: reminds me a little bit to Deep Zoom | 21:44 |
lcuk | Venemo, ahh it works at your end | 21:44 |
Venemo | lcuk: I'm just watching the video | 21:45 |
lcuk | thats just the engine i have a bunch of different apps in there and it allows me to test principles etc | 21:45 |
Venemo | lcuk: sounds nice | 21:45 |
*** lardman has joined #maemo-devel | 21:45 | |
Venemo | lcuk: so far, I've only developed small things | 21:46 |
lcuk | yeah tis :) | 21:46 |
Venemo | lcuk: eg. Sticky Notes :) | 21:46 |
lcuk | Venemo, me too | 21:46 |
lardman | hey chaps | 21:46 |
Venemo | hey. | 21:46 |
lcuk | Venemo, my sticky notes: http://www.youtube.com/watch?v=OjDEvXueO0I | 21:46 |
lcuk | heya lardman | 21:47 |
lardman | hey lcuk | 21:47 |
lcuk | lardman, did you see the portraity goodness? | 21:47 |
lcuk | http://liqbase.net/20100626_005.mp4 software renderingy | 21:47 |
lardman | nope, what was that? | 21:47 |
* lardman downloads | 21:48 | |
lardman | very portraitly-pretty :) | 21:49 |
Venemo | lcuk: my sticky notes are actually widgets :) | 21:50 |
Venemo | lcuk: here are they: http://talk.maemo.org/showthread.php?t=57049 | 21:50 |
Venemo | lcuk: the first Maemo homescreen widget of which you can have multiple instances :) | 21:51 |
lcuk | sewsome Venemo - did you manage to get text editing direct on the desktop for those? | 21:52 |
lcuk | awesome even | 21:52 |
Venemo | lcuk: yes. | 21:52 |
Venemo | lcuk: although selecting text by dragging is not supported | 21:52 |
lcuk | novel - nothing has text editing normally, well done | 21:52 |
lcuk | sure | 21:52 |
Venemo | lcuk: Hildon doesn't send any drag events to any widgets. It keeps them for itself (for swiping between the desktop) | 21:53 |
Venemo | lcuk: I would be grateful if you tried it out and told me your opinion | 21:53 |
lcuk | Venemo, im on the application framework team - i know its capabilities and am impressed already to see you having text input there | 21:53 |
Venemo | lcuk: although it has a small issue at the moment, but that should not prevent normal usage :) | 21:54 |
lcuk | and am downloading it now :) | 21:54 |
Venemo | lcuk: it is not my achievement - it is just a simple QPlainTextEdit control there. | 21:54 |
Venemo | lcuk: the achievement is the ability to have as many of those little widgets as you want - and the fact that they get restored at startup right where they were | 21:56 |
lardman | how do I cast a QHash to a QPixmap? | 21:56 |
Venemo | lcuk: btw, does this mean you work on Maemo for Nokia? | 21:56 |
lardman | <QPixmap*>my_hash_variable ? | 21:56 |
Venemo | lardman: wait a minute | 21:57 |
Venemo | lardman: http://doc.qt.nokia.com/4.6/qhash.html | 21:57 |
Venemo | QHash<QString, int> hash; | 21:58 |
Venemo | hash["something"] = 8; | 21:58 |
Venemo | ... | 21:58 |
Venemo | myNumber = hash["something]; | 21:58 |
*** radiochickenwax has joined #maemo-devel | 21:58 | |
lardman | I've got a pixmap in a hash, want to cast to back to a pixmap | 21:58 |
Venemo | lardman: sorry, I missed a quotation mark at the last one | 21:58 |
lardman | so yeah, the <> brackets look familiar | 21:58 |
Venemo | lardman: you don't need to cast | 21:58 |
lcuk | lardman, can you do that? | 21:58 |
lcuk | i tohught a hash was a drastic one way function | 21:59 |
lcuk | thought | 21:59 |
Venemo | lcuk: this is a hash table dictionary | 21:59 |
lardman | lcuk: nah, there's lots of toThis/toThat functions for hashes | 21:59 |
lcuk | so when you created the hash, it stores the whole image within it? | 22:00 |
Venemo | lcuk: it is basically something similar to an associative array | 22:00 |
Venemo | lcuk: it is a generic class, so you can store actually anything in it | 22:00 |
lardman | ../mainwindow.cpp:476: error: conversion from 'const QVariant' to non-scalar type 'QPixmap' requested | 22:00 |
lardman | so it wasn't pleased without a cast | 22:00 |
Venemo | lardman: please pastebin your code | 22:00 |
Venemo | lardman: http://qt.pastebin.com | 22:00 |
lardman | hang on and you can look at it in SVN | 22:01 |
Venemo | lardman: that is also good | 22:01 |
lardman | QPixmap *pm = <QPixmap*>itemData.value("barcodeImage"); | 22:01 |
lardman | or not | 22:01 |
lardman | basically that's what I want to do, the data I inserted was a QPixmap | 22:02 |
Venemo | lardman, show me your code, please, then I can tell you :) | 22:02 |
lcuk | lardman it all depends on how you stored it into the hash | 22:02 |
lardman | lcuk: with insert | 22:02 |
lcuk | because you will have serialised the pixmap rhather than raw copy? | 22:02 |
lardman | as a QVariant I guess | 22:02 |
lcuk | yeah codey bit | 22:02 |
lcuk | "this thread is useless without svn" :p | 22:03 |
lardman | I know, just don't really want to commit if it stops it compiling | 22:03 |
lcuk | sure - paste the insert line then | 22:03 |
Venemo | lardman: this stuff works for me: | 22:03 |
Venemo | QHash<QString, QPixmap*> hash; hash.insert("mypixmap", new QPixmap(50, 50)); hash["mypixmap"]; | 22:03 |
*** Acedip has quit IRC | 22:04 | |
Venemo | QHash<QString, QPixmap*> hash; | 22:04 |
Venemo | hash.insert("mypixmap", new QPixmap(50, 50)); | 22:04 |
Venemo | hash["mypixmap"]; // this actually returns a pixmap* without casting it | 22:04 |
lardman | I have QVariantHash as I'm using QSettings here | 22:04 |
lardman | I think | 22:04 |
Venemo | heh | 22:04 |
Venemo | okay. | 22:04 |
Venemo | pastebin! | 22:04 |
Venemo | now! | 22:04 |
lardman | hang on, supper's calling (or rather my wife is) bbiam and I'll work out what's going on then | 22:05 |
Venemo | it is enough if you pastebin the relevant code | 22:05 |
lardman | hang on a tick | 22:05 |
Venemo | for QVariant, there is a generic method called value<T>() | 22:05 |
lardman | http://qt.pastebin.com/sp81h1Vy last fn | 22:06 |
lardman | bbiab | 22:06 |
Venemo | lardman: in what method do you actually save the pixmap to the hash? | 22:06 |
Venemo | lardman: either way, QVariantHash is just QVariant<QString, QVariant> | 22:07 |
Venemo | larman: you should use the value<T> method of QVarian | 22:08 |
Venemo | t | 22:08 |
Venemo | larman: although this stuff has syntax errors, too | 22:09 |
Venemo | larman: and you insterted a QPixmap in there, and NOT a QPixmap* | 22:09 |
Venemo | larman: so, correctly, line 476 is: | 22:10 |
lcuk | Venemo, well he did want to store the whole bitmap in there and not just a pointer to it | 22:10 |
Venemo | larman: QPixmap pm = itemData["barcodeImage"].value<QPixmap>(); | 22:10 |
Venemo | lcuk: yes, I can see that from the code. he actually stores the whole bitmap, but he was (incorrectly) trying to retrieve a pointer to it | 22:11 |
lcuk | :D | 22:11 |
Venemo | lcuk: he was also missing the value<T>() method call :) | 22:12 |
lcuk | well that would be why its not working and hes here asking for advice :p | 22:12 |
Venemo | lcuk: yes. if he changes that line, it should work fine now :) | 22:13 |
lcuk | lardman tends to code on wine tho so sometimes you have to excuse the rosey red cheeks and slurred code ;) | 22:13 |
lcuk | :D excellent | 22:13 |
Venemo | lcuk: on wine? what for? there is Qt Creator for Linux, isn't there? | 22:14 |
lcuk | :D i meant the drinking kind ;) | 22:14 |
lcuk | tho im sure he will giggle at your suggestion :D | 22:14 |
lcuk | lardman loves his wine as much as i adore bacon | 22:15 |
Venemo | lcuk: oooh, I'm sorry :) | 22:17 |
* lcuk passes a glass to you | 22:17 | |
lcuk | dont be sorry, just have a tipple yourself :p | 22:17 |
* Venemo accepts the glass | 22:17 | |
SpeedEvil | lcuk: http://b3ta.com/questions/theman/post759661 | 22:18 |
* Venemo has already met some people who coded while they were drunk | 22:18 | |
Venemo | lcuk: they said their code didn't make any sense to them next time :D | 22:18 |
lcuk | Venemo, sometimes amazing things can happen - but hitting the ballmer peak is difficult | 22:20 |
Venemo | lcuk: ballmer peak? | 22:20 |
lcuk | http://xkcd.com/323/ | 22:21 |
Venemo | lcuk: aaah... lol :D | 22:21 |
Venemo | lcuk: http://stackoverflow.com/questions/84556/whats-your-favorite-programmer-cartoon | 22:22 |
Venemo | lcuk: this is the best: http://imgs.xkcd.com/comics/exploits_of_a_mom.png | 22:23 |
lcuk | nahh, swordfighting is | 22:24 |
Venemo | lcuk: I meant the best of those stuff | 22:24 |
lcuk | no i havent started looking at your link yet | 22:25 |
Venemo | lcuk: you won't regret it :) | 22:25 |
Venemo | lcuk: do you know why real java programmes wear glasses? | 22:25 |
lcuk | Venemo, ? nope - and you arent wrong :D these are cool | 22:28 |
Venemo | lcuk: because they don't C# | 22:28 |
lcuk | *groan* if i were op now you would be kickbanned :P | 22:29 |
Venemo | lcuk: well, I'm glad you aren't :P | 22:29 |
Venemo | http://stackoverflow.com/questions/234075/what-is-your-best-programmer-joke | 22:31 |
lcuk | http://www.phdcomics.com/comics/archive/phd113007s.gif | 22:31 |
lcuk | haha i pretty much did that when i got rotation working | 22:31 |
Venemo | lcuk: :D :) | 22:31 |
lcuk | Venemo, you bastard | 22:33 |
matnel | Venemo: I asked people to test a sms gateway, one of the first messages was '; drop table messages; | 22:42 |
*** dazo is now known as dazo_afk | 22:49 | |
lcuk | matnel, hopefully that wasnt the last message | 22:49 |
matnel | lcuk: naah, in the test everything was just dumped into .txt | 22:50 |
*** _0x471 has joined #maemo-devel | 22:50 | |
lardman | re | 22:53 |
lardman | ah, that's the one, good stuff Venemo | 22:55 |
lardman | mmm, vino | 22:57 |
Venemo | re | 22:59 |
lardman | working, cool, I knew I'd seen some random combination of <> and () with some variable name in the middle ;) | 23:00 |
Venemo | lcuk: why am I a bastard? | 23:00 |
Venemo | lardman: glad I could help | 23:00 |
lardman | thanks | 23:00 |
lcuk | Venemo, i havent left the comic site yet still :| | 23:01 |
*** VDVsx has quit IRC | 23:01 | |
Venemo | lcuk: SO is not a comic site :P | 23:01 |
Venemo | lcuk: it is basically a programming-related questions and answers site :) | 23:02 |
lcuk | yeah but theres tonnes of comics on the thread | 23:02 |
lcuk | i know | 23:02 |
Venemo | lcuk: I once read through all of it | 23:02 |
lcuk | yeah, im not far off | 23:03 |
Venemo | lcuk: sorry... :) | 23:05 |
Venemo | lcuk: http://imgs.xkcd.com/comics/random_number.png | 23:19 |
*** lizardo has quit IRC | 23:50 |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!