2013-03-21 00:00 lekernel has quit [Quit: Leaving] 2013-03-21 00:22 Is there a way to programmatically adjust the CPU's clock speed? 2013-03-21 00:24 yes, through the sysfs interface 2013-03-21 01:01 pcercuei has quit [Ping timeout: 260 seconds] 2013-03-21 01:02 unclouded has joined #qi-hardware 2013-03-21 01:11 pcercuei has joined #qi-hardware 2013-03-21 01:18 liuqi has quit [Remote host closed the connection] 2013-03-21 01:28 emeb has quit [Quit: Leaving.] 2013-03-21 01:34 pcercuei has quit [Ping timeout: 258 seconds] 2013-03-21 01:40 On the Ben, is there any reason why an SDL-based UI would be much more efficient than a Qt-based one? 2013-03-21 01:41 pcercuei has joined #qi-hardware 2013-03-21 01:42 wolfspraul has joined #qi-hardware 2013-03-21 01:53 pcercuei has quit [Ping timeout: 260 seconds] 2013-03-21 01:53 pcercuei has joined #qi-hardware 2013-03-21 02:09 pcercuei has quit [Read error: No route to host] 2013-03-21 02:13 pcercuei has joined #qi-hardware 2013-03-21 02:27 pcercuei has quit [Ping timeout: 258 seconds] 2013-03-21 02:29 pcercuei has joined #qi-hardware 2013-03-21 02:41 xiangfu has joined #qi-hardware 2013-03-21 03:11 pcercuei has quit [Quit: Bye] 2013-03-21 04:03 DocScrutinizer05 has quit [Disconnected by services] 2013-03-21 04:03 DocScrutinizer05 has joined #qi-hardware 2013-03-21 04:11 guanucoluis has quit [Ping timeout: 260 seconds] 2013-03-21 04:46 xiangfu has quit [Ping timeout: 276 seconds] 2013-03-21 04:57 xiangfu has joined #qi-hardware 2013-03-21 05:02 xiangfu has quit [Ping timeout: 240 seconds] 2013-03-21 05:18 xiangfu has joined #qi-hardware 2013-03-21 05:24 xiangfu has quit [Ping timeout: 252 seconds] 2013-03-21 05:29 xiangfu has joined #qi-hardware 2013-03-21 05:32 xiangfu has quit [Read error: Connection reset by peer] 2013-03-21 05:34 xiangfu has joined #qi-hardware 2013-03-21 06:36 baba has quit [Ping timeout: 246 seconds] 2013-03-21 06:41 xiangfu has quit [Ping timeout: 276 seconds] 2013-03-21 06:42 xiangfu has joined #qi-hardware 2013-03-21 06:49 wolfspraul has quit [Quit: leaving] 2013-03-21 06:51 baba has joined #qi-hardware 2013-03-21 06:54 xiangfu has quit [Read error: Connection reset by peer] 2013-03-21 06:58 xiangfu has joined #qi-hardware 2013-03-21 07:35 dlan^ has quit [Ping timeout: 258 seconds] 2013-03-21 07:39 jluis has joined #qi-hardware 2013-03-21 07:45 apelete has joined #qi-hardware 2013-03-21 07:49 dlan^ has joined #qi-hardware 2013-03-21 07:59 jekhor has joined #qi-hardware 2013-03-21 08:03 xiangfu has quit [Ping timeout: 260 seconds] 2013-03-21 08:04 rz2k has quit [Read error: Connection reset by peer] 2013-03-21 08:04 xiangfu has joined #qi-hardware 2013-03-21 08:55 vignesh885 has joined #qi-hardware 2013-03-21 08:57 hi i have a seagate 1tb external harddisk and it is not being detected by the computer 2013-03-21 08:59 anoyne there?? 2013-03-21 09:12 vignesh885: which computer? is it related to the nanonote, milkymist or other projects from http://qi-hardware.com ? 2013-03-21 09:14 (which is what this channel is about) 2013-03-21 09:26 lekernel has joined #qi-hardware 2013-03-21 09:47 vignesh885 has quit [Quit: irc2go] 2013-03-21 10:20 dlan^ has quit [Remote host closed the connection] 2013-03-21 10:27 unclouded has quit [Ping timeout: 245 seconds] 2013-03-21 10:35 jekhor has quit [Ping timeout: 256 seconds] 2013-03-21 11:22 Calyp has joined #qi-hardware 2013-03-21 11:30 woakas has quit [Ping timeout: 255 seconds] 2013-03-21 11:35 woakas has joined #qi-hardware 2013-03-21 12:17 LunaVorax has joined #qi-hardware 2013-03-21 12:27 jekhor has joined #qi-hardware 2013-03-21 12:38 paroneayea has joined #qi-hardware 2013-03-21 12:47 pcercuei has joined #qi-hardware 2013-03-21 12:55 LunaVorax has quit [Read error: Connection reset by peer] 2013-03-21 13:21 jekhor has quit [Ping timeout: 264 seconds] 2013-03-21 13:44 xiangfu has quit [Ping timeout: 246 seconds] 2013-03-21 13:46 xiangfu has joined #qi-hardware 2013-03-21 14:20 pcercuei has quit [Ping timeout: 260 seconds] 2013-03-21 14:22 xiangfu has quit [Ping timeout: 260 seconds] 2013-03-21 14:23 xiangfu has joined #qi-hardware 2013-03-21 14:30 gbraad has quit [Ping timeout: 256 seconds] 2013-03-21 14:36 megha has joined #qi-hardware 2013-03-21 14:37 baba has quit [Ping timeout: 264 seconds] 2013-03-21 14:39 erikkugel has joined #qi-hardware 2013-03-21 14:41 emeb has joined #qi-hardware 2013-03-21 14:41 pcercuei has joined #qi-hardware 2013-03-21 14:45 jekhor has joined #qi-hardware 2013-03-21 15:06 megha has quit [Ping timeout: 256 seconds] 2013-03-21 15:10 megha has joined #qi-hardware 2013-03-21 15:24 Calyp has quit [Ping timeout: 246 seconds] 2013-03-21 15:32 erikkugel has quit [Quit: Leaving.] 2013-03-21 15:32 erikkugel has joined #qi-hardware 2013-03-21 15:51 rz2k has joined #qi-hardware 2013-03-21 16:34 jluis has quit [Ping timeout: 245 seconds] 2013-03-21 16:39 xiangfu has quit [Remote host closed the connection] 2013-03-21 16:54 mwcampbell: i think QT one could be more efficient 2013-03-21 16:54 in terms of UI and such, also more responsive i think 2013-03-21 16:55 well qt is not that lightweight 2013-03-21 16:57 qt is mega bloat 2013-03-21 16:57 use efl 2013-03-21 16:57 it's the least sucky toolkit around imo 2013-03-21 16:59 Can EFL use the framebuffer device directly? 2013-03-21 16:59 theoretically yes 2013-03-21 17:00 there is code for this, don't know about its bug rate 2013-03-21 17:02 lekernel: please, don't spread fud 2013-03-21 17:03 qt embedded is very lightweight for such an advanced framework 2013-03-21 17:03 oh yeah, it's advanced: it has lists, threads, networking, and what not 2013-03-21 17:03 so you end up very easily with code having 2 or more implementations of lists, threads, sockets, etc. 2013-03-21 17:05 yes, it's better to write your own shims for various components which were never intended to be used together in each application from scratch 2013-03-21 17:05 honestly, I'm not even going to discuss this 2013-03-21 17:05 a GUI toolkit should not have threads, networking, etc. - period! 2013-03-21 17:05 though I do agree that the set of abstractions provided by UNIX-like OSes is exceptionally shitty 2013-03-21 17:05 lekernel: well, it doesn't have an alternative. 2013-03-21 17:06 and face it, a statically linked hello world application using qt is over 20MB, lol 2013-03-21 17:07 lekernel: um, no, I don't think it is (if you don't link everything there is in Qt, including QtWebkit), or that this even matters 2013-03-21 17:07 besides, qt looks ugly, takes times to refresh stuff which causes flashes and transient visual chaos, and uses c++ 2013-03-21 17:07 my builds of Qt Embedded have had about 8 MB of shared code, which was not duplicated between the applets 2013-03-21 17:07 look at the ipad... and then look at qt 2013-03-21 17:08 um, you mean look at Cocoa, a gui toolkit which has threads, networking, etc. ? 2013-03-21 17:09 can't comment on the internal APIs since I have never tried to use them, but it looks good and it's responsive 2013-03-21 17:09 much better than anything else 2013-03-21 17:10 this is a bullshit argument, honestly 2013-03-21 17:10 do you know the single trick which is required for your app to be that responsible on touchscreen devices? 2013-03-21 17:10 do everything GUI-related on a dedicated thread and give it the highest priority. 2013-03-21 17:10 and especially qt, gtk and let's not mention crap designed specifically for x-windows (eg http://www.opengroup.org/openmotif/banner3.jpg) 2013-03-21 17:11 this is why android 2.x was slow. this is why android 3/4 isn't anymore. this is the sole reason iOS feels responsive. 2013-03-21 17:11 it has absolutely zero things to do with framework design and whatnot 2013-03-21 17:12 (ugliness is subjective. I'd rather not touch the glossy shit ever in my life.) 2013-03-21 17:16 whitequark: Your rebuttal makes sense. 2013-03-21 17:17 hehe thanks 2013-03-21 17:17 So is Qt a reasonable choice for a UI that will be usable on a device with no mouse or touchscreen, like the NanoNote? 2013-03-21 17:18 mwcampbell: considering the most recent qt snapshot still fits in the RAM of NN and leaves enough space to run the applications, yes 2013-03-21 17:18 if you want to make a shitty GUI "open source always get a second class seat" yes 2013-03-21 17:20 lekernel: besides, what do you think one should use instead of C++? 2013-03-21 17:21 (please don't say python. for the love of everything good in this world. for kittens.) 2013-03-21 17:21 lekernel: I don't care about surface aesthetics, as long as I can make the UI responsive. My only concern in that area is whether a framebuffer without GPU acceleration is going to be too inefficient. 2013-03-21 17:21 well, lua looks interesting 2013-03-21 17:21 mwcampbell: Qt Embedded was originally designed for devices without GPU, well, because when it was designed, there were no such devices. 2013-03-21 17:22 and btw "surface" aesthetics is the purpose of a GUI, otherwise use command line 2013-03-21 17:24 aestethics has nothing to do with usability. taking your ipad, I can make every corner straight and paint it black&white. it won't get less convenient. 2013-03-21 17:24 lekernel: The purpose of a GUI is usability. Gradients versus solid backgrounds, 3D versus flat UI, is only skin-deep, and isn't something worth considering IMO when choosing a foundational technology. 2013-03-21 17:24 that being said, open source guis probably have the most shitty usability of all software ever written 2013-03-21 17:25 be it KDE, GNOME with snake-oil HIG, or whatever 2013-03-21 17:26 why should the UI toolkit be a "foundational" technology? they should not have threads, database access, networking, etc. 2013-03-21 17:27 lekernel: because it had, and mostly, still has, nothing to be based on. 2013-03-21 17:27 pthreads is not a sensible API, BSD sockets is not a sensible API, and so on. 2013-03-21 17:27 just as string.h is not a sensible API. 2013-03-21 17:27 http://qt-project.org/search/tag/qmysql what the hell, seriously :) 2013-03-21 17:28 yes, right 2013-03-21 17:28 lekernel: do you know what ODBC is? 2013-03-21 17:28 but how about decoupling the rendering part from sockets, threads, etc.? 2013-03-21 17:28 lekernel: it's not coupled? 2013-03-21 17:29 well it is: you have QThread, QMYSQL ... 2013-03-21 17:29 so? 2013-03-21 17:29 why should you need any of this to define what a button looks like, and how it responds to a given event? 2013-03-21 17:29 you don't need that? 2013-03-21 17:29 lekernel: Those are separate libraries. 2013-03-21 17:29 don't link QMySQL, don't get it 2013-03-21 17:29 And if you're linking statically, modern toolchains can even eliminate dead code on a per-function basis 2013-03-21 17:30 last time I checked, gcc/binutils still didn't - but don't get me started on that ... 2013-03-21 17:30 gcc is not modern :p 2013-03-21 17:30 gold has some support for LTO but it never really worked for me 2013-03-21 17:30 you can put each function in it's own section with gcc 2013-03-21 17:30 MSVC can do that, LLVM can do that, ICC can do that, IAR can do that... 2013-03-21 17:31 yeah there's -ffunction-sections, but it's a bit messy 2013-03-21 17:31 combine that with the -gc-sections linker option, and there you have it, dead-code elimination 2013-03-21 17:33 LTO is better still, of course, since then you can have cross-module inlining 2013-03-21 17:33 IPSCCP also 2013-03-21 17:34 and DAE 2013-03-21 17:34 -ffunction-sections/-gc-sections take forever on a moderately sized program, which I guess is why those options aren't turned on by default 2013-03-21 17:34 What are IPSCCP and DAE? 2013-03-21 17:34 interprocedural sparse conditional constant propagation and dead argument elimination 2013-03-21 17:35 well, linking webkit with LTO takes ~8 hours on a 12-core desktop i7, or that's what I've been told 2013-03-21 17:35 webkit is also enourmous 2013-03-21 17:35 (that was MSVC IIRC) 2013-03-21 17:36 but apparently the Chrome project considers it worthwhile to do so 2013-03-21 17:36 it is. 2013-03-21 17:36 especially for Webkit, which is a huge C++ codebase with lots of small, often hot functions. 2013-03-21 17:38 whitequark: I know I'm getting a bit off-topic here, but can current LTO implementations also detect virtual functions that only have one implementation and turn them into plain functions, to avoid the indirection of a vtable dispatch? 2013-03-21 17:38 mwcampbell: no, because you might load alternative implementations at runtime 2013-03-21 17:38 well, you probably wouldn't do this during development, but for release binaries it makes sense. since you only compile once, but run it quite often 2013-03-21 17:39 mwcampbell: though if they're module-internal, then yes, LLVM can do that in some cases 2013-03-21 17:42 I wonder if the Linux kernel would benefit much from LTO. Of course, that would only be effective if one disabled loadable modules. 2013-03-21 17:43 there are some people experimenting with lto for the kernel 2013-03-21 17:43 mwcampbell: not necessarily 2013-03-21 17:43 unless you override existing functions, you still can keep the uninlined version and export the same symbol for modules 2013-03-21 17:43 trading off size for performance, of course 2013-03-21 17:45 http://lwn.net/Articles/512335/ 2013-03-21 17:49 I imagine one could achieve another performance boost by combining the application and the OS in one binary, as some RTOSes do, and applying LTO to that. But of course such a system is much less hackable than a general-purpose OS like Linux. 2013-03-21 17:53 I vaguely remember Qt Embedded having its own windowing system of sorts, so one could at least flip between applications without having to run each one on its own virtual console. 2013-03-21 17:53 paul_boddie has joined #qi-hardware 2013-03-21 17:54 mwcampbell: yeah it has its own framebuffer compositor 2013-03-21 17:54 there isn't a way to share a framebuffer otherwise. DFB has its own, GTK... I've no idea but probably the same 2013-03-21 17:54 Does the version of Qt on the NanoNote have that compositor? 2013-03-21 17:55 If you want to reduce the "bloat" in Qt, configure it without WebKit. 2013-03-21 17:55 well there's this 2013-03-21 17:55 http://en.wikipedia.org/wiki/OPIE_user_interface 2013-03-21 17:55 ah yes, I remember OPIE 2013-03-21 17:57 Besides, the whole reason for providing threading, database stuff in Qt is because somebody has to: C++ doesn't have high-level libraries for that stuff out of the box. Also, the data types in Qt date from a time when the STL wasn't ready for prime time, and I think they're trying to reconcile all that in Qt 5. 2013-03-21 17:58 Of course, Qt should be more modular and that was a goal of the developers, but they got carried away and made Qt larger and often more reliant on the peripheral libraries because they didn't finish the job (as far as I understand it). 2013-03-21 17:59 And then some bright spark decided to suck in WebKit and duplicate half the stack (multiple JavaScript, XML libraries), but that may have been in the Nokia era where targeting Symbian was seen as a "good idea". 2013-03-21 18:00 Calyp has joined #qi-hardware 2013-03-21 18:01 I observe that the version of Qt in the NanoNote image doesn't have WebKit, so that's not an issue. 2013-03-21 18:03 You'd have to leave WebKit out of any build for the NanoNote purely for memory exhaustion reasons. I guess you could try and configure it aggressively to only have the fundamental UI stuff. In fact, this is one of the things that Python developers found weird about Qt: that it "duplicated" libraries that you'd normally use instead in Python. 2013-03-21 18:03 I have no interest in trying to port WebKit to the NanoNote. 2013-03-21 18:04 Then again, there were benefits to wrapping qtxml or KHTML in Python and having a proper DOM, the latter even with support for stuff like ranges, mostly because of the continuous whining in the Python community about the DOM and their scorched earth retreat from the interactive Web. 2013-03-21 18:06 s/the interactive Web/supporting and developing client technology for the Web/ 2013-03-21 18:06 paul_boddie meant: "Then again, there were benefits to wrapping qtxml or KHTML in Python and having a proper DOM, the latter even with support for stuff like ranges, mostly because of the continuous whining in the Python community about the DOM and their scorched earth retreat from supporting and developing client technology for the Web." 2013-03-21 18:07 BTW, I read on LWN today that in the Raspberry Pi talk at PyCon, Eben Upton says that they use Python to develop and verify their opaque Broadcom silicon. 2013-03-21 18:18 What about QtMoko? http://qtmoko.sourceforge.net/ 2013-03-21 18:35 guanucoluis has joined #qi-hardware 2013-03-21 18:50 paul_boddie has left #qi-hardware ["Kopete 0.11.3 : http://kopete.kde.org"] 2013-03-21 18:56 pcercuei has quit [Ping timeout: 272 seconds] 2013-03-21 19:00 pcercuei has joined #qi-hardware 2013-03-21 19:19 pcercuei has quit [Ping timeout: 260 seconds] 2013-03-21 19:20 pcercuei has joined #qi-hardware 2013-03-21 19:30 pcercuei has quit [Read error: No route to host] 2013-03-21 19:31 pcercuei has joined #qi-hardware 2013-03-21 19:34 viric has quit [Ping timeout: 256 seconds] 2013-03-21 19:36 viric has joined #qi-hardware 2013-03-21 20:15 HoytCorkins has joined #qi-hardware 2013-03-21 20:16 hello 2013-03-21 20:17 jekhor has quit [Ping timeout: 260 seconds] 2013-03-21 20:17 someone here? 2013-03-21 20:18 HoytCorkins has quit [Client Quit] 2013-03-21 20:22 yep 2013-03-21 20:28 rz2k has quit [Read error: Connection reset by peer] 2013-03-21 21:01 pcercuei has quit [Ping timeout: 245 seconds] 2013-03-21 21:02 pcercuei has joined #qi-hardware 2013-03-21 21:28 guanucoluis has quit [Ping timeout: 264 seconds] 2013-03-21 21:41 mwcampbell has quit [Ping timeout: 260 seconds] 2013-03-21 21:48 sivoais has quit [Ping timeout: 252 seconds] 2013-03-21 21:48 sivoais has joined #qi-hardware 2013-03-21 22:01 jekhor has joined #qi-hardware 2013-03-21 22:02 mth has quit [Read error: Operation timed out] 2013-03-21 22:03 mth has joined #qi-hardware 2013-03-21 22:26 jekhor has quit [Ping timeout: 240 seconds] 2013-03-21 22:51 pcercuei has quit [Ping timeout: 245 seconds] 2013-03-21 22:51 pcercuei has joined #qi-hardware 2013-03-21 22:52 Jurting_pc2 has joined #qi-hardware 2013-03-21 23:01 lekernel has quit [Quit: Leaving] 2013-03-21 23:06 pcercuei has quit [Quit: Bye] 2013-03-21 23:09 apelete has quit [Ping timeout: 264 seconds] 2013-03-21 23:10 security has joined #qi-hardware 2013-03-21 23:12 megha has quit [Ping timeout: 276 seconds] 2013-03-21 23:25 guanucoluis has joined #qi-hardware 2013-03-21 23:32 guanucoluis has quit [Ping timeout: 245 seconds] 2013-03-21 23:34 guanucoluis has joined #qi-hardware 2013-03-21 23:53 KokAz has joined #qi-hardware 2013-03-21 23:53 KokAz has quit [Remote host closed the connection] 2013-03-21 23:53 KokAz has joined #qi-hardware