News for hackers. Stuff that matters.
Re:Why is the Google Cloud UI so slow? by simonw on Wednesday December 09, 2020 @10:16AM (#25359311)
What do you find lacking about GitHub's frontend?
Re:Why is the Google Cloud UI so slow? by cstrahan on Wednesday December 09, 2020 @11:44AM (#25360551)
For one, they're using some sort of link / browser history hijacking (something like https://github.com/turbolinks/turbolinks, IIRC) which is buggy, for example:

* say you're on page A

* navigate to page B

* navigate to page C

* click your browser's back button, hoping to be back at page B

* the github UI screws up and keeps you on the same page while changing the URL in the address bar

* so you click back again

* now your on page A, completely skipping page B

* clicking forward takes you back to C

Additionally, GitHub is insanely slow. This page, for example, takes 3 seconds to load: https://github.com/Boemska/create-sas-app/commit/85224fe6622...

Couple broken history back/forward navigation with long page load times and GitHub is easily one of the most frustrating web sites to use.

Don't get me wrong, I'm not arguing that GitHub doesn't have value -- it most certainly does -- but that doesn't excuse bugginess and absurdly long page load times. If they fixed these problems it would be 100% awesome.

Re:Why is the Google Cloud UI so slow? by noisem4ker on Wednesday December 09, 2020 @04:56PM (#25365814)
The page switch fuckery I'm noticing is not quite as severe as what you described, but still annoying:

* say you're on page A, an open pull request

* merge the pull request

* switch to a different site entirely

* go back to github's page A

* notice how it shows the pull request as if it wasn't merged yet

* refresh the page and see the status switch to merged

I'm using Firefox and I've never tried reproducing this on Chromium.

Re:Why is the Google Cloud UI so slow? by Chyzwar on Wednesday December 09, 2020 @04:56PM (#25365806)
For me this page render instantly. i5 2500K, 16 GB RAM on Linux (I do have some aggressive tweaks).

Back and forward work great on GitHub. My mouse has additional buttons for these.

Re:Why is the Google Cloud UI so slow? by cstrahan on Monday December 14, 2020 @04:57PM (#25423930)
> For me this page render instantly. i5 2500K, 16 GB RAM on Linux (I do have some aggressive tweaks).

My machine: Intel(R) Core(TM) i7-6850K CPU @ 3.60GHz, 128 GB RAM on Ubuntu Linux 20.04.

> My mouse has additional buttons for these.

Similar. As a sibling post mentions, the history hijacking does some nasty stuff -- unless you're lucky or something, I guess.

Re:Why is the Google Cloud UI so slow? by Raymonf on Wednesday December 09, 2020 @04:05PM (#25364972)
What browser are you on? The navigation issues don't happen for me on Chrome.
Re:Why is the Google Cloud UI so slow? by cstrahan on Monday December 14, 2020 @02:40PM (#25422172)
The latest Chrome. This has been a problem I've experience for years.