code logs -> 2009 -> Mon, 18 May 2009< code.20090517.log - code.20090519.log >
--- Log opened Mon May 18 00:00:38 2009
00:13 SmithKurosaki [~jess@Nightstar-6188.dsl.teksavvy.com] has joined #code
03:20 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Quit: <Insert Humorous and/or serious exit message here>]
03:58 Derakon[AFK] is now known as Derakon
04:06 ToxicFrog [~ToxicFrog@Nightstar-6188.dsl.teksavvy.com] has quit [Operation timed out]
04:06 ToxicFrog` [~ToxicFrog@Nightstar-6646.dsl.teksavvy.com] has joined #code
04:07 jess_ [~jess@Nightstar-6646.dsl.teksavvy.com] has joined #code
04:07 SmithKurosaki [~jess@Nightstar-6188.dsl.teksavvy.com] has quit [Ping Timeout]
04:26 ToxicFrog` is now known as ToxicFrog
04:29 ToxicFrog [~ToxicFrog@Nightstar-6646.dsl.teksavvy.com] has quit [Quit: Back in a moment.]
04:30 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #code
04:30 mode/#code [+o ToxicFrog] by ChanServ
05:45 Derakon is now known as Derakon[AFK]
06:03 Syloqs-AFH [Syloq@ServicesAdmin.Nightstar.Net] has quit [Connection reset by peer]
06:23
<@Vornicus>
wheee.
06:35 * Vornicus does batle with javascript. Has definitely sprained something.
08:15 Vornicus is now known as Vornicus-Latens
08:43 Consul [~consul@Nightstar-3249.dsl.sfldmi.ameritech.net] has quit [Quit: Leaving]
09:51 You're now known as TheWatcher
10:09 AnnoDomini [AnnoDomini@Nightstar-28971.neoplus.adsl.tpnet.pl] has joined #Code
10:09 mode/#code [+o AnnoDomini] by ChanServ
10:14 Tarinaky [~Tarinaky@88.83.110.ns-10776] has quit [Client exited]
10:18 Tarinaky [~Tarinaky@88.83.110.ns-10776] has joined #code
10:46 gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has joined #Code
10:46 mode/#code [+o gnolam] by ChanServ
11:01 AnnoDomini [AnnoDomini@Nightstar-28971.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
11:02 AnnoDomini [AnnoDomini@Nightstar-7062.neoplus.adsl.tpnet.pl] has joined #Code
11:02 mode/#code [+o AnnoDomini] by ChanServ
11:32 Consul [~consul@Nightstar-3249.dsl.sfldmi.ameritech.net] has joined #code
11:32 mode/#code [+o Consul] by ChanServ
11:38 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
11:38 mode/#code [+o Attilla] by ChanServ
11:52 Rhamphoryncus [~rhamph@Nightstar-7184.ed.shawcable.net] has quit [Quit: Rhamphoryncus]
12:26 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has quit [Ping Timeout]
12:26 jess_ [~jess@Nightstar-6646.dsl.teksavvy.com] has quit [Ping Timeout]
12:34
<@TheWatcher>
Anyone know why, in php, $files = glob('/foo/bar/womble/*.php') would refuse to give back any files despite having read permission on the directory and files in question. Other than php being shit?
12:42
<@simontwo>
does it have read permissions recursively towards /?
12:44
<@TheWatcher>
yep
12:45
<@TheWatcher>
And I can open the direcotry with diropen()
12:46
<@TheWatcher>
sorry, opendir()
12:47 * TheWatcher pokes around, finds that glob() doesn't appear to be returning any files from /anywhere/
13:15 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Connection reset by peer]
13:15 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
14:31 Vornicus-Latens [~vorn@Admin.Nightstar.Net] has quit [Ping Timeout]
14:36 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has quit [Connection reset by peer]
14:37 Attilla [~The.Attil@Nightstar-9147.cdif.cable.ntl.com] has joined #code
14:37 mode/#code [+o Attilla] by ChanServ
15:59 Vornicus [~vorn@ServicesOp.Nightstar.Net] has joined #code
15:59 mode/#code [+o Vornicus] by ChanServ
16:05 Syloqs_AFH [Syloq@Admin.Nightstar.Net] has joined #code
16:06 Syloqs_AFH is now known as Syloqs-AFH
16:15 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #code
16:15 mode/#code [+o ToxicFrog] by ChanServ
16:40
<@gnolam>
Glargh
16:40
<@gnolam>
Fever and linear algebra don't mix.
16:41
<@Vornicus>
Heh, no.
16:48 SmithKurosaki [~jess@Nightstar-5276.dsl.teksavvy.com] has joined #code
16:54 kampung [~nazi@124.13.182.ns-21080] has joined #Code
17:10 Derakon[AFK] is now known as Derakon
17:31 kampung [~nazi@124.13.182.ns-21080] has left #Code []
17:52 crem [~moo@Nightstar-28703.adsl.mgts.by] has joined #code
19:19 * Vornicus outsourced his "swap radio buttons" code, learns a lot more about javascript-html communication.
19:34
<@gnolam>
And the collision response completely blows up. Yeah, I think I'll try getting back to this when I'm feeling better...
20:21 Rhamphoryncus [~rhamph@Nightstar-7184.ed.shawcable.net] has joined #code
20:38 crem [~moo@Nightstar-28703.adsl.mgts.by] has quit [Connection reset by peer]
20:41 crem [~moo@Nightstar-28703.adsl.mgts.by] has joined #code
20:48 * TheWatcher vaguely pokes the channel now that there are more people awake
20:48
<@McMartin>
What's up?
20:49
<@TheWatcher>
Anyknow know why php's glob() might return zero files, when the equivalent code implemented using opendir()/readdir()/fnmatch()/closedir() run on the exact same directory might work perfectly?
20:50
<@Derakon>
You checked the PHP docs for the function?
20:50
<@TheWatcher>
Yep, it's typically useful.
20:50
<@Derakon>
Okay, that's about all the advice I can provide then. :\
20:51
<@TheWatcher>
I also spent a good part of the morning crafting ever more cunning google queries, to no avail.
20:51
<@McMartin>
I've successfully avoided learning anything about php.
20:52
<@TheWatcher>
I even looked at the php sourcecode, and couldn't find anything helpful there... at this rate I suspect I may need to stick some fprintf()s in the php source, compile it, and try again to track it down
20:52
<@Derakon>
Anything in the PHP docco comments, maybe?
20:53
<@gnolam>
Humm. Is there any C++ implementation nowadays where std::list::size() isn't O(1)?
20:54
<@TheWatcher>
Dera: couldn't locate anything; the majority of comments seemed to be people coming up with 101 different ways to do recursive globs
20:54
<@Derakon>
Heh.
20:55 * TheWatcher shrugs, will just do it the hard way tomorrow, after meetings
20:55 * TheWatcher goes back to perl ¬¬
20:56
<@jerith>
gnolam: Aren't things like that part of the spec?
20:57
<@gnolam>
IIRC, it's only a recommendation.
20:57
<@gnolam>
(And that pretty much sums up C++!)
20:58
<@TheWatcher>
Pretty much damn near any language, ime
21:03
<@McMartin>
STL has performance guarantees in the spec, IIRC.
21:03
<@McMartin>
Checking now to see.
21:04
<@McMartin>
size() is permitted to be O(n)
21:04
<@McMartin>
empty(), however, is guaranteed to always be constant time.
21:08
<@Derakon>
...I'd hope so for empty().
21:08
<@Derakon>
return head != null;
21:08
<@gnolam>
In this case, I need size(), not empty().
21:09
<@gnolam>
But I found documentation that MSVS's size() is O(1) at least, and that's good enough.
21:12
<@McMartin>
Derakon: What this means is that STL implementers are not allowed to define empty() as "size() == 0"
21:13
<@Derakon>
If they do, nobody'll use their implementation anyway. ¬.¬
21:14
<@McMartin>
(I pulled this actually from an STL programmer's guide, which reminds you to use empty() in your own code instead of comparing size() values.)
23:02 You're now known as TheWatcher[T-2]
23:07 You're now known as TheWatcher[zZzZ]
--- Log closed Tue May 19 00:00:53 2009
code logs -> 2009 -> Mon, 18 May 2009< code.20090517.log - code.20090519.log >