5
Contributors
14
Replies
85
Views
3 Years
Discussion Span
Last Post by Dani
Featured Replies
  • 1
    Dani 1,638   2 Years Ago

    The idea is to create a product that is easy-to-use right from the start, but can "grow with you" and the more time you invest, the more features and functionality you can discover, without it being overwhelming or requiring a learning curve to figure out how to post. As you … Read More

0

Yeah, I was trying to auto tag articles and obviously there was a bug I didn't catch and now I'm trying to figure out a way to fix the situation.

0

obviously there was a bug I didn't catch and now I'm trying to figure out a way to fix the situation.

Dry run mode; always!

0

Am sure we chatted about it. Was weeding out useless tags, but now they're back, and even more than before.

0

Sanjay, I did a couple of dry runs! It worked then!

Not sure I understand. You ran with dry run mode over all the threads in your db, printed out the tags against each thread and still went with the actual run? :) I'm talking about something like this:

def addTags(thread, dryRun=False):
    for thread in threads:
        tags = getTags(thread)
        if dryRun:
            print 'Would have persisted tags: %s for thread: %s' % (tags, thread)
        else:
            persistTags(thread, tags)
0

Yes, something like that, but I just printed out a couple hundred random test cases, was happy with the results, and said, "OK good to go!" and then ran it over a million rows.

Either way, problem is being solved tonight :)

0

Should be fixed. Autotagging now working as intended ... but can always be improved upon ;)

0

I love the idea of auto-tagging -- and agree on finding ways to improve it. Maybe...

If there is a way to kill an auto-tag (as either an original poster or higher-level user?) so as to improve relevance in search results -- perhaps by adding a potential 'X' button?

e.g. my introduction post got attached the auto-tag 'highschool' and it really didn't have much to do with high school at all.

0

OK, needs more work then :) Any member who has at least 5 posts and has been a member for at least 5 days has the ability to tag/untag.

0

Just checked your community intro: It actually has no tags, and wasn't auto-tagged for high school. Instead what you were seeing was the tag cloud at the bottom of the page. Because the specific article hasn't been tagged for anything specific, we create a 'tag cloud' for the entire Community Introductions forum as a whole. You'll notice how that differs with, let's say, this thread where it says "View similar articles that have also been tagged: tags development software"

0

Thank you for enlightening me.

I didn't know / notice the difference.

I am still discovering more and more about this site's structure, and I find it fascinating.

You have so many gears and cogs running, and I envy the work put in to get them all working in harmony -- and I love it.

I am eventually going to look for this legendary code snippet repository, because there's a chance I'll raid it for knowledge.

1

The idea is to create a product that is easy-to-use right from the start, but can "grow with you" and the more time you invest, the more features and functionality you can discover, without it being overwhelming or requiring a learning curve to figure out how to post.

As you said, everything works together in harmony, including our code snippets. Simply drill down into the forum category you're interested in, and you'll be presented with a single timeline of everything relevant to that category. You can optionally filter by type.

https://www.daniweb.com/web-development/php/code/_/17

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.