Live data from Hacker News

The GitHub website is slow on Safari

github.com

171–180 of 367 posts

Re: The GitHub website is slow on Safari

#171

GitHub moved to a JavaScript rendering mode almost as soon as Microsoft bought it. Previously, I had been able to browse it with JavaScript disabled on my 2011 Mac Mini which Apple stopped allowing upgrades on past macOS 10.13. So even if I enable JavaScript, I can no longer browse GitHub, because they didn't bother to make their build compatible with browser versions as old as mine. It's hard to know which member of…

> on my 2011 Mac Mini which Apple stopped allowing upgrades on past macOS 10.13 I know some people feel like Apple is aggressive in this respect, but that's an 8 year old version of a browser. That's like taking off all of the locks on your house, leaving the doors and windows open all while expecting your house to never have uninvited guests.

> That's like taking off all of the locks on your house, leaving the doors and windows open all while expecting your house to never have uninvited guests.

Depending on where you live (or what websites you visit) it's not unreasonable.

Re: The GitHub website is slow on Safari

#172
It's been very clear to me for quite awhile that they have to be doing this to push users to their mobile app, at least on iOS. I used to review PRs on my phone at night, but now I have to use the app because anything over a thousand lines will crash iOS Safari or cause scrolling to misbehave. Reddit has done the same over the years, as have countless other web apps.

You really can't escape the enshittification.

Re: The GitHub website is slow on Safari

#173
post #132

This thread has really opened my eyes to how much the world hates react developers, I am one. Unrealistic timelines, implementing what should be backend logic in frontend, there's a bunch of ways SPA's tend to be a trap. Was react a bad idea? Can anyone point to a single well made react app?

> a single well made react app What about Slack, the messenger? Umm, Discord? SoundCloud? Trello? Bandcamp? Spotify? If I keep going there are actually hundreds and thousands of well-made react apps.

Ah, since Atlassian has been increasingly messing with Trello over the past couple years, it has really gone to shit. I currently have a Firefox profile dedicated solely to it, using >2 gigs of memory and about 1/3 of an M1 core. It has cumulatively used about a day's worth of CPU time in since I booted in 6 days ago. In contrast, the profile dedicated to Slack is using 750 MB and has burned about 27 minutes of CPU time.

Re: The GitHub website is slow on Safari

#174
post #139

Earlier quoted context omitted.

But Apple is also the one locking Safari to the OS, IE style. Having to buy a new machine to get the latest and secure version of a browser is a pretty heavy requirement.

i mean there are also lots of browser options to be fair. should they be locking safari to the OS, definitely not. but users can just go download another browser if they are actually concerned.

Will modern versions of those other browsers still work on an 8 year old OS, or has it been updated where it is no longer compatible? So much effort has been put into hardware rendering, and the mechanisms for the browser to interact with that hardware has changed within those OS versions. Forcing the user to download an older compatible version of the browser to work with the older OS is also tossing away potential security fixes.

Re: The GitHub website is slow on Safari

#175

Earlier quoted context omitted.

> The problem is they abandoned rails for react. Which, it seems, was a result of the M$ acquisition: https://muan.co/posts/javascript

fyi this page detects a hacker news referrer and sends you in an infinite loop. Have to open the link via copy-paste.

Lol I respect that https://muan.co/no-yc/

Re: The GitHub website is slow on Safari

#176

Earlier quoted context omitted.

> The problem is they abandoned rails for react. Which, it seems, was a result of the M$ acquisition: https://muan.co/posts/javascript

fyi this page detects a hacker news referrer and sends you in an infinite loop. Have to open the link via copy-paste.

Firefox has a setting in about:config to only send referrer headers when navigating to links on the same base domain.

network.http.referer.XOriginPolicy = 1

Re: The GitHub website is slow on Safari

#177
post #90

Earlier quoted context omitted.

I’m pretty sure they used to do syntax highlighting on the server before and it was fast. Now they send down unhighlighted text that seems to choke the browser with anything but the smallest diffs.

Whoever had a KPI for improving server performance and decreasing cost got their promotion that quarter, that is for sure.

Servers cost money, the client is free (and pays you sometimes)!

Re: The GitHub website is slow on Safari

#178
post #132

Earlier quoted context omitted.

> a single well made react app What about Slack, the messenger? Umm, Discord? SoundCloud? Trello? Bandcamp? Spotify? If I keep going there are actually hundreds and thousands of well-made react apps.

Discord is well-known to be very buggy, e.g. the search function. Spotify is also very slow with thousands of placeholder skeletons. Remember that Spotify once had a very fast native player.

> Spotify is also very slow with thousands of placeholder skeletons. Remember that Spotify once had a very fast native player.

Are you under the impression that the placeholder skeletons are there and slow because of React? How would a UI written in C++ get the data quicker from the back end to replace the skeleton with?

Re: The GitHub website is slow on Safari

#179
post #62
post #53

Earlier quoted context omitted.

You're right. The technology is not necessarily flawed. It is more about the people who decided to use it and the way in which they used it.

exactly. I don't want to do a "no true scotsman" to defend React, but circumstantial evidence suggests that they wildly misused the tool

So PHP <6 was a great language?

Re: The GitHub website is slow on Safari

#180

The Github website is slow everywhere. It is truly a piece of shit software both in terms of performance but also UX/UI and everything in between. It's a product of many cooks and their brilliant ideas and KPIs, a social network for devs and code being the most "brilliant" of them all. For day to day dev operations is something so mediocre even Gitlab looks like the golden standard compared to Github. And no, the pro…

It is quite snappy in my Firefox on Windows. Never had any issues with it. The page the person on the issue had loading for 10s, takes almost 2s here.

[deleted]
Post reply on HN