/srv/irclogs.ubuntu.com/2012/09/25/#ubuntuone.txt

mmccok, time to go for now, be back later tonight00:05
=== m_conley_away is now known as m_conley
=== m_conley is now known as m_conley_away
mandelmorning all!08:15
mmccmorning mandel08:25
mmccmandel, do you have time for a review of that controlpanel branch that adds support for launchd? I forgot it wasn't in trunk yet and lost 20 minutes figuring that out earlier :)08:26
mmccit's here: https://code.launchpad.net/~mikemc/ubuntuone-control-panel/launchdaemon/08:26
mmccalso, IIRC there's some problem with the events nanny that you mentioned a while back, and I'm wondering if there's a bug for it that explains what the issue is.08:33
mmccand with that, I'm going to bed.08:34
JamesTaitOh yes, good morning all! :)08:45
mandelmmcc, on it09:00
=== eu is now known as Guest83281
gatoxgood morning!11:32
ralsina_hola gatox11:33
gatoxralsina_, hi11:33
mandelralsina_, gatox morning!12:08
gatoxmandel, hi12:08
ralsina_hi mandel12:13
ralsina_I need to be afk for about 30' bbiab12:13
mandelack12:14
mandellunch here12:25
=== mandel is now known as mandel|lunch
alecuhola all!12:53
ralsina_hola alecu12:53
gatoxalecu, hello!12:56
gatoxneed to leave for a while..... brb13:00
=== gatox is now known as gatox_brb
dobeymeh, am not feeling so great today either :(13:20
ralsina_dobey: if you don't have anything on fire, maybe a day off to see the doctor or just to not work is always an option13:20
=== gatox_brb is now known as gatox
gatoxback13:21
ralsina_gotta reboot to see if I can unstuck skype13:22
dobeyyeah. maybe i should take a sick day13:31
ralsina_dobey: go ahead, you pushed yourself hard last week13:36
dobeysee you all tomorrow then. later13:36
gatoxbye dobey ! get some rest13:40
briancurtinget well dobey13:42
ralsina_bye dobey, take care!13:42
briancurtinafter spending almost 2 hours to get windows to recognize this hard drive, I'm going to pick up some coffee. be back shortly13:42
=== mandel|lunch is now known as mande
* mande back13:48
manderalsina_, we did move the 1-1 to today, let me now when you have some free time13:49
ralsina_mande: on mgmt call now, will ping you in a bit13:49
manderalsina_, perfect13:49
ralsina_mande: also, here's your l13:49
mandehehe13:49
manderalsina_, mande?13:49
=== mande is now known as mandel
gatoxwho's this l then?..... ok.... i have a spare l.......13:50
ralsina_mandel: is there anything till missing from unity that we need for your in-dash work?13:51
mandelralsina_, they made changes in the preview container which means that text entry are back not to working, so I have to fix that13:52
mandelralsina_, we also have to talk about the ppa? should it be theirs etc..13:52
=== mpt_ is now known as mpt
ralsina_mandel: are *you* fixing that?13:52
mandelralsina_, yes, at least for our work, should not be terribly hard13:52
ralsina_mandel: ok13:53
mandelralsina_, and I have a list of fixes, features that I'll forward to anyone who goes to uds to talk with them13:53
ralsina_mandel: any work the other team should do and is not landed yet?13:53
mandelralsina_, everything is there, is just that our  solution uses hacks due to the fact that we use a generic preview13:53
ralsina_mandel: ok13:54
mandelralsina_, aka if title == 'u1 payment' => magic13:54
mandelralsina_, we will need to talk about the correct way to approach that at uds13:54
mandelralsina_, most important thing => ppa13:54
ralsina_mandel: ok, let's talk about that later13:54
mandelralsina_, 1-1 :)13:55
ralsina_mandel: also, I have no idea who, if anyone, will be at uds13:55
mandelralsina_, ouch13:55
ralsina_mandel: ETA on the text entries fix?13:55
mandelralsina_, I expect to have it working tom13:55
mandelralsina_, it a regression from todays trunk, it is not hard to fix13:56
ralsina_mandel: ok13:56
gatoxralsina_, because of the freeze we are not allow to introduce new strings, aren't we?13:59
ralsina_gatox: we can't introduce them, correct.14:01
gatoxralsina_, ack14:01
alecugatox: is this bug related to the syncmenu issue that nes-sita brought up? bug #105446114:17
ubot5Launchpad bug 1054461 in ubuntuone-client (Ubuntu) "ubuntuone-syncdaemon crashed with NameError in /usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/platform/sync_menu/linux.py: name 'Dbusmenu' is not defined" [Medium,Confirmed] https://launchpad.net/bugs/105446114:17
gatoxalecu, mmmmm the other one was about SyncMenu..... this one is about Dbusmenu14:18
alecugatox: so, it sounds similar, right?14:18
alecugatox: can you take a look at it too?14:18
gatoxalecu, yes...... but that should be fixed too.... both things are in the same try....... and the previous problem was with the dummy class14:18
gatoxwhich is fixed now14:19
alecugatox: great. Can you link your branch to that bug too?14:20
gatoxalecu, ok14:20
ralsina_mandel: ping 1-1 but my microphone is not working14:54
ralsina_mandel: so, IRC14:54
mandelralsina_, and we are like 6 mins away from the standup :)14:54
mandelralsina_, shall we do it after it?14:54
ralsina_ok, after the standup14:54
ralsina_briancurtin, gatox, mandel, alecu, mmcc: standup in 6'14:54
ralsina_dobey is sick, thisfred is moving14:55
briancurtintyping now to avoid twitter shame14:55
gatoxack14:55
* ralsina_ has been slacking on the shame14:55
mandeloficially, nux sucks!14:56
ralsina_mandel: rhymes too14:57
mandelhe14:57
mandelthe textentry implementation is weak..14:57
alecumandel: no! officially, it's the best!14:57
mandelfixed the input stuff so we can type, but now it shows the password O_o14:57
alecumandel: sound like broken is much better :-)14:58
mandelalecu, yes, they changed how the preview container works and the started not passing forward the key events to the children, I have fixed that to send them to the text input.. and it shows the chars..14:59
mandelI'm truly disappointed..14:59
alecumandel: meanwhile, UX experts say that passwords should not be masked: http://www.useit.com/alertbox/passwords.html14:59
=== mandel is now known as mandel|truly-dis
gatoxme15:00
mandel|truly-disme15:00
alecume15:00
gatoxalecu, really..... a not masking password makes me uncomfortable15:00
mandel|truly-disalecu, I bet that guy shows his pin at the atm..15:00
ralsina_me15:00
briancurtinme15:00
gatoxwhile i type15:00
ralsina_go gatox!15:01
gatoxDONE:15:01
gatoxProposed branch for separator between recent and current transfers. Filed some issues to improve the ux in the share tabs. Started working in the branch to get the menu and syncdaemon status synced.15:01
gatoxTODO:15:01
gatoxElectroshock to wake up my brain. Finish with the synced status branch and propose. Start working in the Share Tab issues.15:01
gatoxBLOCKED:15:01
gatoxNo15:01
gatoxmandel|truly-dis, go15:01
mandel|truly-disDONE: Created a standalone application that can be used to test the payment preview (some tweaks are needed to make it a little nicer). Found out that the changes in the PreviewContainer that landed in unity trunk break the FindKeyFocusArea which was used to know if the password text entry should receive the key strokes.15:01
mandel|truly-disTODO: Fix the TabIterator in the PreviewContainer so that we get again the keystrokes from the user (fuuuuuuu). Add the underline under the 'Forgotten password' and 'Change password actions'15:01
mandel|truly-disBLOCKED: no15:01
mandel|truly-disCOMMENTS: Fuuuu to stupid changes in trunk.15:01
mandel|truly-disalecu, please15:01
alecuDONE: National Holiday: Finally visited Tecnópolis!15:01
alecuTODO: wrap up vala lens work15:01
alecuBLOCKED: no15:01
alecuNEXT: ralsina_15:01
ralsina_DONE: 1/2 natl holiday, mgmt call, some reviews, chased people around to tie loose ends TODO: mandel 1-1, 1/2 national holiday, ferry back to Buenos Aires BLOCKED:no  NEXT: briancurtin15:03
ralsina_sorry, internet died for a couple of minutes there15:03
briancurtinDONE: fixed windows tests with share-links branch, started reviewing mmcc's cloud-to-computer branch, lost the last part of the afternoon because my machine wouldnt come back after a reboot15:03
briancurtinTODO: finish reviewing mmcc's branch, answer the askubuntu question i was given about windows creds, 3x httpserver stuff15:03
briancurtinNOTE: since my machine got messed up, i just went ahead and upgraded it to win8 and did the few hardware upgrades i had been waiting for a chance to do. i have a few hours to make up so i'll stick around and come in early the next few days.15:03
mmccoops, me15:03
=== mandel|truly-dis is now known as mandel
mmccDONE: startup wizard remote folders fix, looked at sync bug when moving files15:03
mmccTODO: finish sync bug15:03
mmccBLOQ: no15:03
mmccalso, reviews. send me reviews15:04
ralsina_mandel: don't just try to fix those things in unity, please complain about it to the proper people15:04
alecumandel, gatox: "It's therefore worth offering them a checkbox to have their passwords masked; for high-risk applications, such as bank accounts, you might even check this box by default"15:04
mandelralsina_, will do15:04
gatoxalecu, ahhhh15:04
alecumandel, gatox: you should read the full article. And also, most of the articles in that site are really good if you want to learn about how to make great UI.15:05
alecuI need to be afk for 15 mins, bbl.15:07
ralsina_EOM15:07
ralsina_I will be around for another 45 minutes and then of until tonight15:07
ralsina_so if you need me for anything, ask quickly ;-)15:08
gatoxralsina_, mmmm do you want to do some reviews?15:09
ralsina_gatox: why not!15:09
gatoxralsina_, this one is really simple: https://code.launchpad.net/~diegosarmentero/ubuntuone-client/menu-separator/+merge/12600615:09
gatoxralsina_, and then i have this both too: https://code.launchpad.net/~diegosarmentero/ubuntuone-client/ubuntuone-client-timer/+merge/125499  -  https://code.launchpad.net/~diegosarmentero/ubuntuone-client/ubuntuone-client-menuorder/+merge/12576815:09
ralsina_gatox: UI freeze exception needed for the separator, I think :-(15:10
gatoxreally?15:10
ralsina_gatox: wait for dobey tomorrow and let's try then15:10
gatoxok.......15:10
ralsina_gatox: it's a change in the UI15:10
gatoxwow.....15:10
ralsina_gatox: although it's something that's invisibnle in the default install... so it may not be a problem15:10
ralsina_gatox: so wait for dobey and try again15:11
gatoxralsina_, ack15:11
mmccralsina_ , gatox, that client-timer branch will conflict with this one I did to fix the sync_menu no-op implementation for mac/win: https://code.launchpad.net/~mikemc/ubuntuone-client/fix-dummy-sync-menu/+merge/12612515:11
mmccnot sure what to do about that. I can wait until his lands, fix my branch and repropose I guess15:13
gatoxmmcc, i'll change the the __init__ to: def __init__(self, *args, **kwargs):15:13
gatoxi would15:13
gatoxmmcc, i think that would avoid some problems15:14
mmccgatox, in my branch you mean?15:19
gatoxmmcc, yes15:19
mmccit's only ever called with one argument, though15:19
gatoxmmcc, in the latest branch for the syncmenu..... i have on linux: def __init__(self, status, syncdaemon_service):15:20
gatoxfor def __init__(self, status, syncdaemon_service):15:20
gatoxsorry..... for: UbuntuOneSyncMenuLinux15:20
briancurtinmmcc: alecu provided a much cleaner answer to the cred question you had the other day: https://answers.launchpad.net/ubuntuone-client/+question/18461115:21
briancurtini think my idea of removing the registry key is just a dirty way of doing the same thing15:21
mmccbriancurtin: great, thanks15:21
briancurtinand thanks to alecu for answering that (i was about to and my win machine blew up)15:22
mmccgatox, ah, I see. I'll have to update a couple of things once your branch lands, that'll be one of them. thanks!15:22
gatoxmmcc, no problem15:22
gatoxmmcc, let me know when you need the review..... so i also merge my next branches with yours15:23
* gatox lunch15:23
=== gatox is now known as gatox_lunch
mandelmmcc, did the review, I still have to send you the fsevents daemon changes, let me restart the windows jenkins stuff and will do it15:31
mmccmandel: ok. what changes? is that changes to the tests for the jenkins-main branch?15:31
mandelmmcc, yes, the review I already did15:31
mmccmandel: ok15:33
mmccbrb, making coffee15:40
ralsina_I have a boat to catch, see some of you later, the rest tomorrow. Bye116:08
ralsina_!16:08
mandelEOD here, catch you all tom!16:10
=== gatox_lunch is now known as gatox
gatoxalecu, ping17:20
briancurtinalecu: do you happen to remember what patch to twisted we need to use on Windows? i seem to remember it was something you entered on the twisted tracker, but im not finding anything with your name on it17:37
briancurtinalecu: asking because im setting up a new machine and dont want to get to the point where i build another installer with a bad environment :)17:37
mmccbriancurtin: sounds like a fun little Tuesday you've got goin' there17:43
briancurtinmmcc: its not exactly productive, but humming along. im doing the final setup right now to get back to actually running your branch. so far everything looks ok by reading it17:45
mmccbriancurtin - cool, I'd completely forgotten about that branch. definitely hoping it works on windows. It looked like it wasn't working for a bit on Friday on linux, but then yesterday I couldn't break it again17:46
mmccI don't like code that inexplicably fixes itself. It's not the boss, I'm the boss17:47
alecugatox: pong18:03
alecubriancurtin: let me find it18:03
gatoxalecu, already fix it..... no problem18:03
alecubriancurtin: this is the twisted bug: http://twistedmatrix.com/trac/ticket/5726 My patch is there, still pending some trivial fixes requested on the review.18:06
briancurtinalecu: cool, thanks. applying it now18:08
* alecu thanks his ISP for the breakage. I also agree that google search is not an interesting part of the Internet, so congratulations on denying me access to it.18:09
briancurtinSSO tests completed in 6.003 seconds. i guess this computer is kinda fast now.18:09
alecubriancurtin: awesome!18:10
alecubriancurtin: are you sure you've not set them all to @skip?18:10
alecu:-)18:10
mmccwow, I'm jealous18:10
briancurtinhaha, i have done that in the past. wow, 1000 tests in 0.5 seconds...oh entire modules are skipped18:10
mmccugh, I'd test but trunk still has the old run-mac-tests18:12
mmcc(test my speed that is)18:13
mmccof course it took 3.2 seconds for the script to fail to find u1trial, so I'm not optimistic18:13
=== yofel_ is now known as yofel
mmccgatox, I have a style question about this branch: https://code.launchpad.net/~diegosarmentero/ubuntuone-client/ubuntuone-client-timer/+merge/12549918:17
karniHow hard/easy it is to write a python app, that plugs into syncdaemon/dbus to detect when SD becomes idle?18:17
karniMeh. Forgot about good intro.18:18
gatoxmmcc, shoot18:18
karniHey desktop guys! How's it going :)18:18
karniHow hard/easy it is to write a python app, that plugs into syncdaemon/dbus to detect when SD becomes idle?18:18
karniNow, better :)18:18
mmccgatox, wouldn't it be better to have register_listener raise an exception or at least log a warning instead of just doing nothing when you pass it something that isn't callable? I'm allergic to silently ignoring bad inputs…18:18
gatoxmmcc, +1 to log18:19
gatoxmmcc, i'll fix that18:19
mmccgatox, then my question is why just log it instead of raising an exception?18:20
gatoxjjeje18:20
alecukarni: I think that syncdaemon only emits dbus signals when the connection state changes, but not when it's IDLE18:20
karnialecu: Does it emit stuff like "I've done some work"/"I've finished doing stuff"?18:21
gatoxmmcc, do you think that is better to raise something like TypeError("callable object expected")?18:21
karnialecu: And thanks for your answer :)18:21
alecukarni: it emits "I'm starting to download such and such file." "I'm done downloading such file"18:21
karnialecu: same goes to uploading, right?18:21
alecukarni: right.18:21
mmccalecu, karni, if you're willing to make your script depend on ubuntuone-client, you can look at the systray script and see how it registers itself as a status listener18:22
karnimmcc: great idea18:22
mmccand as a bonus your script would work on mac and windows :)18:22
alecukarni: also, how do you plan to do the UI for your app?18:23
mmccgatox, I do, because that's really an error - that function expects a callable, and nothing else makes sense to give it18:23
karnialecu: I don't ;) Headless.18:24
gatoxmmcc, ok..... let's do that18:24
mmccgatox: but I'm willing to be convinced otherwise18:24
karnimmcc: oh sweet!18:24
alecukarni: (also, you may be able to poll SD for its state every X seconds, but it would be as ugly as it sounds)18:25
karnialecu: :D18:25
karnialecu: mmcc: I think tracking "finished uploading xyz" is a great start, thanks guys!18:26
karnialecu: mmcc: Is there an event for metadata changes? like "file renamed/published/deleted" ?18:26
karni:>18:26
mmcckarni: my idea about the systray code is not great, in retrospect - it'll depend on u1-client and everything else that depends on18:26
karnimmcc: The simpler the better (but I'm stating the obvious here). I don't mind it depending on u1-client, because it will be only targeted for computers running U1 client.18:27
mmccyou probably want a new twisted PB client that connects to syncdaemon directly and registers for the same event that the control panel backend does18:27
karniaha18:27
karniPB?18:27
mmcckarni: right, but control panel will bring in Qt, and ouch18:27
karnimmcc: Right. But my program wouldn't make sense on a desktop, which doesn't have U1. Can we run headless U1?18:28
alecummcc: mind that PB is only used on mac and windows18:28
karni(I think the headless U1 was a question stated hundreads of times here)18:28
mmccPerspective Broker, the twisted IPC stuff. I guess that's just on non-linux though, and we've wrapped it in the u1-client code, so you want the wrapper18:28
alecukarni: PB is Perspective Broker, the IPC that comes standard with twisted.18:28
mmccalecu: right, remembered that just after I said it18:28
karniI could always make it poll file_storage API volume generations, but that is still polling, which sucks.18:29
karniaha18:29
mmcckarni: see set_status_changed_handler here http://bazaar.launchpad.net/~ubuntuone-control-tower/ubuntuone-control-panel/trunk/view/head:/ubuntuone/controlpanel/sd_client/__init__.py18:30
karniTheoretically I could hack SD, although that being a "plugin" would be much better, I think. I want to send push notifications to Android once volume generation is increased.18:30
alecukarni: I can't find any APIs for renames/publishes/deletes.18:30
karnimmcc: \o/ looking!18:30
karnialecu: I see, thanks for looking!!18:31
mmcchmmm, not sure that's the right level of detail for what you want.18:31
karnimmcc: I can pull volume delta, so if it's a rename/publishing file/new file/deletion, I'll get it from Android (or any client, which supports delta, really)18:32
alecukarni: for uploads/downloads you may use this: https://one.ubuntu.com/developer/files/store_files/syncdaemontool18:32
alecukarni: specifically SyncDaemonTool.wait_for_signals18:32
karnimmcc: So I'm basically interested in any event that touches files or their metadata. (Everything? :D Besides shares)18:32
karnialecu: uuu nice!18:33
karnime likes18:33
alecukarni: what's the use case for this app? just for you, for debugging?18:34
alecukarni: in that case, I would suggest hacking a listener for the "generation changed" event inside syncdaemon18:35
alecukarni: I might be able to guide you if you need some help.18:35
karnibrb otp18:35
mmcckarni: yeah, my suggestion might be too high level. it's the same info you get from u1sdtool -s, which is just 'is_connected/is_error/is_online/working_or_not' , but you want more detail18:36
karniback18:37
karnialecu: yes, that would be ideal, to be honest18:37
karnialecu: Totally, thanks :) I'll keep you in the loop.18:37
karnimmcc: Right, still, thanks :)18:38
karnialecu: Use case - *if* you use U1 mobile app (let's start with Android, we can expand later), you'd get push notifications about genration change, which would basically allow syncing data onto the device.18:40
karnialecu: Say, added a document to folder -> push -> phone pulls it (only selected folders are kept in sync, not all U1 volumes)18:40
karnialecu: You update a text file -> push -> phone pulls it, before you even notice :)18:40
karnietc18:40
karnialecu: Initially testing, ideally in the future - a feature of u1-servers18:41
karnialecu: I'm taking it to the client, because it's so much easier to start with. If it works nice, I may hack it on the server side.18:41
karniNow, gotta Get Things Done™, thanks alecu and mmcc!18:42
alecukarni: how do you plan to have the desktop client talk to the phone?18:43
karnialecu: with Google Cloud Messaging push :)18:43
* alecu is intrigued18:43
karnialecu: for start, I'll write a Google AppEngine server18:43
karniI can learn tons of things \o/18:44
karniThat part would be later on hosted with u1-servers (as a module, plugin, whatever we end up coding)18:44
karnialecu: To be honest, it doesn't need to be an AppEngine application. It can be a simple Django or even single-file php app :)18:45
karniJust to get the stone rolling.18:45
karnialecu: FWIW few evenings back I added push to my friends app, and it was super easy. Like.. too easy :)18:45
alecukarni: right! go ahead, and let me know if I can be of any help.18:45
karnialecu: Awesome, thanks :)!18:45
gatoxmmcc, the branch has been updated18:55
mmccgatox, looking at it now, thakns18:55
mmccgatox, what's the easiest way to IRL test this on ubuntu? if that answer starts with "Quantal", I'll skip it, since I don't have a q vm set up yet18:56
gatoxmmcc, you will have to skip it then :P18:57
mmccok then. I'll run tests on osx and someone else will have to look at the menu18:57
alecubye all, will be back in a few hours!18:58
gatoxalecu, bye18:58
mmccgatox, sorry I started the tests then swapped tasks, you need to update the test to expect the new exception.19:19
gatoxah right19:19
gatoxmmcc, done19:40
mmccgatox: cool, looking again19:40
mmccgatox, +1 finally, sorry that took so long20:30
gatoxmmcc, no problem! thanks!20:30
gatoxok..... eod for me! see you tomorrow people!20:45
mmcclunchtime21:25
=== m_conley is now known as m_conley_away
mmccback22:46
mmcccleared out this annoying test failure on ubuntuone-client on darwin: https://code.launchpad.net/~mikemc/ubuntuone-client/darwin-platform-platform/+merge/126345 <--- trivial review if anyone wants one22:57
=== eu is now known as Guest21434
=== Guest21434 is now known as adorilson
mmccok, time to go, be back later tonight23:50

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