Most active commenters
  • agos(4)
  • sgarland(4)
  • bob1029(3)
  • 1vuio0pswjnm7(3)
  • const_cast(3)
  • whstl(3)

←back to thread

446 points talboren | 123 comments | | HN request time: 0.873s | source | bottom
1. PedroBatista ◴[] No.45039192[source]
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 problem is not "Rails" or [ insert any other tech BS to deflect the real problems ].

replies(17): >>45039249 #>>45039365 #>>45039680 #>>45039841 #>>45040328 #>>45040430 #>>45041105 #>>45041125 #>>45041207 #>>45042280 #>>45042385 #>>45044131 #>>45046133 #>>45048521 #>>45050100 #>>45051138 #>>45062005 #
2. bob1029 ◴[] No.45039249[source]
> And no, the problem is not "Rails"

The problem is they abandoned rails for react. The old SSR GitHub experience was very good. You could review massive PRs on any machine before they made the move.

replies(10): >>45039310 #>>45039407 #>>45039686 #>>45040388 #>>45041936 #>>45043631 #>>45048845 #>>45049190 #>>45051019 #>>45051373 #
3. DrBenCarson ◴[] No.45039310[source]
Well yeah, but just imagine how much money they’re saving by delivering a subpar experience!
replies(3): >>45039385 #>>45040527 #>>45040940 #
4. Roark66 ◴[] No.45039365[source]
Yes, I came here to say this exact thing. Also github search sucks bad as well as the way it shows diffs. My current client has just moved from bitbucket to GH and all the devs are up in arms.
replies(1): >>45040728 #
5. gchamonlive ◴[] No.45039385{3}[source]
Or how much money they are capturing in investiments or corporate deals because of the tech stack
6. agos ◴[] No.45039407[source]
if you look at the thread, the explanation is not this easy, as much as it's satisfying to blame React (or any other single tech)
replies(5): >>45039679 #>>45039778 #>>45042874 #>>45043242 #>>45051016 #
7. bob1029 ◴[] No.45039679{3}[source]
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.
replies(1): >>45039835 #
8. hk1337 ◴[] No.45039680[source]
Embedding gists and not fully implementing using dark or light mode annoys me. It's there but it just always has the theme set to light with no way to override the value.

At the very least, I wish they set it to auto.

9. a-french-anon ◴[] No.45039686[source]
We were very few to rant about it, 1 year ago: https://github.com/orgs/community/discussions/62372

Their "solution" was to enable SSR for us ranters' accounts.

replies(3): >>45039826 #>>45042021 #>>45050847 #
10. cryptonym ◴[] No.45039778{3}[source]
That comment was about overall slowness of the site, not a specific issue on a specific browser.

Available data confirms that SPA tends to perform worse than classic SSR.

replies(1): >>45039821 #
11. agos ◴[] No.45039821{4}[source]
I'm pretty sure that if they rendered/updated the same insane amount of nodes with some other technology, for example PJAX like they used to do, performance would not be better
replies(1): >>45039981 #
12. bob1029 ◴[] No.45039826{3}[source]
> Server-side rendering (SSR) flag has been enabled for each of you. Can you take a look, click around and let me know if this has resolved some of the usability issues that you've reported here?

The fact that they have this ability / awareness and haven't completely reverted by now is shocking to me.

replies(1): >>45040364 #
13. agos ◴[] No.45039835{4}[source]
exactly. I don't want to do a "no true scotsman" to defend React, but circumstantial evidence suggests that they wildly misused the tool
replies(2): >>45041699 #>>45042753 #
14. jayd16 ◴[] No.45039841[source]
Ok so what's a good example?
replies(1): >>45040051 #
15. cryptonym ◴[] No.45039981{5}[source]
Agree you can shoot yourself in the foot with pretty much any technology. By design, it's much easier to be inefficient with SPA frameworks.
16. aaomidi ◴[] No.45040051[source]
Gerrit
17. leosanchez ◴[] No.45040328[source]
It is faster than GitLab, at least to me.
replies(1): >>45040521 #
18. adithyassekhar ◴[] No.45040364{4}[source]
Honestly that's wild. This should be an option in their settings.
19. Zanfa ◴[] No.45040388[source]
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.
replies(2): >>45041029 #>>45041118 #
20. ◴[] No.45040430[source]
21. PedroBatista ◴[] No.45040521[source]
Is your deployment SaaS or running on your company servers?

