TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Niffy: Perceptual Diffing to Catch Invisible Bugs

84 pointsby jack_hanfordabout 8 years ago

5 comments

toomimabout 8 years ago
Here&#x27;s a poor-man&#x27;s perceptual diff: Cross your eyes.<p>I&#x27;m serious. Try opening this image: <a href="https:&#x2F;&#x2F;assets.contents.io&#x2F;asset_rIfFTtwp.png" rel="nofollow">https:&#x2F;&#x2F;assets.contents.io&#x2F;asset_rIfFTtwp.png</a><p>You see two images side by side. Now slowly cross your eyes, so that the two images merge into three images. Once they align, the new <i>middle</i> image will have information from <i>both</i> your left and right eyes, and your brain&#x27;s perceptual system will automatically try to reconcile any differences.<p>You&#x27;ll see the differences as shimmering portions of the image, that tend to be shifted forward or backward in 3D space. In this example, the text at the bottom is shifted rightward in the right image, which your brain interprets as &quot;closer to the eye&quot;. Differences jump out!<p>You can use this trick any time you want to diff two screens, pieces of text, whatever! You don&#x27;t need a diff program -- your brain&#x27;s perceptual system already has one built-in.
评论 #14101488 未加载
评论 #14101474 未加载
评论 #14102368 未加载
评论 #14112605 未加载
评论 #14101156 未加载
评论 #14105137 未加载
评论 #14102609 未加载
_mikzabout 8 years ago
We are using Percy [1] for this and are extremely happy with this. Almost zero effort to set up, just some time to get random data out of our tests to have stable visual output.<p>[1]: <a href="https:&#x2F;&#x2F;percy.io" rel="nofollow">https:&#x2F;&#x2F;percy.io</a>
tluyben2about 8 years ago
Site does not work on my Android browser. Shows up but when I touch everything, the page goes white except for the top menu.
Animatsabout 8 years ago
It&#x27;s amazing when a GUI program is repeatable enough that works.
评论 #14105974 未加载
z3t4about 8 years ago
use screen coordinates for clicks as that also simulate user muscle memory.