219 karma · joined June 3, 2023
From the game's script:
function isFibonacci(numberToCheck) {
return (
isSquare(5 * numberToCheck * numberToCheck + 4) ||
isSquare(5 * numberToCheck * numberToCheck - 4)
)
}
How does that end up working for all numbers?Kraken Security Update, 5 points by lopkeny12ko 10 hours ago | 1 comment https://news.ycombinator.com/item?id=40729804
Not seeing anything novel here, tests should have compared with multishot.
I noped out of even considering it as a hobbyist as soon as i noticed that part.
How would this be better for mass manufacture compared to a vernier pattern capacitive encoder as seen in cheap calipers such as [1] ? I'm pretty sure photodetectors would be more expensive than capacitive sensors.
AFAIK these are also based on an expired patent which i believe to be US4743902 [2], that was mainly used by Mitutoyo.