logs archiveIRC Archive / Freenode / #php / 2006 / April / 12 / 1
TML
TheWarden: We're a relatively anti-PEAR lot.
`Rewt
I just don't wanna paste 4 lines of code in here
Jymmm
#shrimponthebarbie
#bbqbabybackribs
TML
Jymmm: Shrimpon the Barbie?
Is that a new line from Mattel?
Jymmm
TML: <TML> Jymmm: Shrimp on the Barbie?
`Rewt
#iwantmybabybackbabybackbabyback_chileeeees
bryan986
They replace Ken with shrimp
TML
heh
Jymmm
TML: No, it's an aussie tourist beauru thing
         

`Rewt
enigmaa?
Jymmm
KEN WAS DUMPED!
TML
bryan986: Play "Ken on the Barbie" growing up, did you?
Jymmm
For real
bryan986
TML: Ken is a dirty dirty man.
`Rewt
ken is gay
and has no penis
leikh
is there a debian package that contains the Mail/Queue.php?
TML
leikh: Probably not, but apt-file would know for sure
Jymmm
Barbie divorced Ken http://news.bbc.co.uk/2/hi/americas/3484949.stm
THAT SLUT!
`Rewt
oh well.
mattmcc
leikh: Debian doesn't package PEAR packages at the moment, afaik. Just pear install Mail
bryan986
I am more surprised that the BBC wrote an article about that.
leikh
mattmcc: ok, thx
Stormchaser
rhx
enygma
`Rewt - seriously, you cant just tell me in here?
||cw
mattmcc: and auth, date, file, mail-mime, html-template-it, pear-log...
Stormchaser
and Python.
TML
And boo
Stormchaser
:)
TML: Will you try Python 2.5 alpha?
TheWarden
TML: Really, may I ask why anti-PEAR?
         

