Jump to content

Pacific Crest and Blue Devils Team Up in SoCal Clinic/Audition


Recommended Posts

Some of the players in the thread have strong opinions. That's fine.

Yet I saw someone suggest "banned" to a poster. The participants in this thread haven't come close to anything like that. We agree or we don't, but nothing in this thread has come remotely to the concept of "banned."

Yeah that was me. And it was obviously not serious.

I do however stand by my earlier post -- this what he looks like in real life.

// find the variance with the most matching words
$vcount=0;
while ($vcount < count($vararray[$bestpriority])){
	if (strstr($vararray[$bestpriority][$vcount],"@")){
		eregi("@(.*)",$vararray[$bestpriority][$vcount],$syn); // fix this
		$syn = $syn[1];
		for($x=0;$x<count($synonymarray);$x++){
			if (eregi($syn,strtoupper($synonymarray[$x]))){
				$sarray = explode(" ",$synonymarray[$x]);
				for($f=0;$f<count($sarray);$f++){
					$newstring = ereg_replace("@(.*)$",$sarray[$f],$vararray[$bestpriority][$vcount]);
					// works to this point
					if(eregi($newstring."$",$string)){
					   $varray = explode(" ",$vararray[$bestpriority][$vcount]);
					   if(count($varray) > $pvarray){
						  $bestvariance = $vcount;
						  $pvarray = count($varray);
					   }
					}
				 }
			}
		}
	}else{
	if(ereg($vararray[$bestpriority][$vcount],$string)){
	   $varray = explode(" ",$vararray[$bestpriority][$vcount]);
	   if(count($varray) > $pvarray){
		  $bestvariance = $vcount;
		  $pvarray = count($varray);
	   }
	}
	}
	$vcount++;
}
Edited by corpsband
  • Like 1
Link to comment
Share on other sites

Thanks for the nightmares corpsband... I actually started looking at this crap trying to figure out how it works.....

But can't figure out if this is C, perl or some version of SQL. Have worked so much of this the last few years it's all running together.... :wall:

Link to comment
Share on other sites

I go on a rambling tangent ? But you don't. I see.. I got it now.

no, I don't. I'd say my average post is 40 words or less.

Link to comment
Share on other sites

Thanks for the nightmares corpsband... I actually started looking at this crap trying to figure out how it works.....

But can't figure out if this is C, perl or some version of SQL. Have worked so much of this the last few years it's all running together.... :wall:

it's actually a snippet from a PHP version of the Eliza script.

  • Like 1
Link to comment
Share on other sites

it's actually a snippet from a PHP version of the Eliza script.

LOL... well I'm not programming anymore (unless I get snagged with SQL) so might be safe from this one..... thanks for the ID...

Link to comment
Share on other sites

Some of the players in the thread have strong opinions. That's fine.

Yet I saw someone suggest "banned" to a poster. The participants in this thread haven't come close to anything like that. We agree or we don't, but nothing in this thread has come remotely to the concept of "banned."

"Band"- yes. "Banned" - no.

Link to comment
Share on other sites

it's actually a snippet from a PHP version of the Eliza script.

so YOU hacked Sony

Link to comment
Share on other sites

Thanks for the nightmares corpsband... I actually started looking at this crap trying to figure out how it works.....

But can't figure out if this is C, perl or some version of SQL. Have worked so much of this the last few years it's all running together.... :wall:

Most likely C or C++ or PHP or perl....

lol

Edited by jjeffeory
  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...