Ilya Muradyan
Ilya Muradyan
Looks like it's related to the logic of [`CapturingOutputStream`](https://github.com/Kotlin/kotlin-jupyter/blob/93e2ca8d25946098da258bb8eb2887e0a561fac7/src/main/kotlin/org/jetbrains/kotlinx/jupyter/messaging/protocol.kt#L389). It flushes the buffer i.e. if some time limit is reached. In this particular case, increasing output buffer size helps: ```...
https://github.com/Kotlin/kotlin-jupyter/blob/master/docs/magics.md
So maybe max-time option should be also added %output --max-buffer=10000000 --max-time=100000
`%output --max-buffer=100000000 --max-cell-size=100000000` But I think I'll adjust the behavior of `\r` itself
Hi! To run Kotlin kernel, Java 11 should be installed on the machine, maybe that's the reason?
Hot jar reloading isn't supported by Java Machine, but we can improve message render here to give a hint about possible reason: https://github.com/Kotlin/kotlin-jupyter/blob/88f14af1306530126cfeb2da49e24374aba408b3/jupyter-lib/shared-compiler/src/main/kotlin/org/jetbrains/kotlinx/jupyter/exceptions/ReplException.kt#L11 Related links: https://youtrack.jetbrains.com/issue/IDEA-238769/Lots-of-ZipFile-invalid-LOC-header-bad-signature-in-the-logs#focus=Comments-27-4216894.0-0 https://randomizd.blogspot.com/2019/10/jar-file-handles-clean-up-after-your.html https://bugs.java.com/bugdatabase/view_bug.do?bug_id=4425695
@koperagen can't reproduce in Jupyter notebook... @strangepleasures how did you implement completion in Datalore? Where should we file an issue?
Hello! You may use non-propagating opt-in as a workaround: ``` import kotlin.time.* @OptIn(ExperimentalTime::class) val res = runBlocking { val mark = TimeSource.Monotonic.markNow() delay(300) mark.elapsedNow() } println(res) ``` There will be...
Actually, compiles for me, but I'll recheck and maybe add a possibility of passing compiler arguments (via magics)
Are you using the latest kernel version? It is `0.8.3.122`. I cannot reproduce the compilation error in this case, only warning