Earlier quoted context omitted.
They aren't though. You have a cache.
Facebook release multiple times a day (or they did), so the browser cache is irreLevant.
Rebuilding our tech stack for the new facebook.com
241–250 of 489 posts
Re: Rebuilding our tech stack for the new facebook.com
#242Quite sincerely, it's a total failure. I got the chance to try the new interface, and it's so slow that it's barely usable. It's even slower than the old website, that was already painfully slow. Loading a random profile takes 8 seconds. Opening a messenger discussion takes 6 seconds. It reminds me of the new Reddit website. Facebook was more enjoyable to use 12 years ago. It's really sad that in 2020, 10k+ engineers…
The problem there is that '10k+' "engineers" are trying to make the same 'photo, video, post and message-sharing website'. It's a structural problem and little more: the website (and app) is their main money-maker, so they're going to give it a disproportionate amount of resources. Imagine you hire ten thousand people to lay one railroad track. [note; see end of post] If any single one of them doesn't contribute dire…
Instead, the book proposes The Surgical Team, i.e. about 10 people taking specialized roles, with the system being the product of the mind of a few key people. I wonder how well this aged.
Re: Rebuilding our tech stack for the new facebook.com
#243Re: Rebuilding our tech stack for the new facebook.com
#244Quite sincerely, it's a total failure. I got the chance to try the new interface, and it's so slow that it's barely usable. It's even slower than the old website, that was already painfully slow. Loading a random profile takes 8 seconds. Opening a messenger discussion takes 6 seconds. It reminds me of the new Reddit website. Facebook was more enjoyable to use 12 years ago. It's really sad that in 2020, 10k+ engineers…
Sorry, I won’t take blame for that. Still haven’t found a use case for React/Angular or SASS/whatever. If I’m guilty of something is not recognizing the validity of those tools, as I’m sure there are. But 2MB CSS is simply inconceivable to me.
SASS, SCSS, LESS, etc are kind of great though. It sucks you have to compile them to css, but you can do this:
.App {
.Topbar {
.Logo { color: green }
}
.Content {
h2 { color: orange; }
}
}
Saves a lot of time and effort.Re: Rebuilding our tech stack for the new facebook.com
#245Earlier quoted context omitted.
It's slow, requires JS, and fails around.. 50% of loads, I think?
ok I guess YMMV. It doesn’t fail for me, so I guessed it’s like that for everyone. everything requires javascript nowadays, that’s just a default
Re: Rebuilding our tech stack for the new facebook.com
#246Earlier quoted context omitted.
The problem there is that '10k+' "engineers" are trying to make the same 'photo, video, post and message-sharing website'. It's a structural problem and little more: the website (and app) is their main money-maker, so they're going to give it a disproportionate amount of resources. Imagine you hire ten thousand people to lay one railroad track. [note; see end of post] If any single one of them doesn't contribute dire…
I don't know how many people FB actually allocates for their main app, but this reminds me of a chapter in The Mythical Man-Month. It is said over 1000 people and 5000 man-years went into OS/360. I don't see it anywhere today. Instead, the book proposes The Surgical Team, i.e. about 10 people taking specialized roles, with the system being the product of the mind of a few key people. I wonder how well this aged.
...at least as far as computers go, anyway.
Re: Rebuilding our tech stack for the new facebook.com
#247I saw no mention of Reason or ReasonReact. I thought they rewrote Messenger in Reason, and so I figured facebook.com would be next. Did Reason fall out of favor or something?
Re: Rebuilding our tech stack for the new facebook.com
#248Earlier quoted context omitted.
It’s not. HoCs don’t add nesting. If they do, you’re doing it wrong. React <15 (2yrs old), did nudge you in the direction of div-itis, because all components that rendered something had to render a single root element. The more recent versions did away with that constraint. HoCs don’t even need to return markup; they’re functions which return functions. The general expectation should be that an HoC behaves like a fac…
So every React app can be effortlessly refactored to use whatever shiny new latest and greatest architecture abstraction React comes up with?
Regardless of upgrade paths, React I don’t contest that the older React tended towards div-itis if you weren’t careful with how you used it. But this thread was about Higher Order Components (or wrapper functions), which don’t have any inherent effect on nesting.
Re: Rebuilding our tech stack for the new facebook.com
#249interesting to see these kinds of details, but this is hardly 'rebuilding the the stack' - just UI API layer
Re: Rebuilding our tech stack for the new facebook.com
#250Everything is in the past tense without dates. When was this massive re-write? 2010? 2018?