almost done with my fraction collector controller
# science
b
almost done with my fraction collector controller
­čĹŹ 3
a
I've done a lot of such interfaces for Troitsk nu-mass. Sadly, desktop visualization completely looses popularity compared to web-interfaces nowadays, so we are moving most of our tools to web-first paradigm.
b
yeah not in our field, all instruments have computers next to them
and I found the web stuff to be really slow to develop with and way more convoluted
I with we had a Free javafx->web system
kvision is a great approach too
but it lacks some stuff
a
We also have computers near devices, but those devices are placed in different locations, so we either need a centralized dashboard, or wee need to run around collecting data. Web interface is not that much harder, it seems. KVision is on the right track, but you are right that it is still not there. I think that we will make an attempt with Waltz widgets this year.
b
well Kotlin/JS isn't there yet for me
to many pain points, incremental development was really slow having to wait for things to refresh/recompile
MPP was breaking javafx for unknown reasons
My stuff is still designed so websockets can be plugged in
but that's not my priority anymore
a
It works fine for me, You just need to add withJava() to JVM target to make it compatible with application and javafx plugins
b
well I have deadlines for that I couldn't spend more time tweaking things indefinitely hoping it would work just to see it break in a few versions
a
Then you should stick with desktop, it is much more simple to debug. MPP could be added later.
b
yep it was easy to switch back and forth from it
did you find any logging solution that supports JS, JVM and native well?
a
I use https://github.com/MicroUtils/kotlin-logging. Not sure about native, but it works fine for JVM and JS.
As for mpp, I currently mostly work with JS target, but also update javafx from time to time. So I have one primary target and a secondary one.
b
looks good thanks!
j
@bjonnh http://gitlab.com/sseehh/narchy has a recursive 3d realtime lab visualization interface for complex graphs and data feeds in javafx. the package called spacegraph is not discrete among the ai packages but you can see the UI in action by running for instance Tetris.java
I guarantee you've seen nothing like this before.
b
O.o