@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 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



Comments:

<0> 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.
<1> 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.
<1> uh huh.
<2> gah, how does the list() function make sense :/
<1> but he was happy to tell me a bug he fixed that was in someone else's code.
<1> which amounted to a typo.
<3> I don't make bugs in my code either. Some undocumented feature though.
<4> absentia: Are you ***uming released code, or dev code (still being worked on)?
<1> jymm: R U 4 REAL?
<4> !+aolbonics
<5> 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 ****z. 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.
<1> you miss my point.
<1> that is not a hair to split.
<0> absentia, it's easier to make the bot spew a guideline :)
<1> true
<4> 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.



<1> jymm: so, you too... have never made a bug?
<4> absentia: In released, no.
<1> no kidding?
<1> *WOW*
<0> *chuckle*
<6> Everyone makes bugs in releases. Everyone.
<6> I fail to believe code can have no bugs. Ever.
<0> Zule, hush with the truth! no one wants to hear it. :)
<6> Unless it's pathetically short, like < 500 lines.
<1> screw fantasy island -- this planet has gone fantasy.. in the last decade. I missed the memo to get off this ride.
<4> 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.
<7> it's not a bug...it's a feature
<1> jymm: yes, I was born. did no coding, and then I went right to life and death coding systems..... just like you. neat!
<8> how ca i leave spaces between the date and the time?? i have this: echo "".date('d F Y') . strftime('%H:%M:%S');
<9> 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
<10> i love fixing bugs that are correct implementations of errors in the spec :(
<1> kitt: awesome!
<9> cost them $1 million to stop the game from hitting shelves >_>;
<4> 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 ***.
<11> Xyphoid: I don't get much opportunity for that anymore. What're you fixing?
<4> (less the typos)
<6> I don't think laziness has anything to do with bugs.
<11> Jymmm: ...
<6> Being human, mostly. It's easy to misread something on screen.
<8> how can i leave spaces between date and time? echo "".date('d F Y') . strftime('%H:%M:%S');
<11> Cambridge13: You don't need the "".
<4> Zule you would be very surprised.
<8> if i dont put "" then it doesnt display it.
<12> 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..
<1> hey, TML -- welcome back.. what do you think of this -- ...
<11> Cambridge13: Baloney
<6> 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.
<1> grr.. my history lost it
<13> Qiang, you have to send the correct headers
<8> What is Baloney?
<6> eerr, thousands and thousands.
<11> Cambridge13: echo date('d F Y') and echo "".date('d F Y') are exactly the same, except on does more work
<0> Cambridge13, it's a deli meat.
<6> Sorry, I'm slightly dyslexic :)
<1> anyone have my last rafb url in their lastlog?
<0> Cambridge13, not particularly good for you, either.
<11> Cambridge13: It's a nice way of telling you you're wrong
<4> Zule: you might want to look back on how the Mocks copied the Bible for centuries for an example.
<8> aha
<1> jymmm: one last question -- is this "no bug" code... written in php?
<4> Monks
<4> absentia **** no =)
<6> Copying is not originality.
<8> yes but how can i put date and time in one line with spaces between them?
<8> as i have it now it is all one word
<4> Zule "Yes Dear"
<11> Cambridge13: If you're viewing it in a browser, remember that browsers don't always accurately display whitespace.
<12> Jy: can you take a look here ? it's a simple mail script .. http://sial.org/pbot/17216
<1> anyone ?
<1> dern
<14> oi
<11> Or, rather, their "accurate display of whitespace" doesn't match your concept of such
<7> 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.



