Louis CAD

Results 464 comments of Louis CAD

Which JavaCV version are you on? I had a huge quality issue with 1.5.10 that was using ffmpeg 6.1, then, I tried manually with up to date 7.1.1 ffmpeg, and...

With these changes, `someScope.launch(NonCancellable) { ... }` will no longer compile. I've yet to see a tangible use case for that, where the `someScope` is useful (for anything but `Job`,...

Right, it compiles with just a warning. For some reason, I thought the deprecation level was error, though I guess that is where it's headed, fast forward into the future....

Thanks for the prompt response! This changes the code structure quite significantly, but it inspired me to try making the `sendAtomic` extension I'm looking for. I think it'd be correct...

Now, I'm wondering if using `NonCancellable` could cause coroutine garbage collection, since it's immutable, and is therefore not keeping a reference to children 🤔

Nice stuff, could serve some other use cases. Regarding GC protection, isn't the `Channel` also keeping a strong reference to the continuation via `onSend`?

Made a version that accepts any custom value for the cancellation case, ~~and ditches the unneeded `try`/`finally` block~~: ```kotlin /** * [SendChannel.send] can throw a [CancellationException] after the value was...

Nice catch, thank you! I updated my message to restore the try/finally block and not mislead anyone reading too fast.

With a colleague, I found a version of `trySelectAtomically` that doesn't need to touch the job parent manually, and doesn't need a `try`/`finally` block either. We use a local `coroutineScope...