https://kotlinlang.org logo
Join the conversationJoin Slack
Channels
100daysofcode
100daysofkotlin
100daysofkotlin-2021
advent-of-code
aem
ai
alexa
algeria
algolialibraries
amsterdam
android
android-architecture
android-databinding
android-studio
androidgithubprojects
androidthings
androidx
androidx-xprocessing
anime
anko
announcements
apollo-kotlin
appintro
arabic
argentina
arkenv
arksemdevteam
armenia
arrow
arrow-contributors
arrow-meta
ass
atlanta
atm17
atrium
austin
australia
austria
awesome-kotlin
ballast
bangladesh
barcelona
bayarea
bazel
beepiz-libraries
belgium
berlin
big-data
books
boston
brazil
brikk
budapest
build
build-tools
bulgaria
bydgoszcz
cambodia
canada
carrat
carrat-dev
carrat-feed
chicago
chile
china
chucker
cincinnati-user-group
cli
clikt
cloudfoundry
cn
cobalt
code-coverage
codeforces
codemash-precompiler
codereview
codingame
codingconventions
coimbatore
collaborations
colombia
colorado
communities
competitive-programming
competitivecoding
compiler
compose
compose-android
compose-desktop
compose-hiring
compose-ios
compose-mp
compose-ui-showcase
compose-wear
compose-web
connect-audit-events
corda
cork
coroutines
couchbase
coursera
croatia
cryptography
cscenter-course-2016
cucumber-bdd
cyprus
czech
dagger
data2viz
databinding
datascience
dckotlin
debugging
decompose
decouple
denmark
deprecated
detekt
detekt-hint
dev-core
dfw
docs-revamped
dokka
domain-driven-design
doodle
dsl
dublin
dutch
eap
eclipse
ecuador
edinburgh
education
effective-kotlin
effectivekotlin
emacs
embedded-kotlin
estatik
event21-community-content
events
exposed
failgood
fb-internal-demo
feed
firebase
flow
fluid-libraries
forkhandles
forum
fosdem
fp-in-kotlin
framework-elide
freenode
french
fritz2
fuchsia
functional
funktionale
gamedev
ge-kotlin
general-advice
georgia
geospatial
german-lang
getting-started
github-workflows-kt
glance
godot-kotlin
google-io
gradle
graphic
graphkool
graphql
graphql-kotlin
graviton-browser
greece
grpc
gsoc
gui
hackathons
hacktoberfest
hamburg
hamkrest
helios
helsinki
hexagon
hibernate
hikari-cp
hire-me
hiring
hongkong
hoplite
http4k
hungary
hyderabad
image-processing
india
indonesia
inkremental
intellij
intellij-plugins
intellij-tricks
internships
introduce-yourself
io
ios
iran
israel
istanbulcoders
italian
jackson-kotlin
jadx
japanese
jasync-sql
java-to-kotlin-refactoring
javadevelopers
javafx
javalin
javascript
jdbi
jhipster-kotlin
jobsworldwide
jpa
jshdq
juul-libraries
jvm-ir-backend-feedback
jxadapter
k2-early-adopters
kaal
kafka
kakao
kalasim
kapt
karachi
karg
karlsruhe
kash_shell
kaskade
kbuild
kdbc
kgen-doc-tools
kgraphql
kinta
klaxon
klock
kloudformation
kmdc
kmm-español
kmongo
knbt
knote
koalaql
koans
kobalt
kobweb
kodein
kodex
kohesive
koin
koin-dev
komapper
kondor-json
kong
kontent
kontributors
korau
korean
korge
korim
korio
korlibs
korte
kotest
kotest-contributors
kotless
kotlick
kotlin-asia
kotlin-beam
kotlin-by-example
kotlin-csv
kotlin-data-storage
kotlin-foundation
kotlin-fuel
kotlin-in-action
kotlin-inject
kotlin-latam
kotlin-logging
kotlin-multiplatform-contest
kotlin-mumbai
kotlin-native
kotlin-pakistan
kotlin-plugin
kotlin-pune
kotlin-roadmap
kotlin-samples
kotlin-sap
kotlin-serbia
kotlin-spark
kotlin-szeged
kotlin-website
kotlinacademy
kotlinbot
kotlinconf
kotlindl
kotlinforbeginners
kotlingforbeginners
kotlinlondon
kotlinmad
kotlinprogrammers
kotlinsu
kotlintest
kotlintest-devs
kotlintlv
kotlinultimatechallenge
kotlinx-datetime
kotlinx-files
kotlinx-html
kotrix
kotson
kovenant
kprompt
kraph
krawler
kroto-plus
ksp
ktcc
ktfmt
ktlint
ktor
ktp
kubed
kug-leads
kug-torino
kvision
kweb
lambdaworld_cadiz
lanark
language-evolution
language-proposals
latvia
leakcanary
leedskotlinusergroup
lets-have-fun
libgdx
libkgd
library-development
linkeddata
lithuania
london
losangeles
lottie
love
lychee
macedonia
machinelearningbawas
madrid
malaysia
mathematics
meetkotlin
memes
meta
metro-detroit
mexico
miami
micronaut
minnesota
minutest
mirror
mockk
moko
moldova
monsterpuzzle
montreal
moonbean
morocco
motionlayout
mpapt
mu
multiplatform
mumbai
munich
mvikotlin
mvrx
myndocs-oauth2-server
naming
navigation-architecture-component
nepal
new-mexico
new-zealand
newname
nigeria
nodejs
norway
npm-publish
nyc
oceania
ohio-kotlin-users
oldenburg
oolong
opensource
orbit-mvi
osgi
otpisani
package-search
pakistan
panamá
pattern-matching
pbandk
pdx
peru
philippines
phoenix
pinoy
pocketgitclient
polish
popkorn
portugal
practical-functional-programming
proguard
prozis-android-backup
pyhsikal
python
python-contributors
quasar
random
re
react
reaktive
realm
realworldkotlin
reductor
reduks
redux
redux-kotlin
refactoring-to-kotlin
reflect
refreshversions
reports
result
rethink
revolver
rhein-main
rocksdb
romania
room
rpi-pico
rsocket
russian
russian_feed
russian-kotlinasfirst
rx
rxjava
san-diego
science
scotland
scrcast
scrimage
script
scripting
seattle
serialization
server
sg-user-group
singapore
skia-wasm-interop-temp
skrape-it
slovak
snake
sofl-user-group
southafrica
spacemacs
spain
spanish
speaking
spek
spin
splitties
spotify-mobius
spring
spring-security
squarelibraries
stackoverflow
stacks
stayhungrystayfoolish
stdlib
stlouis
strife-discord-lib
strikt
students
stuttgart
sudan
swagger-gradle-codegen
swarm
sweden
swing
swiss-user-group
switzerland
talking-kotlin
tallinn
tampa
teamcity
tegal
tempe
tensorflow
terminal
test
testing
testtestest
texas
tgbotapi
thailand
tornadofx
touchlab-tools
training
tricity-kotlin-user-group
trójmiasto
truth
tunisia
turkey
turkiye
twitter-feed
uae
udacityindia
uk
ukrainian
uniflow
unkonf
uruguay
utah
uuid
vancouver
vankotlin
vertx
videos
vienna
vietnam
vim
vkug
vuejs
web-mpp
webassembly
webrtc
wimix_sentry
wwdc
zircon
Powered by Linen
random
  • t

    thomasnield

    09/20/2018, 2:35 AM
    Had some fun tonight doing gradient descent linear regression from scratch in Kotlin, starting with a simple y = mx + b fitting. Once you get the multivariable calculus, it's stunning and beautiful how little code is required. https://gist.github.com/thomasnield/fbe2e2205233388577e6abe6f5bbe897
    :kotlin-flag: 4
    k
    e
    • 3
    • 2
  • t

    thomasnield

    09/21/2018, 2:00 AM
    Got a suggestion to create a cheat sheet showing how to convert math symbols and expressions into Kotlin code. Here's the start, contributions welcome. https://github.com/thomasnield/kotlin_math_cheatsheet/blob/master/README.md
    k
    • 2
    • 2
  • n

    Nikky

    09/21/2018, 2:57 AM
    best would be if there was a svg that picks up foreground color and background or transparency based on css
    t
    • 2
    • 2
  • e

    elect

    09/21/2018, 9:38 AM
    do you guys usually include
    .idea/
    folder into VCS?
    :no_red: 15
    :yes: 2
    n
    g
    +2
    • 5
    • 16
  • o

    Oli Bradford

    09/23/2018, 9:25 AM
    Guys, sorry for off topic. Dear Admin, if this is wrong channel, please tell me where should I put it 🙂 I've been collecting Slack groups since 2016. In 2017, I set a goal to find 1000 groups and did it successfully. Now I would like to present the results of months of hard work in 2018. I collected and verified 2000 Slack groups - http://bit.ly/2000slack (link to Slack group directory). Please check this out! You can find there a lot of new groups related to Kotlin etc. Enjoy.
    o
    • 2
    • 2
  • o

    orangy

    09/23/2018, 9:41 AM
    I couldn’t resits to share what you can do with postgresql 🙀 https://twitter.com/rpy/status/622291301002670080
    😍 1
    👍 2
    😂 2
    t
    • 2
    • 1
  • a

    Albert

    09/24/2018, 9:28 AM
    Out of curiosity, why is
    read
    extension method added on
    ReentrantReadWriteLock
    and not the interface
    ReadWriteLock
    ?
    ❓ 1
    h
    • 2
    • 1
  • m

    morozov

    09/25/2018, 12:22 PM
    i ask question on SO but doesn t help, tried many variants... https://stackoverflow.com/q/52481007/6387618
    g
    • 2
    • 1
  • m

    morozov

    09/25/2018, 12:43 PM
    @karelpeeters asked 22 hours ago
    k
    • 2
    • 2
  • s

    sksk

    09/27/2018, 10:20 AM
    Interesting https://blog.gradle.org/introducing-source-dependencies
    e
    • 2
    • 1
  • d

    dalexander

    09/27/2018, 12:35 PM
    https://blog.joda.org/ this seems like a potential problem (Oracle apparently changing the terms on their build of JDK 11 to include
    You may not: use the Programs for any data processing or any commercial, production, or internal business purposes other than developing, testing, prototyping, and demonstrating your Application;
    )
    r
    s
    • 3
    • 8
  • e

    elect

    09/28/2018, 9:42 AM
    where can I check the change-logs for the 1.3-rc-116?
    r
    • 2
    • 3
  • e

    elect

    09/28/2018, 1:06 PM
    Just read about the jvm profiler, https://blog.jetbrains.com/idea/2018/09/intellij-idea-2018-3-eap-git-submodules-jvm-profiler-macos-and-linux-and-more
    👍 2
    d
    • 2
    • 2
  • o

    orangy

    09/28/2018, 10:52 PM
    Oh my… I know where weekend goes… https://github.com/Microsoft/MS-DOS
    👏 2
    n
    h
    +5
    • 8
    • 9
  • l

    louiscad

    10/01/2018, 7:14 AM
    Kotlin 1.3 release surprise:
    suspend fun
    ->
    sun
    😄
    :trollface: 3
    😄 2
    🌞 3
    🤣 7
    😱 4
    o
    r
    h
    • 4
    • 5
  • p

    Paul Woitaschek

    10/02/2018, 7:47 AM
    Short question as english is not my mother tongue: Let's say I have a
    Recipe
    class and a
    RecipeDto
    class. What's the plural?
    val recipe : Recipe
    val recipes : List<Recipe>
    val recipeDto: RecipeDto
    val recipeDtos : List<RecipeDto>
    Like this?
    Dtos
    ?
    h
    m
    d
    • 4
    • 6
  • s

    Shawn

    10/03/2018, 1:25 PM
    https://kotlinlang.org/docs/reference/evolution/kotlin-evolution.html#feature-releases-and-incremental-releases
    h
    • 2
    • 1
  • s

    Slackbot

    10/03/2018, 3:37 PM
    This message was deleted.
    k
    • 2
    • 1
  • c

    cadi

    10/03/2018, 7:44 PM
    Hi I have a question about Room android new architecture is there a way to create a generic typeconverter for all model ?
    :stackoverflow: 3
    s
    • 2
    • 2
  • h

    Hamza

    10/04/2018, 10:08 AM
    There are 4 concurrent tracks
    a
    r
    r
    • 4
    • 4
  • r

    Ruckus

    10/04/2018, 4:56 PM
    On Windows: Alt + Shift + Click
    👍 1
    e
    • 2
    • 2
  • k

    kartikpatodi

    10/04/2018, 8:01 PM
    Is there a library for creating command line tool with Kotlin?
    r
    k
    +2
    • 5
    • 6
  • k

    karelpeeters

    10/04/2018, 8:45 PM
    They also need some keybinds for Canadian Aboriginal Syllabics: https://old.reddit.com/r/rust/comments/5penft/parallelizing_enjarify_in_go_and_rust/dcsgk7n/
    😱 1
    p
    • 2
    • 6
  • e

    elect

    10/04/2018, 9:06 PM
    every gradle refresh now is triggering a bloody slow "resolving external annotations" process.. is it really necessary? May I turn it off?
    h
    r
    a
    • 4
    • 9
  • s

    sksk

    10/05/2018, 6:21 AM
    gradle.. i wish speed was their n°1 priority, but nobody care about performance anymore nowadays..
    g
    • 2
    • 5
  • p

    pga4711

    10/05/2018, 12:17 PM
    Hello, someone who know threads and avoid undefined results on critical variables? For example if thread 1 have aquired a lock for "critical section X" and executes in the "critical section X". When the thread 1 executes in the "critical section X", thread 2 would also like to enter the "critical seciton X". Then, thread 2 tries to aquire that lock that belongs to the "critical section X", but the lock is already locked. What will happend to thread 2 then????? Will it spin in an extremely CPU-consuming loop until thread 1 unlock the lock? Or what is going to happend? Or what things would we like to happend with thread 2 in the meantime?
    a
    • 2
    • 2
  • c

    cedric

    10/05/2018, 10:20 PM
    LaTeX? Can’t tell if serious or…
    😏 1
    h
    • 2
    • 1
  • r

    ribesg

    10/08/2018, 8:19 AM
    Also checklists don't really work on Youtrack. I don't have more info, sometimes it just doesn't work. I thought it was because I'm typing on MacOS and maybe line breaks are different, but I was not able to confirm this. But if the problem was line breaks, then why would it work sometimes?
    k
    • 2
    • 3
  • h

    Hamza

    10/08/2018, 10:25 AM
    Change the
    fun
    keyword to
    funKT
    for April fools :troll:
    v
    o
    • 3
    • 4
  • o

    orangy

    10/09/2018, 3:54 PM
    Can a
    contraroutine
    be a function that runs backwards? I.e. computes parameters from its return value?
    r
    • 2
    • 2
Powered by Linen
Title
o

orangy

10/09/2018, 3:54 PM
Can a
contraroutine
be a function that runs backwards? I.e. computes parameters from its return value?
r

Ruckus

10/09/2018, 3:58 PM
Isn't that just machine learning?
o

orangy

10/09/2018, 3:59 PM
I was thinking about it too
👍 1
View count: 3