https://kotlinlang.org logo
Join SlackCommunities
Powered by
# talking-kotlin
  • h

    hhariri

    12/13/2017, 9:22 AM
    set the channel description: Suggestions, Feedback, Comments. All welcome
  • e

    elaborate tissue

    12/18/2017, 10:59 AM
    Hi, enjoying the podcast. For this particular one the soundcloud download button is missing, any way to fix that? http://talkingkotlin.com/Writing-A-Clojure-IDE-in-Kotlin-with-colin-fleming/
  • w

    wakingrufus

    06/14/2019, 10:30 PM
    I think the feed for today is broken.
  • w

    wakingrufus

    06/14/2019, 10:31 PM
    Anyone else having an issue?
  • i

    irus

    06/15/2019, 8:08 AM
    Feed? Or just latest track?
  • w

    wakingrufus

    06/15/2019, 2:29 PM
    Latest track
  • w

    wakingrufus

    06/15/2019, 2:29 PM
    The one with @Mark
  • h

    hhariri

    06/16/2019, 5:00 PM
    I’d put it through auphonic but seems it messed up for some folks. I re-uploaded again and it should be resolved.
  • w

    wakingrufus

    06/16/2019, 7:50 PM
    Thanks !
  • b

    Buzz

    08/27/2019, 11:45 PM
    Does Kotlin ever get used for ml?
    e
    l
    i
    • 4
    • 3
  • v

    Victor Cardona

    02/06/2020, 2:39 AM
    Hi @hhariri ! I just wanted to take a moment and say that I’m really enjoying the podcast. I’m new to Kotlin, and hearing stories of other developers’ experiences has really motivated me to learn more. Thank you.
    👏 2
    h
    • 2
    • 1
  • v

    Vladyslav Sitalo

    06/27/2020, 6:23 PM
    @roman.belov in the Data Science podcast https://talkingkotlin.com/catching-up-with-data-science-at-jetbrains/ you talk about “type providers” I found the concept fascinating but I wasn’t able to find any information about Kotlin implementation. Do you have pointers I can look at?
  • v

    Victor Cardona

    04/10/2021, 8:18 PM
    @hhariri , with the new show format, are you stopping the podcast feed and just using YouTube now?
    h
    • 2
    • 3
  • v

    vanniktech

    11/11/2021, 5:25 PM
    Would it be possible to enhance the RSS feed? (https://talkingkotlin.com/feed) Like including the description, linking the audio file and including a youtube link
    h
    • 2
    • 3
  • m

    Mendess

    01/09/2023, 11:32 AM
    I'm trying to learn coroutines and came across this bit of documentation about dispatchers, why should unconfined not be used? It seems like it should be the best default dispatcher, whichever thread is free executes the next ready task 🤔
  • j

    Joshua Hansen

    09/13/2023, 8:05 PM
    edit: moved to different channel
    e
    • 2
    • 2
  • i

    Ido Flax

    08/01/2024, 1:04 PM
    Not sure which channel this should go in, so let me know if it should go somewhere else: Given this infix function, that implies
    this
    is
    T
    if it returns true
    Copy code
    @OptIn(ExperimentalContracts::class)
    inline infix fun <reified T : PsiElement> PsiElement.matches(pattern: PsiElementPattern.Capture<T>): Boolean {
        contract { returns(true) implies (this@matches is T) }
        return pattern.accepts(this)
    }
    the contract doesn’t work if calling it using infix syntax: nono
    Copy code
    inline fun <reified T : PsiElement, Y> PsiElement.doIfMatches(
        pattern: PsiElementPattern.Capture<T>,
        block: (T) -> Y
    ): Y? =
        if (this matches pattern) { // <-- infix call
            block(this) // <-- "[TYPE_MISMATCH] Type mismatch. Required: T Found: PsiElement"
        } else {
            null
        }
    This works nod
    Copy code
    inline fun <reified T : PsiElement, Y> PsiElement.doIfMatches(
        pattern: PsiElementPattern.Capture<T>,
        block: (T) -> Y
    ): Y? =
        if (this.matches(pattern)) { // <-- none infix call
            block(this) // <-- "Smart cast to T (for null call)" (appears twice for some reason)
        } else {
            null
        }
    Any idea what’s going on here? is this an issue with contracts (being experimental and all)?
    d
    • 2
    • 11