IRC log for #harmattan on 20110825

00:06.24*** join/#harmattan npm (~npm@cpe-76-90-30-220.socal.res.rr.com)
00:09.59*** join/#harmattan joejoe (~imlich@2001:67c:1220:80c:21c:c0ff:fe18:9398)
00:39.07smokexif I were using qt designer based windows to develop a harmattan device instead of qt quick, how would I access that grey bar, add menus to it, etc
00:43.57javispedroyou cannot
00:44.08javispedro(well, obviously you can, but it's kinda rocket science)
00:47.48*** join/#harmattan djszapi_ (~lpapp@80-186-213-253.elisa-mobile.fi)
00:48.22djszapi_javispedro: I was wrong. Processes try to inherit the right by default.
00:48.45djszapi_* credentials, that is
00:49.02smokexI like rocket science :D
00:49.26smokexso could you give me a general idea of where I would start
00:50.13javispedrohiding that bar via fullscreen and rendering your own =)
00:50.21javispedrodjszapi_: is that documented anywhere?
00:50.36trx(then you loose the status bar too)
00:50.45djszapi_javispedro: read the code as I did.
00:51.02javispedroah yeah, you have to render the status bar too, but you can get it from a shared pixmap that is on some window property.
00:51.15*** join/#harmattan djszapi__ (~lpapp@80-186-213-253.elisa-mobile.fi)
00:51.49javispedroI do not think you can use that bar for anything other than the back button
00:51.50djszapi_javispedro: it is documented internally, but I have not had access to that right away. I am not sure about the public SDK.
00:52.46djszapi_it does not mean I could reproduce your dmesh issue though.
00:53.12javispedroI wouldn't call it an "issue". But at least it is partially explained by that.
00:53.49djszapi_no, that is not an explain for it
00:54.12smokexok so fullscreen hides it nad tbh I don't need or want it :D thx
00:54.18javispedrotrx: to sum it up, if you use plain Qt you face the same problems someone using Gtk+ will face, so, take care.
00:54.21javispedroerr
00:54.23djszapi_we do not do logging for that, that is up to the application developers.
00:54.25javispedrosmokex^^
00:55.38smokexok thx its just a simple app to keep a transaction register
00:55.41djszapi_javispedro: it is actually a serious issue.
00:56.06djszapi_javispedro: since it should really not try to inherit any credential if the hash and other validations fail. I think it is a bug of your version
00:56.21javispedrodjszapi_: I was using --relaxed-exec fwiw
00:56.36javispedroso potentially the hast test passed
00:56.39javispedro*hash
00:56.41djszapi_duh..why did you not tell it to me ? :)
00:57.15javispedroI _always_ use relaxed exec ;)
00:57.24djszapi_...
00:57.47djszapi_please provide precise scenario next time (including everything).
00:58.09djszapi_this way, it was a lot of wasted thinking :)
00:58.14*** part/#harmattan djszapi__ (~lpapp@80-186-213-253.elisa-mobile.fi)
00:58.23javispedrobut you discovered there's some kind of inheriting =)
00:58.38djszapi_that is a separate thing which reveals a bug here for us
00:59.06djszapi_oh no, it is fine with relaxed stuff
00:59.22djszapi_but yes, check out out gdb and develsh
00:59.50djszapi_BUT
01:00.08djszapi_you can always limit this inheritance for sure
01:00.38djszapi_and aegis-manifest-dev might even do that.
01:01.50djszapi_but it is also very easy to manually add a non-add policy really, default empty request block
01:05.19djszapi_javispedro: I think it is actually weird since I would expect non-inheritance by default
01:05.51djszapi_at put this logic into the manifest autogeneration as the default, but not as a default option for every binary.
01:05.58djszapi_and*
01:08.46javispedrowell..
01:09.02djszapi_it was not probably a high priority task to do it that way.
01:09.25javispedroit is probably easier for some people who forgoet to put each binary in the manifest, and probably harder for those who have many privileges and spawn lesser-privileged binaries =)
01:09.36djszapi_since it is not nice in theory, but since you have quite a few protections for parents as well, it is not a simple thing to think of a use case scenario
01:09.55djszapi_javispedro: it is not easier at all
01:10.09djszapi_javispedro: if you use the Qt SDK, it uses the autogeneration anyways.
01:11.12djszapi_so this logic would transparent, you would not forget it. Maybe you can forget to put aegis-manifest-dev into the control file if you are using scratchbox, but closing a security hole is more important than that.
01:11.22djszapi_and it is really transparent by using the Qt SDK.
01:11.58djszapi_and if you have a request blog for other reason without add policy, you do not even need the aegis-manifest-dev.
01:13.06djszapi_block* :)
01:16.40djszapi_mmm, maybe easier to port applications this way.
01:19.06djszapi_and since the shells for instance from known source origin are confined enough regarding the credentials, and shells and other processes from unknown origin cannot be granted with every credentials, it makes the priority lower, and a use scenario harder.
01:35.16MohammadAGyou know what'd be awesome when multitouch is used? manipulating two things at once
01:35.45MohammadAGlike, suppose i'm swiping, while i'm doing that, another finger can be scrolling in the window that's being swiped
01:37.36javispedrothat leaves you with 8 free fingers!
01:38.27MohammadAGthe task switcher can have those :p
01:38.35GAN900MohammadAG, there's a certain point where multitasking becomes a sickness
01:38.47GAN900But, yes, I still wish the N800 had had two dpads.
01:39.14javispedroalso ,you can use the n950 with one hand and the n900 with the other hand
01:39.15MohammadAGGAN900, i think i hit that point when I started carrying two phones to get the job done
01:39.36GAN900MohammadAG, I want retail firmware. :<
01:39.48MohammadAGjavispedro, still haven't figured out how to use them with the N86
01:40.27GAN900One of my friends used to play emulators on the bus with a Wiimote in one hand and an N800 in the other.
01:41.18javispedrohey, I think I know that guy.
01:41.28MohammadAGthat's something i wouldn't do in my own car
01:41.33javispedroor a similar person who emailed me about a similar usecase.
01:41.53MohammadAGone question
01:42.08MohammadAGhas anyone figured out wtf the blinking blue internet icon means
01:42.25javispedroit means: someone is fscking with your wi-fi.
01:42.44javispedroI usually get it when SNR gets low and soon it'll disconnect
01:43.07javispedroactually I think it already signals it's disconnecting.
01:43.14javispedronext time check /var/log/syslog :)
01:43.40javispedroso
01:43.40MohammadAGbut i'm connected to wifi and the 3G icon blinks
01:43.55javispedroponders how to map the compass usefully as a joystick device
01:44.43MohammadAGwants nice compass graphics
01:45.46MohammadAGQMLCompass: one of the apps that should be portrait only but isn't
01:48.40javispedroomg this is gonna be kickass.
01:48.45javispedrowait, nothing.
02:19.51mikhasMohammadAG, if only we hadn't deactivated multitouch in most of the core UI …
02:20.17mikhasduring transitions, touch events are usually eaten up by the scene
02:27.17*** join/#harmattan Evgeniy (~degtep@msmail.e10.ru)
02:32.22*** join/#harmattan meegomy_ (af8b914a@gateway/web/freenode/ip.175.139.145.74)
02:48.45*** join/#harmattan berndhs (~berndhs@2604:8800:11b:1:21e:90ff:fe8f:8bee)
02:50.54javispedrook, seriously???
02:51.11javispedrothe logic that converts raw magnetometer values into bearing is PROPIETARY???
02:54.32javispedroas is the one that gives out the supposedly calibrated magnetometer readings
03:02.58GAN900lol
03:03.06GAN900TRADE SECRETS!!
03:06.18javispedrohad like 17 calculator windows opened, clearly a sign of too much hacking for today.
03:08.06*** join/#harmattan twoboxen (~wircer@97-91-193-245.dhcp.stls.mo.charter.com)
03:12.50meegomy_have anyone involve in meego meetup?
03:19.57rm_you|loool
03:20.00rm_you|GAN900: yo
03:20.04rm_you|got kicked off earlier
03:20.13rm_you|what did you say about SnapGo? :P
04:00.50hiemanshuMohammadAG: I'll look into that
04:06.12*** join/#harmattan mikhas_ (~michael@p4FC235BD.dip.t-dialin.net)
04:11.54specialis Camera using qtmobility to access the camera?
04:22.40*** join/#harmattan berndhs (~berndhs@2604:8800:11b:1:21e:90ff:fe8f:8bee)
04:31.00*** join/#harmattan DocScrutinizer (~halley@openmoko/engineers/joerg)
04:33.32*** join/#harmattan twoboxen (~twoboxen@97-91-193-245.dhcp.stls.mo.charter.com)
05:16.13*** join/#harmattan harbaum (~quassel@krlh-5f7354eb.pool.mediaWays.net)
05:19.42*** join/#harmattan lardman (~simon@host-89-242-159-119.as13285.net)
05:19.47*** join/#harmattan lardman (~simon@Maemo/community/contributor/lardman)
05:19.50lardmanmorning
05:22.37rm_you|morning
05:22.40ajalkanehow do you do
05:24.23lardmanhi rm_you
05:24.27lardmanajalkane: not bad, you?
05:25.16ajalkanea bit tired, but otherwise excited to be bored at work
05:25.28lardmanlol
05:26.48lardmanis also rather tired, but in training for a new born who he hopes will soon arrive
05:27.37*** join/#harmattan maxw (~davidmaxw@194.136.86.45)
05:27.40Ronksu"excited to be bored at work" sounds a bit mondayish :)
05:28.13ajalkaneExciting times ahead then. Boy or girl?
05:28.29lardmanI'm having troubles remembering what day of the week it is having been on holiday for 2 weeks now
05:30.32ajalkaneYeah, lately all work days have felt worryingly mondayish
05:31.11MohammadAGno sleep for a day, fun times
05:31.52lardmanQML is taunting me with cool looking UI effects and all I can see is a blank screen
05:33.13MohammadAGrun the app with -style cleanlooks
05:33.15ajalkaneGood old blank screen. At least it usually clearly points to the problem position
05:33.25MohammadAGwithout that i don't get errors
05:33.31lardmanMohammadAG: on device?
05:33.48MohammadAGyeah, i have meegotouch-qt-style installed
05:34.04lardmanremoves all the ui components and goes back to coloured Rectangles
05:34.12MohammadAGno no no
05:34.21MohammadAGit should say which line the problem's in
05:34.30lardmanthere is no problem
05:34.37ajalkaneListView taunts me with its inability to specify cool move/remove effects
05:34.37lardmanjust doesn't show anything on one of my pages
05:34.42MohammadAGno javascript logic either i guess?
05:34.49lardmanListView is one of the things I have on my page
05:34.52*** join/#harmattan spenap (~spena@nat/nokia/x-fldkmhndrrznqvba)
05:35.05MohammadAGif only there was ListWidget
05:35.10MohammadAGi hate making models
05:36.21ajalkaneyeah models are a bore when anything dynamic is required
05:36.42lardmanmore of a pita when you don't need anything very complex
05:36.58lardmanthe docs could do with some better intro into how to use the model view stuff imo
05:37.07MohammadAGwell, i could do all lists with a QListWidget in C++
05:37.46MohammadAGQListWidgetItem 'item = new QListWidgetItem(), set all the stuff i need, and i'm done
05:37.56MohammadAGthat's usually 3 to 4 lines of code
05:38.18lardmanDelegates are simpler in QML at least
05:40.24lardmanhmm, this is quite annoying
05:40.34ajalkaneListView can eat JS arrays as model if I remember correctly? That would do for simple case
05:41.05lardmanI have Pages {} in seperate qml files and I instantiate them in a TabGroup - this works if I create Pages inline, but not if I try to create from the files
05:41.32*** join/#harmattan piggz (~piggz@host-78-145-115-241.as13285.net)
05:41.37lardmanam I right in thinking that I ought to be able to generate a component housed in a SummaryWindow.qml file by sticking SummaryWindow {id: summaryWindow } in my code?
05:41.56ajalkaneyes lard
05:42.10lardmanstrange, it doesn't work
05:42.37lardmanah, might be an anchors problem...
05:42.59lardmannope
05:43.21lardmanidentical code inline and in the separate file and the latter doesn't work - I get a patterned background
05:43.55lardmanwhich I guess means it's empty or somesuch
05:44.01ajalkaneinline inside TabGroup\
05:44.42lardmanyeah or created inside TabGroup
05:44.48ajalkaneand is the SummaryWindow also inline in TabGroup?
05:45.06lardmanIf I create a Page {} inline it works, if it's in a separate file it doesn't
05:45.29*** join/#harmattan antman8969 (~anthony@pool-96-239-32-4.nycmny.fios.verizon.net)
05:45.33lardmanseparate file but instantiated inside the TabGroup that is
05:45.55MohammadAGI didn't know you could create objects inline in QML
05:45.56ajalkanewobbly
05:46.27lardmancrap, my fault
05:46.31lardmanmissing anchor
05:46.35lardmanurgh
05:47.06lardmanit would be good to be able to enable borders on the components so I could see them before I populate them and check where they are
05:48.52ajalkanethe widget gallery app has a tool that enables something like that
05:49.33ajalkanei havent tested if it works only for mtf apps but also for qml
05:51.10w00t_it won't work for QML
05:53.51ajalkaneunfortunate. Sometimes I feel like using mtf. Then I look at the example code and go back to qml
05:54.40lardmanIs it possible to obtain coordinate information from the qml engine for debugging purposes? E.g. if it would spit out a list of objects and their x,y,width,height that would be helful
05:54.46lardmanhelpful even
05:56.26MohammadAGweird, now when swiping a windows it becomes transparent
05:56.28MohammadAGcool bug
05:56.44w00t_ajalkane: having done a lot of MTF, I have to say that you probably don't want to use it
05:56.54MohammadAGwhy?
05:56.55w00t_you can make nice things, but it's a lot easier to make the same nice things with QML
05:57.14w00t_and it has a lot of very annoying performance characteristics which involve a lot of working around
05:57.20MohammadAGMTF in Qt Designer would make it awesome
05:57.25ajalkanelardman: well, each item has a list of children so you could do it
05:58.03MohammadAGw00t_, how's the grooveshark client coming along?
05:58.21lardmanajalkane: I seem to have spent loads of time messing about with my qml code only to find that I was missing an anchor
05:58.45*** join/#harmattan maxw (~davidmaxw@194.136.86.45)
05:59.18w00t_MohammadAG: temporarily slowed down by real life atm, I have a mountain of paperwork to sort out and a house to redecorate
05:59.21ajalkanew00t_: I got that feeling too. Its just frustrating qt components miss many components used in bundled apps
05:59.22rm_you|ah someone is doing a grooveshark client? excellent
05:59.40w00t_it can (sort of) play tracks, but has a lot of bugs in doing so
05:59.56rm_you|what are you writing it in? C?
06:00.04w00t_I also have a half-done gulesider.no lookup client, but I doubt anyone outside of norway will be interested in that... :)
06:00.16w00t_rm_you|: C++/Qt
06:00.20rm_you|what backend does it use to play music?
06:00.32*** join/#harmattan smoku (~spectrum@xkh0g2.infr.xiaoka.com)
06:00.57ajalkanelardman: I've had some major battles with those anchors too :)
06:01.07MohammadAGah, k, any git repos around for it?
06:02.18MohammadAGw00t_, wait, no QML?
06:02.18w00t_rm_you|: right now, QtMultimedia, but I'll be switching to using gstreamer directly to get working playing from a stream, sometime
06:02.21w00t_MohammadAG: QML
06:02.32w00t_I haven't pushed the work I have yet, as it's in a way incomplete state
06:02.41w00t_I can push it to a branch I guess
06:03.11w00t_https://github.com/rburchell/libgroove and https://github.com/rburchell/groovy for the client
06:06.28w00t_MohammadAG: pushed to harmattan branch of groovy.. note that it has a bundled copy of libgroove for ease of building
06:09.52*** join/#harmattan xarcass (~igorsazon@her.rian.ru)
06:10.42lardmananyone got any tips for working with columns?
06:10.58lardmanI'm trying to get 3 columns to show up, but I can only see one
06:11.06lardmanwell the content of one that is
06:13.23lardmanah, using a row around the columns seems to have done the trick
06:13.25lardmanphew
06:14.54ajalkaneyou're gonna experience a world of fun using anchors with those. I know I did!
06:15.02lardmanyeah :(
06:15.31ajalkaneI won't spoil anything
06:15.35lardmanI'm at a loss as to how to make the 3 columns I have within my row take up the entire screen width
06:16.08lardmanfine they will take up enough space to show their content (coloured rectangles for the time being), but that's not ideal at all
06:17.01lardmanperhaps I should do away with the row and column and just anchor everything together
06:18.16ajalkaneperhaps. Or you can do parent.width anchoring. Anyway, you're entering the fun-zone then
06:19.10xarcasslardman: i've found columns pretty useless, unless you're using repeater inside them. anchors are much better. btw, columns are pretty dumb - they can't cope with children that are dynamically change their size or position
06:19.14lardmanI'm not sure I'm too keen on all the x,y absolute placements going on in the example qml code
06:19.40lardmanxarcass: ok, that's what I've just realised, glad it's not just me :)
06:19.58ajalkaneabs placement is an abomination
06:20.10lardmanbut seems necessary in qml
06:20.20lardmanalso absolute width and height
06:20.27xarcasslardman: wrong again
06:20.36ajalkanei've so far managed to avoid
06:21.24lardmanI seem to need to set width and height of my components otherwise they default to size 0
06:21.36lardmanthough I guess I could do that dynamically to fit the content
06:21.46xarcasswhy not to use anchors?
06:21.54*** join/#harmattan DocScrutinizer (~halley@openmoko/engineers/joerg)
06:22.12lardmanit didn't seem to work, so I assumed
06:22.16lardmanbut I may well be wrong
06:22.25ajalkaneheight I've had to set also... but never position
06:24.16*** join/#harmattan djszapi_1 (~lpapp@80-186-213-253.elisa-mobile.fi)
06:25.05sandst1lardman: anchors.fill: parent didn't help..?
06:25.24lardmansandst1: that's fine for a single component, but I need 3 columns in my Page
06:25.47lardmanso I do anchors.fill: parent for the page, then am anchoring the left and right of each column to one another and to the edges of the parent
06:25.54lardmanand I still see only one column
06:25.59MohammadAGty w00t_ :)
06:26.12w00t_patches welcome
06:26.25DocScrutinizermoo
06:26.39MohammadAGsure, just heading to bed for now
06:26.43MohammadAGmoo DocScrutinizer
06:27.08lardmanhi Doc
06:27.10sandst1lardman: ok. and having a row with anchors.fill:parent and the columns inside the row with anchors.fill:parent didn't work either..?
06:27.50MohammadAGnight everyone
06:27.53sandst1lardman: now that i rethink that one, i think thaat won't work :)
06:27.57DocScrutinizero/ MohammadAG
06:28.06lardmanI think the last column then fills the area with that one sandst1
06:28.11ajalkanecolumns and rows with anchors equals fun-zone
06:28.16lardmannight MohammadAG
06:28.41lardmanI guess I could stick everything in a rectangle instead if that works better?
06:29.34DocScrutinizerlardman: seems like back when I did such layout in Qt designer ~5+ years ago that's not been any issue to make cols autoresize
06:30.09lardmanand then along came QML ;)
06:30.27DocScrutinizermeh
06:30.55lardmanurgh
06:31.13lardmanreplacing Column with Rectangle of course means I now need to anchor the contents to one another
06:31.21lardmanspaghetti junction
06:31.39lardmansurely there's a better way than needing to explicitly anchor everything?
06:31.41DocScrutinizerOTOH we rarely ever resize on devices/"window managers" like N9(50)/hildon|whatever
06:32.21artemmlardman:  so you 3 columns to occupy width of the whole parent rectangle?
06:32.34lardmanartemm: that's what I'd like
06:32.35artemmand be equal in width?
06:32.39*** join/#harmattan rcg (~rc@e180222027.adsl.alicedsl.de)
06:32.53lardmannot bothered about equal width, in fact I'd prefer them to resize according to the content
06:32.54xarcasslardman: if you have children which geometry changes dynamically, there's no other way
06:33.26artemmIf their width changed dynamically, how can they fit whole parent width except by accident?
06:33.37DocScrutinizerindeed
06:33.57lardmanartemm: the columns default to fitting a 1/3rd of the width unless the content requires that they move
06:34.01DocScrutinizerchanging width by content is hardly ever working OOTB
06:34.04artemmthere got to be at least one flexible element that takes "the rest" of width
06:34.09lardmanas would happen with layouts in Qt/C++ afaik
06:34.41artemmlardman, what happens in one of the column's content wants to be huge?
06:34.52artemmjust trying to get the ideal picture of what you want
06:35.20lardmanin C++, you set a min width for the layout and the other column can grow to fill the screen bar the min space required for the other column
06:35.51DocScrutinizererrr
06:35.53artemmso one of the columns is to be "rubber" and fit the remaining width?
06:35.53lardmanthat's what I'm used to, just trying to work out how on earth to get something to even display with QML
06:36.18lardmanall of the columns should do that, and presumably thay is what should happen using anchors too
06:36.35artemmsorry, still can't get the logic of what you want
06:36.44lardmanI need 3 columns on the screen
06:36.48lardmanI can only display one atm
06:36.54DocScrutinizerwidth = 0.33 unless other col wants >0.33 for huge content, unless own content needs >0.33?
06:36.58lardmanI can't anchor columns together
06:37.28*** join/#harmattan lamikr (~lamikr@nat/nokia/x-gbmnkvxryknhmykx)
06:37.29ajalkaneyou cant, because row handles their position
06:37.57artemmajalkane: that doesn't have to be a row
06:38.03lardmanok, now if I use a row, all my columns sit over on the LH side of the screen, how can I space them out within the row?
06:38.22ajalkaneo, and shouldnt in this case i think
06:38.46artemmlardman:  what I am after is the logic of negotiation after some column wants to be bigger or the other one smaller or both
06:39.21djszapi_1lbt: what changed on obs recently ? kdelibs now seems to build in each repository without issue
06:39.21sandst1lardman: is the row itself anchored to the center of the screen?
06:39.32xarcasswonders what lardman would do if orientation changes
06:39.50sandst1lardman: as in anchors.centerIn: parent
06:40.01lardmanartemm: I don't see any logical difficultly there as long as the minimum widths are < screen width?
06:40.11lardmansandst1: no, to both edges
06:40.26artemmlardman: you told that u want columns fir whole screen
06:40.36lardmanartemm: yes
06:40.40sandst1lardman: try anchors.centerIn instead of anchoring both edges?
06:40.51artemmif screen is 1000px and columns need 100, 300 and 500, how will they use the screen space
06:41.09*** join/#harmattan elzalem (~elzalem@95.141.49.66)
06:41.10lardmansandst1: ok will give that a go, but I guess then I'll end up with my columns in the centre of the screen, but still not taking up the whole width?
06:41.23DocScrutinizerlardman: I'd think you could make left of 3 col minwidth=0.25 maxwidth=0.5 and fill the right 2/3...1/2 of screen with a rect taking the rest. Inside this rect you can place the other 2 cols with width=0.5, or you redo the same dance as for leftmost col, to prioritize which col can expand and which element will shrink then
06:42.24sandst1lardman: yeap..
06:42.42lardmanartemm: I guess you'd allocate column x offsets as a proportion of the actual content widths and then scale all of the x offsets as any of the contents becomes larger than the allocated region
06:42.58sandst1lardman: then i guess it's about entering the width: parent.width*x
06:43.00lardmansandst1: what I'd ideally like is for my 3 columns to be spread across the screen
06:43.19lardmansandst1: ok, that sounds like it would work, thanks
06:43.26artemmlardman: Aha! So you want the columns to take amount of screen proportionate to what theur column wants?
06:43.28sandst1lardman: equally spread?
06:43.44artemm*to what their content wants
06:43.57artemmand regardless of absolute width of this content
06:44.01lardmansandst1: well they all have 50 pixel rectangles in them atm, so they will be equal, but not necessarily once they have something useful in them
06:44.44lardmansandst1: The problem I see with setting the absolute position as some fraction of parent.width is that then you may end up overlapping things presumably?
06:45.44lardmanI guess I'll just anchor everything together
06:45.48DocScrutinizerlardman: doesn't this get handled by setting relative fractions of width as a pos?
06:46.31sandst1lardman: i'm not 100% sure about overlapping, it could be also that the children in the row get only as much of the space as there's left
06:46.43lardmanDocScrutinizer: that would position them as I'd like, but then if one of the columns is > parent.width/#cols it will encroach on the others I expect
06:46.43DocScrutinizersounds like QML is really terribly limited in what functions it provides to relieve pain of layout from developer
06:47.06xarcasslardman: if you'll decide to use these fractions, don't forget to Math.round() their results. otherwise, there will be unpleasant artifacts
06:47.17lardmanxarcass: ok thanks
06:47.48lardmanDocScrutinizer: Well it seems very flexible, I was just hoping for some shortcut layout type elements to save me needing to do lots of anchoring while I'm testing code
06:48.21xarcasslardman: use copy/paste :)
06:48.39lardmanxarcass: need to change the id I'm anchoring against though of course
06:49.29ajalkaneset widths, but position with anchors
06:50.03xarcassremembers that video lecture about QML, where charismatic bald man said that it's ok to use copy/paste in QML coding
06:50.36lardmangoes to find caffeine before trying to write out the anchors between his 15-odd ui elements on this page
06:50.50artemmwidth + positioning with anchors is easy. Doing that right now trying to get the column resizing logic. Everything works, but I still don't get the logic you want :)
06:50.52*** join/#harmattan veskuh (~vesahart@nat/nokia/x-peswxswrgwhwzgmc)
06:51.03artemmok, I give up probably
06:51.09artemmcan't understand without a picture
06:51.17DocScrutinizerlardman: sorry, seems I didn't manage to get what's your design goal. Anyway there's either just one "rubberband" element in your layout, and that takes all of the remaining space, or you got several rubberband elements and aiui those will all be same width then
06:52.24DocScrutinizerand I dunno how to make width of main window increase when sigma_width of widgets in window is too large for the current window width
07:01.11lardmanNo worries chaps, I'll do some anchoring now I have a cup of coffee to hand :)
07:01.25lardmanand thanks for all the suggestions and help :)
07:01.52DocScrutinizerlardman: basically my approach (NB while I got NFC about QML) would be to start up Qt Designer on my PC and click together a layout that meets my needs. Then check which fields of width_relative and width_abs and also posX_relative and _abs have which values. If QML doesn't support these values/semantics OOTB you need to code the underlying algorithms "by hand" (e.g if there's no posX_relative then use posX_abs=window.width()*$X_
07:01.54DocScrutinizerrelative)
07:02.16*** join/#harmattan harbaum (~quassel@2001:8d8:1fe:8:baac:6fff:fe2d:73a3)
07:03.26lardmanDocScrutinizer: The thing is I'm not quite sure how I'll handle the column widths and positions anyway, I just wanted to space them out so I could test and add in components and ensure that I can see them/check whether I need to set widths/heights
07:03.51lardmanI'll probably end up with one column being partially offscreen then being flick-on-able
07:03.57lardmanotehrwise the content will be too wide
07:04.32DocScrutinizeryou can easily prototype and test different layout ideas in Qt Designer
07:05.05DocScrutinizerif you're happy with the result, transfer it to QML
07:05.26DocScrutinizer(of course unless there's maybe a similar too for genuine QML :-D )
07:05.27lardmanDocScrutinizer: yeah, I've got most of the UI stuff sketched on paper, which is as good as
07:05.27xarcasslardman: how do you think to cope with orientation changes then?
07:05.50DocScrutinizers/too /tool /
07:05.51lardmanxarcass: I'll change anchors, but had hoped to only change anchors on my columns
07:07.35*** join/#harmattan lcuk (lcuk@cpc2-oldh7-0-0-cust702.10-1.cable.virginmedia.com)
07:07.35*** join/#harmattan lcuk (lcuk@Maemo/community/contributor/lcuk)
07:07.45lardmanIt's my fault really, I'd not realised that absolutely everything requires explicit anchors
07:08.17xarcasslardman: a lot of work lies ahead of you. especially if all this is placed inside a flickable. have you considered using tabs?
07:08.37lardmanxarcass: I am using tabs already
07:09.08lardmanxarcass: but yeah, I realise there's some work to do, but it should be pretty easy to get the anchors right, just will take some time
07:09.24xarcasslardman: then there's a lot of content in your app..
07:10.58lardmanI'll have a column with scanner barcode image and under that the type of barcode and scan date, centre column has some buttons to copy&paste, save to file, web search and underneath is the plugin supplied "widget" and right and column is the plugin list that alters what is displayed in the centre column
07:11.31lardmanthat would be landscape, portrait some of the columns will move to become rows, etc
07:14.14lardmanhmm, not the best spelling in the world there, hope it made some sense :)
07:14.37xarcasslardman: that's not so much as i've thought. can't see any tabs though
07:14.52lardmanI've got tabs for the history list and settings pages
07:17.22xarcasslardman: my point was that this design isn't too complicated as i suspected. actually, it's piece of cake. i'm sure you'll manage :) moreover, afterwards you'll remember present difficulties with laughter
07:18.10lardmanxarcass: indeed the design is very simple, which is why it's so frustrating not being able to actually get much to display on screen :)
07:19.12lardmandoes one need to set the top and bottom anchors of touching elements or is setting just one enough?
07:19.22xarcassxarcass: i clearly remember how pathetic i was when i began QML coding. it'll pass soon enough. keep trying
07:19.53lardmanyeah I know, just fruistrating as this should be the easy bit :)
07:20.26xarcasslardman: it's either top anchor and height, or both top and bottom anchors
07:20.40lardmanbut for both elements which are touching?
07:21.02lardmanas the top anchor of the bottom element is just repeating the bottom anchor of the top element
07:21.16lardmanrepeating the link anyway
07:21.35xarcassusually, when i fill a column, i set top anchor and height for all elements which height can be calculated
07:21.50lardmanok cool
07:27.12*** join/#harmattan khertan (~khertan@AAmiens-553-1-228-32.w90-34.abo.wanadoo.fr)
07:27.30lardmancries
07:28.00*** join/#harmattan Mek (~quassel@93.157.1.37)
07:28.10lardmanand curses his Rectangles which don't want to line up, or even appear other than the first one
07:29.05marioblardman: You just have to make sure you have a width and height for Rectangles. Either by anchoring or by settings width/height
07:29.07lardmanah, missing anchors on the contents
07:29.37lardmanyeah I set width/height but forgot to anchor these ones which had been commented out while I was testing a single column
07:29.43khertanMorning
07:29.46marioblardman: :)
07:30.18lardmancurious that the rectangles don't sit at their parent's origin though
07:30.40lardmanthough perhaps my anchoring of the fake-column rectangles is also broken
07:32.36marioblardman: Inspect the output carefully and look for anchoring loops and other errors
07:33.18lardmandefinitely no errors in the output
07:33.45lardmanit seems my fake-column rectangles aren't anchoring to one another, they all just sit at the origin and draw ontop of one another
07:36.07xarcasslardman: you can easily check this out by putting console.log("x" + x) in some hook, like Component.onCompleted
07:36.32lardmanxarcass: I've got coloured squares being drawn so can see it's not working, but thanks
07:37.15lardmanI'll just pastebin it and if anyone can tell me why the Items (which were Rectangles, but as they are just layout elements that was overkill) don't anchor that would be great
07:37.16xarcassalso likes colored rectangles. especially when debugging geometry issues
07:39.26lardmanhttp://pastebin.com/4ZXNK6sL
07:41.10lardmanall the columns/Items seem to draw, but all of the columns are drawn stuck to the LH side of the screen
07:41.22lardmanso it seems the anchoring of the Items isn't working for some reason
07:41.27xarcassanchors { left: parent.left; top: parent.top; } - that's in the root Item. now try to guess which would be the height of that Item?
07:42.02lardmanpresumably it will be as high as the content
07:42.18lardmanwhich is what happens on the screen anyway
07:42.19xarcasswrong. correct answer is zero
07:42.47lardmanodd, because that column is drawn
07:42.48xarcasscan be easily checked by adding "clip: true"
07:43.09xarcassdon't forget that clipping is disabled by default
07:43.19mariobxarcass: Me too remember the old days with height/width problems :)
07:43.53lardmanok, so I'll add  bottom: parent.bottom to all of the Items
07:44.34xarcassit's not related to geometry problem, but nonetheless:                     fillMode: Image.PreserveAspectFit - this has meaning probably only if you set Image size directly
07:44.34lardmanbut still they are all drawn over the first column
07:45.09lardmanxarcass: I've not got round to testing that yet, need to get something to display first ;)
07:45.24lardmandoes one need to set the size of the image element? It doesn't take it from the source image file?
07:45.42artemmit should
07:46.12lardmanThe image will only be a thumbnail anyway, so I'll need to set either the width or height
07:46.16xarcassclear. your columns overlap because they not only have zero height, but zero width also
07:46.36*** join/#harmattan djszapi (~lpapp@kde/developer/lpapp)
07:47.53lardmanhmm, so they don't take on the width of their child elements?
07:48.04xarcassnever
07:48.18lardmanI'm too busy thinking of these things as layouts rather than as elements in their own right
07:48.22lardmansilly me
07:48.31lardmanthanks, that should solve quite a few problems then
07:51.08xarcasslardman: you have two import QtQuick lines - with different versions at that. beware: if you are using two different versions of QtQuick, even if they are in different QML files, your app's memory footpring may increase by 100+M. i've seen this myself
07:51.46lardmanI was copying one of the example files that did that
07:51.48djszapihiemanshu: did the import work on N950 ?
07:51.52lardmanbut I'll remove version 1.0
07:52.00lardmanthanks xarcass
07:55.21*** join/#harmattan andre__ (~andre@g1.blanicka25.net)
07:55.22*** join/#harmattan andre__ (~andre@Maemo/community/bugmaster/andre)
07:59.39*** join/#harmattan frinring (~kossebau@85.183.48.167)
08:08.21*** join/#harmattan wazd (~wazd@broadband-95-84-185-178.nationalcablenetworks.ru)
08:22.25*** join/#harmattan leinir (~leinir@amarok/usability/leinir)
08:36.34rcgwhat's the best way to install additional -dev packages into the QtSDK Madde sysroots?
08:40.44rcghttp://library.developer.nokia.com/index.jsp?topic=/MeeGo_1.2_Harmattan_API/html/guide/html/Developer_Library_Reference_documentation_MADDE_terminal_user_guide_Adding_packages_to_MADDE_targets_cb2e.html
08:40.52rcgah.. that should do the trick
09:07.17*** join/#harmattan achipa (~attila@Maemo/community/council/achipa)
09:10.08*** join/#harmattan M4rtinK (~M4rtinK@mail.melf.eu)
09:13.46lardmanHas anyone noticed strange issues with text.width?
09:14.09lardmanI've got a qml file to create a button, and it specifies: height: text.height + 10; width: text.width + 20
09:14.18lardmanbut the buttons seem to be far larger than that
09:14.35*** part/#harmattan djszapi (~lpapp@kde/developer/lpapp)
09:15.14lardmanah, it's not using my Button implementation, that could be the reason why
09:15.16*** join/#harmattan smoku (~smoku@93.159.54.194)
09:24.11*** join/#harmattan Arkenoi (~ark@178.177.80.85)
09:38.39*** join/#harmattan sudanix (~sudanix@2.88.29.251)
09:38.57*** join/#harmattan lamikr (~lamikr@nat/nokia/x-fpbyjjwankukmgoo)
09:49.28ajalkane|
09:49.35*** join/#harmattan lamikr (~lamikr@nat/nokia/x-zsixuuujquflnjtc)
09:55.09artemmHmm, why am I seeing qDebug() output when I choose Harmattan Release target in QtCreator?
09:55.32artemma bug? Or am I misunderstanding how qDebug works?
09:55.45artemmsame about QML/JavaScript's console.debug() actually
09:56.40artemmMeeGo 1.2 Harmattan API, not Platform API for Harmattan if it matters
09:58.06artemmqmake build steps (from Projects tab) don't include CONFIG+=debug
10:00.10rcg"... This function does nothing if QT_NO_DEBUG_OUTPUT was defined during compilation. ..."
10:00.15rcgfrom the qDebug api docs
10:00.16leinirartemm: Even while your own code might be release compiled, Qt can still be compiled with debug :)
10:00.25rcgseems like you have to explicitly disable debug output
10:00.31artemmoh..
10:00.42leinirAh right :)
10:01.08artemmdoes it mean that N950 includes debug version of Qt only?
10:01.16artemmI am seeing these debug prints from HW
10:01.43rcgafaiu enabling/disabling debug in the build via e.g. CONFIG+=debug only triggeres whether your project is build with debug symbols enabled
10:01.56artemmhey, I am seeing my own debug prints, so doesn\t it mean that my code is debug built?
10:01.59rcgartemm: afaik the -dbg packages are not installed by default
10:02.25rcgthere are *-dbg packages available though
10:03.05artemmwell, when I choose Release build, CONFIG+=debug is not included
10:03.10rcgwell.. i dunno if _not_ setting CONFIG+=debug implicitly means QT_NO_DEBUG_OUTPUT is passed during compilation
10:03.14artemmthat's what Project tab shows
10:03.49artemmwhere do you put QT_NO_DEBUG_OUTPUT?
10:03.53artemmto qmkae arguments?
10:03.59artemm*qmake
10:04.19ajalkaneDdd
10:04.42ajalkaneExcuse my manners
10:05.13artemmwhat I am actually worried about is that I can't see whether my build is really release or debug one :) Seeing debug prints is one of the signs only
10:05.40artemmI don't need debug prints and debug symbols in the final build
10:07.35rcgartemm: hmm yeah, ic
10:07.46artemmaha, QT_NO_DEBUG_OUTPUT goes to DEFINES in the .pro file
10:08.27artemmI have small hope that it's not my code is so slow, but it is just compiled for DEBUG, while I thought it's RELEASE :)
10:10.24ajalkaneIf theres lots and lots of debug logging, it'll slow it down
10:10.43artemmActually any app launch prints some 10-20 lines about "MeegoGraphics", found drivers, etc. - that is obviously coming from the system
10:11.29artemmAdded DEFINES += QT_NO_DEBUG_OUTPUT to pro file, ran qmake, rebuilt, still seeing my qDebug() prints
10:15.08rcghmm artemm you are right.. just checked here.. even in release "-g" is passed as g++ command line option
10:15.11artemmsorry, I was wrong. Proper rebuild removed qDebug prints
10:15.25artemmconsole.debug are still printed though
10:15.43rcgic
10:15.45artemmwhat is -g?
10:15.55rcghttp://gcc.gnu.org/onlinedocs/gcc/Debugging-Options.html#Debugging-Options
10:16.21artemmalso that QT_NO_DEBUG_OUTPUT removed my own debug prints, but not the system ones. So I assume I am still linking to debug libs somehow
10:18.02rcg".. -g Produce debugging information in the operating system's native format .."
10:18.11artemmreading this..
10:18.26artemmthat is still about my own code, isn't it?
10:18.27*** part/#harmattan veskuh (~vesahart@nat/nokia/x-peswxswrgwhwzgmc)
10:19.00rcgyep.. so essentially afaik "-g" means g++ is adding debug stuff to a build
10:19.10artemmhmm, I don't see any -g in the qmake line
10:19.22artemmHere's "effective qmake call":
10:19.24artemmqmake /Users/artem/WorkArea/Dropbox/discountcalc/trunk/discountcalc-harmattanapp/discountcalcharmattanapp.pro -r -spec linux-g++-maemo -unix
10:19.25*** join/#harmattan lamikr (~lamikr@nat/nokia/x-qpvtfvjfvpywuucd)
10:20.19rcgnot in the qmake call
10:20.23artemmalso my app is 95% QML + JavaScript, so I should be more worried about linking to release libraries, shouldn't I?
10:20.23rcgin the g++ calls
10:20.53rcgwell dunno how this is handled in the QML part
10:20.58artemmas qml is interpretable anyway and release optimization could maybe kill qDebug prints and that's it
10:21.35artemm*searching Compile output for g++ call
10:21.48artemmindeed -g is passed there
10:22.08artemmhow can I control it?
10:22.36rcgheh.. dunno..
10:23.05rcgalways thought switchin between "release" and "debug" would take care of it ;)
10:23.12artemmme too :)
10:23.21rcgactually never looked that precisely at what its really doing
10:23.39artemmwell, there's hell a lot of problems with default project properties set by QtCreator harmattan wizard
10:23.53artemmI guess just nobody had a serious look at it
10:24.52artemm*went to read about QMAKE_CXXFLAGS
10:25.31rcgwell.. just had a look at my build in scratchbox.. this also builds with "-g" set
10:25.49tommaCONFIG-=debug CONFIG+=release should do the trick
10:25.51artemmthere seems to be QMAKE_CXXFLAGS_RELEASE flag
10:25.57artemmoh
10:26.03artemmthanks, tomma, will try it now
10:27.00artemmnope, -g is still passed to g++
10:27.06rcgtomma: just checked.. it doesnt
10:27.12rcgstrange thing
10:28.06rcghttp://linux.die.net/man/1/g++
10:28.14rcg-g  Produce debugging information in the operating system's native format
10:28.21rcgjust to have the correct source ;)
10:28.23artemmsomebody had similar problems - http://stackoverflow.com/questions/5715543/how-to-change-qmake-release-flags-for-gcc-change-o2-to-os
10:28.55artemmnot that I understood how to use the answer though
10:29.40rcgwell.. i really need to hit the road...
10:29.52artemmit's a pity
10:29.54artemm:)
10:30.00artemmgood luck with your way anyway
10:30.07artemmmaybe somebody else can help
10:30.41tommadoes it give -02 to g++ ?
10:30.47rcgthanks.. i hope you get your issue sorted out as well :)
10:30.57tommathen it is building release with debuginfo... no idea why
10:31.08artemmtomma, yes it does
10:31.18tommawell it can be removed with QMAKE_CXXFLAGS -= -g
10:31.20tommai hope
10:31.57xarcassi suppose, in release version it just strips binary before adding resources. in my case, binary is 300k in release and 6M in debug builds
10:32.28artemmJust added QMAKE_CXXFLAGS -= -g to pro file, ran qmake, started build, still seeing -g
10:32.32xarcassand yes, it has -g flag in release. and -O2 as well
10:32.45artemmoups
10:32.48artemmwrong var
10:33.24artemmQMAKE_CXXFLAGS_RELEASE -= -g helped
10:33.34artemmthere's no -g in g++ call anymore
10:33.42artemmshould I also remove -O2?
10:33.56xarcasswhat would be the point?
10:34.03artemmI am not sure which exactly flags to care about for producing fastest non-debug build
10:34.17artemmwell, I don't really know qmake
10:34.20tomma-02 is for optimizing
10:34.23xarcassremoving -g won't help here
10:34.24artemmtrying to optimize the final build
10:35.11artemmfunny, package creation seems to be requesting -g from the system
10:35.12artemmdpkg-buildpackage: set CFLAGS to default value: -g -O2
10:35.12artemmdpkg-buildpackage: set CPPFLAGS to default value:
10:35.12artemmdpkg-buildpackage: set LDFLAGS to default value:
10:35.12artemmdpkg-buildpackage: set FFLAGS to default value: -g -O2
10:35.12artemmdpkg-buildpackage: set CXXFLAGS to default value: -g -O2
10:35.30artemmdoes it mean it links to the debug libraries>
10:35.30artemm?
10:35.35xarcassno
10:35.51tommait links to same libraries but includes debug symbols in binary
10:36.00xarcass-g adds debug info. which will be stripped in release anyway
10:36.05tommabut doesn't it strip binary in packaking?
10:36.26artemmwell yeah, packaging packages already compiled code
10:36.30artemmwhat if I don't want the debug symbols?
10:37.24artemmthe real question is how to make my final build the fastest possible. Questions about debug symbols are supposed to help me get there
10:37.25xarcasstry debug build, look at the size of the package and feel the difference. there's no debug symbols in release binary, i'm almost sure
10:38.40*** join/#harmattan baraujo (~Bruno@189.2.128.130)
10:38.41xarcasswell, there are many ways to make things faster here: less JS, more C++. and QML booster, maybe
10:38.42artemmtrying debug build now
10:38.56artemmqml booster is used already
10:39.19artemmwell, current speed isn't that bad
10:39.32artemmbut if I want to improve it by playing with config options, why not :)
10:39.37artemm*if I can
10:40.12xarcassone more thing: guys from nokia office, to whom we are sending our packages, say that it works much faster on the N9 than on the N950
10:40.28artemmwhat could be a reason?
10:40.33artemmjust fresher build?
10:40.44xarcassprobably
10:40.44artemmor image compiled with release libs?
10:40.57xarcassvery likely
10:41.05artemmthat would be good
10:41.12villagerartemm: the debug symbols added by -g has zero, *zero*, effect on performance as they're not used unless you're debugging, but it is good practice to always include it in the build... though the packaging process removes the symbols anyway for size
10:41.20artemmright now when starting app on N950 I see quite many system debug messages
10:42.33villagerartemm: but using -O2 (or even -O3) is important for good performance...
10:42.34xarcassvillager: can't agree with you: adding these symbols significantly increases deployment time, which isn't convenient
10:43.10villagerxarcass: I doubt that matters after packaging, since they're stripped away then
10:43.25villagerxarcass: and before, they're pretty useful if you need to get a backtrace or whatever
10:43.53villagerxarcass: anyway I'm talking runtime performance, of course
10:43.54xarcassmy apps do not produce backtraces :)
10:46.26artemmmade release and debug build to compare sizes
10:46.37artemmdifference in the final .deb package is 6 bytes..
10:46.44xarcassjust tried debug build and is very surprised with all these 500 warings
10:46.48artemmnot a whole lot of binary optimization :)
10:46.56lardmanhmm, my symbols weren't being removed
10:47.11mikhas_xarcass, artemm: take note that QML models tend to be on the inefficient side of things
10:47.14xarcassthen I was wrong about size
10:47.34mikhas_always querying a full blown QObject for example, for each model.get
10:47.42xarcassbut I can remember that i've seen this. can't remember when, though
10:47.43artemmMikhas_, true, but 6 bytes of removed debug symbols?
10:47.44mikhas_(or creating one, for model.set)
10:48.06mikhas_so if you want to speed up your views, consider optimizing the models
10:48.22xarcassyes, i've remembered, that was before it was optimized for the booster!
10:48.32artemmthere's very small amount of models in my app
10:48.44artemmquite a lot of property binding during start though
10:48.49artemmthat is something to optimize too
10:48.50mikhas_oh
10:48.57artemmbut compiler flags are easier to try :)
10:50.02artemmit's a pity qml analyzer isn't released yet
10:50.27artemmtried it about a month ago on some own-built version of QtCreator, didn't work at all
10:51.12artemmto close the topic about linking optimization: should I be worried seeing this kind of messages during startup:
10:51.13artemmMeegoGraphics: found EGL_NOK_image_shared
10:51.27w00t_no
10:51.28artemmIsn't it something system should NOT tell in the release build?
10:51.47w00t_your application may be built in release mode, the library telling you that is not
10:52.04artemmsorry, don't understand :/
10:52.13w00t_your application uses libraries, such as Qt
10:52.20w00t_when you build your application, you don't build Qt
10:52.22artemmyou mean I am using the debug version of library?
10:52.30w00t_so, building your application in release mode doesn't affect how Qt (for instance) was built
10:52.44artemmok, then is it possible to link against the release version of Qt?
10:53.10w00t_you are, it just has debug messages enabled
10:53.23artemmI used to do similar stuff at Symbian times, but Qt world is still new to me :)
10:53.33w00t_that is, it has been built without debug symbols, with optimisations, but with qDebug() enabled
10:54.08artemmthen the final devices (in consumer hands) will probably have all this stuff optimized firther and running faster, right?
10:54.32mikhas_the final devices will poop double rainbows
10:55.08artemmI don't care about rainbows unless they are pooped with 60fps at least ;0
10:55.09artemm:)
10:55.12w00t_the particular bug that causes this to be neccesary is complicated, so I doubt it'll be fixed in time, and besides that, the few debug messages that come from Qt itself won't affect performance
10:55.23lcukmikhas_, photos or it didn't happen!
10:55.31lcukI thought n9 final devices were tri coloured :P
10:56.08artemmi guess it means that performance I see on N950 will be similar to final N9 (maybe jsut a little faster)
10:56.14artemmthanks for your patience
10:57.52mikhas_well, core apps are still being optimized
10:58.12w00t_well, the software that will be released will be newer (and different, ideally a lot better) from what you have now
10:58.13mikhas_for 3rd party apps this means: we leave more CPU juice and memory for you
10:58.28artemmthanks
10:58.59artemm*now went to search why javascript's console.debug() is printing when qDebug() doesn;t
10:59.49spenapartemm, maybe you have to run your application with -output-level debug ?
11:00.11mikhas_wasn't that only for LMT apps?
11:00.13artemmwell, I want to disable console.debug() prints in release build
11:00.29w00t_mikhas_: right
11:00.47*** join/#harmattan macmaN (~chezburge@138.167.190.90.dyn.estpak.ee)
11:00.58artemmBTW, does anybody know roughly how long a printing a line takes? Around 20-50ms?
11:01.11artemmthinking abt how strict I need to be removing the debug prints
11:01.12w00t_much less than that
11:01.16w00t_much much less
11:01.47w00t_it also depends on where they're going
11:01.48artemmok, thanks
11:01.59artemmthen it's not so critical, I have just a few
11:02.07artemmmaybe 10-15 lines during startup
11:02.21w00t_console.debug can't be disabled, btw
11:02.24w00t_(I just checked)
11:02.40artemmfunny, why does it exist separately from console.log then? :)
11:02.44w00t_it's tied to qDebug
11:02.52artemmoh well, it's probably javascript implementation
11:02.54w00t_so it *can* be disabled, but not without rebuilding Qt
11:03.46artemmw00t_: on C++ side of my code qDebug doesn't print anything (disabled by QT_NO_DEBUG_OUTPUT or QMAKE_CXXFLAGS_RELEASE -= -g)
11:04.05artemmand Javascript side still is able to print via console.debug()
11:04.07w00t_remember what I said about libraries
11:04.18w00t_this use of qDebug is inside Qt itself, which isn't built with QT_NO_DEBUG_OUTPUT
11:04.35w00t_'this use' being console.debug()
11:04.47artemmthen why qDebug's on C++ side of my code can be disabled?
11:06.37w00t_qDebug is entirely inline
11:06.43w00t_i.e. contained within headers
11:06.49artemmok, got it
11:06.51artemmthanks
11:07.03w00t_when you define QT_NO_DEBUG_OUTPUT, Qt turns it off for where you've included it, i.e. your code
11:08.14*** join/#harmattan lamikr (~lamikr@nat/nokia/x-ttjsccpgxkomswgr)
11:15.45*** join/#harmattan rcg (~rc@fb2-pub-1.dv-nr.fh-frankfurt.de)
11:20.45*** join/#harmattan lcuk (lcuk@cpc2-oldh7-0-0-cust702.10-1.cable.virginmedia.com)
11:20.45*** join/#harmattan lcuk (lcuk@Maemo/community/contributor/lcuk)
11:27.40*** join/#harmattan lamikr (~lamikr@nat/nokia/x-uvliqhqjbtbapdrb)
11:31.58*** join/#harmattan willer_ (~Willer@189.2.128.130)
11:49.45*** join/#harmattan NIN101 (~NIN101@p5DD28D25.dip0.t-ipconnect.de)
11:50.09*** join/#harmattan berndhs (~berndhs@2604:8800:11b:1:21e:90ff:fe8f:8bee)
11:53.52artemmIs anybody able to debug on N950?
11:54.07artemmWhen I "Start Debugging" I get The gdbserver process closed unexpectedly.
11:54.22artemmsoon after "Can't bind address: Address already in use."
11:57.51*** join/#harmattan CepiPerez (~matias@190.221.197.126)
12:01.43xarcasswlan or usb?
12:05.08artemmwlan
12:05.13artemmbut maybe I was too quick
12:05.23artemmjust figured qml debugging library wasn't built
12:05.24xarcasstry to enable 'background connections'
12:05.28artemmmaybe that's the reason
12:07.30mikhas_use the USB connection
12:07.45artemmnope debugging lib didn't help
12:08.24artemmwhat is backgroundconections?
12:09.25artemm*went for usb cable
12:17.38artemmusb didn't help
12:17.40artemmsame result
12:22.26xarcassi have just tried debug - works perfectly with breakpoints and all that stuff. through USB.
12:22.59xarcasstry to enable background connections and ensure that power saving is disabled
12:25.35artemmhmm
12:25.49artemmwhat are these background connections?
12:25.51artemmin device?
12:25.57artemmin qt creator?
12:26.08xarcassyes, in settings->internet connection
12:27.21xarcassdevice
12:27.27artemmtrying
12:27.50xarcasshowever, i doubt that it'll help with USB
12:27.57artemmhad to disable flight mode to see background connections setting (discounnted from wlan manually)
12:28.06artemmsame result :/
12:28.16artemmok, will try over wlan then :)
12:28.23xarcassit was in the flight mode?
12:28.40artemmto connect via usb you need to disable wlan
12:28.51artemmconnection to qt creator was still happening
12:29.50xarcasssomething is wrong with your setup. i can use both simultaneously. do you  have latest firmware?
12:30.23artemmheh, I think I've seen debugging working fine about a week ago
12:30.36artemmnot sure as I didn't really use it, just was playing with the device
12:30.47artemmlatest public n95- fw
12:30.53artemmn950 fw
12:31.14xarcasshave you flashed it yourself? with that one-click-something?
12:31.20artemmmaybe I just restart everything
12:31.24artemmwith one-click-something
12:31.35artemmabout a week or two ago
12:32.06artemmCould use of booster influence the process somehow
12:32.06xarcasswell, reboot also helps sometimes. apart from that there's nothing more that I can offer, unfortunately
12:32.08artemm?
12:32.33artemmI think it's only wholeapp level thing i changed lately
12:33.12xarcassmy app is also boosted, but debugger works nevertheless
12:33.35artemmdoes QML analyzer works for you?
12:33.45artemmthat is the actual reason why I want debugging
12:34.01artemmso if it doesn't work yet, no need to struggle with getting debugging started
12:36.53artemmsurprise-surprise restart helped :)
12:37.15artemmand starting of debugging takes a loooot of time
12:37.29artemmso many slow messages about loading libraries
12:37.45*** join/#harmattan trx (~ns-team@93.87.57.162)
12:43.25artemmdebugger is "setting breakpoints" for about 10 min already. Is it normal?
12:45.46xarcassthat's normal
12:45.57artemmgosh :(
12:46.10artemmok, now I remember why I didn't use debugger earlier :)
12:46.15artemmnever was patient enough
12:47.36*** join/#harmattan lcuk (lcuk@cpc2-oldh7-0-0-cust702.10-1.cable.virginmedia.com)
12:47.36*** join/#harmattan lcuk (lcuk@Maemo/community/contributor/lcuk)
13:01.58*** join/#harmattan javispedro (~javier@Maemo/community/contributor/javispedro)
13:04.06*** join/#harmattan hardaker (~hardaker@mail.hardakers.net)
13:08.34artemmIs it possible to develop for Harmattan using QtCreator 2.3 (in release candidate for now)
13:09.03artemmHarmattan plugin works nice for 2.2 on my computer, but I am not sure how to add it to 2.3 if it's possible at all
13:10.52*** join/#harmattan crevetor (~antoine@bureau.ubity.com)
13:16.01*** join/#harmattan crevetor (~antoine@bureau.ubity.com)
13:16.11radiofreejavispedro: your qsparql bug has been fixed, it's just not in the beta sdk
13:16.24artemmoh, 2.3 can open 2.2. projects and all the settings. nice
13:16.29javispedroradiofree: nice to know!
13:16.30radiofreeversion 0.0.30 has the fix, also, it's import QtSparql 0.1, not 1.0
13:16.46radiofreeQtSparql 1.0 may work, but that's a bug in qt
13:16.52javispedroradiofree: so, can it be used, or it has any other showstopper bugs?
13:16.59radiofree0.1 will work in scratchbox and on device for sure
13:17.06radiofreeyes it can be used, along with the endpoint driver
13:17.23javispedromany thanks!
13:17.29radiofreewhich doesn't work on the device in 0.0.27 (the version in the beta sdk)
13:18.05radiofreein a future release there will be a whole new set of qml bindings (will maintain this SparqlResultList for compatibility though)
13:18.13javispedroah
13:18.21radiofreeso you'll be able to issue SPARQL queries directly in QML, and use the results there :)
13:18.50radiofreevar results = sparqlConnection.select(somequery) for example
13:19.09radiofreebut in terms of list models, SparqlResultList is fine
13:19.16javispedrothat's mostly what I want
13:19.23javispedroI'm doing an app that is mostly a list of results from a tracker query,
13:19.44radiofreethe problem with SparqlResultList is that it doesn't have a get() function
13:19.45javispedroalong with maybe a thumbnail extractor (I was considering putting it in tracker itself but it's not that used)
13:20.07radiofreebut there should be other ways around that
13:21.22artemmCould not connect to the in-process QML debugger:
13:21.23artemmThe application is not set up for QML/JS debugging.
13:21.23artemmWhat could that mean?
13:22.28artemmit is a debug build, qml debugging library is compiled, "link to qml debugging library" is set, debugging type is set to "qml only". What else does it need?
13:22.44artemmIt's QtCreator 2.3 RC if it matters
13:23.13*** join/#harmattan qgil (c0646a28@gateway/web/freenode/ip.192.100.106.40)
13:28.43javispedroradiofree: feel free to close it  then (or should I do that?)
13:31.23xarcassartemm: i suppose, that would require presence of that qml debugging library on the device. in short: won't work
13:31.53artemmwhy wouldn't it exist on device?
13:32.32xarcassbecause our fw is fairly old, that's why :)
13:32.39artemmI though this "qml debugging library" is statically linked and deployed together with my app. Otherwise why would I need to build it from qt creator
13:33.06artemmoh well, I believe you know better
13:33.11xarcassthis may be the case. i don't know exactly
13:33.15artemmthen no qml profiling until next fw for me
13:33.41radiofreejavispedro: keep it open, I'll comment on it
13:34.00xarcassartemm: have you tried analyzer? it's grayed out for me
13:35.00radiofreejavispedro: if you fancy building it yourself https://maemo.gitorious.org/maemo-af/qsparql/trees/pr_1_0 has all the fixes
13:35.17javispedroradiofree: thanks for that too, was going to do it :)
13:35.38RST38hg'day javispedro
13:35.48*** join/#harmattan faenil_ (4f191af0@gateway/web/freenode/ip.79.25.26.240)
13:35.48javispedromorning RST38h
13:35.53faenil_YEEEEEEEEEEEY
13:35.59faenil_challenge completed!
13:36.05faenil_from 0.2fps to 20fps :D
13:36.15faenil_hoped to get to 60, but anyway XD
13:36.52javispedroa 100x increase? what were you doing, sending the rendered frames via a web service or what? :D
13:37.36faenil_ahahah
13:37.39faenil_well I have
13:37.44faenil_10k floor tiles
13:37.46faenil_and 2k boxes
13:37.49faenil_in this testcase
13:38.05faenil_at 0.2 I was using a drawcall for each floor tile and for each box :)
13:38.15elpurifaenil_: next up occlusion culling =)
13:38.16faenil_Now I'm using a VBO for the floor, and another VBO for boxes :D
13:38.45faenil_elpuri: don't think this is the case, because I want the user to be able to look at the whole level, so it must be smooth without culling too :)
13:39.22artemmxarcass, I can start analyzer from Qt Creator 2.3 RC. Well, I can try starting it as debugging session start can't be completed
13:39.39elpuriyou've got 10k tiles visible on the screen at all times?
13:39.43elpuriwow.. ;)
13:40.15faenil_nope, this is an extreme test case :)
13:40.28faenil_but I want the user to be able to look at the whole level while having a nice framerate
13:41.00faenil_so I have to make it smooth without culling too...
13:41.00xarcassartemm: so, it doesn't work yet. that's a shame. i have to wait more, then
13:41.20artemmI can't make it work, but it's not the analyzer
13:41.29artemmI can't start ondevice debugging
13:41.35artemmfrom Creator 2.3
13:41.47artemmif you can do it, you may be able to use analyzer as well
13:41.50faenil_anyway, I have named it, it's Qtoban! :D
13:43.06xarcassartemm: i can't afford such experiments as installing RC versions
13:43.20artemmcreator isn't whole Qt
13:43.34artemmit can easily coexist with another instance
13:44.25xarcassartemm: i've tried once or twice, it screwed up all my setup. so i don't even think about this now
13:44.48artemmwell, not even trying is certainly safer :)
13:46.01xarcassartemm: tight deadlines, unfortunately
13:46.24artemmand work hard for those deadlines! I want better firmware soon! :)
13:47.05elpurii wish people would stop naming their apps q<something>
13:47.28xarcassartemm: that's not my responsibility. i'm just app coder
13:47.40lardmanelpuri: iSomething instead? ;)
13:47.56elpurinot that either ;)
13:48.02elpuriunless you're apple
13:48.33lardmanThere was the same issue with mSomething for Maemo apps
13:48.40kimjug<something>, k<something>, m<something> for gnome, kde, maemo/meego..
13:48.40artemmelpuri, isn't it like a developer-type signature? Kind'of "normal users, please ignore my app, it has a developer-ui and normal people can't use it" :)
13:49.20lardmanIt does mean you can use a noun and not bother to think to hard
13:49.35lardmanat least that's my excuse
13:49.52faenil_elpuri: I hate that too...but looking for a nice name is so hard!
13:50.16faenil_elpuri: my problem is that my game is a clone, so I can't give a whole new name afaik...or can I?
13:51.59elpuriartemm: exactly. i think the goal here is to try to give meego/harmattan a credible app portfolio, hence the names should be "normal" imo
13:52.03elpurifaenil_: why not
13:52.23elpuricall it tilepalooza
13:52.26faenil_elpuri: don't know, licence something?
13:52.30artemmelpuri, only if you want to create apps for normal people :)
13:52.34faenil_not bad XD
13:52.35artemmnot everybody cares
13:52.36faenil_tilepalooza
13:52.40faenil_:D
13:52.58artemmany sane product manager would instantly kill any qApp name
13:52.58elpuritileissimo
13:53.15artemmas it says nothing to end user
13:53.18faenil_ok I have time to think about another name
13:53.24faenil_I just needed one to create my local repo
13:53.36faenil_to track the changes :)
13:53.38elpuriartemm: exactly
13:54.00faenil_I Should find something like StockThemUp
13:54.03faenil_don't know XD
13:54.27faenil_or
13:54.32faenil_WarehouseKeeper, simple
13:54.47faenil_no, people would misunderstand it
13:55.43elpuriFuckEmUp
13:55.59xarcassfaenil_: what's the game like?
13:56.06elpurisokoban clone?
13:56.10faenil_it's sokoban clone
13:56.14faenil_in 3D
13:56.26xarcassfaenil_: Angry Boxes
13:56.32faenil_ahahah yeah xD
13:56.46faenil_that's something people would download :D
13:57.04faenil_and then be disappointed about xD
13:57.20xarcassfaenil_: then don't disappoint them
13:57.56faenil_xarcass: I'll try to, but I'm just learning OpenGL :) and doing this game for a university exam too :D I have 10 days left to finish it XD with a level editor
13:58.03faenil_omg don't let me think about it XD
13:59.43faenil_anyway thanks for the names :D
14:00.46xarcasshas just received confirmation from nokia that all application bugs are fixed at last. it's time for some vodka now
14:01.59faenil_yey :)
14:02.17faenil_is there any news about a fw update for us mortals?
14:03.15xarcassfaenil_: it's just an app, that would be preinstalled on the devices in our region. nothing special. it's definitely not a fw, not even a part of it
14:03.41faenil_xarcass: I did not mean to refer to your msg :D
14:03.50faenil_I was asking about our N950 fw update :D
14:03.58faenil_the actual fw is bugged enough :D
14:06.59*** join/#harmattan Kypeli (kypeli@kapsi.fi)
14:09.02faenil_The internal deadline for the release version of the FW should be 29th..
14:09.12faenil_so I hoped we were getting some love :D
14:14.06*** join/#harmattan NIN101 (~NIN101@p5DD28D25.dip0.t-ipconnect.de)
14:18.29faenil_elpuri: is there anything I can do to speed up thing like disabling the compositing?
14:18.37faenil_things*
14:19.51javispedroif you are fullscreen it is already disabled
14:20.48faenil_oh ... ok then...
14:20.51faenil_:)
14:21.01faenil_swiping away is very slow :D
14:21.23mariobfaenil_: disable "Developer Mode" increases performance, according to MeeGoExperts,
14:21.33javispedrodoubtful
14:22.28faenil_something ...
14:22.31faenil_gained 0.2 fps
14:22.33faenil_:D
14:22.40javispedroeven more doubtful
14:22.53faenil_I just tried XD
14:22.57faenil_and gained 0.2fps
14:23.03thpwazd: ping
14:23.08javispedroyour testing method is flawed
14:23.27faenil_but 0.2 is almost nothing...
14:23.38MohammadAGdeveloper mode is a metapackage
14:23.48javispedrofaenil_: it should have shown _no difference_
14:23.53MohammadAGit can't affect performance
14:24.09faenil_ok, trust you :D
14:24.17faenil_I'll try again
14:24.18MohammadAGit could be that tracker or something like that was running before he disabled it
14:24.41elpurido you receive any signal when the swiping starts?
14:25.00javispedrotechnically yes
14:25.02elpuriyou could take screenshot and render just that paused state while user is swiping
14:25.18faenil_yeah
14:25.21MohammadAGjavispedro, inside QApplication?
14:25.29javispedroMohammadAG: an atom is set
14:25.32javispedroer
14:25.33javispedroa property
14:25.41faenil_but that's the last problem actually :) I have to pause the game too, because otherwise the phone is very slow
14:25.44javispedrotherefore you should get a Propertynotify
14:25.46MohammadAGah, so changeEvent() shoild do it
14:26.04javispedroI'm, my atom cheat sheet is missing this one
14:26.10MohammadAGwhen an app is thrown in the background there's a property set
14:26.16javispedrohttp://depot.javispedro.com/pen/meegoatoms.png ;)
14:27.26faenil_lol
14:28.12javispedrothe arrows in the first column indicate who sets the property and who reads it
14:28.37javispedroMTF = meegotouch, COMP = mcompositor, swipe = propietary swipe code
14:28.40MohammadAGgood, now make that in qml so it can have arrows with transitions!1
14:29.12*** join/#harmattan cpscotti (~cpscotti@212.36.161.100)
14:29.50mikhas_you know, you could have just asked
14:30.07mikhas_but I guess it was more fun this way
14:30.10elpurijavispedro: you've got a great letter e
14:30.20MohammadAGblinking 2G icon, wtf does it mean?
14:30.31javispedromikhas_: yes :)
14:30.41MohammadAGthere goes my operator logo
14:33.15javispedrothe atom you're looking for the swipe starting is _MEEGOTOUCH_MINIMIZE_ANIMATION
14:33.18javispedroadds to cheat sheet
14:34.56lardmananyone know if it's possible to set the anchors of one element to be the same as another?
14:35.07lardmanI've tried anchors: blah.anchors
14:35.12faenil_can't
14:35.13lardmanbut apparently that's not allowed
14:37.31MohammadAGlardman, set them manually to what the anchor of the first one?
14:38.18lardmanMohammadAG: yeah I need to display a placeholder if I don't have an image, so want it to sit exactly where the image is
14:38.35lardmanand to be anchored identically
14:38.53lardmanI've done it manually now, written out each one of top, bottom, left, right
14:39.34MohammadAGlardman, anchors.fill: firstone
14:39.58lardmanah, cool
14:40.02MohammadAGplaceholder, achors.fill: notplaceholder
14:40.54lardmanthanks
14:59.17lardmanmore questions :) using a Label, how do I change the background colour?
15:00.22lardmanor is the background transparent already?
15:00.24*** join/#harmattan BrettQ (~BrettQ@ps19736.dreamhost.com)
15:01.07javispedrohah
15:01.23javispedroso both Nokia and the WebOS use the exact same propietary library to control the vibrator
15:01.28javispedroImmersion VibeTonz
15:01.59javispedronotes in its list of features the ability to set "vibratory ringtones"
15:02.05lardmanjavispedro: is control of the vibrator so complex that it requires a closed library?
15:02.20javispedrolardman: I'm having a lot of similar surprises recently
15:02.38javispedrolardman: yesterday found out that the piece of code that converts raw magnetometer reading into bearing is also closed and licensed from a 3rd party
15:03.00lardmaninteresting
15:04.23mikhas_lardman, yes it is complex
15:04.45lardmanmikhas_: fair enough
15:04.51SpeedEvilIt's not that complex
15:04.55SpeedEvilIt's annoying.
15:04.59SpeedEvilBut it's not actually hard.
15:05.11SpeedEvilSpherical harmonics of the field are easy to compute.
15:05.11mikhas_lardman, we find a specially designed feedback and then they need to figure out how to do it
15:05.26mikhas_s/find/want
15:05.38javispedrohey, less work for me. I can just now apply Palm's SDL Haptics patch to my SDL.
15:05.42SpeedEvilThen you just use that and the derived gravity vector, bit of filtering, and out pops direction
15:06.16mikhas_Easier to just buy the stuff.
15:06.20lardmanmikhas_: ah I see, I didn't realise it did haptic feedback too
15:06.37lardmanI was thinking of tuning for ringtones :)
15:06.52javispedrofinds the ringtone part more difficult
15:07.11javispedrobut I guess I don't really value the current state of haptic effects on the N950 (nonexistent)
15:07.19javispedroonly the vkb seems to produce some
15:07.31mikhas_With complex I judge based on the amount of issues I've seen.
15:07.58javispedroSpeedEvil: probably Meego will be looking for an OSS version of such code soon :)
15:08.00*** part/#harmattan BrettQ (~BrettQ@ps19736.dreamhost.com)
15:08.10mikhas_javispedro, why?
15:08.28javispedrorealmeego/meegoCE I mean
15:08.45javispedroI guess they want all those nifty q{,ml}compass applications to keep working
15:08.59Stskeepsjavispedro: i think we have a redistributable license
15:09.10javispedroaaw.
15:09.43*** join/#harmattan BrettQ (~BrettQ@ps19736.dreamhost.com)
15:11.03Stskeepsyou'd be surprised how difficult it is to get open licenses for bleeding edge mobile tech
15:11.19javispedroeither way, I'm with SpeedEvil, it just requires someone figure out the math and get whatever magnetic model data is required
15:11.54javispedroaka noone will ever do it :)
15:12.19lardmanboth of those are described in detail on wikipedia iirc
15:15.04javispedrohttps://www.loveelectronics.co.uk/Tutorials/8/hmc5883l-tutorial-and-arduino-library
15:15.25javispedro"We cover the following: ... Explain how to calculate a bearing from this data."
15:17.03lardmanI see they correct for declination
15:17.06*** join/#harmattan djszapi_ (~lpapp@84-231-104-221.elisa-mobile.fi)
15:17.24lardmanwould be interesting to compare angle of magnetic field lines with accelerometer
15:17.27javispedrothat was the reason I was thinking a model would be required
15:17.34Stskeepsjavispedro: no complaints for any open impl :P
15:18.04javispedrodepending on the quality of the open impl, data might be of worse quality
15:18.05lardmanjavispedro: there is a model somewhere I dug it out a few months back when we were talking about using compass field line angles as a location method
15:18.25SpeedEvilThere is widely available opensource code.
15:18.41*** join/#harmattan BrettQ (~BrettQ@ps19736.dreamhost.com)
15:22.05SpeedEvilOpenpilot
15:22.11SpeedEvilFor example - has usable code
15:22.56SpeedEvilhttp://git.openpilot.org/browse/OpenPilot/flight/Libraries/WorldMagModel.c
15:24.35RST38his kinda back
15:24.46RST38hAnything new and/or exciting?
15:24.56javispedronaah
15:25.01javispedrowell
15:25.07javispedrosteve jobs left but I guess you knew that
15:25.14RST38hEarthquakes? Financial crisis? Black plague? Steve Jobs hitting the bucket?
15:25.33javispedroalso cmdrtaco leaving slashdot
15:25.36RST38hjavispedro: Good, let us start our timers
15:25.37javispedroweird week.
15:26.02RST38hjavispedro: ~5 years until Apple gets finished
15:26.26javispedrothe question would be wether that happens before or after Nokia is finished ;)
15:26.36RST38hPoor CmdrTaco will have to do something morespectacular in order to get my attention though.
15:26.48RST38hjavispedro: After. Not really a question.
15:27.38RST38h"The departure of Steve Jobs as boss of Apple was expected to result in a mass sell-off of the overpriced vendor's shares this morning, but the news has been overshadowed by larger events."
15:28.51RST38hjavispedro: But August is certainly a month where fabrique of reality is thin and tends to tear =)
15:38.30*** join/#harmattan BrettQ (~BrettQ@ps19736.dreamhost.com)
15:43.35alteregolcuk: ping
15:43.48alteregolcuk: cool news from alex. :)
15:44.32lcukcool and not so cool
15:44.40lcukalex is a star
15:45.43lcukalterego, providing I can find footing knowing more about microsoft phones would not be a bad thing
15:46.51RST38hlcuk: pretty much all you need to know about MS phones is "C#"
15:47.05alteregoWell, I'd be really interested in doing it and I have a fair amount of C# etc experience.
15:47.17RST38hwhich automatically kills all high-perf applications
15:47.42RST38hThere *is* a native SDK, but MS onlyships it to selected developers
15:47.47alteregolcuk: unfortunately I think I'm out of the country in oct :/
15:48.06alteregoBut depending when it is I might be able to fly back from the US for it.
15:48.50djszapi_lcuk: are you experienced with C# ?
15:49.09alteregobbiab
15:51.43*** join/#harmattan SpeedEvil (~user@tor/regular/SpeedEvil)
15:53.55lardmanis sick of QML
15:54.01lardmantime for some nice C++ code
15:54.15lardmancan't believe I called C++ nice, but that's the effect QMl has on you
15:54.23RST38hHehe
15:54.44lardmanthough actually QML is growing on me, should make for some nifty looking UIs
15:55.05RST38hI actually found a way to abstract QML
15:55.16javispedrois it XML based?
15:55.27RST38hSo that now I can go into a QML dialog,return from it, and still retain my original QWIdget
15:55.35RST38hjavispedro: No, CSS+Javascript
15:55.36javispedroah
15:55.56javispedroRST38h: as on your apps? But it is slow..
15:56.01lardmanretreats into the wonders of barcode decoders for some light relief
15:56.27RST38hThe two really bad problems are 1) QML is so heavy that creating a QML widget takes 3-5 seconds and 2) no way to run QML as part of my event loop, it needs its own
15:56.42lardmandecoding a full res photo from the N950 takes too much time for my liking
15:56.47RST38hjavispedro:Well, you have seen how I have done it (packages are out there)
15:57.09RST38hjavispedro: aside from QML taking 3-5 secs to show the UI, it lookssemi-decently
15:57.12lardmanapp startup seems quite slow, but the there's that cache thing that I ought to checkout eventually
15:57.34RST38hlardman: I am afraid that in my case it is not about loading .sos
15:57.36*** join/#harmattan rcg (~rc@e180222027.adsl.alicedsl.de)
15:57.51RST38hlardman: Looks like just *creating* the hierarchy, loading all the images, etc takes time
15:58.00RST38hstarting up JS engine too, probably
15:58.17mikhas_RST38h, I doubt current state of QML makes it suitable for "complex" UI's
15:58.39RST38hmikhas: I do not have anything "complex". Just a file selector, a config dialog, and an about dialog
15:58.50mikhas_erm, oops
15:59.13lardmanwhat res are the camera photos on the N950?
15:59.16RST38hWould have SPARQL-based file selector, but the SPARQL QtQ component is not on our devices
15:59.56javispedroRST38h: oh, see the conversion I had today about that
16:00.02javispedroRST38h: it is fixed on next fw
16:00.25RST38hThere are basically two reasons to use QML: 1) Nokia says so and 2) They managed to make all the other UI options (including Qt) barely usable
16:00.48RST38hjavispedro: cooolio, so I will be able to have a nice file dialog =)
16:01.02MohammadAGi'm up for fixing the qt theme
16:01.03*** join/#harmattan jkt (~jkt@basa.flaska.net)
16:01.04javispedroMTF is also usable
16:01.07*** join/#harmattan jkt (~jkt@gentoo/developer/jkt)
16:01.18RST38hmakes a move to hug MohammadAG
16:01.20MohammadAGi could get more done with Qt
16:01.20javispedroand it is still quite fast, ~1sec for unboosted boot for hello world app
16:01.37lardmanMohammadAG: +1
16:01.41RST38hjavispedro: Yes, but MTF requires you to rewrite your whole program in some dead tongue
16:01.50MohammadAGan MTF Qt Designer plugin would be awesome
16:01.53javispedrothey look all dead to me.
16:02.02MohammadAGRST38h, QML does the same
16:02.13RST38hjavispedro: I actually tried using MTF but stopped after finding out that it is totally incompatible with anything
16:02.22MohammadAGI wrote my Qt/C++ programs since forward compatibility was promised
16:02.30RST38hMohammadAG: Quim continues saying that QML has a future =)
16:02.31javispedroit is not incompatible with graphicsview ;P
16:02.31MohammadAGoh nice
16:02.48javispedrobut yeah, MTF is NOT Qt
16:02.50MohammadAGthe bug in fremantle where it thinks music is still running is there
16:02.59MohammadAGMTF is a KDE wannabe
16:03.00RST38hQWidget-based stuff and MTF are incompatible
16:03.16lcukdjszapi_, I know .net stuff, spent years doing vb.net ;)
16:03.17RST38hok, back to the hotel
16:03.28RST38hlcuk: C# is not VB
16:03.33RST38hlcuk: C# is Java
16:03.46RST38hsame vm nowadays though
16:03.59javispedro<PROTECTED>
16:04.13MohammadAGRST38h, give me one language that's been cross compatible
16:04.27javispedroSDL!
16:04.33javispedro/C ;)
16:04.36djszapi_lcuk: excellent, you need to teach me at some day :)
16:04.55MohammadAGjavispedro, in the sense that you don't write your own ui
16:05.01javispedro=)
16:05.20MohammadAGtake my app, sociality as an example
16:05.27MohammadAGsexy on maemo 5
16:05.40MohammadAGlooks crappy on a desktop, but still somewhat good
16:05.56MohammadAGsucks on meego and symbian
16:07.05javispedro(after a long train of thoughts that is too long to explain) this is what happens when you buy a toolkit library.
16:07.43MohammadAGQML, good concept, but I hate web development cause of the syntax
16:07.46lcukdjszapi_, lol
16:08.00javispedroalso: slow.
16:08.07MohammadAGyes
16:08.26javispedroWe now have hw where all applications now launch in second-times and we use it to add another layer of abstraction so that we are back into the 5-6 seconds range
16:08.35MohammadAGI moved from python to C++ cause I hate interpretted code
16:09.00*** join/#harmattan fiferboy (~fiferboy@Maemo/community/contributor/fiferboy)
16:10.53MohammadAGcan someone do some binary patching so the damn quick launch opens even when the device isn't top up
16:11.21javispedroisn't it mostly useless?
16:11.32javispedrothe shortcuts are not configurable
16:11.36MohammadAGno, thanks to the absence of a camera key
16:12.06MohammadAGit's the fastest way to open the camera for me
16:12.50javispedroMohammadAG: file a device bug
16:13.09MohammadAGwhat if they say patches welcome?
16:13.20javispedro"binary" patches welcome?
16:13.38MohammadAGno, hardware ones to add a camkey :p
16:14.03MohammadAGjavispedro, it's a design decision
16:14.17MohammadAGopen the bar and flip the device to landscape mode
16:14.29MohammadAG(even when the keyboard is open)
16:14.38javispedroyeah, I've teste
16:14.50javispedrobut design decision or not, looks like a user confusing bug
16:15.02MohammadAGanother thing
16:15.23MohammadAGcan't someone also binary patch the regex that decides which status plugins to load
16:15.39MohammadAGinstead of volume, ******
16:16.10javispedroI would prefer to zap the person that wrote that
16:16.36MohammadAGblame aegis, it's open source
16:16.49*** join/#harmattan arcean (~Arcean@aael62.neoplus.adsl.tpnet.pl)
16:17.14*** join/#harmattan lamikr (~lamikr@dyn60-31.dsl.spy.dnainternet.fi)
16:20.37*** join/#harmattan elzalem (~elzalem@95.141.49.66)
16:33.22MohammadAGjavispedro, query me
16:41.02*** join/#harmattan piggz (~piggz@host-89-241-10-108.as13285.net)
16:58.10*** join/#harmattan wazd (~wazd@broadband-95-84-185-178.nationalcablenetworks.ru)
17:00.05*** join/#harmattan [XeN] (~XeN]@brln-4db84f67.pool.mediaWays.net)
17:01.16DocScrutinizerMEH, on unplugging device in act_dead (aka "not powered on") from charger, it blocks power-on for several seconds as it first needs to finish shutdown from act_dead state. Extremely annoying / confusing
17:01.39javispedrosame as N810
17:01.40wazdheya all
17:01.41javispedroN8x0
17:01.52MohammadAGyeah, quite annoying
17:02.00MohammadAGsame happens on power off
17:02.08faenil_MohammadAG: yeah
17:02.13Stskeepswazd o/
17:02.14MohammadAGI use /sbin/reboot
17:02.45MohammadAGwill editing .bashrc or .profile eff up aegis?
17:03.08javispedrothe ones in your home, surely not
17:03.09MohammadAGI want export PATH=$PATH:/sbin:/usr/sbin
17:03.14DocScrutinizerMohammadAG: for power-off it's at least kinda obvious why it is that way
17:03.15MohammadAGroot's
17:03.16lardmanhmm, can I not kill -9 something because of aegis?
17:03.27lcuklardman, nope
17:03.28MohammadAGdevelsh lardman
17:03.35DocScrutinizerwhile unplugging from charger you *think* it *is* off
17:03.38lardmanI am root, ssh
17:03.44djszapi_lardman: you can if you CAP::kill rights
17:03.44MohammadAGdevelsh
17:03.48djszapi_* have
17:04.04lardmanah ok, so it is aegis related
17:04.09DocScrutinizeryes
17:04.10djszapi_yes, of course.
17:04.12lardmanI need to devel-su to get the rights
17:04.16DocScrutinizerand develsh might cure it
17:04.27DocScrutinizeras ssh root isn't exactly develsh
17:04.29lardmancool, will try that next time, thanks chaps
17:04.30djszapi_lardman: nope
17:04.42DocScrutinizeror devel-su, yeah
17:05.16MohammadAGdevel-su is just a working su
17:05.19MohammadAGno aegis privs
17:05.29djszapi_not true
17:05.47MohammadAGwell, i still need to use develsh
17:05.49djszapi_su and devel-su are quite different
17:05.58MohammadAGsu is broken
17:06.06MohammadAGthanks to ash
17:06.44javispedrodamn, time passes way too fast.
17:07.57MohammadAGwhich reminds me, uni in 2 days :/
17:08.07djszapi_devel-su would be an unneccesary su duplication without aegis privs
17:08.41MohammadAGsu doesn't work anyway
17:08.44MohammadAGneed setuid
17:08.49MohammadAGneeds*
17:09.06djszapi_devel-su is not targetted to duplicate the su theory.
17:09.34javispedroyou could technically implement a su without setuid using aegis
17:10.06lardmanhmm, can't kill it even with devel-su
17:10.17javispedroyou want develsh, not devel-su
17:10.19djszapi_javispedro: sure, very painfully :)
17:10.21DocScrutinizerMohammadAG: http://paste.debian.net/127370/
17:10.44djszapi_lardman: that is why I said above "nope"
17:10.48javispedroDocScrutinizer: use my impromptu signer to fix that
17:11.06lardmanthanks javispedro
17:11.21lardmandjszapi_: hard to know what the nope referred to
17:11.39djszapi_lardman: I answered to you, so probably your last post compared to that
17:11.53DocScrutinizerjavispedro: first of all it demonstrates that >>ssh -l root N950<< is not the same ID root as the one you get from devel-su
17:12.05djszapi_lardman: anyway, develsh will probably not work on newer images either
17:12.06javispedroplease stop confusing deve-su and develsh
17:12.09DocScrutinizerI.E. has different capabilities from aegis
17:12.29javispedrohm
17:12.31javispedrowait
17:12.35javispedroit is me who is confusing
17:12.40javispedrodevel-su = su + develsh
17:12.45djszapi_su has nothing to do with devel-su
17:12.47djszapi_no.....
17:12.53javispedrodjszapi_: yes
17:13.21djszapi_ok, then yes ;)
17:13.22javispedrodjszapi_: please recheck as you're probably confusing them like what I was doing moments ago
17:13.28DocScrutinizerno, develsh actually gives me yet another power than devel-su
17:13.36javispedroDocScrutinizer: sure
17:13.37javispedro?
17:13.41djszapi_entirely sure
17:13.45MohammadAG20:12 javispedro: devel-su = su + develsh
17:13.47MohammadAGsure?
17:13.53djszapi_entirely not sure
17:14.17DocScrutinizerno way
17:14.24javispedroo really?
17:14.40djszapi_yes, CAP::kill is not available in develsh
17:14.46hiemanshuMohammadAG: nope
17:14.48djszapi_so that is not gonna be a long term memoir
17:14.56hiemanshudevel-su != su + develsh
17:15.07DocScrutinizerhttp://paste.debian.net/127371/
17:15.19MohammadAGdevelsh > devel-su
17:15.33MohammadAGyou can't kill with devel-su alone
17:15.36hiemanshuwell no
17:15.37MohammadAGyou need develsh
17:15.47hiemanshuyou need to devel-su then develsh
17:15.57MohammadAGif it's to kill a root app yes
17:16.01javispedrolet's do this the proper way
17:16.31MohammadAGyou just need develsh to killall meegotouchhome
17:16.35npm" This APT has Super Cow Powers. " ... doesn't exactly give one the warm fuzzies one's phone hasn't been hacked :-)
17:16.58MohammadAGapt-get moo
17:17.07djszapi_MohammadAG: for the time being, it might work, not in the future though, so I would not get used to it
17:17.20hiemanshuis dev.nokia.com down?
17:17.26MohammadAGget used to what?
17:17.27javispedrohttp://pastebin.com/cywhE1uq
17:17.37javispedrossh user@ < devel-su < develsh
17:17.42javispedroactually
17:17.52javispedrossh user@ < devel-su <<<<< develsh
17:17.55MohammadAGs/user/root/
17:17.56djszapi_MohammadAG: that approach, actually develsh credentials were radically confined
17:18.03hiemanshujavispedro: and just plain develsh?
17:18.08hiemanshujavispedro: without devel-su
17:18.19javispedroooh
17:18.23javispedroI didn't knew you could do that
17:18.42hiemanshuyou can
17:19.19javispedrossh user@ < devel-su < ssh root@ < devel-sh as user < devel-sh as root
17:19.41javispedrothere, if you want I can make a QML app with nice arrows and transitions
17:19.59MohammadAGplease do
17:20.00hiemanshujavispedro: that would be nice
17:20.07MohammadAGwith a C++ backend
17:20.20hiemanshuand one with a JS backend too
17:20.34javispedroAegispedia
17:20.53djszapi_javispedro: what is the password for user ?
17:20.53hiemanshu'SSO website will be offline for a few hours today while we complete website enhancements.' :(
17:21.02javispedrodjszapi_: invalid
17:21.09javispedroaka it has no password
17:21.19hiemanshudjszapi_: you can set is, devel-su, develsh, passwd user
17:21.25hiemanshus/is/it/
17:21.26MohammadAGuserme? :p
17:21.35hiemanshuMohammadAG: lol
17:21.43hiemanshuMohammadAG: able to access RDA?
17:21.53djszapi_hiemanshu: simple passwd user works.
17:22.00MohammadAGhiemanshu, i'm on the N950
17:22.17hiemanshudjszapi_: iirc, I got a permission denied last time I tried
17:22.19MohammadAGbouncers rock :p
17:22.25hiemanshuMohammadAG: ah, irc-chatter? :P
17:22.37MohammadAGhiemanshu, develsh after devel-su then passwd user
17:22.40MohammadAGyeah
17:23.00hiemanshuMohammadAG: thats what I said
17:23.05MohammadAGdoes irc-chatter reply to a CTCP version?
17:23.16hiemanshuIIRC no
17:23.18hiemanshuchecks
17:23.34djszapi_Where can I download this busybox-devel-su packge ?
17:23.36djszapi_* package
17:23.39hiemanshuMohammadAG: actually it does
17:23.41djszapi_http://harmattan-dev.nokia.com/pool/harmattan-beta/free/b/busybox/
17:23.45djszapi_it is not here.
17:23.50hiemanshuMohammadAG: Received unknown CTCP IRC by MohammadAG!~MohammadA@Maemo/community/contributor/MohammadAG with arguments: Chatter, the first MeeGo IRC client
17:24.06MohammadAGapt-get -d --reinstall busybox-devel-su
17:24.21MohammadAGit'll be in /var/cache/apt/archives
17:24.23hiemanshuit should reply CTCP VERSION IRC Chatter*
17:24.28djszapi_MohammadAG: it will hardly work if it is not in the repository.
17:24.28hiemanshuthat should be fixed
17:24.31MohammadAGhiemanshu, cool
17:24.41MohammadAGdjszapi_, it's there afaik, sec
17:24.51djszapi_MohammadAG: link ? Because what I pasted did not contain it.
17:25.11hiemanshucan anyone access sso or is down just for me?
17:25.32MohammadAGit works fine for me djszapi_
17:25.53djszapi_MohammadAG: yes, because it is probably binary
17:25.58djszapi_which does not help me without a link..
17:26.03javispedrodjszapi_: every devkit N950 has  it installed
17:26.14djszapi_javispedro: I told couple of times, I do not use old software :)
17:26.30javispedrois rather worried about that "new" software
17:26.35djszapi_MohammadAG: could you please publish the package somewhere if you do not know the link ?
17:26.49djszapi_javispedro: we do not need devel-su since we have aegis-su
17:26.53djszapi_which is much more powerful
17:27.02djszapi_so there is no point to have devel-su for us by default...
17:27.40MohammadAGdjszapi_, does the license allow me to?
17:27.49javispedroMohammadAG: busybox is GPL
17:27.56javispedroso it would be a license violation for Nokia
17:28.02javispedro(if anything)
17:28.06djszapi_MohammadAG: yep, I could install it anyway by having the same sources.list
17:28.11DocScrutinizerRM680-22-6_PR_RM680:~# aegis<tab><tab>
17:28.12DocScrutinizeraegis-constrain        aegis-deb-util         aegis-install-journal  aegis-preinst-hook aegis-deb-add          aegis-developer-mode   aegis-loader           aegis-session
17:28.14DocScrutinizeraegis-deb-info         aegis-exec             aegis-origin           aegis-unload aegis-deb-release      aegis-fixup            aegis-postinst-hook    aegisfs
17:28.15DocScrutinizerRM680-22-6_PR_RM680:~# aegis
17:28.16djszapi_but I do not mix it up with my setup
17:29.05MohammadAGhttp://mohammadag.xceleo.org/public/Harmattan djszapi_
17:29.22djszapi_many thanks.
17:29.57MohammadAGyw :)
17:29.59djszapi_I always missed the link getter option from dpkg
17:30.04djszapi_we have such a one for "pacman".
17:30.11djszapi_my qt package manager also has one ;)
17:30.13javispedrodebian has dget
17:30.30javispedrobut it's kind of a helper ontop of dpkg
17:32.04MohammadAGdjszapi_, does your new software have perl installed?
17:32.25javispedrothey cannot really remove perl
17:32.37javispedrohalf of debian dies right there if you do it
17:32.40djszapi_javispedro: nope, your scenario does not work here
17:32.48MohammadAGperl, not perl-base javispedro
17:32.59MohammadAGdpkg-repack doesn't work on my N950
17:33.00djszapi_devel-su has way much fewer capability than root ssh + develsh
17:33.06djszapi_capabilities*
17:33.32djszapi_and actually even different type, sometimes.
17:34.23MohammadAGas illegal as it may be, i plan on pulling skype from the N9 on RDA
17:34.34djszapi_that is completely illegal
17:34.46MohammadAGi know
17:35.06djszapi_well, I have only perl-base
17:35.08MohammadAGdistributing it is, copying it for personal use isn't ;)
17:35.23djszapi_not true
17:35.34djszapi_you need to get certificate for that from skype, that is what N also does.
17:36.00MohammadAGyou need a certificate for skyhost
17:36.09MohammadAGnot account-plugin-skype
17:36.10DocScrutinizerdjszapi_: could you tell me why /bin/develsh (-rwxr-xr-x    1 root     root          3172 May 17 11:05 /bin/develsh) seems to be a ELF that just calls busybox, rather than a hardlink to the busybox binary?
17:36.32MohammadAGDocScrutinizer, aegis caps thing
17:36.41javispedroheh
17:36.42javispedrolook
17:36.45javispedrono setuid bit
17:36.49DocScrutinizerMohammadAG: would work on a hardlink as well, no?
17:37.01javispedroprobably uses aegis to su
17:37.02DocScrutinizerjavispedro: ^^^
17:37.05MohammadAGDocScrutinizer, isn't aegis tied to the kernel?
17:37.08javispedroas I mentioned
17:37.18javispedro<javispedro> you could technically implement a su without setuid using aegis
17:37.20DocScrutinizerumm
17:37.25MohammadAGaka it doesn't matter what the path is
17:37.35DocScrutinizeraegis-exec might make sense, yeah
17:37.56javispedroaegis loves hashes, remember. if you give it permission to su to the busybox binary you give su permission to all busybox applets
17:38.13*** join/#harmattan djszapi_ (~lpapp@84-231-104-221.elisa-mobile.fi)
17:38.14DocScrutinizererrr
17:38.14javispedrothus, they made a different binary, and gave it su privilege.
17:38.57DocScrutinizerpoints at >>-rwxr-xr-x 1 root root 3172 May 17 11:05 /bin/develsh
17:39.13javispedroah sorry.
17:39.21javispedroI was confusing develsh with devel-su again
17:39.28javispedro's brain elsewhere and should stop
17:39.41djszapi_javispedro: do you understand what devel-su is for ?
17:39.51djszapi_maybe if it is clear you could distinguish them better :)
17:40.05DocScrutinizerI'd like to decompile develsh, but I think an strace shall do
17:40.21javispedroeither way, my point was valid, the same happens to devel-su:
17:40.24djszapi_why would you do that ?
17:40.26javispedro$ ls -l /bin/devel-su
17:40.26javispedro-rwxr-xr-x    1 root     root         28248 May 18 18:06 /bin/devel-su
17:40.44DocScrutinizerwooohoo 10 times the size
17:40.53javispedrocause devel-su is a copy of busybox
17:40.54djszapi_yes, of course everything is like that in /bin/
17:41.10DocScrutinizerduh what?
17:41.11javispedroa copy that is probably trimmed to only do "su"
17:41.19djszapi_nope.
17:41.30DocScrutinizerbusybox has 28k size????
17:41.44djszapi_javispedro: I think it might help if you can get to know devel-su and what is it for ;)
17:42.02javispedroDocScrutinizer: I do not have bash, but if you do "exec -a busybox devel-su" from it you'lls urely get a busybox help message
17:42.12djszapi_:D
17:42.12DocScrutinizerI gather devel-su is for HARM what sudo gainroot was for fremantle
17:42.21djszapi_nope
17:42.41djszapi_it is tied to aegis, it does not try to reinvent what aegis was designed against.
17:43.22javispedroimho, devel-su = a special build of BB that only does "su" that has a specific aegis token that allows it to su without having the setuid bit.
17:43.50javispedrodevelsh = a binary that execs() /bin/sh but has a bunch of aegis tokens granted (a large bunch)
17:44.50djszapi_I must say, it is about correct
17:44.53djszapi_:)
17:44.56DocScrutinizeranyway that'S what develsh does: http://paste.debian.net/127372/
17:45.32djszapi_of course, devel-su is more than just a setuid
17:45.34javispedroDocScrutinizer: aka execve(/bin/sh)
17:45.37djszapi_but that is one of the main purpoess.
17:45.41djszapi_purposes*
17:45.56DocScrutinizerjavispedro: that's what I thought as well, and you could do the same aegis magic to a hardlink to busybox binary aiui
17:46.07javispedrothat's what not I'm sure about.
17:46.20javispedroaegis probably considers hardlinks the same file
17:46.34djszapi_aegisfs does not handle hard links imo
17:46.54DocScrutinizerooh
17:46.55djszapi_properly*
17:47.10djszapi_"properly".
17:47.12*** join/#harmattan harbaum (~quassel@krlh-5f7354eb.pool.mediaWays.net)
17:47.49DocScrutinizerwe're back to my query session of a few days ago, where I asked how a record in aegis' database is linked to a certain binary
17:48.04djszapi_what do you mean by "record" ?
17:48.07DocScrutinizerI assumed it was via the fully qualified pathname
17:48.10DocScrutinizer+ inode
17:48.44DocScrutinizerwell, a records that has all the credentials that develsh gets granted
17:48.46djszapi_sorry, it might be my missing technical knowledge, but I do not understand the question. Could you please ellaborate on this ?
17:49.49DocScrutinizerwhen I start develsh, *something* looks into aegis internal database (or kernel's image thereof, or whatever) and finds a set of data applicable to that binary
17:49.49javispedrowtf
17:50.23djszapi_DocScrutinizer: what is the question, I am still not getting it.
17:50.24javispedrothis vibrator library is such a trade-secret it even requires me to submit a license key to it in the initialize function.
17:50.30DocScrutinizerthis set of data (i called it "record") says >>give develsh cap::chroot<< and whatnot else
17:50.44javispedroDocScrutinizer: "something" is the kernel itself
17:50.47djszapi_oh Doc, I told you that.
17:51.05djszapi_what I said is about: the restok.conf is not parsed by the daemon
17:51.10djszapi_by a daemon*
17:51.15djszapi_validator init maps it into the kernel
17:51.18Stskeepsjavispedro: immersion is fairly properitary yes
17:51.27djszapi_and when a new package gets installed, dpkg updates it.
17:51.27DocScrutinizerwhat is the primary key in this database, I.E. what makes develsh develsh? will it be develsh still when it moves from /bin/ to /sbin/?
17:51.41djszapi_DocScrutinizer: nope
17:51.42javispedroStskeeps: fortunately, seems that "The device already has a valid license embedded which replaces the dummy value. You only need to remember to call the API with the dummy license using the SetDeviceProperty method."
17:52.01djszapi_DocScrutinizer: just look at how the aegis manifest works, you sets the rights for absolute paths
17:52.28javispedroDocScrutinizer: it's kinda hard to explain
17:52.37javispedroDocScrutinizer: between reboots the DB is indexed by path name
17:52.46DocScrutinizerdjszapi_: I didn't even mention "daemon" - what I said was >>*something* looks into aegis internal database (****or kernel's image thereof****, or whatever)<<
17:52.49javispedroDocScrutinizer: once the system is up, it is indexed by device number + inode number
17:53.01Stskeepsman, aegis is really the most mentioned word in here
17:53.24javispedroDocScrutinizer: the validator-init process during early userspace reads pathnames from a file and passes device#+inode# to kernel
17:53.28DocScrutinizerdjszapi_: that's what I always suspected and you said "no, it's not working this way"
17:53.39djszapi_DocScrutinizer: really ?
17:53.56tommahmm... pkgmgr list installed is bugging...
17:53.58djszapi_DocScrutinizer: strange, because I explained these things yesterday or the day before yesterday
17:54.09DocScrutinizeryes, I even think I mentioned fully qualified pathname several times
17:54.36javispedrothus, it's not fully pathname indexed, but it's not fully inode indexed either :)
17:54.40*** join/#harmattan deimos (~deimos@host51-71-dynamic.51-79-r.retail.telecomitalia.it)
17:55.04djszapi_DocScrutinizer: I am not sure about this inode things, to be honest
17:55.09djszapi_thing*
17:55.15djszapi_but the path is full path, completely.
17:55.22djszapi_as in absolute.
17:55.30DocScrutinizerjavispedro: HAH, so it's linked to the inode+device uple in runtime, while in database it's pathname
17:55.35javispedroexactly
17:55.57DocScrutinizerTuple*
17:55.57javispedrotherefore, if /a and /b point to inode 3 (assume busybox), both will be the same from Aegis PoV.
17:56.11javispedrodespite the fact that you will have two records in the pathname db.
17:56.11DocScrutinizerBWAH, sure
17:56.23DocScrutinizergot it
17:56.46DocScrutinizermuhahahaha really funny
17:56.54javispedrowell
17:57.11javispedroinode-based vs path-based is a rather large discussion in the linux security modules community
17:57.26DocScrutinizerhey, I think I can guess why
17:57.33javispedroiirc, selinux is inode-based while apparmor is path-based
17:57.33DocScrutinizer:-D
17:57.42DocScrutinizer:nod:
17:58.13DocScrutinizerI'd have thought kernel runtime uses pathname PLUS inode
17:58.30djszapi_let us clarify it tomorrow for sure...
17:58.35DocScrutinizerprolly overkill
17:58.46DocScrutinizerdjszapi_: sure
17:58.51DocScrutinizerthanks djszapi_
17:58.52javispedroruntime actually uses: device number, inode number, file uid, file gid, perms, and hash.
17:58.55*** join/#harmattan vladest (~Vlad@136-184-132-95.pool.ukrtel.net)
17:59.13DocScrutinizerdang
17:59.15javispedro(only dev# and inode# for indexing though)
17:59.27javispedrobut if any of the above changes, binary is considered different.
17:59.56javispedroand thus any associated tokens won't be granted (and depending on enforcement, -EPERM, but you know that already :D )
18:00.03vladesthi
18:00.08DocScrutinizeryeah, and if it's a mandatory file, you earned a "Please Reflash!" MALF :-D ?
18:00.14djszapi_javispedro: the interesting part is not the token :D
18:00.25djszapi_but what DocScrutinizer said.
18:00.34djszapi_but unfortunately, I do not know this bit till tomorrow..
18:01.04djszapi_DocScrutinizer: not that simple, but saying very simply: yes
18:01.56DocScrutinizernewsflash, bbl
18:02.13djszapi_iirc smack is also "inode based", but at any rate, let us clarify it from authorized source tomorrow :)
18:03.11djszapi_DocScrutinizer javispedro: do you think it means any security hole ?
18:03.28javispedrono..
18:03.38djszapi_because I do not see that way either.
18:03.54djszapi_so I did not get the "muhahahaha really funny" bit.
18:04.26DocScrutinizerdon't think it's a security hole
18:04.35DocScrutinizeralas :-D
18:04.49javispedroin fact i remember the classical common criticism for apparmor was that
18:05.03javispedroln /etc/shadow /home/user/myfile was all you needed to be able to read the passwords ;)
18:05.20javispedrocause, being path-based, /home/user/myfile was a different file ;)
18:05.22DocScrutinizerthe funny bit was about the detail that hardlinks don't work here, and why
18:06.33djszapi_but this is one difference between smack and aegis.
18:06.41DocScrutinizercould get you rather confused if you don't know about the internals and think "duh, I don't need /bin/develsh size 3297, I can do this with a hardlink" and then find you nuked your system
18:06.51djszapi_all in all, they will be abstracted out by libcreds2 though.
18:06.59djszapi_or libcreds3, even.
18:08.05djszapi_DocScrutinizer: does fuse support hard links ?
18:08.19DocScrutinizerfrankly dunno
18:08.28djszapi_mmh, it seems it does
18:08.43djszapi_it might be that we had just issues with those in aegisfs and fixed by now
18:10.40DocScrutinizerI was already temped to claim inode based is probably faster, but that's really not exactly a criterion here
18:11.21djszapi_hahaha aegisfs codebase seems to be very secury
18:11.24djszapi_it is not on gitorious
18:11.29DocScrutinizerfor sure inode based is simpler to evaluate for security holes. Pathnames are really complicated with lots of dark corners
18:12.14DocScrutinizersee bindmounts, other stuff
18:12.24DocScrutinizerhardlinks
18:12.28DocScrutinizerwhatnot else
18:13.54djszapi_DocScrutinizer: so when will you ship the USB host mode ? ;)
18:14.07DocScrutinizerbut then otoh it's harder to debug, as you basically can't get the pathname for an inode
18:15.41DocScrutinizerdjszapi_: as this is no security hole, I still have the problem of missing privileges in developer mode, and missing possibility to add kernel modules for stock kernel. So probably hostmode is not feasible
18:16.29djszapi_well, you had to make an own kernel for N900 as well, anyways
18:18.15DocScrutinizersure, but that kernel didn't deprive users unstalling it from a good chunk of the more important apps. On harmattan it's still unclear if we can run own kernels at all, and it's even more unclear and highly doubtful if a normal harmattan system incl all apps like dialer, maps, drive, could run on such a new kernel
18:18.38DocScrutinizers/unstall/install/
18:18.56djszapi_why not, you just doom a certain functionality in aegis validator in my understanding
18:19.13djszapi_you do not kill out the runtime policy framework (you do not actually even touch that)
18:19.46DocScrutinizerI think aegi't hack it that way
18:19.51DocScrutinizerdang
18:20.05DocScrutinizerI think aegis is too good for that, you can't hack it that way
18:20.51djszapi_I do not think that is not possible, it is just like to open up the possibilities about loading a module into the kernel or extend it
18:20.57DocScrutinizerif maps depends on Nokia Account, and Nokia account depends on working aegis, then I think we will not see maps running on a custom kernel
18:21.11djszapi_so in theory, I do not see any issue why you could not modify aegis according to that only requirement
18:21.35djszapi_why not ?
18:21.56DocScrutinizerif aegis is as cleanly designed as I guess it is, it simply will cease to work if you "hack" anything of aegis
18:22.07djszapi_:D
18:22.18DocScrutinizerit's a chain of trust, and editing any arbitrary bit causes "open mode"
18:22.22djszapi_come on you modify the aegis design according to your design :D
18:22.29djszapi_it is not a saint design that cannot be modified.
18:23.17djszapi_thing is that nobody tried it out yet (what I said).
18:23.26djszapi_that could be the first step and then let us see whether it is enough or not
18:23.44DocScrutinizerloading a kernel that's not properly hashed and signed causes TPM in OMAP to lock, and from then on you need to powercycle to ever again access the root cert
18:23.52djszapi_but you can surely extend validator whitelist with your own kernel moudle.
18:23.54djszapi_module*
18:24.30*** join/#harmattan vladest (~Vlad@136-184-132-95.pool.ukrtel.net)
18:24.34djszapi_or just drop the kernel signing...
18:25.12*** join/#harmattan sudanix (~sudanix@2.88.29.251)
18:25.38DocScrutinizerdjszapi_: I know a friggin lot about TC basics, and how they work together to forbid those things you suggested. I'm both confident the aegis devels were smart enough to follow this well known concept, and also I'm not willing to play the pen-tester for aegis
18:26.26*** join/#harmattan djszapi__ (~lpapp@84-231-104-221.elisa-mobile.fi)
18:27.01DocScrutinizerI'm willing to start hostmode development as soon as I get instructions how to install and run a modified kernel and a semi-working HARM system on top of it.
18:27.21DocScrutinizerI'm not developing the methods to get such a custom kernel and system running
18:27.42DocScrutinizeras that's not what I offered to do
18:28.15djszapi__ok
18:28.56DocScrutinizeralso I need a system where a random binary like i2cscan runs without aegis bitching at me about missing permissions to access I2C-bus etc
18:29.24djszapi__what is wrong precisely about packaging that ?
18:29.41DocScrutinizerthis is a reqirement strictly for development, not related to later user package
18:29.42*** join/#harmattan sudanix_ (~sudanix@77.30.38.39)
18:30.29djszapi__yes, but does it require rapidly changing credentials during the development phrase ?
18:31.33DocScrutinizerdjszapi__: well, maybe packaging even might work, just it's too steep a startup hurdle to build each silly tool like e.g. bash or i2c-tools myself, I'm loosing interest when I can't access a certain pool of tools I expect to see on each decent development platform
18:31.58djszapi__well, you can always run relaxed stuff
18:32.17djszapi__but these trivial tools are surely not hard or too much time to package.
18:32.25djszapi__someone can even do for you, I guess.
18:32.33DocScrutinizerdoesn't work, that's what I said. Maybe I was wrong as I didn't know enough about how aegis works exactly
18:33.33djszapi__yep, it should work
18:33.43DocScrutinizerI found out femantle packages install just fine usually, and installed i2c-tools, and of course it worked but wasn't allowed to access i2c-bus
18:34.04djszapi__just run it in develsh with relaxed stuff
18:34.26DocScrutinizerI'll give it a second try eventually
18:34.49DocScrutinizer(well, a 5th or 9th, to be precise :-D )
18:35.16djszapi__:p
18:35.38djszapi__btw, you did not hear this relaxed stuff from me, right ? ;)
18:35.51DocScrutinizersee, I'm always afraid I get another "please reflash!" and there's NO way to backup all the stuff already installed and configured
18:36.15djszapi__yep, that is scary and the forever disadvantage of any old image of any sort.
18:38.46djszapi__so Intel might drop MeeGo, really ?
18:39.03Clintand switch to WebOS?
18:39.24djszapi__no, they have been playing Android iirc for a while. Trying to port it to some intel architecture.
18:39.31djszapi__maybe since last december or so.
18:39.47DocScrutinizerwell, *NOKIA* could easily "fix" this by simply deploying a signed package with a /etc/init/check_malf.conf that does NOT freeze boot when this notorious evil requester pops up
18:40.12djszapi__DocScrutinizer: that is not that simple
18:40.25djszapi__if libbb5 damages, no way your system is worthwhile using.
18:40.39djszapi__just a random example.
18:40.51DocScrutinizersure
18:41.34DocScrutinizerstill I'm more afraid of an accidental "echo WTF >/var/malf" rather than any fsckup of libbb5
18:42.25Stskeepsgently make love to aegis(TM)
18:42.26DocScrutinizerand I could just "rm /var/malf" rather than reflash, if boot wouldn't block on /etc/init/check_malf.conf and this evil requester screen
18:42.55djszapi__Stskeeps: malf management has nothing to do with aegis
18:43.09djszapi__what they do after a syserror, that is a different team
18:43.17djszapi__called system-software/services
18:43.24djszapi__again, just a lack of misunderstanding :)
18:44.08DocScrutinizerjust it's been aegis that triggered my last syserror :-P
18:44.17djszapi__anything can seriously...
18:44.37DocScrutinizeryeah even I can, see  "echo WTF >/var/malf"
18:44.40djszapi__and aegis is not responsible for something that other team turns into unusable state.
18:45.29DocScrutinizerit's been aegis-exec after all that triggered that supposed bug that nuked my device
18:45.38djszapi__that bug is highly unreproducible
18:45.45djszapi__on the later images.
18:45.54DocScrutinizerso AMLF handling is rogue, but aegis triggering syserror on random events
18:46.01DocScrutinizerMALF*
18:46.08djszapi__nope, aegis is not triggering ;)
18:46.13DocScrutinizerI got no later image
18:46.17djszapi__that was a plain implementation bug
18:46.31djszapi__it is not architecture design, so it is not really something serious
18:46.34djszapi__mainly if it is fixed
18:46.39DocScrutinizersure
18:46.48djszapi__and actually I am not sure that was an aegis bug
18:46.54djszapi__that is just one thing it happened by using aegis
18:46.55DocScrutinizerI got what I got, hw- and image-wise
18:47.09djszapi__it is really not a strong prove as such
18:47.50djszapi__"echo WTF >/var/malf" -> I can remove /var/malf :)
18:47.53djszapi__after touching it ;)
18:48.40DocScrutinizerbottom line, I'm not excited to try and investigate something on a system where I have to do 2 days of preparations for a test that takes me 30min on fremantle
18:49.00DocScrutinizersure, but boot the system without removing it :-P
18:49.24djszapi__cannot you use minicom to remove it ?
18:49.31djszapi__you do not basically get a prompt at all ?
18:49.35DocScrutinizerwhen it doesn't boot?
18:49.47DocScrutinizerno, it does NOT boot
18:49.48djszapi__so it is not a Ui issue
18:49.55DocScrutinizer(except into act_dead)
18:50.21DocScrutinizerdjszapi__: >> less /etc/init/check_malf.conf <<
18:50.31DocScrutinizereasy to understand
18:50.59DocScrutinizerrm /etc/init/check_malf.conf and tell me I can do this too, and I'm happy
18:51.44DocScrutinizerI don't dare to even try to edit this file
18:51.51djszapi__DocScrutinizer: that file is mentioning the RD certificate for you ?
18:52.07DocScrutinizererr, dunno, maybe
18:52.13DocScrutinizermoment please
18:52.30djszapi__no, nobody can remove from /etc/init/
18:52.39djszapi__as I said from the beginning, that is integrity protected :)
18:52.44djszapi__no way, you can remove it
18:53.01djszapi__except from the dedicated interface subfolders.
18:53.33DocScrutinizer<PROTECTED>
18:54.24djszapi__right, it seems my version is different
18:54.37djszapi__anyway, let me try this malf thingy with my n950
18:54.51djszapi__not the loaned one, but the newest version one :)
18:55.41djszapi__or well, even better with the newest N9 tomorrow.
18:56.02DocScrutinizerthere's also some /usr/sbin/enter_malf
18:56.04djszapi__I guess you cannot mount it up from your laptop in malf state
18:56.04djszapi__and remove that file ?
18:56.17DocScrutinizerI didn't dare to enter_malf --help :-D
18:56.30djszapi__I have just done ;)
18:56.30DocScrutinizerdjszapi__: for sure not
18:57.14djszapi__well, it is a bug if enter_malf -h/--help explodes, don't you think ? :)
18:57.23djszapi__Iwould say a very serious one
18:57.59DocScrutinizeryes, but it's also a bug when aegis-exec -a CAP::SUID bash enters MALF :-D
18:58.21djszapi__yep, but it is worth to catch them right now and fix it, then never fix it.
18:58.22DocScrutinizerso you *got* that bug?
18:58.43djszapi__fix/fixing
18:59.00DocScrutinizerwhat was the result of enter_malf --help??
18:59.42DocScrutinizerdid it actually explode for you?
18:59.52djszapi__/usr/sbin/enter_malf --help
18:59.52djszapi__/usr/sbin/enter_malf: what do you mean
19:00.04DocScrutinizerhehe
19:00.17DocScrutinizerok, I feel venturous
19:00.40DocScrutinizer(though I should make sure no hammers etc in vicinity ;-P )
19:01.09DocScrutinizerLOL, what do you mean?
19:02.07DocScrutinizercould be worse, it could show that notorious requester after instant reboot, with "What Do You Mean? \n Please Try To Reflash!"
19:02.26DocScrutinizerXP
19:02.32djszapi__DocScrutinizer: well, echo WTF >/var/malf put me into malf state, but I could reboot
19:02.49djszapi__but I guess it is still not nice
19:02.55DocScrutinizerthought as much, your device probably recovers
19:03.59djszapi__the Ui is funky after the reboot though :)
19:04.17DocScrutinizerplease elaborate on "but I could reboot" - did it need two reboots where first boot showed the MALF requester?
19:04.43djszapi__nop, just one, but this is not the point.
19:05.00djszapi__I am a bit afraid, if anybody can just trigger it this easily.
19:05.14DocScrutinizerhmm seems your device does some nasty recovery action?
19:05.45djszapi__no clue :)
19:05.45DocScrutinizeryup, THIS *IS* a security issue
19:06.20djszapi__indeed, will test it with later images.
19:06.41DocScrutinizerveritable DoS attack
19:06.50djszapi__of course without R&D cert
19:07.14DocScrutinizerI already suggested I build an app out of it ;-P
19:07.23DocScrutinizerthe Nuke-me app
19:08.08djszapi__what you should really not forget, it is still the best phone OS out there ever. Have you ever tried meego previously, not just de, ce and others ? :)
19:08.18djszapi__at least from Nokia.
19:08.26DocScrutinizerdescription: "locks your device on the click of an icon, so NOBODY can ever sniff your sekrit private data"
19:09.59DocScrutinizer(continued:) "give the app a teasing name, like MyChildPorn, and be sure any cop will click on it first"
19:10.25djszapi__right as I guessed, enter_malf is also coming along from the sys-soft guys
19:10.57djszapi__probably that should be the interface
19:11.04djszapi__but not writing any malf file manually.
19:11.31djszapi__I would actually even expect that you should have some extra credential to run that binary.
19:11.44DocScrutinizerwell, I'm not sure normal user can create files in /var
19:11.54DocScrutinizernevertheless...
19:11.59djszapi__so not that like, we defend the phone against the superroot and so forth, and it can brick the device easily.
19:12.13djszapi__does not matter, user/root/whatnot
19:12.49DocScrutinizerexactly. That's been the moment when I said "NUFF!"
19:13.57DocScrutinizerit feels like i'm the stupid devel that gets punished by "Please reflash" for doing sth silly
19:14.19djszapi__yep, this is really weird
19:14.31djszapi__but it has nothing to do with aegis as such
19:14.40djszapi__it is the misuse of aegis from the sys-soft guys
19:14.42DocScrutinizerand that's been the mood where I packed and stowed away that device
19:14.45djszapi__or the not-use :D
19:16.06DocScrutinizerwell, the fact that I can't fix it now, despite I'd know how to fix it, that's:  http://en.qi-hardware.com/w/images/1/10/ME_382_LockedUpTechnology2.gif
19:16.27DocScrutinizerand that IS aegis
19:17.35djszapi__if you can fix it, you can do anything
19:17.49djszapi__so no point in security anymore, if you can do anything
19:17.57djszapi__so it is rather controversial thesis of yours :)
19:18.21djszapi__and ofc no sec is no go from usr pov.
19:18.45*** part/#harmattan djszapi__ (~lpapp@84-231-104-221.elisa-mobile.fi)
19:20.37DocScrutinizeryeah, we don't need to iterate this philosophical debate again. I'm not a friend of security by Nokia's courtesy and grace
19:20.55DocScrutinizerI'm willing to care about security myself
19:21.20DocScrutinizerand buy me a way to fix things like these myself this way
19:21.53DocScrutinizermight be related to my age, you know ;-)
19:22.03jktso, I've tried using the Nokia's one click flasher on my N950, and now it appears that the device won't boot anymore
19:22.04DocScrutinizerI already learnt to care for myself
19:22.58DocScrutinizerjkt: reflash ;-)
19:23.56jktwhen I press the power button, the status LED shines, I hear the vibration and the LCD lights up and shows the Nokia logo
19:24.05*** join/#harmattan sivang (~sivan@unaffiliated/sivang)
19:24.15DocScrutinizerjkt: and maybe make sure your battery is fully charged prior to that (sorry no, I have no idea how to do that. Except maybe... wasn't there a flasher --option --charge-battery or sth?)
19:24.49DocScrutinizerooh, so odds are you could actually charge battery then? great!
19:24.52*** join/#harmattan djszapi__ (~lpapp@84-231-104-221.elisa-mobile.fi)
19:24.57*** join/#harmattan jkt_ (~jkt@latimerie.flaska.net)
19:25.18jkt_and it looks like my IRC box died, too.
19:25.54jktDocScrutinizer: I've just flashed that device; shall I really do it again?
19:26.31DocScrutinizerfirst check if it looks like charging when you plug the powered-off device to wallcharger
19:26.47DocScrutinizer(assuming you have a Nokia wallcharger)
19:27.40DocScrutinizerif the indicator LED starts flashing slowly, I'd let it sit for several hours, then reflash
19:27.59jktDocScrutinizer: the flasher tells me that it's at 97%
19:28.22DocScrutinizerthe flasher tells that? :-o DUH
19:28.32DocScrutinizerthen it should be OK to reflash
19:29.15DocScrutinizerjust notice that flashing actually takes almost an hour - allegedly. (didn't stand by and stopped the time, anyway it was loooong)
19:29.44sivangjkt: how did you come to having to reflash the device? :)
19:29.51sivangand it is easier like with Maemo?
19:29.52sivang:)
19:30.21jktsivang: well. I hit http://www.developer.nokia.com/bugs/show_bug.cgi?id=234, and there was an advice that one shall reflash
19:30.52DocScrutinizerwell, more like a suspicion that a reflash might help
19:31.16sivangjkt: so this is where you report Harmattan bugs! nice!
19:31.23sivangjkt: thanks for your help I was looking for that.
19:32.10jktI've tried to "reset to factory settings", but it didn't help, so I tried to "clear the device". At that point, it stopped responding, completely.
19:32.19sivangjkt: I had this problem, but a couple of reboots and one OVI update fixed that btw.
19:32.34sivangjkt: how is it not a prototype device btw?
19:32.52sivangjkt: even though you got it from Ronan
19:33.05sivangjkt: I have "developer edition, not for sale" on the back
19:33.12sivanganyway be back later gotta workrave
19:33.14sivang...
19:33.16jktsivang: sorry?
19:33.53DocScrutinizersivang: http://wiki.meego.com/N950_landing_page#Reporting_bugs_and_ways_to_get_support
19:52.43*** join/#harmattan smoku (~spectrum@xkh0g2.infr.xiaoka.com)
20:25.29*** join/#harmattan javispedro (~javier@Maemo/community/contributor/javispedro)
20:26.50lardmanah, that was remarkably frustrating
20:27.13lardmanannoyingly it seems that the QFileInfo for a photo changes at some point after it's written to disk
20:27.30lardmanI wonder if the geolocation stuff opens it and writes in some exif data
20:27.48lardmanin any case it was messing up my folder watching for photoanalyser
20:31.09lardmanmacro mode isn't much cop on the N950 I notice
20:40.27jktso, let's hope someone on the forums has an advice -- http://forum.meego.com/showthread.php?p=30074#post30074
21:05.34*** join/#harmattan mzanetti_work (u2436@gateway/web/irccloud.com/x-bkhanofvupuplfzo)
21:07.49*** join/#harmattan macmaN (~chezburge@138.167.190.90.dyn.estpak.ee)
21:15.40*** join/#harmattan arcean (~Arcean@apn-77-113-20-192.dynamic.gprs.plus.pl)
21:23.22lcuklardman, you mean the timestamp is updated twice?
21:23.27lcukto latest date/
21:23.30lcukor something else
21:23.51lardmanI didn't actually look at what was updated
21:24.00lardmanbut I'm guessing the timestamp changes
21:26.21*** join/#harmattan [XeN] (~XeN]@brln-4db84f67.pool.mediaWays.net)
21:26.58*** part/#harmattan deimos (~deimos@host51-71-dynamic.51-79-r.retail.telecomitalia.it)
21:27.54lardmanI changed to grabbing a stringlist of filenames and comparing those as I'm only interested in new files not modified ones
21:28.43lardmannot quite sure where to post about Harmattan stuff on the meego.com forum, I've gone for Forum
21:29.47lardmanand on that note, bed time
21:29.58lcuklardman, with the Q filesystemwatcher can you specify flags for certain criteria
21:30.11lcukthe lower level inotify has a whole suite of options for such things
21:30.22lcuknn simon
21:30.25lardmanlcuk: yeah but it doens't tell you which files are modified, just that something in a given dir has changed
21:30.35lcukthat is nice
21:30.44lcukif your folder has x thousand items etc
21:30.47lardmanyeah I was trying to keep it Qt mainly, anyway it works fine now
21:30.52lcuksure
21:31.02lardmanyeah with lots of files I may need to revisit that as you say
21:31.30lardmanI'll add it to the todo list for after I've got mBarcode-lite's qml ui up and running
21:31.47lardmananyway will catch you tomorrow perhaps, going for an induction I understand, so may be away for a few days
21:31.49lcukheh i just made a todo app this evening
21:31.50lcukgnite
21:31.57lardmannight!
21:59.02*** join/#harmattan rm_you| (~rm_you@c-76-104-225-147.hsd1.wa.comcast.net)
22:13.04leinirlooks for something to stab :P
22:13.06leinirdpkg: status database area is locked by another process
22:21.31*** join/#harmattan Mek (~quassel@93.157.1.37)
22:26.29*** join/#harmattan arcean (~Arcean@apn-77-113-20-192.dynamic.gprs.plus.pl)
22:37.03djszapi__lcuk: have you ever used mono ?
22:37.03djszapi__or just windows c# ?
22:37.37lcukdjszapi__, I have looked at mono
22:37.40lcukit is interesting
22:37.51lcukbut my Linux involvement started with pure C on maemo
22:38.08lcukfor the last 10 years I was a visual basic/.net developer
22:38.22lcukand had not written C since college
22:38.24djszapi__5 years ago, it was promising
22:39.50lcukdjszapi__, the Windows phone is interesting use of C#
22:40.07lcukif it takes off then the latest mono could be important again
22:40.13djszapi__yes, I wrote a small application for that
22:40.29djszapi__but using their ndk only.
22:41.17lcukI hear there is some Windows training available in October, it would be interesting to see how well liq* apps run there :P
22:41.39lcukthe last time I wrote for a windows PDA os was os2005 I think
22:42.03lcukbut I have to find a path to being funded for activities
22:42.34djszapi__I must say, windows phone pretty much rocked last October.
22:42.51lcukit still does, I played recently
22:43.34djszapi__lcuk: someone should try to port mono harmattan and let us play with that :)
22:43.34djszapi__* to harmattan :p
22:43.42lcukdjszapi__, there are developers at Collabora whom are adept at mono
22:43.45lcukand its maintainance
22:44.11lcukI am sure that if such a thing were required it could be arranged
22:44.21djszapi__it could actually also be ported to android
22:44.53djszapi__ohh no, it is not a requirement ;) It is just out of curiosity.
22:45.10lcukjust letting you know :)
22:46.07djszapi__lcuk: is Collabora also committed to webkit2 ?
22:47.28javispedromonotouch is already on android iirc
22:48.00javispedroin fact, http://www.amazon.com/Professional-Android-Programming-Mono-NET/dp/1118026438/
22:48.07javispedroweirdos everywhere seems ;P
22:49.08djszapi__monodroid is a long story yes
22:49.12djszapi__however not free
22:49.29djszapi__the free version is really a newbie project yet.
22:49.36djszapi__needs a lot of love.
22:50.05djszapi__I think even more than neccesitas
22:51.24djszapi__I am pretty sure there will be (or there already is) a qt jambi like dotnet binding.
22:51.28lcukdjszapi__, I do not know the status of webkit
22:51.56djszapi__lcuk: seems a niche now on the market, mostly the qt - webkit2 integration
22:58.05djszapi__lcuk: btw, kdelibs is ready for usage.
22:58.24lcukdjszapi__, what is it useful for day to day?
22:58.46djszapi__what do you mean ?
22:58.53lcukwell the libs are there
22:59.03lcukwhat works with them that you or I would need
22:59.32lcukyou spent enough time porting them
22:59.33djszapi__lcuk: imho, kalgebra so far, but the kde development can start
22:59.49lcukdjszapi__, oh, I thought there were already many kde apps waiting
22:59.51djszapi__kanagram would also be nice, teachers love it.
23:00.05lcukdoes kalgebra work well on the n950?
23:00.15djszapi__as for me, yes.
23:00.29lcukwhat do you use it to do?
23:00.37djszapi__calculation
23:00.47lcukdo you have screenshots or a video of it in action on your device?
23:00.54lcukas many others seem to have for their apps
23:00.58djszapi__no, but I ported scrot
23:01.04lcukscrot is?
23:01.06djszapi__so should be easy to take a screenshot from ssh
23:01.18djszapi__without having another phone or using OVI
23:01.39lcuka video would be nicer
23:01.49lcukthe n9 swipe ui shows apps in a good light
23:01.59djszapi__is there some video recorder from cli ?
23:02.05djszapi__I could port one...
23:02.08lcukdunno
23:02.15lcukyou could just use n900 or another phone
23:02.28lcukthe macro focus on n900 is outstanding for such uses
23:02.29djszapi__that is not that nice like using just ssh, is it ?
23:02.56lcukdigital videocasts do not show finger usage
23:03.05lcukand how the app responds to use
23:03.07djszapi__that is true
23:03.11lcukelements just fly mythically
23:03.27lcukit is quite disconcerting
23:03.31djszapi__yep
23:03.42lcukso grab another phone and make a quick vid :P
23:03.57lcukthen people will know what the kdelibs can be used for
23:03.58lcuk:)
23:04.15djszapi__lcuk: well, I have not really had time since it is a fairly new story, like yesterday ?
23:04.29lcukadd it to your todo list :)
23:04.37djszapi__lcuk: I would be happy to see more KDE applications ported, but they could not obviously do it without kdelibs
23:04.37lcukI am pleased you have them working
23:04.42djszapi__so I hope it can start now..
23:05.14lcukdjszapi__, so it is on your C-OBS repository?
23:05.19djszapi__lcuk: yes
23:05.31djszapi__lcuk: kanagram would be nice for teachers
23:05.35djszapi__they love it iirc
23:05.42djszapi__and the Ui is almost ready for touch
23:06.52djszapi__lcuk: rekonq could also rock
23:07.05djszapi__since we are lacking an open source webkit based browser
23:07.24djszapi__however I am afraid not much would stay apart from the rendering engine after the port
23:07.46djszapi__browsers are cannot really be "ported" since you almost drop everything. :)
23:08.11lcukporting apps is not fun then.
23:08.27lcukMy apps are identical and happy running on handsets or tablets
23:08.54lcukeven using them on the 20" touchscreen in the lounge is the same
23:09.02djszapi__lcuk: also, please use the shared repository for KDE stuff.
23:09.37lcukI will not, but since you are in charge of the kdelibs you will speak with other kde developers and can inform them
23:09.50lcukI can tell others who ask :P
23:10.07djszapi__lcuk: porting khangman could also be easy
23:10.36djszapi__lcuk: what is wrong about using the shared repository ?
23:10.53djszapi__lcuk: oh, also I have a KDE project, called mula
23:11.07djszapi__that is very useful to me when it is ready, wip :)
23:11.11djszapi__dictionary application
23:11.20lcukit is good to use the shared repo, but I rarely will need to push kde stuff myself
23:11.25lcukcool
23:11.29djszapi__so that you do not need to use different web services for dictionary purposes.
23:11.44djszapi__everything is put into a handy dictionary app
23:11.48lcuki use fiferboys lexicon for such things
23:12.10lcukit works now on meego and harmattan
23:12.14djszapi__so can you use googletranslator for instance with that ?
23:12.19djszapi__or chromium, or stardict ?
23:12.21lcuki wouldn't need to
23:12.26lcukit has english disctionary?
23:12.33lcukdictionary *
23:12.35lcuk;)
23:12.47djszapi__lcuk: anything, not just english. Also, the architecture is designed as pluggable
23:13.07djszapi__so that actually you can add any plugin for further dictionary services, standards.
23:13.14lcuksure
23:13.52djszapi__maybe, kteatime heh :p
23:15.05djszapi__that could be also ported.
23:21.12djszapi__lcuk: calligra, marble are being ported
23:21.39djszapi__lcuk: kontact Ui was not really designed for touch, so they will break the swipe UX (= I expect very few users because of that)
23:22.16djszapi__lcuk: plasma is a bit harder story.
23:26.07*** join/#harmattan djszapi_ (~lpapp@84-231-104-221.elisa-mobile.fi)
23:34.32djszapi_lcuk: well, I do not have N900 anymore for recording a video
23:34.55djszapi_lcuk: N900 has been a history xD
23:54.01*** join/#harmattan djszapi_ (~lpapp@84-231-104-221.elisa-mobile.fi)
23:58.26*** join/#harmattan BrettQ_ (~wircer@99-38-191-36.lightspeed.clmasc.sbcglobal.net)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.