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

    Fré Dumazy

    11/19/2017, 5:09 PM
    Just wrote a first article on Kotlin DSLs https://medium.com/@dumazy/writing-dsls-in-kotlin-part-1-7f5d2193f277 Feel free to comment or discuss
    👍 4
    d
    j
    • 3
    • 2
  • r

    Ruckus

    11/20/2017, 12:52 AM
    I know there have been discussion about adding "proper" bit manipulation to Kotlin, and I'd like to also see some of Java's static Integer methods added to Int's companion object (so they could be used in platform independent code). I doubt it would be worth adding to the standard library, but perhaps to a kotlinx math library? This could include: - reverse bits - unsigned operations (especially compare) - highest/lowest one bit - leading/trailing zeros and maybe some others.
    👍 1
    k
    • 2
    • 1
  • d

    davide

    11/20/2017, 12:50 PM

    https://d21ii91i3y6o6h.cloudfront.net/gallery_images/from_proof/15355/small/1474655581/kotlin-with-flags.png▾

    ❓ 7
    t
    o
    r
    • 4
    • 3
  • c

    chi

    11/21/2017, 1:46 AM
    Curious what folks here have to say about this https://www.techyourchance.com/kotlin-vs-java-whole-story/
    t
    s
    +8
    • 11
    • 14
  • o

    orangy

    11/21/2017, 9:21 PM
    Well, sometimes on the Friday evening with beers we all can post something like “Tabs vs Spaces”, or “am I the best moderator of all language communities ever?“ 😄 Jokes aside, I think best way would be for people to tell @akshaychordiya that it is neither entertaining nor useful, and he will delete his post 🙂 Education is much better than policies.
    👍 2
    a
    • 2
    • 1
  • t

    trevjones

    11/21/2017, 9:26 PM
    pretty sure the OSHA manual has a line in it that goes something like "sense is not common, it is learned"
    o
    k
    • 3
    • 3
  • c

    cedric

    11/21/2017, 10:00 PM
    Who in their right mind would join a channel called #selfpromotion?
    m
    • 2
    • 1
  • e

    ebonet

    11/21/2017, 10:12 PM
    “Holy moly, i got chosen to be he an instructor at caster.io, check this out ” would feel much more being excited and just wanting to share something really cool
    👍 4
    a
    • 2
    • 1
  • s

    Sean Corfield

    11/21/2017, 10:49 PM
    As a data point, what we did in the Clojurians Slack was make the primary channel (which no one can opt out of) an #admin-announcements channel and disable posts to it (except by owners/admins) and then created an #announcements channel which folks were auto-joined to but could opt-out of. Of the 11,650 members, about 4,500 have stayed in #announcements since we did that.
    s
    • 2
    • 1
  • h

    holgerbrandl

    11/22/2017, 9:28 PM
    Are votes of youtrack-tickets that are tagged as duplicates added to the ticket that is kept?
    h
    • 2
    • 2
  • s

    Slackbot

    11/23/2017, 2:42 PM
    This message was deleted.
    l
    p
    +4
    • 7
    • 64
  • e

    elect

    11/24/2017, 6:08 PM
    any link to read the relevant changes?
    o
    • 2
    • 2
  • z

    ziggy42

    11/25/2017, 11:06 AM
    I'm preparing a talk about the cool things of Kotlin and how they work, like what is an extension function, why and how you can use it from Java etc. Do you have any good article to recommend?
    a
    • 2
    • 3
  • l

    louiscad

    11/27/2017, 10:39 AM
    Hi, it seems a lot of machine learning stuff is done in Python, and this makes me struggle getting started in it. This makes me wondering why there's not so much Kotlin in machine learning stuff and also if Kotlin<->Python interop could be a thing
    g
    p
    • 3
    • 2
  • c

    codeslubber

    11/27/2017, 5:34 PM
    but I am saying writing good code is something you LEARN and you don't just write good code because you are smart
    g
    • 2
    • 1
  • t

    thomasnield

    11/27/2017, 8:11 PM
    Shameless plug, I did a talk at KotlinConf on this whole Python and ML subject. And yes, join the #datascience channel if you want to banter about this stuff.

    https://www.youtube.com/watch?v=J8GYPG6pt5w▾

    👍 8
    e
    c
    c
    • 4
    • 22
  • d

    Dalinar

    11/28/2017, 8:57 AM
    1. will Kotlin 2.0 have multicatch? 2. has
    @get:whatever
    syntax been in Kotlin since v1.0? or is it something that happened more recently?
    g
    • 2
    • 1
  • y

    yoavst

    11/28/2017, 10:12 AM
    What is the easiest way to build a pet project I had for android using Kotlin 0.12M? Android studio can't handle it. Just want to show it to some friends 🙂
    l
    • 2
    • 3
  • t

    thomasnield

    11/28/2017, 7:13 PM
    My veteran Python coworker has been heavily committing Kotlin code the past week, with no JVM experience and only Intellij/JDK setup help from me. This says a lot about the Kotlin platform. Also, he picked up TornadoFX almost instantly just by looking at my code.
    👍 3
    🐍 5
    a
    e
    • 3
    • 3
  • s

    sebastian.janko

    11/28/2017, 10:20 PM
    hi, why was there a red number 1 on the left at the 'general' channel link? i don't think i've been mentioned and i've never seen it elsewhere so if someone could explain it, i would be thankful
    o
    • 2
    • 2
  • t

    thomasnield

    11/28/2017, 10:53 PM
    Keep your MacBooks close at hand guys. http://www.businessinsider.com/macos-high-sierra-can-be-hacked-with-username-root-and-no-password-2017-11
    o
    t
    • 3
    • 2
  • d

    dh44t

    11/29/2017, 4:35 AM
    https://github.com/MarioAriasC/funKTionale/releases/tag/1.2
    👍 1
    e
    • 2
    • 2
  • p

    petersommerhoff

    11/29/2017, 12:10 PM
    Got it now, that's right of course
    o
    • 2
    • 2
  • e

    elect

    11/29/2017, 12:13 PM
    who gots BTCs here?
    g
    p
    l
    • 4
    • 5
  • m

    madorb

    11/29/2017, 6:37 PM
    not on: https://kotlinlang.org/docs/reference/interfaces.html or: https://kotlinlang.org/docs/reference/java-to-kotlin-interop.html
    k
    • 2
    • 2
  • t

    thomasnield

    11/29/2017, 10:58 PM
    Maybe bot practice?
    e
    • 2
    • 1
  • j

    janvladimirmostert

    11/30/2017, 7:36 AM
    how many transpilers are in existence today? Dart is quite nice, the little bit I've worked with KotlinJS, it's nice too!
    d
    n
    • 3
    • 5
  • j

    jkbbwr

    11/30/2017, 9:43 PM
    Props.
    ➕ 2
    d
    • 2
    • 1
  • c

    cedric

    11/30/2017, 9:51 PM
    Let’s all welcome Thoughtworks to 2016
    🔥 6
    👏 2
    a
    • 2
    • 1
  • d

    Dalinar

    12/01/2017, 4:06 AM
    https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.js/-math/
    s
    • 2
    • 1
Powered by Linen
Title
d

Dalinar

12/01/2017, 4:06 AM
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.js/-math/
s

semoro

12/01/2017, 4:47 PM
Reported issue for that https://youtrack.jetbrains.com/issue/KT-21571 New(1.2) kotlin.math is here https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.math/index.html
View count: 2