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



Comments:

<0> you install a small harmless virus on their PCs that connects all the users together trough p2p and then provides a global variable in the browser so you can set everything trough js
<1> sk8ing: i already thought of that, but what about the users who don't have js?
<1> :p
<0> :P
<2> you can't register a closed browser with anything other than a timeout anyway... and i don't think sessions usually time out very fast.. i'd just have a column in the user table for instance with something like 'time of last action'
<3> Yeah.
<3> That's the sane, reasonable way to go.
<0> of course you can
<3> Can you, now? How?
<0> onunload="doAnShortAjaxRequest();"
<0> ;)
<4> whats up guys
<3> We're talking PHP here, not javascript.
<3> That wouldn't know when my lynx client, for example, shut down.



<0> well it's a web app
<3> So that's utter and absolute rubbish.
<0> yeah, true
<5> You really need to build in failover to JS based sites.
<0> well it would go fine together with the expiration stuff
<3> Back on topic, though, timeouts and timestamps of last action are the way to go.
<1> hmm.
<0> yeah, that's how I do it too
<0> but I'm not displaying who's online :P it's for other purposes
<5> For instance, <a href="js_required_page.php" onclick="some_js_function(); return false;">Click here for fun thing to happen</a>
<5> Thats what I do with most of my stuff.
<5> For the JS users, it'll return false, and then the click wont happen.
<5> For those w/o JS, it'll just follow the link normally.
<0> yeah, me too, is useful for browsers that aren't supporting different stuff
<5> When I can, I make the page 'work' just w/o the fun JS stuff.
<0> but I usualy do return some_js_function();
<0> cuz I usualy ran some testes inside the function too
<5> *nod*
<5> That gets more tricky.
<6> i dont want to hear about yoru testes sk8ing
<0> I don't like to allow my code to throw exceptions
<0> if the function fails it will return true anyhow
<0> http://dumb.ro/
<7> oi
<7> schooost me
<0> in fact, it doesn't return anything
<8> inquiry: tring to install the PECL fileinfo on windows - i'm getting the 'fileinfo.dsp does not exist' error. Is there a way to install this on windows, or not yet?
<0> it crashes internaly in the object
<0> so the handler for onclick must have something like try { eval('string'); } catch(...) { proceed with standard stuff }
<8> ^ is occurring when i do 'pear install fileinfo' in console..
<2> uhm
<2> oeln_work: well, myself i just downloaded the loadable module dll, configured it in php.ini and it worked fine... dunno about the pear stuff
<5> Hrm, anyone have any idea how I'd get the entire (hopfully raw) dns record for a domain? I'm trying to make sure I dont miss any A records when transfering this domain for this client.
<8> ThFabba: interesting, i'll try that thanks
<0> dig under *nix
<5> Thats what I'm trying, its only doing it for the A record I spesify.
<0> hmm, it doesn't have an -a option or something?
<5> Ya, looks like there is an all switch, but its not really working.
<0> yeah, type=ALL makes it display only the records for that alias
<0> I think you have to find a way to query the zone
<5> Ya, though I thought a request for a A record returned everything minus Cnames.
<5> But I could be totally wrong.
<5> I am using localhost.
<5> So it shouldn't be cached.
<9> how do I use the ? : operator?
<9> I cant find a manual entry for it :/
<9> I know what its suposed to do, but I dont know the syntax
<9> found it.
<6> (test)?true:false;
<6> right?
<0> he left
<6> i know, i was just asking
<10> Hello everyone



<10> how are you this fine winter evening
<11> cold
<12> http://www.betanews.com/article/Microsoft_Vista_Most_Secure_OS_Ever/1150366131 <--in other news, all your base are belong to MS
<12> Microsoft already has compatibility improvements planned through Windows Vista Service Pack 1 <--umm why not include the **** now?!
<13> PapaBear: it'd toss that **** back another year probably
<12> seriously, they are aware of the major compatibility issues with winxp soft, yet they aren't pushing to fix it when retail is launched, rather waiting months After retail
<0> probably to collect aditional feedback
<0> or because it's not ready :P
<12> My gas grill tends to explode and I have been badly burned several times. The manufacturer ***ures me their new model is the safest grill ever, but they want to charge me full price. I think I should at least get a discount considering how many times I have been injured by the current model. <--lol best comment about that
<0> :)
<11> go electric, it tends not to explode :-)
<0> any idea if mysql acts badly with 10 000 000+ records?
<14> i don't think it does.
<0> have you been in the situation of having 10 000 000 records in a table?
<15> it depends on how well you structured it and how your indexing are
<11> and the plaform the sercver is on etc etc etc
<0> so how would you improve the query time?
<15> exactly
<11> cray uper computer
<15> sk8ing it is the subject of very good book
<11> properindexin, table formating etc etc etc
<15> i could not tell you in 5 lines what it takes 1000 lines and more'
<16> Basic optimization tips go a LONG way: http://www.databasejournal.com/features/mysql/article.php/10897_1382791_2
<16> Anyone got good Father's Day present ideas?
<0> yllus: tx
<11> hooker
<13> yllus: Er...no?
<16> You'll want to optimize on a per-query basis, that article will help
<15> article are good when you have already good knowledge otherwise it like shooting you in the feet by following only part of all
<11> one presuems you knowsomething if your are dealing qith a 10 million record table
<0> Eldritch: what did you ment to say by "table formatng"? does the order of the fields affects the performance?
<11> no but the field type does
<0> I optimized that as much as I could
<6> indexes matter
<6> and the ordering of the columns on the index matters
<6> not the table strutur
<6> e
<11> whats in the 10 million records anyway, your porn colelction?
<0> heh
<0> some statistics
<11> hopy ypur not on some shared host
<0> nope
<0> and the db is on another machine
<17> hi all :)
<11> you can benchmark the server with SELECT BENCHMARK()
<0> thanks I'll read on it
<11> SELECT BENCHMARK(1000000,ENCODE("hello","goodbye")); i get ....
<11> 0.7* secs
<11> it only benchmarks the hardware really, not your actull db config
<0> but what it exactly does?
<5> BENCHMARK( 1000000, ENCODE( "hello", "goodbye" ) )
<5> 0
<0> 0 too
<11> results will be 0, you want to check the execution time
<5> Ah.
<0> :P
<0> 0.81
<0> on my machine
<11> seems on the slow side for a dedicated macine
<0> it's on my machine not on the dedicated one


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#java
gnien il-familja
#linux
save your dignity my man
#skype
#gentoo
#mirc
#skype
prison dartmoore
southpark cancerman



Home  |  disclaimer  |  contact  |  submit quotes