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
tornadofx
  • k

    kastork

    05/13/2017, 2:34 PM
    Life changing: http://www.hermanmiller.com/products/seating/performance-work-chairs/embody-chairs.html
    g
    2 replies · 2 participants
  • e

    edvin

    05/14/2017, 12:19 PM
    Hopefully that gives you some ideas 🙂
    m
    1 reply · 2 participants
  • k

    kastork

    05/15/2017, 10:46 PM
    @libcmg FXML is supported by the framework
    l
    e
    10 replies · 3 participants
  • k

    kastork

    05/15/2017, 10:47 PM
    Intellij is pretty power hungry
    t
    2 replies · 2 participants
  • e

    edvin

    05/16/2017, 12:00 PM
    @kastork Weird. It seems to be defined just like the other classes. I've committed a fix, can you try again now?
    k
    1 reply · 2 participants
  • e

    edvin

    05/16/2017, 3:06 PM
    @kastork Could you create a small sample that showcases it?
    k
    1 reply · 2 participants
  • e

    edvin

    05/16/2017, 6:55 PM
    @kastork I've committed a change to the Workspace handling of the viewStack and the index. I haven't tested it for your specific use case yet though. Do you mind giving it a try while I work on some other issues that popped up?
    k
    5 replies · 2 participants
  • e

    edvin

    05/18/2017, 7:49 AM
    @kastork I've committed a fix - will you check it out?
    ✅ 1
    k
    2 replies · 2 participants
  • k

    kastork

    05/18/2017, 11:13 PM
    I really crave a design similar to Flux (from react land) or Vue.js. This two-way binding at the component level is a constant source of brain pretzels for me.
    n
    1 reply · 2 participants
  • e

    edvin

    05/20/2017, 2:46 PM
    root.header.items.add(0, Label("OnTrack").addClass(Styles.appTitle))
    could be
    root.header.label("OnTrack").addClass(Styles.appTitle)
    n
    3 replies · 2 participants
  • g

    gtnarg

    05/21/2017, 3:50 PM
    off topic but how do you embed the code above in your post - is it a code snippet?
    a
    2 replies · 2 participants
  • c

    carlw

    05/21/2017, 8:26 PM
    although the web model uses application > session > request
    k
    2 replies · 2 participants
  • c

    carlw

    05/22/2017, 11:05 AM
    If there's value in what I'm suggesting, I think it's going to be in a separate object that can be called regardless of event handler like wpf commands or these gtk actions
    k
    4 replies · 2 participants
  • a

    abhinay

    05/22/2017, 2:45 PM
    @thomasnield Don't you already author something on RxKotlin?
    t
    3 replies · 2 participants
  • e

    edvin

    05/22/2017, 2:47 PM
    @thomasnield An O'Reilly Kotlin event? Web or IRL?
    t
    5 replies · 2 participants
  • e

    edvin

    05/22/2017, 2:47 PM
    https://www.instagram.com/p/BUZcuPVhHgt/
    👍 5
    b
    c
    +2
    98 replies · 5 participants
  • t

    thomasnield

    05/22/2017, 11:35 PM
    @jchildress yeah please keep me posted. Since I'm somewhat local let me know if I can help.
    👍 3
    j
    2 replies · 2 participants
  • r

    ron

    05/23/2017, 10:32 AM
    (and yes I am still alive)\
    👍 3
    c
    2 replies · 2 participants
  • e

    edvin

    05/25/2017, 10:08 AM
    Good start on the day. 3 features down, 3 shots of double espresso 😁
    k
    5 replies · 2 participants
  • e

    edvin

    05/26/2017, 3:55 PM
    @kastork Hopefully 🙂 If not, let me know. I don't think I'll add any more features for a little while, just do incoming bug fixes and then a release in a week perhaps.
    k
    2 replies · 2 participants
  • e

    edvin

    05/28/2017, 10:42 AM
    @carlw That could work, but he could just assign it to something directly inside
    runAsync
    even. I'd like to see the code though.
    c
    6 replies · 2 participants
  • e

    edvin

    06/10/2017, 2:14 PM
    I just did my first full run-through of the talk. It went much better this time. Still some awkward moments, but I'm getting there. Not so anxious about JavaOne anymore 🙂 I need more example code slides though.
    👍 1
    a
    9 replies · 2 participants
  • e

    edvin

    06/10/2017, 2:27 PM
    The talk ran for 43 minutes without examples and a couple of missing slides. Wow, time flies 🙂 I thought maybe 20 minutes had gone by when I was done!
    n
    2 replies · 2 participants
  • t

    thomasnield

    06/11/2017, 1:18 PM
    We need to put this functionality in TornadoFX... like asap. https://twitter.com/ajdant/status/872931345269260288
  • m

    mikehearn

    06/15/2017, 2:17 PM
    i want a border that consists only of dots on the bottom edge. -fx-border-style: dotted gets me nearly there, but the pattern starts half way through a dot!
    r
    3 replies · 2 participants
  • e

    edvin

    06/18/2017, 3:46 PM
    I also added a
    run
    block so you can run the new project with
    gradle run
    as well.
    👍 1
    k
    1 reply · 2 participants
  • e

    edvin

    06/18/2017, 7:08 PM
    @kastork I'm a complete Gradle N00b - would like like to refine the default gradle buld file perhaps? 🙂
    k
    14 replies · 2 participants
  • n

    nimakro

    06/20/2017, 9:02 PM
    @groostav Did you have a look at https://github.com/TomasMikula/LiveDirsFX If I remember correct they support a directory-tree model which can be used with a
    TreeView
    but it's a while back that when I had a look at the project
    🍻 1
    g
    3 replies · 2 participants
  • j

    jchildress

    06/21/2017, 6:08 PM
    "interesting" read/comments... https://www.reddit.com/r/java/comments/6ijcsw/javafx_job_market_is_it_really_this_bad/
    g
    1 reply · 2 participants
  • k

    kastork

    06/22/2017, 11:49 AM
    @edvin Do you see this warning in your maven OSGI projects?
    w: Some JAR files in the classpath have the Kotlin Runtime library bundled into them. This may cause difficult to debug problems if there's a different version of the Kotlin Runtime library in the classpath. Consider removing these libraries from the classpath or use '-Xskip-runtime-version-check' to suppress this warning
    w: /Users/kirk/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-osgi-bundle/1.1.2-5/3d90538db8e39a17c9125184cd96ff60275e0d0/kotlin-osgi-bundle-1.1.2-5.jar: Library has Kotlin runtime bundled into it
    e
    15 replies · 2 participants
