=== MikeB is now known as technoviking === mmcc_ is now known as mmcc === mmcc_ is now known as mmcc === mmcc_ is now known as mmcc [06:57] a branch to fix running form source on windows or darwin when you haven't installed the client before. Not sure how relevant it is on linux. https://code.launchpad.net/~mikemc/ubuntuone-client/find-logging-conf/+merge/130036 [07:34] fixed a conflict in this old branch: https://code.launchpad.net/~mikemc/ubuntuone-control-panel/remote-folders-fix/+merge/126037 [07:35] would appreciate a re-review by ralsina , since it was conflicting with your change about showing the folders tab first after the wizard ends. [07:35] ok, past bedtime. see you tomorrow, channel [08:15] morning all! === yofel_ is now known as yofel [08:31] Morning all! :) [11:02] Morning all! [11:06] good morning! [11:07] good morning karni, gatox, mandel! [11:07] karni, gatox, ralsina morning! [11:07] morning ralsina, gatox, mandel o/ :) [11:07] ralsina, did you get the chance to look at the double gathering review? [11:14] mandel: not really [11:15] ralsina, ok, you had a question and I don't know if I explained it correctly [11:17] mandel: yes, saw your answer, you are right [11:17] mandel: but I have not done a real review yet [11:17] ralsina, ok, let me know if you have anyother questions :) [11:28] school run [11:28] will be back in ~60 [12:05] hello, all! [12:05] if I upload a file, any idea at what speed that goes? [12:05] 100kb/s ? [12:08] brb.......... need to fix the connection here..... it's really slow [12:35] * mandel feels dirty, you wrote an empty lambda in c++ [](){} [12:38] alecu, ping [12:39] mandel: what? [12:39] alecu, is there a way to connect to uploadFinished and downloadFinished u1-client signals from control panel..... as far as i know.... the signals exists..... but it doesn't exist a way to get them from control panel [12:39] gatox: pong [12:40] alecu, I meant, I wrote that.. ugly syntax... [12:40] gatox: let's check [12:40] mandel: [] is the part I don't understand. Is that an empty array access? [12:40] alecu, that is a lambda with no state that takes no params and does nothing (I had parents but did not want to use the entire or the irc logs) [12:41] mandel: () is a lambda with no parameters, {} is the empty body of the lambda [12:41] alecu, and the [] tells is to deduce the return [12:41] mandel: ah! [12:41] alecu, for example [](int n) { return n * n;} [12:42] mandel: ah, I see: http://en.wikipedia.org/wiki/C%2B%2B11#Lambda_functions_and_expressions [12:43] alecu, yes, unity is not plain old c++.. [12:43] alecu, and the syntax for that looks like a joke [12:44] mandel: it seems that what goes inside the [] is not the return type [12:45] mandel: what goes there are the variables you want to capture, making the lambda a closure [12:45] mandel: http://en.wikipedia.org/wiki/Anonymous_function#C.2B.2B [12:45] mandel: the return type goes after the optional -> [12:45] [](int x, int y) -> int { int z = x + y; return z; } [12:46] alecu, oh god! I need to read more into detail that.. i have completely ignore c++11 [12:46] mandel: I've ignored C++ 98-2012! [12:47] alecu, yes, more like that hehe [12:47] [x, &y] //x is captured by value, y is captured by reference [12:47] hmm... explicit beats implicit? [12:48] "help me figure out which variables to add to the closure, I'm already a too big and stupid compiler, and I can't do anything remotely smart!" [12:48] lol [12:51] well, time for lunch [12:51] alecu: well, you are going to have to learn cx11 pretty son now ;-) === mandel is now known as mandel|lunch [12:51] huh [12:52] alecu, i was about to start creating a way to connect to uploadfinished and downloadfinished signals from control panel..... and i just wanted to know if that is ok..... or i'm redoing some work (which i believe i won't..... because i couldn't find a way to connect to that already) [12:54] alecu, actually.... what i want to do is to detect from control panel, when there are new folders in u1 [12:54] mmcc: Any particular Objective-C book you'd recommend? [12:56] karni, i personally like the Big Nerd Ranch books. can't remember the guy's name though... [12:57] * karni checks out Big Nerd Ranch site [12:59] chaselivingston: I'm confused. They have an 'Objective-C programming' and 'iOS programming' books, and the description of Obj-C prog. starts with "Want to write applications for iOS or the Mac?". Same split with "Advanced Mac OS X programming" and "cocoa programming". [12:59] chaselivingston: Anyhow, they seem to have good reviews, thanks! [13:01] karni, np, i think i may have the getting started with obj-c book, or whatever it's called [13:01] * karni nods [13:04] let me restate my prblem, since there is activity here now :) [13:05] hi there. I run Mac OS X 10.8.2 natively, and just tried Ubuntu One, and purchased one song. It's been 19 hours, and it still has not synced locally (in ~/.ubuntuone/Purchased from Ubuntu One) [13:07] ralsina, alecu i was thinking of creating a newFilesAdded signal..... that will be emitted when new files has finished being uploaded or downloaded into the u1 folder.... so i can update the control panel filter with those files..... is that ok for you? [13:07] gatox: small concern about triggering tons of signals [13:09] ralsina, yes..... i know..... the other solution i can think of....... is to refresh the content of the folder with a timer, and only parse the new files that we didn't have....... but again..... i don't like timers either..... [13:09] and i can't see any other way to get notice from the control panel when new files are added [13:09] mareklug: Hi, could you submit the form at http://one.ubuntu.com/support/contact so we can get some more information from you? [13:10] chaselivingston: ok, thank you [13:12] ok.... i'm kind of stuck here..... i don't want to waste time implementing a signal thing from u1-client to u1-cp..... if that isn't the proper way, because we prefer to avoid triggering a lot of signals (which i know is a problem)...... alecu can you tell me when you have a minute to mumble or something?? [13:13] * gatox moving on to another bug [13:13] gatox: remember that on linux IPC is broadcasted, emitting signals is expensive [13:14] gatox: so, maybe consolidate and rate-limit the signals? [13:14] ralsina, yes, i know..... that's why i realize is not the best solution..... but i couldn't find anything with the things we already have to detect that [13:14] chaselivingston: done [13:15] gatox: sorry, got distracted here. [13:16] alecu, i can move on to another bug if you want and discuss this later..... but from my point of view, this is one of the most important issues in shares tab at this moment [13:16] gatox: I see all of the above as hacks that can help us solve this, but not as definite solutions. [13:16] that the list of files in the filter is not being refreshed during the times u1-cp was open [13:16] alecu, ok [13:16] mareklug: thanks, i'll get to it ASAP [13:16] chaselivingston: I just tried to deselect and reselcet the Sync Locally? checkbox, and that fixed it. It's synced locally now. [13:16] gatox: the definite solution is doing the search *inside* SD [13:17] gatox: since it's SD the only one that knows about each and all files. [13:17] alecu, and ask for the list of files from control panel each time we are going to display the popup? [13:18] gatox: no, we won't ask for the whole list, we would ask for a search [13:19] gatox: and SD would return a list of files that match that search [13:19] alecu, let me see if i understand..... so....... syndaemon will return the items to load in the popup..... and manage the fetch more function too each time we ask? [13:19] gatox: yup, that makes sense [13:19] ok..... to do that....... syncdaemon will need to manage the folder exploration too..... so there is a lot of logic that need to be move to u1-client [13:20] gatox: SD already does the folder exploration [13:20] gatox: SD already knows about every file that is managed by u1! [13:21] alecu, i'm not complaining, i also think that is the best solutoin what you mention, and it's not hackish..... ok, i'll start refactoring that then! [13:22] gatox: sure. We can mumble to discuss details if you want [13:22] gatox: the thing is that we may have to find a way to index the metadata in order not to load everything into memory. [13:22] alecu, if you want..... let's do it..... i think i understand everything..... but maybe a quick mumble to see if we are in the same page [13:23] * alecu fires mumble up === m_conley_away is now known as m_conley [13:53] hrmm [13:53] how do i get internet to work with the realtime kernel [13:54] FloatingGoat_: no idea; i suppose you might want to ask in the ubuntu studio channel perhaps, or ubuntu kernel channel [13:54] oh [13:54] I thought this was ubuntu studio [13:54] oops [13:54] lol [13:55] this is the ubuntu one channel [13:55] I noticed [13:55] thanks mate === mandel|lunch is now known as mandel [14:49] ralsina: hi, can ubuntu sso frontend start but fail to start backend? If that happens, what can be the issue - I have a user whose sso-client logs only have "Querying OS for proxy" lines [14:54] rye_: i think the backend is what runs the front-end [14:55] rye_: so unless someone was explicitly running the front-end, then probably not? [15:00] rye_: like dobey said [15:00] me [15:00] me [15:00] me [15:00] rye_: what can happen is that the backend can't start the proxy tunnel though [15:00] me [15:01] * karni wonders what time is it for Paul [15:01] meep [15:01] alecu, gatox? [15:01] ralsina, i already say me [15:01] me [15:01] ralsina, did you get my messages? [15:01] me [15:01] gatox: apparently not [15:01] gatox: sms? [15:02] ralsina, i say me before you [15:02] ralsina: sso doesn't use a proxy tunnel [15:02] me [15:02] ahhhhh mmy connectoin is really bad..... i'll call my isp after the standup to complain [15:02] gatox: I did see your 'me', FWIW [15:02] dobey: yes it does :-) [15:03] karni, thx..... so maybe was just ralsina [15:03] gatox: I have it, I just missed it [15:03] gatox: relax :) [15:03] ralsina: eh? sso has built-in proxy support in the web client; it doesn't start a tunnel process [15:03] ralsina: dobey is right [15:03] dobey: doesn't it use the proxy tunnel to detect the proxy config? [15:03] karni, jejee i'm a little nerveous because my connection is working really bad [15:03] dobey: I can be misremembering, of course [15:04] so......... briancurtin go [15:04] ralsina: no, it just runs gsettings [15:04] gatox: I see :) [15:04] DONE: 1-1, tickets booked, installer built with minimal issue - two small branches for updates. ran it on win8 and it works fine with the changes. ran it on my Win7 VM and it won't authenticate [15:04] TODO: run the installer on an XP VM and see what happens there, then debug why Win7 isnt working [15:04] NEXT: karni [15:04] [DONE] Looked into iosched app as politely requested by Jorge Castro to see if its fit pending customizations to serve UDS in the future. Added a couple U1Mv2 home activity UI tests. [15:04] [TODO] Wire up player buttons to bound music service (requires adding some utility methods). Surface service feedback in the player. [15:04] [BLOCKED] No. [15:04] me [15:04] NEXT: gatox [15:04] [CUSTOM] Thanks for warm welcoming, team! [15:04] DONE: [15:04] Landed the qthread crazy branch. Work on some ast examples for dobey, some reviews. Mumble with alecu to analyze how to fix the Bug #1056189. Analyzing u1-client filesystem_manager and volume_manager to see how to use the info collected by them. [15:04] TODO: [15:04] Propose the necessary changes that should be made to move the search and filter logic from u1-cp shares tab to u1-client. [15:04] BLOCKED: [15:04] No [15:04] Launchpad bug 1056189 in Ubuntu One Control Panel " shared files search don't include the files that were shared during the time control panel was open" [Undecided,In progress] https://launchpad.net/bugs/1056189 [15:04] ralsina, go [15:04] DONE: calls, reviews, figuring out what you guys need to do TODO: more of the same BLOCKED: no, NEXT: mvo [15:05] DONE: lp:~mvo/software-center/fix-for-unusual-deb-lp106734, verify/work on SRU for #846044 in python-dbus, review/comment lp:~andrew-hayzen/software-center/accelerator-fix-lp744655, python-apt: merge lp:~mvo/python-apt/mvo into the debian-experimental (and therefore ubuntu R) branch, legacy: auto-upgrade-tester: add force-unsafe-io option, legacy: fixes in the conflictshecker for the new python-apt AP [15:05] TODO: learn about the new team [15:05] book flight to london [15:05] BLOCKED: nothing [15:05] (I think) [15:06] (done) [15:06] mvo, alecu: we need to have a call today, is in 2 hours too late for you, mvo? [15:06] rockstar, your turn, right? [15:06] Sure. [15:06] ralsina: maybe, need to talk to my wife [15:06] DONE: travel booked [15:06] TODO: finish 2.0 Music API branch [15:06] BLOCKED: none [15:06] mvo: we usually say a NEXT to the next guy [15:06] NEXT [15:06] DONE: branch to ignore RedefinedWhileUnused warning inside ImportError exceptions in pylint [15:06] * mvo will learn [15:06] TODO: email intro, bug triage, fix bugs, move off pylint, investigate packaging u1db-client/u1db-serve scripts [15:06] BLCK: None. [15:06] alecu: go [15:06] DONE: booked tickets to sprint, med checkups, misc mumbles, a bit of vala fixes [15:06] TODO: more mumbles, more vala [15:06] BLOCKED: no! [15:06] NOTE: cardiologist says I'm a-ok [15:06] mvo: Welcome to the team, I'm new on client engineering as well :) [15:07] EOM? [15:07] alecu: good note! [15:07] hey karni, thanks! [15:07] alecu, good for your heart! :D [15:07] alecu, no, I'm missing! [15:07] mvo, if 2 hours is too late we can do earlier, alecu, we need to coordinate our lunches :-) [15:07] everyone forgets me.. [15:07] DONE: Booked flight to London. Canonical admin. Got code in unity trunk. [15:07] TODO: Improve action link implementation to use PangoUnderline rather than a h line. Talk about unity ppa with payment preview. [15:07] BLOCKED: no [15:07] I just wanted to say I enjoyed those e-mails about you guys, thank you for that. [15:07] This order is confusing. [15:07] ralsina: I can postpone my lunch, no prob. [15:08] ralsina: we can do it nowish if you want [15:08] karni, I'm not sending and email... too cheese for my taste :P [15:08] rockstar: it's the order in which we say "me" [15:08] rockstar: Expand on that :) [15:08] *now-ish [15:08] mandel: pff :P ;) [15:08] ralsina: oooh I didn't know that! [15:08] rockstar: then, you only need to remember who said me after you, and you "NEXT thatguy" [15:08] ralsina, ah, and I only saw a set of "me"s [15:08] rockstar: right, you were a bit late :-) [15:08] That makes sense [15:09] and if anyone doesn't say me at standup +2 I make fun of him in twitter [15:09] you are now warned [15:09] ralsina: hahahah [15:09] ralsina, also, stop forgetting about me ;) [15:09] Pfft. *I* make fun of me on Twitter. I'm not afraid. [15:09] ralsina: Executing netsh.exe advfirewall firewall add rule name="Ubuntu One" dir=in action=allow program="C:\Program Files\ubuntuone\dist\ubuntuone-syncdaemon.exe" enable=yes - are we forgetting to allow proxy tunnel through? [15:09] rockstar: hahah :) [15:10] rye_: i think that was added before proxy tunnel was a thing, so maybe [15:10] the 1st guy that said me starts at xx:02 then those who didn't say me go at emi-random [15:10] rye_: i can add that and any others we need - i'm working on the installer right now [15:10] briancurtin: BTW, there is a bug about not ding that in XP [15:10] briancurtin: so if you can debug both at the same time, +2 [15:10] aha, got it [15:11] also, karni, rockstar, mvo: we have review days [15:11] * karni listens [15:11] what does that mean? [15:11] you need to choose one each, and in that day, you are volunteering to do reviews [15:11] (i.e. isn't every day a review day ;) [15:11] alecu, ralsina, put 'path' back, just to comply with API: https://code.launchpad.net/~facundo/ubuntuone-client/put_path_back/+merge/130142 [15:11] mvo: not for everybody :-) [15:12] aha [15:12] nessita, this is the branch to make magicicada to has path in the signals again ^ [15:12] ralsina: is this documented somewhere on the wiki? or we just throw MP's here on IRC? [15:12] in any case, sometimes, some reviews need to be done by someone [15:12] ha! I take the 1st of each month then [15:12] mvo: lol, rather a day in a week ;D hahaha [15:12] karni: we ask here, but the reviews are there in launchpad anyway [15:12] mvo: you can do reviews whenever you want, but we have assigned days so that people can ping specific reviewers to get reviews done quickly [15:12] karni: but feel free to pester people as much as needed [15:13] dobey: aha, thanks [15:13] also, the final review rule is that if noone does it I'll do it [15:13] karni: ;) [15:13] is there a wiki page I should add my review day? or use the calendar? or just announce it informally here? [15:13] but I am not the greatest reviewer, so try not to fall in that [15:13] mvo: we have them in the calendar [15:14] ralsina: each person calendar or some custom calendar I could add to my goog cal? [15:14] karni: good question, it's a global one, but I am looking for it [15:14] facundobatista: nice! [15:14] ralsina: you probably need to add new people to that calendar, yeah [15:14] ralsina: Thank you [15:14] mvo, karni, rockstar: I'm adding you to the review calendar [15:15] alecu: great [15:15] thanks [15:15] ralsina, it is u1-client review days Details [15:15] I added them I think [15:15] (now) [15:15] ralsina: actually, now we have the right number of people to have 2 each day, with you not being one of them [15:15] yay [15:16] ralsina: so karni, mvo, and rockstar should replace either you or eric on the calendar [15:16] I will still end up covering some because of timezones I guess [15:16] well sure [15:16] alecu, just add me wherever, and let me know. [15:16] briancurtin: do you want me to file a bug? [15:16] rye_: if you can that would be great [15:16] mmcc is internet-less it seems, he's moving [15:16] ralsina: i don't recall any windows pop-ups asking to grant access to the proxy process though [15:17] rockstar: I've shared the calendar with you. You get to choose your day of the week [15:17] alecu: I used a dice and picked tuesday but I don't mind much, just pick any day if tuesday is not a good choice [15:17] rye_: then the exception is probably good enough [15:17] * dobey makes a note that San Diego apparently is an internet dead zone [15:17] dobey: I think just mmcc's house :-) [15:17] heh [15:18] karni, mvo, rockstar: we try to keep bureaucracy to a minimum, so I think that's all we have ;-) [15:18] ralsina: sounds good [15:18] * mvo nods [15:18] mandel: you can now officially stop complaining about being the sole euro guy [15:18] ralsina: I can swap you out for myself on Thursday? [15:19] mandel: you are the 3rd-easternmost [15:19] ralsina: you're already WEd and Thu [15:19] karni: sure [15:19] ralsina, I'll starting complaining being the only spanish one then :) [15:19] ralsina, don't worry..... mandel is going to find out something else to complain about [15:19] mandel: easy to fix! [15:19] like that [15:19] mandel: hahah [15:19] or, I complain because nux does not have underline implemenation in the StaticCairtoText.. wtf! [15:20] karni: ralsina is on mon too [15:20] s/implemenation/implementation [15:20] mandel: please don't start implementing that [15:20] mandel: or faking it [15:20] ralsina, well, one of my MP is blocked due to that [15:20] just use a sharpie for now [15:20] mandel: yes, but we can't just implement everything we need! [15:20] ralsina, so I have too.. is not THAT much work [15:20] mandel: that way lies forking ubuntu [15:20] so, there are review slots from mon to thu. karni picked thu. mvo, rockstar? [15:20] alecu: even worse, 3 days. I took one of them for now. We'll see how I handle reviews, I shouldn't take too much in the first days, as I need to pick up some kill most probably. [15:21] ralsina, true.. [15:21] alecu: tuesday if you don't mind [15:21] karni: it's ok, I'll back you up [15:21] ralsina: Thanks :) [15:21] haha /s/kill/skill ! [15:21] * karni is a silent killer [15:21] you can pick some kill and cook it, too, I'm ok with it! [15:21] hahahh [15:22] alecu: I'll swap eric for mvo, I have the calendar before myself [15:23] karni: already done [15:23] oh, there he is :) [15:23] mandel: so, try to see if they have it planned. If they do, then for when. If when is "too late" do it and they owe us one. [15:23] I'll be here to pick up slack until the 31st [15:23] so, rockstar: is mon or wed ok with you? [15:23] most of the time at least [15:23] thisfred: awesome [15:23] alecu, mon is fine [15:23] ralsina, ok, but I'm sure they do not have it planned [15:23] I made it! sorry folks, connection issues. I'm at a cafe. now to read the backlog. [15:23] thisfred: you're just full of slack aren't you! :) [15:23] if they don't, they owe you a larger one :-) [15:24] * gatox lunch === gatox is now known as gatox_lunch [15:24] dobey, hell yeah. [15:24] praise Bob [15:24] thisfred: Sorry to see you go, Eric. Although we haven't worked close much, you've been awesome when we have! [15:25] karni, thanks, same here! [15:25] thisfred: we all share what karni said :-( [15:26] ok, family here says "come and have lunch or else" [15:26] so I'll be back in about 45' [15:26] ah, lunch. i should go have lunch too [15:26] the "or else" clause is undisputable! [15:28] ralsina, not implemented, not planned I'll do it [15:29] ralsina: this winxp thingie - http://stackoverflow.com/questions/3558494/avoiding-a-windows-firewall-popup ? [15:30] ralsina: why do we actually need to add the rules? [15:32] bbiab [15:34] I'm going to have lunch as well, back in a while. [15:35] rye: i was under the understanding that adding the rules gets us around the pop in the easiest way, otherwise a windows dialog shows up for the user and they *must* enable it otherwise we wont work [15:36] briancurtin: but it will pop up only when it triest to listen for incoming connections, not outgoing. Something that only a tunnel will do [15:36] rye: i thought we add incoming and outgoing [15:38] rye: ah, on XP, the command line isnt advanced enough to specify in/out like we do on vista+ [15:39] oh, maybe the first answer is helpful (guess i should have read the whole thing first :/) [15:39] briancurtin: ah, our IPC, all processes are listen on loopback interface [15:55] karni: Just saw your question about objc books. The big nerd ranch books are great. "Cocoa Programming for Mac OS X" is the original that I used, but I think in your case I'd recommend getting the iOS one - since we don't really have much Mac Cocoa code -- the fsevents daemon is objc but hopefully won't change much, and doesn't use any of the UI framework, and the rest of the mac app is almost all PyQt. [15:55] On the other hand, the iOS client is (AFAIK) strictly native ObjC and UIKit [15:56] btw, people can hear me, right? [15:57] mmcc: i can see your messages, if that's what you mean :) [15:57] chaselivingston: but can you hear me? I'm shouting really loud [15:57] (thx) [15:57] mmcc: nope, not loud enough [15:57] getting hoarse [15:57] mmcc: oh well, just give up. typing is good enough [15:59] mmc: perfect, thanks! /me lunching now [16:02] dobey, PangoLayout always has a PangoListAttr right? it cannot be the case that pango_layout_get_attributes returns a null pointer, or am I mistaken? [16:03] dobey, it does not state null as a return value in http://developer.gnome.org/pango/stable/pango-Layout-Objects.html#pango-layout-get-attributes [16:04] hm.. looks like I do get a null pointer.. === gatox_lunch is now known as gatox [16:32] ralsina, alecu - quick review: https://code.launchpad.net/~mikemc/ubuntuone-control-panel/set-default-folders/+merge/130171 [16:32] also alecu, https://code.launchpad.net/~mikemc/ubuntuone-client/find-logging-conf/+merge/130036 [16:32] another quicky [16:33] and ralsina if you could look at this one again, since i had to resolve a conflict with one of your branches: https://code.launchpad.net/~mikemc/ubuntuone-control-panel/remote-folders-fix/+merge/126037 [16:34] mmcc: in set-default-folders... are those names translated on non-english osx? [16:34] * alecu uses english [16:34] alecu: that is a very good question. I will verify but I think you can always get to them with the english names [16:38] alecu: yes, confirmed with a guest user - the file names are english. Finder and other UI controls translate them but don't rename them [16:38] so maybe we should do the same in our UI [16:41] ok, EOD here after being told that I have to get an underline in pango have a diff alpha value that the rest of the font.. hard to explain to design why that is not possible.. sigh [16:42] mmcc: got it [16:43] mandel: would have to look at the code [16:43] mandel: lazy spaniard! [16:43] mandel: it's just two alphas! ;-) [16:44] dobey, just did a small test and it does return null, easy fix [16:44] ralsina, ha! that is how I did it with a little hack and an horizontal bar but then got a needs fixing in the review (with which I partially agree).. [16:44] mandel: faking underlines never ends well [16:46] ralsina, yes, with long text etc is going to look bad, so I'll make design think harder and not use diff alphas in the same 'object' [16:46] mandel: it just returns that attribute, and that attribute can probably be NULL; but it doesn't have a special meaning like other functions might return NULL for [16:48] dobey, ack [16:48] well, EDO for me, catch you all tom! [16:50] ralsina: mvo says that he can mumble in two hours, but I'm picking up amelia at that time. Shall we do it tomorrow on our AM? [16:50] alecu: ok, tomorrow early is good [16:56] Was going to call a mumble last week about sync menu support code only sending upload info, but it got lost, so I filed a bug so we don't forget: bug #1067806 [16:56] Launchpad bug 1067806 in Ubuntu One Client "sync menu should show active downloads as well as uploads" [High,New] https://launchpad.net/bugs/1067806 [16:59] facundobatista: I have no problem with put_path_back but I don't follow it in the big picture, I could +1 but it would be sort of a lame +1 [17:01] mmcc: about the autoconnect being true by default. Yes. And this is for first-time users, true. BUT if you changed autoconnect then removed the device you will be in the wizard with autoconnect=false because we don't delete the config. [17:01] ralsina, events sent to the world about commands on nodes need to have the path [17:01] ralsina, commands has a to_dict() method that serializes important info from selves [17:01] facundobatista: yes, but I don't know which commands those are, so I can't follow if this branch is sufficient :-) [17:02] ralsina, commands about files: Move, Unlink, Make, Upload, Download [17:02] facundobatista: ok, in that case +1ing [17:05] ralsina: yes - so in that case we're ignoring autoconnect that one time, which I thought would be OK. [17:05] mmcc: sure [17:06] mmcc: also +1 for oldfashioned use of map in set-default-folders ;-) [17:07] mmcc: HOWEVER, I think those path strings should be unicode [17:07] eh? [17:07] ralsina: that's old-fashioned? and oh yeah, unicode. d'oh [17:07] mmcc: not 100% sure though. Let's ask gatox :-) [17:07] my isp has confirmed that my internet connection is working like crap.. at least they are honest..... they'll call me to fix the problem in less than 3 hours (i hope they are honest about that part too :P) [17:07] old fashioned? i'm all out of bourbon :-/ [17:08] ralsina, what do you want to aask me? [17:08] ralsina: dirspec is all bytes, all the time, at least [17:08] gatox: look at https://code.launchpad.net/~mikemc/ubuntuone-control-panel/set-default-folders/+merge/130171 [17:08] gatox: should those paths be bytes or unicode? [17:09] we need to check what the other implementations do, I guess [17:10] linux opens the dirs file as utf-8… [17:11] windows uses the return value of win32com.shell.SHGetFolderPath after calling it with unicode args [17:11] ralsina, we have bytes in the paths [17:11] that's why we can interact with dirspec without failing [17:12] ok then bytes it is [17:12] and yes, all use of map is old fashioned: http://stackoverflow.com/questions/5426754/google-python-style-guide [17:14] ralsina, maybe is not necessary because this is darwin specific [17:14] slow brain today, bytes means type 'unicode' in py2, right? so I prepend 'u'? I didn't sleep well enough and someone's in here yelling about Mitt Romney [17:14] mmcc: bytes is str in 2 [17:14] mmcc: no, bytes is str in 2 [17:14] mmcc, ralsina but..... i think that it would be better if we use expand_user instead of expanduser [17:14] jinx [17:14] so we are consistent [17:15] mmcc: yes, like gatox say, use expand_user from dirspec [17:15] or from wherever if it's not from dirspec ;-) [17:15] ralsina, mmcc no, expand_user is from: from ubuntuone.platform import expand_user [17:15] there the home is obtained from dirspec [17:15] gatox: preemptively corrected myself ;-) [17:15] ralsina, jeje yes [17:16] mmcc: using expand_user ensures we get the right type anyway [17:16] which is just os.path.expanduser(b'~') on darwin [17:16] mmcc: yes, it forces bytes :-) [17:16] sounds good [17:19] so if I want to write a test that I did that right, what's the forward-compatible way to do it? testing against str isn't it, right? [17:20] you could compare to type(b'') [17:20] type(should_be_bytes) == type(b'is bytes')? [17:20] ah there we go [17:20] yes [17:29] ok, just updated set-default-folders, should be ready to go [17:31] mmcc: looking... [17:31] mmcc: +1 [17:33] mmcc: also, ok on remote-folders-fix [17:35] should i build pyflakes packages with my patch? [17:35] how would we use that on win/osx? [17:35] ralsina: great! now here's the fix for u1trial not working right on windows -- thanks to you for your tip on the delightfully tacky mr.scripty : https://code.launchpad.net/~mikemc/ubuntuone-windows-installer/calling-mr-scripty/+merge/130182 [17:35] dobey: thinking [17:36] dobey: can you build it as an egg? we can specify a URL to a custom egg in the buildout [17:37] that's probably a possibility. is that how we're grabbing it now? [17:38] yeah we just tell buildout 'get the egg called pyflakes, version 0.5.0' - I guess it finds it on pypi or whatever [17:39] hmm [17:39] i guess it just grabs the tarball from there [17:40] dobey: if you can provide a URL with the tarball it can just build it from scratch [17:41] mmcc: looking for mr scripty now then [17:41] ralsina: looking for mr scripty? [17:41] if you see mr goodbar, keep looking [17:41] mmcc: omfg you were not even born when that movie came out :-) [17:42] Is that true? [17:42] oh yeah it is [17:42] I am guesstimating [17:43] very close. anyway I'm old enough to use it for a bad joke :) [17:43] hahahah [17:43] ohhhhh alecu is not here..... i had good news for himm [17:45] which movie are you talking about? [17:45] looking for mr goodbar [17:46] ah....... never hear of it [17:46] anyone know why, on vista/7, authentication fails on installation when using existing creds? gets SSL handshake error in sso-client log [17:47] briancurtin: cert fail? [17:47] briancurtin: httplib version too new? [17:47] it works on XP and 8 [17:48] i'll check httplib version but it should be fine since we locked the versions down in buildout [17:49] briancurtin: vista/7 have the weird "request a CA cert" API thing don't they? if XP just has the certs installed already, and 8 went back to doing that, they might work fine while it fails on vista/7 (just guessing though) [17:49] dobey: i dont know much about certs. i see that we have the certs were placed in the usual spot by the installer. i'll poke through the logs...maybe they arent being found or something [17:50] maybe that could be it [17:50] briancurtin: does it work after logging into the web site in IE? [17:50] i'll check [17:53] dobey: logging into one.ubuntu.com/files made it work. i'm now logged in [17:56] briancurtin: then yes, it's the autofetching of certs [17:56] that's the single most stupid thing in windows [17:57] ok, not really, but it's stupider than average [17:59] ralsina: is there any known solution before i start digging in? i feel like this came up and someone knew how to fix it, but we never got around to implementation [18:00] briancurtin: basically, we are bundling the cert, we should just check it manualy [18:02] mmcc: ping [18:02] chaselivingston: yo [18:02] mmcc: that ticket you just emailed me about, could you reassign it to "Nobody in particular" ? [18:02] ralsina: ok, i'll look into it [18:03] chaselivingston: that's changing the "Owner"? [18:03] mmcc: right, change that drop down and then save changes [18:03] chaselivingston: done [18:04] mmcc: awesome, thanks [18:04] mmcc: when you have some time, i'd be glad to walk you through some rt basics [18:05] chaselivingston: ok, thanks. I'll ping you about it sometime. not right now though :) [18:05] mmcc: cool, no problem [18:12] bugger, there's a problem with PPAs :( [18:19] mmcc: +1 on the talented mr. scripty [18:22] ralsina: thanks! and oh yeah, another great movie [18:47] heh [18:47] running low on battery, might drop off, brb [18:54] ugh, got to run, no plugs here [18:54] back in a bit [19:07] my vps is innaccesible. So is my quassel instance :-( [19:10] hey alecu ! hi, i just sent you an email [19:12] gatox: thanks, looking [19:14] gatox: sounds reasonable to use that dictionary [19:14] alecu, and we can fix two bugs having this on syncdaemon :D [19:15] gatox: let's discuss it with facundobatista too, since he may provide some more ideas, and tell us if that dict is the right one to use. [19:16] alecu, in #ar? or here? [19:19] gatox: I cannot access #ar currently. Perhaps we can convince facundobatista to join us in mumble? [19:20] alecu, maybe..... facundobatista ? [19:20] gatox, otp [19:27] gatox, mumble? [19:27] alecu, mumble? [19:27] i'm there [19:27] facundobatista, already there...... waiting for alecu too [20:09] from Android docs on Instrumentation.invokeMenuActionSync: "flag - Additional flags, if any". oh man, why haven't I figured it out myself! This is briliant. Not. [20:17] I'm back. I guess that was my lunch [20:18] mmcc: well, it depends. Did you eat? [20:18] mmcc: you stayed way too late yesterday, so two lunches today are doable. [20:18] ralsina: I had a sandwich! :) [20:19] ralsina: ack. don't think I need two lunches. but I may not be in tonight. [20:19] ralsina: it's just so hard to stop when it's quiet and you're getting stuff done™… [20:19] mmcc: I remember when that happened to me :-) [20:20] intro mails are so difficult [20:22] oh well [20:23] maybe we do need a list [20:23] but ugh; e-mail [20:24] dobey: do you prefer a facebook group? Perhaps a g+ circle ;-) [20:24] some day i will actually complete the task of setting up autofolder or whatever that server-side email tool is which filters things for you [20:26] ralsina: we should just mass text message each other [20:26] briancurtin: chain-tweet [20:27] ralsina: drums at stonehenge [20:29] i guess we could rename the team and set up a list on lp [20:34] okkk...... eod here!! see you tomorrow people!! enjoy [20:34] briancurtin: you should do that now, it makes a world of difference [20:36] really right away. it made my inbox usable, and I have happily ignored thousands of LP spams [20:36] what was the script called again? autofolder? something like that [20:37] I'll look [20:37] https://wiki.canonical.com/KamalMostafa/Autofolder [20:44] That's nice. [20:44] Sometimes I feel bad I use gmail in browser. [20:45] I have a question about the music store <-> client sync. I don't think this is internal only… It's working great for me, I bought a free song and now it's on my mac. But it's in ~/.ubuntuone/Purchased from Ubuntu One/ -- which won't show up anywhere, and is hard to e.g. add to iTunes or whatever… Is this a mac bug ? I think the other platforms do the same thing, and I'm wondering if there's a plan somewhere to e.g. put a l [20:45] to that like we do with shares [20:45] oh wait. gmail actually supports imap! [20:45] mmcc: that is linked in ~/Ubuntu One/ [20:46] mmcc: you were cut off ".. a plan somewhere to e.g. put a l" [20:46] ralsina: I think there's a bug there, then, because it isn't for me [20:46] or used to be and isn't anymore, maybe [20:46] karni -- put a link to that like we do with shares [20:46] like what ralsina said [20:46] ralsina: in any case, it causes problem on Android as well, because MusicScanner does not discover music in hidden folders [20:46] /s/hidden/dot folders [20:46] ralsina: it is not linked from anywhere [20:47] dobey: used to be? [20:47] ralsina: nope. there used to be a link in ~/.local/share/ubuntuone/ to it [20:47] never was one under ~/Ubuntu One/ though [20:47] dobey: yes, and that is linked to "Shared with me" [20:48] dobey: so you could find the music in "~/ubuntu one/shared with me/purchased music" [20:48] ralsina: no, there used to be a symlink to the purchased music folder also, and it was even translated (which made life even more hell) [20:48] ralsina: no, shared with me linkes to another directory in ~/.local/share/ubuntuone/ [20:48] shares/ actually [20:48] the music link was totally separate [20:48] a maze of links all alike [20:49] also, that path is platform specific. shares in osx are in ~/Library/Application Support/ubuntuone [20:50] mmcc: yes, it was done in the rhythmbox plug-in also, which is platform specific :) [20:50] so what happened to that link, I wonder [20:50] but i got rid of that symlink adding, because it was a total mess [20:50] the music one [20:51] shares should get symlinked correctly on all the platforms [20:51] well "symlinked" [20:52] we could check on sd startup and create it into ~/u1 I guess [20:52] ick. [20:52] but then we would get complains about us creating strange possible malignant symlinks [20:52] dobey: only if the purchased music volume is subscribed of course [20:52] Why couldn't we keep it in $HOME ? [20:52] then there's the whole "we might add actual symlink support in future" issue [20:53] (that is, would it be viable to move it) [20:53] i think moving it now would be problematic [20:53] * karni nods with sad face [20:53] also, having ~/Purchased from Ubuntu One/ would be weird [20:53] it would be very problematic since we would also have to move it serverside [20:54] dobey: symlink support is not happening in the foreseeable future so not a factor. If this is cheap, we can do it, though. [20:54] what happens if we put it in ~/Music/Purchasedblahblah/ , since ~/Music is a folder that exists everywhere? If the user makes it a UDF does that mess things up? [20:55] (makes ~/Music a UDF when we've put that symlink in there) [20:55] mmcc: yes, he won't ever be able to make ~/Music a UDF without a lot of tinkering [20:56] :\ [20:56] actually, if it's a symlink, it doesn't matter [20:56] we don't follow symlinks, so it would just be ignored [20:56] same as if it's in ~/Ubuntu One/ [20:56] dobey: yes, that's true [20:56] so we could link it there on mac & ubuntu [20:57] ok, not on ubuntu because of player issues [20:57] I think that'd be best - it makes sense to me to put it in ~/Music [20:57] yeah, on ubuntu it's a problem [20:57] player issues? I'm afraid to ask [20:57] mmcc: duplicate entries in the player === alecu_ is now known as alecu [20:57] dobey: I don't see why having having ~/Purchased from Ubuntu One/ would be problematic. [20:57] almost the same thing in windows, also [20:57] not that "integrating" with iTunes is something I'm looking forward to (although I think we should do that) [20:58] karni: don't worry, the community will tell you why, if we were to do it [20:58] dobey: heh ;] [20:58] karni: but even so, i don't like it either :) [20:58] * karni nods [21:01] karni: shouldn't you be off having a beer or something by now? :) [21:02] * dobey needs to figure out when to take the rest of his holidays… and soon [21:03] dobey: I rarely have been Wednesday evenings :) Anyhow, I started late today. Like 1 PM. [21:03] ah [21:03] I need to get things done. Especially that I may have limited time to finish this Android music app soon. [21:03] so, what was the problem with having the symlink in ~/U1/Purchased…/ ? does putting it in ~/Music/Purchased… solve that problem? (at least on macs?) [21:05] I think even if we put it there, we could black list it if we ever follow symlinks while syncing. [21:05] mmcc: putting it in Music is nicer because it makes it appear in the expected place [21:05] mmcc: although the braindeadness of finder dereferencing symlinks makes it ugly anyway :-( [21:06] mmcc: I know this is remotely related, but I keep u1 files (including Ubuntu One as a folder) under ~/u1, and music under ~/u1music (where ~ is an equivalent of large storage on the device) [21:06] mmcc: also... is ~/Music localized? [21:06] putting it under ~/Ubuntu One/ is the best solution i think, if we're going to have one [21:07] dobey++ [21:07] ralsina: the filesystem is in english. Finder will display ~/Music differently based on the current language but it doesn't change the files names [21:09] I am +0 on both locations [21:09] and this feels like a cheap improvement [21:09] I like those [21:10] dobey: why? I still don't understand what made it a pain before… [21:10] mmcc: what made ~/Music a pain? [21:11] dobey: the symlink system that was there before… I thought there used to be a symlink to ~/.ubuntuone/Purchased… under ~/u1 but you removed it - did I misread? [21:11] mmcc: there was never a symlink to it under ~/u1 [21:12] mmcc: there was a translated symlink to it under $XDG_DATA_HOME. and it was a huge mess of code to even get it created, that made for annoying problems when porting the rhythmbox extension to the new rhythmbox APIs [21:12] and the banshee extension didn't create that symlink [21:12] ah. [21:13] and we had several issues where duplicate songs would show up for various reasons; some due to the symlink, some due to the way banshee works [21:13] so it was never visible in e.g. nautilus? [21:13] not directly, no [21:14] right, you can always get to it via control panel… [21:14] at least not for people who aren't aquarius, who set his XDG_HOME_FOO variables to be more mac-like [21:14] well, now you can. you couldn't back then [21:14] ok [21:15] and sticking it under ~/Music/ means we have to special case platforms to avoid some of those issues [21:15] sticking it under ~/Ubuntu One/ is the simplest/best solution if we're going to have a symlink to it [21:16] well maybe I need to rethink this then. the only media player that anyone on a mac cares about is iTunes, and so if we figure out a way to have synced tracks show up in iTunes, no one will ever care if it's not visible in the finder [21:17] well, maybe and Spotify. let's see… [21:17] mmcc: putting the symlink on ~/Music would do that? [21:17] i'm not totally against a symlink under ~/Ubuntu One/; but would much prefer the tracks to just show up in the players [21:18] ralsina: let's not touch ~/Music [21:18] ralsina: it will mean a mess of special cases in the code [21:18] which will only exacerbate problems if any happen to occur [21:19] especially if we end up getting an itunes extension to auto-add things to library or whatever [21:20] dobey: I am talking mac here [21:21] ralsina: no, iTunes puts its things in a subfolder of ~/Music [21:21] EOD for me [21:22] see you guys tomorrow [21:22] bye ralsina [21:23] ralsina: i am talking code :) [21:23] anyway, i should get off of here too [21:24] have a good evening all [21:24] hrm. Spotify lets you add a folder as a local source but apparently not automatically [21:25] bye dobey [21:27] bye dobey [21:27] bye ralsina o/ === m_conley is now known as m_conley_away [21:37] hey, all, I'm about to EOD. Will probably return later for some pending reviews. [21:39] Laterz alecu o/ [21:39] I have a db related but that's tripping up some of my tests. Looking into it currently. [21:54] hrm, super easy to copy a synced music track into iTunes, but not so easy to avoid duplicating it (i.e., not sure it's possible) [22:42] OK, calling it EOD here, I'm going to try poking at a local DAAP server like forked-daapd as an interesting option to get iTunes to see our music files without copying them, since it's basically impossible to do that via the applescript api. [22:42] but that's off-hours stuff for now, I'd say [22:49] take care mmcc !