/srv/irclogs.ubuntu.com/2010/07/16/#ubuntuone.txt

verterokmkarnicki: good news, I can reproduce the error using beuno's token, bad news that I have now idea what's going on...yet00:20
mkarnickiverterok: oops. how did you reproduce it?00:22
verterokmkarnicki: using beuno's oauth token00:22
mkarnickiverterok: when did you pull the branch? quite much has changed, unless you're talking about protocol side00:22
verterokmkarnicki: protocol side00:22
verterokmkarnicki: the bug that prevents aquarius, beuno and statik from using the app00:23
mkarnickiverterok: oh.. I saw that the problem was even before log-in screen popped up00:23
mkarnickiverterok: crap.. those are one of these ppl I'd love to have check out the app ;(00:23
verterokmkarnicki: FWIW, I'm using the latest code from 0.x branch00:23
mkarnickiverterok: no idea what's wrong.. I have Android 2.1 -update1 running, too.00:24
verterokmkarnicki: looks like a server/data issue00:24
mkarnickiI have a guy that might have this problem in exactly one folder (strange!), is it possible?00:25
mkarnickiwhen he browsed one particular foldeer, he didn't get the content from the server00:25
mkarnickiverterok: that's bad :(00:28
mkarnickiverterok: I don't like feeling that I can do nothing to help00:28
verterokmkarnicki: no, it looks like the server is sending something the client doesn't expect00:29
verterokmkarnicki: I think it might be a bug in the client code that build the message00:29
* mkarnicki acknowledges00:30
mkarnickiverterok: maybe you should get some rest, you probably worked hard enough today. you seem to be quite a busy person :)00:32
verterokmkarnicki: yes, but now that I know where the bug might be...how stop? :)00:32
mkarnickiverterok: ^ ^00:33
verterokmkarnicki: yay! found it!01:02
* verterok dances01:03
mkarnickiverterok: you're amazing!?!?! what was it?!01:04
verterokmkarnicki: bug in the OIO code01:04
mkarnickiverterok: oh!01:04
mkarnickiverterok: I'm very glad you found it! :)01:04
mkarnickiverterok: no wonder! I was pushing you so hard you worked under stress =D01:05
* mkarnicki is happyy01:06
verterok?01:06
verterokmkarnicki: bug in the OIO codetually sit down and debug it01:06
mkarnickiverterok: you know, I asked for OIO client and really looked forward to it, etc etc, I'm kidding that you were in rush ;)01:06
verterokoops01:06
verterok:)01:06
verterokmkarnicki: I wasn't been able to actually sit down and debug it01:06
mkarnicki(just kdding :) )01:06
verterokmkarnicki: I'll push the fix in a while, I01:11
verterokI'll let you know when it's fixed, so can re-build the client once it's fixed in order to allow the other guys to play with it?01:12
mkarnickiverterok: not sure why '?' - yes, please. take your time, no worries :)01:13
verterok:)01:13
verterokok, thanks01:13
mkarnickiverterok: no, thank you again :)01:14
verterokmkarnicki: pushed, revno 2401:16
mkarnickiverterok: fast! xD01:17
mkarnickiverterok: I'll pull that tomorrow, I don't want to break anything (did you apply my one patch? [merge, whatever it's called])01:17
verterokmkarnicki: not yet, I'll merge it later tonight01:18
verterokmkarnicki: I was trying to avoid using the android/InflaterOutputStream.java when isn't needed01:19
mkarnickisure! np01:19
mkarnickino, not that one01:19
verterokbut I couldn't find a way to do it01:19
mkarnickithere was one rev up an NPE fix I think01:19
verterokmkarnicki: which one?01:19
mkarnickiI only have two revisions in my u1-sp branch01:19
mkarnickiu1-java-sp01:19
mkarnickiin my +junk01:19
verterokhmm, I missed that01:19
mkarnickiI'll look it up01:20
verterokmkarnicki: I'll merge that revno now01:20
mkarnickihttps://code.launchpad.net/~mkarnicki/+junk/ubuntuone-java-storageprotocol-fix rev 2201:21
mkarnickisorry for the link01:21
* mkarnicki blushes01:21
verterokmkarnicki: pushed revno 25 :)01:21
mkarnickiverterok: great job :) you're fast01:21
verterokok, now I'm off to get dinner01:22
verteroklater!01:22
mkarnickiverterok: goodnight!01:23
mkarnickiverterok: I'll be leaving soon. take care, thanks for all your work01:23
mkarnickiand suport01:23
mkarnicki*support01:24
=== cpg is now known as cpg|away
=== yofel_ is now known as yofel
* mkarnicki went offline02:16
=== cpg|away is now known as cpg
=== dendro-afk is now known as dendrobates
=== cpg is now known as cpg|away
martydanyone around?05:11
=== cpg|away is now known as cpg
=== cpg is now known as cpg|away
=== cpg|away is now known as cpg
rogeriotest06:03
mandelmorning!07:55
rodrigo_morning08:39
duanedesignmorning all08:41
=== JUMPA is now known as jumpa
rodrigo_hi duanedesign08:44
* duanedesign is thinkning of updating the stickies in the Ubuntu One section on the forum.09:03
duanedesignif anyone has any input on what might be good current info to get to users09:04
duanedesignmorning rye09:11
ryeduanedesign, morning!09:11
duanedesigni was just mentioning that I was going to update the stickies in the Ubunt One section of the forums. If you have ny ideas for information that would be good for this let me know.09:13
eckiboxis there a way to upload to u1 vie ftp?09:54
eckiboxis there a way to upload to u1 via ftp?09:55
duanedesigneckibox: no there is not10:04
and471is this the right channel to ask about the ubuntu single sign in service?11:08
mkarnickiand471: yes, though I may not help you11:14
mkarnickiand471: what's up?11:15
and471mkarnicki, I work on the ubuntu software-center and we were wondering whether with the Ubuntu SSO login, (using lazr.restfulclient) whether it was possible to distunguish on an authentication error, whether it was the email that was wrong, or the email and the password11:15
mkarnickioh, maybe duanedesign or rye will be able to help/redirect that question ( and471 ^ )11:16
mkarnickiand471: but it is the place to ask that one, so hang around for an answer :)11:16
and471mkarnicki, thanks11:16
mkarnickiand471: you're welcome.11:16
duanedesignrye: who would be best to answer and471s SSO question?11:30
mkarnickiduanedesign: hi :) do you ever sleep?11:32
duanedesign:)11:32
duanedesignmkarnicki: my hours vary so it just gives the illusion that i am always up :P11:34
=== cpg is now known as cpg|away
mkarnickiduanedesign: aha ;) I'm rarely availible 5:00-10:00UTC which here is 7-12, I code well during night :)11:35
and471duanedesign, rye I have to go now, so if you can answer it, could you redirect the answer to mpt (on #ubuntu-desktop)11:55
=== jumpa is now known as JUMPA
soneyi have got a privacy question: why is google analytics active when i am signed in on the webinterface? I do not what google to know, what files i have, what contacts etc. are saved in my account. Is the service necessary?12:44
mkarnickiinteresting question (though I doubt they have access to any data on the page just like that..) (sorry, I have no answer for you)12:49
mkarnickiCardinalFang: may I stalk you with another question :> ? if I want my files to be accessible via my content provider, what method should I use to open that file for writing?12:52
AJenbosoney, if you are voried about google i strongly sugest that you block there urls, either on a dns, or browser level.12:55
AJenbosoney, firefox has lots of plugins for doing just that12:56
mkarnickiAJenbo: nevertheless, this is indeed an interesting question. I don't think analytics has direct access to page content, does it?12:56
soneyit has access to all contents of the page, which are displayed12:57
AJenbomkarnicki, no all they get is the URL12:57
mkarnickiexactly, so soney shouldn't be worried :)12:57
soneyif you embed js, it has access to the full document12:58
AJenboWell there script dosn't read out the content, but in theory if they turned evil they could rewrite there script to scrape the content.12:58
AJenboIf u1 used a local copy of the GA script they could avoide google going evil12:58
AJenbogoogle does support this, but it's not recomended as it will not automatically be updated12:59
soneywho needs the statistics of GA?13:00
CardinalFangmkarnicki, I don't have much insight into that.  Never used local files before.13:00
mkarnickiCardinalFang: np! I'm looking at the docs :) I have seen it somewhere in the dev guide13:00
AJenboThe statistic page woun't show individual files, but it could be used to see folderes.13:02
AJenbo(folder names)13:03
soneyand contactnames13:03
AJenboyes13:03
soneywhy?13:03
CardinalFangsoney, I know Canonical uses those statistics to design web pages.  "Do we care about IE?  What's the color depth of visitors?  How many users are mobile phones? et c."  Analytics helps answer those questions.13:03
mkarnickiCardinalFang++ exactly, that's what analytics is fore13:03
mkarnicki*for13:03
AJenbosoney, there is no reason why, it is just a consiquence of how browsing your files work, and how GA works13:04
soneyall this information are possible to get without google13:04
AJenbosoney yes but it is harder13:04
soneyi know GA and how it works13:04
CardinalFangsoney, all this information is easy with Google, though.  Would you prefer to wait a few months for Feature X while Canonical writes their own analytics engine?  Ooo, how about paying another $10 per month for a new salary?13:05
soneybut it is more secure for the users, because GA is not a free service! The Users of u1 are paying with there privacy for this service!13:05
AJenbosoney in therory any one with access to the server could get to your files, isn't that a bigger issue for you?13:06
AJenboGA is free as in gratis but not as in freedom, the same goes for U1 storagte13:07
soneyif i pay for a service, i don't want my information to got to another service like GA13:07
CardinalFangAJenbo, I think those arguments are red herrings.13:08
CardinalFangI think the Ubuntu One privacy policy and its therefore dependent GOOG Analytics privacy policy applies here.  Please understand them.13:08
CardinalFangI'll ask Canonical lawyers to make sure Ubuntu One's privacy policy is compatible with the Google service U 1 uses.13:09
CardinalFangThat is, if U 1 makes a promise, all its tools should follow it also.13:09
CardinalFangWill that satisfy you, soney?13:10
soneyyes! That would be very nice!13:10
AJenbosound good13:10
mkarnicki:)13:11
CardinalFangsoney, do you mind if someone wants to follow up with you in email?13:17
verterokmkarnicki: hi, g'morning! fyi, I just pushed new revision, with a fix to the node attribute handling in GetContent13:18
mkarnickiverterok: thank you, neat! I was wondering in the morning if you have applied that too, but didn't have time to check it yet :) great!13:18
mkarnickiverterok: sorry, good morning! =D13:19
soneyis there a support mail address? Then i'll write a short abstract to it!13:19
verterokmkarnicki: :) revno 2613:19
mkarnickiverterok: I'll pull and apply the android FileInflater from my branch, right?13:19
CardinalFangsoney, there's a bug-tracking system.13:19
verterokmkarnicki: yes, that's the only missing bit in my branch13:19
Chipacarodrigo_: land https://code.edge.launchpad.net/~rodrigo-moya/ubuntuone-client/scroll-when-searching-contacts/+merge/29971 :)13:19
mkarnickiverterok: niceeee! :)13:20
soneyok13:20
CardinalFangsoney, I'm emailing someone about it.  Give me the bug number or a email address to reply to, if you care.13:21
verterokmkarnicki: I have been thinking in you problem with the async client code, and maybe I have a solution without the need to refactor...need to think about it a bit more and will reply the mail :)13:21
CardinalFangnessita, Chipaca, buenos dias.  (Is there an es greeting for mornings, specifically?)13:22
mkarnickiverterok: you're great verterok, really :) you remember about my every question and e-mail :)13:22
nessitaCardinalFang: buenos días is literally trasnlated to Good morning13:22
Chipacanessita: not *literally*, no. But, yes, it translates like that.13:23
mkarnickiverterok: wait, you mean the node.getParentNode() functionality or the concurrent refresh of directories?13:23
CardinalFangOh, I thought it was a general "daytime" greeting.  It doesn't sound funny at 1600, though, right?13:23
Chipacanessita: literally it translates as "good days"13:23
nessitaChipaca: true, I'm sleepy13:23
nessita:-)13:23
verterokmkarnicki: the deferreds one13:23
ChipacaCardinalFang: only if you have a very sleepy pillow-lined face13:23
verterokmkarnicki: I wasn't able to start with the parent node mail yet13:24
mkarnickiverterok: the latter is not very important, plus - I think creating more then one deferred would solve the thing, would it not? ok!13:24
mkarnickiverterok: no problem!! take your time, it's not critical13:24
verterokok13:24
ChipacaCardinalFang: "buenas tardes" is used after lunch13:24
ChipacaCardinalFang: if you say "buenos dias" and they're grumpy/badgery, they'll come back with something along the lines of "buenas tardes, or didn't you have lunch already?"13:25
CardinalFangAh, thanks.13:28
=== teknico is now known as teknico_away
=== JUMPA is now known as jumpa
jumpaHello. Maybe anyone can remember me and my problem from yesterday. The problem was, that ubuntuone seems to not be uploading a folder, which i have added to synchronization and which contains over 33k files together having 700mb. here is the syncdaemon.log: http://paste.ubuntu.com/464516/13:38
jumpaI have also made a log on my own, which shows the current time followed by the output of `u1sdtool --waiting-content | wc -l` followed by the output of `u1sdtool --waiting-metadata | wc -l`. Here is the file: http://paste.ubuntu.com/464517/13:39
=== teknico_away is now known as teknico
jumpaI have noted, that since ubuntuone has stopped looking for new files (line 2529 first file) the number of waiting metadata does not change. (line 64 second file)13:41
nessitafacundobatista or verterok, would you have some time to see the log from jumpa? seems like SD doesn't move on with the metadata queue13:49
facundobatistanessita, ok13:50
facundobatistaHola jumpa13:51
jumpahi13:51
facundobatistajumpa, it seems that the client got stuck because of the server didn't answer to last petition13:52
facundobatistajumpa, one way to unstuck it is to disconnect it and reconnect it again13:52
facundobatistajumpa, we can not investigate further unless the log is in DEBUG mode13:52
jumpabut that would force the client to review every of the 30k files, doesnt it?13:52
facundobatistajumpa, so, if you want, you can put the log in DEBUG and if it fails again, we can look at it better13:53
facundobatistajumpa, it will go through local and server rescan, yes13:53
facundobatistajumpa, which version of ubuntuone-client do you have?13:53
jumpathat took around 3 hours the last time13:54
facundobatistajumpa, it may be that you're out of space (and in some versions we didn't log that in INFO)13:54
jumpa0 bytes Used (0.0%) says webinterface13:54
facundobatistajumpa, if you go to System -> Preferences -> Ubuntu One, how is your account?13:54
jumpa0 KB used13:55
facundobatista¿?13:55
jumpatell me how to switch to debug mode for logging and i will reconnect13:55
apacheloggerhttp://imagebin.ca/view/bJeLGB.html <--- does anyone know why the syncdaemon actually causes peaks when throttling is enabled?13:55
facundobatistajumpa, do you see files in the web ui?13:55
jumpajust empty folders13:56
facundobatistajumpa, mmm... this is very strange... I see files created in the log13:57
facundobatistajumpa, for example: dev/tests/ogre/test/media/packs/skybox.zip13:57
facundobatistajumpa, if you walk that path in the web ui, do you see the .zip?13:58
verterokapachelogger: peaks in the network?13:58
* verterok looks before keep talking13:58
jumpafacundobatista: no, its just an empty directory13:58
verterokapachelogger: yes13:58
verterok:)13:58
apacheloggerverterok: tcp rate shaping?13:59
facundobatistaverterok, see jumpa's log... he has files in the log as "created", but he does not see them in the we ui, and free space is zero (?)13:59
jumpaused space is zero, free space is 2 GB14:00
facundobatistaapachelogger, could you please do: cat ~/.config/ubuntuone/syncdaemon.conf14:00
apacheloggerverterok: anyhow, what surprised me was that after some time the daemon died with 2010-07-16 14:56:04,798 - ubuntuone.SyncDaemon.StorageClient - INFO - Connection lost, reason: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionDone'>: Connection was closed cleanly.14:00
facundobatistaverterok, jumpa, sorry, yes, used space is zero, like no files created14:00
verterokapachelogger: the current implementaion of the throttling causes those peaks, we are not using tcp rate shaping14:01
verterokfacundobatista: no files uploaded ;)14:01
* verterok looks at the logs14:01
facundobatistaverterok, but in the logs: ''dev/tests/ogre/test/media/packs/skybox.zip'' | Called new_local_file_created (In: T:LOCAL:F)14:01
facundobatista(for example)14:02
facundobatistaah! stupid of me14:02
facundobatistathe file *is* created14:02
verterokfacundobatista:  if the file was created but not uploaded the size is still 014:02
facundobatistawe didn't put content into it yet14:02
verterokyes, that :)14:02
facundobatistaverterok, oh, the freezing cold outside got into my brain14:02
facundobatistajumpa, so, no strange thing at all... just put the logs into debug, and try again14:03
verterokfacundobatista: it's too cold to think, we should move to a place with constant 25C  :)14:03
apacheloggerfacundobatista: http://paste.ubuntu.com/464524/14:03
jumpafacundobatista: and how do i put them into debug?14:03
facundobatistajumpa, furthermore... we fixed some very nasty details that are important when you are working with tens of thousands of files14:04
apacheloggerverterok: hm, ok :)14:04
facundobatistajumpa, so you really should use our PPA, not Lucid's version14:04
facundobatistajumpa, (if you put the PPA, it has debug logs by default)14:04
jumpaok, what is the ppa?14:04
verterokapachelogger: yes, twisted throttling is completely broken :(14:05
facundobatistaapachelogger, could you please do: cat ~/.config/ubuntuone/syncdaemon.conf14:05
apacheloggerfacundobatista: that is the content of syncdaemon.conf :P14:05
apacheloggerverterok: so that crash might be related to that?14:05
facundobatistajumpa, one minute please14:06
apacheloggera bit unfortuante, but at least one can now configure trottling in the KDE ui :D14:06
verterokapachelogger: were you uploading/downloading stuff?14:06
apacheloggerverterok: downloading14:06
facundobatistaapachelogger, are you really telling me that http://paste.ubuntu.com/464524/ is the content of syncdaemon.conf ???14:06
apacheloggerintial to be precise14:06
facundobatistaapachelogger, didn't you confuse of pastebin?14:06
verterokapachelogger: yes, it might be causing starvation and the server drops the connection14:07
verterokapachelogger: this is all handwaving and guessing :)14:07
apachelogger^^14:07
apacheloggerI guess I am happy as long as it is not my fault :D14:07
apacheloggerverterok, facundobatista: thanks14:07
facundobatistajumpa, this is it: https://edge.launchpad.net/~ubuntuone/+archive/stable14:10
facundobatistajumpa, you can do:  sudo add-apt-repository ppa:ubuntuone/stable14:11
jumpayes14:11
jumpawill sudo apt-get upgrade install the new version?14:11
facundobatistajumpa, after an apt-get update, yes14:11
jumpaW: Failed to fetch http://ppa.launchpad.net/ubuntuone/stable/ubuntu/dists/lucid/main/binary-amd64/Packages.gz  404  Not Found14:12
facundobatistajumpa, you'll need to quit and restart the client, though14:12
facundobatistajumpa, mmm.. wait a second, maybe I was wrong14:13
ChipacaUbuntu One Desktop+ kanban walkthrough starting on Mumble right now14:13
facundobatistarodrigo, dobey, which is the PPA for stable builds for Lucid? jumpa need it, and I found something that it seems is for Jaunty and Karmic :|14:15
facundobatistajumpa, I'm not finding it... maybe rodrigo_ or dobey, which are the specialists for this, could help you14:16
facundobatistajumpa, maybe rye or joshuahoover have proper instructions for this, though14:16
jumpai could start to be a betatester and take ubuntuone/beta :P14:16
verterokfacundobatista: if the fixes are in the stable-1-2 branch, the changes are in lucid-updates, not in the ppa14:18
facundobatistajumpa, verterok is right... you should work with beta version14:18
facundobatistajumpa, the fixes I mean should be there14:19
dobeyppa:ubuntuone/stable is the ppa14:19
dobeybut i need to get the latest stable stuff built in there still14:20
dobeybut yeah, there is a package in lucid-proposed with a lot of fixes14:20
verterokah, -proposed is the name14:20
verterokthanks dobey!14:20
dobeyverterok: yeah, i don't think it has made it to -updates yet (or it likely would have shown up as an update already) :)14:21
verterokdobey: is lucid-updates repo enabled by default?14:21
dobeyupdates is14:23
dobeyproposed isn't14:23
verterokah, ok14:23
jumpaI have added the ppa now, updated and upgraded, but im not sure if ubuntuone-client has been updated. How can i verify that it has been updated?14:39
verterokjumpa: apt-cache policy ubuntuone-client14:40
dobey-proposed isn't a ppa btw14:40
jumpaInstalled: 1.2.1-0ubuntu314:40
verterokdobey: I think jumpa is using the beta ppa14:40
mkarnickiCardinalFang: any ideas why my program get's stuck at final FileOutputStream os = ctx.openFileOutput("/sdcard/u1test", Context.MODE_PRIVATE); ?14:41
jumpathe newest beta version is 1.1.91+r487-0ubuntu1~ppa2~lucid14:41
dobeydon't use the beta ppa14:41
dobeyjust remove it14:41
jumpaconfusing :D14:41
jumpaand then?14:42
dobeyin the software sources preferences, enable the proposed repo14:42
dobeyit's on the Updates tab14:42
jumpaokay14:43
jumpaso im using the proposed packages of every application now?14:44
CardinalFangthisfred,  lp:~cmiller/desktopcouch/replication-more-polite14:44
rodrigo_CardinalFang, so, your basic http auth branch is done?14:44
thisfredCardinalFang: thx, will look at it in a few14:44
CardinalFangmkarnicki, "stuck", like it hangs in that instruction?14:44
mkarnickiCardinalFang: yes, line below Log.d does not print anything. I've just asked  over #android-dev14:45
mkarnickiCardinalFang: will let you know14:45
jumpaafk, downloading upgrades :D14:45
CardinalFangmkarnicki, nothing unusual in "adb logcat" around then?14:45
mkarnickiCardinalFang: no, just silence :)14:46
CardinalFangWow.  Does that file exist on the sdcard?  Suppose you remove it or create an empty file?14:46
CardinalFangmkarnicki, ^14:46
mkarnickiCardinalFang: Open a private file associated with this Context's application package for writing. Creates the file if it doesn't already exist.14:47
CardinalFangThere could be two steps that fail, creating the metadata and its perms, and returning an open file descriptor.14:47
mkarnickiCardinalFang: it should create, if non-existent14:47
rodrigo_nessita, alecu: another branch for your reviewing pleasure -> https://code.edge.launchpad.net/~rodrigo-moya/ubuntuone-client/no-enabling-on-special-udfs14:47
alecuok14:47
CardinalFangmkarnicki, right.  I'm just trying to poke at it for debugging.14:47
CardinalFangmkarnicki, it *should* not hang, though.  ;)14:48
mkarnickiCardinalFang: =)14:48
rodrigo_nessita, so, any task on the sso thing you want us to work on?14:49
mkarnickiCardinalFang: it may be the case that this is used for private Context associated files, thus should not land on /sdcard/here directly14:49
mkarnickiCardinalFang: I'll check this out after lunch :) thanks!14:49
CardinalFangmkarnicki, I'm getting breakfast too.  Back in a bit.14:49
mkarnicki:)14:49
nessitarodrigo_: well, is hard to say because we don't have a clear design to use to split task as per their dependencies. Maybe completing the design is the task I need more help on?14:51
rodrigo_nessita, the design from the design team you mean? or the architecture?14:52
nessitarodrigo_: the architecture :-)14:52
rodrigo_nessita, ok, shall we have a call today, or next week in Prague?14:53
nessitarodrigo_: if we have people avialable *now* we should have that call now14:53
rodrigo_nessita, who do we need?14:53
nessitarodrigo_: if people will be eventually available, we can postpone14:53
dobeyhmm14:54
nessitarodrigo_: for the call?14:54
rodrigo_nessita, for the discussion, yeah14:55
nessitarodrigo_: well, you, Chipaca (maybe), verterok if possible, and me, at least14:55
* verterok looks around14:56
rodrigo_ok, let's have it today, if Chipaca and verterok can, and next week we discuss you and me the details, if any, ok?14:56
nessitaverterok: if you have some time we may ask for your input on a dbus-related call (same topic as we talked yesterday)14:56
nessitasure14:56
verteroknessita: let me ask my manager14:57
verterokhehehe14:57
verteroknessita: sure!14:57
rodrigo_:D14:57
nessitajajaja14:57
nessitaChipaca: are you available?14:57
dobeyhaha14:57
dobeyi wonder if it's a good thing, or a bad thing, if i am not in that meeting, as it were :)14:58
Chipacanessita: I've got to talk about cards with mandel a little, but then I'm ok14:58
mandelnessita, I wont keep him for too long14:59
nessitaChipaca: no problem, would you ping us when ready?14:59
Chipacadobey: I'd say bad, unless you're feeling particularly contrary today :)14:59
dobeywell, contrariness depends on the design :)15:00
thisfredCardinalFang: how best to test this branch? setup.py build and then run the desktopcouch-service from the bin directory in the build?15:03
mkarnickiverterok: you look busy with guys here today, but if you have a minute sooner or later, please have a look at http://paste.ubuntu.com/464554/ - probably won't take you long to spot what's wrong/missing15:14
mkarnickiunless it again turns out to be platform issue (which I don't believe. getContent for directories works)15:14
Chipacanote to y'all desktop+ folks: the daily standups as of next monday or at 13z every day mon-thu, and the kanban walkthrouh is at 13z on fri15:15
Chipacas/or/are/15:16
mkarnickiverterok: I'll be back later :) lunch time15:16
verterokmkarnicki: ok15:16
Chipacaverterok: nessita: dobey: rodrigo_: ready when you arr15:20
nessitamumble?15:21
rodrigo_I am ready15:22
Chipacadobey: are we waiting for you?15:24
dobeyi don't think so?15:25
Chipacadobey: oh, ok. Then we won't :)15:25
dobeyi'll just yell at you all later if you mess it up ;)15:26
Chipacadobey: sounds like a sany, forward-looking, sustainable, green, proactive plan!15:26
Chipacas/sany/sane/, but zany works too :)15:27
dobeysany is a mix of sane and zany, i suspect15:28
Chipacaor a hygiene product15:29
dobeynah, that would be a zany-sani15:29
rodrigo_alecu, when you finish the contacts picker bug, talk with nessita about sso, ok?15:46
alecurodrigo_, ok15:47
rodrigo_Chipaca, did you ping pfibiger about QA for the finished tasks?15:49
Chipacarodrigo_: on it15:50
Chipacarodrigo_: thanks for the reminder15:50
rodrigo_ok15:50
=== jumpa is now known as JUMPA
alecurodrigo_, ping16:13
rodrigo_alecu, pong16:13
alecurodrigo_, one question... I'm finding I need to do complex code for the case when the user is searching for something with spaces inside16:18
rodrigo_alecu, hmm, I don't think the searching code in e-d-s does that, it just searches for the exact string, although I'm not sure16:19
dobeyalecu: did johnlea reply to the bug to resolve the issues i mentioned?16:19
alecudobey, yes, he did16:20
alecudobey, although only on the "1st and 2nd" letters issues16:21
alecudobey, not on the "other fields" stuff16:21
alecurodrigo_, it seems that e-s-d splits on spaces and tries to search each part in one of the fields16:22
rodrigo_ah16:22
alecuI mean, in all fields16:22
rodrigo_then split the search string and try to highlight that, I guess16:23
alecurodrigo_, so, if you type "ro mo", it will find your name16:23
rodrigo_ah, /me tests16:23
dobeyalecu: right16:23
rodrigo_yeah, right16:23
dobeyalecu: and wasting time writing the complex code to deal with 'hilighting' results is best avoidable if the final result should be 'don't bother hilighting characters in the name'16:24
dobeywhich, i think, is the better route to take anyway16:24
rodrigo_yeah, I don't think highlighting is a great idea, given we just show the results that match16:24
rodrigo_alecu, so, try to do it as easy as possible, so that we can remove it easily if we decide to16:25
rodrigo_also, it would show names not highlighted, given we search all fields, not just names16:25
dobeyrodrigo_: the easiest possible path for doing the hilighting, is quite complex :)16:25
rodrigo_it's not that complex16:26
alecudobey, rodrigo: but highlighting seems the current trend... both chrome and firefox highlight on the url bar16:26
dobeyrodrigo_: constantly inserting and removing markup in a string is pretty complex16:26
dobeyalecu: chrome and firefox don't show an icon view, they pop up a drop-down list, and hilighting isn't exactly what they do16:27
alecudobey, the way I'm thinking of doing it is by only redoing the string, never removing stuff.16:27
dobeyalso, they only search in visible strings16:27
alecudobey, well, right: we are calling "highlighting" to what we should be calling "bolding"16:27
alecudobey, and also rodrigo has enabled a list view instead of the icon view16:28
dobeyi still maintain that it doesn't really make sense here16:28
dobeyalecu: but searching in our contacts picker is always a narrowing of the view, that isn't the case in other places16:29
alecudobey, yes: on both those places it is a narrowing of your search history16:29
dobeyfirefox for example always shows N results at most, and those results can change drastically16:29
dobeyalecu: no, if you type "h" the drop-down never shows your entire history :)16:30
rodrigo_alecu, you don't need to redo the string, just make a new one and set the markup column on the model16:30
alecurodrigo_, yes, I'm doing exactly that16:31
rodrigo_alecu, oh, although the list view doesn't have the markup column though, you'll have to add it and hide/show the normal one or the markup one16:31
alecurodrigo_, but the complex part comes when typing two or more words separated by spaces16:31
rodrigo_alecu, I'd say just split the search string by spaces, and try to hightlight one or both16:32
alecurodrigo_, because the parts could overlap...16:32
rodrigo_oh, right16:32
alecuso, I'm thinking of doing a search for each part16:32
dobeyi think "de la P" should match "de la Pena" rather than being separate searches16:32
alecudobey, but I think "ro mo" should match rodrigo16:33
rodrigo_well, the e-d-s searching code might show a "Adela Perez" por "de la P"16:33
dobeyi wouldn't expect "de la" to match "Lara de Icaza" though16:33
rodrigo_dobey, that's what it does though16:33
dobeyrodrigo_: then it's a bug in e-d-s :)16:33
dobeyalecu: i don't think so, that makes no sense :)16:34
alecudobey, ok! I meant "ro mo" should match "rodrigo moya" :-)16:34
dobeyi don't think so. i don't think humans tend to think that way :)16:35
alecuok: so I'm thinking of doing a search for each part, then mark the positions where each match starts and ends, and then put <b> and </b> at each of those positions.16:35
rodrigo_alecu, yes, sounds good, if the <b> tags are properly closed, it doesn't matter if they overlap16:35
alecubut I can't just put those tags while searching, so I'm going to save them in a gnome balanced binary tree.16:36
alecua GTree, that is.16:36
alecurodrigo_, exactly.16:36
rodrigo_hmm, why you can't put them while searching?16:37
dobeysee, it's obviously too complex :)16:37
alecurodrigo_, because if I search for "dri rodrigo" e-s-d will return your record, and then when I add the tags for "dri" I won't be able to know where to put the tags for "rodrigo"...16:41
alecuso yes, it gets complex16:42
alecuto do "just right"16:42
nessitaChipaca, rodrigo_: from https://docs.google.com/a/canonical.com/Doc?docid=0AU5sFuLRpCpBZGZra2pqY2pfODY2Z3RnbTl2Z3E&hl=en_GB, the part of the register GUI that reads "Enter details > Verify Email", what widget should it be? an image? a progress bar (not sure we can add 2 separated labels to it)16:42
nessita?16:42
dobeywhich is why i don't think it should do multi-word search16:42
Chipacanewhat part of it is it?16:43
Chipacanessita: ^16:43
nessitaChipaca: from the register mockup16:44
Chipacanessita: section>?16:45
nessitaChipaca: there is something below the 'Join Ubuntu One'16:45
nessitaChipaca: 2.1 I think16:45
dobeynessita: the initial join dialog with the orange "Verify email" button?16:45
dobeynessita: it's a button16:45
nessitadobey: nopes, above that16:46
rodrigo_alecu, hmm16:46
nessitadobey: right below the "Join Ubuntu One"16:46
nessitathere is something half black half white16:46
dobeynessita: the captcha?16:46
nessitadobey: look at the sketch, not the image16:46
Chipacanessita: no, the step indicator (for lack of a better name)16:46
nessitaChipaca: and how that translates to GTK?16:47
dobeynessita: don't put it anywhere16:47
rodrigo_nessita, which section?16:47
nessitarodrigo_: 2.116:47
nessitadobey: I don't think that's a productive answer :-)16:47
dobeynessita: quoth the designer "the wireframe is not the visual design"16:47
dobeynessita: and that thing isn't in the visual design, so ignore it16:48
rodrigo_nessita, there's nothing like that in GTK16:48
nessitarodrigo_: I know, that's why I'm asking16:48
nessitarodrigo_: I can put a progress bar but with only one text16:48
nessitaand then change it to the other, but I think that that jeopardizes the goal of the thingy16:49
nessitaChipaca: shall I ignore it like dobey says? I wasn't aware of the wireframe-design differences16:49
dobeygranted, i can't say at all that i would agree with the visual design16:50
dobeyit's totally not accessible16:50
rodrigo_nessita, there's no final design having that thingy, or am I missing it?16:50
Chipacanessita: no, you shouldn't ignore it. But yes, it isn't the visual design.16:51
Chipacanessita: I'm asking in #dx right now :)16:51
* nessita joins16:51
* rodrigo_ has to go, will see read the backlog to see what you come up with16:53
mkarnickiverterok: I should pull u1-java-sp (just bzr pull is enough?) right?16:56
verterokmkarnicki: if you don't have local commits, yes16:56
mkarnickiverterok: no local commits, ok16:57
alecunessita, you are using a GtkAssistant for those steps, right?16:59
nessitaalecu: not at all16:59
alecunessita, I believe we should16:59
alecunessita, and also use the style the installer uses:17:00
alecuhttps://help.ubuntu.com/community/GraphicalInstall17:00
alecunessita, in the screenshots in that page, look at the "step 1 of 7" part17:00
alecuhmmm... but I see that the last step ("Installing system") looks similar to what's in the spec.17:01
alecuso I guess a (custom styled) gtknotebook should be used there.17:03
nessitaalecu: a notebook? there is no need for that, I think17:03
alecunessita, if you click on "Enter details"... won't that take you back, as if you've clicked on the "Back" button?17:05
alecunessita, I mean from the "Verify email" state17:05
nessitaalecu: nopes17:06
alecuok17:06
nessitaonce you pass the enter details you can't change anything17:06
nessitasince that info has already been sent to the server17:06
nessitaand now you just have to wait for a confirmation email17:06
alecunessita, then what's the "Back" button for?17:07
nessitaalecu: there is not back button, is there?17:08
nessitaah, there is, but I think it has no point17:08
nessitawe can't go back in that case17:08
alecunessita, all those dialogs look like a wizard. All wizards let you go back!17:11
alecunessita, also, if you've found out that your mail was not working, and you want for the mail to be sent again, or something...17:11
alecunessita, it makes sense for the back button to send the verification code again.17:12
alecuI mean, to use the back button, change some or all of the details, and have the email sent again17:12
dobeyeh, not nice, but anywya, must get lunch17:13
nessitaalecu: the SSO api doesn't provide that17:13
alecunessita, ok, then make that button dissapear :-)17:13
nessitaalecu: so we can offer the back button but internally it will be like a fresh start17:13
nessitamaybe with the text fields pre filled17:14
alecunessita, a fresh start as in "a new user created in the db"17:14
alecu?17:14
nessitaalecu: one sec, got a mumble17:15
verterokmkarnicki: regarding http://paste.ubuntu.com/464554/17:18
mkarnickiverterok: yes?17:18
verterokmkarnicki: in line 1817:18
verterokhashMap.get(node) might be null, right?17:19
verterokmkarnicki: ^17:19
mkarnickisilly me..17:19
verterokmkarnicki: you need to pass the latest hash of the node, if it's null, it will barf and die17:19
mkarnickiverterok: gimme a sec to think17:20
mkarnickiverterok: hashMap.get(node) should not be null and should be an up-to-date hash, since it was added to the hashMap in just previous callback (which is not visible in my paste)17:20
mkarnickisorry if I cut it to narrow for paste.17:21
verterokmkarnicki: please pastebin the whole stuff17:21
mkarnickisince the ok17:21
preecherim tryin to setup ubuntuone for the first time and keep getn this msg--Oops! Google Chrome could not connect to localhost:4036517:22
mkarnickiverterok: line 331 is the related method http://goo.gl/pxPB17:24
mkarnickiverterok: I also Log.d the hash to make sure everything is in order, and it's there as planned.17:25
mkarnickiverterok: it gets 'stuck' between getContent and that first deferred that it has finished17:26
verterokmkarnicki: ok, let me looks at that17:33
verterokbut first lunch!17:33
mkarnickiverterok: first lunch!17:33
=== beuno is now known as beuno-lunch
=== beuno-lunch is now known as beuno
=== dendrobates is now known as dendro-afk
=== teknico is now known as teknico_away
verterokmkarnicki: hey, I made some changes to U1Client.java and file download works \o/18:58
mkarnickiverterok: ;D18:59
mkarnickiverterok: you take the credit xD!18:59
mkarnickiverterok: where was the problem?18:59
verterokmkarnicki: no idea :D18:59
verterokhehe18:59
mkarnickidid you work on most recent rev ? (I think 50)18:59
mkarnickiverterok: hahahahha18:59
verterokmkarnicki: yes, pulled before start playing wiht it19:00
mkarnickineat19:00
verterokmkarnicki: I removed the global Deferred19:00
mkarnickiverterok: I was thinking of modifying that too. I see.19:01
mkarnickiverterok: so you create them inside methods and just return them (or something along that line), am I right?19:01
verterokmkarnicki: pastebin on it's way19:02
mkarnickiverterok: I thought that global deferred was some kind of handle19:02
mkarnicki\o/19:02
=== cpg|away is now known as cpg
verterokmkarnicki: http://paste.ubuntu.com/464642/19:03
verterokmkarnicki: error handling needs some love19:03
verterokin my patch19:03
mkarnickianyone to poke Aquarius to jump on IRC?19:03
mkarnickiverterok: checking it out :)19:03
mkarnickiverterok: error handling in AndroidU1 needs much love :) it's still rough19:04
verterokmkarnicki: I just added the default eclipse template, e.printStackTrace()19:05
verterok:)19:05
mkarnickiverterok: oh crap... I must apologize verterok, I'm dumb. you're refactor is proper anyway (I planned to ask you for review of deferreds), but I'll have to modify the code by hand (NO problem, my fault!). com.ubuntuone.androidu1.U1Client.java has been recently refactored and moved under .service.U1Client.java (it runs inside the service), and the previous version was about to get dumped. I'm so sorry. But like I said, I know it was a good idea19:09
mkarnickiverterok: I'll follow the diff and let you know19:10
mkarnickiverterok: meantime question: Does the DirectoryContent come with particular sort? e.g. order by node (I don't want to make sync a terribly CPU consuming task, and I'd need to compare cached and freshly downloaded dir contents one-by-one)19:11
* mkarnicki has learned not to leave obsolete files when bzr pull19:12
verterokmkarnicki: gimme a few minutes, I'm in a call19:12
mkarnickiverterok: take your time19:12
=== dendro-afk is now known as dendrobates
* mkarnicki likes verterok changes, that's why I needed code review anyway \o/19:22
beunomkarnicki, so where do I install this latest and greatest code?19:24
beunowhere *from*19:24
mkarnickibeuno: I'm applying verteroks suggestions19:24
mkarnickibeuno: plus, we think he has fixed the problem that half of the team had19:24
mkarnickibeuno: gimme 20 min19:24
beunocool19:24
beunoin fact19:24
beunowhy don't you email the ubuntuone-users mailing list?19:24
beunowhen you upload it19:25
mkarnickibeuno: I have androidu1-users for that, but I'll be happy to mail both! =) (like I did on the beginning)19:25
beunooh19:26
beunoI didn't know that list existed19:26
mkarnickibeuno: I'm stupid, ubuntuone-users is also perfect place for that19:26
beunoyou should totally email both19:26
mkarnickibeuno: indeed, you're right!19:26
* mkarnicki gets back to verterok code review19:26
mkarnickibeuno: you caught me! it was supposed to be surprize, I wanted to inform you as soon as I finish at least one of up/download functionality ;)19:29
mkarnickibeuno: and I'm very close19:29
beunomkarnicki, I'm always spying on things19:29
mkarnickibeuno: :D19:29
mkarnickiverterok: I applied every line to the new version! And I'm removing the deprecated file right away.19:36
ottermatonHi. I'm trying to put together a little script that I'll cron daily to backup (most of) ~/ . What I've got so far is at http://paste.ubuntu.com/464657/19:43
ottermatonWhat I have so far works fine. What I'd like to add is the ability to delete a backup after it is, say, 5 days old.19:44
ottermatonIf I understand U1 correctly if that file is no longer in ~/Ubuntu\ One/ it will be taken off of U1 as well.19:46
beunoottermaton, correct19:47
=== JUMPA is now known as jumpa
ottermatonbeuno, good. Can you recommend the best way to script something that will delete the old one(s) from ~/Ubuntu\ One ? I was thinking of using find to check the date but wasn't sure if the access date would be changed locally when U1 synced the files19:50
beunoottermaton, you probably want the last modified date, not last access19:52
ottermatonok, that would be find -mtime , right?19:54
beunoI think so, yes19:55
=== dendrobates is now known as dendro-afk
=== jumpa is now known as JUMPA
=== JUMPA is now known as jumpa
verterokmkarnicki: I think the order is byte order, but I wouldn't base the client implementation on that :)20:23
verterokmkarnicki: oops, I missed the service stuff20:24
mkarnickiverterok: my fault, no worries20:24
mkarnickiI'll push new version now20:24
verterokmkarnicki: you could have a 'global' deferred for the connection/auth/disconnect stuff, just to chain it correctly20:25
mkarnickipushed20:26
mkarnickiverterok: I see! will note that down20:26
mkarnickiverterok: yes !!! beuno downloaded a file!20:27
beunoyeap, was very fast20:28
* mkarnicki checks the new version20:28
mkarnickibeuno: \o/20:32
beunoit's beautiful20:32
mkarnickibeuno: verterok: I'll implement the 'Open' functionality now hahah20:32
mkarnickihahah ^ ^20:32
* mkarnicki dances20:33
mkarnickiI have cought up with the schedule 30 minutes after GSoC midterm evaluations (and yes, I selected 'I'm behing the schedule' and commented on that) :D20:33
beunomkarnicki, I did not get a star next to the downloaded file, though20:33
mkarnickibeuno: it's not how it works20:33
beunoah20:33
beunohow do I know what has been downloaded?20:34
mkarnickibeuno: let me explain20:34
mkarnickibeuno: there will be icon .. overlays, you know. like in Nautilus20:34
beunoah20:34
beunogotcha20:34
mkarnickibeuno: the star means you want to sync the file whenever the service is on-line20:34
mkarnickibeuno: plus, if you star a file, it will download (+sync) in the background20:34
mkarnickibeuno: and notify via Toasts :)20:34
mkarnickisame with starring folders20:35
mkarnickiman, I'm so happy..20:35
beunogotcha20:35
beunoyou should be!  this is great work20:35
mkarnickithank you =)20:35
mkarnickiverterok: you're my man20:35
beunoit'll make statik sad that he gave up his Nexus One for an iphone20:35
mkarnicki:O20:36
* mkarnicki is disappointed20:36
mkarnicki;)20:36
mkarnickiI wanted him to test the app, we talked some time ago ^-^ (few months, so to speak)20:36
beunohe has the emulator set up20:36
mkarnickiall in all, we have reached a milestone my friends. and it woundn't have been able without verterok!20:37
mkarnickibeuno: sure, that's good, he'll be able to check it out :)20:37
mkarnickibeuno: plus, I might start an iPhone version at the end of this year or something buahahah20:37
mkarnickifirst, I'll make AndroidU1 a 5 star app!20:38
* mkarnicki gets back to work :)20:38
beuno\o/20:38
beunogo mkarnicki!20:38
mkarnicki\o/20:38
statiki have a droid in addition to the iphone, so i can still hack on android stuff20:39
mkarnickistatik: hahah :D awesome!20:40
beunostatik, http://goo.gl/MfwG20:40
=== teknico_away is now known as teknico
mkarnickibeuno: wanna hear a joke? you'll know the file is downloaded if it doesn't open nor start downloading when you tap it ;)20:53
beunomkarnicki, heh20:53
mkarnicki:D20:53
mkarnickibeuno: it's a joke, I'll take care of it :D20:54
beunomkarnicki, yeah, just the fact that I can download them is amazing20:54
mkarnickibeuno: indeed! I wish aquarius was here, I'm so happy. it made my day.20:54
=== dendro-afk is now known as dendrobates
=== teknico is now known as teknico_away
beunomkarnicki, FYI21:56
beunomy phone eventually scanned the SD21:56
beunoand the picture I downloaded shows up in the gallery21:56
beunoautomagically21:56
=== jumpa is now known as JUMPA
mkarnickibeuno: thanks :) that's the way it should work, but I'll also implement poking that scanner faster when the file downloads :) (it's the Android-way of implementing such things :) )22:18
mkarnickibeuno: I talked with students from Poland and had to take care of my dog, I'll play with opening the files soon or tomorrow. I'll make sure to update you ;)22:19
beunocool22:21
=== dendrobates is now known as dendro-afk
=== nessita1 is now known as nessita

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