|
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.
|
|
|
|
|
For the last couple of hours, forum page loads seem to happen in a different way.
First the headers and the leftside menus appear, together with a big orange panel, ready to show
the messages. Then all, or first some then all, expected messages appear.
Not sure I like all this flashing stuff, especially the abundance of the CP orange color (which
is quite OK in small doses).
[ADDED]
example from Lounge, where it is most prominent:
http://www.perceler.com/temp/lounge1.jpg[^]
http://www.perceler.com/temp/lounge2.jpg[^]
http://www.perceler.com/temp/lounge3.jpg[^]
[/ADDED]
modified on Friday, July 18, 2008 7:25 PM
|
|
|
|
|
Dial-up will always be horrible and it is only when you upgrade to a faster internet when you don't have to worry about this. Unfortunately I have dial-up, however, I don't seem to see a problem with the coloring as it loads.
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
|
|
|
|
|
Chris' message below suggests you are not using FireFox then?
Cheers.
|
|
|
|
|
This will happen if your connection is very slow, the servers are having a bad day and/or you're using Firefox. When Firefox renders only part of the page it fills in the gaps as best it can until it gets more info.
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
OK, I am using FF most of the time, my connection is fine (ADSL), so lets blame your servers.
If it happens again, I will try IE.
Regards,
|
|
|
|
|
I would like to be able to post to the CodeProject forums from either my home system or my company workstation. In order to receive notification of responses regardless of which computer I post from, I would need both email addresses registered with the forum. I realize this would add some overhead for you guys to deal with, but it doesn't seem like it would be appreciable.
How about it?
|
|
|
|
|
This would be messy. So many users find it hard enough managing a single email address that adding multiple emails that members would lose, would become inactive, would change etc would just cause us headaches.
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
Chris Maunder wrote: This would be messy.
I agree. That is why I have my email address for CP tied to my blackberry
When there are truckloads of replies coming in, my blackberry makes me sound very important/busy
"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
|
|
|
|
|
Hi,
you could set up a free web-based email account devoted to CP, and either check that regularly,
or have it forward everything to both your regular email addresses. Or use an iPhone, a BlackBerry, ...
|
|
|
|