• nfrankel

    nfrankel

    9 months ago
    final step on my graalvm tryptic: after spring boot and micronaut, quarkushttps://blog.frankel.ch/native/quarkus/
    nfrankel
    kenkyee
    2 replies
    Copy to Clipboard
  • a

    Ayfri

    9 months ago
  • m

    Maksims Kims

    9 months ago
    Hey guys, I have written the second part of my Coroutines series, this time focusing on CoroutineScope: https://maxkim.eu/things-every-kotlin-developer-should-know-about-coroutines-part-2-coroutinescope
    m
    r
    2 replies
    Copy to Clipboard
  • Oleg Yukhnevich

    Oleg Yukhnevich

    9 months ago
    Hey, new release of rsocket-kotlin is here! 0.14.3 brings support for fragmentation, improved transport API and kotlin 1.6.10. Available on Maven Central! Stay tuned, as future releases will contain support for Resumption, Leasing (Request limiting) and experimental QUIC support on JVM via Netty QUIC codec!Release Notes
    Oleg Yukhnevich
    y
    3 replies
    Copy to Clipboard
  • altavir

    altavir

    9 months ago
    After almost a year being a draft, the article about problems with plugin model in Gradle is out: https://medium.com/@altavir/what-is-wrong-with-gradle-a312a7ceb651. It is complementary to the talk I've made here (I hope that the recording will be available soon). In the talk I explain why Gradle is unique in its flexibility, but there are some problems. The article mostly about global design, but is based mostly on gradle.kts.
    altavir
    kenkyee
    +4
    15 replies
    Copy to Clipboard
  • nilTheDev

    nilTheDev

    9 months ago
    TL;DR I have created a script that would let you try out small snippet of Kotlin code from the terminal. So, you don't have to launch
    intelliJ
    to try out simple Kotlin code. I would like to know how you are trying out simple Kotlin code? Would you like to use the script? Or create one? One thing I love about interpreted languages line Python is being able to try out a code snippet directly from the command line. In Python, you can either use the interactive shell or save it in a
    .py
    file and run it using
    python script.py
    . However, when it comes to Kotlin the scenario is hugely different. Most of the times I have to launch
    intelliJ
    to understand the behaviour of a simple code. And launching an IDE is no joke. It takes a lot of time for starting and indexing. And if any extra dependency is needed we have to initialise a Gradle project for that. The web based Kotlin Playground is more convenient. But sadly we can't add any third party dependencies there. I have always wanted something that would allow us to run a
    .kt
    file from the command line. But I couldn't find something like that. But today I wrote a
    python
    script that allows me to run a Kotlin file from the command line. For example, Create a file with
    .kt
    extension and write some code in it.
    // filename -> app.kt
    
    fun main(){
        println("Hello, world")
    }
    Then in the terminal type this,
    >> kotlin app.kt
    
    Hello, world // the output
    I would like to know how you are trying out small snippets of Kotlin code. Would you be interested in a tutorial that would show you how to create this kind of script? Let me know 🙂
    nilTheDev
    Big Chungus
    +4
    14 replies
    Copy to Clipboard
  • Kyle Roe

    Kyle Roe

    9 months ago
    Hey everyone 👋 While working at different places on different projects its always been interesting how developers choose to go about creating models for unit tests. I’ve seen some projects redundantly create new models for each and every test, and some projects create factories, with static models that they then use everywhere. Long story short, at work we wanted to clean up some of these tests so two of us started working on a library that would automat this for us and generate random models with actual data. The fruits of our labor can be found below 🤓 We have been using it in production for about 6 months now 🚀 We would be eternally grateful for any feedback you might have 🙏 and to see wether it potentially fits your use cases as well. Please take a look, try it out and let us know what you think 🙌 Collaboration welcome 👩‍💻 👨‍💻 https://github.com/HelloCuriosity/model-forge
    Kyle Roe
    Joakim Forslund
    +1
    8 replies
    Copy to Clipboard
  • Big Chungus

    Big Chungus

    9 months ago
    kon@1.1.4 is out with version bumps and extended docs. KON is lightweight MPP DSL for JSON data creation and manipulation with JS object (
    {}
    ) and kotlinx-serialization interop.
    Big Chungus
    a
    2 replies
    Copy to Clipboard