5 ms·
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
by Zanfa 1y ago
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.
- sidewndr46 1y agoWhoever had a KPI for improving server performance and decreasing cost got their promotion that quarter, that is for sure.
- tempest_ 1y agoServers cost money, the client is free (and pays you sometimes)!
- const_cast 1y agoThe 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.
- RedShift1 1y agoMBA's ruin everything
- jeltz 1y agoOpportunity 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.
- MichaelZuo 1y agoWho 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?
- szundi 1y ago[dead]
- godelski 1y agoTo be fair, many programmers are part of the problem too. But then again, it is getting harder to differentiate some programmers from MBAs...
- rapind 1y agoBut taxpayers keep bailing them out... so how did they lose?
- godelski 1y ago> 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.
- slt2021 1y agothe 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
- __alexs 1y agoIt is garbage even on my extremely high end desktop PC.
- mrbombastic 1y agoM4 macbook pro and almost unusably slow
- lowwave 1y agoAh 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....
- humpty-d 1y agoVarious 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.
- bythreads 1y agoReact 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 -
- troupo 1y agoLol. 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-performance https://www.developerway.com/posts/tailwind-vs-linaria-perfo...