Click here to Skip to main content
16,014,940 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

 
AnswerRe: Regarding the voting. Pin
73Zeppelin8-Jun-08 0:15
73Zeppelin8-Jun-08 0:15 
AnswerRe: Regarding the voting. Pin
Rajesh R Subramanian10-Jun-08 4:33
professionalRajesh R Subramanian10-Jun-08 4:33 
GeneralRe: Regarding the voting. Pin
CPallini10-Jun-08 5:04
mveCPallini10-Jun-08 5:04 
GeneralETA of Snippets? Pin
Hans Dietrich5-Jun-08 13:01
mentorHans Dietrich5-Jun-08 13:01 
GeneralRe: ETA of Snippets? Pin
Chris Maunder7-Jun-08 3:38
cofounderChris Maunder7-Jun-08 3:38 
GeneralRe: ETA of Snippets? Pin
Hans Dietrich7-Jun-08 22:45
mentorHans Dietrich7-Jun-08 22:45 
GeneralRe: ETA of Snippets? Pin
peterchen8-Jun-08 5:22
peterchen8-Jun-08 5:22 
GeneralMy thoughts on snippets... Pin
Shog98-Jun-08 7:18
sitebuilderShog98-Jun-08 7:18 
First, a disclaimer: i hate snippet sites. I love the idea of having snippets, but i've never seen an actual repository for them implemented in a way that didn't disgust me. Code gets added, and it rots. Frequently there are numerous submissions from numerous authors, presenting similar solutions to the same problems, rarely ever improved based on comments, never consolidated in a way that would make it easier for someone looking for a solution to pick the proper one. All too often, code is ripped directly from a project, and gets uploaded with bizarre dependencies or side-effects still in place. Comments are hit or miss; maybe the author explains why he's using ValidateRgn() instead of BeginPaint()... or maybe he leaves it up to the end-user to work out, or guess at, or just use hoping that the author wasn't on a paint-huffing binge when he wrote it.

So yeah, those are my prejudices, the reasons why i'm so down on seeing snippet articles posted here. That said...
Hans Dietrich wrote:
Images are not allowed in a snippet article.

I don't see any point to disallowing them across the board. I strongly feel that they should be removed if they aren't useful - gigantic screenshots of a snippet for calculating bounding box intersection, or someone's logo for instance. But disallowing them seems like it would only encourage the attitude of "code and run, don't think, don't write" that i fear.
Hans Dietrich wrote:
There is no download in a snippet article - readers can cut and paste from snippet page, maybe with help of special "Copy" button. (Copy button would also facilitate keeping track of usage).

I agree with this one. All code should be in the article proper, although a means of marking bits of the code as belonging to one file or another, with an option for the user to download the code in that form wouldn't go amiss (in the case of C++ especially, where traditionally even trivial bits of code often require both a .h and .cpp file... but, also handy for HTML+CSS+JS solutions, C# + XML solutions, etc).
Hans Dietrich wrote:
Snippets must be standalone - not require any third-party non-free library or SDK. Dependence on things like boost/WTL/MFC or other freely available library is OK, and should be stated in environment (see Snippet Wizard below). Snippets that are useless without purchase of vendor products are not allowed.

I don't really have a strong feeling about this; if done right, the system should work equally well for folks posting and searching for Crystal Reports formulas as it does for C++ classes, without one interfering with the other. While it certainly isn't desirable to encourage blatant advertizing via snippet-posting, i think that's only a problem if we adopt the current article system (one owner, one editor, a voting/reporting system the only option for removal of inappropriate material).
Hans Dietrich wrote:
Each snippet has its own forum just like articles.

Absolutely.
Hans Dietrich wrote:
Each snippet has rating just like articles.

I'm... not so sure. I hate the idea of allowing scores of competing snippets for a given problem and hoping that enough people vote to allow picking out the best one. What if they all have problems? What if i think the problem itself is bad ("how to disable context menus on a web page") and vote-slam all answers for that reason alone?
I'd rather give editors the power to quickly remove or combine duplicates and sub-par snippets, and leave the comment system as a means of providing feedback.
Hans Dietrich wrote:
Snippets accrue points for authors just like articles, at the rate of 10 snippets = 1 article.

Eh... Naw. Snippets aren't articles. If ten snippets together would make a good article, then the author should do that - but i expect a lot more from an article than ten random bits of code.
No reason not to keep separate stats for snippets though.
Hans Dietrich wrote:
8. You can bookmark and watch snippets just like articles.
9. Member page should have Snippets Submitted link just like Articles Submitted.

