code logs -> 2011 -> Thu, 24 Mar 2011< code.20110323.log - code.20110325.log >
--- Log opened Thu Mar 24 00:00:11 2011
00:15 Derakon[AFK] is now known as Derakon
00:16 You're now known as TheWatcher[T-2]
00:18 You're now known as TheWatcher[zZzZ]
00:35 Attilla [Some.Dude@Nightstar-92c9199f.cable.virginmedia.com] has quit [Ping timeout: 121 seconds]
00:40 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: Shutting down for system updates.]
01:25 Derakon is now known as Derakon[fud]
01:28 Stalker [Z@26ECB6.A4B64C.298B52.D80DA0] has quit [Ping timeout: 121 seconds]
01:51 gnolam [lenin@9D46A2.F4E9D7.E4B4CF.2072AD] has quit [[NS] Quit: Z?]
02:05 Stalker [Z@3A600C.A966FF.5BF32D.8E7ABA] has joined #code
02:07 Derakon[fud] is now known as Derakon
02:46 Stalker [Z@3A600C.A966FF.5BF32D.8E7ABA] has quit [Ping timeout: 121 seconds]
02:57 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code
03:05
< simon_>
PHP and MySQL are amazing. I make a typo in a variable name, but it's used in a string context, so the non-existent variable just gets converted to an empty string, which in this case gets interpreted by MySQL as the number zero.
03:06 Kindamoody is now known as Kindamoody[zZz]
03:07 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: KABOOM! It seems that I have exploded. Please wait while I reinstall the universe.]
03:14 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code
03:15 cpux is now known as shade_of_cpux
04:19
< Tamber>
simon_, by "amazing" you mean "incredibly infuriating when you're trying to figure out just where it went wrong"? ;)
04:21
< celticminstrel>
Remind me what line you're responding to please?
04:21
<@McMartin>
Does PHP do the lovely thing like Perl where you can have something be boolean true but numerically zero?
04:21
<@McMartin>
20:04 < simon_> PHP and MySQL are amazing. I make a typo in a variable name, but it's used in a string
04:21
<@McMartin>
context, so the non-existent variable just gets converted to an empty string, which in
04:22
<@McMartin>
this case gets interpreted by MySQL as the number zero.
04:22
< celticminstrel>
Ah yes.
04:55
<@Namegduf>
I'd bet you could do it in JS.
04:55
<@Namegduf>
The really horrible part is that Perl USES it- it's in the DBI module, for example.
04:57
<@Derakon>
Wooooooo hooo! http://derakon.dyndns.org/~chriswei/games/jbrl/mapgen40e.png
04:57
<@Derakon>
My prettyprinter is back in action!
04:59
< simon_>
McMartin, the PHP equality operator isn't even transitive.
05:00
< celticminstrel>
I don't think the C/C++ one is transitive either.
05:00
<@Namegduf>
C's is.
05:00
<@Namegduf>
C++'s is overloaded, C's isn't.
05:01
< simon_>
in PHP, "11" < "a" < 2 < "11"
05:01
< celticminstrel>
Just to clarify, transitive means (A == B == C) returns true if all three are equal?
05:01
< simon_>
yup
05:01
< celticminstrel>
That's what I thought. I didn't think that was the case in C++.
05:02
< simon_>
apparently, intransitive operators are all the hype in a lot of languages.
05:03
< celticminstrel>
?
05:03
< simon_>
(I read that javascript's isn't necessarily transitive either, whatever necessarily means.)
05:03
< simon_>
in PHP, '0' == 0, 0 == '', but '0' != ''.
05:04
<@Namegduf>
Perl!
05:04
< simon_>
I guess there is some sense to it.
05:04
<@Namegduf>
0 == "0 but true"
05:04
<@Namegduf>
"0" == 0
05:04
<@Namegduf>
"0" != "0 but true"
05:04
<@Namegduf>
I think.
05:04
< simon_>
Perl or PHP?
05:05
<@Namegduf>
Perl.
05:05
<@Namegduf>
PHP, too, probably.
05:05
< simon_>
I thought using == on strings in Perl converts them into their length
05:05
< simon_>
so "0" == 1 or something like that.
05:05
<@McMartin>
That's right, "0" is false and numerically zero
05:05
<@McMartin>
"0 but true" or "0 arghbargle" or w/e is true and numerically zero
05:06
< simon_>
heh
05:06
< simon_>
there's a lot of crazy stuff happening for the sake of syntactic sugar.
05:10 * Derakon does the happy coder dance, but in small form as he is tired.
05:28 Derakon is now known as Derakon[AFK]
05:29 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
05:29 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code
05:32 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
06:35 AnnoDomini [annodomini@D553D1.41311B.346302.AC5555] has joined #code
06:35 mode/#code [+o AnnoDomini] by Reiver
07:09 Kindamoody[zZz] [Kindamoody@35E323.4A5F05.9893B9.A684A3] has quit [Ping timeout: 121 seconds]
07:10 Kindamoody[zZz] [Kindamoody@Nightstar-4764665d.tbcn.telia.com] has joined #code
07:34 Kindamoody[zZz] is now known as Kindamoody
08:21 Kindamoody is now known as Kindamoody|out
08:44 You're now known as TheWatcher
08:48 Attilla [Some.Dude@37647E.0E7447.22C7B1.567421] has joined #code
08:48 mode/#code [+o Attilla] by Reiver
09:01 Stalker [Z@3A600C.A966FF.5BF32D.8E7ABA] has joined #code
10:09 Attilla [Some.Dude@37647E.0E7447.22C7B1.567421] has quit [Ping timeout: 121 seconds]
10:19 AnnoDomini [annodomini@D553D1.41311B.346302.AC5555] has quit [[NS] Quit: Going.]
10:33 Stalker [Z@3A600C.A966FF.5BF32D.8E7ABA] has quit [Ping timeout: 121 seconds]
10:52 AnnoDomini [annodomini@F67919.F326B3.98D923.BDA7B6] has joined #code
10:52 mode/#code [+o AnnoDomini] by Reiver
11:08 AbuDhabi [annodomini@F67919.F326B3.FDEF86.0AAC4D] has joined #code
11:11 AnnoDomini [annodomini@F67919.F326B3.98D923.BDA7B6] has quit [Ping timeout: 121 seconds]
11:26 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code
12:23 AbuDhabi [annodomini@F67919.F326B3.FDEF86.0AAC4D] has quit [[NS] Quit: Going home.]
12:46 Rhamphoryncus [rhamph@C06FE3.F5723C.BE3FEB.9D4666] has quit [Client exited]
12:58 AnnoDomini [annodomini@D553D1.9D4909.43AA7A.2F4956] has joined #code
12:58 mode/#code [+o AnnoDomini] by Reiver
14:33 Stalker [Z@26ECB6.A4B64C.298B52.D80DA0] has joined #code
15:14 * TheWatcher STABS preg_replace, and php in general
15:15
<@TheWatcher>
Why in the name of azathoth is this thing not fucking replacing?!
15:17 Reiv [orthianz@3CF3A5.E1CD01.36D449.95F5A5] has quit [Connection reset by peer]
15:17 Reiv [orthianz@3CF3A5.E1CD01.36D449.95F5A5] has joined #code
15:43
< gnolam>
TheWatcher: it's not a surrogacy function? :o
15:44
<@TheWatcher>
...
15:44 * TheWatcher facepalm
15:44
<@TheWatcher>
That was bad, you know that, right?
15:44
< gnolam>
Yes.
15:45
< gnolam>
I have no shame.
15:45
<@TheWatcher>
Good man.
15:45
<@Namegduf>
Yes, good man.
15:45
<@Namegduf>
Put some pants on, though.
16:07 Attilla [Some.Dude@37647E.0E7447.22C7B1.567421] has joined #code
16:07 mode/#code [+o Attilla] by Reiver
16:21 Kazriko [kaz@Nightstar-5badc7ed.client.bresnan.net] has quit [Operation timed out]
16:24 Kazriko [kaz@31356A.679E64.986B00.962247] has joined #code
16:24 mode/#code [+o Kazriko] by Reiver
16:28
<@VornicusVashicus>
TF: scripts to, for instance, automate tedious maintenance tasks in the game.
16:49
<@ToxicFrog>
Aah.
17:19
<@VornicusVashicus>
Which as they get more advanced would cover more and more actions, until most if not all of the game rules are made into ui-level actions as a whole. At which point a user could practically repackage Felt + rules as Game.
17:34 Kindamoody|out is now known as Kindamoody
17:39 Reiv [orthianz@3CF3A5.E1CD01.36D449.95F5A5] has quit [Connection reset by peer]
17:39 Reiv [orthianz@3CF3A5.E1CD01.36D449.95F5A5] has joined #code
18:21 Alek [omegaboot@Nightstar-96006922.il.comcast.net] has quit [[NS] Quit: ]
19:05 Kindamoody is now known as Kindamoody|nap
--- Log closed Thu Mar 24 21:29:10 2011
--- Log opened Thu Mar 24 21:32:07 2011
21:32 TheWatcher [chris@Nightstar-b4529b0c.zen.co.uk] has joined #code
21:32 Irssi: #code: Total of 26 nicks [11 ops, 0 halfops, 0 voices, 15 normal]
21:32 mode/#code [+o TheWatcher] by Reiver
21:32 Irssi: Join to #code was synced in 49 secs
22:23 Stalker [Z@26ECB6.A4B64C.298B52.D80DA0] has quit [Ping timeout: 121 seconds]
22:30 shade_of_cpux is now known as cpux
22:47 Stalker [Z@3A600C.A966FF.5BF32D.8E7ABA] has joined #code
23:13 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code
23:15 AnnoDomini [annodomini@D553D1.9D4909.43AA7A.2F4956] has quit [[NS] Quit: "Why do you play with that lame tank all the time?" "Because I embodi rommil, bitch!".]
23:50 Derakon[AFK] is now known as Derakon
--- Log closed Fri Mar 25 00:00:12 2011
code logs -> 2011 -> Thu, 24 Mar 2011< code.20110323.log - code.20110325.log >