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

    cedric

    12/21/2018, 8:54 PM
    “Is Kotlin too productive? Click here to find out”
    ❓ 4
    😆 2
    r
    • 2
    • 1
  • j

    jo

    12/22/2018, 5:24 PM
    Cross-posting from #gamedev. I'm seeing, "Gradle project sync failed." after I reopen a project. It doesn't appear when I first import it. Everything still works fine, just a banner that shows up.
    o
    • 2
    • 20
  • o

    orangy

    12/24/2018, 6:29 AM
    I wonder if anyone know right term for googling the following thing… I have a set of paths like a/b/c, a/b/d, a/e, x/y/z, x/y/w and I need to find subpaths that are most frequent common subpaths. In the example above those would be a/b and x/y. I’m not yet sure how to define “most frequent” and how it all can be organized and calculated in a most efficient way (there could be thousands of them).
    d
    • 2
    • 1
  • s

    Shawn

    12/27/2018, 5:44 PM
    no key or anything required
    t
    • 2
    • 1
  • s

    Schadenfreude

    12/28/2018, 5:43 PM
    Hey guys, I hope someone here can help me. I’m having trouble with jenkins/ruby gems, it seems that there are 2 ruby gem environments on my Jenkins build machine and when I run
    gem env
    on the machine’s command prompt I get the correct version with all the gems I’ve installed, but when I run it through the node’s
    Script Console
    I get a different version, which is located in the
    Library
    folder and has older and fewer gems. My question is how do I make Jenkins use the version of ruby I installed which has all the gems I need?
    k
    s
    • 3
    • 5
  • r

    robstoll

    12/28/2018, 5:46 PM
    Are there others missing local type aliases from time to time?
    k
    • 2
    • 2
  • h

    Hullaballoonatic

    12/28/2018, 7:07 PM
    why does JB have so many IDEs... differed mostly by language, but all being essentially identical in UI? What prevents them from creating a unified IDE that can do it all? My guesses: performance, marketing, difficulty, legacy code
    g
    • 2
    • 1
  • s

    Shawn

    12/28/2018, 7:13 PM
    Visual Studio takes the monolithic approach and it’s quite the beast
    h
    i
    • 3
    • 32
  • p

    pavel

    01/02/2019, 9:10 PM
    it does: https://kotlinlang.org/docs/reference/java-interop.html#sam-conversions
    ✔️ 1
    r
    g
    l
    • 4
    • 19
  • t

    thomasnield

    01/03/2019, 12:33 AM
    Has anybody ever tried 49" curved monitors? Is it a nice luxury or an overwhelming overkill? https://www.digitaltrends.com/computing/lg-announces-49-inch-ultrawide-monitor/
    h
    • 2
    • 1
  • s

    Shawn

    01/03/2019, 3:15 AM
    oh yeah, you gotta get that 4K UHD texture pack for IDEA
    t
    • 2
    • 3
  • z

    zokipirlo

    01/04/2019, 9:18 AM
    Never seen that before, didn't know it's possible
    Fatal Exception: java.lang.OutOfMemoryError: OutOfMemoryError thrown while trying to throw OutOfMemoryError; no stack available
    😅😂
    r
    • 2
    • 1
  • o

    otakusenpai

    01/04/2019, 1:16 PM
    Hello! I have a jar file which I want to decompile. I installed the jd-intellij but sadly haven't used it before...and can't find a way to invoke it from the terminal. Can anyone please tell me how to use it. Thanks a lot.
    n
    • 2
    • 4
  • s

    sksk

    01/04/2019, 5:53 PM
    https://9to5google.com/2019/01/02/android-runtime-app-support-fuchsia/ ping @gildor
    o
    • 2
    • 1
  • l

    louiscad

    01/04/2019, 7:10 PM
    I'd pay to be able to edit Kotlin code from my Android smartphone and have full git availability. I am working on a project where I get inspired when I'm not at my desk, and be able to work bit by bit on the go would be very valuable to me. Is a mini IntelliJ planned for Android? I just need Kotlin/JVM support, ability to compile the code and run it on the device, and git support. I know an app named AIDE (which I bought in the past), but it seems abandoned, and doesn't support Kotlin. I guess it was made by 4 guys, so my dream doesn't seem so impossible. Is anything of this sort planned at some point? Is there a way to contribute or make it happen faster?
    👍🏼 2
    o
    r
    j
    • 4
    • 12
  • k

    kenkyee

    01/04/2019, 7:27 PM
    I think you can do what you want w/ Samsung DEX: https://www.xda-developers.com/hands-on-linux-on-samsung-dex-samsung-galaxy-note-9/
    l
    • 2
    • 2
  • p

    poohbar

    01/07/2019, 3:24 PM
    Hi there, very random question.. I am trying to import code style into IntelliJ. I have the XML file with the code style, it is version 173 so it should be ok. When I click on
    Import Scheme / IntelliJ Idea Code Style XML
    all the files are greyed out in the file dialog and I can not select the XML. Am I doing something wrong?
    • 1
    • 1
  • h

    hudsonb

    01/07/2019, 7:15 PM
    GitHub Free now includes unlimited private repositories. For the first time, developers can use GitHub for their private projects with up to three collaborators per repository for free.
    🎉 14
    i
    • 2
    • 1
  • p

    pga4711

    01/11/2019, 2:08 PM
    Hello, someone who know similar Android-slack forums but with Java?
    a
    • 2
    • 1
  • s

    sbyrne

    01/12/2019, 12:12 AM
    Is it possible to get those Kotlin semaphore t-shirts somewhere? My boss is trying to trade me stuff for mine, but I really don't want to give it up.
    g
    • 2
    • 1
  • s

    Shawn

    01/12/2019, 5:06 PM
    @ribesg what I did was check “Always keep trailing spaces on caret line” in Editor -> General -> Other. Also, I have “Save files on frame deactivation” enabled in Appearance & Behavior -> System Settings -> Synchronization
    r
    • 2
    • 3
  • e

    elect

    01/14/2019, 12:55 PM
    is it possible in idea searching only in the lines modified since last commit?
    h
    v
    • 3
    • 4
  • j

    jmfayard

    01/16/2019, 6:55 AM
    Anita Singh made several good points here https://hackernoon.com/terrified-of-speaking-at-a-conference-submit-anyway-41dfc8deae86
    🐱 1
    k
    a
    • 3
    • 4
  • h

    hallvard

    01/16/2019, 6:42 PM
    Speaking of Intellij, why do I suddenly have a number 2 inside a square between the C symbol (for java class) and the filename in my project explorer to the left (like so: 2️⃣, except black on yellow)? What is it telling me about my file or my class?
    g
    • 2
    • 2
  • n

    Nikky

    01/17/2019, 10:49 AM
    https://twitter.com/xkeepah/status/1085762586895732736
    o
    r
    • 3
    • 7
  • p

    poohbar

    01/17/2019, 1:51 PM
    Why does IntelliJ show me database tables when I am searching for classes. Omg so infuriating. It even gives them a priority! Database table is not a class!
    • 1
    • 3
  • k

    karelpeeters

    01/17/2019, 2:00 PM
    Did slack just change the default profile pictures? Why would you do that? Now I won't recognize a bunch of people any more.
    p
    d
    +7
    • 10
    • 80
  • d

    Dalinar

    01/23/2019, 3:30 PM
    lookback and lookbehind are just synonyms, right? in regex
    k
    • 2
    • 1
  • e

    elect

    01/25/2019, 11:43 AM
    I keep hitting
    Cause: GC overhead limit exceeded
    during a Gradle
    build
    ..
    g
    r
    • 3
    • 5
  • r

    robstoll

    01/26/2019, 2:18 PM
    I have a question concerning `kotlin.coroutines.experimental.SequenceBuilder.yield`IDE tells me that it's deprecated since 1.3 (that's ok) and it tells me that it will be dropped in 1.4. Is this true? If so, is there a workaround so that I can use coroutines in my library but consumers of my lib which use kotlin 1.2 can still use it?
    k
    • 2
    • 2
Powered by Linen
Title
r

robstoll

01/26/2019, 2:18 PM
I have a question concerning `kotlin.coroutines.experimental.SequenceBuilder.yield`IDE tells me that it's deprecated since 1.3 (that's ok) and it tells me that it will be dropped in 1.4. Is this true? If so, is there a workaround so that I can use coroutines in my library but consumers of my lib which use kotlin 1.2 can still use it?
k

karelpeeters

01/27/2019, 12:34 PM
If you depend on the newer stdlib etc your users will have to anyway, no?
r

robstoll

01/27/2019, 1:52 PM
I guess so and that is my problem. If I stick with kotlin 1.2 then users with 1.2 and 1.3 are happy but what about users with 1.4 -- is kotlin.coroutines.experimental then still available?
View count: 1