=== jamesh_ is now known as jamesh
olyhi, can anyone tell me if i can make ubuntuone ignore files with certain exstensions ie .pyc files ?09:07
rodrigo__adiroiban, I've got the dc dbus and keyring code almost done13:21
rodrigo__will commit after lunch13:21
* rodrigo__ -> lunch13:21
adiroibanno hurry. I still need a lot of work to convert my ids from int to string13:22
adiroibanI will be happy to test it :)13:22
jblountI hate how firefox treats json.14:06
aquariusjblount, install the jsonview extension14:14
mandelaquarius, got some questions for you regarding DC on windows, mind if I ask?14:16
* jblount had a suspicious that aquarius would have a solution14:16
aquariusmandel, go for it14:16
mandelaquarius, ok, well one of the issues I have had to work with is the fact that couchdb is not a very nice citizen on Windows. that is, the default bin package just installs a batch project that uses the erl vm to launch couchdb. Which is a pain....14:19
olyso anyone around who can answer me if theres a way to black list file extensions ?14:19
aquariusmandel, that's OK, though, surely? just use that to start couch. /usr/bin/couchdb is a shell script too :)14:19
mandelI  have been taking advantage of the that desktopcouch uses the COUCHDB environment var to get the command for couchdb and creates a windows service that will launch couchdb when requested. The service uses WCF so I can implement several protocols to query the port etc... the only thing is that I have an issues with the security14:21
mandelyou have to start the couchdb instance per user but you have to ensure that the owner of the process is the user, otherwishe other machine users can stop the instance14:22
aquariusyep, that makes sense so far (although I don't know what wcf is)14:22
mandelI've been thinking of using NTLM but it performs at least 5 requests per call to auth14:22
mandelWCF (Windows Communication Foundation) just a lib14:23
aquariushow does using ntlm help here? confused14:23
aquariuscan services run as a user?14:23
aquariusoh, hang on, what you're saying is: you have one service, running as system, and the user says "please start couch for me" to that service?14:24
aquariuscan't the user just run it themslves?14:24
mandelno you can just have one instance of a windows service14:24
mandelso you can not ask the same service to be started more than once... a bit lame14:24
mandelthere is a hack to do it but involves reflection and it is not nice14:25
mandelyou can have one service that starts the processes but then you need auth to set the user that owns the process14:25
mandelthat adds 5 request per call when addressing the service that provides the couchdb instance info (port etc..) but no over head to the apps using couchdb14:26
mandeldo I make sense?14:26
aquariusthat's fine, I think.14:26
aquariusasking for a port is allowed to take a little time14:26
aquariusand it's more important to get it working and optimise later :)14:26
mandelok, that is some work I had to do in C# which will have to be installed with desktopcouch. I does not add any new dependencies to the system AFAIK. Another issue I've got is related with the stderr and stdout of the running instance of couchdb14:31
mandelwhen a process is started programatically I cannot redirect its stdout and stderr to a file but to a buffer that whoudl be later be written to a file, this means that if the machine crashes the data is lost....14:32
mandelthis is a limitation coming for C# :(14:32
aquariusoh, that's a bit unideal.14:34
aquariuswhy not, instead of starting it direct from c#, have c# start a bat file?14:34
darkwhich part of ubuntu one is written in c#?14:36
mandelsame thing, the batch stout and stderr will not be redirected but I could do something like that as a work around....14:37
mandeldark, I'm porting desktopcouch to work on Windows and there is some work done in c# that is all14:37
mandeldark, a widows service that uses WCF not too much work14:37
mandelaquarius, anyway, I've got the instance of couchdb per user running as well as a number of ways to query the port etc.. hopefully in a few days I'll be able to give you better new14:42
mandelwe can talk later on how to distribute it, I'll be back laters14:44
aquariusthat sounds cool!14:44
aquariusah, missed you :)14:45
statikhey chad, aquarius: any recommendations for email, irc, ssh, or other essential or fun apps on android?14:50
aquariusemail: I use the gmail client. IRC: DaraIRC. ssh: connectbot. Others: see http://twitter.com/sil/status/7513217053 :)14:51
jblountstatik: http://twitter.com/sil/status/751321705314:51
jblountstatik: Did you get a Nexus One?14:52
statiki have a nexus one in my hand, i'm not sure how it got there14:52
statikaquarius, thanks!14:52
urbanapeaquarius: can I borrow your brain a bit after the standup?14:55
urbanapeI'm very close to finishing the new Bindwood for its vanilla code paths.14:56
urbanapebut I'm getting hung up on this one issue.14:56
urbanapestatik: you moving to T-Mobile, or using it on AT&T edge?14:58
dobeyurbanape, aquarius, rodrigo__: Are you all planning on doing tarball releases/packages for Lucid Alpha 2 today?14:58
aquariusdobey, no, we're not going into alpha214:59
urbanapedobey: I'd like to, but I think it might slip.14:59
statikurbanape, right now i'm experimenting with at&t edge, we'll see how i'm getting along with android after a few weeks14:59
rodrigo__dobey, I'll do it after alpha2, when I finish the contacts picker use in u1-client15:00
rodrigo__dobey, which, btw, I found that the dbus call for sharing just allows one email, but the contacts picker allows several15:00
dobeyaquarius: what about desktopcouch et al?15:00
rodrigo__dobey, so, before I change it, where else is it used?15:00
dobeyrodrigo__: and what about evo/glib stuff?15:00
aquariusah, I'm not sure about dc. cardinalfang has made some changes, I think15:00
rodrigo__dobey, no changes for the stable branches, and the unstable is under heavy changes right now15:01
dobeyrodrigo__: is unstable targetted to be in lucid?15:01
rodrigo__ah, well, yes, there are changes not submitted to karmic15:01
rodrigo__dobey, I hope so, there are lots of improvements15:01
rodrigo__dobey, but we'll see, for now the stable branch should be what we use15:01
dobeyrodrigo__: if it doesn't break things as it is, we should get it in as early as possible15:02
rodrigo__dobey, it breaks the API, but evo-couchdb is in synchrony15:03
urbanapesay what's the time? IT'S TIME TO GET ILL15:03
urbanapeDesktop+ folks: MEETING STARTS MEETING BEGINS GETTING OUR MEETING ON. Say 'me' to get your place in line.15:04
dobeyrodrigo__: i think bump the soname, and getting the new versions into lucid alpha 2 would probably be best then, no?15:04
rodrigo__dobey, as soon as it doesn't crash like crazy, yeah :D15:04
rodrigo__adiroiban is helping me to test the new changes, so should be soon15:05
urbanapeDONE: Cleaned up the changes pulling, record type dispatching, and event notification handlers for new Bindwood.15:06
urbanapeTODO: Get over the hurdle caused by using a profile filter for the changes feed, get migration handler working.15:06
urbanapeBLOCK: I want to punch %2F in the throat.15:06
urbanaperodrigo_: go go go15:06
rodrigo__• DONE: Fixed several couchdb-glib master issues. On-call review. Made nautilus plugin use contacts picker widget. Added desktopcouch-specific code to couchdb-glib. Land Ken's b15:06
rodrigo__• TODO: Conflict resolver tool in pair tool. Look at becoming a MOTU (https://wiki.ubuntu.com/UbuntuDevelopers). Make sandy's snowy test suite work with our server (http://git.gnome.org/cgit/snowy/tree/api/tests.py). Discuss with jdo and aquarius about oauth token per app, not per machine? Send Otto (otto.greenslade@canonical.com) a screencast of contacts picker. Add libubuntuone dependencies to dev deps.15:06
rodrigo__• BLOCKED: no15:06
rodrigo__go jblount go!15:06
jblountDONE: Got public files showing up in the web interface locally15:06
jblountTODO: Hook up publish / stop publishing buttons, review day15:06
jblountBLOCKED: Nope15:06
jblountaquarius: YOUR THE MAN NOW DOG15:06
aquarius⚀ DONE: some spec for downloader; got helped by vds about storm; talk to mandel about DC on Windows15:07
aquarius⚁ TODO: continue to spec file delivery downloader daemon; have music library page send message to downloader daemon; make workitems of outstanding todo items; make tomboy first-sync experience nicer15:07
aquarius⚂ BLOCKED:15:07
aquariusdobey, you're on15:07
jblounts/your/you're (i hate myself)15:07
dobey☺ DONE: LEAN training, Started working on new tests for GUI code15:07
dobey☹ TODO: Releases for Lucid A2, More new UI code and tests15:07
dobey☹ BLCK: None.15:07
dobeyteknico: i guess that means it's your turn15:07
teknicoDONE: planning work with chipaca and vds, more configuring funambol for sending sms messages with vds (#418048), failed unlocking phone with code from mattgriffin15:07
teknicoTODO: landing two branches for configuring funambol for sending sms messages (#418048), start implementing the mobile sync REST API for client app (#504689), finish setting up a development environment in a virtual machine15:07
teknicoBLOCK: none15:07
tekniconext: CardinalFang15:07
CardinalFangDONE: Some debugging of notes->couchdb revision problem.  I think I've found the problem.15:09
CardinalFangTODO: Test and fix it.15:09
CardinalFangBLOCKED: None, except new medication makes me unable to concentrate.  Got to change it.15:09
urbanapelooks that way.15:10
urbanapeEOM. Thanks, folks. Let's be careful out there.15:10
urbanapeaquarius: brb, then I'd love to pick your brain15:14
rtgzsorry for not being 'me', caught a cold or virus or trojan, whatever...15:14
adiroibanany idea what should I do to have a „standard” format for a desktopcouch task document type ? Like we have for notes and contacts15:20
adiroibanin evolution we also have tasks and having a standard desktopcouch format for that would be nice15:21
adiroibanand there are also some other Getting things done apps15:21
aquariusadiroiban, you don't have to do anything, just invent it -- there's no "approval" process. It's a good idea to post your suggested specification to the desktopcouch mailing list for discussion, though15:24
adiroibanaquarius: thanks. I will send a sugestion15:25
adiroibananother question: where should desktopcouch apps store their specific data? in management or create a database for each app?15:27
rtgzbtw, if subject is about format - I remember the podcast about ubuntuone - Floss Weekly 99 podcast with Ubuntu One developer Stuart Langridge. And there was a pretty good thing mentioned - the format of the contacts document. How was that modeled? Was it modeled after evolution, vcard/xcard or mozilla ldiff format?15:29
aquariusadiroiban, database for each app15:32
aquariusadiroiban, don't store anything in management; that's for desktopcouch's own use15:32
aquariusrtgz, cor, that Stuart Langridge chap sounds like a pretty clever guy. Handsome, too.15:32
adiroibanaquarius: ok. thanks!15:32
urbanapehey, aquarius, I'm back.15:32
aquariusrtgz, the contacts format was sort of distilled from all of those, but intentionally stripped down to not try and include absolutely everything15:33
vds(yes sorry I'm very late )15:38
vdsDONE: finished sms work, some clean up is still needed but sms are working! :) Helped aquarius with storm, long discussion with funambol support about the best way of include funambol in our working and deployment env. Discussed RTs for funambol and fx deployment, planned some work after the funambol restart, arrangements for sprint in London.15:38
vdsTODO: vacations15:38
vdsBLOCKED: nope15:38
aquariusurbanape, go for it15:40
urbanapeso, aquarius. Dunno if you saw me mentioning it in #couchdb.15:42
aquariusI didn't, soz15:42
urbanapedid you work the changes methods for desktopcouch?15:42
CardinalFangurbanape, whence came the name "bindwood"?15:42
urbanapeCardinalFang: it's a local nickname for ivy. Something that ties a lot of stuff together.15:43
urbanapeand is notoriously hard to get rid of.15:43
urbanapewould have named it kudzu, but I think there's software out there with that name already.15:44
urbanapeor maybe CardinalFang is a better brain to pick for this.15:44
* CardinalFang eyes his garden, where the sweet-potatoes have declared hegemony.15:44
CardinalFangchanges what?  I had a hand in that.15:45
urbanapeCardinalFang: it doesn't look like the get_changes method takes any additional options or params.15:46
urbanapelike filters, or request params.15:47
rodrigo__adiroiban, ok, desktopcouch code in master now, so please feel free to test15:48
urbanapef'rinstance, in Bindwood, I've got a filter that matches the profile name in the request with the profile name in the record, so you can limit the changes poll to records that you care about.15:48
rodrigo__adiroiban, I've just added a very simple test that connects to the DC instance, nothing more15:48
urbanapeand you call that with : couch_client.changes({since:25, filter:"bookmarks/profile", profile:"default"}, null)15:49
urbanapethat gets translated to: dbname/_changes?since=25&filter=boomarks/profile&profile=default15:49
urbanapeexcept, of course, that the Couch folks love putting '/'s in as meaningful separators in ids, view names, &c, and it gets URI encoded by the client library, so Couch doesn't understand it.15:50
dobeywhy isn't couch doing proper uri decoding?15:51
adiroibanrodrigo__: thanks. i start building and testing15:51
aquariusso it's not actually translated to that at all? it's translated to  dbname/_changes?since=25&filter=boomarks%2Fprofile&profile=default ?15:51
urbanapeaquarius: correct15:51
urbanapedobey: I don't know.15:51
CardinalFangurbanape, That's right.  It's stateful.  It only gets new items.  One never has to send "since".  Adding conditions breaks the state.  dc.get_changes() gets a list of things, where dc.report_changes(f) calls f(seq, id, changes_struct) for every change record, where I presumed one could filter or return if one's conditions are not met.15:52
urbanapeCardinalFang: k, I'm just checking that you didn't have to similarly tackle such a situation.15:52
adiroibanrodrigo__: i guess debian/control should be also updated15:53
CardinalFangurbanape, so far, we have only functions that try to be very helpful and also restrictive as a side-effect.  We could add a function that gives raw access.15:53
urbanapedobey: but it's pretty easy to test, calling both URLs results in success in one case (with /), and failure in the other (with %2F)15:53
rodrigo__adiroiban, well, debian/ should be removed, the packaging is done on another LP branch15:53
* rodrigo__ removes it15:53
urbanapeCardinalFang: that's okay, was just looking to see if it had been solved elsewhere15:53
urbanapesolved/worked around15:53
aquariusurbanape, what did the couch people say?15:54
aquarius"don't escape it"?15:54
urbanapeaquarius: "Seems like a client bug"15:54
urbanapeaquarius: that's what I'm doing now. Explicitly unencoding %2Fs in the URI encoded extra bits.15:54
dobeyurbanape: sounds like couch needs to be fixed to unescape properly15:54
urbanapewhich seems very much like putting live ammunition in a prop gun.15:54
urbanapedobey: I'd agree.15:55
aquariusthat, to me, sounds like a couch bug; you're not supposed to care whether a URL is escaped or unescaped.15:55
urbanapeokay, so the choir has been preached to.15:55
aquariuson the other hand, it's not like we could roll out a fix instantly, even if they could be convinced :)15:55
aquariusso we need to work around it. boo hiss, etc15:55
urbanapethis also, is true.15:55
rodrigo__dobey, so where else is the create_share dbus call used?15:55
rodrigo__dobey, I'm going to change it to support a list of strings for emails15:56
adiroibanrodrigo__: did you managed to make install it ? I got this http://paste.ubuntu.com/353521/15:56
dobeyrodrigo__: it doesn't have to be e-mails15:56
rodrigo__adiroiban, hmm, I tried this morning15:56
rodrigo__adiroiban, looking15:56
rodrigo__dobey, sorry?15:56
dobeyrodrigo__: it can be either an e-mail or an ubuntuone username15:56
dobeyrodrigo__: and then 2 different paths are taken based on that15:57
rodrigo__well, right now it does emails, so I'll do the same15:57
dobeywell, no, it does either15:57
rodrigo__the contacts picker returns the emails, not the u1 username15:57
rodrigo__which it doesn't know15:57
rodrigo__so, where else is it used?15:58
dobeyrodrigo__: yes, well, my point is that you have to change the piece of code that handles the e-mails, and not the abstract piece15:58
dobeyu1sdtool --create-share i guess calls it too15:59
dobeyit's a dbus call, anything can call it15:59
rodrigo__right, I meant in our code :-)16:00
rodrigo__adiroiban, installs fine for me16:01
adiroibanrodrigo__: it was a glitch16:01
adiroibani did a make clean16:01
adiroibanand tried again and everhing was ok16:01
adiroibanstrange... as I build it in a flesh git clone16:02
urbanapegotta rebootie. brb.16:02
rodrigo__adiroiban, did you ,/autogen.sh again?16:06
adiroibanrodrigo__: after the clone. yes16:06
rodrigo__adiroiban, I saw that with missing -version-info values, so maybe it wasn't getting the correct values16:06
rodrigo__adiroiban, let me know if it happens again16:06
urbanapewell, that was painless.16:06
dobeyrodrigo__: i am sure that the u1sdtool share create option uses it, yes16:08
rodrigo__dobey, yes, seems so16:09
adiroibanrodrigo__: the new library is desktopcouch or desktopcouchdb ?16:20
adiroibandesktopcouch-glib-1.0.pc is configured as -ldesktopcouchdb-glib-1.016:21
rodrigo__ah, wrong, fixing it16:21
adiroibanrodrigo__: can you add a name to the structure from couchdb.h ?16:32
adiroibanand define a macro COUCHDB_IS_THATNAME(obj)16:33
rodrigo__yeah, I plan to call it connection16:33
rodrigo__the same for Desktopcouch16:33
adiroibanotherwise I don't know how to do dynamic casting in vala16:34
adiroibanmaybe I can tweak the vapi file16:34
adiroibanbut right now the dynamic casting is trying COUCHDB_IS_CONNECTIOn16:34
adiroibanas I named it CONNECTION16:35
rodrigo__I'm going to rename it anyway, not sure now why I called Desktopcouch like this instead of ..Connection16:35
adiroibanor you can name it Couch :)16:36
adiroibansince right now desktopcouch_new is returning a clean couchdb object16:38
adiroibanI would like to use couchdb in my code... to make it more generic16:39
adiroibanmaybe I'm doing something wrong in my code16:40
adiroibanbut I still think that structure should have a name16:40
adiroibanrodrigo__: I added COUCHDB_IS_CONNECTION in couchdb.h and everhing looks fine.16:43
rodrigo__adiroiban, ok, for now it works for you, but we shouldn't have the macros named different to the object itself16:43
rodrigo__so will rename them this weekend16:44
adiroibanrodrigo__: yes. maybe this is a problem in vala16:44
rodrigo__adiroiban, well, it's a problem with the naming, I had to do some CouchDB->Couchdb renaming also for introspection16:48
CardinalFangDang, missed rodrigo.18:13
CardinalFangthisfred, how evil is this?  https://code.edge.launchpad.net/~cmiller/ubuntuone-servers/notes-revisions/+merge/1703618:15
dobeygo go go18:18
dobeylooks evil18:18
CardinalFangThat's not bad.  def the_entire_test_so_I_can_test_what_happens_when_we_run_it_thrice():  ...18:20
* thisfred scans for evil18:21
dobeyCardinalFang: should that not be a separate test that runs that test thrice then?18:22
CardinalFangdobey, you're distracted.  Keep reading.  That's not the interesting part.18:23
thisfredCardinalFang: I'm not sure I understand what the problem is you're solving18:24
thisfredtomboy internally has something like a revision number?18:25
thisfredCardinalFang: I have to go in 4 minutes, but would like to discuss this.18:26
CardinalFangthisfred, yes, tomboy has an integer.  It doesn't plan for couchdb style updates.18:26
CardinalFangThere could be a thousand version "42"s.18:26
thisfredCardinalFang: and if we just store that as part of application annotations, where do things go wrong?18:26
thisfredCardinalFang: so tomboy isn't built for distributed use, basically18:27
thisfredand we have to solve this?18:27
CardinalFangIf we're reimplementing Snowy, we do.18:28
thisfredCardinalFang: but how does snowy handle it?18:28
thisfredor that is just a single backend, and doesn't synchronise dbs?18:28
thisfredok, but so are we, for tomboy, or no?18:29
thisfreddo local tomboys talk to desktopcouch?18:29
thisfredok, I have to go18:30
CardinalFangthisfred, good question.  I think there is a plugin or something.  I do not know.18:30
thisfredI will ping when I'm back18:30
CardinalFangOkay.  Thanks.18:30
urbanapehey, you's two.18:31
urbanapeoh, well, just CardinalFang then18:31
urbanapeso, I tested this behavior with my system Couch18:31
urbanapeand Couch seems to decode the %2F just fine.18:31
urbanapeI've got couchdb 0.10.0-0ubuntu3 and desktopcouch 0.5.1-0ubuntu118:34
CardinalFangurbanape, The / %2F encoding is a bit of a mystery to me.  I remember something like "/foo/bar/baz%2Fwith%2Fslashes  being necessary somewhere, and it annoyed me for an afternoon.18:34
urbanapehmm. I've got to run a quick errand. I'll be back in a bit.18:34
* CardinalFang makes people flee, just by talking to them.18:35
statikfrom what i can tell, tomboy always uses the snowy REST api18:46
statiknever talks to local desktopcouch18:47
CardinalFangAh, thanks.  Good to know.18:48
statiksandy was open to the idea of creating a storage backend in tomboy that talked to couchdb directly, but it's still just an idea18:48
statiktomdroid and conboy also use the REST api, so there's likely some desire to keep it stable if possible18:49
thisfredurbanape: automatic de/encoding of the slashes works a lot of the time (I forget where, but I think there's still one or two places in couch where you do have to send encoded urls. design documents?), but the OAuth signatures need to be computed against the same url, client and server side, so that's why we use %2Fs everywhere.19:20
thisfredI think.19:20
thisfredCardinalFang: so: back to your branch: we use a single backend. The fact that it is synchronised to the desktop is nice, but since desktopcouch does not implement the tomboy REST API, somewhat irrelevant for now. Was there something going wrong in the wild that your branch is fixing?19:22
CardinalFangthisfred, our servers implement tomboy API.  See jdo's message to Discuss two days ago, "Lots of ResourceConflict OOPS reports".19:26
CardinalFangtomboy <-> ubunet <-> desktopcouch19:27
CardinalFang3500 Oops in Jan, as of that day.19:28
urbanapethisfred: aha! Yeah, I bet it's the oauth.19:49
urbanapeI remember when I was trying to deal with the design docs19:49
urbanapecrap pooper tastic19:49
thisfredCardinalFang: and we know this is because of out of whack tomboy version numbers?19:52
thisfredbecause if we're the only backend, I wonder how that happens.19:52
itrf96hello, how can i change ubuntu one account mail address? thanks20:16
itrf96OK, I found20:33
urbanapedobey: so, as I'm sure is obvious, an updated Bindwood probably won't make it into alpha220:57
dobeyurbanape: ok. you still have monday to do it for a2. i'm more interested in aligning releases of our different projects, than specifically getting stuff into alpha2.20:58
urbanapedobey: thanks.21:23
CardinalFangstatik, http://andialbrecht.wordpress.com/2009/05/09/when-merging-fails/21:26
statikCardinalFang, thats great! Kathy Sierra suggested at a FOWA talk a couple of years ago that all software should be video recording the user when it gives an error message21:29
statikthis is such a cool practical exploration of that idea21:29
urbanapeyeah, love that kind of thing21:45
=== mr_ian_ is now known as mr_ian

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