Kotlin coroutines testing tip - exploring 3 of the important apis to control virtual time in your tests.
Kotlin coroutines testing tip - using backgroundScope to cancel never ending child coroutines in tests.
Kotlin coroutines testing tip - The most important concept for testing coroutines is knowing how to pick the right Dispatcher
My tried and tested tips on testing Kotlin Coroutines
#2023
Quick video demonstrating kscript + github copilot (unlock your scripting powers)
A shell script that will pull new blog posts from your feed and automatically post to Mastodon.
#2022
A few Kotlin constructs have been introduced into the language over time. I wrote this post as a personal/public service advisory to remind us of their significance.
#2019
This feature is beneficial for projects defining custom source sets, since the compilation of independent source sets can be parallelized. In the case of multiplatform projects, targets for different platforms can also be built in parallel. For Android, the debug and release build types can be compiled in parallel.
This sounds pretty cool, however I paused to think how often would i need the debug and release build types to be compiled in parallel?
#2018
We recently held our semi-annual hackathon at Instacart - the Carrot Wars 2018!
In putting this hackathon together, I noticed a pretty blaring gap - there wasn’t a simple (and free) online service that would quickly tabulate the results for a hackathon event. We looked around and found some nifty options, but most of them were a tad bit too expensive for our liking. They also were not setup for a single event use or required a monthly subscription.
Checkout this quick blog post I wrote for my company, tweaking the existing Kotlin TODO to work towards our requirements.
While I don’t think this solution is a panacea for all your missing code snippets, I have found some luck with this method, in adding accountability for those PR review feedback comments you say you’ll get to, but conveniently forget :)
Here’s a bonus if you’re reading this article from here: