|
marketing drivel dreamed up my those
change "my" to "by"
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Oops
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
I took a hand at approving some articles today and discovered most of them were stuck there because they were crappy but what all the truly immediately obviously crappy ones had in common is that they contained the template text in them.
It would behoove you to automatically scan for template text in the article then bump it back to the submitter if it contains any with an explanation and prevent it from even getting submitted.
"It's so simple to be wise. Just think of something stupid to say and then don't say it."
-Sam Levenson
|
|
|
|
|
Exactly what I was going to suggest.
|
|
|
|
|
Hi,
I suggested this several months ago, to no avail.
I am currently developing an app that does this and more.
|
|
|
|
|
Oops, sorry, I didn't see that suggestion.
"It's so simple to be wise. Just think of something stupid to say and then don't say it."
-Sam Levenson
|
|
|
|
|
No problem.
Unfortunately, noboby picked up the idea; so I am coding away right now.
|
|
|
|
|
John C wrote: It would behoove you to automatically scan for template text in the article then bump it back to the submitter if it contains any with an explanation and prevent it from even getting submitted
We tried this but don't have an effective way of scanning. I've tried a couple of algorithms but overall nothing was reliable enough to really make a difference.
I'm always happy to try new algorithms
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
I'm not sure I understand, you're simply looking for your own templates phrases. If a submitted article contains the phrase "(Optional) Is there any background to this article that may be useful such as an introduction to the basic ideas presented? " or "Did you learn anything interesting/fun/annoying while writing the code? Did you do anything particularly clever or wild or zany? " it is clearly not ready to be submitted.
Or do you mean dealing with some other aspect of it?
It doesn't have to be 100% reliable, it can err on the side of giving the benefit of the doubt but if either of those phrases appears exactly as they are then it's clearly not something the author intended to say in their article. A simple string search would find them in an instant and weed out the worst.
"It's so simple to be wise. Just think of something stupid to say and then don't say it."
-Sam Levenson
|
|
|
|
|
Hi John,
there are a few small issues, such as:
- it must be safe, there should not be false positives, rejecting perfectly good articles;
- there is a lot of stuff added to an article, even the crappiest article yields 50KB of HTML code
right now. I see quite some opportunities to use Regex here!
- of course, the article content can be aything, and the HTML generated by CP seems like a heavily
moving target, so defensive programming is required.
|
|
|
|
|
I must be missing something big here because this problem seems ultra trivial to resolve.
It's *never* a false positive if any of the strings I quoted from the template higher up in this thread are present.
For Chris and co. they can simply compare the statistically improbable phrases of the current template to the article if any are present then send it back to the submitter to complete it properly. Easy peasy as far as I can see.
"It's so simple to be wise. Just think of something stupid to say and then don't say it."
-Sam Levenson
|
|
|
|
|
Yes, I agree simply testing for a few sentences could improve things.
For a while. It would soon teach the crappy-article-authors to discard those
template sentences, rendering their articles even shorter and sillier.
In the mean time I have finished my first test tool, and sent it to Chris.
It checks those sentences, but also for the presence of download files, images,
code snippets, and reasonnable title and article length.
That will make it harder to get a crappy article trough, while not hindering
any of the regular articles.
|
|
|
|
|
It's easy to check specifically for sentences. However, I don't want to be hardcoding anything - I want an algorithm that will take the template, take an article, and tell me how likely it is that the article contains major portions of the template. Any major (complete sentence, say) at any point in the article. This means that I have to make the template well-worded enough so that it doesn't contain sentences that may legitimately appear in an article.
Or I can look for just whole sections of the template, defined as anything from a H2 to a block-type element that isn't P. A single character can throw this off so it needs to be flexible.
In the end it's a basic Diff algorithm but I just don't have one handy, and at the moment we have more important bugs to squash so have been resorting to the tried-and-true check-moderation-queue-and-delete-the-duds algorithm.
Basically I need more hours in the day.
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
Chris - my apologies if my small attempt at code to weed out the crap wasn't up to snuff.
|
|
|
|
|
No apologies needed Pete. You know the law about making something idiot proof and the Universe just making a better idiot...
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
I want to delete my articles (Why? They are outdated and stupid! I am more mature now!)
When I had login, at top of the page of my 1st article, there were a "delete" button. I have pushed it and the article deleted.
But I can not delete my other articles.
Is this a bug?
Kaveh Shahbazian
|
|
|
|
|
Kaveh Shahbazian wrote: But I can not delete my other articles.
You may like to write to webmaster (at) codeproject.com with the article details so that the CP Admin Team can help you out with your request.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
All the world's a stage,
And all the men and women merely players.
They have their exits and their entrances;
And one man in his time plays many parts... --William Shakespeare
|
|
|
|
|
Send an email to submit@codeproject.com and we will remove them.
However, just because you may have outgrown them doesn't mean they aren't of use to others.
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
I posted a message[^] to my Code Project blog. It looks like I forgot to put in a closing pre tag for the code (I know, I should have previewed the post before posting it). For some reason, this error has hidden the "edit" link at the bottom of the post; I can't find it. So I'm unable to edit or delete my post.
|
|
|
|
|
Fixed.
Gotta fix that damn bug Sorry
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
Chris Maunder wrote: Fixed.
Thanks, Chris!!
|
|
|
|
|
Hi CP guys:
Will be useful a private reminder option inside My CodeProject, to write my own Article Wish List, that is, the articles I wish to publish in the future.
Best regards,
Jaime.
|
|
|
|
|
That would be an interesting option. The ability to have a TODO list. I personally just keep a list on my computer with Outlook or another program.
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my homepage Oracle Studios
Discounted or Free Software for Students:
DreamSpark - downloads.channel8.msdn.com
MSDN Academic Alliance - www.msdnaa.com
|
|
|
|
|
Interesting idea...
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
I tried to use some workaround for this, like My Blog, but I don't want to make my list public, also I cannot edit the list, I have to post again an updated list.
Best regards,
Jaime.
|
|
|
|