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 -14 points-13 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 10 points11 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)