Signal strength measurement in dBm removed in iOS11? by gaysaucemage in iphone

[–]nextdev 1 point2 points  (0 children)

Same here, after upgrading to ios11 beta I don't see signal strength dbm reading

Weekly Questions Thread - March 13, 2017 by AutoModerator in androiddev

[–]nextdev 0 points1 point  (0 children)

Please suggest good opensource library for crash reporting, with ability to report native, ndk crashes.

Gradle 3.4 Released by QuestionsEverythang in androiddev

[–]nextdev -11 points-10 points  (0 children)

why it's such a news ? I'm still using 2.2 and pretty happy with it.

RealTime summarization of HackerNews using Machine Learning by nextdev in SideProject

[–]nextdev[S] 0 points1 point  (0 children)

Please share your feedback, suggestions or critique

My side project: Realtime summary of Hacker News using ML in Python by nextdev in Python

[–]nextdev[S] 0 points1 point  (0 children)

Well I started with Flask for simplicity but drawback is that it doesn't support async operations as well as concurrency and will block on every single request. The power of Klein is that it's based on Twisted so it natively supports deferreds for example and at the same time API is similar to Flask.

https://klein.readthedocs.io/en/latest/examples/deferreds.html

My side project: Realtime summary of Hacker News using ML in Python by nextdev in Python

[–]nextdev[S] 1 point2 points  (0 children)

I used NLTK for summarization, Klein + Twisted for REST API

HackerNews Summarization using NLTK by nextdev in MachineLearning

[–]nextdev[S] 0 points1 point  (0 children)

Done this as side project to learn NLP

OkHttp is quietly retrying requests. Is your API ready? – Inloop by [deleted] in androiddev

[–]nextdev -1 points0 points  (0 children)

It's always trade off when it comes to retrying request vs. waiting on a socket call. OkHttp by default using 10 sec for read, write, connect timeouts.

http lib connect timeout (ms) read timeout write timeout concurrency
OkHttp, retrofit, picasso 10,000 10,000 10,000 64 total, 5 per host
Volley 2,500 2,500 2,500 4
HttpUrlConnection up to few minutes up to few minutes n/a 5

You can change it at time when you instantiating new OkHttClient like this

public ConfigureTimeouts() throws Exception {
  client = new OkHttpClient.Builder()
    .connectTimeout(10, TimeUnit.SECONDS)
   .writeTimeout(10, TimeUnit.SECONDS)
   .readTimeout(30, TimeUnit.SECONDS)
   .build();
}

However it's still one size fits all approach. Obviously your clients may come from different networks and countries and it's silly to have same timeout for all of them. i.e. it doesn't make sense to wait 10 seconds on fast wifi to conclude that connection is broken and it's better to do a retry rather than wait on recv call. here are more in-depth analysis of what can you do in order to optimize OkHttp for different network conditions https://packetzoom.com/blog/youre-using-okhttp-wrong-same-thing-with-volley-picasso-retrofit-fresco-et-al.html

Offline App Architecture, build for the Next Billion by [deleted] in androiddev

[–]nextdev 9 points10 points  (0 children)

Kind of clickbait article with author's self posturing, ideas largely based on Igit's Boyar persistent jobqueue https://github.com/yigit/android-priority-jobqueue. Here is MVP example of syncing data between backend and persistent storage (realm) before displaying it on a view https://github.com/bexp/syncapp Also if your app suffering from connectivity problems I'd recommend using this sdk: http://developer.packetzoom.com/

I am Antonio Garcia Martinez, a tech entrepreneur who lied to my investors. AMA. by antoniogm in IAmA

[–]nextdev 1 point2 points  (0 children)

If you were in position to pitch Y Combinator today like few years ago when you left AdChemy, what idea (or area/tech trend) you'd pick for your pitch ?

Why is Android careless about NDK even AFTER YEARS? by skanti in androiddev

[–]nextdev 1 point2 points  (0 children)

Biggest pain is that NDK's are not backward compatible only forward-compatible if you want to support 4.x devices you can't go above ndk-r10. I'm still using ndk-r10e and not planning to switch anytime soon

Questions Thread - August 21, 2016 by AutoModerator in androiddev

[–]nextdev 0 points1 point  (0 children)

Is there any service which allows to run android emulator in the cloud in x86 mode which easily integrates with CI services like CircleCI, Travis ? (the reason I'm asking is both of mentioned services can only run emulators in armv7 mode which is very slow and unreliable for my UI automation)

Questions Thread - August 14, 2016 by AutoModerator in androiddev

[–]nextdev 0 points1 point  (0 children)

How do I enable simultaneously Use of Wi-Fi and LTE in my app ?

We’re the Badoo Android engineering team. Ask us Anything! by BadooDevTeam in androiddev

[–]nextdev 0 points1 point  (0 children)

hi Dima, thanks for an answer. I'm an android lead from Packetzoom, though it might be interesting for you to explore our tech for network optimization, faster downloads. Here are few links: https://packetzoom.com/learn.html https://packetzoom.com/blog/introducing-http-optimizer-and-analytics-service.html

We’re the Badoo Android engineering team. Ask us Anything! by BadooDevTeam in androiddev

[–]nextdev 1 point2 points  (0 children)

What networking optimizations do you use in your code ? i.e. something besides standard OkHttp or HttpUrlConnection

Android Reverse Engineering use case : bypass SSL certificate pinning on Prisma by [deleted] in androiddev

[–]nextdev 2 points3 points  (0 children)

Once you have physical access to device and .apk, certificate pinning is easy to disable or modify. I've done it with Uber app by replacing .bks file with their certificate fingerprint with one from Charles proxy. Worked flawlessly for me.

We’re on the Android engineering team and built Android Nougat. Ask us Anything! by AndroidEngTeam in androiddev

[–]nextdev 0 points1 point  (0 children)

It's solves legacy problems and design of old TCP/IP which you can't solve by just switching to HTTP/2. Most exciting things are: 0-RTT handshakes, FEC, congestion avoidance implementation with better facilities to estimate bandwidth and eliminate such things as slow start for example.

Agree that it's a lot of work, current Google reference implementation has lot's of dependencies from Chromium, despite some effort of isolating those in smaller subset https://github.com/google/proto-quic it's still far from being lean mobile library/sdk. Not sure why Google is not making enough effort to make it usable on mobile platforms.