clojure-berlin

where Berlin peeps hang out
ska 2017-01-04T09:52:19.000018Z

@nblumoe I used Seesaw in the past and it was fun. I don't think I'd go there these days anymore. Not because Seesaw is bad, but because Swing seems kinda outdated for me. At least for anything beyond very simple UIs. Oh, and I consider JavaFX as effectively dead.

nblumoe 2017-01-04T09:55:01.000019Z

Oh really @ javafx? So what is the Java way of doing GUIs now? Don’t do them? 😄

nblumoe 2017-01-04T09:59:27.000020Z

(netbeans platform, eclipse rcp and apache pivot might actually be viable alternatives)

martinklepsch 2017-01-04T10:01:41.000021Z

@nblumoe what are you up to that you’re considering Java GUIs?

nblumoe 2017-01-04T10:03:31.000022Z

a data analysis software for scientists working with chemical data with the purpose of identifying components that went into a mixture

nblumoe 2017-01-04T10:08:50.000023Z

I might very well go the electron route and this would probably beneficial if we want to provide a SaaS too at some point. however, most potential users would probably prefer a desktop application. with electron I am a bit concerned about being forced to get back into JS, HTML and CSS land (don’t enjoy that too much tbh) and having to split the application into renderer and the main process (node server). I don’t like node and I am not sure what weird things are going to get into my way because of that architecture. Also from using electron based apps (e.g. Wire, Slack, Atom) I am not too happy about their UX tbh

nblumoe 2017-01-04T10:09:06.000024Z

I would also prefer to go with Clj instead of Cljs

martinklepsch 2017-01-04T10:12:36.000025Z

I’d choose Electron exactly for the reason you don’t want it for 😄

nblumoe 2017-01-04T10:13:02.000026Z

because of bad UX? 😉

martinklepsch 2017-01-04T10:13:12.000027Z

(which is “it is Web tech”)

nblumoe 2017-01-04T10:13:29.000028Z

yeah, I totally get that and it is still my most likely approach still.

martinklepsch 2017-01-04T10:14:04.000029Z

UX is always something that can be solved, I’m happy with Slack myself

martinklepsch 2017-01-04T10:14:22.000030Z

@nblumoe If you need help getting started let me know! 🙂

martinklepsch 2017-01-04T10:14:32.000031Z

And good luck 😄

nblumoe 2017-01-04T10:16:14.000032Z

cool thanks, especially for offering help. might come back to you once I start working on the GUI and figured out the basics

nblumoe 2017-01-04T10:18:08.000033Z

atm I am still working on the analytical algorithms (doing that in R) but I think I might get to the application implementation this month and of course it would be great doing some serious Clojure again. A bit afraid though it might not be exactly the right tool for the job… depends on the weight I put on my personal fun I guess. 😉

martinklepsch 2017-01-04T10:22:07.000034Z

“Optimize for fun” 🙂

1
martinklepsch 2017-01-04T10:22:13.000035Z

The rest is solvable 🙂

nblumoe 2017-01-04T10:24:17.000036Z

haha, yeah. but then I end up learning Prolog, Category Theory and esoteric data structures and wonder what I was supposed to do in the first place! 😉

👍 1
daveliepmann 2017-01-04T12:49:27.000037Z

@nblumoe I find that building UIs involves hassle no matter if it's with web tools or non-web tools. I used seesaw for a small POC project in the fall and found it a perfectly reasonable path.

nblumoe 2017-01-04T14:32:16.000038Z

That sounds true @daveliepmann

nblumoe 2017-01-04T14:33:10.000039Z

@ska so in your opinion, is there a Java GUI framework that isn't dead yet? Do even Java devs don't need GUIs anymore?

ska 2017-01-04T15:51:43.000040Z

@nblumoe my very humble opinion on this is: Don't do UIs in Java. Electron or Qt would be my first choices. Qt only for open source projects, commercially it does not seem worth the hassle you'll run into.

ska 2017-01-04T15:52:36.000041Z

And yes, I'd probably step out of Clojure-land for UIs. However, if you want to take a look at what I did in Seesaw in the past (internal stuff at work), I'll happily share that with you.

nblumoe 2017-01-04T16:08:42.000042Z

Thanks. I also thought about Qt, always liked that. Would probably do it with Python then though (would also fit the data analytics parts very well). I will count you in as +1 for electron. :)

nblumoe 2017-01-04T16:11:25.000043Z

I'm gonna check the available options and see how those align with requirements and plans. If I consider going down the seesaw route, I will come back to you, thanks!!

ska 2017-01-04T20:53:02.000044Z

Qt with Python is not as good as it looks at first glance. Again, complicated in commercial environment, PyQt has its problems and Pyscite, even if officially part of Qt nowadays, was still on Qt 4x last time I looked. We should take this discussion off this Slack as it gets really un-clojure-berlinish.

👍 1