News for hackers. Stuff that matters.
Re:Signifier – a Brutalist response to 17th century typefaces by RaoulP on Tuesday August 25, 2020 @02:44PM (#24274594)
Same here - macOS, Safari, and I've never heard my fans spin so loudly before. I wonder what causes it.
Re:Signifier – a Brutalist response to 17th century typefaces by earthboundkid on Tuesday August 25, 2020 @03:58PM (#24275415)
React is the new PHP: a dangerously welcoming ecosystem for amateurs. If you look at the trace, you see it's firing a timer for LazyImage every 300 milliseconds that that's causing constant repaints. It's terrible, but no one believes in craftsmanship anymore. :-)

            // Give react a chance to render before starting to poll
            // This gives us more chance of the opacity transition being visible
            // Should also fix rendering glitches in firefox where native image placeholder shows briefly
            setTimeout(pollForComplete, 300);
        },
Re:Signifier – a Brutalist response to 17th century typefaces by jazzyjackson on Wednesday August 26, 2020 @12:25AM (#24279100)
Hmm, settimeout is one shot, setinterval is the repeating one, unless that’s calling itself recursively?

Anyway using delays hoping that things are in place in 300ms is asking for trouble, I thought reacts whole thing was to put everything in a component lifecycle callback so everything happens in the order it needs to

Re:Signifier – a Brutalist response to 17th century typefaces by earthboundkid on Wednesday August 26, 2020 @06:56AM (#24281251)
Good point! There must be some other interval causing the timer to be set.
Re:Signifier – a Brutalist response to 17th century typefaces by editkid on Wednesday August 26, 2020 @07:34PM (#24288532)
Hello! Thanks for having a fossick through our code ;) Happy to report that the issue has now been resolved. I've added a post explaining the underlying cause a little up in the thread. (I'm not sure how notifications work on HN, so figured I'd drop a reply here, too).
Re:Signifier – a Brutalist response to 17th century typefaces by earthboundkid on Wednesday August 26, 2020 @10:37PM (#24289640)
Awesome!
Re:Signifier – a Brutalist response to 17th century typefaces by tln on Tuesday August 25, 2020 @02:58PM (#24274734)
Doesn't seem to happen on the font information page:

https://klim.co.nz/retail-fonts/signifier/