/srv/irclogs.ubuntu.com/2012/08/03/#ubuntuone.txt

mmccok, that's enough for today01:34
JamesTaitHappy Friday, folks! :-D08:17
mandelmorning all!08:48
gatoxgood morning!11:14
mandelgatox, hola!11:24
gatoxmandel, feliz cumpleaños!! :D11:24
gatoxmandel, i can't believe you are already here jejej11:24
mandelgatox, gracias!11:24
mandelgatox, I'm getting too old for this hehehe11:25
gatoxjejej11:25
gatoxmandel, i'm not going to deny that you are old......11:28
gatoxjejjee11:28
alecuhello all!12:14
alecuhola mandel, happy happy, joy joy!12:15
mandelalecu, lol thx!12:16
gatoxalecu, hi12:16
mandelI'm off to have lunch :)12:18
* mandel lunch12:18
ralsinagood morning!12:37
gatoxralsina, hi12:38
=== yofel_ is now known as yofel
=== slank` is now known as slank
ralsinagatox: you are in trouble mister13:41
gatoxralsina, oh oh.....13:42
gatoxralsina, what happend?13:42
ralsinagatox: I just approved your NZ trip and now you don't have enough free days left to cover the company christmas shutdown13:42
ralsinagatox: you are going to have to work national holidays13:42
gatoxralsina, i have one holiday and a couple of remaining swap before the end of the year13:42
alecugatox: stop slacking!13:43
ralsinagatox: what swaps? ;-)13:43
ralsinagatox: remember that you have to load the swaps before you swap them (not sure if you did that)13:43
gatoxralsina, obtober 12, november 20, december 8 still didn't happend13:44
ralsinagatox: ok, so you are going to work national holidays. Ok!13:44
gatoxralsina, yap!13:44
gatoxthat was the plan13:44
ralsinagatox: just so you can see hobbiton13:44
ralsinagatox: ;-)13:45
* gatox is tooooo excited about this trip .P13:45
gatox:P13:45
briancurtinralsina: as an alternative to working the nat'l holidays in that case, it's also an option to not work the holiday but also not get paid for that day, right?13:45
ralsinagatox: feel free to setup the swaps in canonicaladmin soon so we don't forget13:45
ralsinabriancurtin: yes, I think13:45
gatoxralsina, ok...... doing it now!13:45
ralsinabriancurtin: but I think unpaid vacation is frowned upon13:45
briancurtincertainly13:46
alecugatox: and august 20, too: http://bit.ly/feriados-AR-201213:46
gatoxalecu, i'm going to take that one :P i only need 313:46
gatoxjeje13:46
briancurtinralsina: how many days do we need to keep around for the christmas shutdown?13:46
ralsinabriancurtin: depends on what days are holidays where you live13:47
alecugatox: and do you have enough days for pyconar and for pyday?13:47
ralsinafor example in the UK the 26th is a holiday, and here in .ar it isn't13:47
* mandel back13:47
gatoxalecu, pyday is on saturday, and i'm going to skip pycon for this13:47
alecugatox: makes a lot of sense :-)13:48
mandelgatox, so you are going to pycon nz and not ar..13:53
gatoxmandel, yap..... when i realize you were coming to this one, i cancel the trip13:54
gatoxjejeje13:54
beunomandel, I think gatox sees it as PyCon LOR13:54
gatoxmandel, but you can come a couple of days to cordoba if you want ejeje13:54
mandelgatox, ein.. probably not hehe13:55
mandelI'm going o also have problems with holidays at the end of the year..13:55
gatoxmandel, jeje13:55
ralsinamandel: http://www.youtube.com/watch?v=JkEhWVazBqc !14:08
mandelralsina, puf.. we also had those here.. miliki era un pesado!14:08
mandel:)14:08
mmcchi folks. bit of a late start this morning…14:35
dobeyhi mmcc14:35
briancurtinrebooting...suddenly i have no sound, which is great14:38
briancurtinfor hangout, besides mandel's personal gmail, does anyone have any special address to be invited from?14:53
briancurtin(i still haven't figured out the automatic hangout, doing this one manually)14:54
ralsinabriancurtin: my personal gmail too14:54
ralsinabriancurtin: roberto.alsina @ gmail14:54
alecualecura @14:54
gatoxdiego.sarmentero @14:55
mmccmichael.mccracken@14:55
=== zyga is now known as zyga-afk
ralsinamy chromium is "having trouble connecting to the plugin"14:58
gatoxalecu, ralsina a small review if you can: https://code.launchpad.net/~diegosarmentero/ubuntuone-client/menu/+merge/118117 (i'm doing this in small independent branches, to avoid complex and long branches :P)14:59
ralsinagatox: sure14:59
ralsinaSorry people, my hangout is broken15:00
ralsinaso mumble15:00
thisfredlet's hope mumble doesn't crash my compiz again then ;)15:01
dobeyprobability of mumble being broken for someone is very high15:01
dobeyalso15:01
dobeydon't forget joshuahoover this time15:01
ralsinajoshuahoover: we are in mumble15:02
ralsinajoshuahoover: because my hangout exploded15:02
ralsinaand thisfred ping15:02
thisfredping?15:02
ralsinaoh, you joined15:02
ralsinanevermind15:02
briancurtinalecu: two metaclasses - one in ipc impl, one in an ipc test15:17
alecubriancurtin: I'd be very happy if we get rid of those before porting to 315:20
briancurtinalecu: that was my first thought. get rid of it if we can, if not, port it15:22
=== salgado is now known as salgado-lunch
thisfredbuenas vacaciones manuel!15:48
dobeyheh15:49
ralsinathisfred: tu español está mejorando!15:49
thisfredyo sabe! :P15:49
thisfredsabo15:49
thisfreddoh15:49
ralsinaand there goes the neighborhood ;-)15:49
ralsina15:49
ralsinairregular verb15:50
thisfredah15:50
thisfredhate those15:50
dobeyit's spanish. all the verbs are irregular15:50
thisfredhoy como con el juez15:50
ralsinathisfred: o the 5 most used verbs in spanish only 3 are irregular!15:50
dobeyheh15:51
thisfredralsina, much better than Dutch then15:51
ralsinaor english where verb conjugation is basically luck15:51
dobeyralsina: doing a test build in pbuilder of cp with the scrollbar patch, and will upload to q when it's done building (so in like 3 hours or so because for some reason it's insanely slow for me now)15:51
dobeyand with that, off to lunch :)15:51
thisfredyeah, english is not really a language15:51
ralsinadobey: awesome!15:51
ralsinathisfred: he15:51
thisfredbuen almuerzo15:52
* gatox lunch!16:05
=== gatox is now known as gatox_lunch
=== gatox_lunch is now known as gatox
dobeyugh; marking a bug as a dup in lp is now more work :-/17:18
* briancurtin lunch17:18
dobeygatox: please file bugs as bugs, not as tasks17:18
gatoxdobey, ok17:19
dobeyie, describe the problem, not the fix17:19
gatoxdobey, like this? https://bugs.launchpad.net/ubuntuone-client/+bug/103265917:21
ubot5Ubuntu bug 1032659 in Ubuntu One Client "Publish SyncMenu data via ipc" [High,In progress]17:21
dobeygatox: "There is no way to access recent and current transfers information over IPC." might be a better description, and the summary should summarize the problem as well, not the solution :)17:24
dobeyhrmm, i wonder if the pbuilder and apt-get speed issues i'm having are because i'm running kernel 3.5 on 12.04; or if it's just because it's new hardware (the controller)17:26
* briancurtin back17:47
dobeydoh18:07
dobeybrb18:38
dobeyoops.19:19
thisfredburp19:21
dobeywtf19:21
dobeyhow can assertTrue and assertFalse both not fail on the same thing?19:21
thisfredif they test for is False / is True respectively?19:22
thisfredand that thing is neither?19:22
gatoxdobey, http://youtu.be/x0yQg8kHVcI19:22
dobeythisfred: how can a value that is assigned to False both be False and True?19:23
dobeyalso, why is print() not working for me now in this test :(19:23
thisfreddobey, that does not make sense, you cannot assign to False19:23
thisfredso a variable is set to False, and then assertFalse fails?19:24
dobeythisfred: no, assertFalse and assertTrue are both failing to fail19:24
thisfreddobey, well if it's False I would assume assertFalse to succeed, so that's not strange19:24
thisfreddobey, do you have a code sample demonstrating this?19:25
thisfredalternatively, you could read up on intuitionism19:27
thisfredhttp://en.wikipedia.org/wiki/Intuitionism19:28
dobeyhttp://pastebin.ubuntu.com/1127669/19:29
thisfredlooking19:29
thisfreddobey, what does print repr(options['foo']) tell you?19:30
dobeyit doesn't print19:30
dobeyanything19:30
thisfredthat is pretty unlikely19:31
thisfredrepr should print something even if it's only None19:31
thisfredor ''19:31
dobeywell it's not going to the console19:31
dobeywherever it is going19:31
thisfreddobey, perhaps the test is not succeeding at all, and the deferred in the setup is messing things up?19:32
dobeycould be, but not sure how to get around that; it doesn't like me using unittest.TestCase :(19:32
thisfreddobey, if it doesn't print anything, it's likely the test is never executed, so we're not actually testing anything19:34
dobeyit's not printing anything19:35
ralsinadobey: False = True; assertFalse(False)19:35
ralsinadobey: although that doesn't work on python 3 ;-)19:35
dobeyand i added a thing to open a log file and write the data to that instead, and there is no log file19:35
thisfreddobey, that's what I'm saying: this test is never executed19:36
ralsinamaybe a typo in the test name? It happened to me once ;-)19:36
dobeyralsina: typo how?19:36
thisfrednah, it is called19:36
dobeytrial is saying it is being executed :)19:36
ralsinadobey: _test_foo instead of test_foo19:36
ralsinaok, so not that19:36
thisfredit just never gets past setUp, is my intuition19:36
dobeynope, it's definitely being called19:36
dobeythisfred: indeed. if i add assertFalse(True) to seUp, all the tests fail19:37
thisfreddobey, if you take out the super call, or just do it without the defer/inline?19:37
dobeythisfred: well i can, but our check for that will fail, so the test won't run; because we check for the inlineCallbacks/yield for twisted test case stuff19:38
thisfredI hate twisted19:38
thisfredit's like herpes19:38
thisfredonce you have it, it never goes away19:39
dobeyoh19:39
dobeyi am an idiot19:39
dobey__init__ != setUp19:39
ralsinais setUp returninga deferred?19:39
thisfredha19:39
* dobey wonders how to test for that19:39
thisfredI would have never spotted that in a million years19:39
dobey'make sure super is actually calling the right thing'19:39
thisfreddobey, won't pylint tell you you're not calling the method on the super class?19:40
thisfredor is it as stupid as I fear it is, and only looks for the word super19:41
dobeyyeah pylint doesn't complain19:41
thisfreddobey, you have found a pretty good way to make all tests pass if we're ever in a hurry ;)19:43
dobeyheh, indeed19:44
dobeybut it sucks when i want them to fail because i know things are broken :)19:44
* mmcc heads to the cheese shop for lunch19:47
dobeyand apparently i know nothing about ast19:48
briancurtinalecu: if you're still around, http://ubuntuone.com/7O01iFMjvTQSFWtZIKdcaI is a 3.0.2 installer with PyQt 4.9.4 (Qt 4.8.2)19:56
dobeyso how the heck do i check that super is calling the right method19:56
briancurtinalecu: i haven't changed any versioning or anything like that yet. it's just 3.0.2 with the updated PyQt/Qt19:56
thisfreddobey, sounds like the kind of evil that Chipaca do19:57
gatoxdobey, maybe i can help you with ast if you need..... i've been playing with that a lot19:58
dobeygatox: do you know how to match the bar in super(foo).bar()?20:02
gatoxdobey, all that line should be a Call..... and "super" should be Attribute, and "bar" should be accesible from Attribute.attr..... which should be Call also..... i can check exactly how to do it if you want20:05
dobeygatox: that would be a big help, thanks20:06
gatoxdobey, give me a couple of minutes20:06
* dobey files a bug about that20:09
gatoxdobey, let me know if this helps: http://paste.ubuntu.com/1127745/20:15
gatoxdobey, maybe this is better: http://paste.ubuntu.com/1127749/20:17
gatoxthere you can see super and __init__20:17
gatoxdobey, there you can have the idea how to process each line in the body of the function __init__ and check if it is a super expression and what the "bar" part is20:19
alecugatox: you've probably seen this branch failing on tarmac, right? https://code.launchpad.net/~diegosarmentero/ubuntuone-client/darwin-tests-refactoring/+merge/11328920:21
alecubriancurtin: looking20:21
gatoxdobey, little improve: http://paste.ubuntu.com/1127754/20:22
gatoxalecu, nop.... i miss that20:22
* alecu would have loved a pycon talk about ast by gatox20:22
gatoxalecu, i wasn't sure if propose it, because..... it not something that is fun for everyone.... but you can do a lot of crazy things with that20:23
gatoxalecu, i'll probably going to give a lightning talk about kanzen in the PyDayCba20:24
gatox(kanzen: the code completion module of ninja-ide)20:24
gatoxalecu, i'm doing another tool right now using ast.... maybe i could propose a talk about that next year :P20:24
alecubriancurtin: is there a way to name the installer package (and the corresponding installed bits) say "3.0.2b" instead of "3.0.2" ?20:25
alecugatox: or on pyday!!!!20:25
alecugatox: btw: what talk should I submit to your pyday?20:25
gatoxalecu,  i've the impression that people is going to fall asleep listening a talk about ast jeje20:25
gatoxalecu, twisted? :P20:26
gatoxalecu, you can submit more than once also..... twisted and dbus20:26
alecugatox: no way. A lot of people interested in compilers are your target20:26
alecugatox: booooring!20:26
gatoxor if you are doing something python-related to arduino also insteresting20:26
alecugatox: yup, arduino would be much better.20:26
gatoxyap!20:26
alecugatox: though I've not done any python+arduino yet.20:27
gatoxalecu, nice chance to learn :P20:27
gatoxwowwwwwww....... 5:27 already!20:27
alecu:-)20:27
dobeyugh20:28
dobeythis code is broken anyway :(20:28
gatoxdobey, i can show you a trick to use when ast fails because of broken code... but is not clean :P20:29
gatoxalecu, btw..... i already submit two talks to pyday.... but we should see with the other people in the organization which ones are going to be the best....... i submit: "Creating Games and fanzy UI with QML", and "Small steps to start developing ninja-ide"20:29
dobeygatox: i mean the code we're using already is broken; and i'm not sure how to fix it :(20:29
alecugatox: QML FTW!20:29
gatoxdobey, ahhhhh i thought the ast compiler was failing20:30
alecugatox: there's been no QML talk ever in our PyCons!20:30
gatoxalecu, yes, also..... is really cool how you can do awesome games 100% in qml..... and that can be executed from a python or c++ app or from a mobile20:30
dobeygatox: no, the current check is not exactly right20:30
gatoxah20:30
ralsinagatox: "fancy" != "fanzy" :-)20:32
ralsinagatox: but +1 on QML talks, QML rocks20:32
gatoxralsina, which one is for cool and elegant?20:33
ralsinaif QML components were actually release quality, it would make little sense to develop in other things20:33
ralsinafancy20:33
gatoxralsina, thx20:33
ralsinabut I would rather use sleek :)20:33
gatoxralsina, the title of the talk was in spanish anyway.... jejee i translate it for this channel :P20:34
gatoxok..... eod for me!! have a nice weekend everyone!20:37
thisfred_crear juegos y UI elegante con QML20:37
gatoxthisfred_, groso!20:38
thisfred_:D20:38
gatoxbye people!! see you on monday!20:38
thisfred_I have been doing duolingo :)20:38
thisfred_adios!20:38
gatoxthisfred_, ahhhhh yes, doulingo seems really cool!20:39
thisfred_it is20:39
thisfred_goes pretty fast20:39
dobeybah; getting nowhere fast, here20:39
ralsinathisfred_: en 2013 te esperamos para hablar en pycon argentina ;-)20:41
thisfred_heh, that may be a bit ambitious, but who knows :)20:41
ralsinathisfred_: you can't do worse than Leah Culver20:43
dobeyshe did a talk in spanish at pycon.ar?20:43
ralsinadobey: no20:43
thisfred_pyoauth wasn't that bad20:43
thisfred_:)20:43
ralsinadobey: just a very very bad talk20:43
dobeyoh20:43
thisfred_I'll just have to work a lot of horses and turtles and blue shirts into my code examples ;)20:44
dobeythe turtle with the purple mask20:45
thisfred_la tortuga con la mascára ppura20:46
thisfred_púrpura20:46
thisfred_I need to change my dead key20:46
ralsinadonatello?20:47
* ralsina is rusty re: mutant ninja turtles20:47
ralsinathisfred_: how do you feel about doing a u1db screencast?20:50
ralsinathisfred_: I can put it in planet python and other interesting places :-)20:50
thisfred_ralsina, I hate screencasts, that sounds more like a job for aquarius, who is actually good at that kind of thing20:54
ralsinathisfred_: ack20:55
ralsinathisfred_: I am planning on doing one myself eventually20:55
thisfred_I just hate to hear myself talk :)20:56
thisfred_I know everybody does. I do so more ;)20:56
=== pfibiger` is now known as pfibiger
ralsinathisfred_: you can always use a voice synthetizer20:57
thisfred_oooh, vocoder20:57
thisfred_that *is* tempting20:57
thisfred_pac jam!20:57
ralsinathere was a site that took a script and made 3d movies with it (with bunnies and things like that as characters)20:58
thisfred_yeah I know. I still get spam from them20:58
ralsinaor a darth vader helmet20:58
thisfred_maybe the robot woman who is teaching me spanish at duolingo has time ;)20:59
ralsinathisfred_: do yu have the name of that site handy?20:59
ralsinathe one that did the movies. I just can't recall it.20:59
thisfred_no, I forget. If I think of it again I'll tell you. Didn't the mongo is webscale video use it?21:00
thisfred_maybe you can find it that way21:00
dobeyu1db is web scale?21:01
thisfred_dobey, it's 1.35 webscale21:02
dobeyheh21:02
aquariusthisfred_, ya, that's a me thing, I think21:02
thisfred_hey!21:02
thisfred_welcome back21:02
* aquarius is indeed back21:03
thisfred_and go to bed or go get drunk or summat21:03
aquariusha21:03
aquariusam staying in tonight. I drank a lot on holiday :)21:03
thisfred_no really?21:03
thisfred_;)21:03
dobeyaquarius: hey. did you see my request re: u1db docs/21:05
aquariusI didn't, sorry21:05
aquariuscouldn't face looking back through a week of stuff to find the highlighted lines :)21:05
thisfred_we'll just assume you agree to everything21:06
briancurtinalecu: whoops, didn't see your earlier messages. i think we can do that, let me try in the installer. the least we could do is probably change the name that shows up in the log files21:06
thisfred_you'll look great in a bunny suit21:06
dobeyaquarius: ah, well it was only from last night. but can you make your u1db-docs/ dir on people.c.c redirect to packages.python.org/u1db/ instead?21:06
dobeyaquarius: since we have docs on there now thanks to pypi uploads21:06
aquariusooh, good idea21:06
aquariusum21:07
aquariusactually... can I? Am I allowed htaccess files on pcc?21:07
aquariusI suppose I could just meta refresh21:07
aquariusparty like it's 199521:07
thisfred_hehe21:07
dobeywell presumably you can acces your .htaccess21:07
alecubriancurtin: no hurry. I should still test this one installer first :-)21:07
dobeyi don't know if mod_rewrite is enabled though21:07
dobeyalso, for what it's worth, i have no idea how to put files on that server anyway :)21:08
aquariusssh people.c.c :)21:08
dobeyah, well then21:08
aquariusit is never a good day when I have to read the mod_rewrite documentation21:09
dobeyoh, people.u.c i can't get to i guess21:09
ralsinathisfred_: yay, mongo is webscale was done with that thanks21:09
dobeyanyways21:09
ralsinaAnd the site is http://www.xtranormal.com/21:10
dobeyat least i have got some tests written and working now (and some small issues fixed as a result)21:10
thisfred_ralsina, in the US it was used in TV commercials even though I forget for whom21:10
dobeymaybe sprint used it for the htc evo vs. iphone 4 one21:10
ralsinathisfred_: must have been the cheapest commercial ever :-)21:10
thisfred_probably geico, since every other commercial is geico21:10
briancurtinhaha, the mongodb webscale video was done by a guy i know from the local python meetup21:11
dobeyautotune-screencast ftw.21:11
thisfred_ralsina, yeah the point of the commercial was that it was made in 15 minutes21:11
thisfred_I think21:12
thisfred_while we're (not really) on the topic: who remembers dictionaraoke?21:13
thisfred_that was fun21:13
aquariuswerq21:14
aquariusit is done21:14
aquariusand mod_alias is enabled on the server,  usefully21:14
aquariusno rewriterule needed!21:14
thisfred_awesome21:14
thisfred_now I need to check in some incendiary documentation21:15
thisfred_and share the p.c.c link21:16
aquariusgood catch, dobey21:16
dobeyeh, someone asked for updated docs on your page last night. figured it was time to point them at the new place :)21:20
dobeynow, how do i get the name of the function i'm in, in python?21:20
dobeyhave to inspect?21:21
dobeyeh, i guess it doesn't matter :-/21:22
* dobey wonders how to test the TestRunner class exactly21:25
ralsinadobey: you can't21:27
ralsinadobey: "get the name of the function you're in" I mean21:27
dobeyyeah, it doesn't matter i found. i can't do what i wanted with it anyway21:28
thisfred_ok, have a good weekend all, I gotta walk some dogs21:30
dobeylater21:31
mmccdobey, would this work for you? inspect.currentframe().f_code.co_name ?21:32
dobeyprobably; aside from the being able to do what i wanted bit21:34
mmccoh. what is it that you wanted to do?21:35
dobeytwisted's option parsing requires you to define an opt_foo() method for the options, even the flags which are just boolean toggles, so to change the value from 0 to 1 (or false to true), you have to define a method to assign the variable; so i wanted to define an opt_flag and have it infer the name of the option (since it's not passed in), and just do opt_otherflag = opt_flag, and have it work right21:37
dobeyand the weird thing is, for another flag, i don't have to define that method in the class21:38
dobeyyay twisted :(21:38
mmccI see. hmmm.21:40
ralsinammcc: that gives you the name of where it's defined, but yes, close enough :-)21:40
ralsinaok, EOW for me, have fun!21:41
mmccok, have a good weekend ralsina21:45
mmccmaybe something with a set_option_name(name, val) then functools.partial and setattr(self, "opt_%s" %optname)21:48
* mmcc did not actually try any of that21:48
dobeyeh, it's only the one flag that is causing issues right now, so i just defined it21:54
mmccdobey: is this about adding -3 to u1trial?22:02
mmccalso, I'm sure just defining it was the right way to go. fun to mess around with other ways though22:03
dobeyno22:03
dobeyfixing a bug in the refactor22:03
mmccah ok22:05
dobeyhttps://code.launchpad.net/~dobey/ubuntuone-dev-tools/fix-coverage/+merge/11820722:05
dobeywell, time to go. later all, have a good weekend.22:20

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