HNHacker News
TopNewBestAskShowJobs

peeja

5 karma · joined June 8, 2011

submissionscomments
peeja··on Show HN: PuzzleMoji, a daily emoji pictionary challenge against ChatGPT
Maybe it would help to show them disabled and give an explanation like this when you try to use it?
peeja··on Show HN: PuzzleMoji, a daily emoji pictionary challenge against ChatGPT
For Superbad I hit Deadpool, Hangover, and 21 Jump Street. Ah, well.
peeja··on Dear Google, Apple, Mozilla, and MS: Please End Auto-Playing Media in Browsers
Wouldn't it be easier to just fix the CSS?
peeja··on Why We Use Om, and Why We’re Excited for Om Next
Author here. I actually glossed over some of the problems here, as the article was already getting quite long. In a trivial example like this, you're right. If you do this to the entire page, though, it gets stickier. An additional problem is that you're throwing away and rebuilding state that's associated with the elements, such as event handlers. (Also, letting React do the actual DOM manipulation makes it easier to implement transitions, where a Virtual DOM element goes away now, but the real DOM element sticks around for a bit while it animates off.)

To be fair, I haven't done actual benchmarks, and I'm basing this on the stated rationale for React. I'd be surprised if swapping out the DOM of most of the page wasn't considerably slower more difficult to work with than what React does, though.

peeja··on Never ask who is using staging again - Introducing Divergence
That's really interesting. Have you or someone else written up that workflow?