Of course. It’s often Safari.
On Rendering Diffs
61–70 of 73 posts
Re: On Rendering Diffs
#62Earlier quoted context omitted.
I agree. I'm tired of these sites with glitchy scrolling and broken search due to trying to reimplement the browser in javascript. >fixing blink doesn’t help move the web forward. Historically making one browser engine faster encourages other engines to also be made faster. And realistically Blink has the majority of the browser market share, so it is the most important one to optimize for. Trying to move the web for…
Glad we solved glitchy scrolling for now (the title of this blog post was “on rendering diffs”, not “searching diffs”). Browser search on a 36 million line diff would not by great, but it’s something we hope to have a solution for. One step at a time.
Re: On Rendering Diffs
#63I don't understand the point of the inverse sticky technique. Scrolling too fast still breaks the experience (content refuses to scroll), and in a way that, at least to me, feels more disruptive than blanking for a fraction of a second. I might just be too used to blanking. Also ... shouldn't browsers just be able to render the diff without any of the trickery? Is the browser's job actually that hard for long pages,…
And yes, browsers should be just able to render the diffs, if the styling is somewhat minimal and there is no JS: I have a 6.3-MiB large HTML file with complete transcript of a certain TV series, formatted like
Character #1: Well, that was interesting all right.
Character #2: [sigh]
Character #1: Lemme help you.
Character #3: Yeehaw!
[thump]
(the produces a small paragraph break, to indicate scene transitions), and it scrolls and searches just fine.Re: On Rendering Diffs
#64Re: On Rendering Diffs
#65Re: On Rendering Diffs
#66Re: On Rendering Diffs
#67For anyone else who's suffering, paste this in the console in devtools: document.getElementsByTagName('main')[0].style.margin = '0 auto';
I’m surprised to see such a reaction to a left-aligned content column. I’d have said it was pretty common, though probably not as common as it used to be. If I were to pick one problem with the presentation, it would rather be the font-size (12px is unequivocally too small), or the use of monospace (simply unsuitable for body text). And incidentally, HN suffers from two of these three problems.
When it was common, columns weren't so thin I think
Re: On Rendering Diffs
#68Re: On Rendering Diffs
#69I don't understand the point of the inverse sticky technique. Scrolling too fast still breaks the experience (content refuses to scroll), and in a way that, at least to me, feels more disruptive than blanking for a fraction of a second. I might just be too used to blanking. Also ... shouldn't browsers just be able to render the diff without any of the trickery? Is the browser's job actually that hard for long pages,…
Re: On Rendering Diffs
#70What an interesting article. I did not assume I would read it until the end when I opened it, but the writing was super clear and easy to follow. At the end, I admire the craft and patience to try to solve code diff rendering, and wish the folks at GitHub could put the same effort to improve their platform. On a side note, I feel that we’re going to see more and more of this type of agentic usage, in well defined sub…