code logs -> 2008 -> Sun, 30 Mar 2008< code.20080329.log - code.20080331.log >
--- Log opened Sun Mar 30 00:00:57 2008
00:09 Vornotron [~vorn@Admin.Nightstar.Net] has joined #code
00:09 Finerty [~vorn@ServicesOp.Nightstar.Net] has quit [Ping Timeout]
00:16 Vornotron is now known as Finerty
00:26 Finerty [~vorn@ServicesOp.Nightstar.Net] has quit [Ping Timeout]
00:27 Vornotron [~vorn@Admin.Nightstar.Net] has joined #code
00:27 Vornotron is now known as Finerty
00:41 Finerty [~vorn@ServicesOp.Nightstar.Net] has left #code [Leaving]
00:42 Vornicus [~vorn@64.252.56.ns-3293] has joined #code
00:42 mode/#code [+o Vornicus] by ChanServ
02:02 Vornicus [~vorn@Admin.Nightstar.Net] has quit [Ping Timeout]
02:02 Vornotron [~vorn@Admin.Nightstar.Net] has joined #code
02:17 Raif [~corvusign@67.161.90.ns-4200] has quit [Killed (NickServ (GHOST command used by Raif_))]
02:17 Raif_ [~corvusign@67.161.90.ns-4200] has joined #Code
02:17 Raif_ is now known as Raif
04:37
< Vornotron>
blar
04:37 Vornotron is now known as Vornicus
04:37 mode/#code [+oooooo AFKSkull GeekSoldier|bed JPL Raif Shou|v_V Vornicus] by Vornicus
04:37 mode/#code [+v DiceBot] by Vornicus
07:20 GeekSoldier|bed is now known as GeekSoldier
08:09 Vornicus is now known as Vornicus-Latens
08:40 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has quit [Operation timed out]
08:43 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #code
08:43 mode/#code [+o ToxicFrog] by ChanServ
08:45 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has quit [Operation timed out]
08:50 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #code
08:50 mode/#code [+o ToxicFrog] by ChanServ
10:14 JPL [~JeffL@209.204.181.ns-4330] has quit [Ping Timeout]
10:17 ASCIISkull [~none@Nightstar-7066.dyn.optonline.net] has joined #code
10:17 AFKSkull [~none@Nightstar-7066.dyn.optonline.net] has quit [Ping Timeout]
10:26 GeekSoldier [~Rob@91.18.88.ns-26990] has quit [Ping Timeout]
10:37 Vornicus-Latens [~vorn@ServicesOp.Nightstar.Net] has quit [Ping Timeout]
10:47 GeekSoldier [~Rob@91.18.88.ns-26990] has joined #code
10:47 mode/#code [+o GeekSoldier] by ChanServ
11:20 GeekSoldier_ [~Rob@91.18.88.ns-26990] has joined #code
11:20 GeekSoldier [~Rob@91.18.88.ns-26990] has quit [Ping Timeout]
11:46 GeekSoldier_ is now known as GeekSoldier
11:50 GeekSoldier is now known as GeekSoldier_
11:51 GeekSoldier_ is now known as GeekSoldier
14:19 JPL [~JeffL@Nightstar-13864.dsl.static.sonic.net] has joined #code
14:56 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has quit [Operation timed out]
14:57 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #code
14:57 mode/#code [+o ToxicFrog] by ChanServ
15:06 JPL [~JeffL@Nightstar-13864.dsl.static.sonic.net] has quit [Quit: Try HydraIRC -> http://www.hydrairc.com <-]
16:41 gnolam [lenin@85.8.5.ns-20483] has joined #Code
16:41 mode/#code [+o gnolam] by ChanServ
16:48 AnnoDomini [AnnoDomini@83.21.18.ns-3758] has joined #Code
16:48 mode/#code [+o AnnoDomini] by ChanServ
17:00 gnolam is now known as gnokipper
18:07
< GeekSoldier>
I am facing Python stupidity...
18:08
< GeekSoldier>
I have a class, Car(), it has two constructors (I recall that constructor overloading is allowed)
18:09
< GeekSoldier>
now, when I try te create an instance of this class, using the default constructor, it throws a TypeError saying it takes exactly 4 arguments (1 given).
18:09
< GeekSoldier>
I am quite certain that I am doing something stupid.
18:10
<@jerith>
Pastebin?
18:10
< GeekSoldier>
one moment.
18:15
< GeekSoldier>
7WNNsS24.html
18:16 mode/#code [+oo ASCIISkull GeekSoldier] by AnnoDomini
18:16
<@GeekSoldier>
thanks, AD.
18:16
<@GeekSoldier>
http://rafb.net/p/7WNNsS24.html
18:17
<@jerith>
Sorry, I completely missed that.
18:17
<@GeekSoldier>
no problem.
18:17
<@EvilDarkLord>
You could always use optional arguments there.
18:17
<@jerith>
Yeah.
18:17
<@EvilDarkLord>
I /think/ Python only allows one kind of thing bound to one name at a time.
18:17
<@GeekSoldier>
oh yeah...
18:18
<@EvilDarkLord>
Well, rather, one thing.
18:18
<@jerith>
Without static typing, you can only have a function defined once.
18:18
<@GeekSoldier>
__init__(self, x=0, y=0, rot=0): ...
18:18
<@jerith>
Yep, that's the one.
18:18 * GeekSoldier headdesks.
18:19
<@GeekSoldier>
that worked. thanks!
18:19
<@GeekSoldier>
oh, there is no overloading constructors?
18:20
<@EvilDarkLord>
I think this is as close as it gets.
18:20
<@GeekSoldier>
cool. it works, at least.
18:25
<@jerith>
Usually, multiple versions of a function are done with defaults or *args.
18:26 GeekSoldier [~Rob@91.18.88.ns-26990] has quit [Ping Timeout]
18:28 GeekSoldier [~Rob@91.18.80.ns-26604] has joined #code
18:28 mode/#code [+o GeekSoldier] by ChanServ
18:29
<@GeekSoldier>
did I miss anything after <@GeekSoldier> cool. it works, at least. ?
18:29
<@EvilDarkLord>
20:29 <@jerith> Usually, multiple versions of a function are done with defaults or *args.
18:30
<@GeekSoldier>
ok. thanks.
18:41
<@jerith>
GeekSoldier: You're on the access list, so a /cycle or /msg chanserv op #code GeekSoldier should give you ops.
18:45
<@GeekSoldier>
ok, thanks, jerith.
18:47
<@jerith>
I'm not sure if I'm the one who put you there, but I was going to until I saw you were on it already. :-)
19:36 Kazriko [~kaz@72.174.26.ns-12779] has joined #code
19:40 Vornotron [~vorn@Admin.Nightstar.Net] has joined #code
19:53 gnokipper [lenin@85.8.5.ns-20483] has quit [Quit: Evil Heat Death]
19:55 gnolam [lenin@Nightstar-10613.8.5.253.static.se.wasadata.net] has joined #Code
19:55 mode/#code [+o gnolam] by ChanServ
20:02 GeekSoldier is now known as GeekSoldier|bed
22:50 Shou|v_V [~Shoukanju@71.1.252.ns-26551] has quit [Client exited]
22:53 Shoukanjuu [~Shoukanju@71.1.252.ns-26551] has joined #code
23:03 AnnoDomini [AnnoDomini@83.21.18.ns-3758] has quit [Quit: I like my random encounters like I like my tea and my women - deadly.]
23:09 gnolam [lenin@Nightstar-10613.8.5.253.static.se.wasadata.net] has quit [Ping Timeout]
23:11 gnolam [lenin@Nightstar-10613.8.5.253.static.se.wasadata.net] has joined #Code
23:11 mode/#code [+o gnolam] by ChanServ
23:50 JeffL [JPL@Nightstar-23748.dsl.sndg02.pacbell.net] has joined #code
23:50
< JeffL>
Hiya.
23:52
<@EvilDarkLord>
Hullo.
--- Log closed Mon Mar 31 00:00:07 2008
code logs -> 2008 -> Sun, 30 Mar 2008< code.20080329.log - code.20080331.log >