Gitlab is anything but light, by default tends to be slow, but surprisingly fast with a good server ( nothing crazy, but big ) and caching.

replies(2): >>45040550 #>>45041174 #
22. zozbot234 ◴[] No.45040527{3}[source]
They're not even saving any money. Syntax highlighting is a trivial workload, whereas the average SPA spends a lot of time in pointless roundtrips that have the server send more data down the pipe than the SSR equivalent.
replies(2): >>45041038 #>>45047755 #
23. leosanchez ◴[] No.45040550{3}[source]
Just gitlab.com.
24. bethekidyouwant ◴[] No.45040728[source]
Where is it good?
25. Elfener ◴[] No.45040940{3}[source]
I guess if you say "we've made the UX worse" instead of "we've reduced costs but made the UX worse" to shareholders, they think of cost savings regardless.
26. sidewndr46 ◴[] No.45041029{3}[source]
Whoever had a KPI for improving server performance and decreasing cost got their promotion that quarter, that is for sure.
replies(1): >>45042736 #
27. sidewndr46 ◴[] No.45041038{4}[source]
I'll play devils advocate - does it save them some storage space or bandwidth in the CDN that delivers Github?
replies(1): >>45041845 #
28. tpoacher ◴[] No.45041105[source]
truly worthy of an acquisition from MS then
29. slt2021 ◴[] No.45041118{3}[source]
the problem is developers having fast modern machines.

if they were forced to use slow machines, they would not be able to put out crap like that

replies(6): >>45041255 #>>45041536 #>>45043882 #>>45046904 #>>45047482 #>>45051651 #
30. ssttoo ◴[] No.45041125[source]
After 10 years of using Phabricator at a previous company I am still shocked how bad GitHub is. This the industry standard?!

Too bad Phabricator is maintenance-only now https://en.m.wikipedia.org/wiki/Phabricator

replies(3): >>45041287 #>>45049244 #>>45049989 #
31. hk1337 ◴[] No.45041174{3}[source]
It's probably not related to the speed and I am not entirely certain how Github stores the repository but I noticed Gitlab does something weird to the bare repository so it's not directly usable as a bare repository.

Gitea is an example I like because it stores the repository as a bare repository, the same as if I did git clone --bare. I bring it up because when I stopped running Gitea, I could easily go in to the data and backup all the repositories an easily reuse them somewhere else.

replies(1): >>45047040 #
32. ori_b ◴[] No.45041207[source]
It's frustrating, because GitHub used to perform quite well, before it was a single page app.
replies(2): >>45041422 #>>45043453 #
33. __alexs ◴[] No.45041255{4}[source]
It is garbage even on my extremely high end desktop PC.
34. accrual ◴[] No.45041287[source]
Looks like a new community developed fork of Phabricator is up! I've never used it but glad to see the project continues.

https://we.phorge.it/

replies(1): >>45041461 #
35. fkyoureadthedoc ◴[] No.45041422[source]
clicking around GitHub and checking network panel, it seems to load plenty of server rendered HTML. Some views seem to use React within the page, but it doesn't appear to be a React SPA.
replies(1): >>45041515 #
36. bityard ◴[] No.45041461{3}[source]
I tried poking around but it looks like you have to be logged into to view the source, and registration requires manual approval. :/

I assume this is fallout from dealing with LLM content scrapers.

