Re:Koomey's law
by AnimalMuppet on Friday March 31, 2017 @01:27PM
(#14006005)
But that's network lag, not computation inefficiency. Compare either a spreadsheet program running on a mainframe back around 1990 to Google Sheets, or else compare a DOS spreadsheet to a spreadsheet running locally on Windows today.
[ Parent
| on HN ]
There are many causes of lag. The parent was referring to the case of "I'm typing a bunch of data into a bunch of cells". Network connectivity should not (necessarily) cause lag in that in case: it should let the client side update without interruption, and then pass data over to the server as it is able.
If network syncing is interfering with user text input, something is wrong with that design.
Edit: The historical analogy would be like if you were entering data (offline) into your Lotus cells, but your computer would keep freezing up so the modem could reconnect. Somehow they kept those decoupled back then!
>But that's network lag, not computation inefficiency.
It's also huge computation inefficiency. Because suddenly to enter the text we involve network calls (hence the network lag), drawing in the context of a browser, the DOM, a JS engine, and other crap.
Would still be an interesting comparison, with some Electron apps using 16% CPU to blink the cursor.
Is that true? Google Sheets should work even without an internet connection. I didn't think the syncing would cause a noticeable slowdown.
Re:Koomey's law
by dredmorbius on Friday March 31, 2017 @05:18PM
(#14008362)
I get multi-minute lag on interactions and text input all the fucking time on Android with either Firefox or Chrome.
I can generally avoid this by dropping to a dedicated editor app (by preference, now that I've got Termux, Termux-API, and clipboard access: vim from a bash shell).
But one thing I can assure you this isn't is network lag.
You should see the horrible lag in latest Excel on OS X
Re:Koomey's law
by adrianratnapala on Friday March 31, 2017 @02:58PM
(#14006991)
But why does the network need to be involved at all?