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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

How serial #s on Nazi tanks gave the Allies a big strategic advantage

93 点作者 DanLivesHere超过 14 年前

7 条评论

tptacek超过 14 年前
This is a really common web app flaw as well; there's almost always something your app does that reveals how many customers you have (or how much business you're doing) to any stranger with an account.
评论 #1819154 未加载
评论 #1818379 未加载
评论 #1819133 未加载
评论 #1818427 未加载
评论 #1818450 未加载
评论 #1818726 未加载
评论 #1821625 未加载
评论 #1818957 未加载
评论 #1818686 未加载
RiderOfGiraffes超过 14 年前
Title and timing are everything - two versions of this story submitted previously, each to complete indifference:<p><a href="http://news.ycombinator.com/item?id=1814905" rel="nofollow">http://news.ycombinator.com/item?id=1814905</a><p><a href="http://news.ycombinator.com/item?id=1810568" rel="nofollow">http://news.ycombinator.com/item?id=1810568</a><p>Why has this story suddenly sprung to life in the media?
评论 #1819324 未加载
CountHackulus超过 14 年前
Just a nitpick, but the article didn't explain how this piece of intel gave them a big strategic advantage, it just explained that they got this piece of intel.<p>Had to look this up on Wikipedia for a more thorough explanation.
评论 #1818449 未加载
评论 #1819296 未加载
jhferris3超过 14 年前
"the Germans produced 255 tanks per month -- a fraction of the 1,400 estimate produced by conventional intelligence. (Want to see the math? Click here.) And it turns out, this method worked best: after the War, internal German data put the number at 256 tanks per month. "<p>Obviously, we were counting from 0. Stupid off by one errors. :)
bl4k超过 14 年前
auto increment considered harmful, from joshu:<p><a href="http://joshua.schachter.org/2007/01/autoincrement.html" rel="nofollow">http://joshua.schachter.org/2007/01/autoincrement.html</a><p>Your tables almost always have a better unique key to use as a primary key other than auto increment (which sorts your table by the order they were inserted in - almost always useless outside of a blog).<p>Getting out of the habit of beginning the design of your tables with ID int autoincrement is a good thing. Even better if web frameworks stopped depending on it and setting it as the default primary key and ID used in views/routes.
评论 #1819311 未加载
评论 #1819662 未加载
评论 #1819646 未加载
martey超过 14 年前
This was linked in the article, but it has significantly more math and more historical examples: <a href="http://en.wikipedia.org/wiki/German_tank_problem" rel="nofollow">http://en.wikipedia.org/wiki/German_tank_problem</a>
TGJ超过 14 年前
I will now work snafu into all my conversations for the next week. Great article.