questionsis there a username notification and/or linking…

vote-for13vote-against
vote-for5vote-against

let's try it

(@thepenrod)

does this send you an email in 10 minutes saying "w00tgurl mentioned you on Deals.Woot"?

vote-for5vote-against

-@thepenrod !@thepenrod _@thepenrod

i think you need to have a space before the @
i can see right away when i post that your name isn't linked, red, or underlined. so i can fix if i need to. i'm glad we get 5 minutes

vote-for4vote-against

(@thepenrod) ( @thepenrod) ( @thepenrod )

((@thepenrod)) @@thepenrod @ @thepenrod

a space or let it be the first thing in your comment/answer even if there's no space

vote-for7vote-against

@w00tgurl: You are correct in your surmise. The parenthesis will get you every time. Answer is brilliant (and correct).

vote-for3vote-against

@w00tgurl: It did indeed send me an e-mail saying you mentioned me. I don't think I got more than one per comment, though, so you can stop mentioning me (as much as I like to see my name in print).

And I knew that it has to work (for links) with a space because of other comments I've made, but if I want to mention somebody parenthetically, I just don't think it's proper grammar to have a space between the parenthesis and the @ symbol. So I was wondering if it's an html thing, or just the way woot has their stuff programmed or what.

vote-for4vote-against

@thepenrod: just how they've programmed it to recognize call-outs.

[Also, you can avoid the space if you put the call-out in quotes. That's also how you mention people with spaces in their usernames.
That is, putting (" @thepenrod") without the space comes out looking like this: (@thepenrod) ]

Edit: As you can see, it DOESN'T work like that, so consider the above a further example.

vote-for4vote-against

@trahentis: That's funny. Good try though, I hadn't thought about that.

vote-for3vote-against

@thepenrod: you should have only gotten one email that said i mentioned you, for the third comment up there. the other emails could be for "w00tgurl commented on a question on Deals.Woot" if you're subscribed to your own question thread

"want to stay up-to-date? [_] Email me when someone else adds an answer"

vote-for3vote-against

@w00tgurl: No, they were all for mentioning me. (The ones that mention me anyway, which were the first three.)

vote-for4vote-against

@thepenrod: oh weird, i thought that if the name didn't show up as clickable then it wouldn't notify. well thanks for clarifying

vote-for3vote-against

@w00tgurl: I didn't know either until you tested it out, so that's definitely good to know. And a little strange.

vote-for6vote-against

Parsing tags, mentions, links and email addresses out of free text turns out to be relatively complex and error-prone. We are continually refining the autolinking code to address issues that come up, and we only store the text, adding the links for display, so any improvements are seen across old comments as well.

This in particular is especially challenging as user mentions and email addresses overlap to some degree. It's really simple to describe the difference in English, but pretty frustrating to try and tell a regex parser the same thing. Further, FTP urls (which, for better or worse, are pretty well supported) also use @ between username and password. Parentheses are also notoriously hard for regex engines due to nesting.

I have toyed with using a Parsing Expression Grammar or something along those lines, but I believe that to be near the point of diminishing returns. Keep alerting us to any problem areas in the autolinking and we'll keep working on it!

vote-for4vote-against

@mattschuette: Wow, you definitely know lots of things I have no clue about. Probably why you do what you do and I don't.

vote-for5vote-against

@thepenrod: you should ask him about viking metal. I did not know that such a genre of music existed until he informed me.

vote-for3vote-against

@mattschuette: Dude, you rock. I suppose you've probably been at this a while... Thanks for sharing the info.

vote-for4vote-against

@agingdragqueen: Oooh, I should add an autolink for "viking metal" to some youtube video. But, there are no easter eggs as of yet… or are there?

vote-for4vote-against

So, anyway, it should work in parens without the space, I'll call that a bug. I'll make a note of that, but grammatically-correct, parenthetical mentions aren't a tremendously high priority at this point. The link/notification dichotomy is also a bug. Thanks for teasing these out @thepenrod and @w00tgurl!

vote-for3vote-against

well according to (@thepenrod), he got the notification when i used his name like this. it just didn't link his name

anyway this is confusing! so i'll say "anytime (@mattschuette)!"

perhaps you will get that notification when it's fixed snicker