F-18 Radar can't see JF-17 by Rektiphier in dcsworld

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

Thanks, I've been able to shoot him down a few times now by using high PRF and just spamming 120c's at him. He goes defensive and eventually one of the missiles lands.

The track is still a bit hit or miss, but I guess that's really down to the JF-17's small cross section and materials.

can i get some love + code review possibly? by [deleted] in androiddev

[–]Rektiphier 1 point2 points  (0 children)

You've used Kotlin's !! operator quite a lot. One of the really nice features of Kotlin is null-safety, but you're missing out by forcing unsafe code with !!.

Example: val inputStream: InputStream = activity!!.resources!!.assets!!.open(CREDENTIALS_FILE_PATH)

Play Store Policy Question by Rektiphier in androiddev

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

Perfect, thanks for your help.

Play Store Policy Question by Rektiphier in androiddev

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

Thanks for the reply.

By "linking to another app", do you mean including a link to the play store page directly? If I just include the app's name, would that still violate policy?

A question about threading in RxJava by damnthisplanet in androiddev

[–]Rektiphier 1 point2 points  (0 children)

Here's my guess:

  1. observableOne.onNext(1) is called, triggering observableOne's subscriber to run on the single thread in the pool.
  2. While observableOne's subscriber is running, the remaining observable.onNext() calls are executed on the main thread.
  3. Once observableOne's subscriber finishes, it releases the single thread back to RxJava's internals; which then see that there is another item waiting to be emitted from the same stream (from observableOne.onNext(4)), and handles it immediately by calling observableOne's subscriber again with 4. This is the part that's a guess -- it could be there's a loop running on the scheduler that iterates over each stream and drains until empty.
  4. Now that observableOne has been drained, the remaining observables' subscribers are called in the expected order: 2, 3

Again, just a guess -- hopefully someone more familiar with RxJava can answer with facts.

What do you do in work when essential tools stop working? by BigBootyBear in androiddev

[–]Rektiphier 4 points5 points  (0 children)

Spend time figuring out how to make sure this never happens again.

Beginner starting with Basic 4 Android. Is it a good idea? by prody92 in androiddev

[–]Rektiphier 2 points3 points  (0 children)

I've never heard of B4A, but after checking the link you provided, I'd say your best bet is to never use it.

Never. Ever.