replies(1): >>45042820 #
37. ori_b ◴[] No.45041515{3}[source]
Maybe I should have said pre-react. I don't know what GitHub did specifically, but several years ago it used to be reasonably fast and relatively pleasant to use. It regressed a lot over the last few years, seemingly correlated with attempts at interactive features.
replies(1): >>45041709 #
38. mrbombastic ◴[] No.45041536{4}[source]
M4 macbook pro and almost unusably slow
replies(1): >>45043661 #
39. throw-the-towel ◴[] No.45041699{5}[source]
A tool that lends itself to misuse so easily is a bad tool, period.
replies(2): >>45049805 #>>45051642 #
40. captn3m0 ◴[] No.45041709{4}[source]
It used to be jQuery + PJAX
replies(1): >>45042053 #
41. Asmod4n ◴[] No.45041845{5}[source]
That's a good question, without looking into any of the code id say bandwidth cost goes higher when moving away from server side rendering since you have to send the code for client side rending to each client which connects.
42. shiomiru ◴[] No.45041936[source]
> The problem is they abandoned rails for react.

Which, it seems, was a result of the M$ acquisition: https://muan.co/posts/javascript

replies(1): >>45042270 #
43. Dragonai ◴[] No.45042021{3}[source]
This is actually unreal. Wow.
44. spankalee ◴[] No.45042053{5}[source]
More recently - and still - it was web components. React is gradually creeping in.
45. sunaookami ◴[] No.45042270{3}[source]
fyi this page detects a hacker news referrer and sends you in an infinite loop. Have to open the link via copy-paste.
replies(2): >>45042722 #>>45042733 #
46. 1vuio0pswjnm7 ◴[] No.45042280[source]
"The Github website is slow everywhere."

Perhaps it depends what software one is using

For example, commandline search and tarball/zipball retrieval from the website, e.g., github.com, raw.githubusercontent.com and codeload.github.com, are not slow for me, certainly not any slower than Gitlab

I do not use a browser nor do I use the git software

replies(2): >>45043301 #>>45043726 #
47. Krasnol ◴[] No.45042385[source]
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.

replies(1): >>45042798 #
48. adithyassekhar ◴[] No.45042722{4}[source]
Lol I respect that https://muan.co/no-yc/
replies(1): >>45049372 #
49. nbf_1995 ◴[] No.45042733{4}[source]
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

replies(1): >>45047883 #
50. tempest_ ◴[] No.45042736{4}[source]
Servers cost money, the client is free (and pays you sometimes)!
replies(1): >>45047472 #
51. xcrunner529 ◴[] No.45042753{5}[source]
So PHP <6 was a great language?
replies(1): >>45043459 #
52. ◴[] No.45042798[source]
53. mormegil ◴[] No.45042820{4}[source]
Yes, exactly. Even though you can clone the git repos anonymously, or look at the Github mirror.

https://we.phorge.it/phame/post/view/8/anonymous_cloning_dis... https://we.phorge.it/phame/post/view/9/anonymous_cloning_has...

54. fouc ◴[] No.45042874{3}[source]
We're not specifically blaming React. we're blaming their approach to React/SPA and how it caused a massive degrade compared to Github's Rails-based UX.

Github's code view page has been unreasonably slow for the last several years ever since they migrated away from Rails for no apparent reason.

55. Zanfa ◴[] No.45043242{3}[source]
Not once have I seen a site go from SSR to SPA and been pleasantly surprised. It always trends towards worse in responsiveness and overall UX.

I’m sure you could make something work better as a SPA, but nobody does.

56. kokanee ◴[] No.45043301[source]
The website is fast if you don't use the website
replies(1): >>45069806 #
57. lenkite ◴[] No.45043453[source]
Github's Primer design system was wonderful when it was a pure CSS system that could be used with any framework. Sadly, M$ killed that and made the new Primer design system shitty-React consumption only.
58. zerocharge ◴[] No.45043459{6}[source]
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 there, bring the hard chairs.
replies(1): >>45049982 #
59. sleepybrett ◴[] No.45043631[source]
The problem is that they deprioritized everything for more copilot bullshit.
60. lowwave ◴[] No.45043661{5}[source]
Ah the wonders of SPA! I know there are lighter ones, but it is not the first time hearing things like React being slow. Of course, when one start to do sntax highlighting on the client side....
replies(2): >>45044718 #>>45044747 #
61. 1vuio0pswjnm7 ◴[] No.45043726[source]
As with any website, the HTML provides a guide to the location (URI) of resources some httpd is serving. Generally, I am not after Javascript, CSS, or other non-substantive "resources". I only want the HTML or JSON and any susbstantive resources pointed to therein

