News for hackers. Stuff that matters.
Re:Facebook exodus: Nearly half of young users have deleted ... by lostgame on Monday October 29, 2018 @01:32PM (#18329316)
Between the God-awful performance of the Facebook web site itself (on my 2018 15" MacBook Pro i9/32GB RAM/512 GB SSD, it still manages to make the fans spin. Loud.), and the ludicrous file size of the Facebook app, any developer worth their salt would actually have to wonder if optimization is something Facebook actively ignores.

Ever since Facebook unnecessarily divided their application into two, (Facebook and Messenger), I've pretty much sworn off it. But there's one simple reason, beyond the constant privacy concerns, that no single person should consider putting this app on their iOS device.

Facebook's iOS app currently sits at a staggering, literally almost unbelievable 316.7MB! Yes, 316.7MB. Almost a third of a GB. What. The. Hell.

Messenger is 139.4MB! What on earth QA process do these guys have where they consider this to be even remotely okay on non-storage-expandable devices, especially in the days where we still had 8GB iPhones?

On an 8GB iPhone, (which I understand are not in a lot of use at the moment, but still), which ends up having closer to 6-7GB of space, that would mean that Facebook + Messenger alone would take up 1/10th-1/14th of your space.

I miss the days when there was a 50MB-100MB limit on applications being downloaded over 3G/LTE/cellular. This was fantastic. Every company I worked for demanded I was able to trim the application size down to under 100MB so that there was a fair chance for everyone to be able to download it.

Many of my friends are still on 16GB iPhones and the size alone is the first reason they remove the app.

The second reason being the functionality offered does not match the app size.

The third reason being the general public is starting to visibly see the lack of value Facebook adds in our lives, and even the toxicity of the addiction of constantly scrolling.

You can do almost everything you can do within the Facebook app simply by logging into Facebook on your browser.

Protip (source: I am an iOS developer of 8+ years): If you'd like people to use and keep your application on their device that usually has extremely limited storage capacity, or at least non-expandable storage, you'd better ensure the application actually offers a significant value over that of not having the application installed.

Messenger's video chat, et cetera, makes it worthwhile. But it's also three times as small as the Facebook app. So, while Facebook's application provides almost no value at more than 300MB, Messenger is able to pack infinitely more functionality into 1/3rd the size.

What the hell are these guys doing wrong? Where's QA?

Re:Facebook exodus: Nearly half of young users have deleted ... by lambda_lover on Monday October 29, 2018 @01:39PM (#18329395)
Don't worry: they've been slowly hobbling the mobile site to make the application more and more attractive. iirc you can't even message on the normal (non-basic) mobile site any more: it just shows a splash screen requesting that you download messenger. And of course their site uses screen dimensions and user agents to decide to force you onto mobile even if you request desktop.
Re:Facebook exodus: Nearly half of young users have deleted ... by jleedev on Monday October 29, 2018 @01:57PM (#18329558)
Javascript-free mobile site that lets you send messages: https://d.facebook.com
Re:Facebook exodus: Nearly half of young users have deleted ... by petepete on Monday October 29, 2018 @04:18PM (#18330963)
It's worse than that. Even if you check the "Desktop site" box on Chrome for Android, every time you type a word in the messenger box and press space, it's deleted.

You have to go a long way to make anything that bad, it can't be accidental.

Re:Facebook exodus: Nearly half of young users have deleted ... by bradlys on Monday October 29, 2018 @05:58PM (#18331930)
You can still get to it via normal means. You don't have to use the desktop site. What you do is go to facebook.com, check the "desktop site" option in the browser... page refreshes, you're in "mobile view" still (m.facebook.com), click messages icon.... now you're able to message people just fine. Works fine for me. I use Brave (which is not much different than Chrome on Android).

It's a clumsy experience but it works.

Re:Facebook exodus: Nearly half of young users have deleted ... by lostgame on Monday October 29, 2018 @01:57PM (#18329566)
A nice hack around that is using their GSM site.
Re:Facebook exodus: Nearly half of young users have deleted ... by gagege on Monday October 29, 2018 @01:51PM (#18329502)
You can if you use Opera Mini, for some reason.
Re:Facebook exodus: Nearly half of young users have deleted ... by woolvalley on Monday October 29, 2018 @01:41PM (#18329417)
Code size is a function of engineer and feature count, since each engineer makes x lines of code per day. For example, there is a craigslist app in fb, a city guide app, an events app and so on, things that could be separate apps and companies on their own.
Re:Facebook exodus: Nearly half of young users have deleted ... by lostgame on Monday October 29, 2018 @01:47PM (#18329467)
No. Code size is based on a thing called optimization. If your application is too big, and it's because you think that there's too many engineers because there's too much code because the final application is three times as large as it has any right to be, then you have a problem of too many cooks in the kitchen.

If you're ignoring optimization in favour of hiring more people, you, as a software company, have your priorities so out of whack I'm not sure how to even offer a suggestion onto how to move forward.

I'll repeat: the application needs to have value. If I had Facebook installed, it would be by at least 100MB the largest application on my iPhone, next to GarageBand.

tl;dr: if optimization is not part of your development process, your development process is not good. This isn't something that can be argued.

Re:Facebook exodus: Nearly half of young users have deleted ... by dymk on Monday October 29, 2018 @01:57PM (#18329568)
You seem to be convinced that you've solved the application size problem that literally thousands of engineers have been working on for years. Or that you've got more insight into the engineering tradeoffs made at the company.

I can assure you that's not the case.

Re:Facebook exodus: Nearly half of young users have deleted ... by int0x80 on Monday October 29, 2018 @02:12PM (#18329717)
I can assure you that the facebook CLIENT application is not rocket science and not worth 350M of disk. Maybe those thousands of engineers are looking at it from the wrong angle, yes, absolutely posible. Maybe they are not focusing on it too, but in something else.
Re:Facebook exodus: Nearly half of young users have deleted ... by lostgame on Monday October 29, 2018 @02:54PM (#18330162)
You seem to be convinced that there is any way in hell an application that is a client for an existing web service that is little more than a glorified RESTful client needs to be more than 300MB.

You’re either not aware how these kinds of applications are constructed, or you’re perhaps not familiar with just how simple putting an application together like this is. The other response to this comment says a very similar thing.

Yes. I can confidently say as an iOS developer of 8+ years if I was given a chance to manage this application I would certainly be doing the hell of a better job.

If you don’t think you could, that’s cool, but I’ve made my living developing these types of applications since the App Store’s beta, and similar to when I hear an absolutely shitty pop song with mysogonistic or materialistic lyrics funded by some multi-million-dollar artist I say ‘I can do better,’ because, frankly, most musicians worth their salt could.

It doesn’t matter how successful a company is, how much talent they have, if there are too many voices talking over each other nobody is heard. And poor decision making is affecting the app’s bottom line of usage at this point.

When I say I can do better, it’s not coming from arrogance, the Facebook app is actually just that poor that any other direction that it’s current one would be an improvement. The statistic that OP posted alone proves that.

If Facebook has even 25-30 people on their iPhone app, on the client side, they have way too many. We’re talking about pulling existing info from a server and re-displaying it. At what point, other than the tiny shell required to display that information, maybe about 100-150MB at most, is that extra 150-200MB coming from?

If Facebook’s API were open for third-party FB applications, I’m sure I’d not be the first to whip up a minimalistic, small-sized, easy-to-use, far more intuitive application in a month or two of casual dev time. I did a similar thing for Twitter. It’s not hard.

Is it so much more likely that whole extra let’s say 150MB needs to be there than it’s likely that there’s simply too many cooks in the kitchen and optimization is being completely ignored?

Re:Facebook exodus: Nearly half of young users have deleted ... by woolvalley on Monday October 29, 2018 @04:05PM (#18330845)
You obviously have the experience level to get a job at facebook. Go do that (or some other big tech co) and you will understand why their apps are so large.

Some other candidates: linked in, twitter, uber, lyft, youtube, snapchat, gmail. Binary size is a problem issue at all of them and they would appreciate an expert such as yourself to solve it. You could get a staff engineer position and make half a million a year!

Re:Facebook exodus: Nearly half of young users have deleted ... by askafriend on Monday October 29, 2018 @10:01PM (#18333480)
First of all, the Facebook app is literally an entire operating system unto itself, among other things. Like someone pointed out, there's an entire Craigslist, an entire Snapchat, an entire Yelp, an entire YouTube, an entire web browser and so much more stuffed into a single app. On top of that, there are probably thousands of A/B tests and divergent code paths that are running simultaneously. Even if you have a feature, you probably have the code to switch between 10 different variants of that feature. There's also complex real time user instrumentation, media storage and backup features, tons of custom animation frameworks, networking frameworks, caching frameworks and on and on and on. The level of complexity and the millions of man-hours worth of code backing that app is insane.

At this point, it shouldn't be surprising in the slightest that the app is a cool ~300megs. Could it be better? Sure, and I'm sure they're working on it. After all, look at their developing country strategy and the stuff they do with "Facebook For Every Phone" to shave off every last byte from their apps: https://code.fb.com/android/how-we-built-facebook-lite-for-e...

If you look at the incentives, it's NOT in their best interests to make updates hard. That's not how they make money and in developing countries it actively costs them business. It's not that they're intentionally bloating the app just to mess with you....it's just that there's really that much going on in the app, along with it maybe being a little sloppy too.

Look, I have my beef with Facebook just like everyone else does to an extent....but this whole app size argument you seem to be spending a lot of energy on just has no legs if you truly understood the problem space.

I mean this is what you said: "We’re talking about pulling existing info from a server and re-displaying it". We _are not_ talking about that. The problem space is much much much larger than that (I mean they're running machine learning models on-device, doing real time facial recognition, leveraging AR in their custom cameras, streaming real-time data, among other things). I think you are severely overestimating your knowledge of the topic and I implore you to truly take a step back and re-evaluate what people are trying to tell you here.

Re:Facebook exodus: Nearly half of young users have deleted ... by softawre on Monday October 29, 2018 @03:50PM (#18330705)
I would expect that the FB client app does a lot more than you would expect it does. There are probably features in there for gamers, businesses, marketers, sellers, etc.

Yes you could build out 90% of the app that most people use in a smaller download in a couple months, that's not really noteworthy though.

Re:Facebook exodus: Nearly half of young users have deleted ... by ryandrake on Monday October 29, 2018 @03:23PM (#18330441)
The key word there is trade offs, and it’s clear, if the client is 300+ MB, that the engineers there are trading off smaller size for something (faster development, code reuse, etc.)

You and parent are probably both right. They obviously could make the client 30MB or even 3MB, but choose not to because they find other things more important.

Re:Facebook exodus: Nearly half of young users have deleted ... by parthdesai on Monday October 29, 2018 @04:17PM (#18330954)
I mean, you also work at Fb. Maybe you are biased? I have a middle line Moto-E phone and installing fb app or messenger app totally makes the phone unusable. Surely something went wrong along the way?
Re:Facebook exodus: Nearly half of young users have deleted ... by pjc50 on Monday October 29, 2018 @01:43PM (#18329425)
This seems tragically normal on Android. Uber is over 200MB. YouTube is 175MB! Yes, just the app not the cached data.
Re:Facebook exodus: Nearly half of young users have deleted ... by lostgame on Monday October 29, 2018 @01:50PM (#18329499)
I feel that, idiotically, as phone sizes increased, app creators seem to think it's okay to double, triple, or quadruple the size of their original applications. Without adding anything significant on top of what was there to start.

This is ludicrous. We are not gaining anything by having extra storage space if everything we had installed on our devices suddenly doubles or triples in size, because, hell, it can.

I miss the days when there was a 50MB-100MB limit on applications being downloaded over 3G/LTE/cellular. This was fantastic. Every company I worked for demanded I was able to trim the application size down to under 100MB so that there was a fair chance for everyone to be able to download it.

I'm not sure if that statistic changed, but it must have, because now not only do people not give a damn, it's like they actively see how much space their stupid service can take up on our phone before we get sick of it and save that room for more music, movies, or photos.

Re:Facebook exodus: Nearly half of young users have deleted ... by int_19h on Monday October 29, 2018 @02:48PM (#18330101)
It's basically the Jevons paradox - as cost of compute power decreases, it encourages increased use, and as the result, the gains can be more than offset by the increased demand.