Live data from Hacker News

The GitHub website is slow on Safari

github.com

341–350 of 367 posts

Re: The GitHub website is slow on Safari

#341
post #275

Earlier quoted context omitted.

I love the explanation in the linked site: > Writing on the internet can be a two-way thing, a learning experience guided by iteration and feedback. I’ve learned some bad habits from Hacker News. I added Caveats sections to articles to make sure that nobody would take my points too broadly. I edited away asides and comments that were fun but would make articles less focused. I came to expect pedantic, judgmental feed…

> Pedantism is the lowest form of pseudo-intelligence. You can’t just lay this bear trap of an opportunity and expect me to not pedantically state that the word is either “pedantry”, the activity performed by pedants, or “pedantic”, to describe such activities. “Pedantism” would be a philosophy or viewpoint that extols pedantry. Pedantism would be to pedantry as deontology is to rule-following, a justification of an…

I added Pedantism to my spell checker, so now it's not red anymore. Checkmate.

Re: The GitHub website is slow on Safari

#342

Another website that is so slow it's unusable is Stripe. My CPU goes to 100% and fans roaring every time I load the dashboard and transactions. I can barely click on customers/subscriptions/etc. I can't be the only one...

Glad I’m not the only one experiencing this. The Stripe dashboard constantly freezes up for me, even registering a click takes 10-20 seconds. Often it will just go white. Incredible annoying.

You're not alone-- on my spouse's M1 MacBook Air the page won't even load anymore. On my beefy system76 laptop I have the same experience as you!

Re: The GitHub website is slow on Safari

#343

The GitHub website reminds me of the first video in the Clean Coders series, where he points out that eventually devs want a total rewrite to "Fix" all the shortcomings, but GitHub from the perspective of most users had nothing UI wise that needed fixing. We all would have been happy with the UI as is. Clean code argues that instead of total rewrites you should focus on gradual improvements over time, refactor code s…

It reminds me also of the original head of development of the Safari browser talking about at least the early days of building the browser. They had a rule that no commit of code could cause the browser benchmarks to get slower. And apparently he was maniacal about the rule. I don’t know if that’s a good or realistic rule for most projects, but I imagine for performant types of applications, that’s exactly what it ta…

That reminds me of Linus' attitude about breaking userspace for security fixes.

Re: The GitHub website is slow on Safari

#344
post #341

Earlier quoted context omitted.

> Pedantism is the lowest form of pseudo-intelligence. You can’t just lay this bear trap of an opportunity and expect me to not pedantically state that the word is either “pedantry”, the activity performed by pedants, or “pedantic”, to describe such activities. “Pedantism” would be a philosophy or viewpoint that extols pedantry. Pedantism would be to pedantry as deontology is to rule-following, a justification of an…

I added Pedantism to my spell checker, so now it's not red anymore. Checkmate.

Not to be confused with pedentation which is

> indenting or quoting yourself in a way that makes it look more authoritative

Re: The GitHub website is slow on Safari

#345

Earlier quoted context omitted.

Sending data is what’s trivial compared to compute… syntax highlighting is not trivial workload compared to that, you don’t know what you’re saying.

You say that, until you’re one of the unlucky people who discover that cloud DBs are just cloud VMs in disguise, and those cloud VMs have network throughput limits. A fun part of a retro at my company last year was me explaining to a team, “had all of your pods’ requests succeeded, the DB would have been pushing out well over 200 Gbps, which is generally reserved for top-of-rack switches.” Of course, someone else the…

Serving static files off highly efficient, distributed CDNs is a solved problem. There's no "4K blu-rays per second" when you're talking about gzipped, highly cacheable text data.

If github has a million users visiting it per day on a FRESH cache, and all of them have to download at least 10 megabytes of text data (both of these numbers are far too high), you are at ... 0.015 "4k blurays per second". Yeah I think MS's datacenters will survive.

Re: The GitHub website is slow on Safari

#346
post #285

Earlier quoted context omitted.

The front-end is usually just a thin layer on top of a database, sometimes with backend services (queues/processing). Having a bad language on the front-end actually helped. You don't want to write code because of the bad language, you write less code, less code is less bugs. You had to be invested to increase the lines of code. It's like the hard chair of programming languages. If you don't want programmers to dwell…

Have you not seen the internet these past decades?

It's meant in a tongue in cheek way. Day to day I develop in C# and Typescript/React using all the latest bells and whistles. Long for the simpler times though. The time before product managers, Scrum and ticket driven development. All the tickets drive the complexity that maybe shouldn't exist. Hard to push back against feature requests when it's a one-way street.

Re: The GitHub website is slow on Safari

#347

Earlier quoted context omitted.

You say that, until you’re one of the unlucky people who discover that cloud DBs are just cloud VMs in disguise, and those cloud VMs have network throughput limits. A fun part of a retro at my company last year was me explaining to a team, “had all of your pods’ requests succeeded, the DB would have been pushing out well over 200 Gbps, which is generally reserved for top-of-rack switches.” Of course, someone else the…

Serving static files off highly efficient, distributed CDNs is a solved problem. There's no "4K blu-rays per second" when you're talking about gzipped, highly cacheable text data. If github has a million users visiting it per day on a FRESH cache, and all of them have to download at least 10 megabytes of text data (both of these numbers are far too high), you are at ... 0.015 "4k blurays per second". Yeah I think MS'…

A single-page app is not serving "static files". It might serve an initial bundle, but literally everything after that is dynamically generated. There's no way you could serve those responses via a CDN.

Re: The GitHub website is slow on Safari

#348

Earlier quoted context omitted.

> because they take time No they don't. It's literally just a skill issue.

Fast algorithms are often more complicated. To give just one simple example: to get the textbook complexity bound for the Dijkstra algorithm, you need some fancy mergeable heap data structures which are much more complicated, and thus time-intense to implement than the naive implementation. Or you can get insane low-level optimizations by using the SIMD instructions that modern processors provide. Unluckily, this tak…

the most common cause is architecture, not algorithms

Re: The GitHub website is slow on Safari

#350
post #277

Just migrate to Forgejo/Codeberg[1][2] or SourceHut[3]. Both are like a light speed compared to GitHub and GitLab. [1] https://forgejo.org [2] https://codeberg.org [3] https://sourcehut.org

I think Forgejo is great. But we need to remember the fact that many enterprises pick GitHub or GitLab because they provide paid support and SLA. Also Forgejo Actions are still in beta, while GitLab and GitHub are pretty established solutions for CI/CD

Sourcehut is basically a really barebones web interface for git server, so I don't think it's really comparable to GitHub

For hosting your own projects that's sometimes not a viable solution either. Limiting your open source project to platform other than GitHub hurts it's discoverability, because usually GitHub is what most devs and non devs associate with open source. I heard a lot of "It's not open source if it's not on GitHub". You can mirror your project to GH of course

"Just migrate to X because it's faster" doesn't work that well in the real world

Post reply on HN