Sure.
Hans Dietrich wrote:
There could be "best snippet" monthly competition.

Eh... Naw. I fear that once you turn this into a popularity contest, any hope of collaborative review or editing goes out the window.
Hans Dietrich wrote:
The Snippet Submission Wizard should be very streamlined. There should be a (limited) space for author's comments, platform dependencies, and compile/environment requirements (e.g., "COM must be initialized before function is called", "Function only works on Vista", "Platform SDK must be installed", etc.). Snippets have a title, but no description field.

IMHO, something closer to the forum post editor might be appropriate - subject, body, replace signature with tags, improve code editing, and we're there. The rest of the stuff can be folded into either the snippet body (in comments) or as tags.

Final thoughts
As you might have guessed, i'm in agreement with peterchen that this should be a wiki-style system rather than a one-snippet-one-author system like articles. I want to go in and see that twenty people have edited a given snippet, that there have been bloody arguments over the appropriate ways to use an API, that MSDN and the KB have been referenced. I want the snippet to be the collective best work of all of CodeProject, not one author's late-night hack tossed to the dogs.

If we end up doing snippets just to cater to the mob currently hammering the article wizard with badly formatted crap, then i don't see how it'll do anything but drag down the reputation of the site as a whole. I'd hate to see that, especially when we have the chance to make it so much more.


Citizen 20.1.01
'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'

Question[Out of Topic] Re: ETA of Snippets? Pin
Vasudevan Deepak Kumar8-Jun-08 19:26
Vasudevan Deepak Kumar8-Jun-08 19:26 
AnswerRe: [Out of Topic] Re: ETA of Snippets? Pin
Hans Dietrich8-Jun-08 20:11
mentorHans Dietrich8-Jun-08 20:11 
GeneralRe: ETA of Snippets? Pin
User 17164928-Jun-08 3:58
professionalUser 17164928-Jun-08 3:58 
GeneralSumbission Wizard on Modify Pin
peterchen5-Jun-08 11:33
peterchen5-Jun-08 11:33 
GeneralRe: Sumbission Wizard on Modify Pin
Elina Blank5-Jun-08 11:50
sitebuilderElina Blank5-Jun-08 11:50 
GeneralI want submit an article but I received an error !!! Pin
Mohammad Dayyan5-Jun-08 9:42
Mohammad Dayyan5-Jun-08 9:42 
GeneralRe: I want submit an article but I received an error !!! Pin
Elina Blank5-Jun-08 10:07
sitebuilderElina Blank5-Jun-08 10:07 
GeneralRe: I want submit an article but I received an error !!! Pin
Mohammad Dayyan5-Jun-08 10:27
Mohammad Dayyan5-Jun-08 10:27 
GeneralRe: I want submit an article but I received an error !!! Pin
Zoltan Balazs6-Jun-08 10:53
Zoltan Balazs6-Jun-08 10:53 
General"Unanswered question" link seems to return all questions Pin
Simon P Stevens5-Jun-08 0:28
Simon P Stevens5-Jun-08 0:28 
GeneralRe: "Unanswered question" link seems to return all questions Pin
Christian Graus5-Jun-08 4:43
protectorChristian Graus5-Jun-08 4:43 
AnswerRe: "Unanswered question" link seems to return all questions [modified] Pin
Elina Blank5-Jun-08 4:49
sitebuilderElina Blank5-Jun-08 4:49 
GeneralRe: "Unanswered question" link seems to return all questions Pin
Simon P Stevens12-Jun-08 5:38
Simon P Stevens12-Jun-08 5:38 
GeneralSuffered minor XHTML bruises a few moments back ... Pin
Vasudevan Deepak Kumar4-Jun-08 19:54
Vasudevan Deepak Kumar4-Jun-08 19:54 
GeneralDeleted articles on RSS Pin
N a v a n e e t h4-Jun-08 4:32
N a v a n e e t h4-Jun-08 4:32 
GeneralRe: Deleted articles on RSS Pin
Chris Maunder4-Jun-08 6:04
cofounderChris Maunder4-Jun-08 6:04 
GeneralRe: Deleted articles on RSS PinPopular
Graham Shanks4-Jun-08 6:30
Graham Shanks4-Jun-08 6:30 

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.