logs archiveIRC Archive / Freenode / #php / 2006 / April / 13 / 1
b1n0ry
perhaps i went back in time, invested in apple and because of my investment, it turns out that apple becomes a bigger, more established company than microsoft. but, it was microsoft who invented the time machine...
pyxl
subsonic: Then don't worry about the "windows service" part. set up your install on the device, have it use relative paths for everything so that all the pieces talk to themselves on the fileysstem, and start it from the command prompt when you plug it in.
Ahroun
caffinated: Nope. One universal timeline.
caffinated
Ahroun: then your theory will never work.
Ahroun
caff: why?
caffinated
i've already explained it, twice.
b1n0ry
then again, i would never board a time machine with a microsoft logo
subsonic
pyxl: okay, I'll try that. So the apps (php, mysql, apache) have their own internal paths?
Ahroun
caff: It's completely self consistant for both individual particle world lines and the universal time line.
         

vhuren
how do you get a random $key and $value from an associative array?
caffinated
Ahroun: sounds like you've read one too many sci-fi novels.
Ahroun
caff: You're ultimately saying "Oh, but I'll change my mind..." You can't. It's set in stone, it was set in stone from the moment of the big bang.
b1n0ry
is there a php function that creates a time vortex that i can use to proove or disproove Ahroun's theory?
pyxl
subsonic: when starting it from the command line, just do the normal command-line switches to tell the parts where their config files are and where you want logging to be done to (and so on), adn just go from there.
caffinated
Ahroun: following that, it's not possible for you to change history anyway.
b1n0ry
Ahroun: ah yes, the big bang "knew" what i would do as a biological organism... haha
pyxl
subsonic: Hell, if you're feeling really frisky, put all that in a winders shell script and just run the shell script to start it up.
subsonic
ooh
TML
b1n0ry: It's part of the psychic extension. I think it's due with PHP6.
caffinated
Ahroun: what you're saying is that what is, is. so if what is, is, then you can't make it something else.
Ahroun
caffinated: Correct. I can only PARTICIPATE in it. But history will remain as I know it because my participation is part of it coming to be that way.
b1n0ry
TML: cool
Stormchaser
TML: didn't saw it on PHP6 schedule... I think they're talks for PHP7 about that...
b1n0ry
TML: i'm anxious to go back to the big bang and squash the Ahroun molecules.
TML
Stormchaser: It slipped already?
caffinated
Ahroun: according to your ideas though, your participation is predetermined, and as such, not subject to your own whims.
Stormchaser
TML: I think so.
Ahroun
caffinated: Correct.
b1n0ry
(Action) likes people who believe in pure predestination, they're easy to manipulate.
"it's your destiny" "do you believe in fate?" lol
         

