Hacker Newsnew | past | comments | ask | show | jobs | submit | 64mb's commentslogin

Traefik v1 is much simpler, v2 seemed to introduce so many extra layers which makes the simple stuff harder.


Caddy v2 seems to be doing something right although I don't think it comes with the same number of features out of the box. Plus it's more of http reverse proxy.


> it might be easier to wire those other components in

IMO the few lines of yaml to set the path/host for an Ingress definition seems cleaner to me than using consul-template to spit out some LB config (as in the post's example).

For simplicity, a few years ago I preferred Traefik + Swarm. Add a label or two and you're done. But Swarm died :/


TL;DR Facebook app has 18k classes, if you want to know what they are look here: https://gist.github.com/quellish/473f513fbd1310233a8e

FB App is 114MB in size, but loading this page in Chrome will use a good 450MB, idk how they managed that.


yeah the website presents it in bloated HTML unfortunately. Here is the content:

-------------------------------

How on Earth the Facebook iOS Application is so large

Recently someone on reddit asked “How on earth is the Facebook app size so large ?”. The person asking the question realized that the ~100Mb compressed App Store archive wasn’t all assets - a very large portion was the application binary.

How do you answer that question? You quickly reverse engineer the application!

1 Download the binary to a jailbroken device from the App Store

2 Find the application on the device. SSH into the device and find the application container on the filesystem:

find / -type d -iname "SomeApp*.app"

3 Decrypt the binary Install dumpdecrypted on the device. Follow the instructions for using it.

4 Get the files off the device using scp or rsync. In most cases you will want the application container, the decrypted binary, and the application data container (i.e. what it writes out to the filesystem).

At this point you have the decrypted binary and it’s files. You can now run class-dump on the binary and output a directory of header files for all the classes in the binary, or you can use a disassembler like IDAPro or Hopper to easily see all the classes, symbols, etc.

In the case of the Facebook application, there are more than 18,000 classses in the application:

[... list of all the classes ...] https://gist.github.com/quellish/473f513fbd1310233a8e

There is a LOT of crap in there. Even a “FBFeedAwesomeizer” - which alone is a collection of 74 classes and protocols.

This is why the application binary itself is over 114Mb.


> FB App is 114MB in size, but loading this page in Chrome will use a good 450MB, idk how they managed that.

Comparing the size of the binary with the size of the memory used by the live program is apples to oranges. The two metrics don't have any correlation whatsoever.


He doesn't compare the size of the binary with the size "of the memory used by the live program".

He compared the size of the binary with the size (in Chrome's memory) of the idiot's webpage complaining about it.

Which he obviously knows is Apples to Oranges, but it's still fun to know and illuminating (the guy blames FB for being too careless with their app size but is too stupid to watch for his web post's size).


I love how easily some ppl on HN call someone an idiot. Way to encourage people to share.

I found it interesting even if my browser ate 260 whatever MB of memory. Doesn't make him an idiot, just a little bit lazy about optimizing his blog (which is not used by millions like the Facebook app)

It seems none of the cool kids with lean blogs managed to post this stuff or get it on HN. I'd love to read their articles about it, but hey, they don't seem to exist.


>I love how easily some ppl on HN call someone an idiot. Way to encourage people to share.

We live in the "social sharing age". People even share what they had for lunch. If anything, people should be encouraged to share LESS or more meaninful stuff only.

>It seems none of the cool kids with lean blogs managed to post this stuff or get it on HN. I'd love to read their articles about it, but hey, they don't seem to exist.

Serving something you want to read doesn't mean there should be no criticism for serving it in a bad way.

If you had only one chinese restaurant in your city, one that served bad food, would it make sense not to complain for their good quality because "other restaurants don't serve noodles at all"?


> Serving something you want to read doesn't mean there should be no criticism for serving it in a bad way.

There's criticism of serving something in a bad way, and then there is calling someone an "idiot".

Should we instantly call every single person an idiot for making a mistake?

I wouldn't say that the food was bad here, it was just a bit cold.

> We live in the "social sharing age". People even share what they had for lunch. If anything, people should be encouraged to share LESS or more meaninful stuff only.

This is off topic, but I don't think people should share less. If you are bothered by it, you should read less. Maybe we should have better tools for filtering. But information is everything, something as banal as "I had a bad day" has value. Tracking social sentiment for example.


>There's criticism of serving something in a bad way, and then there is calling someone an "idiot".

True.

>Should we instantly call every single person an idiot for making a mistake?

No, but what if they do that first by pointing fingers at the stupid FB devs?

>This is off topic, but I don't think people should share less. If you are bothered by it, you should read less.

This still leaves the problem of an overproduction of pointless stuff, which aside from the ecological issues and time wasted by those producing it, also makes deciding "what to read" among the avalance of BS more difficult.


Looks a nifty app. Quite missed this functionality that Windows 7 had.

However the site: Why is all html, content and styling in JavaScript? It's 2015, site should display something with JS disabled. And the HTML that is generated is awful.

Also, no fall back fonts specified, I'm on Windows and it appears not to have Lucida Grande installed. Times New Roman doesn't look as nice.


I'll make these changes. Didn't have the funds to hire a web dev so had to hack it together myself. Thanks for the feedback.


Load of bollocks.


clickbait; tl;dr phone call saying they get in, email 30 min later saying they were rejected, email was wrong.


Maybe all of your other clocks run fast?


They could just say "4gb" or "250mb" and reserve the words "unlimited" until they truly are. I'm on Three and use 20-25gb/mo. They say it's unlimited, but it certainly isn't limiting.


It can never be "unlimited" because there is always a limit to how much data you can transfer in a month, given a theoretical maximum bandwidth of x Mbps for 4G networks (actual achieveable transfer speed even less). The correct term is "unmetered".


Actually, yeah, that would be a better term.


How does this protect me any more than 2FA does?


Seems that in the same way a house alarm protects you, loosely compared to your house keys.


People still use cheques? Don't you guys over the pond have Direct Debits?


Not really. I tried send someone a large sum recently and my options were 3rd party payment sites (Paypal, Google Wallet etc), cash, or check. Direct transfers (ACH) do exist, but it's difficult to set up and so is usually between accounts owned by one person (bank<->bank, bank<->Paypal). Plus it takes 3-5 business days. I ended handing over a cashier's check.


The concept exists, but it requires the payee to actually set that up.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: