You have commented 339 times on Rantburg.

Your Name
Your e-mail (optional)
Website (optional)
My Original Nic        Pic-a-Nic        Sorry. Comments have been closed on this article.
Bold Italic Underline Strike Bullet Blockquote Small Big Link Squish Foto Photo
Good morning
2008-12-22
Posted by:Fred

#23  [On this spot at 22:09, Shittique had a vowel movement. Rantburg software has cleaned and disinfected the site of the accident. Have a nice day.]
Posted by: Shittique   2008-12-22 22:09  

#22  You might find simpler to avoid the loop, Fred. Do something like

$nonAlphaNumeric = preg_replace("/[A-Za-z0-9 ]/", "", $x);
$nBadChars = strlen($nonAlphaNumeric);
$nChars = strlen($x);

Compare $nBadChars to $nChars however you wish. The regex in preg_replace just replaces all the ASCII letters and numbers of $x with nothing, thus deleting them, and storing the result in $nonAlphaNumeric.
Posted by: Eric Jablow   2008-12-22 21:57  

#21  It won't be there for the next one...
Posted by: Fred   2008-12-22 19:19  

#20  Not to pick nits, but I see a stray line break in there....
Posted by: Scooter McGruder   2008-12-22 18:17  

#19  Er 'ye gonna keep count Fred?
Posted by: .5MT   2008-12-22 17:39  

#18  Worked first try. I think I'll consume adult beverages this evening in celebration.
Posted by: Fred   2008-12-22 17:06  

#17  Wow, that is nifty
Posted by: Aaron A. Aardvark   2008-12-22 16:54  

#16  [On this spot at 16:50, dudgeEdgeda had a vowel movement. Rantburg software has
cleaned and disinfected the site of the accident. Have a nice day.]
Posted by: dudgeEdgeda   2008-12-22 16:50  

#15  A friend has a small herd of mule footed pigs, and keeps them loose around the yard. Some of these get quite large, though 700 pounds might be pushing it. Smart beggars, and not below intimidating the unwary. Great watch dogs pigs.
Posted by: Whiskey Mike   2008-12-22 13:49  

#14  So, Anita Page is the one that instigated the "pig as pet" scenario. Can't blame her. My pig, Emily, was an extremely affectionate pet, and a wonderful friend. Also, at 700 pounds and seven feet long, a tremendous deterrent to those that might have dreamed of entering our property without permission. A dog has to bite to get your attention. A 700 pound pig just hits you once, and you know you're not where you should be.

Thanks, Anita!
Posted by: Old Patriot   2008-12-22 13:02  

#13  Clark Gable assures me this time it's a real dog.



Posted by: GolfBravoUSMC   2008-12-22 12:26  

#12  Anita, I wish you hadn't taken it so hard but I had to tell you that was not a dog.



Posted by: GolfBravoUSMC   2008-12-22 12:07  

#11  I love the smell of fried spam in the morning. Smells like...victory.
Posted by: Abu Uluque   2008-12-22 12:05  

#10  
Posted by: GolfBravoUSMC   2008-12-22 11:23  

#9  Cute girl. Kinda ugly dog, tho.
Posted by: SteveS   2008-12-22 11:20  

#8  It's just baby code. I look at the number of non-ASCII characters:

function spamalize($x)
{
$len=strlen($x);
for($i=0;$i < strlen($x)-1;$i++){
$c=ord($x[$i]);
if($c > 128)
$spamlength++;
}
$c=ord($x[$i]);
if($c > 128)
$spamlength++;
$spampercent=$spamlength/$len;
return($spampercent);
}

The actual percentage I use for the cutoff should remain a secret.
Posted by: Fred   2008-12-22 11:17  

#7  Care to share your code with us? I always find Charles' programming tutorials on LGF very enlightening... it would be great to get some tips from you too.
Posted by: Scooter McGruder   2008-12-22 10:57  

#6  eee eye eee eye ...oh.
Posted by: Seafarious   2008-12-22 10:44  

#5  We love you Fred!
Posted by: DarthVader   2008-12-22 10:25  

#4  That seems to have been easy enough. I've taken the report on spam probability off the comments. Vowel movements should now self-destruct without bothering us, barring typos.
Posted by: Fred   2008-12-22 10:17  

#3  I'm working on a filter that will do away with our daily vowel movements. I'm going to display probability of spam in comments for a little while to make sure I've got it calibrated right.
Posted by: Fred   2008-12-22 09:46  

#2  [Dickweed's spam deleted]
Posted by: IONeabHaiguique   2008-12-22 08:43  

#1  Ã•Ã®Ã²Ã¥Ã«Ã®Ã±Ã¼ áû ïîáîëüøå òàêèõ æå èíòåðåñíûõ ïîñòîâ
Posted by: AllenWZ   2008-12-22 06:29  

00:00