/srv/irclogs.ubuntu.com/2011/04/29/#ubuntuone.txt

duanedesignmorning all09:55
karniGood day #ubuntuone10:10
fagan:/ damn alarm10:10
faganmorning karni10:11
karnihi fagan10:11
* karni reboots after security update10:16
mandelfagan: morning10:18
mandelfagan: do you have time to give me an other review?10:18
faganmandel: sure10:18
faganall the time in the world10:18
mandelok, let me fing the url for you :)10:18
mandels/fing/find10:18
* fagan is happy mandel is busy10:19
mandelfagan: there you go: https://code.launchpad.net/~mandel/ubuntuone-client/add_ipc_client_code_5/+merge/5946810:20
fagancool on it10:20
duanedesigno/10:29
karni\o10:33
duanedesignyes actually \o10:34
duanedesigni am right handed10:34
duanedesign:P10:34
fagan\o/ i use both hands10:38
mandelo10:40
mandelmeh10:40
mandelI;m too old ;)10:40
faganmandel: your not that old dude10:42
mandelbut I do look that old hehe10:43
mandelI look better when I was not working on canonical… must be all this windows stuff10:43
faganmandel: well thats the idea working on windows adds 5 years10:44
faganits like the tv adding 10 pounds10:44
mandelhaha10:45
faganmandel: why did you skip 5 on the add ipc stuff10:47
faganor am I missing something10:47
mandeldid I skip 5, what do you mean?10:48
faganI mean skip to 510:48
faganlike I didnt see a 410:48
mandelfagan: oh, true I did not ask you to review 4, can you do it too?10:49
mandelplease: https://code.launchpad.net/~mandel/ubuntuone-client/add_ipc_client_code_4/+merge/5940810:49
fagansure10:49
mandelthx10:49
fagandone11:00
* fagan looks down the ipc code to see how it works11:29
faganmandel: is there any good twisted books that you would suggest?11:32
* fagan was wondering11:32
faganIm going to order some books when I get the chance11:32
mandelfagan: the orelly one is quite good, try the ebookbay.org (I think it was that) to find it11:33
mandelfagan: it is a very big framework, so the important thing is to understand defer and async programming11:33
faganmandel: I always go to amazon seems to always have what im looking for11:33
mandelfagan: well, the one I gave you is for 'free' cownloads :P11:34
faganSo at the moment I have pretty big books on management, software development practices and UI design11:34
mandelwhich is legal in spain, probably terribly wrong anywhere else :)11:34
faganmandel: well I have a bit of trouble reading from screens I want to get hard copies11:35
faganand I dont mind paying a little bit if its worth it for the learning11:35
mandeloh, then amazon should have the twisted book for sure11:35
faganmandel: yeah amazon is great for books :)11:35
mandelis a little old though, but will get you up to speed, the changes in the new version are not hard to get11:35
mandeland are in places you will not reach amny times :)11:36
mandels/amn/many11:36
faganand you sometimes get the used ones for a little bit of a knock down11:36
mandelyes, I always buy the used ones, I like not killing trees :)11:36
faganhah11:36
fagankill the trees!!!!11:36
* fagan isnt a hippy :D11:37
mandelI'm a little of a hippy, you have seen my shoes :)11:38
faganyeah11:38
faganoki I think thats a good exersise before standup to id some books that can help me out11:38
faganill put the list up afterwards11:39
duanedesignlol "well thats the idea working on windows adds 5 years"11:40
faganSooooo tempted to buy a kindle11:40
mandelfagan: can you take a look at: https://code.launchpad.net/~mandel/ubuntuone-client/add_ipc_client_code_6/+merge/5948811:40
fagansure11:40
duanedesignfagan: I <3 reading books on my phone with the kindle app.11:40
mandelfagan: I'm tempted to get an Ipad instead, kindle just has one use… and I like colors :)11:40
faganmandel: well the price is competitive and who needs colour nowadays11:41
* fagan in protest of mandels statement turns off the colour on his monitor 11:41
mandelfagan: tell me how long you last with that ;)11:42
duanedesign:)11:42
faganmandel: 5 secs11:42
mandelhehe11:42
faganand I do have 2 monitors so I still had colour11:42
mandeland with the monitor in black and white11:42
mandelfagan: oh, you just broke my punch line… stupid internet lag...11:43
faganhehe11:43
faganmandel: check the comment on that review :P11:47
mandelon it11:48
mandelfagan: number 5 or 6?11:48
mandelor 4?11:48
fagan611:48
fagan+1 on all them I just thought id give a nice compliment11:49
mandelfagan: I added a spell checker step in my devel process hehe11:49
fagannice11:50
* fagan effected change in the world 11:50
faganmandel: is this the book you were talking about http://www.amazon.co.uk/Twisted-Network-Programming-Essentials-Fettig/dp/0596100329/ref=sr_1_1?ie=UTF8&qid=1304074272&sr=8-111:51
mandelfagan: yes, that is the one I read11:54
fagancool on the list11:55
faganoooh the mythical man month too11:56
* fagan is going to dump 200 euro into books this month on some classics 11:59
faganI wonder what software development approach canonical is using specifically12:02
faganI want to get a good book on some practices but UP is what we do in college12:02
* fagan just looks for one on agile development and it should cover some bases 12:03
faganI wonder if its too early to get a book on python 3 or if its a good time since we will migrate in the future12:07
fagan(that may be a question that facundobatista would be able to answer)12:08
facundobatistafagan, if the book covers 3.2, it's ok, things would not change much from now on12:09
faganfacundobatista: nice then ill grab one12:09
faganthanks12:10
faganmandel: who is Guillermo Gonzalez?12:35
* fagan was wondering 12:35
verterokfagan: I am12:35
no1peanutHi - I have a weird problem when starting ubuntu control panel - my account tab is saying it cant connect and suggest I dont have internet - files sync and everything else works12:35
faganverterok: ahhh12:35
verterokfagan: hi!12:35
faganhi :D12:35
mandelfagan: that one ^12:35
mandelcareful, I've been told he steals cars12:35
* fagan hides his pretty pretty computer 12:36
mandelbut they have to have the engine already running, right verterok?12:36
verterokmandel: indeed!12:36
verterok:p12:36
verterokmandel: FWIW, only cars I own12:37
faganno1peanut: thats interesting could you do a ubuntu-bug ubuntuone-control-panel and write down whats going on in a bug and someone will get to it when they can12:37
fagan(in terminal)12:37
mandelverterok: hehe12:37
mandelwell I need to go to walk the dog, he is looking at me angry12:37
mandelbbl12:37
* mandel walks dog12:37
faganmandel: laters12:37
verterokfagan: what can I do for you?12:42
no1peanutfagan, thx and done ;)12:46
faganverterok: I was just wondering who you were12:46
verterokah, ok :)12:46
faganno1peanut: no problem12:46
faganverterok: I saw your name on the merge and I was like who is this guy :D12:47
verterokheh12:48
faganoki so 9 books is a good starting point for an order12:49
* fagan listed 2 books that are jokes BTW12:49
faganhttp://ubuntuone.com/p/pJD/12:49
faganOh and I can claim tax back on it \o/12:50
fagan(or just just declare them as an expense of some sort)12:50
* fagan break 12:51
=== teknico is now known as teknico_away
hallyn(I'll probably just go look at the code, but) how does the sync daemon decide whether a file has been changed and is unused and ready to be synced up to the ubuntu one server?13:38
hallynI ask because after I do an ecryptfs mount of a dir under ~Ubuntu\ One, make some change, and then umount, the files never get synced until I reboot.  Even if that takes days or weeks.13:39
ryehallyn, ecryptfs does not sync the underlying files in a way possible for inotify to pick these changes13:43
hallynrye: ah, so it just waits for inotify?13:44
hallynrye: thanks, apart from giving me something to talk to ecryptfs maintainer about, it should also let me use a script as workaround :-)13:45
ryehallyn, yes, and if inotify event does not arrive then subsequent rescan of the directory is required to pick the changes13:45
alecugoot mordnig!13:46
hallynrye: hm, wonder whether it's better to have it do a rescan, or just touch recently changed files with a script13:46
ryehallyn, Does the underlying file immediately changes its size/modification date when the unencrypted copy gets changed?13:51
hallynrye: modification date, yes.  Size, not necessarily (since it's padded of course)13:53
hallynrye: quick unrelated question - lately when I run u1sdtool by hand (remotely), it complains about no X connection.  Is that just bc I already had logged in on console, or is it no longer expected to run remotely?  (something I can obviously test myself this weekend)13:54
hallynrye: here is before and after adding a line to the encrypted file (under ~/gtd):13:55
hallynserge@sergelap:~/Ubuntu One/gtd.crypt$ ls -l next_actions.otl13:55
hallyn-rw-r--r-- 1 serge serge 12288 2011-04-28 18:01 next_actions.otl13:55
hallynserge@sergelap:~/Ubuntu One/gtd.crypt$ ls -l next_actions.otl13:55
hallyn-rw-r--r-- 1 serge serge 12288 2011-04-29 07:53 next_actions.otl13:55
ryehallyn, u1sdtool connects to syncdaemon via dbus, so in case u1sdtool environment does not have any info about dbus session syncdaemon is running the python dbus module will complain about X autostart etc13:55
ryeso it changes the mtime13:56
* mandel back13:56
hallynrye: but if no syncdaemon is running yet, it should just start its own with no fuss?  Or it'll refuse bc there's no dbus?13:56
ryehallyn, it will refuse to start it since there is no dbus session to autostart syncdaemon and usually the applications do not start dbus themselves13:57
* fagan back 13:58
faganstandup in 213:58
hallynrye: drat, pretty sure that in maverick it used to start it just fine :(13:58
hallynrye: ok lemme go look into the inotify support for ecryptfs.  thanks again.13:59
ryehallyn, well, i faced this way back in karmic so i'm pretty sure it used to be this way for quite a while13:59
faganme14:02
mandelme14:03
faganralsina, thisfred, dobey14:05
thisfredme14:05
mandeland alecu14:05
faganhehe14:05
alecumandel, no nessita today?14:05
alecume14:05
dobeyme14:05
dobeyyeah where is nessita?14:05
dobeyon holiday?14:05
ralsiname14:05
mandelalecu: apparently not14:05
fagango?14:06
ralsinanessita is on swap14:06
ralsinago14:06
faganDONE14:06
fagan* more merge requests14:06
fagan* got a book list going for research http://ubuntuone.com/p/pJD/14:06
faganTODO14:06
fagan* maybe do some more bug reports :)14:06
faganmandel:  go14:06
mandelDONE: More ipc client side. Most branches have been merged and the last one should be proposed just after the stand up.14:06
mandelTODO: hook SSO in sd on Windows. Move to control panel.14:06
mandelBLOCKED: no14:06
mandelthisfred, please14:06
thisfredDONE: blueprints, helped nicola and james with a cloud server issue TODO: not sure, probably desktopcouch bug triage, unless someone has something more urgent for me BLOCKED: no NEXT: alecu14:06
alecuDONE: blueprints and stuff14:08
alecuTODO: play with the Unity lens14:08
alecuBLOCKED: no14:08
alecuNEXT: dobey14:08
dobeyλ DONE: blueprints stuffs14:08
dobeyλ TODO: friday stuffs (tarmac improvements), finish nightlies fixes, maverick/lucid SRUs14:08
dobeyλ BLCK: None.14:08
ralsinaDONE: made everyone do blueprints, reviews, misc stuff, canonicaladmin clean, booked trips for the next 5 weeks, other things.14:08
ralsinaTODO: a few reviews more, finish the damn SSO UI once and for all, whatever14:08
ralsinaBLOCKED: nope14:09
ralsinaok, comments?14:10
faganralsina: is it ok that im looking into books for the day14:10
faganim trying to get some reference going to learn a bit14:10
ralsinafagan: yes, you are supposed to learn stuff14:11
ralsinalearning stuff == good14:11
fagangood14:11
ralsinawant to talk later about what you are learning, that's cool with me14:11
hallynrye: sorry, 'this' that you faced was u1sdtool needing dbus right?  I actually have a saved draft of a blog post happily announcing that u1sdtool -c was working for me so it must have worked during maverick somehow :)  It looks like I'll need to look into how to create a usable dbus session then.14:11
ralsinaok, eom14:11
faganralsina: cool14:11
ryehallyn, hmmm14:12
ralsinaI will probably take the rest of the morning because I was up very early (or very late) doing mandel's reviews14:12
ralsinaIn any case, if you need me, ping me14:12
mandelralsina: I wont feel bad, I'm a heartles bastard14:12
hallynrye: <shrug> then again maybe it was from command line but whiel logged into a non-gnome wm.14:12
hallynat the time that probably would have been my goal14:13
ralsinamandel: I don't want you to feel bad, I should have done those earlier and you needed them, so doing them at 2AM was perfectly reasonable :-)14:13
mandelhehehe14:13
=== zyga is now known as zyga-afk
faganmandel: are you brewing any more branches for me :)14:28
rafaelgod morning14:33
rafaeli have a doubt14:33
rafaelcan i share a folder inside /usr/share14:34
rafaelthere is any way ?14:34
ralsinarafael: no, you can only share folders that inside your home folder14:34
rafaelok thanks14:34
faganralsina: im sure you mean outside14:35
ralsinayou're welcome!14:35
ralsinafagan: nope14:35
ralsinafagan: you can't sync anything outside $HOME  and you can't share what you don't sync14:35
faganralsina: yeah I just read it wrong14:36
faganI thought you said it the other way around14:36
* fagan needs to learn to read during this internship it seems14:36
ralsinafagan: ok14:36
duanedesignjoshuahoover: ping14:37
* fagan errands for 15 mins 14:37
joshuahooverduanedesign: pong14:37
dobeyalecu: https://blueprints.edge.launchpad.net/ubuntu/+spec/desktop-dx-o-unity-lenses14:37
mandelfagan: I have one more, let me know when you are back :)14:37
mandelsorry I went for coffee :P14:37
faganmandel: cool14:37
alecudobey, looking14:37
mandelalecu: ping14:38
duanedesignjoshuahoover: good day. I was helping a user with Thunderbird Contact sync. I came across this blog post http://voices.canonical.com/ubuntuone/?p=41414:38
joshuahooverduanedesign: yeah...ummm...don't spend too much time on that14:39
joshuahooverduanedesign: we'll have more info on monday, but we're making some changes to contacts sync14:39
alecumandel, pong14:39
joshuahooverduanedesign: and it will impact using funambol clients like the t-bird and outlook plugins14:39
mandelalecu: I'm going to make the assumtion that you will be running the shotwell thing, right?14:39
alecumandel, wrong assumption!14:40
mandelalecu: no?14:40
alecumandel, I just added myself because it sounded interesting, but we can share the running. :-)14:40
rafaeli asked this because every instalation i do i have to configure /usr/share/empathy/empathy-chat-window.ui to change the combination keys <ctrl>+w to <esc> to exit the conversation14:40
duanedesignjoshuahoover: ok that answers my question14:40
mandelalecu: well, I was going to say I could give you a hand since I did look into it a little last time14:41
rafaelbut i think i have to do by hand14:41
mandelalecu: I need to check their new code, but it would be nice to get to budapest with some serious questions14:41
mandellike, do you have a bloody decent format that does not include toring the transformations in sqlite?14:41
mandeland such :)14:41
=== teknico_away is now known as teknico
dobeyrafael: i think you want #ubuntu maybe? though sounds like you should just file a bug against empathy14:42
alecumandel, "toring"?14:42
rafaelok i'm going now14:42
rafaelthanks dobey14:43
dobeyrafael: oh sorry, just saw your question about syncing14:43
mandelalecu: storing, forgot an s :P14:43
dobeyrafael: but i think the answer is that Esc and C-w should both work there, and this is just a bug in empathy that should be fixed14:43
alecumandel, what's wrong with storing the transformations in sqlite?14:44
rafaelbut i found only this way to fix it editing the file14:44
alecumandel, I would guess any "non-destructive" editor would do a similar thing.14:44
rafaeldobey: editing the party that mention close n configured to use the key ctrl +w n a change to esc key14:45
rafaeldobey: an now works fine14:45
rafaeldobey: i'd like to do that auto in a script i use when finish instalations14:46
dobeyrafael: why? it would be easier to just fix the upstream code14:49
rafaeland how can i do that ?14:49
rafaeldobey: who i have to report ? at #ubuntu ?14:50
dobeyrafael: well first thing to do, is file a bug against empathy stating that Esc should work /as well as/ Ctrl-w14:50
mandelalecu: that sync would be a pain, first, what do you sync to the web, just photos or sqlite too? second if someone downloads the file with no sqlite will thing that something went wrong. Third if you do a web photo album, do you want the server to be applying the transformations?14:50
mandelalecu: those are the questions I'd be asking14:51
dobeyrafael: no, #ubuntu is the help channel for general ubuntu things. a bug will have to be filed in launchpad, and probably also in the upstream bug tracker14:51
rafaeldobey: mmmm14:51
rafaeldobey: r u using empaty now ?14:51
dobeyrafael: if you go to #ubuntu though, someone there can help you file the bug14:51
dobeyrafael: no, i use pidgin14:52
rafaelok14:52
rafaelbut a fixed the bug14:52
dobeyand Esc works to close the chat windows in pidgin14:52
alecumandel, probably we should ask them to do a library to apply the transformations and export that as a directory of already-transformed photos. And sync that for album exports.14:52
alecumandel, on the other hand, I'm thinking of a couchdb backend to store the transformations so they are available on all your desktops.14:53
rafaeldobey: right in empathy the esc dont close n have no option to change that14:53
mandelalecu: I was thinking about the second option too :)14:53
dobeymandel, alecu: should i be reading your backlog?14:53
dobeyrafael: well, there is, but you shouldn't have to change it14:53
mandeldobey: would be nice to know our opinion14:53
rafaeldobey: the only way i find is editing the file n change the line14:53
alecudobey, we are discussing shotwell, so sure :-)14:54
mandeldobey: but it is more a discussion to have at UDS in the shotwell blueprint which we hope you will be co-running14:54
dobeyno14:54
mandeldobey: don't be shy!14:54
dobeyonly running i'll be doing with shotwell, is away from :)14:54
mandelhahaha14:54
dobeyso i would wonder why shotwell stores the transform history at all. i'm not sure it's especially useful14:56
mandeldobey: you talked with them more than I did, you know how they think :P14:57
mandelor at least better than me14:57
dobeyi only asked about the plug-in API bits14:58
dobeyand why they rolled their own build system14:58
alecudobey, afaik: they store the transforms, not the history. The original photo file is never changed; the transforms are always applied on the spot. Perhaps the results are cached, but the original is never changed.14:58
dobeyalecu: that is the history14:59
dobeyalecu: because they have to be applied in a specific order14:59
mandeldobey: they have their own build system!?! What do you mean?14:59
alecudobey, that's the sequence of transforms, but not the history. A history could be safely deleted.14:59
dobeyalecu: it seems useful to only have live transforms like that during actual editing.14:59
dobeymandel: i mean they do not use autotools, or cmake, or anything sane. they have their own magical makefile rules that make no sense :)15:00
mandelalecu: they don't have a full history, that is right. They have only the combinations of function you saved.. or that is what I hope they have15:01
mandeldobey: oh fuck15:01
mandelyet an other thing to learn15:01
alecuhmmm....15:03
dobeyanyway15:03
alecudo you guys think that this is session-worthy? https://blueprints.launchpad.net/ubuntuone-client/+spec/desktop-o-ubuntuone-protocol-quota-change15:03
alecuperhaps just a meeting with foundations+ should do.15:03
dobeynot storing the post-transform image itself seems dumb to me15:03
dobeyalecu: no15:03
mandeldobey: I heard a really good WTF the other day. Someone in a paper used make and posted it. A bioinformatics researcher found it and wrote a perl script that could use the same format but did no use make because he did not know it existed15:04
dobeyalecu: i don't think it need sa blueprint15:04
dobeymandel: haha15:04
* fagan back 15:07
faganmandel: ping15:07
faganthat took way too long damn lines15:07
mandelfagan: pong15:08
mandelfagan: let me get you the merge url15:08
fagancool15:08
mandelfagan: there you go https://code.launchpad.net/~mandel/ubuntuone-client/add_ipc_client_code_7/+merge/5951415:10
mandelsimilar code as the others, this is the last one15:10
fagancool15:11
=== zyga-afk is now known as zyga
faganmandel: boom done15:26
mandelfagan: it exploded?15:26
faganmandel: nope15:27
faganJust meant it as a figure of speach15:27
mandelah, ok15:27
mandelok, people ig might be written with js (node.js) but can we(I) have this bot running in the channel: https://github.com/jsocol/scottbot15:28
faganmandel: we have one already15:29
faganbut we could make a better one just for this one15:29
mandelfagan: read what the bot does15:30
faganoki doke15:30
faganmandel: yeah thats all we need for this channel15:31
mandel:D15:31
faganthat and a work harder bot that just says any time anyone says break to work harder15:31
dobeymandel: no15:32
mandeldobey: why?15:32
fagandobey is a spoil sport I see15:33
mandel:(15:33
fagan:015:33
dobeymandel: because we already have such a bot. it's called "mandel"15:33
faganlol15:33
fagandobey: so your saying mandel is a robot he did seem kinda shiny when he was in london15:34
mandeldobey: but I want to have an everlasting online presence, it could be just like ghost in the shell (with an uglier shell)15:34
mandelor even the pupped master!15:35
dobeymandel: maybe you should go see a doctor and get tested for the HA3 virus15:35
* fagan never heard of that virus 15:36
* alecu is going to the bank, bbiab15:37
mandeldobey: influenza?15:38
* mandel confused...15:38
faganI think I might work outside for the rest of the day15:39
dobeymandel: you are no longer allowed to make ghost in the shell references then :)15:48
faganhah15:49
* fagan doesnt watch any of that stuff15:49
mandeldobey: I did not remember that detail :P15:50
mandeland it is influenzia too, I think...15:50
mandelmaybe I'm wrong15:50
dobeymandel: no, it's a simple computer virus15:51
faganthat looks like the flu?15:53
mandeldobey: true, just check influenza is H1N1, H2N2 etc.. according to the mutation15:55
mandelthe spanish flu would be H1N115:55
mandeldobey: ironically, the antibody to influenza is HA315:56
mandelplubmed is awesome: http://www.ncbi.nlm.nih.gov/pubmed/301578215:57
fagan:/ have to wait till monday for my books15:59
fagan(to order)15:59
dobeymandel: the net is vast and infinite16:01
mandeldobey: yeah, 'cause I said influenza in a complete random way, I remembered it had an H at the start, just that16:02
dobeyyes, strains of influenza are acronymed that way16:06
joshuahooverdobey: did you see the 4 natty sru bugs have been tested and verified? anything else i need to do there to help?16:28
dobeyjoshuahoover: i saw that, thanks. don't think so. we just need to get someone to move the packages to updates i think16:29
joshuahooverdobey: cool16:29
joshuahooverdobey: do you know where the control panel pulls the name on the account from, sso or in one of our tables?16:30
dobeywhich name?16:31
dobeythe user's name?16:31
joshuahooverdobey: the user's name on the account16:31
joshuahooverdobey: yeah16:31
dobeyi think from sso16:31
dobeyyou'd have to ask nessita16:31
joshuahooverdobey: k, thanks...holiday for her and others, right?16:32
dobeyjoshuahoover: she is on swap day. i don't know if she'll be here monday or tuesday or not. she is going to the summit next week before UDS too16:33
joshuahooverdobey: ah, ok, thanks!16:34
dobeyso she will probably be travelling, on tuesday at least.16:34
dobeyanyway, time to get some lunch16:34
dobeybbiab16:34
ralsinashe should be here monday, I think tuesday is the flight day, so probably not16:37
mandelI'm off for the weekend, cu all next day17:00
mandela217:00
nessitahello everyone (/me is not really here)17:01
ralsinabye mandel17:14
=== beuno is now known as beuno-lunch
=== JanC_ is now known as JanC
=== beuno-lunch is now known as beuno
faganralsina: I forgot to ask do you have any suggestions for good books?18:42
ralsinafagan: topics?18:42
faganralsina: well for what we are doing in the u1 team and maybe some about software engineering practices..etc18:43
ralsinafagan: ok, I think the main things you need are:18:43
faganralsina: I have a list so far of the books on u1 if you want to look18:43
ralsina1) A good book about testing and best practices. Probably one ny pragprog18:43
ralsina2) the PyQt book you already had18:43
ralsina3) Something about twisted18:44
fagan(i have one about twisted on the list)18:44
ralsinaif you can share the list, I will take a look18:44
faganhttp://ubuntuone.com/p/pJD/18:44
faganthats the lot I have so far18:44
fagansome of them are just things im interested in18:44
dobeyTao Teh Ching18:44
dobeyexcellent book, that.18:45
faganIts an ok set of books for reference anyway and none of them are all that expensive except that one that is like 70 pounds18:47
faganbut investing on some good reading material is always nice18:47
* ralsina looks18:47
ralsinaI get a broken link18:48
ralsinaif you edited the list maybe it got unshared?18:48
* fagan makes sure the links are ok 18:48
faganill try it again18:48
faganralsina: http://ubuntuone.com/p/pNj/18:49
thisfredFagan:  I can't recommend this enough: http://www.amazon.com/Test-Driven-Development-Kent-Beck/dp/032114653018:49
* fagan goes looking for that on .co.uk 18:50
ralsinaThe GNU Make handbook looks pretty useless18:50
ralsina+99 for Beck's18:50
ralsinaI have never heard of the DBUS book. If it's good I would like to read it ;-)18:51
faganWell I was just going to look at the make handbook because im terrible with make18:51
alecufagan, the "D-Bus" book looks useless. It's got a stamp on the cover that says "High Quality Content by WIKIPEDIA articles!"18:51
ralsinaok, kill that one18:51
fagan:D18:51
faganok both killed18:52
ralsinaThe Scrum book sounds interesting but we are not doing scrum18:52
faganralsina: I was wondering what dev practice we were doing18:52
faganin college we do UP18:52
ralsinaIf you want to go into black magic, get O'Reilly's autotools book since only dobey knows that stuff ;-)18:52
ralsinafagan: we are doing TDD-ish18:52
ralsinaThat is, we hope to do TDD but we are doing it wrong18:52
ralsina+1 on the twisted book18:53
faganyeah mandel told me about that one18:54
faganI cant find the oreilly autotools book.18:54
ralsinaI really like this one: http://www.amazon.com/Pragmatic-Programmer-Journeyman-Master/dp/020161622X/ref=sr_1_1?ie=UTF8&qid=1304099683&sr=8-118:55
ralsinaIt's not really a technical book18:55
ralsinahttp://oreilly.com/catalog/978159327206718:56
faganthe mythical man month is supposed to be good18:56
ralsinaok, it's not really from o'reilly ;-)18:56
ralsinafagan: yes, but it's mostly a management book ;-)18:56
ralsinaok, lunch break for me18:56
dobey*everyone* is doing TDD wrong18:56
dobeyTDD is a paradox18:57
faganexpand dobey :)18:59
dobeyschroedinger would be proud of TDD19:00
faganralsina: oh and its good to be expanding your mind to management books early so you can say ive read that and know a little about management to move forward19:12
thisfredfagan: only if you want to run the risk of being sucked into management :)19:12
faganand plus know the person above you too19:12
faganthisfred: god forbid19:12
fagan:D19:12
thisfredanybody know *why* python dbus makes these crazy dbus.String() types etcetera out of everything, and doesn't just convert them to the real python equivalents?20:43
verterokthisfred: it just do it20:44
verterokthisfred: but dbus.String extends unicode20:44
alecuthisfred, they are usually subclassed from standard python types.20:44
thisfredalecu: yeah, but they don't behave like their counterparts always, so you get crazy bugs on database interactions etc.20:45
thisfredverterok: Yeah, but it does not behave like a unicode object always.20:45
thisfredIt's duck typing for no good reason that I can see20:46
thisfredand incomplete/broken duck typing at that20:46
alecuthisfred, I'm not sure why dbus.String exists at all, but I would guess for completeness.20:46
alecuthisfred, now, dbus.Dictionary and dbus.Array *do* have a purpose20:46
thisfredalecu: I think it's probably very useful for dbus internals20:46
alecuthisfred, because you can't usually mix types inside a dbus dictionary20:47
thisfredalecu: because they enforce that all their contents are the same type20:47
thisfredright20:47
alecuright20:47
alecusame for arrays20:47
thisfredso I see the case for them, but dbus.String objects should just be turned into real unicode strings before any client code sees them20:48
alecuthisfred, perhaps.20:48
thisfredanyway, end of whine ;)20:48
alecuthisfred, in what database are you storing dbus stuff? what errors are you getting?20:49
verterokthisfred: probably a bug in dbus-python20:49
thisfredsqlite20:49
* alecu has to give a talk on dbus tomorrow at pyday-córdoba.20:49
thisfredand the errors are vague encoding errors20:49
* alecu has no slides yet, as usual :P20:49
thisfredheh20:49
verterokalecu: please, request some help to rewrite it :p20:49
alecuverterok, rewrite dbus-python?20:49
thisfredalecu: Over the past few nights, I've converted my autoqueue  plugin to a dbus service20:50
verterokor fix it20:50
verterok:)20:50
alecuthisfred, cool!20:50
thisfredwhich was much easier than I'd expected20:50
thisfredmost of the problems were not dbus related anyway20:50
thisfredbut now I find myself having to convert all dbus strings to real unicode objects or sqlite won't accept them20:50
verterokthisfred: sqlite provides some hooks to convert types20:51
thisfredverterok: I know20:51
alecuverterok, afaik python-dbus is going away, and we'll soon be using gdbus thru gobject introspection.20:51
thisfredverterok: so I'm using the default text factory20:51
alecuverterok, behold: http://www.piware.de/2011/01/na-zdravi-pygi/20:51
thisfredwhich accepts unicode20:51
verterokalecu: looking20:51
verterokalecu: but I must say...I'm scared20:52
thisfredbut it thinks dbus.Strings are 8-bit bytestrings20:52
verterokalecu: do you know what wold be great, a python binding that actually allows me to use whatever mainloop I want ;)20:52
alecuthisfred, that sounds like a sqlite issue, since isinstance(dbus.String(), unicode) == True20:53
thisfredalecu: yeah I know, so to me that sounds like a dbus issue:20:53
dobeyhmm20:53
thisfredit lies about its type and then in some subtle way behaves differently from that type20:53
alecuverterok, I don't think gdbus will let you use other mainloops than gobject's20:54
thisfredwell not lies maybe20:54
verterokalecu: then, it's great for gnome apps, but still sucks for everyone else :)20:54
dobeyalecu: it won't20:54
dobeyverterok: well it's fine for us20:54
thisfredanyhow, I think I've worked around it, so now it should be much easier to use the plugin from other languages, and thus even more players20:54
verterokdobey: I'ld really like to stop using the glib reactor in syncdaemon :)20:55
verterokdobey: or fix it :)20:55
dobeyverterok: i'd really like to stop using twisted :)20:55
verterokdobey: ok, I'll not talk about twisted20:56
verterokbut I'm quite sure that writting syncdaemon without twisted is going to be a quite complex task20:56
dobeyi don't know20:57
dobeyanyway20:57
alecuverterok, yes, it's much easier to fix the glib reactor. Or get rid of it.20:57
dobeywe can argue about it later20:57
thisfredwe should port it to go :)20:58
dobeyalecu: it's not easy to get rid of it, but it should be easy to fix20:58
* thisfred runs20:58
alecuverterok, also: what would it take to get rid of the glib reactor?20:58
alecuthisfred, go port it!20:58
thisfredor node.js!20:58
thisfred:D20:58
dobeyMPL20:59
verterokalecu: no idea, probably writing some C code :)20:59
dobeyno20:59
dobeysigh20:59
alecuverterok, perhaps moving the dbus stuff to another thread that runs in parallel to the twisted reactor (and in the same process)?21:00
dobeyalecu: "Subject: For Sat: Plaga Zombie: Mutant Zone"21:00
dobeyalecu: i don't think we need to move the dbus stuff to another thread21:00
dobeyalso, threads are meaningless in python21:01
alecudobey, have a spoon ready, to pick out your eyes while watching it :-)21:01
alecudobey, I don't want to use it for speed, so having it in python is irrelevant.21:01
alecudobey, I want to use threads to have two isolated main loops.21:02
dobeyalecu: having a dbus service that blocks because of the GIL being stupid, is not good :)21:02
alecuverterok, the main problem with the glib reactor is that it kills the battery by waking up the cpu at unneeded moments, right?21:03
dobeyis that really the reason behind this conversation?21:04
verterokalecu: that's one of the bigger issues21:04
dobeyverterok: what are the issues?21:06
alecuverterok, do you know of any other big issue?21:06
verterokalecu: not without searching for bugs/rants/issues reported in the dbus/twisted mail list21:07
alecu:-)21:07
verterokalecu: it's been a while since I stopped fighting with dbus :)21:08
dobeyverterok: so your answer to that is "ok, so let's fight with dbus some more" ?21:08
dobeybore? or just masochistic?21:08
verterokdobey: managed to make it work21:09
verterokdobey: I'ld really like to dbus integrated in the twisted select/epoll/etc reactors21:10
dobeyi don't really see the benefit of writing a whole new dbus binding on top of twisted, vs. just fixing the glib reactor, or moving away from twisted21:12
verterokdobey: moving away from twisted isn't an option, so we can fix the glib2reactor21:14
alecua dbus binding on top of twisted sound much more doable than moving away from twisted.21:15
dobeyi doubt it. i really don't understand what you guys think is so hard about moving away from twisted?21:16
verterokalso, isn't a new dbus binding, it's the same old dbus-python with a different mainloop21:16
thisfreddobey regardless of how you feel about twisted, moving away from it (or to it) will always be a lot of work, because it makes you write all your code inside out21:17
dobeyi didn't say it wouldn't be a lot of work21:18
thisfredwell, lots of work == hard when time is limited21:18
dobeyverterok: dbus-python is no longer going to be maintained or updated. so i wouldn't say that21:18
dobeythisfred: there is a difference between hard and "not an option ever"21:19
thisfredsure. Nobody said it was impossible, though21:19
dobeythisfred: and frankly, if twisted is really *that* hard to move away from, i think that's even more reason to move away from it :)21:20
verterokdobey: sorry, *I* don't see it as an option21:20
alecuI don't think there's another technology as mature and solid as twisted, and that allows for the massive refactorings that facundo has been doing to port syncdaemon to.21:20
dobeythisfred: well verterok said it wasn't an option. and i want to know why21:20
verterokdobey: ok, then we need a non-gnome/glib dbus binding :)21:20
dobeyalecu: well glib is that mature21:20
dobeyi don't know if i'd call twisted solid though :)21:21
alecudobey, if you can't call it solid it means you have not used long enough.21:21
alecuused it.21:21
thisfredI think it's pretty solid when all is going well, it's just hard to debug21:21
dobeyalecu: i can't call it solid, because i have seen how many twisted reactor issues we have in our tests.21:21
thisfredthat's gonna be true for any async code though21:21
alecuthisfred, any async code may look hard to debug, but in practice debugging it is doable (compared with threaded sync code)21:23
thisfredI'd argue that both are hard to debug, and hard to get right21:24
thisfredbut yeah, there are no solutions to that problem21:24
alecudobey, so, what would you write it on? async python+glib? or vala?21:25
dobeyalecu: write syncdaemon on?21:28
alecuyup21:28
dobeypreferably vala, but if it must be python, then multiprocessing+glib, yes21:28
dobeyonly problem with doing vala (or other compiled langs) is that it makes multiplatform harder. C#/mono might be an option21:30
alecudobey, and how would rewriting it in those technologies would make it better than the current one?21:31
dobeymore performant, more actually asynchronous, in vala at least we would probably get much better memory usage as well, and could possibly end up not having crazy hacks to delay startup21:32
dobeyi would also move away from protobuf ideally21:32
verterokdobey: there are no more crazy hacks to delay startup, or at least they aren't needed. (it wasn't a problem of the underlying technology)21:34
verterokalecu: do you have a link that where is said that dbus-python is a dead-end?21:35
verterok*to21:35
alecuverterok, I don't. dobey mentioned it.21:35
verterokdobey: do you have a link about dbus-python dead?21:36
dobeyhttp://www.freedesktop.org/wiki/Software/DBusBindings21:38
dobeyverterok: see "D-Bus support in GLib" there21:38
verterokthanks21:38
dobeyverterok: dbus-glib is obsolete, and python-dbus is just a wrapper around that. so we should be moving to use GDBus instead; via gobject-introspection21:40
thisfredI wonder how generated bindings will handle all the type restrictions.21:42
dobeythisfred: what do you mean?21:43
thisfredwell, if we use object introspection to get to GDBus, how will type conversions and the restrictions that DBus imposes be handled? Will we have to manage that all in our python code?21:44
thisfredpython dbus wasn't perfect but it makes writing client code pretty easy21:44
dobeythe nice thing about python-dbus is the decorators21:48
thisfredright, that too21:48
dobeyand those will go away21:48
dobeythough i guess we could write some wrapper code21:48
thisfredwell generated code pretty much always sucks to use. I think people will start to write stuff on top of the autegenerated introspection stuff though.21:48
thisfredright21:49
dobeybut using through gobject introspection is basically like using the C API.21:50
thisfredmy point exactly :)21:50
verterokso, will qt need to create they our bindings?21:50
dobeyi think the gobject-introspection bits handle stuff well21:50
dobeyi haven't used GDBus through python yet21:50
dobeyso i can't exactly tell you what will or won't be a problem21:51
thisfredthey work well enough but they're not as developer friendly as python can be21:51
dobeyverterok: what do you mean?21:51
verterokdobey: qt apps use dbus-python with the qt mainloop21:51
dobeyverterok: i don't know why, qt already has built-in dbus bindings21:51
verterokoh, didn't knew about that (it's been a while since I looked at qt dbus stuff)21:52
* verterok reads qt doc21:52
=== mainerror_ is now known as mainerror
verterokdobey: I'm might be missing somthing, as I undertand this: GDBus is a replacement for the libdbus glib bindings...or I'm completely worng?22:07
verterok*wrong too22:07
dobeyverterok: dbus-python is bindings for dbus-glib22:09
dobeyverterok: GDBus replaces dbus-glib, therefore dbus-python is also deprecated22:10
verterokdobey: hmm, as I understand the freedesktop docs, dbus-python is a libdbus binding (that uses glib mainloop by default)22:11
verterokand GDBus is a replacement of libdbus+glib-dbus22:11
dobeyverterok: the python module is /usr/lib/pyshared/python2.7/_dbus_glib_bindings.so22:12
dobeyverterok: the bindings that use the glib main loop use dbus-glib22:13
verterokbased on http://www.freedesktop.org/wiki/Software/dbus and http://developer.gnome.org/gio/2.28/ch29.html22:13
dobeyverterok: python-dbus+gobject main loop is using dbus-glib22:14
verterokdobey: right, but it could use other mainloop and still use libdbus22:14
dobeyverterok: you would have to write bindings using that main loop22:15
verterokdobey: not bindings, only the mainloop glue code22:15
dobeyverterok: the libdbus-only portion of dbus-python is synchronous22:15
verterokdobey: the dbus binding is /usr/lib/pyshared/python2.7/_dbus_bindings.so22:16
dobeyeither way, it's not worth the trouble to try to replace dbus-glib with something else that's not GDBus22:16
dobeyverterok: that is synchronous and has no mainloop and binds only libdbus, yes22:16
verterokdobey: ok, so. what's being deprecated is dbus-glib, dbus-python might live on with a different mainloop22:17
dobeyverterok: the glib mainloop version is asynchronous because it binds a library that is already asynchronous22:17
dobeyverterok: i doubt it22:17
verterokwhy? qt already did it22:17
verterokthey use dbus-python with the qt mainloop22:17
dobeysigh22:18
dobeyok, well22:24
dobeyif you want to maintain a module to do that, then you can i guess22:24
verterokdobey: I'm not going to mantain it :) someone is already doing it :)22:25
dobeywhatever, i don't care any more. keep using the deprecated code22:25
dobeygreat, so rather than reduce our dependencies, we can increase them. lovely22:26
dobeylater all, have a good weekend!23:04
rafaelgood night23:08
rafaelhow about the latency in U123:09
rafaelcause take to many time to submite a file shared23:09

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