4 ms·
I think I would describe this as an example of hysteresis. Neat! https://en.wikipedia.org/wiki/Hysteresis https://en.wikipedia.org/wiki/Hysteresis
by hurrell 24d ago
I think I would describe this as an example of hysteresis. Neat!
https://en.wikipedia.org/wiki/Hysteresis https://en.wikipedia.org/wiki/Hysteresis
- xg15 24d agoInterestingly, there are more use cases for hysteresis in UI design, e.g. it was famously used in nested menus in Windows: https://www.mackido.com/Interface/hysteresis.html https://www.mackido.com/Interface/hysteresis.html I think there was also an article about it on The Old New Thing, but I can't seem to find it anymore.
- lelandfe 24d agoLike the HN post we're commenting on, so too does this example also get regurgitated every few years. Find modern examples by Googling "menu safe triangle." Here's one from 5 days ago https://www.framer.com/blog/cursor-trajectory/ https://www.framer.com/blog/cursor-trajectory/ > I asked the Framer Agent to fix it, and within minutes it had built and applied what I now call trajectory-based menu aim
- anonymars 24d agoIs this the one? https://devblogs.microsoft.com/oldnewthing/20080619-00/?p=21903/ https://devblogs.microsoft.com/oldnewthing/20080619-00/?p=21...
- thaumasiotes 24d ago>> Hysteresis is the dependence of the state of a system on its history. For example, a magnet may have more than one possible magnetic moment in a given magnetic field, depending on how the field changed in the past. How is this different from the observation that, say, a non-magnetic iron ball may have more than one possible velocity in a given gravitional field, depending on whether it was recently thrown upward or dropped from above?
- deleted 24d ago[deleted]
- womble2 24d agoA ball dropped near the earth's surface will always fall towards the centre of the earth at ~9.81m/s^2 no matter what it has done previously. A chunk of iron put into a 1μT magnetic field will behave differently depending on what other magnetic fields it has been in recently.
- thaumasiotes 24d ago> A ball dropped near the earth's surface will always fall towards the centre of the earth How exactly does this address "whether it was recently thrown upward or dropped from above"? A ball in a given location will do something unpredictable if you have no information about its past. Is that hysteresis?
- nkrisc 24d agoYou don’t need information about its past. Everything you need to know to predict its future state is contained in its current position and velocity at the moment you measure it.
- yummybrainz 24d agoIs there no measurable quantity in the current state of a magnetized ball that would predict its behavior in a magnetic field then? I'd be surprised if that were the case: seems like it'd violate some sort of "locality", where the future should depend entirely on the present state. Is it just that there's unidentified present state that's perhaps more easily characterized by knowing the history? Or is it somehow unidentifiable in principle?
- PowerElectronix 24d agoYeah, the current magnetization of the sphere carries all the history of the magnetic fields it's been in in its value. The hysteresis in the material only means that if you apply 1T to it to magnetise (supposing the ball starts with zero magnetisation) it and then apply 0T to demagnetise it, the remanent field in the ball would be like 0.4T due to hystetesis, you need to apply something like -0.4T to leave it as it started.
- skrebbel 24d agoUmm, either I'm misunderstanding or this holds for nearly every UI everywhere, no? Like if I click "reply" on HN I'm moved to the screen I now type this comment in. That means my current state depends on history, too, no?
- anonymars 24d agoIf you click "reply" and copy the resulting link, there is no difference in behavior if you go straight to that link vs clicking "reply" to get there instead Think of a state diagram: "you are at the reply screen" is one and only one state. "The tooltip is shown" is a behavior of more than one state, with different paths to get to those states
- amelius 24d agoMore like Schmitt trigger. https://en.wikipedia.org/wiki/Schmitt_trigger https://en.wikipedia.org/wiki/Schmitt_trigger