[01:10] <PyObjectPtr> nixternal: before that were 50 or so commits in a branch :P
[01:10]  * PyObjectPtr also did another 30 since then in another branch
[01:10]  * PyObjectPtr is implementing the u1 api
[01:10]  * PyObjectPtr didnt even know u1 had an api until a few hours ago ^^
[01:26] <nixternal> PyObjectPtr: quit changing your name
[01:27] <static_name> nixternal: happy now?
[01:29] <static_name> hm
[01:29] <static_name> seems my getQuota() is already working
[01:30]  * static_name thinks a caching system would be nice to have with such an api
[01:37] <apachelogger> apachelogger->goTo(Bed);
[01:46] <nixternal> g'nite apachelogger 
[01:46] <DarkwingDuck> what's up gang?
[02:04] <nixternal> seeing how many canucks I can piss off  tonight
[02:04] <nixternal> http://www.cbc.ca/canada/montreal/story/2010/05/14/quebec-cycling-accident.html
[02:04] <nixternal> that story combined with the comments prove they are just as stupid as they claim we are
[04:34]  * JontheEchidna back home
[04:34]  * JontheEchidna goes off to bed
[08:45] <apachelogger> JontheEchidna: yes and no, while one could upstream that patch in a more appropriate version (i.e. if(NOT MYSQLD_EXECUTABLE) find_program etc.) which of course is of no concern to debian, the patch tries to archive something different, it essentially eliminates the need to search for mysqld and thus makes the package not build-dep on mysqld
[08:45] <apachelogger> however
[08:46] <apachelogger> we do not use mysqld but **COPY** it from the mysql-server package to akonadi as mysqld-akonadi
[08:46] <apachelogger> and, since debian in all its glory hardcoded the name of the daemon we just override that using debian/rules
[08:47] <apachelogger> otherwise we would have to patch the patch or change the patch which both are recepies for troubles and lost-in-merge-issues
[09:45] <apachelogger> Riddell: around?
[10:07] <apachelogger> Internal Server Error \o/
[10:07]  * apachelogger broke u1
[10:11] <bulldog98> Riddell: rekonq is translated
[10:12] <bulldog98> it’s in the kde extragear trunk for translation
[10:21] <apachelogger> http://flavio.castelli.name/qjson-qobject-serialization-deserialization now that puts implementing a json api into a whole new perspective
[10:46] <apachelogger> hm
[10:46] <apachelogger> ok, this is pretty cool
[10:47] <apachelogger>             Quota q;
[10:47] <apachelogger>             QJson::QObjectHelper::qvariant2qobject(data.toMap(), &q);
[10:47] <apachelogger> kubotu: identica dent <3 !qjson - it is uberawesome
[10:47] <kubotu> status updated
[11:36] <Quintasan> \o
[12:35] <apachelogger> http://imagebin.ca/view/HM9fpP.html
[13:26] <Quintasan> apachelogger: fck yeah
[13:26] <Quintasan> but I use dropbox :P
[13:26] <apachelogger> holy shifting paradigm
[13:26] <apachelogger> !
[13:26]  * apachelogger goes mad over implementing the api
[13:31] <apachelogger> /usr/include/qt4/QtCore/qobject.h: In member function ‘UbuntuOne::Api::SubscriptionObject& UbuntuOne::Api::SubscriptionObject::operator=(const UbuntuOne::Api::SubscriptionObject&)’: 
[13:31] <apachelogger> /usr/include/qt4/QtCore/qobject.h:309: error: ‘QObject& QObject::operator=(const QObject&)’ is private 
[13:32]  * apachelogger is wondering why moc cant just use the copy constructor -.-
[13:39] <Sput> apachelogger: QObject prohibits copying
[13:40] <apachelogger> yeah, but I am not feeling like implementing an assignment constructor and for some reason pointers do not work
[13:40] <Sput> apachelogger: well, I guess Qt has a reason for prohibiting copying... I think the whole object hierarchy thingy would end up in a burning mess if we started copying QObjects around
[13:41] <Sput> so fix the reason why pointers don't work for you instead :P
[13:42] <apachelogger> qt is privativing = and copy ctor so that one does not end up with shallow copies by accident ;)
[13:46] <apachelogger> ther is some qjson magic I do not see, but probably it has to do with QVariants vs. custom type
[13:47] <apachelogger> it appears as if the metacall for the variant in question never gets issued :(
[14:26] <apachelogger> ah!
[14:26] <apachelogger> so
[14:26] <apachelogger> the way qjson applies a json object to a qobject
[14:26] <Quintasan> looks like apachelogger rediscovered the wheel
[14:26] <Quintasan> :P
[14:26] <apachelogger> a) it converts the json object to a qvariant
[14:27] <apachelogger> b) it runs through all of target_qobject's properties and tries to use setPropert() using the appropriate part of the qvariant
[14:27] <apachelogger> problem: setProperty's prototype is bool QObject::setProperty ( const char * name, const QVariant & value )
[14:28] <apachelogger> that means that above approach only works for data types supported by QVariant
[14:29] <apachelogger> so the only approach to marshal an object within an object is to first marshal the parent, then marshal the child and then link them together
[14:29] <apachelogger> suffice to say I already feel the headache on the run
[14:40] <Sput> apachelogger: QVariant can support any datatype
[14:40] <Sput> that's what qRegisterMetatype is for
[14:41] <Sput> you need to provide serializers for the type
[14:51] <Sput> hehe. the Federal Convention of the German Pirate Party is world trending topic in twitter. Take that, Mark! :)
[14:52] <Sput> *worldwide trending topic even
[15:10] <apachelogger> Sput: that sounds too evil for the mental condition I am in right now ;)
[15:13] <apachelogger> anyhow
[15:14] <apachelogger> ohh
[15:14]  * apachelogger will have to get a new brain if his sister continues to sing like that
[15:15] <apachelogger> oh my, she cant even hold a note -.-
[15:17] <Sput> apachelogger: defining an operator>>() for QDataStream isn't hard :)
[15:17]  * apachelogger is doing marshaling between qt and dbus datatypes, so he knows :P
[15:17] <apachelogger> "To use the type T in QVariant, using Q_DECLARE_METATYPE() is sufficient. "
[15:18]  * apachelogger actually had done that
[15:18] <apachelogger> well, this defenitely needs some looking into
[15:19] <apachelogger> but for now, marshaling the json to the child-objects manually should be sufficient
[15:19] <apachelogger> m_plan->setText(account.subscription()->description()); is so much better than m_plan->setText(account.subscription()["description"].toString());
[15:24] <Sput> apachelogger: hmm, quite sure that you also need the stream operators
[15:24] <Sput> Q_DECLARE_METATYPE_STREAM_OPERATORS()
[15:24] <Sput> or something
[15:25] <Sput> Note that if you intend to use the type in queued signal and slot connections or in QObject's property system, you also have to call qRegisterMetaType() since the names are resolved at runtime.
[15:25] <Sput> ah, yeah, you need that obviously for the marshalling
[15:25] <apachelogger> *nod*
[15:25] <Sput> right, for queued signal/slots QVariant needs to do actual serialization
[15:26] <Sput> for direct calls, it doesn't need to bother, so no need to register it in the dynamic type system
[15:26] <Sput> and it's qRegisterMetaTypeStreamOperators() :)
[15:37] <apachelogger> well then
[15:37] <apachelogger> Sput: there comes the need for copy constructors
[15:37] <Sput> apachelogger: no?
[15:38] <Sput> I don't see where you'd need to copy objects
[15:38] <apachelogger> gcc wants to eat me once I added the metatype stuff
[15:38] <Sput> YDIW then
[15:38] <Sput> you could show a buildlog :P
[15:40] <apachelogger> Sput: http://paste.ubuntu.com/433873/
[15:41] <apachelogger> ah
[15:41] <apachelogger> Sput: This macro makes the type Type known to QMetaType as long as it provides a public default constructor, a public copy constructor and a public destructor.
[15:41] <apachelogger> from the documentatoin of Q_DECLARE_METATYPE
[15:41] <apachelogger> so obviously I did not do it wrong :P
[15:46] <Sput> apachelogger: very weird
[15:48] <apachelogger> Sput: maybe it is there so that people who dont know how to implement a cctor wont mess with the metatypes ;)
[15:48] <apachelogger> i.e. people like Quintasan
[15:51] <apachelogger> well
[15:51] <apachelogger> something I do wrong
[15:51] <apachelogger> I have a class Account, that has a member of type Subscription and that has a member of type SubscriptionUpgrade
[15:51] <apachelogger> Subscription and SubscriptionUpgrade both have SubscriptionObject as base, and that is a QObject
[15:53] <apachelogger> now if I try to let qjson do magic on an instance of Account automoc will cause failure because ... if the Subscription instance is not a pointer, it will want to have an assignment operator overload
[15:53] <apachelogger> only god knows why
[15:53] <apachelogger> if I make it a pointer the qjson magic fails for whatever reason there might be (or maybe the Qt property stuff does...)
[15:53] <apachelogger> this is all very meh.
[16:03] <jtechidna> Neat @ kde bug 227127
[16:03] <jtechidna> I'm sold for rekonq ;)
[16:14] <unggnu> hi all
[16:15] <unggnu> There is a patch for KDE since Karmic which allows to change brightness of lcds. Does anyone know where to find it? It doesn't seem to be available upstream.
[16:20] <unggnu> I mean this fix: https://bugs.launchpad.net/ubuntu/+source/kubuntu-default-settings/+bug/293213/comments/21
[17:36] <Quintasan> apachelogger: hey, who the hell can't implement a ctor?
[17:39]  * Quintasan goes out for some sort of event
[17:42] <apachelogger> Quintasan: you
[17:42] <Quintasan> :<
[17:43] <Quintasan> void Horse::Horse() { std::cout << "I'm a horse, I can't help you" << std::endl; }
[17:43] <Quintasan> who cares if it's useless? :P
[17:47] <apachelogger> see, what troubles me is that void right there :P
[17:47] <apachelogger> doesnt get any more pointless than that
[17:47] <Quintasan> [18:43] <Quintasan> who cares if it's useless? :P
[17:47] <Quintasan> :P
[17:49] <apachelogger> well then
[17:49] <apachelogger> I was talking about cctors
[17:50] <apachelogger> and that is no cctor :P
[17:53] <apachelogger> api is at 743 sloc -.-
[17:59] <Riddell> apachelogger: you pinged?
[18:00] <apachelogger> Riddell: I forgot what it was about ... something about Qt's type system probably :)
[18:00] <apachelogger> Riddell: btw, authing works for the better part, and I am currently implementing the ubunuone REST api (necessary for KCM)
[18:01] <Riddell> apachelogger: careful or you'll have it all implemented before SoC begins :)
[18:01] <apachelogger> ^^
[18:02]  * apachelogger wants the UI stuff out of the way so he can dive into akonadi :)
[18:36] <JontheEchidna> Riddell: I meant to bring this up at UDS, but I forgot. Can we merge virtuoso this cycle?
[18:36] <JontheEchidna> Debian has a dedicated maintainer now, so it shouldn't be a great burden on our part
[18:44] <JontheEchidna> Patch review page needs set up too
[18:47] <nigelb> JontheEchidna: patch review?
[19:04] <JontheEchidna> nigelb: Like this, except for maverick: https://wiki.kubuntu.org/Kubuntu/LucidPatchReview
[19:08] <Riddell> JontheEchidna: we should merge everything unlesss there's a good reason not to
[19:09] <JontheEchidna> Riddell: Ok. I was wondering because of the hoops we needed to jump through for getting the MIR approved, but I suppose that keeping a separate package from Debian would be less secure since we'd have to maintain it ourselves
[19:10] <JontheEchidna> Hah, Roman really does look different with long hair
[19:11] <nigelb> JontheEchidna: nice page :)
[19:15] <JontheEchidna> nigelb: It was really helpful last cycle. :)
[19:16] <JontheEchidna> Hmm, my aunt seems anxious for Belgium pictures on Facebook
[19:16] <JontheEchidna> I'd better get right on that
[19:21] <nigelb> JontheEchidna: um, belgium, pictures, I'm anxious too!
[19:21] <JontheEchidna> ;)
[20:23] <JontheEchidna> hrm, pkg-kde-tools needs a newer dpkg
[21:33] <JontheEchidna> nigelb: http://www.facebook.com/album.php?aid=213233
[21:33] <JontheEchidna> (Dunno if people without FB accounts can see it though)
[21:40] <ryanakca> JontheEchidna: Even with a FB account I can't see it
[21:42] <JontheEchidna> ryanakca: I should add you as a friend then
[21:43] <JontheEchidna> hmm, there are like 5 Ryan Kavanaghs
[21:56] <nigelb> JontheEchidna: can add me as friend too?
[21:58] <JontheEchidna> nigelb: I can't find you on facebook
[21:58] <JontheEchidna> unless your profile picture is of the pope
[21:58] <nigelb> JontheEchidna: no
[21:59] <nigelb> did you try 'nigel babu'?
[21:59] <JontheEchidna> ...or if you're a woman from south africa
[21:59] <JontheEchidna> yes
[22:00] <JontheEchidna> I get this searching for "nigel babu": http://simplest-image-hosting.net/i0-plasma-desktoptw1449-jpg.jpg
[22:00] <nigelb> oh, my fault
[22:00] <nigelb> account privacy settings
[22:00] <JontheEchidna> ah, right
[22:01] <nigelb> added you :)
[22:01] <JontheEchidna> confirmed
[22:02] <nigelb> awesome, thanks
[22:09]  * nigelb comments furiously.
[22:09] <nigelb> I hope JontheEchidna doesn't regret adding me :D
[22:09] <JontheEchidna> Naw. ;)
[22:42] <ryanakca> JontheEchidna: You could try making the album visible to everyone? (If that's possible. I don't use FB all that much, so I'm guessing)
[22:43] <ryanakca> Ah, nevermind, it is visible to all