| |
| |
| |
|
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
Comments:
<0> damnit, i need to find out how to throttle internet :/ <0> someone is playing CounterStrike on my network and it is destroying it <1> thats usually done on the switch your on if im not mistaken <2> whoever wants to shake their head at American justice, read this: http://news.yahoo.com/s/ap/20060523/ap_on_fe_st/crazy_cat_1 <0> Suepahfly: yea, i just moved him to another hub and it should be getting alot better (Stormchaser: thats why it was going so slowly) <3> jfarrell: Holy... Um... Cats! <2> Stormchaser: interesting eh? <3> jfarrell: f'ing idiots <0> i wonder if theres a way to limit the connection to it... <2> Stormchaser: my dad always told me <2> if you become a lawyer i will disown you <3> :) <0> O.o! my connection is dead now <2> and i would wager if i ever tried to have a cat prosecuted he would hunt me down and kill me for stupidity <4> Cats are good for one thing... dog food. <2> Jymmm: and guardians of the underworld, according to ancient Cgyptians
<2> *Egyptians <4> jfarrell and those ppl are dead, and the cats are still alive. think about it. <2> lol <3> Jymmm: That's the point <2> that is an entertaining point Jymmm <4> Cats should be on a leash, just like any other animal. <2> even a hamster <4> jfarrell unless caged <2> fine :) <4> they should be under 100% control of their owners <4> I dont' like cats becasue they kill for sport; and the only animal that I know of that does. I dont like huntinfg for sport either. Killing for food is another story. <5> Jymmm instincts ;) <4> Jax dont care why <2> i wonder how often cats attack humans? <6> Jymmm: No one cares. <7> when you sit on them <4> by that article, quite a bit it seems <8> Does lovingly shredding you count? <5> cats can't help they exist <5> we breeded them <5> everything is our fault. <4> then they should be under their owners control 100% of the time <2> jax, we breeded dogs too <2> and hamster <5> why, did you get harrased by a cat Jymmm ? <2> and guinea pigs <5> jfarrell i know, i like them :D <5> had some guinea pig for dinner yesterday <5> mm <4> Jax scroll back <2> in fact most common human pets are domesticated breeds <2> Jax: disgusting <8> enh, just deal with the 0.5% of cats that bite. they're badly socialised. <9> http://hashphp.org/pastebin.php?pid=6870 -- can someone please tell me what I am doing wrong? <10> I'm with Jax. It's time we took responsiblity for the world around us and killed every other form of life. <5> TML kill? ***imilate! <11> mmm, daycare <2> TML: i think WW3 is still about 5 years way or so <8> i'd rather get the damn seagulls under control first <10> bullrage: Impossible to say without a description of the problem <2> Xyphoid: yeah no kidding <6> I think the only thing worse than Jymmm's personal convictions are PHP syntactical conventions. <2> i hate when they poop on my car <12> can anyone tell me how to compile mysql support into /usr/ports/www/php5-cgi/ ??? <10> Ducks. I hate ducks. <2> EvanCarroll: i rather take offense to that statement <8> if we have to engineer the cats to be twice as big and graft wings on, so be it <2> :) <10> Milezteg: #freebsd probably can <5> i hate birds. they make babies in my shutters early in the morning >;/ <9> TML: error in syntax, taking the variables from a form and inserting them into the database, but an error in syntax apparantly <8> Aw, I like ducks. Any species that I can get worshipping me that easily deserves to survive. <5> now the stupid baby birds are in the shutter case thing <6> jfarrell: Darn. <10> bullrage: Please provide the precise error message <8> come, bow down before me - no food for you today, but grovel just in case! <9> TML: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '143' at line 1 <2> bullrage: you find that error difficult to understand
<2> mm caffinated he really wasnt saying anything that bad <13> jfarrell: it's always the same with him when he's here. bitch about php, make some cheap shot at one of the ops <9> jfarrell: what's the 143 for? <2> the best way to solve that error is echo the query to the screen and scan through it <2> its the text in the query where the error is found by <10> bullrage: What that says is that the SQL generated by your PHP code is invalid. <14> using the alternative notation for if ( if():, endif;) how can i use else <14> ? <2> caffinated: i had no idea <2> bullrage: something like: select **** from tables where id = 143'; <15> That's ironic. A perl bot in a PHP channel =) <2> that would cause that error <10> bullrage: I have no idea what SQL would result from the PHP code you've shown us. <10> Xorlev: Why is that ironic? <10> Xorlev: There's no irony in being smart enough to know that PHP isn't the best solution for EVERY problem. <9> TML: It would result in.. INSERT INTO dvd_title (id, title, year, genre, runtime, plot, link, added) VALUES (NULL, 'fsdf', 2005, 'sdfsd', 'dsdf', 'fsdf', 'sdfsd', NOW()) <8> bullrage: echo out hte actual query. not one you're guessing at. <10> bullrage: I don't see "143" anywhere in that, so I highly doubt you're correct. <15> TML: I never said perl wasn't the better solution, I said it was ironic. <10> Xorlev: There's no irony in choosing the best solution. <2> Xorlev: php is built on perl (or was) <16> is perl wakky <16> is php easier <2> and, as you can probably tell, like most languages Perl is one of its fathers <2> star-trekio: it is designed that way <15> Perl is very powerful. <15> But, PHP is written in C/C++ <15> Not Perl :P <2> iirc PHP3 was written in Perlk <10> No <10> PHP/FI <2> err 2 <2> or that <10> Yes <17> hello <2> lol sorry TML mistype <17> have a problem :) <9> <2> so do i <9> Genre: <17> apache+php <2> i need money for college <9> sorry <2> lets hand it over <18> PHP V 4.4, I use xml_parser_create(..) to parse a 80KB document, takes 300ms on a 700Mhz machine. Is there any other and faster method then using xml_parser_create??? <9> Xyphoid: The 143 appears after the now()) when echoing the query <15> Have you tried simplexml, or do you need the more powerful abilities of xml_parser? <15> Err <15> Upgrade to PHP 5.1 then use it :P <10> ries: Faster than 300ms? Almost certainly not. <8> bullrage: so your code is adding that 143 somewhere to the query. <8> put the rest of the code on pastebin <15> But even so, 300ms is pretty fast, less than half a second. <10> Indeed <2> bullrage: either that our your looking at the wrong query <8> maybe you're doing mysql_query($sql.$dbhandle) instead of $sql,$dbhandle or something <10> Parsing XML at 300ms on a 700Mhz machine is nothing less than remarkable. <17> apache outputs Content-Length header with length of responce, but, in my situation there is no Content-Length header, every one or more lines of script's output is preceeded by length of line(s) <18> TML: yes 300ms... I find it kinda slow actually... the code is fairly optimized Xorlev it's relative... I also done this with compilers... and you can imagine that that is a bit faster... But my search stops here... 300ms is good enough I guess <17> anybody knows something about problem ? <10> ries: For a high-level language, 300ms on the hardware in question is quite good. <18> Xorlev: it also means that I can't handle more then 3 req/sec if I want to do it real time :) <15> ries: If you're parsing the same document, implement caching. If the filetime on the xml file changes, reparse, otherwise just store the parsed data. <9> Xyphoid: http://hashphp.org/pastebin.php?pid=6871 <3> cfg: problem, problem... YEah, I heard about that word... Never knew what it does... <10> ries: If you want to do things in realtime, you probably don't want XML. :) <18> TML: as I understand... I will leave it like this :) if there is no newer functions in PHP4.4 then I pressed the most out of it <10> cfg: PHP doesn't output the length of a line. <18> Xorlev: I understand... however I have callbacks on nodes, so it's more complaicated to store a cached version of a array... but it's ok... <15> I prefer PHP 5.1 personally. I had absolutely no problems changing to 5.1 without any code changes (I did eventually change my cl***es to use __constructor and such though) <2> bullrage: make sure you havee or die(mysql_error()) on all mysql_query function calls <17> TML: i mean - that output from web server is something like this - 7 <17> #306090
Return to
#php or Go to some related
logs:
fglrx ubuntui #kernel read wtmp undefined symbol __glXLastContext ubuntu nmm on ubuntu mplayer gentoo 0x33564D57 kubuntu dapper via refresh rate #python #perl UnboundLocalError: local variable 'gid' referenced before assignment
|
|