in reply to Re^2: Chatterbot update
in thread Chatterbot update

All of the link checking should be case insensitive. For cb stats purposes, there's never a reason to distinguish one from another based on case alone.

And hitting the server just to check the validity (or proper casing) of a link is a bad idea — unless you cache aggressively.

Replies are listed 'Best First'.
Re^4: Chatterbot update
by LanX (Saint) on Jun 19, 2024 at 15:44 UTC
    The number of CB users is small. Those garnering up votes even smaller.

    Just hardcoding those saints in a hash who where seen here in the last 2 years would certainly cover 99% of the cases.

    I wouldn't fear a DOS attack here, probably cavac should rather be worried about PM's lag and downtimes.

    Edit

    Such a data structure holding "last here" might lead to another nice feature: 😃

    A "Hello <MLX>! Long time no see" greeting 😉

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    see Wikisyntax for the Monastery

        > Any ideas what threshold/timeframe would be appropriate?

        I think after parsing saints in our books you can just chart the "last time here" and visually come to one or various natural thresholds.

        Edit

        If I were you I'd put the whole table into an extra module which is imported by chatterbot and updated once per week.

        The threshold for greetings depends on frequency, at some point people might get annoyed by too many of them.

        I'd start with 6 or 12 month and would adjust those settings later.

        Cheers Rolf
        (addicted to the Perl Programming Language :)
        see Wikisyntax for the Monastery