subsonic
pyxl: thanks
Ahroun
caffinated: I do not believe free will actually exists. I see no scientific law that allows it (one that might be construed into a possibility, but... only vaguely.)
pyxl
b1n0ry: Not for you: I already manipulated them, it's predestined. :)
subsonic: 'welcome
caffinated
My thought on it is, our knowledge of particle theory and quantum mechanics is not yet sufficiently advanced to explain anything along those lines.
Jemt
Is it possible to check whether a parameter contains a given type? Example: if (typeOf($myClass) === MyClass)
Stormchaser
*wham*! "Ow! What did you do that for?!?" "It was your destiny" "oh..."
b1n0ry
Ahroun: there are no scientific "laws" that offer anything you've described in any of this conversation. it's all theory which is far from law.
Ahroun
b1n0ry: No, it's conjecture. Theory and law are equivalent, except for age, in scientific terminology.
b1n0ry
Stormchaser: it's his destiny to donate his annual salary to me via PayPal
Ahroun: do you realize that that's one of the most absurd assertions that i've heard in a long time? my day is complete, lol
pyxl
what?
theory and law are not equivalent.
b1n0ry
he said that "theory and law are equivalent" lol
pyxl
argh. I call troll!
caffinated
b1n0ry: it's what happens when people engage in theory on subjects to which they have no real foundation.
pyxl
TROOOOOLL!!!
Stormchaser
b1n0ry: no, my destiny was to scratch my nose... 3 times... But I didn't do it >:)
pyxl
(Action) bangs the gavel "Troll is called, do we have a second?"
Stormchaser
pyxl: *blink*
TML
b1n0ry: No, he's right. From the perspective of a Scientist, "theory" is something supported by law, rather than in opposition to it.
b1n0ry
theory = unproven based hypothesis with some experimentation to support its plausability (and that's my brain, not a dictionary definition). law = proven beyond scientific doubt.
Ahroun
b1n0ry: What? That, in scientific language, a 'theory' and a 'law' are roughly equivalent? So because it's the 'theory of gravity', it isn't known to exist? that 'theory of evolution' means it has no massive body of supporting evidence?
pyxl
Stormchaser: Just being a goofball in response to the ongoing goofballery in the channel.
Yango
(Action) guesses that all this is what you get discussing travel in time in ##php
TML
b1n0ry: Theory means something different when you're talking about the "pure science" branches.
b1n0ry
TML: "theory" is something accepted to be true by the scientific community despite the lack of proof.
Ahroun
no, a theory is a collection of tested hypotheses that explain large fields.
caffinated
theory = idea of how things should be which happen to fit currently known laws.
b1n0ry
Ahroun: and "tested" does NOT equal "proven"
TML
"In science, a theory is an interconnected set of abstract (and thus often mathematical) models of the world (or some portion of it) whose predictions either have been tested through experiment, or have been verified through empirical observation."
Stormchaser
pyxl: Please don't do that... One is goofing around, and another is being annoying. You were the later.
caffinated
however, because a theory happens to fit doesn't mean it's fact. i think this is the point people are trying to arrive at.
Yango
and the latter too
pyxl
Stormchaser: whups, couldn't tell the difference.
b1n0ry
caffinated: exactly. Ahroun's "big bang" is one such example. there are many theories that fit the model, and some better even than the "big bang" yet that is the accepted norm.
nym
hey
Ahroun
like, 'theory of evolution' is a conglomerate of hypotheses that have been tested and support the current understanding of evolution. At one point, there was a 'law of gravity'. It's no longer called that because we found out we may never actually know the exact mathematical way things work -- or even if they follow mathematics.
nym
i'm trying to install gojoingo, and keep getting weird messages
b1n0ry
like evolution = crap science
nym
like this:
b1n0ry
big bang = crap science
nym
[12-Apr-2006 14:22:12] PHP Fatal error: Allowed memory size of 8388608 bytes ex
hausted (tried to allocate 14592 bytes) in /var/www/html/gojoingo/modules/legacy
.module on line 154
b1n0ry
anhoun = crap science
pyxl
anyways, one set of folks gets to blather, other folks get crap for blathering...
(Action) shrugs
b1n0ry
theory = experimented guess
that's all i have to say and it's after 5:00
Ahroun
b1n0ry: Well then, okay. Humor us and define a 'law' then.
caffinated
b1n0ry: lies! your theory of the current time is hereby rejected!
nym
any non-big bang ideas regarding PHP Fatal errors of allowed memory size?
Stormchaser
no big bang. Just small *poof*
b1n0ry
"law" would be something that has been proven using variable equation evaluated to a known true expression. something that is proven to work in all situations not just in example situations.
Ahroun
In the scientific method, you cannot prove anything. Only disprove. You can never test a hypothesis in every possible situation so you cannot prove it. But one counter-example is sufficient to prove it is wrong.
TML
nym: Your PHP exceeded the allowed memory size
nym
TML: do i have to increase the size?
pyxl
nym: memory_limit in php.ini
nym
pyxl: thanks!
TML: thanks too
b1n0ry
Ahroun: interesting how many examples counter the big bang, yet it is accepted true.
Ahroun
b1n0ry: Only popularly. Cosmology has moved on.
TML
nym: Yes, or use less memory
Jax
is there a more efficient way to do this? http://pastebin.com/656465
very ugly :D
b1n0ry
at any rate, it's after 5:00 and the wife will be upset if i don't go home :)
nym
TML: it's not my program
TML
nym: Doesn't mean you can't fix it
Ahroun
It's after my time to get home as well actually. *bows* TML, always pleased to meet a fellow scientist. See ya' next time I'm on channel.
Jymmm
Ahroun MAD SCIENTIST maybe =)
TML
Jax: I'd probably use http://hashphp.org/pastebin.php?pid=6513
Hirsulhim
hindog, I have this code http://pastebin.com/656473 I want to parse the string right there, but theres something i missing
Jymmm
Speaking of JMC...
TML
Jax: Or some variation thereof
Stormchaser
(Action) ponders who is NOT a scientist here...
muhoo
SCIENCE!
TML
Jymmm: Valid point
When was the last time anyone saw him?
Stormchaser
TML: lol
Jymmm
Stormchaser 459 ppl
Hirsulhim
duh! hi all, I have this code http://pastebin.com/656473 I want to parse the string right there, but theres something i missing
Jymmm
TML couple weeks ago
Stormchaser
Jymmm: could be >:)
Jax
TML checking, thanks.
Ahroun
Jymmm: It's usually the mad scientists who have their nomenclature correct. :) They're the only ones who care enough to use scientific jargon with the requisite precision. Anyways. I'm out ya'll.
Stormchaser
I'm in.
TML
Hirsulhim: You chose the wrong modifier. Please go back and read the modifier page.
Hirsulhim
what I want to parse is all the content between { and }
TML
Hirsulhim: Read the actual *descriptions* of the modifiers this time
Jax
yeah that's ok, thanks TML
did you see evilness bug? 36949
Hirsulhim
ok TML, thanks
TML
Hirsulhim: And then remember that \s doesn't match \n
caffinated
(Action) ponders the idea of stating "requisite precision" preceeding the word "ya'll"
Stormchaser
caffinated: That was one of the 459 people :)
caffinated
heh
Jemt
Is there some way I can insert the output from dirname() and a string into a constant? const MENU_PATH = dirname(__FILE__) . "/../menu.xml"; // <== Dosn't work
Stormchaser
!+doesn't work
php-bot
Look buddy, doesn't work is a strong statement. Does it sit on the couch all day? Does it want more money? Is it on IRC all the time? Please be specific! Examples of what doesn't work tend to help too. Finally, showing us the code is helpful (after you've explained your problem). /msg php-bot pastebin for more information
Jemt
I get this error: Parse error: parse error, unexpected '(', expecting ',' or ';' in /var/www/public/cms/base/library/DataSource.class.php on line 21
TML
Jemt: "The value must be a constant expression, not (for example) a variable, a class member, result of a mathematical operation or a function call."
Stormchaser
Jemt: Youre maybe thinking 'define'?
Jemt
TML: Ah, IC. I just though it was assigned on runtime and could be altered afterwards.
Stormchaser: Don't think so. Well, I'll change it into an ordinary variable :)
TML
Jemt: That's from php.net/oop5.constants
Stormchaser
Jemt: What integrated circuit?
Jemt
Stormchaser: ?
TML
Jemt: Note that value of variables declared in the "Attribute" section of a class must be constant expression as well
Stormchaser
'IC' in my vocabulary means integrated circuit, so what abot it?
*about
wispy
IC = I see
Jemt
TML: Yes, just found out. Bugger
Yes, I see :)
caffinated
wispy: IC = Integrated Circut
Stormchaser
wispy: I don't recognise the language, sorry...
Jemt
or you don't want to ;)
Stormchaser
!tell Jemt about typing english
TML
It's not an acceptable mode of speech in ##PHP, is Stormchaser's point
Stormchaser
:)
wispy
so say that then? :)
« prev 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 next »