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

    napperley

    04/21/2020, 2:49 AM
    Encountered a bizarre issue the other day where the JVM crashed before the program fully started (after a power failure). Looks like the program is running out of memory (most likely heap memory), however the issue might be on the JVM side. Noticed when jps was being run that a pthread error message appeared (something about running out of memory), which was only resolved by terminating the java process before running jps again. What resources are available for memory profiling a JVM application? Is it possible to remotely profile a JVM application via SSH?
    hs_err_pid15412.log
    h
    • 2
    • 2
  • s

    Simon Schubert

    04/22/2020, 11:34 AM
    We are looking for a project management tool at my company. If I would make the final decision it would be Space obviously 😄 but it looks like we are going to choose Jira. We are a quite small team < 10 developers. Any ideas how to convince my co workers to give space a try? I use Space for my private projects and its great but I don't have the knowledge in project management tools to convince my co workers.
    l
    • 2
    • 2
  • p

    poohbar

    04/22/2020, 1:58 PM
    In IntelliJ when I exit presentation mode the font is stuck at the huge size. Does anyone know of a fix for that?
    w
    t
    • 3
    • 2
  • e

    Ellen Spertus

    04/22/2020, 8:59 PM
    Trying to read about Kotlin with cat getting in the way. 😺
    😄 5
    😻 2
    s
    z
    +2
    • 5
    • 6
  • s

    Shawn

    04/22/2020, 11:16 PM
    and before someone suggests Lombok, we’re already using it and
    @Builder
    doesn’t quite work for us in this case
    t
    j
    • 3
    • 4
  • d

    danny

    04/23/2020, 7:17 PM
    I manually installed. If you us a floating license server it nags about not finding licenses, despite the products having active tokens
    • 1
    • 3
  • u

    ursus

    04/24/2020, 7:15 AM
    But business folks wont like this
    t
    t
    • 3
    • 8
  • n

    napperley

    04/25/2020, 2:39 AM
    About to have more sanity today. Yesterday was getting very bad. Whenever a GUI based JVM application was being used (including IntelliJ) the laptop would emit ticking/scratching sounds. Every few seconds the desktop would lockup for a few seconds which is awful. Things were coming to a head when the VisualVM program would cause ticking sounds about every second when the monitor graphs were being updated on screen which would break my concentration. I couldn't properly concentrate when working on a Kotlin project in IntelliJ, especially when scrolling in the text editor where ticking/scratching sounds would occur often. Have temporarily downgraded the Linux kernel from 5.3.0-46 to 5.0.0-37 which seems to have significantly improved the situation. The ticking/scratching sounds no longer occur, and it appears that the desktop is no longer locking up every few seconds. Intel's QA for their drivers/firmware has been pretty sloppy lately (including the Thunderbolt firmware fiasco - https://pcsupport.lenovo.com/ca/en/solutions/ht508988 ). Suffice to say that Intel's driver/firmware QA isn't up to the usual high standards that Linux users expect.
    h
    k
    • 3
    • 8
  • l

    louiscad

    04/26/2020, 12:11 PM
    Hello, I'm trying to name a library project, and I'd like crowd answer to that question: If you were to rename "SDKMAN" to a non androcentric alternative, apart from "SDKWOMAN", which names would you consider? Thanks in advance for any help and your time if it's worth it 😒imple_smile: (Note that I'm not considering renaming "SDKMAN", but I'd like to name a project similarly, where "SDK" is replaced with something else, and "MAN", well, replaced as well with something more inclusive that still sounds right).
    j
    k
    t
    • 4
    • 3
  • a

    Alina Dolgikh [JB]

    04/27/2020, 4:12 PM
    Hi! JetBrains is supporting the ongoing #BeKindKotlinChallenge hosted by Globant. This challenge encourages developers to use Kotlin to create altruistic apps. More info can be found here: https://bit.ly/3cB9StM
    ❤️ 6
    👏 2
    j
    • 2
    • 1
  • a

    akshay_b

    04/28/2020, 1:26 PM
    Hello All, The code
    object : GenericType<Pair<F, S>>() {}
    produces raw type of
    GenericType<Pair<? extends F, ? extends S>>
    how to remove
    ? extends
    Thanks in advance 🙂
    e
    • 2
    • 1
  • a

    Ashish Kumar Joy

    04/30/2020, 2:52 PM
    Found something interesting. https://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer/ https://gist.github.com/jasonrudolph/1133830
    m
    v
    • 3
    • 2
  • s

    Slackbot

    04/30/2020, 3:56 PM
    This message was deleted.
    m
    • 2
    • 1
  • g

    genovich

    05/06/2020, 7:42 AM
    Hi, can anyone help me with development of a plugin for IDEA? I’m trying to update UI of a tool window and it suddenly disappears. I already spent couple of days and have no idea how to handle it. =(
    h
    • 2
    • 1
  • n

    Nezteb

    05/06/2020, 6:14 PM
    ooooooooo https://github.com/features/codespaces
    ‼️ 1
    y
    a
    • 3
    • 2
  • l

    LeoColman

    05/06/2020, 7:23 PM
    Does infinite "performing code analysis" happen to anybody else?
    z
    c
    • 3
    • 6
  • b

    baxter

    05/07/2020, 1:32 AM
    Saw a bug with someone using a right-value operation for a number on a new line, expecting it to work like it did in Java. My manager joked that I should make a meme as a report of this bug.
    i
    m
    • 3
    • 4
  • n

    nino

    05/07/2020, 8:42 PM
    hey there, is anyone interested in doing some “Kotlin Multiplatform beginner live-coding” for GDG Nuremberg, Germany on 26th Mai at 6pm CEST? We’d like to compare Kotlin Multiplatform and Flutter during the early stages of a popular hackathon in Nuremberg and might therefore influence the technology the developers use to start their projects. Any evangelist who’s feeling called here?
    j
    m
    • 3
    • 6
  • s

    Shawn

    05/13/2020, 4:26 AM
    anyone got recs for thunderbolt 3 docks?
    d
    • 2
    • 2
  • v

    v0ldem0rt

    05/13/2020, 4:51 PM
    Are there any upcoming remote Kotlin conferences/meetups?
    m
    s
    n
    • 4
    • 5
  • n

    Nezteb

    05/13/2020, 7:51 PM
    Got a new personal Macbook Air. Aside from a few obvious things (brew, VS Code, etc) what productivity/dev tools do people recommend installing/purchasing? This’ll mostly be a lightweight dev machine for personal stuff.
    s
    j
    • 3
    • 2
  • h

    Hiosdra

    05/14/2020, 10:20 AM
    Hi, me with my friends have dispute -> what is plural form of “offerId” in simplified case of: (given this offer is like offers on ebay)
    class Offer(
       id: Offer.Id
    ...
    )
    Database:
    fun getOffersIds(): List[Offer.Id]
    or
    fun getOfferIds(): List[Offer.Id]
    Which is more correct in english language?
    2️⃣ 16
    1️⃣ 3
    w
    a
    +3
    • 6
    • 7
  • j

    jaguililla

    05/16/2020, 7:22 PM
    It doesn't cover the code if it is not in the folder matching the package (in the conventions you can skip common parent packages)
    r
    • 2
    • 5
  • e

    elect

    05/19/2020, 10:21 AM
    the automatic java->kotlin translator has done the following:
    expression.trim().toCharArray()
    ->
    expression.trim { it <= ' ' }.toCharArray()
    is there a reason?
    m
    • 2
    • 6
  • t

    thanksforallthefish

    05/25/2020, 12:06 PM
    how would you call what I called
    cartesianProduct
    ?
    listOf(1, 2, 3, 4).cartesianProduct() shouldContainExactlyInAnyOrder listOf(
      listOf(1),
      listOf(2),
      listOf(3),
      listOf(4),
      listOf(1, 2),
      listOf(1, 3),
      listOf(1, 4),
      listOf(2, 3),
      listOf(2, 4),
      listOf(3, 4),
      listOf(1, 2, 3),
      listOf(1, 2, 4),
      listOf(1, 3, 4),
      listOf(2, 3, 4),
      listOf(1, 2, 3, 4)
    )
    permutations? combinations? I know it is something, but cannot figure out what
    m
    m
    • 3
    • 5
  • r

    Ruckus

    05/27/2020, 4:56 PM
    100% Off Topic Who's all watching the launch today?
    🚀 6
    d
    e
    i
    • 4
    • 11
  • n

    napperley

    05/30/2020, 12:04 AM
    At work there is a discussion going on about which protocol to use for communication between embedded devices, and clients. Below are the protocols (all binary based) that are being looked at (as a replacement for the current protocol that is being used): • MQTT ( http://mqtt.org/ ) • Modbus ( https://en.wikipedia.org/wiki/Modbus ) • AMQP ( https://en.wikipedia.org/wiki/Advanced_Message_Queuing_Protocol ) Whatever protocol is selected would need to meet the following criteria: • Is a open protocol • Protocol is binary based • Embedded systems (including uCs) can use the protocol • Wide range of libraries available to use the protocol with multiple programming languages (including C and Kotlin), and platforms
    m
    • 2
    • 4
  • u

    ursus

    05/31/2020, 1:28 AM
    By chance, anybody with the new 16" Macbook Pro who can compare build speeds to..something previous? Or best, ryzen desktop?
    j
    • 2
    • 1
  • j

    jaguililla

    06/03/2020, 9:52 AM
    Hello, I’ve read somewhere (but I cannot recall where) that there are “cheap” reflection methods and “expensive” reflection methods in Kotlin, do anyone know where may I find more information regarding that?
    m
    • 2
    • 4
  • n

    napperley

    06/04/2020, 11:37 PM
    Is anyone having trouble accessing the JetBrains Blog ( https://blog.jetbrains.com/ )?
    🇳🇴 7
    • 1
    • 1
Powered by Linen
Title
n

napperley

06/04/2020, 11:37 PM
Is anyone having trouble accessing the JetBrains Blog ( https://blog.jetbrains.com/ )?
🇳🇴 7
Discovered that the issue was related to posting a comment where a HTTP 404 was returned.
View count: 1