[01:34] ok, that's enough for today [08:17] Happy Friday, folks! :-D [08:48] morning all! [11:14] good morning! [11:24] gatox, hola! [11:24] mandel, feliz cumpleaños!! :D [11:24] mandel, i can't believe you are already here jejej [11:24] gatox, gracias! [11:25] gatox, I'm getting too old for this hehehe [11:25] jejej [11:28] mandel, i'm not going to deny that you are old...... [11:28] jejjee [12:14] hello all! [12:15] hola mandel, happy happy, joy joy! [12:16] alecu, lol thx! [12:16] alecu, hi [12:18] I'm off to have lunch :) [12:18] * mandel lunch [12:37] good morning! [12:38] ralsina, hi === yofel_ is now known as yofel === slank` is now known as slank [13:41] gatox: you are in trouble mister [13:42] ralsina, oh oh..... [13:42] ralsina, what happend? [13:42] gatox: I just approved your NZ trip and now you don't have enough free days left to cover the company christmas shutdown [13:42] gatox: you are going to have to work national holidays [13:42] ralsina, i have one holiday and a couple of remaining swap before the end of the year [13:43] gatox: stop slacking! [13:43] gatox: what swaps? ;-) [13:43] gatox: remember that you have to load the swaps before you swap them (not sure if you did that) [13:44] ralsina, obtober 12, november 20, december 8 still didn't happend [13:44] gatox: ok, so you are going to work national holidays. Ok! [13:44] ralsina, yap! [13:44] that was the plan [13:44] gatox: just so you can see hobbiton [13:45] gatox: ;-) [13:45] * gatox is tooooo excited about this trip .P [13:45] :P [13:45] ralsina: 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] gatox: feel free to setup the swaps in canonicaladmin soon so we don't forget [13:45] briancurtin: yes, I think [13:45] ralsina, ok...... doing it now! [13:45] briancurtin: but I think unpaid vacation is frowned upon [13:46] certainly [13:46] gatox: and august 20, too: http://bit.ly/feriados-AR-2012 [13:46] alecu, i'm going to take that one :P i only need 3 [13:46] jeje [13:46] ralsina: how many days do we need to keep around for the christmas shutdown? [13:47] briancurtin: depends on what days are holidays where you live [13:47] gatox: and do you have enough days for pyconar and for pyday? [13:47] for example in the UK the 26th is a holiday, and here in .ar it isn't [13:47] * mandel back [13:47] alecu, pyday is on saturday, and i'm going to skip pycon for this [13:48] gatox: makes a lot of sense :-) [13:53] gatox, so you are going to pycon nz and not ar.. [13:54] mandel, yap..... when i realize you were coming to this one, i cancel the trip [13:54] jejeje [13:54] mandel, I think gatox sees it as PyCon LOR [13:54] mandel, but you can come a couple of days to cordoba if you want ejeje [13:55] gatox, ein.. probably not hehe [13:55] I'm going o also have problems with holidays at the end of the year.. [13:55] mandel, jeje [14:08] mandel: http://www.youtube.com/watch?v=JkEhWVazBqc ! [14:08] ralsina, puf.. we also had those here.. miliki era un pesado! [14:08] :) [14:35] hi folks. bit of a late start this morning… [14:35] hi mmcc [14:38] rebooting...suddenly i have no sound, which is great [14:53] for hangout, besides mandel's personal gmail, does anyone have any special address to be invited from? [14:54] (i still haven't figured out the automatic hangout, doing this one manually) [14:54] briancurtin: my personal gmail too [14:54] briancurtin: roberto.alsina @ gmail [14:54] alecura @ [14:55] diego.sarmentero @ [14:55] michael.mccracken@ === zyga is now known as zyga-afk [14:58] my chromium is "having trouble connecting to the plugin" [14:59] alecu, 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] gatox: sure [15:00] Sorry people, my hangout is broken [15:00] so mumble [15:01] let's hope mumble doesn't crash my compiz again then ;) [15:01] probability of mumble being broken for someone is very high [15:01] also [15:01] don't forget joshuahoover this time [15:02] joshuahoover: we are in mumble [15:02] joshuahoover: because my hangout exploded [15:02] and thisfred ping [15:02] ping? [15:02] oh, you joined [15:02] nevermind [15:17] alecu: two metaclasses - one in ipc impl, one in an ipc test [15:20] briancurtin: I'd be very happy if we get rid of those before porting to 3 [15:22] alecu: that was my first thought. get rid of it if we can, if not, port it === salgado is now known as salgado-lunch [15:48] buenas vacaciones manuel! [15:49] heh [15:49] thisfred: tu español está mejorando! [15:49] yo sabe! :P [15:49] sabo [15:49] doh [15:49] and there goes the neighborhood ;-) [15:49] sé [15:50] irregular verb [15:50] ah [15:50] hate those [15:50] it's spanish. all the verbs are irregular [15:50] hoy como con el juez [15:50] thisfred: o the 5 most used verbs in spanish only 3 are irregular! [15:51] heh [15:51] ralsina, much better than Dutch then [15:51] or english where verb conjugation is basically luck [15:51] ralsina: 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] and with that, off to lunch :) [15:51] yeah, english is not really a language [15:51] dobey: awesome! [15:51] thisfred: he [15:52] buen almuerzo [16:05] * gatox lunch! === gatox is now known as gatox_lunch === gatox_lunch is now known as gatox [17:18] ugh; marking a bug as a dup in lp is now more work :-/ [17:18] * briancurtin lunch [17:18] gatox: please file bugs as bugs, not as tasks [17:19] dobey, ok [17:19] ie, describe the problem, not the fix [17:21] dobey, like this? https://bugs.launchpad.net/ubuntuone-client/+bug/1032659 [17:21] Ubuntu bug 1032659 in Ubuntu One Client "Publish SyncMenu data via ipc" [High,In progress] [17:24] gatox: "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:26] hrmm, 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:47] * briancurtin back [18:07] doh [18:38] brb [19:19] oops. [19:21] burp [19:21] wtf [19:21] how can assertTrue and assertFalse both not fail on the same thing? [19:22] if they test for is False / is True respectively? [19:22] and that thing is neither? [19:22] dobey, http://youtu.be/x0yQg8kHVcI [19:23] thisfred: how can a value that is assigned to False both be False and True? [19:23] also, why is print() not working for me now in this test :( [19:23] dobey, that does not make sense, you cannot assign to False [19:24] so a variable is set to False, and then assertFalse fails? [19:24] thisfred: no, assertFalse and assertTrue are both failing to fail [19:24] dobey, well if it's False I would assume assertFalse to succeed, so that's not strange [19:25] dobey, do you have a code sample demonstrating this? [19:27] alternatively, you could read up on intuitionism [19:28] http://en.wikipedia.org/wiki/Intuitionism [19:29] http://pastebin.ubuntu.com/1127669/ [19:29] looking [19:30] dobey, what does print repr(options['foo']) tell you? [19:30] it doesn't print [19:30] anything [19:31] that is pretty unlikely [19:31] repr should print something even if it's only None [19:31] or '' [19:31] well it's not going to the console [19:31] wherever it is going [19:32] dobey, perhaps the test is not succeeding at all, and the deferred in the setup is messing things up? [19:32] could be, but not sure how to get around that; it doesn't like me using unittest.TestCase :( [19:34] dobey, if it doesn't print anything, it's likely the test is never executed, so we're not actually testing anything [19:35] it's not printing anything [19:35] dobey: False = True; assertFalse(False) [19:35] dobey: although that doesn't work on python 3 ;-) [19:35] and i added a thing to open a log file and write the data to that instead, and there is no log file [19:36] dobey, that's what I'm saying: this test is never executed [19:36] maybe a typo in the test name? It happened to me once ;-) [19:36] ralsina: typo how? [19:36] nah, it is called [19:36] trial is saying it is being executed :) [19:36] dobey: _test_foo instead of test_foo [19:36] ok, so not that [19:36] it just never gets past setUp, is my intuition [19:36] nope, it's definitely being called [19:37] thisfred: indeed. if i add assertFalse(True) to seUp, all the tests fail [19:37] dobey, if you take out the super call, or just do it without the defer/inline? [19:38] thisfred: 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 stuff [19:38] I hate twisted [19:38] it's like herpes [19:39] once you have it, it never goes away [19:39] oh [19:39] i am an idiot [19:39] __init__ != setUp [19:39] is setUp returninga deferred? [19:39] ha [19:39] * dobey wonders how to test for that [19:39] I would have never spotted that in a million years [19:39] 'make sure super is actually calling the right thing' [19:40] dobey, won't pylint tell you you're not calling the method on the super class? [19:41] or is it as stupid as I fear it is, and only looks for the word super [19:41] yeah pylint doesn't complain [19:43] dobey, you have found a pretty good way to make all tests pass if we're ever in a hurry ;) [19:44] heh, indeed [19:44] but it sucks when i want them to fail because i know things are broken :) [19:47] * mmcc heads to the cheese shop for lunch [19:48] and apparently i know nothing about ast [19:56] alecu: 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] so how the heck do i check that super is calling the right method [19:56] alecu: i haven't changed any versioning or anything like that yet. it's just 3.0.2 with the updated PyQt/Qt [19:57] dobey, sounds like the kind of evil that Chipaca do [19:58] dobey, maybe i can help you with ast if you need..... i've been playing with that a lot [20:02] gatox: do you know how to match the bar in super(foo).bar()? [20:05] dobey, 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 want [20:06] gatox: that would be a big help, thanks [20:06] dobey, give me a couple of minutes [20:09] * dobey files a bug about that [20:15] dobey, let me know if this helps: http://paste.ubuntu.com/1127745/ [20:17] dobey, maybe this is better: http://paste.ubuntu.com/1127749/ [20:17] there you can see super and __init__ [20:19] dobey, 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 is [20:21] gatox: you've probably seen this branch failing on tarmac, right? https://code.launchpad.net/~diegosarmentero/ubuntuone-client/darwin-tests-refactoring/+merge/113289 [20:21] briancurtin: looking [20:22] dobey, little improve: http://paste.ubuntu.com/1127754/ [20:22] alecu, nop.... i miss that [20:22] * alecu would have loved a pycon talk about ast by gatox [20:23] alecu, 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 that [20:24] alecu, i'll probably going to give a lightning talk about kanzen in the PyDayCba [20:24] (kanzen: the code completion module of ninja-ide) [20:24] alecu, i'm doing another tool right now using ast.... maybe i could propose a talk about that next year :P [20:25] briancurtin: 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] gatox: or on pyday!!!! [20:25] gatox: btw: what talk should I submit to your pyday? [20:25] alecu, i've the impression that people is going to fall asleep listening a talk about ast jeje [20:26] alecu, twisted? :P [20:26] alecu, you can submit more than once also..... twisted and dbus [20:26] gatox: no way. A lot of people interested in compilers are your target [20:26] gatox: booooring! [20:26] or if you are doing something python-related to arduino also insteresting [20:26] gatox: yup, arduino would be much better. [20:26] yap! [20:27] gatox: though I've not done any python+arduino yet. [20:27] alecu, nice chance to learn :P [20:27] wowwwwwww....... 5:27 already! [20:27] :-) [20:28] ugh [20:28] this code is broken anyway :( [20:29] dobey, i can show you a trick to use when ast fails because of broken code... but is not clean :P [20:29] alecu, 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] gatox: i mean the code we're using already is broken; and i'm not sure how to fix it :( [20:29] gatox: QML FTW! [20:30] dobey, ahhhhh i thought the ast compiler was failing [20:30] gatox: there's been no QML talk ever in our PyCons! [20:30] alecu, 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 mobile [20:30] gatox: no, the current check is not exactly right [20:30] ah [20:32] gatox: "fancy" != "fanzy" :-) [20:32] gatox: but +1 on QML talks, QML rocks [20:33] ralsina, which one is for cool and elegant? [20:33] if QML components were actually release quality, it would make little sense to develop in other things [20:33] fancy [20:33] ralsina, thx [20:33] but I would rather use sleek :) [20:34] ralsina, the title of the talk was in spanish anyway.... jejee i translate it for this channel :P [20:37] ok..... eod for me!! have a nice weekend everyone! [20:37] crear juegos y UI elegante con QML [20:38] thisfred_, groso! [20:38] :D [20:38] bye people!! see you on monday! [20:38] I have been doing duolingo :) [20:38] adios! [20:39] thisfred_, ahhhhh yes, doulingo seems really cool! [20:39] it is [20:39] goes pretty fast [20:39] bah; getting nowhere fast, here [20:41] thisfred_: en 2013 te esperamos para hablar en pycon argentina ;-) [20:41] heh, that may be a bit ambitious, but who knows :) [20:43] thisfred_: you can't do worse than Leah Culver [20:43] she did a talk in spanish at pycon.ar? [20:43] dobey: no [20:43] pyoauth wasn't that bad [20:43] :) [20:43] dobey: just a very very bad talk [20:43] oh [20:44] I'll just have to work a lot of horses and turtles and blue shirts into my code examples ;) [20:45] the turtle with the purple mask [20:46] la tortuga con la mascára ppura [20:46] púrpura [20:46] I need to change my dead key [20:47] donatello? [20:47] * ralsina is rusty re: mutant ninja turtles [20:50] thisfred_: how do you feel about doing a u1db screencast? [20:50] thisfred_: I can put it in planet python and other interesting places :-) [20:54] ralsina, I hate screencasts, that sounds more like a job for aquarius, who is actually good at that kind of thing [20:55] thisfred_: ack [20:55] thisfred_: I am planning on doing one myself eventually [20:56] I just hate to hear myself talk :) [20:56] I know everybody does. I do so more ;) === pfibiger` is now known as pfibiger [20:57] thisfred_: you can always use a voice synthetizer [20:57] oooh, vocoder [20:57] that *is* tempting [20:57] pac jam! [20:58] there was a site that took a script and made 3d movies with it (with bunnies and things like that as characters) [20:58] yeah I know. I still get spam from them [20:58] or a darth vader helmet [20:59] maybe the robot woman who is teaching me spanish at duolingo has time ;) [20:59] thisfred_: do yu have the name of that site handy? [20:59] the one that did the movies. I just can't recall it. [21:00] no, I forget. If I think of it again I'll tell you. Didn't the mongo is webscale video use it? [21:00] maybe you can find it that way [21:01] u1db is web scale? [21:02] dobey, it's 1.35 webscale [21:02] heh [21:02] thisfred_, ya, that's a me thing, I think [21:02] hey! [21:02] welcome back [21:03] * aquarius is indeed back [21:03] and go to bed or go get drunk or summat [21:03] ha [21:03] am staying in tonight. I drank a lot on holiday :) [21:03] no really? [21:03] ;) [21:05] aquarius: hey. did you see my request re: u1db docs/ [21:05] I didn't, sorry [21:05] couldn't face looking back through a week of stuff to find the highlighted lines :) [21:06] we'll just assume you agree to everything [21:06] alecu: 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 files [21:06] you'll look great in a bunny suit [21:06] aquarius: 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] aquarius: since we have docs on there now thanks to pypi uploads [21:06] ooh, good idea [21:07] um [21:07] actually... can I? Am I allowed htaccess files on pcc? [21:07] I suppose I could just meta refresh [21:07] party like it's 1995 [21:07] hehe [21:07] well presumably you can acces your .htaccess [21:07] briancurtin: no hurry. I should still test this one installer first :-) [21:07] i don't know if mod_rewrite is enabled though [21:08] also, for what it's worth, i have no idea how to put files on that server anyway :) [21:08] ssh people.c.c :) [21:08] ah, well then [21:09] it is never a good day when I have to read the mod_rewrite documentation [21:09] oh, people.u.c i can't get to i guess [21:09] thisfred_: yay, mongo is webscale was done with that thanks [21:09] anyways [21:10] And the site is http://www.xtranormal.com/ [21:10] at least i have got some tests written and working now (and some small issues fixed as a result) [21:10] ralsina, in the US it was used in TV commercials even though I forget for whom [21:10] maybe sprint used it for the htc evo vs. iphone 4 one [21:10] thisfred_: must have been the cheapest commercial ever :-) [21:10] probably geico, since every other commercial is geico [21:11] haha, the mongodb webscale video was done by a guy i know from the local python meetup [21:11] autotune-screencast ftw. [21:11] ralsina, yeah the point of the commercial was that it was made in 15 minutes [21:12] I think [21:13] while we're (not really) on the topic: who remembers dictionaraoke? [21:13] that was fun [21:14] werq [21:14] it is done [21:14] and mod_alias is enabled on the server, usefully [21:14] no rewriterule needed! [21:14] awesome [21:15] now I need to check in some incendiary documentation [21:16] and share the p.c.c link [21:16] good catch, dobey [21:20] eh, someone asked for updated docs on your page last night. figured it was time to point them at the new place :) [21:20] now, how do i get the name of the function i'm in, in python? [21:21] have to inspect? [21:22] eh, i guess it doesn't matter :-/ [21:25] * dobey wonders how to test the TestRunner class exactly [21:27] dobey: you can't [21:27] dobey: "get the name of the function you're in" I mean [21:28] yeah, it doesn't matter i found. i can't do what i wanted with it anyway [21:30] ok, have a good weekend all, I gotta walk some dogs [21:31] later [21:32] dobey, would this work for you? inspect.currentframe().f_code.co_name ? [21:34] probably; aside from the being able to do what i wanted bit [21:35] oh. what is it that you wanted to do? [21:37] twisted'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 right [21:38] and the weird thing is, for another flag, i don't have to define that method in the class [21:38] yay twisted :( [21:40] I see. hmmm. [21:40] mmcc: that gives you the name of where it's defined, but yes, close enough :-) [21:41] ok, EOW for me, have fun! [21:45] ok, have a good weekend ralsina [21:48] maybe 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 that [21:54] eh, it's only the one flag that is causing issues right now, so i just defined it [22:02] dobey: is this about adding -3 to u1trial? [22:03] also, I'm sure just defining it was the right way to go. fun to mess around with other ways though [22:03] no [22:03] fixing a bug in the refactor [22:05] ah ok [22:05] https://code.launchpad.net/~dobey/ubuntuone-dev-tools/fix-coverage/+merge/118207 [22:20] well, time to go. later all, have a good weekend.