Friday, 2016-07-15

*** Nokius_ <Nokius_!~Nokius@p508BA69E.dip0.t-ipconnect.de> has joined #mer00:45
*** Nokius <Nokius!~Nokius@p5DDB44C7.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 252 seconds)00:48
*** KaIRC <KaIRC!~robert@193-80-254-28.adsl.highway.telekom.at> has quit IRC (Remote host closed the connection)01:04
*** wmarone|tmp <wmarone|tmp!~no@c-50-161-249-110.hsd1.ca.comcast.net> has joined #mer01:09
*** wmarone <wmarone!~no@c-50-161-249-110.hsd1.ca.comcast.net> has quit IRC (Read error: Connection reset by peer)01:09
*** diego_r <diego_r!~diego@host65-246-static.10-188-b.business.telecomitalia.it> has quit IRC (Ping timeout: 240 seconds)01:20
*** diego_r <diego_r!~diego@host65-246-static.10-188-b.business.telecomitalia.it> has joined #mer01:21
*** adurol_ <adurol_!~adurol@x4d058c61.dyn.telefonica.de> has joined #mer01:52
*** adurol <adurol!~adurol@unaffiliated/adurol> has quit IRC (Ping timeout: 276 seconds)01:56
*** frinring_ <frinring_!~frinring@x4db4c9ca.dyn.telefonica.de> has joined #mer02:22
*** frinring <frinring!~frinring@x4db35dd8.dyn.telefonica.de> has quit IRC (Disconnected by services)02:22
*** frinring_ is now known as frinring02:22
*** lpotter <lpotter!~quassel@2001:8003:6143:c400:76e6:e2ff:fee0:8120> has quit IRC (Read error: Connection reset by peer)04:03
*** lpotter <lpotter!~quassel@2001:8003:6143:c400:76e6:e2ff:fee0:8120> has joined #mer04:04
*** DrCode <DrCode!~DrCode@5.28.134.3> has quit IRC (Ping timeout: 264 seconds)04:16
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@37.167.54.234> has joined #mer05:01
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@37.167.54.234> has quit IRC (Ping timeout: 250 seconds)05:23
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@37.165.138.209> has joined #mer05:35
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@37.165.138.209> has quit IRC (Ping timeout: 246 seconds)05:40
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@37.165.252.206> has joined #mer05:57
*** phaeron <phaeron!~iamer@dd-656yj0-c3s--wfkv2t-3.rev.dnainternet.fi> has joined #mer06:14
*** adurol_ is now known as adurol06:17
*** adurol <adurol!~adurol@x4d058c61.dyn.telefonica.de> has quit IRC (Changing host)06:17
*** adurol <adurol!~adurol@unaffiliated/adurol> has joined #mer06:17
Sfiet_Konstantinping chriadam06:23
*** phaeron <phaeron!~iamer@dd-656yj0-c3s--wfkv2t-3.rev.dnainternet.fi> has quit IRC (Ping timeout: 250 seconds)06:23
Sfiet_Konstantinwould you be unhappy if stuff like contacts data goes over dbus before landing in an application ?06:24
chriadamif it's not a peer-to-peer dbus connection, then yes06:28
chriadamanyone on the session bus can be snooped06:28
*** Nokius_ is now known as Nokius06:34
Sfiet_Konstantinchriadam: I'm thinking about the system bus06:35
Sfiet_Konstantinbasically I'm thinking about a simple authentification system06:39
Sfiet_Konstantinbased on polkit, and where replies would be sent via DBus06:39
*** alien_ <alien_!~majeru@131.228.216.132> has joined #mer06:40
Sfiet_Konstantinapp asks a daemon: "give me this and that", the daemon authorizes the call via polkit, and replies via dbus06:40
Sfiet_Konstantinmuch like kauth framework in KDE06:40
chriadamI like the idea06:40
chriadammy concern would simply be whether the calls and responses were properly protected from snoopers.  if so, sounds like a very nice idea.06:41
Sfiet_Konstantinchriadam: I'm trying to address this06:41
Sfiet_Konstantin1. system bus06:41
Sfiet_Konstantin2. additional config at the bus side06:41
Sfiet_Konstantinthe problem will be: rewiring qtcontacts (you don't call the DB directly anymore, you call a DBus interface)06:42
chriadamcan do that in the backend06:43
chriadamie, the default manager06:43
Sfiet_Konstantindefault manager ?06:43
chriadamthen just performs a bunch of dbus calls to the system daemon via dbus06:43
chriadamso, when you construct a QContactManager06:43
chriadaminternally, that causes a QContactManagerEngine to be instantiated06:43
chriadamyou can either construct a specific one, or if you don't pass any params, you get the default one06:43
chriadamso the default one could be the "talks to dbus and exposes responses" one06:44
*** SfietKonstantin <SfietKonstantin!~sk@37.161.240.59> has joined #mer06:45
SfietKonstantinback06:45
SfietKonstantinback06:45
SfietKonstantinchriadam: I was saying that I will try on a dummy daemon written from scratch06:45
SfietKonstantinand maybe do some Qt contacts work afterwards06:45
chriadamsure06:46
SfietKonstantinI wonder how this model would apply for other components06:46
SfietKonstantinlike access to GPS or camera06:46
w00tmake sure to do some performance measurements - dbus is not really well suited to having large volumes of data sent over it, so with a large number of contacts, you may run into some pretty nasty walls06:46
SfietKonstantinw00t: I was worried of that06:47
SfietKonstantinany hints from your side ?06:47
chriadamw00t: is that the case even for p2p dbus sockets, do you know?06:47
w00ti don't have exact measurements to hand, just that it has been a pain point elsewhere06:47
*** arcean <arcean!~arcean@62.159.77.164> has joined #mer06:47
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@37.165.252.206> has quit IRC (Ping timeout: 276 seconds)06:48
chriadamyeah, fair enough.  I guess the marshalling and demarshalling isn't exactly a lightweight operation06:48
w00ti would hope p2p would be better if it doesn't go through dbus-server (i'd hope not), but you'll still have marshalling overhead06:49
SfietKonstantinI have seen this https://desktopsummit.org/sites/www.desktopsummit.org/files/will-thompson-dbus-performance.pdf06:49
SfietKonstantinmarshalling a contact isn't something trivial either :/06:49
w00toh, he did stats for p2p. nice :)06:51
SfietKonstantin:)06:51
chriadammultimedia aside, 35 MB/s is still heaps06:56
*** SfietKonstantin <SfietKonstantin!~sk@37.161.240.59> has quit IRC (Ping timeout: 258 seconds)06:56
w00ta ping/pong isn't really the same level of complexity to transmit as contact data, though. i'd expect that to be a lot worse.. anyway, i'm just advising to measure before cutting :)06:58
chriadamyup06:58
*** plfiorini <plfiorini!~quassel@net-188-218-96-203.cust.vodafonedsl.it> has quit IRC (Remote host closed the connection)07:04
*** blam_ <blam_!~blam@pa49-195-29-147.pa.nsw.optusnet.com.au> has quit IRC (Remote host closed the connection)07:23
*** jpetrell <jpetrell!~jpetrell@2001:998:2a:dead:b146:14eb:a247:f5e0> has joined #mer07:36
*** Jaymzz <Jaymzz!~jamesno@m77-218-249-222.cust.tele2.se> has joined #mer07:39
*** notmart <notmart!~diau@host50-250-dynamic.17-87-r.retail.telecomitalia.it> has joined #mer07:47
*** notmart <notmart!~diau@host50-250-dynamic.17-87-r.retail.telecomitalia.it> has quit IRC (Changing host)07:47
*** notmart <notmart!~diau@kde/mart> has joined #mer07:47
*** SfietKonstantinW <SfietKonstantinW!c2623324@gateway/web/cgi-irc/kiwiirc.com/ip.194.98.51.36> has joined #mer07:57
*** plfiorini <plfiorini!~plfiorini@sei.yacme.com> has joined #mer08:05
*** blue787 <blue787!blue787@quimby.meetandspeak.com> has quit IRC (Quit: MAS server restart.)08:07
*** KaIRC <KaIRC!~robert@193-80-29-151.adsl.highway.telekom.at> has joined #mer08:14
*** blue787 <blue787!blue787@quimby.meetandspeak.com> has joined #mer08:24
*** plfiorini <plfiorini!~plfiorini@sei.yacme.com> has quit IRC (Ping timeout: 240 seconds)08:36
*** plfiorini <plfiorini!~plfiorini@sei.yacme.com> has joined #mer08:39
*** jpetrell <jpetrell!~jpetrell@2001:998:2a:dead:b146:14eb:a247:f5e0> has quit IRC (Remote host closed the connection)08:49
*** thaig <thaig!4eab3273@gateway/web/freenode/ip.78.171.50.115> has joined #mer09:02
SfietKonstantinWchriadam & w00t about DBus what do you think about the fd passing ability09:04
SfietKonstantinWIMO, if I want "secure" transmission of contacts, this won't work09:05
*** jpetrell <jpetrell!~jpetrell@dsl-trebrasgw1-58c1f2-137.dhcp.inet.fi> has joined #mer09:35
*** notmart <notmart!~diau@kde/mart> has quit IRC (Quit: notmart terminated!)10:41
*** DrCode <DrCode!~DrCode@5.28.134.3> has joined #mer10:43
*** SpeedEvil <SpeedEvil!~quassel@tor/regular/SpeedEvil> has quit IRC (Quit: No Ping reply in 180 seconds.)10:49
*** SpeedEvil <SpeedEvil!~quassel@tor/regular/SpeedEvil> has joined #mer10:50
*** arcean <arcean!~arcean@62.159.77.164> has quit IRC (Read error: Connection reset by peer)11:03
*** arcean <arcean!~arcean@62.159.77.164> has joined #mer11:06
*** IgorSK <IgorSK!~IgorSK@94.141.174.160> has joined #mer11:21
IgorSKHi. A timed-question. Was trying to build it, ended up with a missing header -- tzdata.type.h .11:26
IgorSKWhere does the header come from? It's not in timed sources.11:26
SfietKonstantinWtzdata ?11:47
SfietKonstantinWIgorSK: ^11:47
SfietKonstantinWhttps://git.merproject.org/mer-core/tzdata11:47
IgorSKFigured that. Looks like the header is a product of running iodata-type-to-c++ on tzdata.type file.11:49
IgorSKBut that is nowhere in timed's build process (*.pro files).11:49
IgorSK*nowhere*11:51
IgorSKSfietKonstantinW, Stumbled on this: tzdata.cpp:148:25: fatal error: tzdata.type.h: No such file or directory11:52
*** cxl000 <cxl000!~cxl000@c27-253-5-120.brodm4.vic.optusnet.com.au> has joined #mer11:55
SfietKonstantinWhum12:06
SfietKonstantinWwhat is your compilation environnement ?12:06
SfietKonstantinWI think that there should be some tzdata-devel12:06
*** TheRealJohnGalt[ <TheRealJohnGalt[!therealjoh@gateway/shell/matrix.org/x-zqxglicfetddcknp> has quit IRC (Remote host closed the connection)12:18
*** M-jon <M-jon!jonterracr@gateway/shell/matrix.org/x-udveuxcgjwhaaudb> has quit IRC (Remote host closed the connection)12:18
*** jpetrell <jpetrell!~jpetrell@dsl-trebrasgw1-58c1f2-137.dhcp.inet.fi> has quit IRC (Remote host closed the connection)12:27
*** TheRealJohnGalt[ <TheRealJohnGalt[!therealjoh@gateway/shell/matrix.org/x-odgccwbutuopkeps> has joined #mer12:33
IgorSKSfietKonstantinW, as for compilation environment it is a timed-only native build on an Ubuntu x86_64 pc. An attempt to compile timed on it's own.12:35
IgorSKYes, that tooked pulling in contextkit (due to Qt4) and iodata.12:37
IgorSKAfter some git digging (https://git.merproject.org/mer-core/timed/commit/76146f60bab703d12b0dc2e0263f945b1f05da15) I get to assume it's not about some tzdata-devel-thing, but rather about iodata data parsing.12:41
IgorSKI failed to find where exactly  (and if) "iodata-type-to-c++ compiler" gets employed in timed build process.12:46
*** blam_ <blam_!~blam@124-149-89-25.dyn.iinet.net.au> has joined #mer12:57
*** blam_ <blam_!~blam@124-149-89-25.dyn.iinet.net.au> has quit IRC (Remote host closed the connection)13:20
*** arcean <arcean!~arcean@62.159.77.164> has quit IRC (Read error: Connection reset by peer)13:30
*** arcean <arcean!~arcean@62.159.77.164> has joined #mer13:35
*** arcean <arcean!~arcean@62.159.77.164> has quit IRC (Read error: Connection reset by peer)13:51
*** M-jon <M-jon!jonterracr@gateway/shell/matrix.org/x-mysumqslyrlujxhj> has joined #mer14:04
*** Gabs5807 <Gabs5807!~Gabriel@pD9EA5EE4.dip0.t-ipconnect.de> has joined #mer15:22
*** xhaakon <xhaakon!~jadam@79.127.240.18> has quit IRC (Quit: ZNC - http://znc.in)15:31
IgorSKOk. Figured how the whole thing compiles. Learned a bit about qmake's configuration features (.prf). iodata installs a speciall *.prf, so that timed has a custom compiler for *.type files when it gets to be built.15:47
*** Gabs5807 <Gabs5807!~Gabriel@pD9EA5EE4.dip0.t-ipconnect.de> has quit IRC (Quit: IRC for Sailfish 0.9)15:48
*** cxl000 <cxl000!~cxl000@c27-253-5-120.brodm4.vic.optusnet.com.au> has quit IRC (Ping timeout: 240 seconds)15:50
*** cxl000 <cxl000!~cxl000@c27-253-5-120.brodm4.vic.optusnet.com.au> has joined #mer15:54
monichIgorSK: impressive, isn't it? just to parse a freaking config file16:10
*** alien_ <alien_!~majeru@131.228.216.132> has quit IRC (Ping timeout: 240 seconds)16:10
monichI was amazed too when I first time saw that code16:11
*** diego_r <diego_r!~diego@host65-246-static.10-188-b.business.telecomitalia.it> has quit IRC (Quit: Konversation terminated!)16:14
*** xhaakon <xhaakon!~jadam@79.127.240.18> has joined #mer16:16
IgorSKmonich, Let me hope the iodata thing is being used somewhere else outside timed. Otherwise it's a bit of an overkill. :)16:20
*** Jaymzz <Jaymzz!~jamesno@m77-218-249-222.cust.tele2.se> has quit IRC (Ping timeout: 276 seconds)16:22
*** IgorSK <IgorSK!~IgorSK@94.141.174.160> has quit IRC (Quit: Ex-Chat)16:22
*** plfiorini <plfiorini!~plfiorini@sei.yacme.com> has quit IRC (Quit: Sto andando via)16:26
*** phaeron <phaeron!~iamer@dd-656yj0-c3s--wfkv2t-3.rev.dnainternet.fi> has joined #mer16:44
*** IgorSK <IgorSK!~garrik@ppp109-252-45-34.pppoe.spdop.ru> has joined #mer16:53
*** SfietKonstantinW <SfietKonstantinW!c2623324@gateway/web/cgi-irc/kiwiirc.com/ip.194.98.51.36> has quit IRC (K-Lined)17:04
*** IgorSK <IgorSK!~garrik@ppp109-252-45-34.pppoe.spdop.ru> has quit IRC (Quit: Konversation terminated!)17:10
*** phaeron <phaeron!~iamer@dd-656yj0-c3s--wfkv2t-3.rev.dnainternet.fi> has quit IRC (Ping timeout: 258 seconds)17:21
*** plfiorini <plfiorini!~quassel@net-188-218-96-203.cust.vodafonedsl.it> has joined #mer17:40
*** SfietKonstantinW <SfietKonstantinW!c2623324@gateway/web/cgi-irc/kiwiirc.com/ip.194.98.51.36> has joined #mer18:14
*** KaIRC <KaIRC!~robert@193-80-29-151.adsl.highway.telekom.at> has quit IRC (Remote host closed the connection)18:30
*** phaeron <phaeron!~iamer@dd-656yj0-c3s--wfkv2t-3.rev.dnainternet.fi> has joined #mer19:17
*** SpeedEvil <SpeedEvil!~quassel@tor/regular/SpeedEvil> has quit IRC (Ping timeout: 272 seconds)19:43
*** BitEvil <BitEvil!~quassel@tor/regular/SpeedEvil> has joined #mer19:45
*** BitEvil is now known as SpeedEvil19:47
*** adurol <adurol!~adurol@unaffiliated/adurol> has quit IRC (Remote host closed the connection)20:13
*** phaeron <phaeron!~iamer@dd-656yj0-c3s--wfkv2t-3.rev.dnainternet.fi> has quit IRC (Ping timeout: 264 seconds)20:16
*** adurol <adurol!~adurol@unaffiliated/adurol> has joined #mer20:16
*** SfietKonstantin <SfietKonstantin!~sk@fil75-6-88-190-246-243.fbxo.proxad.net> has joined #mer20:47
*** xhaakon <xhaakon!~jadam@79.127.240.18> has quit IRC (Quit: ZNC - http://znc.in)21:47
*** bfederau <bfederau!~quassel@service.basyskom.com> has quit IRC (Remote host closed the connection)22:01
*** bfederau <bfederau!~quassel@service.basyskom.com> has joined #mer22:01
*** xhaakon <xhaakon!~jadam@79.127.240.18> has joined #mer23:12
*** adurol_ <adurol_!~adurol@x4d01ced5.dyn.telefonica.de> has joined #mer23:24
*** adurol <adurol!~adurol@unaffiliated/adurol> has quit IRC (Ping timeout: 240 seconds)23:27
*** adurol_ is now known as adurol23:39
*** adurol <adurol!~adurol@x4d01ced5.dyn.telefonica.de> has quit IRC (Changing host)23:39
*** adurol <adurol!~adurol@unaffiliated/adurol> has joined #mer23:39

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