/srv/irclogs.ubuntu.com/2005/08/04/#launchpad.txt

=== ddaa pokes spiv
=== ddaa hits air
jameshddaa: spiv has chicken pox12:16
kikoddaa, he's got chickenpox and is in the hotel12:16
ddaais that some kind of dish?12:16
jameshmaybe in france12:16
jamesh:)12:16
=== Seveas [~seveas@seveas.demon.nl] has joined #launchpad
ddaablah, bottom line, I replied to his review (about the latest pybaz branch), and I wanted a advice on how to implement a Method Object pattern in Python in a better way than what I did, because he complained that was ugly, and I'm forced to agree with him.12:17
ddaaThe issue is that the Method Object must only be created by a factory method. It's in the doctring, but since people do not read documentation, I also made the __init__ useless and the attributes protected.12:18
ddaaSo the factory method has to set the protected attributes of the Method Object class.12:19
ddaaI cannot make the Method Object class protected to discourage its instantiation, because its methods are part of the public API.12:20
ddaaAnd, no, pybaz is not using zope interfaces.12:20
ddaaSo, setting protected attributes in a factory method is the least bad solution I have found.12:20
ddaaUnfortunately Python has no way to express the notion of friend method (as in C++). It's sometimes useful to break encapsulation but still make it clear it's done in a safe and responsible adult manner.12:22
ddaaAny hint?12:22
kikogot milk?12:24
ddaaYes, I have microfiltered whole milk downstairs. What for?12:27
jameshddaa: the usual way of doing protected/private constructors is to make the documentation say "do not use this directly"12:28
jameshfor better or worse12:28
ddaabut... but...12:28
ddaapeople do _not_ read documentation...12:28
KinnisonLies12:29
KinnisonWe all read docs12:29
Kinnisonwhen we see an error we can't understand12:29
kikowho's "we" Kinnison?12:30
kikocomputer programmers?12:30
=== ddaa is trying to think of way for the library to bitch at the programmer when calling __init__ directly
ddaamaybe I can inspect the bactrace...12:31
ddaawarning: either you did not read documentation, or your are intently doing what is forbidden12:31
ddaamaybe I should require the first argument of the constructor to be the string "I shall not call instanciate this class myself"12:33
ddaaor maybe "Only Foo.bar() is allowed to do that"12:34
ddaajamesh: how evil is that in your opinion?12:34
ddaaI like the idea, therefore it's likely evil.12:35
=== ddaa wishes pychecker knew about protected ctors
ddaaBah, I'll do as jamesh suggested. Tell spiv I'm sorry he has chicken pie.12:41
dilysMerge to rocketfuel@canonical.com/launchpad--devel--0: [trivial]  fix typos in malone and doap about pages; fixes bug 1552 (patch-2192: christian.reis@canonical.com)12:52
dilysMerge to rocketfuel@canonical.com/pybaz--devel--0: [r=spiv]  basic ArchiveLocation implementation (patch-37: ddaa@ddaa.net)01:22
=== Nafallo [nafallo@c-459571d5.07-44-73746f50.cust.bredbandsbolaget.se] has joined #launchpad
=== lamont [~lamont@mix.mmjgroup.com] has joined #launchpad
=== otep [~otep@AP-203.167.31.177.sysads.com] has joined #launchpad
=== _otep [~otep@AP-203.167.31.177.sysads.com] has joined #launchpad
=== otep [~otep@AP-203.167.31.177.sysads.com] has joined #launchpad
=== Madeye [~Jad@194.165.132.209] has joined #launchpad
Madeyehi10:37
Madeyewho's in charge of ubuntu launchpad10:37
Madeyei'm having some troubles10:37
bob2just ask10:38
MadeyeThe email address '' which you're trying to use to login has not yet been validated to use in Launchpad. We sent an email to that address with instructions on how to confirm that it belongs to you. As soon as we have that confirmation you'll be able to log into Launchpad.10:38
Madeyeit supposed to be already confirmed 10:38
MadeyeI've done some translation before10:39
Madeyeanyone?10:41
=== Madeye [~Jad@194.165.132.209] has left #launchpad ["Knowledge]
=== dilys [daf@muse.19inch.net] has joined #launchpad
dilysMerge to thelove@canonical.com/bazaar--devo--1.5: Added --id-regex to rbrowse, made exact string comparison the default, match ^LIMIT instead of ^LIMIT$ (patch-51: Matthieu.Moy@imag.fr)12:42
=== JanC [~janc@dD5764BEC.access.telenet.be] has joined #launchpad
=== kiko [~kiko@200-171-140-32.dsl.telesp.net.br] has joined #launchpad
=== Mez [~Mez@cpc2-lich4-3-0-cust115.brhm.cable.ntl.com] has joined #launchpad
=== Mez [~Mez@cpc2-lich4-3-0-cust115.brhm.cable.ntl.com] has joined #launchpad
=== Mez [~Mez@cpc2-lich4-3-0-cust115.brhm.cable.ntl.com] has joined #launchpad
Nafallowhat happens if you get refused from a group? you can propose yourself again if you want to?07:14
Nafalloor do you have to wait 365 days or something?07:15
=== camilotelles [~Camilo@201.32.192.121] has joined #launchpad
=== gradzac [~bmontgom@wsip-68-15-230-31.om.om.cox.net] has joined #launchpad
=== Virtuall [~virtuall@who.is.virtuall.info] has joined #launchpad
=== Belutz [~Belutz@219.83.23.250] has joined #launchpad
Belutzhai08:25
=== Madeye [~Jad@86.108.11.161] has joined #Launchpad
=== Madeye [~Jad@86.108.11.161] has joined #Launchpad
MadeyeThe email address 'Jad@php.net', which you're trying to use to login has not yet been validated to use in Launchpad. We sent an email to that address with instructions on how to confirm that it belongs to you. As soon as we have that confirmation you'll be able to log into Launchpad.08:56
Madeyeany idea? I haven't got any email08:56
gradzacI did it about an hour ago and got the email within a few seconds08:56
MadeyeI've already registered and participated before few months 08:58
Madeyemy account supposed to be already activated 08:58
Madeyeanyone?09:03
=== Mez [~Mez@cpc2-lich4-3-0-cust115.brhm.cable.ntl.com] has joined #launchpad
=== Belutz [~Belutz@219.83.23.250] has left #launchpad ["Leaving"]
=== Mez [~Mez@cpc2-lich4-3-0-cust115.brhm.cable.ntl.com] has joined #launchpad
=== Seveas [~seveas@seveas.demon.nl] has joined #launchpad
=== Mez [~Mez@cpc2-lich4-3-0-cust115.brhm.cable.ntl.com] has joined #launchpad
=== Mez [~Mez@cpc2-lich4-3-0-cust115.brhm.cable.ntl.com] has joined #launchpad
=== Virtuall [~virtuall@who.is.virtuall.info] has joined #launchpad

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