@# 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 33



Comments:

<0> ahem
<1> :P
<0> I am a deity
<2> :)
<1> Jaywalker: Your ant farm doesn't count.
<2> Jaywalker: You are?
<0> ant farm... heh
<0> childs play
<0> i have a hamster farm!
<3> Just check my blkog
<4> Daddy!
<0> i used my ant farm case to put the hamsters in
<0> :-)
<0> they don't move much...



<0> i'm not sure why
<5> caffinated: and is there a function that does the opposite of htmlentities() ?
<6> hmm a test seems to indicate it works as I wanted.. $a = array(); $a[0] = array(); $a[0][1] = 'test'; if (!$a[0]) { echo "a[0]=false"; } if (!$a[1]) { echo "a[1]=false"; } results in "a[1]=false"
<4> djib: html_entity_decode
<5> ok
<5> thanks InsaneHamster
<4> :)
<7> djib: if you're using that, you should probably rethink that you're doing
<7> djib: for example, if you're storing htmlentity encoded data in a database, you're probably going about things the wrong way
<5> no I'm not
<5> it's just for test purposes
<5> don't worry
<7> ok, fair enough
<6> lig - who?
<6> ident code, i mean :)
<4> M... Yum... Good food!
<3> m-00kie: on a forum I visit
<0> good boy... good boy
<3> Jaywalker: hehe
<6> ah.. maybe the forum doesnt translate tab spaces?
<0> AHH!
<4> *burp*
<0> oh dear god!
<0> i've been eaten!
<4> 'dear god'? I thought you were a diety...
<3> m-00kie: no , it does... he just never bothers to indent... have told him like 3 times. so now I "remind" him and skip the code
<6> ah. i'll hold him, you skin him alive.. yes?
<6> eating.. hmm ill forego that one thanks
<4> lol
<0> lol
<0> mommy! i don't want to be a hamster pellet!
<3> m-00kie: I'll even be sure to use a dull knife
<6> Jayinwww - just think like that monkey in 'Bruce Almighty' :)
<6> er.. jaywalker
<6> stupid nick completer
<0> lol
<6> lig - i recommend a super-dull rust-encrusted knife that keeps breaking up while you use it. I find the ones at the bottom of old toolboxes in pawn shops quite satisfactory
<8> Ah. g++ has released my CPU. :P
<8> I don't know what the hell it was building (Part of kdebase), but it pretty much blocked all other processes for a good 15 minutes.
<9> mattmcc Sicne your running 400x320, you must be running what... a 286 ?
<4> mattmcc: o.O
<4> mattmcc: What are you building? Trunk or stable?
<8> I'm just rebuilding the debian package of 3.5.1, actually.
<4> mattmcc: Um... Why?
<8> Made a minor change to workspaces.cpp.
<4> mattmcc: Ah... what did you do to it?
<8> Its 'electric border' stuff (edge flipping between workspaces) has some rather idiotic behavior hardcoded in that I ripped out.
<4> :)
<4> mattmcc: Why don't you suggest a patch for that?
<8> When you flip the mouse over to an adjacent workspace, it automatically pushes the cursor 20% away from the border, rather than leaving it the hell where I want it.
<8> I'll get to that later; make it a hidden configuration setting. For now, I just removed it for my own use.
<8> Why something that intrusive to the user was hardcoded in, I won't pretend to understand. And judging by its present lack of configurability, I can only ***ume nobody else in the world actually uses that feature.