I use the Github website as I would any software mirror/repository

I'm not interested in images (mascots or other garbage) or executing code (gratuitous Javascript) when using the Github website, I'm interested in reading and downloading source code

62. can16358p ◴[] No.45043882{4}[source]
While I agree about devs should be testing on slow devices, the particular target audience of the site generally have pretty decent machines (including two that I have) and there isn't much reason for the site lag. It's not really doing any 3D rendering with complex shaders or video filtering; it just shows changed lines in two files. That shouldn't lag.
replies(2): >>45051252 #>>45061168 #
63. bjclark ◴[] No.45044131[source]
Have you used gitlab every day in anger? I don't think you'd feel the same if you have.
replies(4): >>45046990 #>>45047466 #>>45048032 #>>45051666 #
64. humpty-d ◴[] No.45044718{6}[source]
Various comments and links throughout the discussion of this post indicate that the problem is a mix of the sheer number of nodes and css. It has nothing to do with React or being a React SPA, which it's also not, unless you have some proof otherwise.
replies(1): >>45048806 #
65. Tadpole9181 ◴[] No.45044747{6}[source]
> When native software is slow, it's bad software. When web software is slow, react is bad software.

This is such a tired trope.

replies(1): >>45047513 #
66. ponector ◴[] No.45046904{4}[source]
Only in the ideal world, where developers test results of their work on their machines. Test for real, with real db, not with empty or mocks.
67. pxc ◴[] No.45046990[source]
There's things I don't like about it, and there are a looot of long-standing open issues, but I think GitLab is definitely better than GitHub in a number of ways. My org uses both (and also Azure DevOps, joy) and my team expects that the trend will be migrating from GitLab to GitHub. There are a bunch of things for me to grieve in that, much to my own surprise.
replies(1): >>45049523 #
68. pxc ◴[] No.45047040{4}[source]
GitLab and GitHub both use custom storage backends for git for reasons of scale.

GitLab: https://docs.gitlab.com/administration/gitaly/praefect/

GitHub: https://github.blog/engineering/infrastructure/stretching-sp...

69. illusive4080 ◴[] No.45047466[source]
I use GitLab daily and feel like it’s a joy to use. What do you dislike?
replies(1): >>45049102 #
70. const_cast ◴[] No.45047472{5}[source]
The client costs money too, opportunity cost.

