/srv/irclogs.ubuntu.com/2011/01/12/#ubuntuone.txt

dobeylater all00:05
alecunessita, you asked me to fill up a bug. what was it about?00:09
alecuoh, I remember00:09
nessitaalecu: control panel being redish on quota exceeded00:09
alecuright. thanks!00:10
nessitathank you!00:10
* nessita -> gone!00:10
alecubye all00:17
karnipython looks so clean..00:45
ralsina_babysittkarni: compared to dalvik? :-)00:48
karniralsina_babysitt: just compared to java ;>00:49
=== ralsina_babysitt is now known as ralsina
ralsinakarni: well, it sure looks like *less* usually00:50
karniralsina: it looks very good. concise, clean.00:50
karniI'm reading action_queue.py from the syncdaemon right now00:50
karniI don't know python, but majority is clear to me00:51
ralsinathat''s the fun of python. you can pretty much read it00:56
ralsinaOf course you can make it awful as you want, but by default it kinda looks nice00:56
karniralsina: hehe :)00:57
ralsinaAnd just in case, this is python: http://lateral.netmanagers.com.ar/static/damned.py01:00
ralsinaSo don't expect all python to be pretty ;-)01:00
ralsinaMuch better version: http://lateral.netmanagers.com.ar/static/seven_seg.py01:01
karniralsina: haha. this looks like brainf*ck with few more characters01:01
ralsinaIt's actually a cool function :-)01:05
ralsinatry copying it in an interactive interpreter and then seven_seg("1234")01:06
karniok01:06
karniralsina: now I feel dumb for not understanding the output '          _ \n| ||_ |_  _|\n||| ||_ \n' :<01:08
ralsinaok try print seven_seg("1234")01:09
ralsinasorry I have not used this thing in years ;-)01:09
karniit's now a treeliner.01:09
karnishould I try other values?01:09
ralsinaIt should be 1234 in large letters ascii art :-)01:09
* karni opens another terminal01:10
ralsinaIt should work for any digits01:10
karnihahahaha for seven_seg("444") it prints 222, for 555 it prints 33301:11
karniralsina: anyhow, it's fun ;D cool for a two-liner code in python01:11
ralsinaoh, well :-)01:11
ralsinaI swear it used to work correctly :-)01:12
karni^ ^01:12
kklimondapython do have a tendency to make backward incompatible changes ;)01:12
karniSo I've heard.01:12
kklimondastill I'll choose it over almost any other language for things it's good at01:12
kklimondafor other I'll go with C ;)01:13
ralsinaOk, I'll go have dinner.01:13
ralsinaHave nice evening :-)01:13
karniralsina: Thank you (it's 2:13AM ;) ), bon apetit01:13
kklimondaevening? it's a bloody middle of the night here ;)01:13
karniralsina: Take care :)01:13
karniheheh01:13
karnikklimonda: coding?01:17
kklimondakarni: I just finished something - now I'm updating 10.10 in vm so I can test one sru01:17
karnikklimonda: I see.01:18
karniI'm digging into the protocol to understand it deeper and implement the content/meta queue in Java (yeah! ;P)01:19
karniUnless I come up with something better.01:19
* kklimonda is waiting for Qt for android ;)01:21
kklimondaeither that or I should check Mono for Android01:21
kklimondamaybe it's a bit nicer than the Java+XML nightmare Google is calling an SDK ;)01:22
kklimondabut that's probably a pythonista in me speaking01:22
karniare you serious.. Mono for Android? btw check out the date in the link lol http://tirania.org/blog/archive/2011/Jan-04.html01:23
karnifuture-archive post!01:23
kklimondakarni: well, it's already in semi-open beta tests01:24
karnikklimonda: I think Java and XML were quite smart choice.01:24
karniuhm01:24
kklimondakarni: I just find Java, with its checked exceptions, with the accent on XML for doing stuff distasteful.01:24
kklimondakarni: I've actually tried to use Android SDK and it was no fun to me01:25
kklimondano fun at all01:25
karnikklimonda: it's getting better every release01:25
kklimondaI know it works, and that you can do nifty stuff in it01:25
kklimondabut for me it completely lacks the "fun" factor01:25
karni:D01:25
karniyeah, Android should go for Shakespear01:26
kklimondanot to mention that the documentation is lacking01:26
karnithat's true. here and there, yeah.01:26
kklimondakarni: it's not that funny - if I have to read and write code for 8+ hours a day it has to fun01:26
karnitru.01:26
kklimondakarni: I can think in Python01:26
kklimondaI actually read python code for fun ;)01:26
kklimondaI've started reading CPython interpreter, just to see how it works.. and it's C but still fun (I like C ;))01:27
karniby the way.. I think I'll have to talk to verterok tomorrow. I'm wondering if I should implement the queues more low level then my applicaiton (RequestHandler) looks like a place to start.01:27
karniI know that may distaste you, but I've coded GTK with Java, and it was much more pleasant than GTK in C ;)01:28
kklimondakarni: btw, are you going to make some sort of authentication provider for other applications to use U1?01:28
karnibut maybe it was just my incompetence back then.01:28
kklimondakarni: Gtk+ in C is.. in C, everything is what it seems - I find it refreshing01:29
karnikklimonda: yes. we should have an SSO available to all apps via Authenticator framework, and possibly expose the service itself01:29
kklimondagreat01:29
kklimondaI've taken a look how to write it01:30
kklimondaand then decided to make soap bubbles - much more entertaining ;)01:30
karniyup, it's nothing complex. hahahah01:30
kklimondaexamples were using inner classes..01:31
kklimondareally, I have nothing against them - but there was no obvious reason to do that01:31
kklimondaand no documentation :(01:32
kklimondaok, my Java rant is over01:32
karnikklimonda: Romain Guy says static inner classes are smaller and better on Android.01:32
karnikklimonda: I know it sometimes means you've got ten classes in one file, which sounds terrible.01:32
karnikklimonda: But you gotta take into consideration it's a mobile environment. You're even expected to01:33
karniminimize the number of created objects.01:33
kklimondakarni: that's why I don't understand why did they go with Java01:33
karniAnd use primitives as much as possbile instead.01:33
karnikklimonda: Maybe because of sandboxing and dalvik?01:34
kklimondakarni: choosing Java, and then saying that you have to do all this weird stuff, because normal Java is too bloated seems like a backward thinking.01:34
kklimondakarni: iOS have sandboxing01:34
karniYou're running multiple, separate, sandboxed dalvik virtual machines on your phone.01:34
kklimondakarni: and dalvik is just an implementation detail01:34
karnikklimonda: it's not that normal Java is too bloated. They have stripped it themselves anyway. It's not bloated anymore as available to Android.01:35
karnikklimonda: it's just language specifics - such as those inner classes.01:36
karnibut seriously.. it's advised to use two primitive ints instead of a Pair object of some sort. because it's an object, and GC has to kick in whenever neccessary.01:36
karniOk.. it's getting late. And my eyes already hurt ehh.01:37
karnikklimonda: It's been good talking to you. Take care mate01:37
kklimondakarni: have a good night01:37
karnikklimonda: tnx, you too.01:38
karnijust can't stop reading protocol stuff ;d02:17
karnithe protocol should be documented, seriously :<02:17
kklimonda;D02:20
kklimondakarni: haven't you heard? source code is all the documentation you need02:20
karnikklimonda: come on.. I even recently read somewhere that source code as documentation is not the way to go.02:23
kklimondakarni: meh, that's evil people talking ;)02:23
karnikklimonda: plus, it's acceptable if you know the language of the source well.02:23
karnikklimonda: xD02:23
kklimondakarni: but the ugly truth is that you should get used to it02:25
kklimondakarni: there aren't many project - open source or commercial ones - that have a decent documentation.02:25
karnikklimonda: I know..02:25
kklimondaprojects*02:26
karnikklimonda: heading to bed this time for real. take care!02:27
kklimondakarni: cya mate02:27
dobeysigh03:07
dobeyhello latency and fail03:07
duanedesign'lo all11:47
mandelduanedesign: morning!12:04
=== teknico is now known as teknico_away
ralsinagood morning people!13:34
=== teknico_away is now known as teknico
thisfred¡holá!14:25
=== teknico is now known as teknico_away
nessitahola thisfred14:35
thisfredhola jefa14:35
nessitajua14:41
nessitathisfred: since we're it, could you please start working on splitting the spec you and alecu did yesterday into bug items to attach to the blueprint?14:41
thisfredsi!14:41
nessitathisfred: there are 2 blueprints, one for showing status of shares and udfs, and the other to integrate with unity. I think some work items will go into the first one, and some others into the second one14:42
nessitahttps://blueprints.edge.launchpad.net/ubuntu/+spec/other-ubuntuone-n-shares-status-udfs14:42
thisfredsure14:42
nessitahum, our internet is a bit bursty today. thisfred, I can reach the second blueprint myself...14:44
nessitado you have the url?14:44
thisfredI'll find it, or we can look it up after the plenary14:45
thisfredI'm translating into a list of work items first, I'll create bugs after14:45
nessitaperfect14:46
=== dobey_ is now known as dobey
* nessita -> meeting with Ivanka, cross fingers!15:57
dobeyheh15:58
kazadeHey guys, I don't suppose someone can figure out why my U1 client won't connect. Running ubuntuone-syndaemon --debug works for a while, then I get "process next in queue (len 0)" and it kinda sits there for ages16:04
kazadesigh, why is it that U1 waits for me to ask a question, then decides to work? :)16:07
kazadeit's working now16:07
=== teknico_away is now known as teknico
xyzkazade, that's a heisenbug16:09
kazadexyz, yeah, this is the second time I've asked a question in here and then the client has decided to start doing stuff!16:09
xyzspooky16:11
=== ralsina is now known as ralsina_lunch
=== teknico is now known as teknico_away
ryekazade, i suppose that's because the servers got restarted recently after the upgrade, so it is not that spooky _now_. hm16:36
=== beuno is now known as beuno-lunch
=== ralsina_lunch is now known as ralsina
karnihi everyone17:11
JamesTaitHey karni. :)17:12
karnibeuno-lunch: Having read some syncdaemon sources yesterday, it's not feasible (at the moment) to implement all that stuff. Therefore, plan for now: handle gracefully multiple generation bumps with timeouts.17:12
karniJamesTait: hello James!17:12
karnibeuno-lunch: not feasible* in context of our ultimately conservative schedule. we can always get back to it.17:13
=== teknico_away is now known as teknico
mandelralsina: ping17:36
=== beuno-lunch is now known as beuno
beunokarni, ack17:57
karnibeuno: I'm working on it ATM.17:57
beunocool17:58
karnibeuno: excuse my previous .apk teases. I really want to give it to you.17:58
beunokarni, no worries18:01
ralsinaoops, I missed mandel18:52
karnibeuno: I've also hidden UDFs, SHARES, dirs and files starting with a dot.18:56
beunokarni, nice. Easily unhidden?18:57
karnibeuno: yes. will add as an app setting right now.18:58
karnibeuno: I implemented 10 second timeout before invoking sync on a volume, who's generation is being bumped. (we can try smaller timeout, but it can cause more syncs than neccessary)19:00
beunokarni, sounds good19:00
karniThe (resonably) more, the better. We really don't care about those intermediate generation broadcasts.19:00
karnibeuno: currently, i've taken off the 'sync' option from folders. will get back to that. would be best to start playing with it once we've got some scheduling mechanisms, but I'll consult with verterok first.19:02
beunokarni, +119:02
karnibeuno: all in all, it's nothing complex. but I care about handling all that stuff in a proper manner (instead of fire-and-forget)19:02
karnibeuno: unhiding done.19:36
* beuno w00ts19:37
karnibeuno: JamesTait: Today I read on twitter that Ubuntu SSO does not work on Firefox with NoScript on. Is that true/you aware of that?19:44
beunokarni, could be, at least for creating accounts19:44
karniuhm19:44
* karni starts to think that U1 server load increases significantly in the evenings19:45
beunokarni, yeah, this is something we should nudge __lucio__ about more19:46
beuno__lucio__, graphs seem to show that around this time, every day, things get pretty slow19:47
__lucio__beuno, we just had a rollout. and graphs dont show what you say.19:49
karni__lucio__: that is, you've been updating server software, correct?19:49
__lucio__karni, yup19:49
beuno__lucio__, well, I see a drop on graphs every single day19:49
beuno__lucio__, I also see karni complain around the same time every day19:50
karni__lucio__: autehtication and client setup takes around a minute or more at the very moment19:50
__lucio__beuno, what graphs are you looking at?19:50
beuno__lucio__, daily storage graphs19:50
__lucio__beuno, in particular?19:51
karniI know I could use a mock client/server, but testing in live environment brings that second touch to results.19:51
__lucio__karni, you should use staging19:51
karni__lucio__: what if we deploy the app and people don't use staging :< ?19:52
karnianyhow, __lucio__ , I've got a question19:52
karni__lucio__: should I modify any part of authentication, you mentioned I shoud use staging.one.ubuntu.com instead of one.ubuntu.com19:53
karni*that's a question19:53
karni__lucio__: I know I should connect to the IP you gave me. Just asking if anything concerning authentication changes too.19:53
nirazioIn the "Desktop Couch Scratch" folder, do I have to manually add the bookmarks I want saved, or does the system do it automatically?19:55
Chipacanirazio: the system does it automatically; adding things to that folder will accomplish nothing19:56
nirazioChipaca: Thankyou :)19:57
Chipacanirazio: you're welcome19:58
Chipacanirazio: is it working for you?19:58
Chipacait == bindwood19:58
nirazioYeah it's working19:58
__lucio__karni, same stuff should work as far as i know19:58
Chipacanirazio: sweet19:59
=== AlanChicken is now known as AlanBell
karnibeuno: What should I do with downloaded files (not favourite), which have been changed on the server? AU1 removed them and it looked as if it was never downloaded, thus you always accessed the newest version. But I'm not sure if it's the best solution. CardinalFang, you can also speak your mind on that :)20:40
karniWhat would you expect to happen.20:40
karniIf the file has been changed, even if it's not your favourite, it should not be shown to the user anymore. Since it's not up to date, right?20:40
CardinalFangHmm.20:40
karniPrompt on attempt to open.. ?20:41
karni"A new version of the file is available." <Just open> | <Redownload>20:42
CardinalFangWhat's the prompt?  Open local old version, or download newer server copy first?"20:42
CardinalFangRight.20:42
karniAlertBox, right.20:42
karni*Dialog20:42
CardinalFangkarni, sounds good to me.20:42
karniCardinalFang: sounds sensible. thanks Chad.20:43
otto__I need help to debug a serious bug: Ubuntu One is filling my /tmp directory with hundreds of files named like "tmpxDFL3N" until my hard drive fills up. How can I see what process writes these files? What is happening?21:02
karniduanedesign: rye: Could you help? ↑21:04
ryeotto__, hm, it should do one at a time, could you please check lsof ?21:06
dobeythat doesn't sound like ubuntuone21:10
otto__rye: reading lsof man pages, restarting u1, I'll be back when I get the result21:12
otto__u1sdtool -s shows server rescan, no tmpXXXX files made yet.. waiting for upload to start21:15
karniCardinalFang: You knew a ListPreference cannot be backed by xml integer-array, and it throws an NPE? Found it on android/issues page. Gotta use Strings, and then valueOf() to get int.21:17
otto__rye: server scan complete, uploading started and lsof shows line: ubuntuone 3839       otto   23u      REG                9,0   197406720    1572787 /tmp/tmpl06QfW21:20
ryeotto__, is there more than one tmp file?21:21
otto__rye: not yet, please wait until u1 freaks (may take a few minutes)21:22
otto__rye: correction: it is now uploading yet, since network stats don't show outgoing traffic - we need to wait a bit more21:23
otto__rye: we are some file listings I captured earlier today: http://otto.kekalainen.net/u1-bugs/21:25
otto__rye: I run ls several times so you can see how the tmpXXXX files multiply21:25
otto__rye: background info: running lucid with all updates, u1 account with paid 4x20GB, recenty added folder ~/Kuvat with 40 GB of stuff, user otto@sange.fi21:28
ryeotto__, ok, i think you can shut down u1 then remove these temporary files which should not be multiplying actually. facundobatista can syncdaemon create multiple deflated files in /tmp ?21:29
facundobatistarye, it should not, but it could on some strange situation21:30
otto__hmm.. now it is stuck in State: QUEUE_MANAGER, no upload happens21:37
ryeotto__, is u1sdtool --waiting-content ?21:38
CardinalFangkarni, yeah, I've run into that before.21:38
ryeotto__, is u1sdtool --waiting-meta or u1sdtool --waiting-content returning anything ?21:38
otto__rye: Failure: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply.21:39
ryeotto__, ah, State: QUEUE_MANAGER, what are the queues ?21:39
otto__u1sdtool --waiting-content | wc -l works now and shows 719321:40
ryeotto__, is queues: IDLE ? or WORKING_ON_BOTH ?21:40
otto__queues: WORKING_ON_CONTENT21:40
ryeotto__, ok, so it is uploading something21:41
ryeotto__, are there many tmp files in /tmp ?21:42
otto__only tmpl06QfW at the moment. It isn't uploading or at least there is no network traffic going out21:42
otto__rye, nothing happens at the moment, I'll try restarting it.21:47
ryeotto__, nothing as in no upload at all?21:48
ryeotto__, u1sdtoo --current-transfers ?21:48
otto__rye, yes no upload21:48
otto__rye, I already pressed the button. Now State: LOCAL_RESCAN21:49
alecunessita, http://www.pygtk.org/pygtk2tutorial/sec-TreeModelSortAndTreeModelFilter.html#sec-TreeModelFilter21:49
nessitaalecu: thanks!21:50
otto__rye, I'm getting tired (local time 23:52). I'll just post a bug next time i notice this happening, likely some time tomorrow. Thanks for the lsof tip. With it I can prove the the bug is in ubuntuone-process.21:52
ryeotto__, ok, thanks!21:53
karnibeuno: I want to track down one last thing today. Transactioned sync broke (it works without transactioning). So I'm looking at it ATM.21:56
postfuturistI poked around the FAQ's, but I can't seem to find a definitive answer for this. My computers don't stay connected to Ubuntu One file syncing service that I'm paying for. Files don't get synced. I have to Restart the syncing service manually if I want to get files to sync.  Every time. On every computer I have. It's always been like this. I appreciate that there are issues that are being ironed out, but why can't the client just reconnect on22:08
postfuturistits own? Why do I have to go in and kick it every single time I want some files to get synced? (I'm running Ubuntu 10.10 on all my machines).22:08
ryepostfuturist, is your client not connecting on startup of the machine or it gets disconnected during the operation?22:26
ryei wonder whether i can recommend nightlies for startup and metadata storage...22:29
postfuturistI don't know, I've never changed any settings. I just notice that at some point files stop syncing--for days at a time. I have to open the Ubuntu One Preferences window, the Connect button is greyed out, so I click Restart and then eventually the Connect button appears and I click on it. Then it connects and files sync.22:29
postfuturistDoes it not connect on startup?22:31
ryeChipaca, can "nightlies" be recommended for startup connections/metadata loading (tritcask aswesomeness) ?22:32
* karni eod, have a good day/evening everyone22:46

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