Live data from Hacker News

Google Docs will now use canvas based rendering

workspaceupdates.googleblog.com

521–530 of 953 posts

Re: Google Docs will now use canvas based rendering

#521
post #385

Earlier quoted context omitted.

Many developers work on removing the user's choice (not) to see ads. But the pesky open nature of the web gets in the way.

I don’t think the open nature of the web gets in the way. Those developers could quite easily generate a screenshot of the website they’re building and ship the screenshot instead of the HTML/CSS/JS.

but i think screenshots are not considered accessible

Re: Google Docs will now use canvas based rendering

#522
post #503

Earlier quoted context omitted.

The dom isn't trash. Its good enough. We just need to stop making it do things it wasn't supposed to. That's why things like electron make sense a little bit. Not perfect but sensible.

That's the entire point. DOM is meant for structured web pages, not web apps. If you want to build complex web apps it is better to use your own renderer..which is exactly what Google is doing with Docs.

We should just port wine to webassembly and be done with it

Re: Google Docs will now use canvas based rendering

#523
post #485
post #433

Earlier quoted context omitted.

Thank you for articulating this. For the last decade we have had frontend developers trying to force the web to be an app delivery platform. We have bent over backwards to accommodate this. We have turned browsers into a giant pile of hacks essentially emulating their own operating systems. And for what? As soon as they're able, they say oh, the browser is a giant bundle of hacks now, let's implement our own app deli…

So, because you don't want binary blobs to be deployed over the web, you would like users to download and install binary blob native applications... And that makes things better in what way, for whom, exactly?

I'll bite.

For starters, a binary blob on your computer can be prevented from "phoning home" to collect personal data much more effectively than a web app can. Additionally, the vendor is often forced to compete with their own old software because they can't always force you to run the newest binary blob. This prevents the wholesale loss of features from products you rely on at the whim of the vendor.

Re: Google Docs will now use canvas based rendering

#524
post #257

Earlier quoted context omitted.

This is what Flutter on the web is, by the way. You can try it out here: https://gallery.flutter.dev/#/ and marvel at the impossible to select text, one of the many affordances violently excised here. If it wasn't still incredibly slow even on a cutting-edge Zen3, Nvidia 3070 system they might almost be on to something here.

A dystopia. You can't control-F in the page. Can't copy and paste a word you don't know into a translator or dictionary. Can't share text unofficially - like copy a sentence into a email, etc.

It's basically Flash [1]. What's old is new again.

[1] https://en.wikipedia.org/wiki/Adobe_Flash

Re: Google Docs will now use canvas based rendering

#525
post #437

Earlier quoted context omitted.

Flutter claims to be fully accessible: https://flutter.dev/docs/development/accessibility-and-local... Did you actually try it?

Thank you for saying "claims to". Copy pasting a response I made elsewhere: This is making a mockery of accessibility. It's the equivalent of having a company that actively discriminates against everyone not passing a internally developed test to check whether you are a "neurotypical" and then respond to criticism by pointing at the wheelchair ramp you installed on one of your entrances. If I can't copy paste words f…

I said "claims to" because I don't know how I can verify if it is. The other person responding to me correctly mention how they suggest tools to scan for accessibility issues on iOS and Android, but they don't say how to do that on the web... have you managed to somehow figure out what is not currently working, exactly?

Regarding performance: Chrome uses Skia to render the DOM, why do you think rendering Flutter, also based on Skia, should be so much worse?

Re: Google Docs will now use canvas based rendering

#526

Earlier quoted context omitted.

> but a good thing in terms of performance Performance is a poison chalice. Many, many people were won over by Chrome's blistering speed. Now they won't have proper ad blocking.

I offer Firefox as the solution.

Absolutely, Quantum was a big leap. But many people are devoted to chrome and so are developers. Many sites are still worse on Firefox than Chrome.

Re: Google Docs will now use canvas based rendering

#527
post #349

Earlier quoted context omitted.

Great, but will it ship with ad block support? Or will I be forced to look at ads, where high value individuals (most of HN) are selling their attention for pennies (being able to view a Youtube video or whatever)?

Does Google put ads on Google Docs? Anyway, adblockers that work at the network level should still work. This will make things more difficult for cosmetic removals though.

How will it work, if they are sending binary WASM blobs? This is akin to saying "pi hole can block ads in .exe files"

Re: Google Docs will now use canvas based rendering

#528
post #99

Ever since WebAssembly was first introduced, I thought it was obvious[1][2] that the end game for those that want to control the web is sending opaque binary blobs of code that only use the browser for the canvas tag's framebuffer. Font rendering and layout can all easily be accomplished by embedding libraries like freetype. This breaks all forms of user control - like ad blockers - and turns the web back into cable…

This is the endgame of putting JS/programmability (rather than just markup) in browsers at all. HTML and CSS are great for formatting documents. But, in spite of years of jQueries, Angulars, Reacts, Vues, and 10M other frameworks being implemented, HTML+CSS+JS is frankly awful for developing applications. Business needs have made us push them to be okay for enough form entry to collect credit card numbers and do bill…

I hear this take a lot. Why is HTML + JS awful for developing applications?

Re: Google Docs will now use canvas based rendering

#529

Earlier quoted context omitted.

Accessibility is a first class citizen in flutter. https://flutter.dev/docs/development/accessibility-and-local...

This is making a mockery of accessibility. It's the equivalent of having a company that actively discriminates against everyone not passing a internally developed test to check whether you are a "neurotypical" and then respond to criticism by pointing at the wheelchair ramp you installed on one of your entrances. If I can't copy paste words from your websites to put them into a translator, if I can only use your webs…

You're talking about very different issues of accessibility, one of which is the financial accessibility of client technology and reliable web connection.

That is attacked through very different means. For example, FB being free and ad funded addresses that issue; but this is a business model and not a technological standard. Society subsidizing technology is another possibility. But these very serious issues of access and the solutions to negotiate with them are very different from purely technical solutions to access.

Re: Google Docs will now use canvas based rendering

#530

Earlier quoted context omitted.

> We just need to stop making it do things it wasn't supposed to This is a thread about Google Docs. Your suggestion to the Docs team is to ... stop? Just shut down their product?

Oh no. They're google. They make a godforsaken browser. They can pay people to do nothing more than think about code. By all means. They can launch a satellite with css if they want. But the rest of us plebs...

Btw for NASA css is shorthand for Control Stick Steering, which is something you did at later stages of landing with a space shuttle.
Post reply on HN