<1> mattmcc: I'd be interested in that patch
<4> mattmcc: But the patch will probably go into 4.0, as 3.5 is locked up...
<8> Well, AIUI, 4.0 is a completely different animal. Although I suppose kwin itself won't necessarily change much.
<4> mattmcc: from wht I read, EVERYTHING is going trough overhaul...
<1> mattmcc: I think it's an attempt at making it behave like OSX. It does something like that because the users tend to "throw" their mouse at the edge to do the flip.
<1> And they don't expect it to "stop" just because it changed pages.
<10> sorry to interrupt... whatever you're talking about, but i've got a question: why is it that when i have a file that echos some html and then goes into an infinite loop, nothing is outputted to the browser?
<10> i have already checked, and output buffering is off, so that doesnt seem to be the problem
<1> Ricky28269: Output is buffered regardless.
<10> so i have to do ob_flush() every time i echo something?
<1> Ricky28269: No, just don't write infinite loops.
<1> They're rarely the right thing to do anyways
<10> ehm... let's say that this infinite (or near-infinite) loop is required. how would i allow it to echo bits at a time, instead of buffering?
<11> i turned safe_mode on and the exec function is still not working... what else could it be?
<12> what are you trying to execute
<11> cisse: uptime..
<13> Quick question: smarty or flexy?
<4> neither.
<13> got a better one?
<8> PHP.
<13> i work with someone who will only design the pages, so i kinda need one
<4> no you don't...
<13> without them learning some php?
<8> If they can learn a template language, they can learn echo.
<8> Seriously, how is {{foo}} any easier to learn than <?php echo $foo ?> ?
<4> Akuma_: Well... putting <?php echo function() ?> doesn't require PHP knowledge...
<14> mattmcc, it's a little cleaner, if nothing else.
<15> I am going to use gzwrite. Is there a command that can check that Zlib module is installed?
<4> not really
<4> php -m
<8> Julian|Work: Opinions on style aside, I won't accept that a person could be taught one syntax, but not the other.
<14> mattmcc, agree on that point. I still prefer templates (although I 'understand' both :P)
<8> Which has always been a weak point in the argument for template engines. "My designer can't learn PHP, but he can learn RandomJoesTemplateFormat"
<10> http://rafb.net/paste/results/L4tVDC31.html this script just continually loads, never sends anything to the browser
<16> thats a nasty loop
<17> mattmcc: my graphics guy hurts me enough with his HTML, I don't want to find out what he can do with php
<13> but templates, say smarty, also have plenty of functionality built in: caching, html elements (forms, etc), debugging...
<18> what do I have to add in php.ini at the error part to not give warnings?
<19> xm for what types operation is better sqlite and for what: dba ?
<4> awormus: Hire smarter guy.
<10> m1chael: yes it's an infinite loop. but why is nothing echoed before and during it?
<15> ruben_: ini_set('error_reporting', E_ALL);
<10> well, and technically it's not infinite. i made it end on user's severing of the connection
<16> ricky, you could do ob_flush()
<16> to force some output
<16> then it'll just loop4L
<10> it doesn't work
<18> ibob63: ONLY errors, no warnings
<10> i don't even have output buffering on anyway...
<4> Ricky28269: Why are you doing it,. anyways?
<10> i need a constant connection to send information to an user
<4> why?
<10> when it gets more complex, i will have it repeatedly check a database and keep an user updated using javascript to update the page contents
<15> ruben: yep, that a good point but I forget the other configs
<18> ibob63: hehe :p
<4> Ricky28269: Then use asynchronous calls via JS to accomplish that, not a killer loop...
<10> is this loop possible or not?
<20> Ricky28269: http://en.wikipedia.org/wiki/AJAX
<19> ok. for financial simple one PC accounting aplication what type of DB you choose: mySQL, dba, sqlite and why?
<10> i know about ajax, tyvm
<4> Ricky28269: It is, but it's not to be used for web things
<10> so it cannot display to the browser?
<4> it can, but it would depend on your browser as well...
<21> i'm doing an events section, and i'd like to know for navigation through the months of events, should i just take the current GET variable and add or subtract one for the next or previous months? and use that for my query (escaped of course). or is there some other way for me to do this, like fetch everything at once and only display one month at a time?
<20> NBrepresent: It would probably be best to use the GET variable like you described
<10> InsaneHamster: can u explain how to output to browser plz? lol
<21> yeah, i thought so too. i'd end up with all sorts of arrays of months of events i guess if i went the other way
<4> !tell Ricky28269 about u
<22> i am trying to upload files with php, and it works on one machine, but not this one. i am uploading with a post form, and i get "PHP Warning: filetype(): Lstat failed for (null) (errno=2 - No such file or directory)" in the apache error_log
<4> Ricky28269: php.net/flush
<21> !tell NBrepresent about u
<4> !+msg the bot'
<4> !+msg the bot


Name:

Comments:

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






Return to #php
or
Go to some related logs:

pppconfig evdo
willrobbo
mepis dcopserver
#debian
ubuntu neverwinter no sound
#php
#perl
evolution repair ubuntu
wget Amarok for suse10
iam8up.com



Home  |  disclaimer  |  contact  |  submit quotes