<14> Warning: session_start(): Cannot send session cookie - headers already sent by
<8> at least i could try if i have the code
<11> !tell toste about headers
<11> Cambridge13: echo date("d F Y");
<12> JAJMaster: okay, i will go read the php.ini file..
<7> qiang: you might have more luck using PEAR::Mail() with SMTP.
<10> 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.
<1> TML : http://www.rafb.net/paste/results/8rl79m28.html
<0> Qiang, the alternative is to use SMTP instead of sendmail.
<11> jonez: You say that as though they're actually different things.
<8> 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
<12> JAJMaster, PEAR::Mail is not a package comes with the php dist?
<11> Cambridge13: echo "A" . " " . "B";
<7> Qiang: been a while since I installed, but I thought it was. If you have pear installed, it is trivial to add Mail
<15> 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?
<7> cambridge13: why not just put the whole ting into your date() command?
<14> so i include the file bfore the <html> etc
<11> mm2000: Well, given your presence in ##PHP, might I recommend PHP as your templating engine? It's quite good at the task.
<16> Huh, what's a template engine?
<15> TML: hmm... did not get you there.
<17> is it legal to p*** a regular expression as a delimiter to 'explode' ?
<11> mm2000: PHP *IS* a templating engine.
<11> No need to add another layer of templating on top of it
<11> It's silliness
<18> mkrufky: http://php.net/split
<16> Is a template engine some kind of approach to MSV-coding?
<17> lol silly me..... Thanks MarkL
<11> eml: You can use a template engine in Model-View-Controller (I'm ***uming that's the same thing as "MSV")
<11> eml: But they're definitely not tied to each other.
<18> Model-Stuff-Controller
<19> lol
<11> "Stuff"?
<16> TML, Yeah, MVC*. OK. I gues I fired off a very unnessecary question. Sorry 'bout that.
<11> MarkL: Surely you jest, sir?
<15> TML: i dont understand why. Lots of projects uses template engienes. Drupal for instance. Movabletype and a lots of others.
<18> TML: 'Stuff' is a technical term meaning 'language of choice'
<16> mm2000, There's "smarty". First google-hit on "template engine".
<10> If Stuff is your language, what are the model and controller written in?
<11> mm2000: So the target market for you next application is "theme and skin developers"?
<15> eml: Yes, i have noticed smarty, just want to get some ideas.
<11> Xyphoid: heh
<19> mm2000: Why do yoou want to invent 'yet another language'? Isn't PHP enough?
<11> mm2000: Personally, I find it a waste of cycles to layer yet another language on top of your PHP
<20> how do I add newlines to text file ?
<11> ks: echo "\n";
<11> ks: See php.net/language.types.string
<20> well '\n'.$stuff still shows as string
<18> '\n' != "\n"
<11> ks: See php.net/language.types.string
<18> You have to use "\n"
<20> \"objectId\":\"\"}}\n\n{\"node\":{\"
<6> That's because single quotes aren't interpolated.
<11> ks: See php.net/language.types.string
<20> uuh
<20> thanks
<18> TML: Do you have any links for reading about \n ?
<6> Or, parsed.
<11> MarkL: Sure, see php.net/language.types.string
<18> TML: ;)
<11> =)
<15> TML: but its PHP only. And i find templates as a good way of separating logic data from data in the browser. Also, there is a perfect solution for designers to do what they are good at, and for me to do what i am good at.
<21> hello
<21> how i can select the empty cloumb
<15> Dont want to arguing about the badness/goodness of using templates, just want an advice of an intresting engiene
<6> mm2000: How about something like this? http://smarty.php.net/
<18> Rahewo: cloumb ?
<6> Rahewo: Your question made no sense. What column?
<11> mm2000: If your designers find <?php echo $foo;?> from {{foo}} to be too difficult a transition, I suggest you hire better designers
<21> select id from form where fid='506' and msg is not null
<21> what is error
<15> Zule: Yes, i have heard about smarty, i shall check it up.
<11> As for "it's PHP only", I've yet to see a real templating language that ISN'T tied to its underlying language
<21> why that isnt work1ng


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #php
or
Go to some related logs:

FATAL: Error inserting nvidia (/lib/modules/2.6.16-gentoo-r9/video/nvidia.ko): U
#python
#perl
debian fail intel pro 1000 pl
tuxbar slow
vertilo
czth microsoft
fglrx compiled for abi major
php tutorial export variables
#web



Home  |  disclaimer  |  contact  |  submit quotes