Live data from Hacker News

I shaved 187MB off United Airlines' 439MB iOS app

telkins.dev

361–370 of 452 posts

Re: I shaved 187MB off United Airlines' 439MB iOS app

#361

I once flew United and, like the author, didn't realise this until I was on the plane for a ten hour flight. Downloaded the app for Android. I opened it. I was immediately ip-blocked for having a rooted phone, which was then kicked off the network and couldn't get an IP address. United cabin crew then started trying to sell me an iPad loan for the duration. I read a book and vowed never to fly with them again.

Unrelated to their inflight entertainment, United pulled this stunt on me the other day. - Flight at 11AM, boarding at 10:20. - Show up at 10:25, boarding doors are closed. - "Didn't boarding start 5 minutes ago" - "Yeah we close the doors once 95% of people show up, sorry, you should show up when boarding starts" - "Yeah but didn't boarding start 5 minutes ago, how was I to know" - "You should have known, sorry"

Is this even legal?

Re: I shaved 187MB off United Airlines' 439MB iOS app

#362
post #254

Earlier quoted context omitted.

I wonder when iOS will allow for dynamically linked shared libraries from the same Developer account.

I suspect it's a hard issue for the App Store model. You don't want a situation where someone updates App A, it updates a lib, then App B breaks because it hasn't been checked against the new library. I know you are a good developer who would check that, use major / minor library versions correctly etc. but there are lots of developers on the App Store. Or the fun case of updating App A, it updates a lib and then mag…

Just use a sha256 hash of the library. If it matches something you already have, you can skip a download. If not, you download another copy.

Re: I shaved 187MB off United Airlines' 439MB iOS app

#363
post #254

Earlier quoted context omitted.

I wonder when iOS will allow for dynamically linked shared libraries from the same Developer account.

And introduce a well known problem, not so well solved by OS makers and their developers outside Linux (somewhat). Windows and its developer community kept failing, it has improved in the recent years though, Apple decided long ago they would rather sacrifice space to guarantee a package will execute as intended. (even so, sometimes still fails as native libraries do change and aren't packaged). And upsell larger sto…

You don't need to introduce any problems. Splitting a package and deduplicating the downloads doesn't imply mixing versions.

Re: I shaved 187MB off United Airlines' 439MB iOS app

#366

Earlier quoted context omitted.

This bizarre reasoning puzzles and infuriates me so much. The linked post shaves more than 40% of an app's size in 5 minutes, by doing nothing but being curious about the half-gigabyte app and knowing how to use a couple of tools. This is not a case of "I have plenty of water so let the kids splash some in the playground to have fun", this is a case of "I have plenty of water so I will load 10000 liters in a truck an…

There’s probably an observability bias here. It could be that the app sizes would be 3x worse, if no one ever tried. You would never know, because you only see the app sizes after people have done the work.

That would mean they did the 3 minute cleanup and then declared their work done. That's not a sufficient amount of trying.

Re: I shaved 187MB off United Airlines' 439MB iOS app

#367

Earlier quoted context omitted.

Also the only way to order adult beverages

Wait you can't order alcohol without their beast of an app? I haven't flown anythign but SW in a while (rewards card)

They eliminated flight attendants taking payments.

Re: I shaved 187MB off United Airlines' 439MB iOS app

#369

Earlier quoted context omitted.

I mean, you're supposed to be at the gate when boarding starts. For all practical purposes if you miss boarding you've missed your flight even if the plane hasn't left the ground due to safety rules about letting passengers go after the door is considered closed. There's a bit of a checklist of things that need to be completed after the door gets closed and the gate pulls away. They're often incentivized to try and s…

Luckily, common air carriers do not run on anarchy and made-up rules. United, like every airline, has a Contract of Carriage, which clearly requires being at the gate only 15 minutes before a scheduled domestic flight: > All Passengers must be present at the loading gate for boarding at least 15 minutes prior to scheduled departure. The OP was clearly involuntarily denied boarding even if it was an international flig…

[deleted]

Re: I shaved 187MB off United Airlines' 439MB iOS app

#370

Earlier quoted context omitted.

I mean, you're supposed to be at the gate when boarding starts. For all practical purposes if you miss boarding you've missed your flight even if the plane hasn't left the ground due to safety rules about letting passengers go after the door is considered closed. There's a bit of a checklist of things that need to be completed after the door gets closed and the gate pulls away. They're often incentivized to try and s…

Luckily, common air carriers do not run on anarchy and made-up rules. United, like every airline, has a Contract of Carriage, which clearly requires being at the gate only 15 minutes before a scheduled domestic flight: > All Passengers must be present at the loading gate for boarding at least 15 minutes prior to scheduled departure. The OP was clearly involuntarily denied boarding even if it was an international flig…

OP showed up five minutes late, not fifteen minutes early.
Post reply on HN