Which, unfortunately, cannot be measured :( so no KPIs. Darn!

Its all fun and games until you cut quality over and over so much your customers just leave. Ask Chrysler or GE. I mean they must have saved, what, billions across decades? And for free!

Well... um... not free actually, because those companies have been run into the ground, dragged through hell, revived, and then damned again.

replies(3): >>45048359 #>>45068883 #>>45078001 #
71. const_cast ◴[] No.45047482{4}[source]
I don't think so, I think the problem is their devs work on tiny play pretend codebases or micro service architecture.

GitHub is big software, but not that big. Huge monorepos and big big diffs grind GitHub to a pulp.

replies(1): >>45047645 #
72. const_cast ◴[] No.45047513{7}[source]
Its not really a trope, the opposite is much more common. People are much more quick to mindlessly blame SSR for slowness like with ROR or PHP.

The reality is both can be slow, it depends on your data access patterns, network usage, and architecture.

But the other reality is that SPAs and REST APIs just usually have less optimal network usage and much worse data access patterns than traditional DB connected SSR monoliths. Same goes for micro service.

Like, you could design a highly scalable and optimal SPA. Who's doing it? Almost nobody.

No, instead they're making basically one endpoint per DB table, recreating SQL queries in client side memory, duplicating complex business logic on the front and back end, and sending 50 requests to load an dashboard.

replies(1): >>45049456 #
73. Atotalnoob ◴[] No.45047645{5}[source]
GitHub runs a mostly monolithic architecture
replies(1): >>45050115 #
74. scrollaway ◴[] No.45047755{4}[source]
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.
replies(1): >>45051527 #
75. DaSHacka ◴[] No.45047883{5}[source]
I believe this is enabled by default when using Enhanced Tracking Protection.
76. cortesoft ◴[] No.45048032[source]
I both use gitlab, and run our gitlab instance for our company, with as many as 700 users.

I still love it! Works great, makes sense, is fast...

77. RedShift1 ◴[] No.45048359{6}[source]
MBA's ruin everything
replies(3): >>45050869 #>>45072442 #>>45078015 #
78. monster_truck ◴[] No.45048521[source]
I went several years without having to interact with Github, I came back to it this year and it was truly shocking how bad it's gotten.

I had to alter basically every aspect of how I interact with it because of how fucking slow it is! I still can't shake the sense that it's about to go down or that I've done something wrong every time I click something and nothing happens for several seconds.

79. bythreads ◴[] No.45048806{7}[source]
React and the most commonly used pattern inherently promotes an way to complex html Node structure and shitty css, especially if stuff like tailwind is used.

Now you CAN so it so that is not the case, but tbh i have never seen that in the wild -

replies(1): >>45049318 #
80. baxuz ◴[] No.45048845[source]
React is always the problem, as using it in a performant way requires you to basically eject from using it, relying on it only for syncing state, like video key frames.

There are of course performant react apps out there. What Steve did with tldraw is amazing.

However, the vast majority of the apps out there are garbage since the framework itself is terribly inefficient.

81. rnhmjoj ◴[] No.45049102{3}[source]
I rarely interact with projects hosted on it I'm always getting losts in unintuitive menus, for example: click on the tiny sidebar button > plan > issues just to open the bug tracker. The website also used to be bog slow compared to github, but thanks to microsoft the gap has been closing.
82. j-krieger ◴[] No.45049190[source]
You can easily do this very fast in React if you don‘t fuck it up. They did fuck it up a bit.
83. anon7000 ◴[] No.45049244[source]
I, for one, despised phabricator (in comparison to GitHub) when I had to use it last. But that was at least 50% from also having to use svn
84. troupo ◴[] No.45049318{8}[source]
Lol. If anything, Tailwind isn't shitty CSS (because it's a very limited number of classes) unlike the gazillion one-off classes that CSS-in-JS or even BEM encourages

Edit: here's a good investigation on a real-enough app https://www.developerway.com/posts/tailwind-vs-linaria-perfo...

replies(1): >>45049443 #
85. NetOpWibby ◴[] No.45049372{5}[source]
Based tbh
replies(1): >>45049479 #
86. typpilol ◴[] No.45049443{9}[source]
Yes what's with his comment?

Tailwind is probably one of the best considering you can use Vite to literally strip out all unused css easily.

And I think tailwind v4 does this automatically

87. whstl ◴[] No.45049456{8}[source]
React also has a class of problems that doesn't really happen in other types of apps: re-renders.

Even other frameworks like Vue.js, Solid or Svelte don't really suffer from it as much. It simply happens a couple order of magnitudes more often in React than any other framework.

88. whstl ◴[] No.45049479{6}[source]
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 feedback on everything I wrote, regardless of what it was.

https://macwright.com/2022/09/15/hacker-news

Which is true. Pedantism is the lowest form of pseudo-intelligence.

replies(1): >>45051161 #
89. Kelteseth ◴[] No.45049523{3}[source]
We use a self-hosted GitLab for about 6 years now. The only thing that is really awful is if your MR gets too big. Then GitLab will simply stop showing any code changes above a certain line threshold.
90. agos ◴[] No.45049805{6}[source]
why do you say "easily"? it took them considerable effort to make that atrocity, I'm pretty sure. The fact that tens of people worked on this and yet this is the result is way more telling of the team and company culture than it is of the specific tool.
91. guappa ◴[] No.45049982{7}[source]
Have you not seen the internet these past decades?
replies(1): >>45053083 #
92. willvarfar ◴[] No.45049989[source]
I only used phabricator on a side project that other devs, with meta history, had set up. And although not a heavy user, I rather liked it for being very basic which I thought was a very good thing.

