IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1982.48 MB
Powered by
Channel Info
Network: freenodeChannel: #php |
Search in www.irclog.org
Log from #php at freenode 2006-05-16
Pages: 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Next >
[00:00]<ajgne>Stormchaser, if there is anybody still trying to use rh9 or fc1 in production, they are going to have more issues than the version of php that is installed.
[00:00]<r2sggvyr>I asked a guy I was interviewing.. recently.. about what was a bad bug he had made.. and fixed... in his code... he responded that he doesn't make bugs.
[00:00]<r2sggvyr>uh huh.
[00:00]<yvzn2rf>gah, how does the list() function make sense :/
[00:00]<r2sggvyr>but he was happy to tell me a bug he fixed that was in someone else's code.
[00:00]<r2sggvyr>which amounted to a typo.
[00:01]<wyff[wnzc]>I don't make bugs in my code either. Some undocumented feature though.
[00:01]<jdddd>absentia: Are you assuming released code, or dev code (still being worked on)?
[00:01]<r2sggvyr>jymm: R U 4 REAL?
[00:01]<jdddd>!+aolbonics
[00:01]<lxl-2jv>AOLBonics is talking using numbers, all caps or using single letters for you, are, you are, you're, etc. Examples are: Hey evry1; howz it goin?; how r u; oic; ur teh suckz. Talking like this is frowned upon in ##PHP, and will result in you being silenced. This rule is not open to debate, arguing about it won't help.
[00:02]<r2sggvyr>you miss my point.
[00:02]<r2sggvyr>that is not a hair to split.
[00:02]<ajgne>absentia, it's easier to make the bot spew a guideline :)
[00:02]<r2sggvyr>true
[00:02]<jdddd>absentia: If I'm writing a routine, and still writing the code, (hasn't left my comuter) that's one thing, but if it's been released, that's something totally different.
[00:03]<r2sggvyr>jymm: so, you too... have never made a bug?
[00:03]<jdddd>absentia: In released, no.
[00:03]<r2sggvyr>no kidding?
[00:03]<r2sggvyr>*WOW*
[00:03]<ajgne>*chuckle*
[00:03]<zufn>Everyone makes bugs in releases. Everyone.
[00:03]<zufn>I fail to believe code can have no bugs. Ever.
[00:03]<ajgne>Zule, hush with the truth! no one wants to hear it. :)
[00:03]<zufn>Unless it's pathetically short, like < 500 lines.
[00:04]<r2sggvyr>screw fantasy island -- this planet has gone fantasy.. in the last decade. I missed the memo to get off this ride.
[00:04]<jdddd>absentia: No joking. But here's the thing, what I wrote primarily has security or life-safety issues attached, so a bug in released could has harsh implications.
[00:04]<jzjmzsvnz>it's not a bug...it's a feature
[00:05]<r2sggvyr>jymm: yes, I was born. did no coding, and then I went right to life and death coding systems..... just like you. neat!
[00:05]<czm2zymrnw1>how ca i leave spaces between the date and the time?? i have this: echo "".date('d F Y') . strftime('%H:%M:%S');
[00:05]<cdvvdrgdr>even Bungie made a bug in Myth 2 that would delete the section it was installed on if you went to unintslal the game. So if you installed it on root, it would wipe your entire drive when uninstalling the game :P
[00:05]<xmlxjym>i love fixing bugs that are correct implementations of errors in the spec :(
[00:06]<r2sggvyr>kitt: awesome!
[00:06]<cdvvdrgdr>cost them $1 million to stop the game from hitting shelves >_>;
[00:06]<jdddd>absentia: You can say whatever you want, but do nto catagorize mw with the majority of lazt basrad coders cthat can't get their head out of their ass.
[00:06]<tml>Xyphoid: I don't get much opportunity for that anymore. What're you fixing?
[00:06]<jdddd>(less the typos)
[00:06]<zufn>I don't think laziness has anything to do with bugs.
[00:06]<tml>Jymmm: ...
[00:06]<zufn>Being human, mostly. It's easy to misread something on screen.
[00:06]<czm2zymrnw1>how can i leave spaces between date and time? echo "".date('d F Y') . strftime('%H:%M:%S');
[00:07]<tml>Cambridge13: You don't need the "".
[00:07]<jdddd>Zule you would be very surprised.
[00:07]<czm2zymrnw1>if i dont put "" then it doesnt display it.
[00:07]<qyrrr>hi, a question about mail() function. i am sending email as user www-data through postfix sendmail wrapper. i specify the 'From' but the email From is still "www-data@mydomain.com". anyone knows why? I am using the mail() function example from php.net . i couldn't figure out why..
[00:07]<r2sggvyr>hey, TML -- welcome back.. what do you think of this -- ...
[00:07]<tml>Cambridge13: Baloney
[00:07]<zufn>I am surprised. Personally I just don't agree code can have no bugs. Being human is the whole problem. If you work with thouts and thoughts of lines of code, bugs just happen.
[00:07]<r2sggvyr>grr.. my history lost it
[00:07]<czm2zymrnw1>What is Baloney?
[00:07]<jd>Qiang, you have to send the correct headers
[00:08]<zufn>eerr, thousands and thousands.
[00:08]<tml>Cambridge13: echo date('d F Y') and echo "".date('d F Y') are exactly the same, except on does more work
[00:08]<ajgne>Cambridge13, it's a deli meat.
[00:08]<zufn>Sorry, I'm slightly dyslexic :)
[00:08]<r2sggvyr>anyone have my last rafb url in their lastlog?
[00:08]<ajgne>Cambridge13, not particularly good for you, either.
[00:08]<tml>Cambridge13: It's a nice way of telling you you're wrong
[00:08]<jdddd>Zule: you might want to look back on how the Mocks copied the Bible for centuries for an example.
[00:08]<czm2zymrnw1>aha
[00:08]<r2sggvyr>jymmm: one last question -- is this "no bug" code... written in php?
[00:08]<jdddd>Monks
[00:08]<jdddd>absentia fuck no =)
[00:08]<zufn>Copying is not originality.
[00:09]<czm2zymrnw1>yes but how can i put date and time in one line with spaces between them?
[00:09]<czm2zymrnw1>as i have it now it is all one word
[00:09]<jdddd>Zule "Yes Dear"
[00:09]<tml>Cambridge13: If you're viewing it in a browser, remember that browsers don't always accurately display whitespace.
[00:09]<qyrrr>Jy: can you take a look here ? it's a simple mail script .. http://sial.org/pbot/17216
[00:09]<r2sggvyr>anyone ?
[00:09]<r2sggvyr>dern
[00:09]<vjsvn>oi
[00:10]<tml>Or, rather, their "accurate display of whitespace" doesn't match your concept of such
[00:10]<jzjmzsvnz>qiang: if you are on a unix system, you need to have your php.ini file sendmail settings such that it will allow you to replace the from header.
[00:10]<vjsvn>Warning: session_start(): Cannot send session cookie - headers already sent by
[00:10]<czm2zymrnw1>at least i could try if i have the code
[00:10]<tml>!tell toste about headers
[00:10]<tml>Cambridge13: echo date("d F Y");
[00:10]<qyrrr>JAJMaster: okay, i will go read the php.ini file..
[00:10]<jzjmzsvnz>qiang: you might have more luck using PEAR::Mail() with SMTP.
[00:10]<xmlxjym>er, nothing right now, just that most of the exciting bugs I end up fixing in released apps are vague places in the spec the app was built from.
[00:10]<r2sggvyr>TML : http://www.rafb.net/paste/results/8rl79m28.html
[00:10]<ajgne>Qiang, the alternative is to use SMTP instead of sendmail.
[00:11]<tml>jonez: You say that as though they're actually different things.
[00:11]<czm2zymrnw1>yes right, but after that i want the time as well. I know the code but i cannot figure out how to adda space between the date and time. Now i have: datetime and i want date time
[00:11]<qyrrr>JAJMaster, PEAR::Mail is not a package comes with the php dist?
[00:11]<tml>Cambridge13: echo "A" . " " . "B";
[00:12]<jzjmzsvnz>Qiang: been a while since I installed, but I thought it was. If you have pear installed, it is trivial to add Mail
[00:12]<ddq000>I am thinking about to try another template-engiene for the next project. I am only familiar with yapter, and find it pretty ok (even if i hate to loop the blocks). Suggestions?
[00:12]<jzjmzsvnz>cambridge13: why not just put the whole ting into your date() command?
[00:13]<vjsvn>so i include the file bfore the <html> etc
[00:13]<tml>mm2000: Well, given your presence in ##PHP, might I recommend PHP as your templating engine? It's quite good at the task.
[00:14]<ndf>Huh, what's a template engine?
[00:14]<ddq000>TML: hmm... did not get you there.
[00:14]<dczupcd>is it legal to pass a regular expression as a delimiter to 'explode' ?
[00:14]<tml>mm2000: PHP *IS* a templating engine.
[00:14]<tml>No need to add another layer of templating on top of it
[00:14]<tml>It's silliness
[00:15]<mzzcl>mkrufky: http://php.net/split
[00:15]<ndf>Is a template engine some kind of approach to MSV-coding?