Powered by Linen
Title
k

kastork

06/22/2017, 11:49 AM
@edvin Do you see this warning in your maven OSGI projects?
w: Some JAR files in the classpath have the Kotlin Runtime library bundled into them. This may cause difficult to debug problems if there's a different version of the Kotlin Runtime library in the classpath. Consider removing these libraries from the classpath or use '-Xskip-runtime-version-check' to suppress this warning
w: /Users/kirk/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-osgi-bundle/1.1.2-5/3d90538db8e39a17c9125184cd96ff60275e0d0/kotlin-osgi-bundle-1.1.2-5.jar: Library has Kotlin runtime bundled into it
ah, need to prevent sub-projects from bundling kotlin
e

edvin

06/22/2017, 12:42 PM
Yes indeed 🙂 So you're all good?
k

kastork

06/22/2017, 2:05 PM
I think so, still working through how all this OSGI packaging works with these plugins
Hopefully this will result in a gradle version of your osgi chart example
but it is after 7, need to put it down and start my day-job
e

edvin

06/22/2017, 2:31 PM
Oh cool! That will be a nice addition to the templates!
k

kastork

06/22/2017, 2:36 PM
@edvin https://github.com/kastork/tornadofx-osgi-demo it is a start anyway. I feel like I'm having to do too much fussing around with the jar manifests - like there must be a better way.
e

edvin

06/22/2017, 3:04 PM
Are you doing the logging things because those classes are only used indirectly and cannot be detected by the osgi plugin? I think this is the way to go, and in my opinion this shows how much work it is to actually set up an OSGi project. However, if we can do that hard work only once, it's still worth it.
k

kastork

06/22/2017, 3:09 PM
This section of the plugin's readme was my guide here. https://github.com/renatoathaydes/osgi-run/blob/master/README.md#solving-unresolved-constraint-errors
I've never really worked with OSGI before, but I recognize the value of it. Doing this partly to learn, and partly to convince myself one way or the other to use it in a real project.
e

edvin

06/22/2017, 3:18 PM
Good exercise. I'm curious about your conclusion at the end of it.
k

kastork

06/22/2017, 3:19 PM
part of why I'm considering it is because my group has floated the notion of packaging our tools as Eclipse plugins
new push - it now does everything your example does. However I still feel like each bundle has too much going on in the jar manifest. Any ideas how to put this yak shaving out back where it belongs?
e

edvin

06/23/2017, 9:42 PM
If yak shavings = runOsgi then I think that's the best place for it. If the gradle plugin reads bndfiles it could be put there, but that just adds one more file to keep track of.
In OSGi, every bit of magic is in the manifest, so this seems natural. Unfortunately, OSGi isn't just a dance on roses. It does require some workarounds for issues like this.
View count: 2