--- Log opened Thu Jul 19 00:00:29 2007 |
04:19 | | ReivZzz [~reaverta@IRCop.Nightstar.Net] has quit [Ping Timeout] |
04:21 | | Reiver [~reaverta@IRCop.Nightstar.Net] has joined #Code |
04:21 | | mode/#code [+o Reiver] by ChanServ |
04:23 | | C`raksh`su is now known as AnnoDomini |
04:26 | | AnnoDomini [~farkoff@Nightstar-29631.neoplus.adsl.tpnet.pl] has quit [Quit: No fighting in the War Room!] |
05:04 | | ChalcyOut is now known as Chalcedon |
05:09 | | Forj [~Forj@Nightstar-17168.ue.woosh.co.nz] has joined #code |
06:30 | | MyCatVerbs [~mycatverb@Nightstar-13709.lurkingfox.co.uk] has quit [Client exited] |
06:48 | | Chalcedon is now known as ChalcyOut |
06:58 | | Thaqui [~Thaqui@Nightstar-26619.jetstream.xtra.co.nz] has joined #code |
06:58 | | mode/#code [+o Thaqui] by ChanServ |
06:59 | | You're now known as TheWatcher |
07:38 | | Chalcy [~Chalcedon@Nightstar-17168.ue.woosh.co.nz] has joined #code |
07:40 | | ChalcyOut [~Chalcedon@Nightstar-17168.ue.woosh.co.nz] has quit [Ping Timeout] |
07:40 | | Forj [~Forj@Nightstar-17168.ue.woosh.co.nz] has quit [Ping Timeout] |
07:40 | | Forjeh [~Forj@Nightstar-17168.ue.woosh.co.nz] has joined #code |
10:13 | | Chalcy is now known as Chalcedon |
10:14 | | Chalcedon is now known as NSGuest-211 |
10:14 | | NSGuest-211 is now known as Chalcedon |
10:32 | | Chalcedon [~Chalcedon@Nightstar-17168.ue.woosh.co.nz] has quit [Quit: slep] |
11:16 | | Forjeh [~Forj@Nightstar-17168.ue.woosh.co.nz] has quit [Quit: Gone] |
11:25 | | AnnoDomini [~farkoff@Nightstar-28945.neoplus.adsl.tpnet.pl] has joined #Code |
11:25 | | mode/#code [+o AnnoDomini] by ChanServ |
11:39 | <@Vornicus> | http://vorn.dyndns.org/~vorn/funkytrig.png AAAAAAAAAAAAAAAAAA |
12:37 | | MyCatVerbs [~rb6822@Nightstar-23374.cs.bris.ac.uk] has joined #code |
13:54 | | MyCatVerbs [~rb6822@Nightstar-23374.cs.bris.ac.uk] has quit [Quit: Swim, swim, hungry!] |
13:54 | | Thaqui [~Thaqui@Nightstar-26619.jetstream.xtra.co.nz] has left #code [Leaving] |
14:00 | | MyCatVerbs [~rb6822@Nightstar-23374.cs.bris.ac.uk] has joined #code |
14:47 | | Reiver is now known as ReivZzz |
15:29 | <@ToxicFrog|W`rkn> | AUGH MY EYES |
15:32 | < MyCatVerbs> | Chalain posted a piece of a coworker's code? |
15:34 | <@ToxicFrog|W`rkn> | <Vornicus> http://vorn.dyndns.org/~vorn/funkytrig.png AAAAAAAAAAAAAAAAAA |
15:35 | | * MyCatVerbs shudders. |
16:29 | | MyCatVerbs [~rb6822@Nightstar-23374.cs.bris.ac.uk] has quit [Quit: Swim, swim, hungry!] |
16:37 | <@ToxicFrog|W`rkn> | local function wrap(tab, prefix) |
16:37 | <@ToxicFrog|W`rkn> | return setmetatable(tab, { |
16:37 | <@ToxicFrog|W`rkn> | __index = function(self, key) |
16:37 | <@ToxicFrog|W`rkn> | return function(...) |
16:37 | <@ToxicFrog|W`rkn> | return sender(table.concat(check_args { "prefix"..key, ... }, " ")) |
16:37 | <@ToxicFrog|W`rkn> | end |
16:37 | <@ToxicFrog|W`rkn> | end; |
16:37 | <@ToxicFrog|W`rkn> | __call = __call; |
16:37 | <@ToxicFrog|W`rkn> | }) |
16:37 | <@ToxicFrog|W`rkn> | end |
16:37 | <@ToxicFrog|W`rkn> | Count the lexical scopes! |
17:04 | | You're now known as TheWatcher[afk] |
18:26 | | You're now known as TheWatcher |
18:29 | | * AnnoDomini is a bit annoyed. Would it kill Java's developers to have the valueOf() methods return 0 when encountering an unrecognized input? It worked well for mIRC. :/ |
18:33 | <@jerith> | Would it kill Ruby devs to throw a VariableNotBound exception when I reference a nonexistance instance variable instead of helpfully returning nil? |
18:33 | <@ToxicFrog|W`rkn> | AnnoDomini: that's the atoi problem, though. How do you distinguish between (garbage).valueOf() and (0).valueOf()? |
18:34 | <@jerith> | You can at elast catch the exception and do something smart in your case. In mine, there's semantic collision. |
18:34 | <@jerith> | Yeah, Ruby does what AD wants as well. |
18:34 | <@ToxicFrog|W`rkn> | The correct solution, of course, is to either throw an error, or return false followed by an error message~ |
18:34 | <@jerith> | And it's bitten me *hard*. |
18:34 | <@ToxicFrog|W`rkn> | Likewise for me in C,. |
18:35 | | * AnnoDomini doesn't need to distinguish between garbage and 0. |
18:35 | <@ToxicFrog|W`rkn> | Being unable to distinguish between garbage input and the user typing "0" is Not A Feature. |
18:35 | | Raif [~corvusign@Nightstar-5406.hsd1.ca.comcast.net] has quit [Quit: A trebuchet is not a marital aid. Many bothans died to bring us this information.] |
18:35 | <@jerith> | But some of us do. |
18:35 | <@AnnoDomini> | Eh. |
18:35 | <@jerith> | Because 0 is a number. |
18:35 | <@jerith> | And it's a perfectly valid number for a lot of situations. |
18:36 | <@jerith> | My solution? Run the input through a regex to check validity first. Then treat 0 as 0. |
18:37 | | You're now known as TheWatcher[afk] |
19:02 | <@ToxicFrog|W`rkn> | Goddamnit, Glade! |
19:02 | <@ToxicFrog|W`rkn> | Please to be stopping with the suck! |
19:03 | | ToxicFrog [~ToxicFrog@Nightstar-20147.cpe.net.cable.rogers.com] has quit [Operation timed out] |
19:03 | | ToxicFrog [~ToxicFrog@Nightstar-20147.cpe.net.cable.rogers.com] has joined #code |
19:04 | | ToxicFrog is now known as NSGuest-217 |
19:22 | | Forj [~Forj@Nightstar-17168.ue.woosh.co.nz] has joined #code |
19:30 | | You're now known as TheWatcher |
19:45 | <@ToxicFrog|W`rkn> | Ok, I need bigger guns. |
19:45 | | * ToxicFrog|W`rkn unleashes the power of luaXML |
19:46 | | Forj [~Forj@Nightstar-17168.ue.woosh.co.nz] has quit [Quit: Gone] |
19:59 | | Chalcedon [~Chalcedon@Nightstar-17168.ue.woosh.co.nz] has joined #code |
19:59 | | mode/#code [+o Chalcedon] by ChanServ |
20:23 | | * EvilDarkLord shakes fist of rage at Windows for less than sane behaviour when opening files with 'w'. |
20:23 | | * jerith points and laughs. |
20:27 | | * ToxicFrog|W`rkn flails at GTK-Server |
20:27 | <@ToxicFrog|W`rkn> | I have to special-case part of my frontend to work around an optimization ;.; |
20:28 | | * jerith points and laughs again. |
20:28 | <@ToxicFrog|W`rkn> | ...and it has a MAX_LEN of 1024. |
20:28 | <@ToxicFrog|W`rkn> | USELESS |
20:28 | | * jerith waters the channel clueberry bush. |
20:28 | | * ToxicFrog|W`rkn resorts to temporary files |
21:02 | <@AnnoDomini> | http://pastie.caboo.se/80423 <- Haha! It is useful! Didn't take me more than 3 minutes to make this statblock. |
21:03 | | Chalcedon is now known as ChalcyAFK |
21:33 | | AnnoDomini is now known as JohnBDoe |
21:45 | | ChalcyAFK is now known as Chalcedon |
22:01 | | You're now known as TheWatcher[T-2] |
22:06 | | You're now known as TheWatcher[zZzZ] |
22:15 | | Chalcedon is now known as ChalcyAFK |
22:25 | | ReivZzz is now known as Reiver |
23:00 | | Reiver is now known as ReivOut |
23:02 | | JohnBDoe [~farkoff@Nightstar-28945.neoplus.adsl.tpnet.pl] has quit [Quit: Juffo-Wup is a *candle*. It is filled with many *candy bars*.] |
23:06 | | NSGuest-217 is now known as ToxicFrog |
--- Log closed Fri Jul 20 00:00:35 2007 |