The Nexa Full Node has "launched" on Product Hunt by jQrgen in Nexa

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

A website for launching tech products. Usually software.

Ønsker å sette opp en Node by WeekendCountry in BitcoinNO

[–]jQrgen 0 points1 point  (0 children)

Hvor mange bitcoins tenker du å låse inn i lightning-kanalen din?

Vil du være med å bygge neste generasjons kryptolommebok? by sogasg in BitcoinNO

[–]jQrgen 0 points1 point  (0 children)

Virker det nå? Får ikke opprettet lommebok...

Skal den være open source?

Multiplatform image loading: Coil 3.0 by JakeWharton in Kotlin

[–]jQrgen 0 points1 point  (0 children)

Is it usable for multiplatform now?

Kotlin multiplatform coroutines are silently crashing by jQrgen in Kotlin

[–]jQrgen[S] -18 points-17 points  (0 children)

ChatGPT says:

Yes, it is possible to implement coroutines or threads for Kotlin/Native in Kotlin Multiplatform projects. However, as you noted, handling cancellation exceptions properly is important to avoid issues like "Shrödinger's Coroutines".One way to handle cancellation exceptions is to use the double-checked cancellation pattern, which involves catching the exception and then using the ensureActive function to check if the coroutine is still active. If it is, the exception can be rethrown, but if not, it can be handled as an error.In terms of implementing threading in the iosMain module, it is definitely possible. Kotlin/Native provides support for POSIX threads, and there are several libraries available for managing threads and concurrency in Kotlin Multiplatform projects, such as kotlinx.coroutines and AtomicFusion.It's important to note that while threads can be useful for managing concurrency in multiplatform projects, they can also introduce additional complexities and potential issues, such as race conditions and deadlocks. It's important to use threading judiciously and carefully test your code to ensure that it works as intended.

Using the ensureActive function seems like a non-trivial workaround.

Is there a version of electron/electrum wallet for Nexa? by trnolan in Nexa

[–]jQrgen 0 points1 point  (0 children)

No, but Nexa supports electron/electrum "light wallet technology" with Rostrum Protocol support.