IRC log of #maemo-devel for Monday, 2010-01-25

*** DocScrutinizer51 has quit IRC00:08
*** Docscrutemp has joined #maemo-devel00:08
*** Docscrutemp is now known as DocScrutinizer5100:08
*** DocScrutinizer51 has quit IRC00:19
*** Docscrutemp has joined #maemo-devel00:19
*** Docscrutemp is now known as DocScrutinizer5100:20
*** Ken-Young has quit IRC00:25
*** Ken-Young has joined #maemo-devel00:29
*** lardman|afk is now known as lardman00:30
lardmanre00:30
lardman~seen dragly00:33
lardmanhmm, no infobot00:33
*** BabelO has quit IRC00:37
Ken-YoungI have an ettiquette question:   How polished should an application be before it is promoted to Extras-testing?    If there are no show-stopper bugs, but the application clearly has many rough edges, should one avoid promoting it?   Or is fairly early promotion encouraged, so that testers will find bugs and suggest changes, even on an app that clearly needs work?   Do people get mad if a package is promoted, and then the next00:56
Ken-Young week a new version is uploaded which has changes that should have been in place from the beginning?00:56
lardmanPromote it for feedback, but expect to get lots of throw away comments from the users00:57
w00tthrow away?00:59
lardmannot very well thought out01:00
Ken-YoungLike, this app stinks, throw the source file away.01:00
jebbaKen-Young: if you promote it to testing it will get lots of criticism, but it's still good to do. For example archebyte will send it through the full QA checklist. But I think it's good to promote things that "work", for the most part even if they have some rough edges. But they should probably be clean enough that they don't leave any apt problems. Like earlier versions of orrery did some weird stuff on install/deinstall. If you have that solved, it s01:00
lardmanand often derogatory01:00
w00tright01:00
jebbalardman: really? I havent seen that in the comments.01:00
w00tusers are like that01:00
lardmanjebba: I had a few of those, "doesn#t work very well, fix this and that and the other or I won't promote you"01:01
lardmangreat ;)01:01
Ken-Youngjebba, I've switched to the standard optification, and fixed the language bug.01:01
SpeedEvilI would also point people at how to vote about the app, and where to comment - a link to a thread or a forum or ... in a prominent place01:02
Ken-YoungThanks all, for your advice.01:02
jebbalardman: what packages do you maintain? I wish package list could be seen by maintainer01:04
lardmanmbarcode is the only one out in the open01:05
lardmanand various maths backend libs01:05
lardmanand other odds and sods :)01:06
lardmanmy comment was a bit sarky as I promoted mbarcode as people wanted to try it without needing to enable extras-devel, fair enough, and then I got feedback telling me to do this that and the other, which wasn't quite what I was wanting01:07
lardmani.e. I wasn't trying to push to extras, just to let people try in devel form01:07
lardmanand I was having a bad week too :)01:07
* SpeedEvil is sort-of-getting to the point where the aforementioned diet app - with barcodes - would be implementable.01:10
SpeedEvilI've got a few hacked together scripts to interface weightjinni to an external tracker site.01:10
lardmangtk+ or qt?01:11
w00tspeaking of mbarcode01:11
lardmanoh-oh01:11
w00tis it possible to use mbarcode to get a barcode returned to another application? :)01:12
* w00t has evil ideas of a practical use for it01:12
lardmanyes, it should spit out a dbus message atm01:12
w00tiiiinteresting01:12
lardmannot tested though, so let me know if it works ;)01:13
lardmanwhat's your app idea?01:14
lardmanwe're currently working on mbarcode-qt, which a nicer ui and plugins (in C, Python, Javascript I think)01:14
w00t(I can do Qt, C++ and python, though I'm only working on python on-device.. too lazy to deal with a build env)01:15
lardmanshould be easier to write webscrapers in python for example, and I won't have to do it all myself I hope01:15
lardmans/C/Cand C++01:15
lardmananyway dragly has been hacking away creating a nice Qt framework for mbarcode :)01:16
w00tI have abstract ideas of shopping list management, mostly using mbarcode to scan barcodes, i.e. "bought" *scan*, enter name if new item, else it records it.. when you throw something out, "empty", *scan*, and it's on your list to purchase01:16
lardmanwell that's the sort of thing that might work well as a plugin, or you could go for a standalone app and listen for dbus calls, up to you01:17
lardmanI hope that we'll have something out and working pretty soon, like in a week or so, now that I'm not working all hours at the day job01:17
* w00t nods01:18
w00tI don't know what I'll do yet01:18
w00tI want to make my ideas a little less abstract01:18
w00tand see a bit more how feasible it is01:18
w00twhen I last tried to scan with mbarcode it was a bit hit and miss, mostly due to the camera only focusing once01:18
lardmanis still that way, is a hw limitation01:18
w00tof course01:19
w00tnot blaming mbarcode for it01:19
w00tjust stating that that may mean it's not overly feasible01:19
lardmanthough the latest version of mbarcode doesn't bother with macro mode and just uses the middle part of the image so you can hold it further away and the focus works better01:19
w00tsince waving around and trying to scan 5-6 times is a bit annoying01:19
lardmanyeah of course01:19
lardman1D codes seem to work ok for me, QR are the best; the 1D decoder needs to be improved01:19
w00twhat's 1D and QR? excuse my ignorance01:20
* w00t shuts down his phone to stick in a 16gb SD card01:20
lardman1D are the upc/ean stuff on the back of everything, Qr are 2D codes01:20
w00tah01:20
lardmanthere's also datamatrix supported in mbarcode, but the decoder is very slow so that's very hit and miss01:20
w00twhat are you doing with qt btw?01:21
lardmanwith QT you can decode: text/numbers, vCards, .install files, urls, emails, sms, etc01:21
DocScrutinizer51w00t: *shut down*??????01:22
DocScrutinizer51WHY??01:22
lardmanthough I'm told sms doesn't currently work, so I need to fix that01:22
w00tDocScrutinizer51: mer time01:22
DocScrutinizer51aaah. thought you're unaware of hotswap01:23
w00t:-)01:24
* DocScrutinizer51 ponders to kill his N900 by configuring a IMAP account to a box that holds ~100k msgs01:25
w00thah01:25
w00tisn't modest a bit less crap with large folders now?01:25
* w00t uses gmail, no imap, so01:26
w00tI should probably configure imap for fun01:26
* w00t switches back to maemo to do so01:29
DocScrutinizer51I'm too scared to try that with this mega account01:30
*** asjo` has quit IRC01:30
* DocScrutinizer51 hates IMAP anyway01:30
* w00t raises an eyebrow a bit01:30
w00t"your operator aand country code information are sent to nokia to check serivce availability. nokia will not process or store any personal identifiable information without your consent. see nokia privacy policy at blah"01:31
DocScrutinizer51just that OM account has no POP301:31
w00tenglish mistake aside01:31
DocScrutinizer51yeah seen that01:31
w00twhy exactly do they need to send any information anywhere when I'm entering in my account details?01:31
DocScrutinizer51WTF??01:31
w00tah, I see01:32
w00tit seems that's used to get a list of account types for auto-setup to save you manually entering them01:32
w00tnot as strange/useless as I thought01:32
DocScrutinizer51ooh01:32
DocScrutinizer51ok01:32
DocScrutinizer51still I wonder what's going to happen when I shutdown connectivity01:33
* lardman wonders whether to try looking at TMO01:33
lardmansoo many posts....01:33
w00tlardman: I was able to keep up with it in december, I really can't anymore.01:34
w00tthough that's mostly because I'm putting my time into coding instead of keeping up with the community full time01:34
* w00t prods modest with a stick01:34
lardmanyeah, I still try to look at it once a day, but I tend to skim most topics as there's just too much now01:34
lardmans/skim/skip over01:35
w00tmodest appears to not have synchronised my inbox, I have no inbox folder01:35
w00thow useless01:35
lardmanwas a bit of a pita to setup for me01:35
w00tdrafts, outbox, sent, archive01:35
w00t..01:36
w00tsend and recieve does nothing01:36
DocScrutinizer51yeah as I stated above: I hate IMAP01:36
w00tI do wish MfE worked with google.01:37
w00tthat would make my life complete.01:37
*** lbt has quit IRC01:39
lardmanright, I'm hitting the sack; night all01:40
w00tnite01:40
*** lardman has quit IRC01:40
w00tI think I'm exploding modest01:44
w00tit's been sitting there with a little progress icon for a long time now01:44
DocScrutinizer51even my kmail was syncing my imap acount for 4h. this was almost 2 years ago when that account had maybe 10k msgs01:49
*** Striki_ has joined #maemo-devel01:49
w00tto be brutally honest, I'd not look on kmail as the pinnacle of mail client design01:50
*** Striki_ has quit IRC01:54
DocScrutinizer51sure it's not01:57
DocScrutinizer51nor is IMAP for mail protocols01:58
*** Striki has quit IRC01:58
*** t-tan has left #maemo-devel01:59
*** asjo has joined #maemo-devel02:13
*** DocScrutinizer51 has quit IRC02:18
*** Docscrutemp has joined #maemo-devel02:19
*** Docscrutemp is now known as DocScrutinizer5102:19
*** Striki has joined #maemo-devel02:23
*** DocScrutinizer51 has quit IRC02:31
*** Docscrutemp has joined #maemo-devel02:31
*** Docscrutemp is now known as DocScrutinizer5102:31
Ken-YoungIs there any way that a package maintainer can tell how many times a package in Extras-testing has been downloaded?02:48
Strikidoubt it03:07
Strikiit's just apt-get and dpkg03:07
Ken-YoungStriki, That's too bad.   It's fun to know if anybody is running your code.03:08
Strikiahhh, sorry i misunderstood your question03:08
Strikithe person running the repository should be able to see it in their logs03:08
Strikibut i'm not sure if the package maintainer can see it. honestly i really don't know since i haven't developed anything for n900 yet :)03:09
Strikiwell, i need to get some sleep :) good night, hope you will be able to find some info on this03:10
Ken-YoungThanks, Striki !03:10
SpeedEvil'download extra star catalog'03:24
Ken-YoungSpeedEvil, ???03:25
SpeedEvilI mean as a means of tracking fownloads03:26
SpeedEvildown03:26
VDVsxKen-Young, only Extras is publicly counted at the moment,afaik, and takes some time to update due to Akamai (like a week or so)03:27
Ken-YoungOK, BTW VDVsx, I just uploaded a version of orrery which I believe fixes the language bug you found.   It is version 3.0.9-1, and it has been tested in Portuguese.03:29
VDVsxKen-Young, cool, have to test :)03:30
VDVsxnow time to sleep, g'night folks :)03:31
Ken-YoungHave a good snooze.03:31
*** VDVsx has quit IRC03:33
*** Ken-Young has quit IRC04:16
jebbabuilder box down04:50
jebbaah, finally uploaded, but i haven't seen a build go thru in awhile. Maybe just due to email downage.04:50
jebbahttp://maemo.org/packages/package_instance/view/fremantle_extras-devel_free_armel/dov4l/0.9-3/04:52
jebbawrong win04:52
*** thomaz has joined #maemo-devel05:07
*** kamui__ is now known as shinkamui05:54
*** dymaxion has joined #maemo-devel06:01
*** thomaz has quit IRC06:06
*** thomaz has joined #maemo-devel06:07
*** thomaz has quit IRC06:36
*** SpeedEvil has quit IRC06:41
*** SpeedEvil has joined #maemo-devel06:42
*** dymaxion has quit IRC06:44
*** DocScrutinizer has quit IRC07:32
*** DocScrutinizer has joined #maemo-devel07:32
*** DocScrutinizer51 has quit IRC07:32
*** Docscrutemp has joined #maemo-devel07:32
*** Docscrutemp is now known as DocScrutinizer5107:32
*** dymaxion has joined #maemo-devel08:00
*** GeneralAntilles has quit IRC08:36
*** lbt has joined #maemo-devel09:09
*** GeneralAntilles has joined #maemo-devel09:24
*** tekojo has joined #maemo-devel09:31
*** BabelO has joined #maemo-devel09:52
*** tbf has joined #maemo-devel11:10
*** slonopotamus_ has joined #maemo-devel11:10
*** kamui__ has joined #maemo-devel11:17
*** aboyer has joined #maemo-devel11:33
*** shinkamui has quit IRC11:35
*** Guest59378 has joined #maemo-devel11:35
*** pillar has quit IRC11:42
*** dymaxion has quit IRC11:48
*** slonopotamus_ has quit IRC11:52
*** lardman has joined #maemo-devel12:20
lardmanmorning12:20
*** jpetersen has joined #maemo-devel12:29
*** hrw|gone is now known as hrw12:36
*** dymaxion has joined #maemo-devel12:42
*** mece has joined #maemo-devel12:49
mecehello12:49
*** Mek has quit IRC13:20
*** VDVsx has joined #maemo-devel13:30
*** rsalveti__ has joined #maemo-devel13:33
*** Mek has joined #maemo-devel13:37
*** rsalveti has quit IRC13:48
*** edisson has joined #maemo-devel13:54
*** ph1l has joined #maemo-devel14:01
*** ph1l_ has joined #maemo-devel14:02
*** VDVsx_ has joined #maemo-devel14:03
*** ph1l_ has quit IRC14:04
*** VDVsx has quit IRC14:04
ph1li need to analyse the boot-sequence of the n900. something like bootchart. anybody has bootchart running on n900? how?14:05
*** VDVsx_ has quit IRC14:05
*** VDVsx has joined #maemo-devel14:06
*** rsalveti__ has quit IRC14:18
*** rsalveti has joined #maemo-devel14:18
*** hrw is now known as hrw|gone14:28
*** lardman is now known as lardman|away14:46
ph1lwhat i'd like to find out: the home drive gets mounted within /etc/events.d/rcS-late. can i interact with the system at this point allready? i would like to enter a password for my encrypted homedir...15:02
*** lardman has joined #maemo-devel15:08
lardmanany Qt Designer users about?15:11
lardmanshould I be able to insert a QScrollArea and make its widget a QHBoxWidget?15:12
lardmanLayout even15:12
lardmanatm I have an intervening QWidget called scrollAreaWidgetContents15:13
lardmanand from the generated code I can see that my QHBoxLayout doesn't seem to be connected to the QScrollArea15:13
* lardman wonders why people bother with these graphical designers, just writing the code seems far more straight forward15:16
*** Mek has quit IRC15:23
*** Mek has joined #maemo-devel15:25
w00tlardman: different people work in different ways15:31
w00tlardman: what are you trying to accomplish?15:32
lardmanhmm, mbarcode-qt15:32
lardmanhave given up on that bit actually and just placed a table in there15:32
w00tlol, ok15:32
lardmanthat should achieve what I wanted15:32
lardmanhaving scan history along the bottom, so you can go back and see what you've scanned before15:33
w00tmhm15:33
lardmanI do hope I can insert an image into a TableWidgetItem15:34
w00tyou can15:34
lardmancool, time to do some googling for examples15:35
lardmanthanks15:35
w00tthe (cheating) way I would use is to subclass QWidget, render your image (easy enough) in paintEvent15:35
w00tthen use QTableWidget::setCellWidget() to set an instance of your image widget in a cell15:36
lardmanoh you can do that without needing to use the QTableWidgetItem can you?15:36
w00tyup15:36
lardmaneach cell may contain a mix of text and or an image15:36
lardmanso I guess I should use a layout container and stick everything else in that then set that as the widget?15:37
w00tyou can't use a layout as a widget15:37
w00thold on, I'll show you what I do with a QListWidget and a custom renderer15:38
w00tit's in python, but you should get the idea15:38
lardmanok thanks15:38
lardmanhmm, that's been confusing me the layout thing, not like GTK+15:38
* w00t nods15:39
w00tit takes getting used to15:39
w00thttp://www.pastebin.ca/176513915:40
lardmanif I subclass QWidget I can also store the barcode raw data as well as the processed, that sounds like a good idea15:40
w00tit'll be a bit different with a QTableWidget, but you get the idea15:40
lardmanthanks, will give it a try :)15:42
w00tyou can draw whatever you want in your widget instances, so you can get it to conditionally draw text *or* the image15:42
w00t(or both, one superimposed over the other - get fancy!)15:42
lardmanyep, just change what it paints15:42
lardmancool :)15:43
* lardman does grumble a little about needing to create yet another file to contain another class though ;)15:43
w00thehe15:43
w00tpython makes me lazy15:43
w00tuntil last night, the entire of common cents was in one file15:44
w00tI was going a little nuts trying to scroll to the right bits though15:44
lardman:)15:45
w00tlardman: btw, the hint that QPainter::drawPixmap() is a bit faster for screen rendering is probably one to pay attention to, especially on mobile devices15:45
lardmanam I right in thinking that I can serialise in C++, i.e. write and object to file then read it back without needing to fiddle with the lowlevel stuff?15:45
w00tmm15:45
w00tgenerally speaking, no15:46
*** hrw|gone is now known as hrw15:46
lardmanoh :(15:46
w00tyou could probably abuse QMetaObject somehow to do it15:46
*** aboyer has quit IRC15:46
lardmanand there I was thinking there must be something good about C++ ;)15:46
w00tbut I'm not sure how much luck you'd have or how fragile it'd be15:46
w00twhat do you need to store?15:47
lardmanthe table contents15:47
w00tmm15:47
lardmanthey are the scanning history15:47
w00tdifficult, yes.15:47
lardmannot an immediate problem anyway15:47
*** T7g has quit IRC15:50
*** T7g has joined #maemo-devel15:51
w00tlardman: http://media.share.ovi.com/m1/s/1687/3600923c1a1c416490c1d287e1c739ee.jpg # the code I pasted is rendering the items in that list at the bottom, btw15:54
*** JPohlmann has joined #maemo-devel15:54
lardmancool15:54
lardmanam just writing the C++ code in, and crossing fingers that it's about right ;)15:54
lardmanstring handling? Use QString?15:55
w00tI would, yes15:55
lardmanok15:55
* lardman having no clue15:55
lcuklardman, dont you just write a serializer overload thingy to do parsing15:55
lardmanlcuk: dunno15:56
lardmanare you speaking greek perchance? ;)15:56
w00tlol15:56
w00thttp://doc.trolltech.com/4.6/qdatastream.html#details15:58
w00tmight be useful15:58
lardmanok, will take a look at that in the fullness of time, thanks15:59
*** JPohlmann has quit IRC16:00
lardmandoes setting one QString = to another copy the underlying data, or the while object, or nothing?16:00
lardmans/while/whole16:01
w00tthey're copy on write, generally speaking16:03
w00tmeaning it won't copy the data unless you alter it16:03
lardmanok16:03
lardmanI suppose I should embrace the abstraction and just assume it will work the way I hope, rather than thinking about how it's done under the skin16:04
w00treally, you should just write the code and only look at how it performs (and how to improve) if it's weirdly slow, yeah :P16:05
lardman:)16:06
*** fiferboy has joined #maemo-devel16:15
*** rsalveti has quit IRC16:16
*** rsalveti has joined #maemo-devel16:16
*** ablack_ has joined #Maemo-devel16:25
*** AndrewFBlack has joined #Maemo-devel16:26
*** ablack_ has quit IRC16:26
*** Mek has quit IRC16:27
*** Mek has joined #maemo-devel16:35
*** t-tan has joined #maemo-devel16:54
*** lardman has quit IRC16:55
jebbaeveryone rush to the build server now that it's running fast  ;)17:00
*** tekojo has quit IRC17:05
lcukjebba isnt that kinda self defeating17:14
lcukbut yeah GOGOGOG17:14
*** lardman|away is now known as lardman17:18
t-tancool! now I can upload the 500MB texlive-extras tarball!?17:18
lardmanre17:18
lcukt-tan, *facepalm*17:20
*** pillar has joined #maemo-devel17:20
hrwjebba: "s/now that it's running fast/now that it's running at all/" :D17:21
*** guido_g has joined #maemo-devel17:21
*** guido_g has left #maemo-devel17:22
t-tanhow fast is it? could I run numerical simulations on it? ;-)17:23
jebbahaha. texlive!!!17:23
jebbahrw: icecast built in the time it took for me to track it down on maemo.org. :)   Hopefully we're out of the woods there. I wish things would sync up a bit faster, but at least now it's going.17:24
jebbasure beats 3 days17:24
*** kodomo_ has joined #maemo-devel17:26
jebbat-tan: would be cool to see how it handled something like texlive2009. If *that* made it through, things are workgin  ;)17:28
*** andrewgodwin has quit IRC17:29
*** andrewgodwin has joined #maemo-devel17:30
t-tanthe huge tetex-extra is ready for uploading. I'd upload as soon as anybody confirms that texlive-latex-base installs flawlessly17:30
*** kodomo has quit IRC17:43
*** JPohlmann has joined #maemo-devel17:46
*** Striki has quit IRC17:47
*** Striki has joined #maemo-devel17:50
jebbat-tan: what's latest version?18:03
jebbatexlive-latex-base18:03
*** hrw is now known as hrw|gone18:03
t-tanjebba: the main problem is tex-common. currently 2.06maemo918:04
t-tanlatex-base should be 2009-7maemo518:05
jebbawhere is 2.06maemo9  =18:13
jebbaah i see it just ran thru the builder18:20
*** blfgomes has joined #maemo-devel18:22
blfgomesHello everyone18:22
*** zgold has quit IRC18:24
blfgomesI'm trying to get started with maemo packaging, but I have a question... If the app has a debian package already, should I repackage it or work directly with the upstream version?18:24
*** zgold has joined #maemo-devel18:25
*** Striki has quit IRC18:25
lardmanw00t: did you spot anything in my table code, or did you not get a chance?18:31
w00tlardman: I did take a look, but wasn't able to spot anything usful, and then was forced on to other issues by work regretably18:31
w00t*regrettably18:31
lardmannp, thanks for looking18:31
lardmanI'll head back soonish and see if I can work out what I've done wrong18:31
w00tblfgomes: I've never done it, but I'd suggest trying to repackage it, if it works, you've saved yourself work18:31
lardmanblfgomes: probably try to work with the existing package to save effort18:32
lardmansorry to disagree :)18:32
w00ter18:32
w00tI'm agreing there18:32
jebbablfgomes: etch packages usually build without too many probs.18:32
lardmandepends on how complex the build process is and the upstream package (some contain all sorts of patches and other annoyances)18:32
w00the said 'repackage' or 'work with upstream'18:32
lardmanoh I see18:33
jebbasid packages you have to drop debhelper from 7 to 5, echo 5 > debian/compat  and probably muck more with the deps, but you can get those to build too.18:33
lardmantoo late in the afternoon :)18:33
blfgomesIt's a really simple app (command line). I packaged it myself before I realized there is a debian version already (I should have checked first, I guess).18:34
blfgomesI saw there is also mud-builder to help me with that, but I don't know if it's still used18:35
lardmanwhat's the app in question?18:36
blfgomesbti18:36
lcuklardman, give me a shout when its beer oclock18:36
lardmanLooks like all those deps should be available18:36
lardmanlcuk: soon, soon.....18:37
*** ph1l has quit IRC18:37
lardmanwas just offered some beer for some code actually18:37
lardmanbut decided I'd better not as I have to drive home18:37
lcukfair trade18:37
blfgomeslardman, yes, all the deps are available18:37
lcukas long as its good beer18:37
lardmanblfgomes: you got sb in front of you?18:38
blfgomeslardman: not right now, I'm at work18:38
lardmanwget the three files, dpkg-source -x blah.dsc18:38
lardmancd into the dir and try "dpkg-buildpackage -rfakeroot"18:38
*** tbf has quit IRC18:40
blfgomesyes, I've done that already... I just want to know whether I should work with the debian package18:40
lardmanwell if it compiles then I'd say yes18:41
jebbablfgomes: i usually start with the debian package but if it's too far off i start from scratch.18:42
jebbastarting with etch packages makes the build setup easier. Then you can always just grab a more recent tarball.18:42
blfgomesjebba: so you use the debian packages just to get the debian folder?18:43
jebbaya, more or less18:44
jebbai just apt-get source foo, and take it from there18:44
blfgomesI see18:44
blfgomesdo you reuse the changelog as well or do you start from scratch?18:45
lardmanre-use the Changelog and add a new entry for your conversion18:46
jebbablfgomes: i keep the changelog18:46
lardmanunless you start from scratch18:46
jebbaand bump even18:46
lardmanor add maemo0 if no source changes18:46
*** jevin has quit IRC18:47
t-tanI usually keep the ubuntu karmic deb-src lines in my sources.list and get the more uptodate version from it18:47
jebbahttp://wiki.maemo.org/User:Jebba/Package_Building_HOWTO#sources.list18:48
blfgomesoh, I see what you mean18:49
blfgomesanother question: do I change the maintainer in the control file?18:51
*** tbf has joined #maemo-devel18:51
*** wirelessdreamer has joined #maemo-devel18:52
jebbai do18:53
jebbasince it's not being submitted to debian, and by submitting it to maemo you are basically becoming the new maintainer of the .deb18:54
jebbaand run:   echo auto > debian/optify             *unless* it is a plugin18:54
blfgomesalright... I'll work on it later tonight and get back with more questions :)18:54
jebbaok18:55
blfgomesthanks everybody18:56
*** mece has quit IRC19:00
*** blfgomes has quit IRC19:06
*** blfgomes has joined #maemo-devel19:10
lardmanwhat's the optification behaviour without a debian/optify file?19:13
lcuklardman, in what instance?19:16
lcukyou mean by just using the setting within debian/rules?19:16
t-tanhi lardman: it's unpredictable. my prefered way right now is none>optify and use maemo-optify PKG after dh_gencontrol19:16
lardmanbuilding a package19:16
lardmanit does its heuristic and decides what to do automatically then?19:16
* lcuk will optify liqbase tonight19:16
lardmanwhich is the same as "auto" isn't it?19:16
lcukyes i think its just the locaiton it does it19:16
t-tanit's different on autobuilder - that's the problem19:17
t-tanmaemo-optify does the job before packaging, optify=auto apparently after installation19:18
*** T7g has quit IRC19:18
lardmanhmm19:19
lardmansounds generally nasty19:19
*** T7g has joined #maemo-devel19:19
blfgomesoptify=auto means it will run maemo-optify-deb, right?19:20
blfgomesis there any difference between running maemo-optify and maemo-optify-deb other than *when* it's run?19:20
t-tanmaemo-optify before packaging seems to prevent large copying on the device19:20
blfgomesyou mean doc files and such?19:21
*** ph1l has joined #maemo-devel19:21
* lardman heads for home, bbl19:21
*** lardman has quit IRC19:21
t-tanblfgomes: AFAIK /usr/share stuff19:23
*** hrw|gone is now known as hrw19:25
blfgomest-tan: I thought the results were the same19:26
t-tanblfgomes: I thought the same but apparently it's different on autobuilder. so the empirically safest solution so far for me is run it in debian/rules19:29
*** slonopotamus has joined #maemo-devel19:42
*** BabelO_ has joined #maemo-devel19:44
*** lardman has joined #maemo-devel19:46
lardmanre19:46
*** hrw is now known as hrw|gone19:47
*** blfgomes has quit IRC19:53
t-tanhi lardman, any progress with Octave or matplotlib?19:54
*** jpetersen has quit IRC19:54
*** BabelO has quit IRC19:55
jebbawhat are people really going to do with TeX on an N900?19:58
*** Rudolf has joined #maemo-devel20:04
Rudolfhey dudes, the maemo sdk 5 can be used in development to maemo 4.x's (aka N810) softwares20:05
*** blfgomes has joined #maemo-devel20:06
t-tanjebba: generating nice plots, LyX, beamer presentations and cool stuff we can't imagine yet...20:06
SpeedEvilt-tan: gnuplot20:06
SpeedEvilis already there for example20:07
SpeedEvilI use it to daily scrape my weight from a website and put up a nice graph20:07
t-tanI want to run matplotlib and it can use tex for text layout20:09
* SpeedEvil ponders how to make the largest package. 20:09
SpeedEvilDepending on qt, gnome, ...20:10
lardmant-tan: completely forgot about Octave, should compile though, I'll give it a go when I have supper (as it ties up sb for ~30min), not tried matplotlib20:10
t-tanI can't go anywhere without my LaTeX :-)20:11
*** sleipnir has joined #maemo-devel20:12
lardmanhmm, my QTableWidget::columnCount always seems to come out as 0, even after I try inserting a column in position 120:14
*** thp has quit IRC20:16
lardmanoh dear, perhaps that was a school boy 0-base error20:20
*** andrewgodwin has quit IRC20:25
*** Mek has quit IRC20:25
*** lbt has quit IRC20:25
*** asjo has quit IRC20:25
*** _Lucretia_ has quit IRC20:25
*** lupine_85 has quit IRC20:25
*** jeremiah has quit IRC20:25
*** kulve has quit IRC20:25
*** fdv has quit IRC20:25
*** hegge has quit IRC20:25
*** timoph has quit IRC20:25
*** Milhouse has quit IRC20:25
*** akiniemi has quit IRC20:25
*** flux has quit IRC20:25
*** sle has quit IRC20:25
*** boogeyman has quit IRC20:25
*** villager has quit IRC20:25
*** scoopr has quit IRC20:25
*** Wolfie has quit IRC20:25
*** jpetersen has joined #maemo-devel20:30
*** _Lucretia_ has joined #maemo-devel20:30
*** akiniemi has joined #maemo-devel20:32
*** Milhouse has joined #maemo-devel20:32
*** flux has joined #maemo-devel20:32
*** sle has joined #maemo-devel20:32
*** Wolfie has joined #maemo-devel20:32
*** villager has joined #maemo-devel20:32
*** boogeyman has joined #maemo-devel20:32
*** timoph has joined #maemo-devel20:32
*** scoopr has joined #maemo-devel20:32
*** andrewgodwin has joined #maemo-devel20:33
*** Mek has joined #maemo-devel20:33
*** lbt has joined #maemo-devel20:33
*** asjo has joined #maemo-devel20:33
*** lupine_85 has joined #maemo-devel20:33
*** jeremiah has joined #maemo-devel20:33
*** kulve has joined #maemo-devel20:33
*** fdv has joined #maemo-devel20:33
*** hegge has joined #maemo-devel20:33
*** t-tan has quit IRC20:38
*** edisson has quit IRC20:39
*** Rudolf has quit IRC20:42
*** t7g_ has joined #maemo-devel20:43
lardmanSo does a QTableWidget automatically set the cell width & height from the widget it contains, while a QTableView manually sets it over the whole table?20:52
*** slonopotamus has quit IRC20:54
*** onen|openBmap has joined #maemo-devel20:58
*** T7g has quit IRC20:59
*** t7g__ has joined #maemo-devel21:04
*** t7g_ has quit IRC21:13
*** slonopotamus_ has joined #maemo-devel21:31
*** t7g__ has quit IRC21:33
*** T7g has joined #maemo-devel21:36
*** hrw|gone is now known as hrw21:42
*** onen|openBmap has quit IRC21:48
lardmanhmm, is the autobuilder down still?21:49
jebbalardman: i dont think it has been down. It hasn't been sending mail, but that's the mailservers fault. Though even that has been running at times today.21:50
jebbabut lots has run through the autobuilder21:50
lardmanam having troubles uploading actually21:50
lardmanah, got there in the end21:50
lardmanprobably just that Octave is quite large21:50
jebbasubscribe to this feed and you can see the builds go by:21:50
jebbahttp://rss.gmane.org/gmane.comp.handhelds.maemo.extras-cauldron.builds21:50
lardmanyeah, I've got that, thanks21:50
*** slonopotamus_ is now known as slonopotamus21:51
lcuklardman, i just sent something through the autobuilder 14minutes ago21:52
lcukjebba, normally people dont need other peoples builds, its hte response in their inbox they are after ;)21:53
lcukbut for diagnostics every now and then it helps to see others21:53
lardmanlcuk: probably just a large source package that was uploading and looked like it had hung21:54
jebbalcuk: that's just an RSS feed, not emails to your mailbox, so it's less annoying and more helpful.21:54
*** lardman has quit IRC21:54
*** lardman has joined #maemo-devel21:54
jebbawell, texlive2009 has been hitting the buildbox. That thing must take forever.21:54
lardmanhmm, did I just fall over?21:55
jebbaya21:55
* lcuk has never signed up to an rss feed21:55
lcukyes lardman21:55
lardmanapparently x-chat is not so stable21:55
lcukE:TOOMUCHWINE21:55
lardmannothing to do with me, just vanished21:55
lardmanENOTENOUGHWINE21:55
lcuk:d21:55
lcukok jebba point taken about rss, thanks21:57
lcukim used to the mail interface21:57
* lardman crosses fingers that this bloody QTableWidget will actually confirm to his will21:57
lardmans/confirm/conform21:57
lardmaneven21:57
lcuklardman, it wont give up without a fight21:58
lcuki recommend kung fu21:58
* lardman knows some pressure points22:00
*** frals has quit IRC22:01
*** frals has joined #maemo-devel22:03
lardmanhmm, bloody table, all I can see if bits of it, where on earth is the rest22:04
lardmanis dynamic_cast necessary?22:07
lcuklardman, arg i wouldnt know22:08
lardmanas in the keyword22:10
lardmandynamic_cast<>()22:10
*** onen|openBmap has joined #maemo-devel22:10
*** DocScrutinizer51 has quit IRC22:22
*** Docscrutemp has joined #maemo-devel22:22
*** Docscrutemp is now known as DocScrutinizer5122:22
lardmanhmm, I really don;t know what's up with this table22:23
lardmanall I see are the vertical and bottom horizontal lines between cells22:24
lardmanno contents22:24
*** DocScrutinizer51 has quit IRC22:32
fiferboylardman: What are you using for the table contents?  A model of some sort?22:32
*** Docscrutemp has joined #maemo-devel22:32
*** Docscrutemp is now known as DocScrutinizer5122:32
*** onen|openBmap has quit IRC22:36
*** thp has joined #maemo-devel22:41
*** sleipnir has quit IRC22:44
lardmanfiferboy: no, I think that may be my problem22:50
lardmanfiferboy: how are you and the family these days?22:51
fiferboylardman: We are good.  Trying to see if a trip to Florida is in the cards for this year22:51
fiferboylardman: How are your vacation plans coming?22:51
lardmannot vacation actually, am going to conferences so thought we'd get some holiday in too22:52
lardmangoing to go see how much the various flight combos will be at the weekend22:52
*** hrw is now known as hrw|gone22:53
lardmando you happen to know if the QTableWidgetItem renders itself, I guess so?22:53
lardmanam wondering if my best bet is to subclass that and use a QTableWidget to contain them22:54
fiferboylardman: The QTableWidgetItem would be rendered by the default item delegate (presuming you don't override with a custom delegate)22:54
lardmanhmm22:54
lardmanwho does the delegate belong to?22:54
fiferboyI think QStyledItemDelegate22:54
lardmanballs22:54
fiferboyThat is the case with QTableView, I would think it would be the same with QTableWidget22:55
lardmanok, so say I want to have some item in each cell, said item contains a raw barcode and optionally a decoded one and an image, how would I go about doing that?22:55
fiferboyWhat does a raw barcode look like?  Just text?22:56
lardmanyep22:56
fiferboyThe way I would do it would be to have a QStandardItemModel with two columns, and for each barcode you add an item to the model22:57
fiferboyThen create a QTableView and set the model to be the model you just created22:57
lardmanok22:57
lardmanand how does it decide what to display in the cell?22:57
fiferboyIt uses the default delegate for the data type you are trying to display (text) and renders it22:58
lardmanbut I might want to display text or text+image22:59
fiferboyWhen you create your QStandardItemModel you give each column a datatype22:59
lardmanah ok22:59
lardmanI'd like to have a table with e.g. 1 row and n columns22:59
fiferboyIf you have an image you can assign it either to its own column, or you can set it to be the DecorationRole of the data column22:59
lardmanwhere each column can contain something, either the text or the text+image (overlayed perhaps)_23:00
lardmanok, DecorationRole sounds useful23:00
fiferboydecorations are typically displayed as a small thumbnail at the start of the column (although you can adjust where it goes)23:00
lardmanper-cell though?23:00
lardmani.e. image for each cell23:00
fiferboyYes23:01
lardmanok, will do some reading about QStandardItemModels; thanks :)23:04
fiferboylardman: NP.  There are other model types that might make more sense for you.  Where is the info coming from?  database?23:07
lardmanis a barcode scanned history list23:09
lardmanso just adding data to something to be displayed, so that the user can go back and look at what they;ve scanned23:09
lardmanwill only be for ~10 barcodes or so though, so no real need for heavyweight dbs, etc23:10
*** Mek has quit IRC23:11
SpeedEviloooh.23:12
SpeedEvilEXIF tagging barcodes.23:12
SpeedEvilThat would be nice.23:12
SpeedEvilCould even be done with the standard cam thing.23:12
lardmanEXIF how?23:12
lardmanyou mean in the barcode image file?23:13
SpeedEvilBut would I suppose need some info to feedback to the user.23:13
lardmanto say where and when it was recorded for example?23:13
SpeedEvilno - I mean to autotag with barcodes the output jpegs from the normal camera23:13
lardmanno point in using barcodes really23:14
SpeedEvilJust thinking randomly23:15
lardman:)23:15
lardmanalways good23:15
SpeedEvilIt could for example - be used to search for all pictures of baked beans on flickr uploaded by the n900.23:16
SpeedEvilBut... :)23:16
lardmanbetter to use keywords surely?23:16
* lardman heads for the TV for a bit, then back to Table models....23:17
SpeedEvilTrying to work out stuff.23:17
SpeedEvilwave23:17
lcuksaving the identified barcode in EXIF is a great idea23:17
*** shinkamui has joined #maemo-devel23:17
SpeedEvilbeen playing with the raw camera modes23:18
SpeedEvilfun23:18
*** AndrewFBlack has quit IRC23:18
*** blfgomes has quit IRC23:24
*** Guest37835 has joined #maemo-devel23:28
*** slonopotamus has quit IRC23:30
*** fiferboy has quit IRC23:31
*** t-tan has joined #maemo-devel23:34
*** Guest37835 is now known as Turnik23:35
*** woglinde has joined #maemo-devel23:35
*** kamui__ has quit IRC23:35
*** Turnik has left #maemo-devel23:40
*** slonopotamus has joined #maemo-devel23:54
*** blfgomes has joined #maemo-devel23:59

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!