TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Couldn't HN Submit say a link was already submitted even if title gt 80?

1 点作者 chris-at超过 9 年前
Could HN Submit tell me if a link was already submitted before asking me to shorten the title to 80 chars?

2 条评论

DrScump超过 9 年前
1) do you <i>read</i> HN, and if so, did you see it posted in the last couple of days? Or if not, did you use the search box at the bottom of every page (other than Submit itself) to see?<p>Title-matching is not useful dupe detection, since submitters can (and are encouraged to) change titles if the original title is not suitable.<p>URL matching as dupe detection only works if it is an unadorned URL without added parameters or phony fragment identifiers (like medium or signalvnoise).
gus_massa超过 9 年前
For this kind of questions, it&#x27;s better to email dang ( hn@ycombinator.com ) directly to get a faster answer, sometimes the thread like this are unnoticed.<p>I think it&#x27;s possible. I guess it&#x27;s just exchanging the order of two `if`, but in similar cases I prefer to put the faster condition first, because the other involves searching the &quot;db&quot;[0].<p>[0] Note: If they didn&#x27;t change the architecture, the &quot;db&quot; is actually a bunch of text files.
评论 #10940641 未加载