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

    12/02/2017, 8:00 PM
    #opensource might a better place
    r
    • 2
    • 3
  • a

    adam-mcneilly

    12/05/2017, 3:48 AM
    Kotlin related but not a Kotlin specific question. I'm trying to understand the difference between regular collections and sequences. Can someone ELI5 the difference between
    list.map { it * 2 }
    and
    list.asSequence().map { it * 2 }.toList()
    ? Also accepting links to posts/youtube videos that explain it if it's a rabbit hole.
    s
    g
    +3
    • 6
    • 14
  • e

    elect

    12/05/2017, 3:33 PM
    I'm porting some code from cpp and I'd like to know what means
    (void)debugDraw;
    in the following?
    void	SphereTriangleDetector::getClosestPoints(const ClosestPointInput& input,Result& output,class btIDebugDraw* debugDraw,bool swapResults)
    {
    	(void)debugDraw;
            ....
    }
    d
    r
    p
    • 4
    • 5
  • t

    thomasnield

    12/05/2017, 4:06 PM
    Effective Java 3rd edition by Joshua Bloch https://www.amazon.com/gp/product/0134685997/
    l
    s
    +3
    • 6
    • 26
  • t

    thomasnield

    12/07/2017, 2:27 PM
    Can we get VB6 transpiler support for Kotlin? :trollface:
    😂 1
    😱 1
    😲 1
    :trollface: 7
    • 1
    • 1
  • e

    ea

    12/07/2017, 9:21 PM
    Watched your Kotlin for Datascience talk @thomasnield, it was good! 😃
    ➕ 5
    t
    • 2
    • 1
  • k

    karelpeeters

    12/07/2017, 9:40 PM
    Why? How are you going to use that guarantee?
    s
    • 2
    • 1
  • r

    rellenberger

    12/07/2017, 9:43 PM
    Hi Everyone, I have been tasked to create a Technology Roadmap/Rollout Strategy for adopting Kotlin. Can anyone point me in the direction to any reference material that I can learn how to do it (not sure how to create any of these documents)?
    d
    • 2
    • 2
  • k

    kevinmost

    12/07/2017, 10:27 PM
    people are already thrashing against the suggestion of it, IIRC
    l
    w
    e
    • 4
    • 6
  • u

    umar

    12/09/2017, 4:16 AM
    Hey, Kotlin jumped from 48 to 28 in one month, and now has almost one percent of popularity on TIOBE https://www.tiobe.com/tiobe-index/
    🤘 6
    :kotlin-flag: 19
    o
    • 2
    • 1
  • k

    karelpeeters

    12/11/2017, 10:22 AM
    Is there a way to disable youtrack update mails only for new votes? I'm interested in seeing the comments and status changes but I don't need a mail whenever someone votes.
    o
    • 2
    • 4
  • c

    cedric

    12/12/2017, 4:51 AM
    @orangy ^ annoying gif totally unrelated to Kotlin, I’d vote this as spam 🙂
    v
    l
    d
    • 4
    • 6
  • e

    elect

    12/12/2017, 10:06 AM
    link is down?
    k
    • 2
    • 2
  • k

    karelpeeters

    12/12/2017, 10:10 AM
    list.windowed(w).map { it.sum() }.max()
    v
    • 2
    • 13
  • p

    pniederw

    12/15/2017, 9:55 AM
    has intellij 2018.1 eap started? I need this feature really bad: https://youtrack.jetbrains.com/issue/IDEA-169198
    o
    • 2
    • 4
  • n

    napperley

    12/18/2017, 10:37 PM
    Why isn't Pivotal (https://www.quora.com/When-will-Kotlin-be-mature-enough-to-be-used-in-production) and Travelex (https://android.jlelse.eu/kotlin-in-enterprise-71adbdb3cf8f) mentioned on the Kotlin website (https://kotlinlang.org/docs/reference/server-overview.html)?
    o
    r
    • 3
    • 3
  • k

    kevinmost

    12/18/2017, 10:39 PM
    we need a Friends of Kotlin, similar to what Rust has: https://www.rust-lang.org/en-US/friends.html
    ➖ 1
    👏 4
    v
    z
    • 3
    • 3
  • l

    lex

    12/20/2017, 9:20 AM
    Kotlin is candidate for programming language of the year https://www.tiobe.com/tiobe-index/
    :kotlin: 13
    q
    • 2
    • 1
  • v

    voddan

    12/20/2017, 5:11 PM
    Hi! 🔔 You know how it is always suggested to use
    asSequence()
    when applying several collection operations like
    map
    or
    filter
    one after another? I was wondering how big the performance win is for those cases. Could you please throw at me some realistic-ish examples of ⛓️ chained collection transformations so I could measure them for a project? 🔬
    k
    • 2
    • 1
  • l

    lifk

    12/22/2017, 7:10 PM
    I was surprised to see there was quite a lot of interest in the server side for Kotlin
    n
    • 2
    • 1
  • s

    sindrenm

    12/22/2017, 8:00 PM
    Yeah, Spring has adopted Kotlin quite nicely, and there's also Ktor, which is a simpler framework built specifically with Kotlin in mind, coming from JetBrains. Great stuff! 👍
    n
    p
    k
    • 4
    • 8
  • z

    ziggy42

    12/26/2017, 7:59 PM
    Do you know if there's a slack workspace for spring boot?
    n
    l
    • 3
    • 4
  • e

    elect

    12/27/2017, 12:11 PM
    how can I use the bundled jre in idea as project sdk on mac?
    d
    • 2
    • 5
  • w

    wnc_21

    12/28/2017, 2:19 PM
    I’ve just read the java code convention document once again and I haven’t found any restrictions regarding underscores in package names. Looks like it shouldn’t warn us. And it does warn me only in kotlin files, what is strange
    g
    q
    • 3
    • 3
  • d

    danneu

    01/03/2018, 3:18 PM
    i'd like to turn off the inference hints in IDEA. what's the name of the feature? https://www.dropbox.com/s/wt2js8svrxx7au2/is7ambzd.png?raw=1 (screenshot)
    k
    r
    g
    • 4
    • 4
  • k

    karelpeeters

    01/04/2018, 12:01 AM
    val Any?.sout get() = println(this)
    
    "hey".sout
    5.sout
    null.sout
    g
    • 2
    • 1
  • r

    roberto.guerra

    01/04/2018, 3:01 AM
    Happy 2018 https://twitter.com/i/moments/948681915485351938
    q
    • 2
    • 1
  • p

    Pawel Urban

    01/04/2018, 1:33 PM
    hey guys! do you know any slack community focused on React Native?
    l
    a
    v
    • 4
    • 4
  • c

    cedric

    01/07/2018, 5:42 PM
    Not sure if you have an Android phone but when you set an alarm clock at 11pm for 7am, the clock says "Alarm set for eight hours from now"
    l
    • 2
    • 1
  • c

    cedric

    01/07/2018, 5:43 PM
    (obviously this message should take into account if DST triggers that night)
    a
    • 2
    • 1
Powered by Linen
Title
c

cedric

01/07/2018, 5:43 PM
(obviously this message should take into account if DST triggers that night)
a

adam-mcneilly

01/07/2018, 6:26 PM
Last time we had a DST switch here in the states, my phone did account for that. I thought it was interesting, not sure how the app pulled it off.
View count: 1