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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

The faulty digital clock problem

91 点作者 andersource将近 4 年前

8 条评论

gzalo将近 4 年前
One thing I noticed a few years ago but never wrote about it: Some sequences of numbers might be interpreted differently (increasing instead of decreasing) if you cover some of the segments up! <a href="https:&#x2F;&#x2F;imgur.com&#x2F;a&#x2F;B2LZjqC" rel="nofollow">https:&#x2F;&#x2F;imgur.com&#x2F;a&#x2F;B2LZjqC</a><p>That happens when viewing off-axis some of the traffic lights that have a weather shield, like this: <a href="https:&#x2F;&#x2F;upload.wikimedia.org&#x2F;wikipedia&#x2F;commons&#x2F;3&#x2F;3a&#x2F;Semaforo_de_Avenida_Pueyrredon.JPG" rel="nofollow">https:&#x2F;&#x2F;upload.wikimedia.org&#x2F;wikipedia&#x2F;commons&#x2F;3&#x2F;3a&#x2F;Semaforo...</a>
marcan_42将近 4 年前
I can&#x27;t help but feel bothered by the fact that the author didn&#x27;t use the standard 7-segment display nomenclature&#x2F;order for the segments (a-f clockwise starting from the top, middle is g) :-)<p>Another thing to note is that there isn&#x27;t one standard 7-segment display font; in fact, whole papers have been written on the &quot;optimal&quot; font. The differences are the extra serifs that are optional on 7, 9, 6. It would be interesting to add this variability to the problem, where you don&#x27;t know exactly what variant the clock is using.
评论 #27359489 未加载
评论 #27351670 未加载
______-将近 4 年前
Slightly tangential thing I learned: Have you ever wondered why VCR clocks always showed 12:00 and were never set[0]?<p>It&#x27;s because people simply didn&#x27;t bother set the time on the VCR. I learned this from Mikko Hyppönen when he was telling us that people never change the default password on their IOT devices allowing hackers to access the devices and probably use the devices for cryptocurrency mining or launching a DDoS attack.<p>[0] <a href="https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;AskReddit&#x2F;comments&#x2F;3a06hk&#x2F;were_vcr_clocks_actually_very_difficult_to_set&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;AskReddit&#x2F;comments&#x2F;3a06hk&#x2F;were_vcr_...</a>
评论 #27349772 未加载
评论 #27353299 未加载
评论 #27351658 未加载
tzs将近 4 年前
That is assuming 6 segments for “6” and 5 for “9”. It is most common to use 6 for “9” also. Does it change the answer if the clock does that? How about if it uses 5 for both? Or 5 for “6” and 6 for “9”?<p>I think every display I’ve checked either uses 5 for both or 6 for both. I don’t recall ever seeing them mixed.<p>“7” also varies, using 3 segments most commonly but sometimes 4.
评论 #27351186 未加载
rahimnathwani将近 4 年前
This reminds me of Peter Norvig&#x27;s Sudoku solver: <a href="https:&#x2F;&#x2F;norvig.com&#x2F;sudoku.html" rel="nofollow">https:&#x2F;&#x2F;norvig.com&#x2F;sudoku.html</a>
atamyrat将近 4 年前
Also check out z3 library for solving constraint satisfaction problems.<p>Python binding examples (<a href="https:&#x2F;&#x2F;ericpony.github.io&#x2F;z3py-tutorial&#x2F;guide-examples.htm" rel="nofollow">https:&#x2F;&#x2F;ericpony.github.io&#x2F;z3py-tutorial&#x2F;guide-examples.htm</a>) has really cool similar problems and solutions.
LeonB将近 4 年前
I was hoping the clock would turn out to be upside down, or reflected in a mirror or both.
CRConrad将近 4 年前
A woeful <i>sight</i> strikes your eyes.