bexp's comments

bexp | 9 years ago | on: How to Build the Future with Sam Altman

Agree with above, Sama puts himself into same bucket of people as Zuck and Musk in how to build future series. What he has build so far ? Happened to be a VC partner sitting on huge pile of cash, distributing it to bunch of YC applicants ? I could see Paul Graham as YC founder takes some credit for creating all YC unicorns, Sam is just one of many partners in VC firm, nothing outstanding though.

bexp | 10 years ago | on: Which Android HTTP library to use

Facebook using java.util.concurrent.Future<T> interface for downloading task: see here

https://github.com/facebook/fresco/blob/c5e1d4cf2c081bf871f5...

you can ether call future.cancel() or cancel(true): in first case download task will be finished but further processing in pipeline will be stopped. Future.cancel(true) is more aggressive and abandons download but you will get InterruptedException. As you see from source code Facebook using less aggressive approach with future.cancel(false) call.

bexp | 10 years ago | on: Which Android HTTP library to use

I would recommend Fresco from Facebook, they had implemented cancellation logic also memory allocation done in more efficient way than other libs.
page 1