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
  • d

    david.bilik

    09/19/2017, 1:36 PM
    is there anything like intellij slack? 🤔
    d
    o
    2 replies · 3 participants
  • s

    Shawn

    09/19/2017, 7:40 PM
    context: https://twitter.com/jorge_guajardo/status/910222491246788608
    😱 1
    b
    2 replies · 2 participants
  • g

    groostav

    09/20/2017, 5:16 PM
    so, on windows, I wanted to use ant to call
    exec
    in the background from ant, and I'm stunned at how hard it is. The internet suggested
    <exec executable="cmd">
      <arg value="/C"/>
      <arg value="start"/>
      <arg value="/B"/>
      <arg value="${myProgram}"/>
    </exec>
    except that if
    myProgram
    contains spaces then this solution fails. Further, if you quote wrap it, the quotes are stripped off prematurely by one of the three interpreters looking at the value so
    myProgram
    has to be a one-word thing. My only work-around was to explicitly set the working directory with an
    <exec ... dir="..../bin">
    Does anybody here have a better solution?
    k
    d
    3 replies · 3 participants
  • r

    redrield

    09/20/2017, 11:22 PM
    we say in the slack of a project that uses Ant
    k
    t
    2 replies · 3 participants
  • p

    Paul Woitaschek

    09/22/2017, 11:48 PM
    @orangy Are these games real? It tells me I’m #1 of 1000
    o
    g
    3 replies · 3 participants
  • r

    redrield

    09/24/2017, 1:54 AM
    Does YT have a section for the toolbox app?
    o
    1 reply · 2 participants
  • o

    oshai

    09/24/2017, 9:22 PM
    do you think someone is downvoting kotlin questions consistently, like in this case: https://stackoverflow.com/questions/46393209/how-to-implement-a-limited-call-with-retrofit-blocking-client-and-coroutines
    k
    2 replies · 2 participants
  • l

    lovis

    09/25/2017, 12:23 PM
    fun <T> lazier(initializer: () -> T) = lazy(LazyThreadSafetyMode.PUBLICATION, initializer)
    fun <T> laziest(initializer: () -> T) = lazy(LazyThreadSafetyMode.NONE, initializer)
    😅
    😆 14
    👌 1
    🍻 2
    m
    i
    3 replies · 3 participants
  • k

    kirillrakhman

    09/25/2017, 5:23 PM
    seriously though, I bet 80% of the people who use
    lazy
    aren't aware of the locking. I raised the issue during milestone phase but it didn't lead to any solution
    k
    l
    3 replies · 3 participants
  • o

    orangy

    09/26/2017, 10:17 AM
    Small update on Kotlin on codingame: Array NPE is fixed. Thanks @fredtreg!
    🎉 7
    k
    f
    3 replies · 3 participants
  • u

    uli

    09/27/2017, 11:52 AM
    @ersin_ertan You probably mean
    public class Public
    ?
    e
    1 reply · 2 participants
  • k

    kirillrakhman

    09/27/2017, 1:46 PM
    https://www.reddit.com/r/Kotlin/comments/72ravi/nested_it_variable/ Interesting, OP knows how to use lambdas but doesn't know that you can name the parameters. I wonder what lead to this knowledge gap
    d
    j
    +2
    12 replies · 5 participants
  • c

    cedric

    09/28/2017, 3:40 AM
    As much as I think ASCII art doesn't belong in a source file, it certainly has its place in a terminal window.
    ➕ 2
    r
    1 reply · 2 participants
  • c

    cedric

    09/28/2017, 5:58 AM
    Oh we're not even talking X11 here, which is a relic of the past. Just standard VT ASCII codes, which are more or less univeral
    b
    3 replies · 2 participants
  • m

    marcinmoskala

    09/28/2017, 9:07 AM
    http://marcinmoskala.com/life/productivity/2017/09/28/idiots.html
    ➕ 1
    k
    1 reply · 2 participants
  • o

    orangy

    09/28/2017, 12:49 PM
    Ouch: https://twitter.com/CedricChampeau/status/913334345322156032
    😰 5
    e
    j
    +2
    6 replies · 5 participants
  • d

    dalexander

    09/28/2017, 4:51 PM
    Has anyone found a really good introduction to Project Jigsaw? Ideally it would have both theory and practice about how the module system works, what it breaks in old code, things it fixes, like how you might use it to resolve dependency conflicts between different libraries (if it’s possible to do that).
    g
    2 replies · 2 participants
  • h

    harmony

    09/30/2017, 4:43 PM
    they don't even list kotlin 😞
    o
    1 reply · 2 participants
  • m

    morozov

    10/04/2017, 9:07 AM
    I have some test i set some object like this:
    authTypeData.requiredFields = listOf(
                    AuthFieldData().apply {
                        code = "code"
                        displayName = "display_name"
                        type = "type"
                        optional = false
                    },
                    AuthFieldData().apply {
                        code = "code"
                        displayName = "display_name"
                        type = "type"
                        optional = true
                    }
            )
    And for example i check the size of this list like this:
    assertThat(authTypeData.requiredFields!!.size, equalTo(2))
    But how i can check the content of this field?
    ❓ 2
    b
    2 replies · 2 participants
  • b

    brumla

    10/08/2017, 6:24 PM
    I would expect that when I erase the
    1
    and leave the code line, the parameter name hint disappears
    h
    s
    4 replies · 3 participants
  • t

    tapchicoma

    10/09/2017, 6:03 AM
    @ersin_ertan is it compiling? and what does it do?
    e
    3 replies · 2 participants
  • k

    Kulwinder Singh

    10/09/2017, 7:10 AM
    android studio , is there any code editor window's size diffrence in 1920x1080 vs 1366x768 ?
    k
    t
    15 replies · 3 participants
  • m

    morozov

    10/09/2017, 7:14 AM
    have a
    var data: List<String>
    how i can set it negative values in this list?
    k
    6 replies · 2 participants
  • k

    Kulwinder Singh

    10/09/2017, 11:06 AM
    sorry it was pinned by mistake
    k
    3 replies · 2 participants
  • e

    elect

    10/10/2017, 5:22 PM
    so, I wanted to put on test my productivity and efficiency now with kotlin.. I decided to take the chance of realizing one of my lovest dream, a physic library (bullet specifically)... and it got me not even 3 fully working days to port and debug the minimum code to get the collision tests up and running
    👍 1
    o
    r
    2 replies · 3 participants
  • g

    gaetan

    10/11/2017, 9:24 AM
    It’s a little bit crazy to see this open process of designing a language. Even more when you believe that kotlin will be one of the most popular language.
    h
    1 reply · 2 participants
  • j

    joelpedraza

    10/11/2017, 2:51 PM
    Anybody know of any projects using code gen with gradle (not kapt) as part of their build process I can use as an example?
    k
    2 replies · 2 participants
  • o

    orangy

    10/11/2017, 4:16 PM
    🤔 Can you guess what’s the result of
    "Hello, World".replace("","-")
    ?
    k
    e
    +3
    9 replies · 6 participants
  • k

    karelpeeters

    10/11/2017, 9:21 PM
    #feed
    o
    6 replies · 2 participants
  • s

    Slackbot

    10/12/2017, 4:42 AM
    This message was deleted.
    👎 1
    k
    o
    +1
    4 replies · 4 participants
Powered by Linen
Title
s

Slackbot

10/12/2017, 4:42 AM
This message was deleted.
👎 1
k

karelpeeters

10/12/2017, 5:42 AM
#feed
o

orangy

10/12/2017, 9:52 AM
Why is it #feed ? It doesn’t look like generally interesting Kotlin article? More like #android
k

karelpeeters

10/12/2017, 9:57 AM
Hmm right, I'm sorry.
d

dalexander

10/12/2017, 12:07 PM
Given that there’s no Kotlin in the .apk, I suggest we purge the message, since I don’t think this slack is for advertising.
👍 9
:yes: 1
View count: 1