My memory is fuzzy but I think it was on phab that I discovered and loved to use stacked merges. This is where you have a merge request into another open merge request etc. Super useful. Miss that in the git world.

replies(1): >>45050436 #
93. siva7 ◴[] No.45050100[source]
I once worked with an CTO who was under the impression that Rails was a major reason why the legacy app was so slow and demanded a rewrite in Java (that's what he knew). It deflected the real reasons - of completely incompetent product managers, management and inexperienced developers. The tech stack wouldn't matter if the product was being managed for over a decade by idiots.
94. guappa ◴[] No.45050115{6}[source]
So? You can still do a PR of 1 line and the diff will only show that 1 line.
95. mehdix ◴[] No.45050436{3}[source]
Can't you simply make a PR against the other PR's branch?
replies(1): >>45051285 #
96. galangalalgol ◴[] No.45050847{3}[source]
A handful have replied to the two year old thread asking to have the same flag flipped. That seems unlikely to work, but why not ask?
97. jeltz ◴[] No.45050869{7}[source]
Opportunity costs is something they are taught about in school but somehow seem to always forget about. I think it is more a question about incentives for the roles MBAs are usually hired into. Either that or the lack of knowledge of the actual product makes them too detached.
replies(1): >>45051833 #
98. dbalatero ◴[] No.45051016{3}[source]
Yeah, if they read the actual link, the issue is CSS transforms on each line of code, not React.
99. catigula ◴[] No.45051019[source]
React isn't the problem, the problem is literally every dev I've ever worked with who writes react good except for one or two don't understand or care how to write performant react code at all.
100. bromuro ◴[] No.45051138[source]
I find it fast on Chrome / Mac and I actually love the UI a lot. (The iOS app is also a wonderful app)
101. MereInterest ◴[] No.45051161{7}[source]
> 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 activity. As such, pedantism would be a slightly higher form of pseudo-intelligence than mere pedantry.

But only slightly.

replies(1): >>45052526 #
102. m0llusk ◴[] No.45051252{5}[source]
I code on ten year old laptops and use Bitbucket CLI in part because of all this.
103. hellcow ◴[] No.45051285{4}[source]
Yes, but the UI isn’t great for it. When you make a change in a base branch and push all the branches ahead of it, GitHub litters the UI with “force push” activity, even when no one has even started reviewing the PRs yet. This creates tons of visual noise in the PRs to sift through.
104. sgarland ◴[] No.45051373[source]
Glad it’s not just me having faulty memory. I was reading a file - not a PR, just a file in our codebase - that was pretty large, like 15K lines, and it was dogshit slow. I was astonished, and thought I had remembered it being much snappier years ago.

Meanwhile, I opened a 100K line CSV in Neovim and while it took a couple of seconds to open and render highlighting, after that, it was fine.

105. sgarland ◴[] No.45051527{5}[source]
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 then had to translate that into “4K Blu-Rays per second,” because web devs aren’t typically familiar with networking, racks, data centers…

replies(1): >>45052720 #
106. sgarland ◴[] No.45051642{6}[source]
Not necessarily. Sharp tools are often sharp because someone needs it.

I’m not a frontend dev, and have next to zero experience with anything beyond jQuery, but an analogy is shell. Bash (and zsh, though I find some of its syntactic sugar nicer, albeit still inscrutable) will happily let you do extremely stupid things, but it also lets you do extremely complicated things in a very concise manner. That doesn’t mean it’s inherently bad, it means you need to know what the hell you’re doing, and use linters, write tests, etc.

107. aleph_minus_one ◴[] No.45051651{4}[source]
> the problem is developers having fast modern machines.

> if they were forced to use slow machines, they would not be able to put out crap like that

Lots of developers are rather obsessed with writing good, performant code. The problem is rather that many project managers do not let them do these insane optimizations because they take time.

The only things that forcing developers to use slow machines will bring is developers quitting (and quite a lot of them would actually love to see the person responsible for this decision dead (I'm not joking) because he made the developers' job a hell on earth).

What you should rather do if you want performant software is to fire all the project managers who don't give the developers the necessary time (or don't encourage the developers) to write highly optimized code (i.e. those idiot project managers who argue with "pragmatism" concerning this point).

replies(1): >>45052060 #
108. sgarland ◴[] No.45051666[source]
GitLab’s CI is miles better than GitHub’s. I think it’s telling that every place I’ve been at that used GH also used some 3rd party CI tool (which also sucked, but that’s par for the course), whereas places with GL seemed to manage with its native capabilities.
109. MichaelZuo ◴[] No.45051833{8}[source]
Who would even hire an MBA to improve such difficult to measurre things?

Maybe it will make a significant enough cumulative impact 5 years later that it can actuallly be noticed and defended in a meeting against other priorities.

But I’ve never heard of anyone hiring someone on minimum wage and deferring a huge bonus to 5 years later.

Even if it does makes a big impact, would anyone even take a such a job?

110. otabdeveloper4 ◴[] No.45052060{5}[source]
> because they take time

No they don't. It's literally just a skill issue.

replies(1): >>45052460 #
111. aleph_minus_one ◴[] No.45052460{6}[source]
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 takes a lot of time and leads to code that is not easy to understand (and thus not easy to write) for "classically trained" programmers.

Yes, you indeed need a lot of skills to write such very fast algorithms, but even for such ultra-smart programmers, finding and applying such optimizations need a lot of development time, which is why this is often only done for code parts that are insanely computation-intense and performance-critical such as video (and sometimes audio) codecs.

replies(1): >>45054315 #
112. whstl ◴[] No.45052526{8}[source]
I added Pedantism to my spell checker, so now it's not red anymore. Checkmate.
replies(1): >>45052566 #
113. rkomorn ◴[] No.45052566{9}[source]
Not to be confused with pedentation which is

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

114. scrollaway ◴[] No.45052720{6}[source]
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.

replies(1): >>45053088 #
115. zerocharge ◴[] No.45053083{8}[source]
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.
116. zozbot234 ◴[] No.45053088{7}[source]
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.
117. slt2021 ◴[] No.45054315{7}[source]
the most common cause is architecture, not algorithms
118. chipsrafferty ◴[] No.45061168{5}[source]
It should be the same speed as running git diff in your console. And it should support histogram style diff...
119. vrighter ◴[] No.45062005[source]
I saw the title of this post, and while clicking the comments button, I had the exact thought, word for word, of your comment's first sentence.
120. rapind ◴[] No.45068883{6}[source]
But taxpayers keep bailing them out... so how did they lose?
121. 1vuio0pswjnm7 ◴[] No.45069806{3}[source]
A server listening on port 443, responding to HTTP and serving HTML is generally known as as a "website"

The servers at https://codeload.github.com and https://raw.githubusercontent.com are two examples

Each redirects to https://github.com

122. godelski ◴[] No.45078001{6}[source]

  > Which, unfortunately, cannot be measured 
This is such a subtle but important thing that so many people do not understand about data analysis. It's even at the heart of things like survivor bias[0]. Your measure is always a proxy and this proxy has varying degrees of alignment with what you want to measure.

I know everyone knows the cliche "The devil is in the details" but everyone seems to continually make these mistakes because nuance is hard. But then again what is a cliche if not words of wisdom that everyone can recite but fail to follow?

  > Its all fun and games until you cut quality over and over so much your customers just leave.
The alternative is you develop a Lemon Market. Which is a terrible situation for all parties involved. Short term profits might be up but these are at the loss of much higher long term rewards.

[0] You infer where the downed planes were shot through the measures you can make on recovered planes. But that is very different than measuring where downed planes were shot. You can't just take the inverse of the returned planes and know where to add plating from there.

123. godelski ◴[] No.45078015{7}[source]
To be fair, many programmers are part of the problem too. But then again, it is getting harder to differentiate some programmers from MBAs...