jw
04/26/2023, 12:43 PMjw
04/26/2023, 12:43 PMrusshwolf
04/26/2023, 12:43 PMjw
04/26/2023, 12:44 PMjw
04/26/2023, 12:44 PMrusshwolf
04/26/2023, 12:48 PMrusshwolf
04/26/2023, 12:55 PMjessewilson
04/26/2023, 5:22 PMjessewilson
04/26/2023, 5:23 PMjw
04/26/2023, 5:24 PMjw
04/26/2023, 5:25 PMjw
04/26/2023, 5:26 PMrusshwolf
04/26/2023, 5:47 PMjw
04/26/2023, 6:01 PMQuickJs
type is fully usable on its own inside the Zipline artifact, for what it's worth. But you drag in the Zipline types and stuff along with it that you have to ignoreDaniel Perez
04/26/2023, 8:09 PMandroidx.javascriptengine
over QuickJs
at any point. I got the impression QuickJs
is abandoned but I also know it's a temporary solution until Kotlin/Wasm stabilizesjw
04/26/2023, 8:12 PMjw
04/26/2023, 8:13 PMjw
04/26/2023, 8:14 PMjw
04/26/2023, 8:14 PMjw
04/26/2023, 8:16 PMdave08
04/27/2023, 1:15 PMvalue class
in a function parameter in retrofit?jw
04/27/2023, 1:17 PMdave08
04/27/2023, 1:20 PMboxed if a primitiveSo this won't work:
@PUT("/someendpoint")
suspend fun foo(someId: SomeId): Unit
@JvmInline
value class SomeId(val value: Int)
and this will (since it won't see a boxed value?)
@PUT("/someendpoint")
suspend fun foo(someId: SomeSearch): Unit
@JvmInline
value class SomeSearch(val value: String)
dave08
04/27/2023, 1:21 PMjw
04/27/2023, 1:23 PMdave08
04/27/2023, 1:24 PMLoe
04/27/2023, 11:32 PMassets
folder from the commonMain
module? i’m using okio
api to read the file. it requires the full path of the file to be read but I don’t know how to provide the full path or where to put the csv file
fun readCsvFile(filePath: String){
val path = "words.txt".toPath() // where should I put this file?
val csvContent = FileSystem.SYSTEM.read(path) {
readUtf8()
}
}
jw
04/27/2023, 11:33 PMjw
04/27/2023, 11:33 PMLoe
04/27/2023, 11:34 PM