https://kotlinlang.org logo
Docs
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
  • o

    orangy

    06/06/2018, 11:04 AM
    https://twitter.com/EdgarSanchez/status/1004087778760646656
    :trollface: 5
    j
    t
    n
    • 4
    • 4
  • v

    voddan

    06/06/2018, 3:09 PM
    The correct term is read-only, to avoid confusion
    ➕ 2
    👍 6
    k
    • 2
    • 2
  • t

    tmg

    06/06/2018, 4:05 PM
    https://johansen.software/github-xp/
    😂 1
    k
    • 2
    • 4
  • z

    ziggy42

    06/07/2018, 1:04 PM
    I hate spring security. Really.
    👍 2
    l
    • 2
    • 3
  • o

    orangy

    06/07/2018, 8:45 PM
    To be fair, we have a lot more IDEs than just Java 😉
    r
    k
    +2
    • 5
    • 5
  • r

    rcgonzalezf

    06/08/2018, 3:11 AM
    https://www.tiobe.com/tiobe-index/
    h
    • 2
    • 1
  • d

    dragas

    06/08/2018, 10:26 AM
    Are there any slack or slack-like communities that deal with gradle in particular? Seems that #gradle channel here deals more with kotlin DSL for gradle instead of gradle itself.
    g
    d
    k
    • 4
    • 5
  • n

    napperley

    06/09/2018, 12:16 AM
    Can anyone see the screenshot above? Slack appears to have added a additional restriction (storage space quotas).
    k
    • 2
    • 3
  • n

    noctarius

    06/09/2018, 7:40 AM
    what distro do you use? why still 3.16 instead of 4.x?
    n
    l
    t
    • 4
    • 4
  • j

    jordan29.04.1197

    06/15/2018, 9:39 AM
    Without any plugins and SMS ))
    k
    • 2
    • 1
  • e

    elect

    06/19/2018, 8:54 AM
    I just updated idea to 2018.2, IU-182.3208.16 and I noticed that the "File" menu doesnt work anymore, anyone else has the same issue?
    d
    r
    • 3
    • 2
  • c

    chi

    06/19/2018, 6:00 PM
    https://twitter.com/gpeal8/status/1009113030339129345
    j
    • 2
    • 1
  • j

    jimn

    06/20/2018, 10:34 AM
    https://en.wikipedia.org/wiki/Kolmogorov_complexity
    ❓ 1
    v
    • 2
    • 1
  • g

    gildor

    06/21/2018, 11:40 PM
    https://twitter.com/lehtimaeki/status/1009502414158868480?s=19
    n
    k
    t
    • 4
    • 23
  • j

    juliocbcotta

    06/25/2018, 8:22 PM
    How to know if a lib would work inside a kotlin native environment?
    k
    • 2
    • 1
  • a

    amanda.hinchman-dominguez

    06/26/2018, 2:52 AM
    Thanks, I'll definitely look into that,. I was hoping see if anyone knew about how the Kotlin language structures itself around recursion in general
    g
    • 2
    • 15
  • d

    diego-gomez-olvera

    06/26/2018, 9:01 AM
    I am curious about https://twitter.com/lehtimaeki/status/1009700516379709441. Is there any way to know more about it?
    d
    t
    o
    • 4
    • 4
  • k

    kartikpatodi

    06/26/2018, 5:58 PM
    Does intellij or jetbarins in general uses Machine Learning in any of their products?
    :yes: 1
    k
    o
    +2
    • 5
    • 10
  • u

    uli

    06/29/2018, 7:22 PM
    Are there any plans to enter the Flutter universe with Kotlin?
    👍 3
    g
    c
    • 3
    • 14
  • s

    Shawn

    06/30/2018, 7:14 PM
    I just think it’d be helpful when I’m trying to test Java/Kotlin interop stuff and don’t wanna futz around in my project, making files I gotta tell IntelliJ not to add to git and whatnot
    k
    g
    • 3
    • 6
  • n

    napperley

    07/02/2018, 8:13 AM
    New programming language for embedded development on uCs (Microcontrollers) called Mita ( overview video -

    https://youtu.be/XyNRrQb_M6k?list=PLy7t4z5SYNaRorMpk1txiehpkyeI0JLn▾

    ) : https://www.eclipse.org/community/eclipse_newsletter/2018/march/mita.php
    g
    k
    +2
    • 5
    • 9
  • e

    edwardwongtl

    07/04/2018, 9:05 AM
    Sorry not this one
    k
    • 2
    • 1
  • g

    gildor

    07/09/2018, 10:59 AM
    It’s coming…
    Bintray Version Update: kotlin 1.3-M1-eap-27 has just been released!
    👏 1
    🎉 2
    t
    o
    • 3
    • 3
  • k

    krtko

    07/09/2018, 4:17 PM
    Has anyone tried compiling the IDEA with graalVM?
    o
    o
    • 3
    • 6
  • g

    Gerard Klijs

    07/09/2018, 7:56 PM
    I also saw comparison with Elm and other js frameworks, but Elm needed like 10 times more code then the least one. You really need to write a lot of code.
    a
    t
    • 3
    • 5
  • v

    vpriscan

    07/10/2018, 10:17 AM
    Kotlin Native + Docker container based on linux image = awesome?
    g
    n
    • 3
    • 2
  • e

    elect

    07/11/2018, 9:44 AM
    now, if we could have also bitwise operators it'd be the best 🤘
    l
    g
    • 3
    • 44
  • k

    karelpeeters

    07/12/2018, 9:09 PM
    Moshi? What about Klaxon?
    s
    m
    +2
    • 5
    • 4
  • s

    Shawn

    07/13/2018, 5:48 AM
    maybe this isn’t strictly Kotlin-related, but are there any Java or Kotlin libraries that make hashing less of a hassle? Python folks can just call
    hmac.digest(key, message, digest)
    whereas we have to directly manipulate hasher instance state and can’t even get a hex representation of digests without converting the
    byte[]
    ourselves or using Guava or Apache Commons to avoid leaky abstractions
    g
    n
    v
    • 4
    • 23
  • v

    voddan

    07/13/2018, 8:40 AM
    @Shawn do you mean cryptographic hashing or hashing as in
    hashcode
    ? If the later then I agree, we need a straightforward way to generate hashes of composite objects which does not require knowing about primary numbers or magic formulas. How about we move to #stdlib with that?
    g
    k
    r
    • 4
    • 7
Powered by Linen
Title
v

voddan

07/13/2018, 8:40 AM
@Shawn do you mean cryptographic hashing or hashing as in
hashcode
? If the later then I agree, we need a straightforward way to generate hashes of composite objects which does not require knowing about primary numbers or magic formulas. How about we move to #stdlib with that?
g

gildor

07/13/2018, 8:41 AM
cryptographic
k

karelpeeters

07/13/2018, 8:58 AM
https://en.wikipedia.org/wiki/HMAC?wprov=sfla1
But for object hashes there's
Objects.hash()
on the JVM I think.
➕ 2
v

voddan

07/14/2018, 3:35 PM
@karelpeeters I did no know about
Objects.hash()
, thanks!
r

robstoll

07/16/2018, 8:31 AM
Notice that
Objects.hash
is slitly slower than an own implementation. But only relevant if you store a lot of objects in a HashSet/Map
v

voddan

07/16/2018, 3:02 PM
@robstoll why slower? Because of the method call?
r

robstoll

07/16/2018, 3:11 PM
I don't remember the details but I remember that it was mentioned in effective Java
View count: 1