| |
| |
| |
|
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> heh <0> sure is <1> ...Lucky gentoo users. <0> i can't wait for 5.2 :P <2> i use gentoo <2> hmm cli <0> *sigh( <0> it's /usr/bin/php i think :P <0> yup <0> sure is <0> well actually on mine it's a symlink <0> /usr/lib64/php5/bin/php <1> ...Lucky people whos symlinks work properly. <0> it's not hard :p <3> in php4, this is how you call a cl*** function, right: $obj->getValue();
<0> and in 5 <3> ok, just making sure <4> freeone3000, you have problems with your symlinks?? <0> ***uming it's not static <3> do you see an error in this line, by any chance: if (empty($full_name->getValue())) { <3> it says unexpected ( <0> i dont <0> so it's probably not on that line, its just the trigger point :P <3> yeah, i'm looking <5> newpers, what does the function return? <3> suppose to be a string <6> hello there, im having a little trouble, hoping somebody can help. I'm going about making a 1-10 rating system, and I was wondering how I could go about getting an average vote per item ? <3> ohh.. is this allowed in php: function setError($err_msg, $clearvalue = true) { <5> newpers, yes <3> thanks, bugzElMagnifico <6> hello there, im having a little trouble, hoping somebody can help. I'm going about making a 1-10 rating system, and I was wondering how I could go about getting an average vote per item ? <7> you aren't supposed to used 1 to 10 <7> you are supposed to use 1-7 <6> .. <3> ok, i don't think it liked this line: function getValue() { return $this->value; } <7> and mix up the order to force people to read instead of just clicking for the hell of it <8> mhall... <6> you can use whatever the website supports. I have seen probably 10 that use 1-10 <7> aidan: yes? <8> mhall: can you not har*** the poor guy? :) <0> a lot use 1 to 10 <0> it's simple math :\ <6> the couple of conclusions that I came up with give a result greater than 10 <8> [Ex0r]: average = sum / total, if you can't work that out, you should give up already <8> [Ex0r]: seriously, most sperm know that <7> aidan: sorry about that i was just trying to help him with this so he'd get good results <6> yeah, and when the total is 100, it's way over 10 for the average <7> [Ex0r]: that can't happen <6> or when there are 1000 votes, the total goes way over 10 <0> sigh* <0> i'm not gonna touch this with a 10 foot pole :P <6> You have to take the average number of votes for each vote result (1-10), and than get the average of all of those afterwords <8> rofl <8> average number of votes <6> Otherwords you get a number that's extremely high <8> [Ex0r]: sum / total. That's it. <5> [Ex0r], 3/10, 7/10, 5/10 - what is the avg? <9> I know! I know! <5> OrreBorre, shush... dont take his pride away from him <6> Say there are 1,000 votes, sorted out through this. 1.) 16 2.) 75 3.) 100 etc.. You are going to get FAR over 10 votes getting the sum <0> i know :P <6> I am trying to get an average per item, not per total of all items. <0> oh man <0> like i sai <8> [Ex0r]: jesus man... use your head <0> i aint getting involved :P <6> aidan- You use your head, you idiot. You aren't even listening. <0> lol <0> [Ex0r]: no man, i agree with aidan <6> Because you are ****ing idiots who can't understand ****. <6> I have used three different methods, and each and every single one of them, including the one you are giving me, gives a result greater than 10 if the sum of any of the votes is greater than 10 <8> [Ex0r]: Can I just clarify something? You can't work out an average, and you're calling us idiots? <6> aidan- I know perfectly well how to get an average, I am telling you that for what I am doing, the method you are telling me to use doesn't work. <8> [Ex0r]: SUM OF ALL THE VOTES / TOTAL NUMBER OF VOTES <8> [Ex0r]: there's only ONE method. That's IT.
<6> THAT IS NOT HOW MY ****ING TABLE IS LAYED OUT! <6> ****, you idiots need to get your heads out of the ****ing clouds and quit pretending to be gods and listen to somebody, and you might be of some use. 'til than, later. <8> rofl <0> ha <0> maybe he should learn how to listen :\ <0> and explain <0> anywho <0> what be up with you tonight aidan ? <0> crackin code? whippin integers? slinging strings? <5> ok .. this whole conversation is going to bash.org <8> yeh probably ... It's been a huge week, a quiet night of coding may be just what the doctor ordered <8> queit <0> remind me not to go to your doctor :\ <0> quiet* <8> both look wrong :( stupid english <0> yeah <0> lol, is english your first language? <10> [ <10> jiggster: doesnt matter :) they both look weird <0> pff <0> i'd code <0> but i'm all wired out <11> is there anyway to srtup a proxy on a computer and have another computer connect to it and share the same ip .....but if the computer that they are connecting to has a firewall is there any reverse type connections or ways around that <0> i got a working example of my time zone crap done, and i'm taking a vacation now <0> Wizz_kidd11: dunno i'm a php person per say <11> ic <12> Wizz_kidd11: sounds like you're thinking of load balancing <11> i dunno technial names <12> you should look it up, then, and see if it's what you want. <0> this is insane <13> Wizz_kidd11 - perhaps itd just be easier to use a remote-desktop program? <0> my back has been hurting for two days now <7> aidan: troll? <5> there it is... Ex0r's mathematical genius is pending moderation on bash.org <7> bugzElMagnifico: every thing i have submitted there was rejected <7> bugzElMagnifico: any tips? <7> s/have/ever have/g <5> mhall, nope... I've submitted a couple already and they've gone OK <0> whos a troll? <0> oh man, remind me to speak intelligently when bugzElMagnifico is around <5> ha ha ha.... I can tolerate your wierdness.. but that one was just *too* much <7> jiggster: you got bashed? <7> jiggster: i can't find it searching on your nick <0> i hope not, i just dont want to be <7> why not <7> what happens to people that get bashed <0> nothing <7> then why worry <12> Their names live on forever in infamy <5> well.. if this does get published, you'll get bashed positively :) <0> ah ****. :P <5> Ex0r on the other hand... will be immortalized <14> tml: i found out what the problem was mysql or php or both cant do the md5 sum. lol. anyway see you all later. <0> whoa whoa <0> someone should quote that guy :\ <7> which guy <0> what the hell does he mean by php and mysql cant do an md5sum? :P <0> anywho w/e <7> i submitting way funnier stuff and it got canned <7> i don't think that's general enough <13> hey if i have a <div cl***="blah"> <?php include('blahblahblah') </div> will the php page include the cl*** propertieis? <15> jiggster: chocolate and beer dont go well together :) <12> ph8ory: it depends on what the final html looks like. <0> ok i lied, i'm saving the chocolate for later <5> ph8ory, presumably <0> beer gets priority though <13> is it better to css it from within the php document? <13> what do you mean CryWolf <12> ph8ory: the rendering is done by the browser. <13> ah okay <16> When my PHP script encounters this line: $socket = socket_create(AF_INET, SOCK_STREAM, getprotobyname("tcp")); it simply terminates. No error message, even though I have it set to display all error and warning messages, no anything. What might I be doing wrong?
Return to
#php or Go to some related
logs:
#css MAILER-DAEMON postsuper awk Could not stat /dev/ Permission denied mkfs
unmasking packages with missing keywords COuld not open SSL trusted certificate SSCert.pem
convert fat to ext2 ubuntu p5ld2 ALSA slow firefox scrolling compiz #fedora #math
|
|