https://kotlinlang.org logo
Title
d

dmcg

03/31/2023, 10:54 AM
Cunning Kotlin Context Receivers

https://youtu.be/sHU2j14BiEY

m

mikehearn

03/31/2023, 3:07 PM
Thanks! Could you share what tools you use to make the video, including the progress bar plugin?
d

dmcg

03/31/2023, 4:09 PM
The progress bar is courtesy of @Dmitry Kandalov and his plugin plugin. I record with OBS and the MacBook webcam, capturing a 720p section of the screen. Editing is with Descript. The intro is recorded on a iPhone 11 with Teleprompter software, and the anagrams are animated with some home-grown hacking.

https://youtu.be/DNUT9p9mSzc

d

Dmitry Kandalov

03/31/2023, 4:10 PM
m

mikehearn

03/31/2023, 4:10 PM
Ah yes I was using Live Plugin just a few days ago. It's really incredible work, thanks @Dmitry Kandalov
@dmcg That's very helpful, thank you! I enjoyed the video, am excited for context receivers to stop being experimental.
d

dmcg

03/31/2023, 4:12 PM
I’m sure Dmitry won’t mind me sharing the plugin source - https://gist.github.com/dkandalov/2f30c827fa79e9f389053ea0253588fd which I tweaked a bit
It will be nice when context receivers crash the compiler a bit less and are understood by the IDE a bit more.
m

mikehearn

03/31/2023, 4:25 PM
Thanks! Very useful even just for learning Live Plugin better