Stormchaser
TheWarden: Because it's crap? Along with it's dependancy hell?
TML
TheWarden: I think there are as many different answers to that as there are people in ##PHP
leikh
mattmcc: after "pear install Mail", then what?
TML
As Stormchaser has just demonstrated
Stormchaser
:)
||cw
TheWarden: pear is a 3rd party script. Not Invented Here.
mattmcc
And a healthy percentage of those arguments will be nonsense.
TML
Stormchaser: I'm very interested in some of the things Guido said about it, but I doubt I'll have the time to look at it
mattmcc
Roughly boiling down to "I heard someone say PEAR smells funny, so I don't like PEAR."
||cw
leikh: use it as per its docs?
Stormchaser
TML: I'll probably check it out as soon as I can find a "victim" machine :)
TheWarden
shocking response.... wasn't expecting that.
TML
TheWarden: Personally, it's because 99% of the stuff I would look for in PEAR, I had already created before PEAR came about.
||cw
TheWarden: which one?
leikh
||cw: it's just that i can't find the queue.php that i expected to come with the install...
TheWarden
TML: true, but creating a centralized code repository sounds nice to me. No more duplication of code or efforts. Cleaner code and proper code.. at least ideally.
I guess what you are all getting at is make my own damn HTML Form class... mmm wish I had the time..... oh man, thanks.
TML
TheWarden: I already have my own repository, is what I'm saying.
Stormchaser
TheWarden: but in practice, PEAR isn't as clean as you would want it to bo... There are things in the packages you want, that will reduce working performance of PHP and increased the memory usage. I found myself rewiting things from scratch the very best solution.
TML
TheWarden: I'll admit, there are one or two things I look to PEAR for, but nothing essential. Timer_Benchmark and Text_CAPTCHA are the only ones that come to mind.
Stormchaser
with me PEAR::SOAP
Julian|Work
Can't you guys help improve the packages, though?
leikh
||cw: never mind... it's package Mail_queue that i wanted...
Julian|Work
I agree it's not perfect, but when's the last time that stopped us?
jonez
TML, you've used Text_CAPTCHA? does it work well?
TML
jonez: I worked well enough for my needs at the time.
Julian|Work
The concept of PEAR is good, so if it sucks now, we should work to make it better.
Stormchaser
Julian|Work: You're welcome to improve it.
Julian|Work
As are you guys. I'm not complaining :P
||cw
Julian|Work: sure, that's why pear has its own support channels
itrebal
ggahh this is taking a long time
TML
Julian|Work: I'm not complaining
itrebal
GD is terribly irritating :/
||cw
which is realy this whole thing boils down to
##php doesn't support pear, #pear does.
hell, ##php doens't even official support php
Stormchaser
Julian|Work: I'm not either. Just pointing out the facts... But nowadays I don't use PHP outside work, so, I don't care much about it.
^Migs^
why isn't there an official PHP room?
Stormchaser
no need, it seems.
Julian|Work
Maybe you're not complaining, but that's mincing my words. My bottom line is that if you don't like PEAR and think it's useless, maybe we should spend some time improving it to benefit the community.
TML
Julian|Work: What sucks about PEAR, IMO, is the group of people involved, and the infrastructure they've built. They've made it pretty clear that it's a group for the "Cool Kids". Given that I'm neither of the above...well, I find it better to just pretend PEAR doesn't exists.
Stormchaser
##php is "as close at it gets"'
||cw
^Migs^: the mailing lists and bug tracker are easier to account for
Julian|Work
TML: I can't speak to the culture-- I just download the packages.
TML, but if that's the case, that's too bad for them-- it certainly won't help improve it.
||cw
Julian|Work: and that is the dark side of open source
Julian|Work
:(
The lame side.
TML
The llama side
||cw
yes, i think llama is the offical term
from what I still recall from a.s.r
TML
alt.sex.rubicscube?
Stormchaser
lol
tek_
rubics!
||cw
uh, yeah. llama.
itrebal
Ahroun: you still around?
damir
what was function name to escape all chars that cant be inserted into mysql db?
itrebal
mysql_real_escape_string
Ahroun
itrebal: I am, but only for a few moments more.
damir
thanks
itrebal
Ahroun: ok then
Ahroun
itrebal: What's on your mind?
itrebal
http://itrebal.com/shape.php?radius=10&nsides=8&draw i need to do the radius (as shown) but i also need to draw from the center, to the middle of a flat section
PoLiZei
Hi, if a php page loads in an average of 1.5 seconds, is that too long
like, abnormally long
itrebal
PoLiZei: yes, unless its a very very large script
mattmcc
Eh?
Google's front page loads in 1.5s for me.
pudo
Whats the easiest way to get paths like http://foo/bar/edit instead of http://foof/bar.php/edit ? can php do this? or do I need to go through all that handler crap on apache?
itrebal
mattmcc: err, rather, i ment processing time
mattmcc
itrebal: Ah, I guess we're interpreting "page load" differently.
Ahroun
itrebal: I got a an error trying to access it.
GarethAdams
pudo: yes, all that "apache crap"
pudo
GarethAdams: cheers. I hate that.
Ahroun
itrebal: There we go.
itrebal
PoLiZei: i think you need to redefine your question, page loading total, or the amount of processing time for the script
PoLiZei
- itrebal - Well I have a page loaded in" script
I think it's page loading total
Ahroun
itrebal: Oy. Um. There IS a way to do it, however... I don't have the resources on me to give you an answer. Will you be on in about an hour or so?
PoLiZei
like, my site is here: http://jkdf2.net
load time is at the bottom of the page
itrebal
Ahroun: if i'm not, i'd be back in 30 minutes or so
Ahroun: can you give me a hint as to how it would be figured otu?
Ahroun
itrebal: *nods* As long as you need to go ONLY to the center of the line segments, think pythagorean theorum. I gotta run now.
itrebal: *grins* One step ahead of you. ;)
itrebal
Ahroun: ah, good idea, thanks
Ahroun
You know your hypotenuse (sp), you know your angles, so solve the rest of it using LoS or LoC as appropriate.
law of sine/cosine.
itrebal
right
thanks
PoLiZei
uhh
itrebal
(Action) does pixel math
PoLiZei
Question - I am including a bunch of different pages in every page, I heard there is a way to only include certain files once, any ideas on this?
ryanakca
I get this error when compiling php5 configure: error: Cannot find rfc822.h. Please check your c-client installation.
Zeroelixis
PoLiZei, use "include_once(page.php);"
PoLiZei
ahh ok thanks dude ;)
itrebal
except not, it'd be include_once('page.php');
Zeroelixis
itrebal, i believe it works w/out single quotes but best to be safe eh
itrebal
Zeroelixis: it *very much* does not
philip_
heh
PoLiZei
hehe
Stormchaser
(Action) can't believe he's even HEARING this...
itrebal
Stormchaser: likewise
PoLiZei
how does php know when to include it again, some kidn of session?
philip_
well, php does try to be 'smart'
PoLiZei
kind even*
MetaMorfoziS
morning
:)
Stormchaser
PoLiZei: Em... What?
philip_
but the . may get in the way of that here ;)
PoLiZei
When I use include_once() how does php know when to include it another time
Stormchaser
PoLiZei: Look at it's source.
PoLiZei
lol k
philip_
if your code relies on include_once functionalilty, odds are it needs more planning before coding
nobb
Is there any way to fork a script in PHP 4.4? :)
chrismon
I'm using a freshly compiled 4.4.2 install w/ its module in an apache2.2.0, it doesn't recognize gzopen() which I've confirmed is available in php4... is there some apache config that needs to be used to tell the module where to find any necessary php libraries? is it all within the apache module and something else is wrong?
mattmcc
« 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 28 29 30 31 32 33 next »