News for hackers. Stuff that matters.
Re:Choosing between names and identifiers in URLs by Moter8 on Tuesday October 17, 2017 @03:01PM (#15493782)
Strangely enough, discourse uses the following style:

https://meta.discourse.org/t/deleted-topics-where-are-they/2...

/t/ for topic, slug for readability, then a topic id and at last a reply id.

Re:Choosing between names and identifiers in URLs by detaro on Tuesday October 17, 2017 @03:02PM (#15493795)
and your comment is the perfect demonstration why: when truncated, the id gets cut off before the slug.
Re:Choosing between names and identifiers in URLs by TeMPOraL on Tuesday October 17, 2017 @03:45PM (#15494221)
Which is... something you don't want to happen, right?
Re:Choosing between names and identifiers in URLs by StavrosK on Tuesday October 17, 2017 @07:33PM (#15495833)
To be fair, if you truncate a url for anything other than display, it's toast (which is why no sane person truncates URLs except for display).
Re:Choosing between names and identifiers in URLs by detaro on Tuesday October 17, 2017 @03:49PM (#15494255)
Right, I was thinking purely display truncation, like here. Surviving copy-paste from here or other actual truncation it's bad, true.
Re:Choosing between names and identifiers in URLs by ehsankia on Tuesday October 17, 2017 @03:45PM (#15494225)
So does reddit. Go to any comment section. You can remove the latter part with the title and only leave the identifier, and the link will still work. The short link actually only contains the identifier.