Click here to Skip to main content
16,017,261 members

Bugs and Suggestions

   

General discussions, site bug reports and suggestions about the site.

For general questions check out the CodeProject FAQs. To report spam and abuse Head to the Spam and abuse watch. If you wish to report a bug privately, especially those related to security, please email webmaster@codeproject.com

 
GeneralRe: Voting - perhaps not? Pin
Member 9616-Apr-07 5:43
Member 9616-Apr-07 5:43 
GeneralRe: Voting - perhaps not? Pin
Chris Maunder16-Apr-07 5:57
cofounderChris Maunder16-Apr-07 5:57 
GeneralRe: Voting - perhaps not? Pin
Member 9616-Apr-07 6:16
Member 9616-Apr-07 6:16 
GeneralRe: Voting - perhaps not? Pin
Dan Neely16-Apr-07 7:02
Dan Neely16-Apr-07 7:02 
GeneralRe: Voting - perhaps not? Pin
Chris Maunder16-Apr-07 7:20
cofounderChris Maunder16-Apr-07 7:20 
GeneralRe: Voting - perhaps not? Pin
Member 9616-Apr-07 9:40
Member 9616-Apr-07 9:40 
GeneralRe: Voting - perhaps not? Pin
Shog916-Apr-07 10:16
sitebuilderShog916-Apr-07 10:16 
GeneralRe: Voting - perhaps not? Pin
#realJSOP28-Apr-07 2:13
professional#realJSOP28-Apr-07 2:13 
John Cardinal wrote:
don't show the score until a certain number of votes have been made, i.e. not until the 11th vote or something


Oooh, I like that, but I think the number should be higher, like say... 20 votes.



John Cardinal wrote:
The second is that any votes that are extremely off the current average should have a *Suggestion* pop up that they make a comment of why they voted that way.


I think showing votes accumulated like this would alleviate Chris' voting wars fears (illustrating the way it would look for one of my articles - grin):

Vote    -------------- Votes By -----------------
Value   Platinum      Gold      Silver     Bronze
5           1            4          2         3
4           5            2          7         0
3           0            0          5         0
2           0            0          0         0
1           0            0          1         4,038,764,324


Further, Chris cited the a probability that if forced to leave a comment, many folks would just post "asdf" or other equally invalid comments. My response was that a rudimentary text parser could be created that would parse the comment, and automatically reject votes that are associated with comments that failed the following checks:

a) When trimmed of leading and trailing spaces, did not contain any characeters. The nefarious "empty" comment.

b) Comments must have X number of characters (this prevents the simple "asdf" example provided by Chris. I would think 30 characters would be enough.

c) Comments that don't contain a certain percentage of spaces. Statistically speaking, Chris (or whoever) could take a reasonably long sentence out of a well-written article, and calculate the percentage of spaces in that sentence as a baseline.

d) If the comment passes all of the previous validation, come up with a vocabulary file and compare all of the words in the comment against it. Assign levels of coherence based on the percentage of word matches achieved and an ultimately lowest acceptable value that can be used to automatically reject the comment/vote pair as invalid.

So, if a comment matched 80-100% of its words with the vocabulary, it would be automatically labeled as "probably valid", and the vote/comment would be viewable by the article author who could then read it. The article author would be able to see the vote, the comment, and the member status (platinum, gold, etc), but would NOT be able to see who the person was that voted. Keep in mind that site admins WOULD be able to see who the vote came from and could take action behind the scenes to correct any problems with the voter (those who continue to perform drive-by-1's for no reason other than to cause havoc).

Notes:

The vocabulary file could be automatically created by selecting a handful of articles and parsing the text into file. Spell-check the file, and then move the words into a database table. That should cover the majority of words that might be used in a comment and would present a reasonably small vocabulary to prevent undue load on the server's CPU cycles. I figure a reasonable vocabulary would contain between 2000 and 3000 words since we're only looking for a percentage of matches.

A cleverly-constructed vocabulary list should further mitigate the server load issue.

If the comment is restricted to something like 120 characters, this will limit the number of words the voter can type, and would further reduce the server load during the vocabulary check.




"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001


GeneralNew Forum Suggestion [modified] Pin
Hans Dietrich14-Apr-07 4:35
mentorHans Dietrich14-Apr-07 4:35 
GeneralCoding Horrors Black Hole Pin
Dave Kreskowiak13-Apr-07 7:08
mveDave Kreskowiak13-Apr-07 7:08 
GeneralRe: Coding Horrors Black Hole Pin
Chris Maunder13-Apr-07 8:13
cofounderChris Maunder13-Apr-07 8:13 
GeneralVoting Pin
V.13-Apr-07 3:52
professionalV.13-Apr-07 3:52 
GeneralRe: Voting Pin
Chris Losinger13-Apr-07 6:12
professionalChris Losinger13-Apr-07 6:12 
GeneralRe: Voting Pin
Chris Maunder13-Apr-07 6:29
cofounderChris Maunder13-Apr-07 6:29 
GeneralRe: Voting Pin
Bradml13-Apr-07 15:53
Bradml13-Apr-07 15:53 
GeneralHeadline class needs leading whitespace Pin
Ravi Bhavnani12-Apr-07 10:15
professionalRavi Bhavnani12-Apr-07 10:15 
GeneralCross posting Pin
Dave Kreskowiak11-Apr-07 7:05
mveDave Kreskowiak11-Apr-07 7:05 
GeneralRe: Cross posting Pin
Ravi Bhavnani12-Apr-07 10:17
professionalRavi Bhavnani12-Apr-07 10:17 
GeneralRe: Cross posting Pin
Hans Dietrich12-Apr-07 19:52
mentorHans Dietrich12-Apr-07 19:52 
GeneralRe: Cross posting Pin
MatrixCoder12-Apr-07 20:03
MatrixCoder12-Apr-07 20:03 
GeneralRe: Cross posting Pin
Dave Kreskowiak13-Apr-07 1:38
mveDave Kreskowiak13-Apr-07 1:38 
GeneralRe: Cross posting Pin
Chris Maunder13-Apr-07 6:27
cofounderChris Maunder13-Apr-07 6:27 
GeneralSuggestion Pin
Hans Dietrich10-Apr-07 17:07
mentorHans Dietrich10-Apr-07 17:07 
GeneralRe: Suggestion Pin
Ed.Poore11-Apr-07 1:08
Ed.Poore11-Apr-07 1:08 
GeneralRe: Suggestion Pin
Ravi Bhavnani11-Apr-07 2:38
professionalRavi Bhavnani11-Apr-07 2:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.