• romainbsl

    romainbsl

    2 years ago
  • diego-gomez-olvera

    diego-gomez-olvera

    2 years ago
    the new Dokka looks great

    https://www.youtube.com/watch?v=OvFoTRhqaKg&list=PLnYRVL0Cw1FQRDYpKQ8kbcg2-K8I9k1RH

    diego-gomez-olvera
    1 replies
    Copy to Clipboard
  • mattmoore

    mattmoore

    2 years ago
    For those curious about pattern matching for Kotlin, I've been working with Raul Raja, Nico D'Cotta and a few others to bring pattern matching to Kotlin via Arrow Meta. Nico and I will be giving a talk on it next Wednesday: https://www.meetup.com/kotlin-london/events/271391822/ Anyone who is interested is more than welcome to attend. 🙂 If you'd like to help, follow along with our journey or have any questions, we are in the #pattern-matching channel.
    mattmoore
    Kroppeb
    2 replies
    Copy to Clipboard
  • Robert Jaros

    Robert Jaros

    2 years ago
    I've released KVision 3.11.0 - https://github.com/rjaros/kvision. Highlights of this release:- full support for Onsen UI mobile web components with type-safe Kotlin API and DSL builders (see demo: https://github.com/rjaros/kvision-examples#onsen-ui-kitchen-sink)- extended functionality of the Maps module (contributed by Jörg Rade) - a lot of small improvements and bug fixes - upgraded dependencies (Javalin 3.9.0, Jooby 2.8.8, Spring Boot 2.3.1, ReduxKotlin 0.5.1, Tabulator 4.7.1, Chart.js 2.9.3 and others) For more details about this release see the changelog. As always any feedback is welcomed 🙂
    Robert Jaros
    dave08
    17 replies
    Copy to Clipboard
  • elizarov

    elizarov

    2 years ago
    Kotlin lambdas can have a receiver in their scope. They are great to make your code concise, but keeping code readable takes some practice. https://medium.com/@elizarov/with-the-receiver-in-scope-7b52bdcca6e9
    elizarov
    dave08
    +5
    35 replies
    Copy to Clipboard
  • Dennis Schröder

    Dennis Schröder

    2 years ago
    Interested in Kotlin and home automation? Then have a look at Khome, a home automation library build for Home Assistant (the fastest growing smart home application out there). Khome enables you to write your own Home Assistant automation applications, that can observe state changes, listen to events, and much more. Here is a simple example to give you ua quick feeling what it is:
    val KHOME = khomeApplication()
    
    val LivingRoomLuminance = KHOME.LuminanceSensor("livingRoom_luminance")
    val LivingRoomMainLight = KHOME.SwitchableLight("livingRoom_main_light")
    
    fun main() {
        LivingRoomLuminance.attachObserver { //this: Actuator<LuminanceState,LuminanceAttributes>
            if (actualState.value < 3.0) {
                LivingRoomMainLight.desiredState = SwitchableState(ON)
            }
        }
    
        KHOME.runBlocking()
    }
    Dennis Schröder
    altavir
    +1
    5 replies
    Copy to Clipboard
  • Anwar

    Anwar

    2 years ago
    Pakistani community yar kaha ho.... Yar ak group bna len or phir osmn K dosre ki help hogi
    Anwar
    t
    2 replies
    Copy to Clipboard
  • Erik Christensen

    Erik Christensen

    2 years ago
    Just released version 0.2.3 of Island Time -- a multiplatform date and time library. There are some fancy new rounding operators, API tweaks, and a separate Kotlin 1.4-M3 build, but probably the biggest star of the release is a new project page with vastly expanded documentation, so check it out! https://islandtime.io
    Erik Christensen
    j
    +1
    7 replies
    Copy to Clipboard
  • elizarov

    elizarov

    2 years ago
    Immutability used to be a prohibitively costly luxury in the old days of slow and expensive computers. Not anymore https://medium.com/@elizarov/immutability-we-can-afford-10c0dcb8351d
    elizarov
    t
    +1
    7 replies
    Copy to Clipboard