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

    mbickel

    04/13/2018, 11:12 AM
    Am I the only to notice that Goetz' Records sound an awful lot like Kotlin's data classes? http://mail.openjdk.java.net/pipermail/amber-spec-experts/2018-March/000400.html
    l
    • 2
    • 4
  • o

    orangy

    04/13/2018, 7:05 PM
    I’m not saying you just put it into YouTrack so we can “happily” ignore it. You can imagine with our user base size there are hundreds and hundreds of reasons why your particular installation can get slower. There is no such thing as “performance” that we shouldn’t break. There cannot be a test for “performance is ok”, right? May be you have some software installed interfering with IJ. Or an option enabled in IJ that other people don’t have enabled. That all requires investigation and if you’re not registered in YT and communicating, we can’t learn from you and actually fix it. If you’re not comfortable with YT, you can write to support@jetbrains.com. Of course, there is always an option to blame us and wait for someone else to have same issue as you who’s collaborating, so we fix it for both of you 🙂
    p
    g
    k
    • 4
    • 12
  • k

    karelpeeters

    04/15/2018, 5:22 PM
    Ugh it's really annoying getting all these YouTrack mails where somebody commented "+1". Just press the "like" button, dammit!
    r
    e
    +2
    • 5
    • 6
  • s

    Shawn

    04/16/2018, 3:17 PM
    ah yes, I too subscribe to /r/softwareengineeramusements
    e
    • 2
    • 2
  • o

    orangy

    04/17/2018, 8:54 PM
    We’ve sent some Kotlin benchmarks to folks behind Graal, including #ktor for coroutines and stdlib, etc. Verdict was that it works slightly faster, but takes a lot more time to warmup.
    r
    • 2
    • 3
  • o

    orangy

    04/18/2018, 9:13 PM
    something like this pseudocode:
    val resultList = mutableListOf<DateRange>()
    var currentRange = list.first()
    for (range in list.drop(1)) {
       if (currentRange.end == range.start) currentRange = DateRange(currentRange.start, range.end) else { resultList.add(currentRange); currentRange=range}
    }
    resultList.add(currentRange)
    t
    • 2
    • 1
  • e

    elizarov

    04/19/2018, 2:17 AM
    📣 The World Finals of International Collegiate Programming Contest are going on right now. 140 teams complete for the most prestigious World Champions title in programming. Watch live at http://icpclive.com (disclaimer: I’m director of ICPCLive broadcast). More details about the contest: http://icpc.baylor.edu
    👍 3
    o
    • 2
    • 3
  • m

    mbickel

    04/20/2018, 10:41 AM
    IntelliJ is driving me crazy with the search transient window disappearing on my i3 wm. Makes opening files a hit and miss.
    :youtrack: 2
    • 1
    • 1
  • o

    orangy

    04/20/2018, 1:09 PM
    Scala 3, early 2020 http://www.scala-lang.org/blog/2018/04/19/scala-3.html
    a
    m
    • 3
    • 4
  • p

    poohbar

    04/20/2018, 3:09 PM
    no, you are both wrong. Python is pure garbage good for literally nothing
    🇳🇴 6
    👏 1
    n
    • 2
    • 1
  • g

    gildor

    04/20/2018, 3:11 PM
    Hope that new Kotlin scripting will have dependency management out of the box
    :yes: 1
    o
    n
    • 3
    • 3
  • g

    gildor

    04/20/2018, 3:12 PM
    python foo.py
    again, problem of depencies
    n
    n
    • 3
    • 7
  • a

    andyb

    04/20/2018, 3:18 PM
    Haven't used Django, We are using Flask plus the wonderfully named WTF library
    n
    • 2
    • 1
  • a

    andyb

    04/20/2018, 3:55 PM
    We handle something like 200 million incoming requests per day
    n
    • 2
    • 1
  • a

    andyb

    04/20/2018, 3:57 PM
    Application has been live for 4 years with less than 1 minute of total downtime over that period. We release at least once per week & have a major release monthly.
    d
    • 2
    • 5
  • t

    thomasnield

    04/21/2018, 12:28 PM
    A crazy legal issue in the tech sector, especially in the U.S. I heard about this case for several years. The creator of the realistic flight simulator X-Plane got sued by a publicly-traded patent troll corporation. The patent: looking up purchase verification in an app store to allow access to an app. It covers many absurd lawsuits that costed millions, including a patent on rounding numbers, and therefore making the usage of Linux an infringement. The X-Plane creator made a documentary now. The patent system here in the U.S. needs some improvement. https://www.amazon.com/Patent-Scam-Austin-Meyer/dp/B0736G66P8/
    c
    • 2
    • 2
  • s

    suresh

    04/22/2018, 6:16 PM
    Graal AOT compilation, kotlin demo - https://github.com/shelajev/graalvm-demos/tree/master/java-kotlin-aot . Mac and windows will be supported - https://twitter.com/thomaswue/status/988105319787188224
    👍 2
    n
    • 2
    • 2
  • k

    karelpeeters

    04/23/2018, 10:32 PM
    How does that work? i thought Qt was a gui library and webassembly doesn't have DOM access yet.
    n
    • 2
    • 1
  • v

    voddan

    04/24/2018, 7:40 AM
    I guess it draws pixel by pixel, just like in native environment
    n
    • 2
    • 2
  • x

    xenomachina

    04/25/2018, 12:31 AM
    I'm not sure where else to ask this: When I go to discuss.kotlinlang.org and click on "Log In" it redirects a bit and then I get an error: "Sorry, there was an error authorizing your account. Perhaps you did not approve authorization?" I tried from incognito mode to see if a corrupted cookie caused the trouble, and that at least took me to a username/password prompt, but as soon as I entered those I got the same error. Anyone else running into this?
    ❔ 1
    c
    o
    h
    • 4
    • 5
  • a

    amanda.hinchman-dominguez

    04/26/2018, 12:00 AM
    @orangy That is absolutely one approach I considered... an iterative method to always guarantee valid object types
    o
    k
    • 3
    • 6
  • o

    orangy

    04/26/2018, 12:05 AM
    Actual generating code is a lot of hacking dsls 🙂
    k
    • 2
    • 2
  • k

    kristofdho

    04/26/2018, 12:07 AM
    might it be this @karelpeeters https://github.com/JetBrains/kotlin/blob/master/generators/tests/org/jetbrains/kotlin/generators/builtins/ranges.kt
    k
    i
    • 3
    • 3
  • k

    kyonifer

    04/26/2018, 12:09 AM
    I'd love some sort of clean, multiplatform-aware codegen for kotlin. I've had a similar problem with codegen for non-boxing primitives, e.g. https://github.com/kyonifer/koma/tree/master/koma-core-api/common/src/koma/internal/default/generated/ndarray
    a
    • 2
    • 4
  • o

    orangy

    04/26/2018, 12:12 AM
    https://github.com/JetBrains/kotlin/tree/master/libraries/tools/kotlin-stdlib-gen
    k
    k
    • 3
    • 2
  • a

    amanda.hinchman-dominguez

    04/26/2018, 12:15 AM
    My initial thought for how this could work is that there were have to be code evaluation, which builds strings of code from there ---> (some missing ideas on how to have that evaluated because it would skip compile time right into runtime) --> and run the strings as code
    g
    • 2
    • 3
  • o

    orangy

    04/26/2018, 12:15 AM
    Ouch, we’ve got a new bulk of conspiracy theories! 🤦‍♂️ https://www.techyourchance.com/why-google-adopted-kotlin-for-android/
    🤦‍♂️ 2
    g
    • 2
    • 1
  • a

    amanda.hinchman-dominguez

    04/26/2018, 1:08 AM
    @nish some people consider code without tests to be legacy
    g
    s
    • 3
    • 6
  • a

    amanda.hinchman-dominguez

    04/26/2018, 5:30 AM
    Can I ask why there is a
    Nothing
    type and what the use case is
    g
    p
    +2
    • 5
    • 8
  • o

    orangy

    05/10/2018, 11:15 AM
    I wonder which Kotlin features have their own twitter accounts? https://twitter.com/JvmOverloads
    🙂 2
    😂 10
    p
    • 2
    • 3
Powered by Linen
Title
o

orangy

05/10/2018, 11:15 AM
I wonder which Kotlin features have their own twitter accounts? https://twitter.com/JvmOverloads
🙂 2
😂 10
p

Paul Woitaschek

05/11/2018, 8:07 AM
https://twitter.com/Unit
https://twitter.com/Nothing
They exist 😉
View count: 1