Fork me on GitHub
#babashka
<
2021-08-11
>
ahungry00:08:52

I've been away from babashka for awhile - how's the native GUI situation? Is it relatively possible/easy to write a cross platform (Windows/GNU+Linux) GUI? (are there any GUI features, like swing or javafx )

phronmophobic00:08:58

I’ve been considering making a babashka pod for my cross platform ui library. what kind of uis/applications would you be interested in making?

🎉 10
ahungry03:08:00

In the past I've done some stuff with a GUI front end for jira, a custom web browser, and a real time mapping (canvas style) for some mmorpg games - problem with clojure + gui has always been the abysmal start up time compared to something like libiup + C

👍 2
Bobbi Towers05:08:59

https://github.com/porkostomus/bb-Tk I made this almost as a joke, but it maybe could become real TCL/Tk bindings like python has (Tkinter). I just wanted to see how quickly I could get a window on the screen in a manner that would most fit the "spirit of the shell" babashka

🆒 4
borkdude08:08:42

Perhaps the Node stuff also allows building real GUIs, I haven't explored that, but probably electron is the thing you need there?

rafaeldelboni17:08:46

Hi I would like to use https://github.com/slipset/deps-deploy in babashka, but when I try to do this:

#!/usr/bin/env bb

(require
 '[babashka.deps :as deps]
 '[ :as io])

(deps/add-deps '{:deps {slipset/deps-deploy {:mvn/version "0.1.5"}}})

(require '[deps-deploy.deps-deploy :as d])
I get: (err) java.lang.Exception: Unable to resolve classname: org.eclipse.aether.RepositorySystem conjure.internal cemerick/pomegranate/aether.clj:7:3 Is there anything I'm doing wrong?

borkdude17:08:32

You're not doing anything wrong, but babashka cannot load Java classes that it doesn't have included in the binary, so you're just hitting that limitation

rafaeldelboni17:08:42

Hey thanks for your answer, do you know any lib I could use to deploy to maven using bb?

borkdude19:08:19

I think just using clojure for this makes more sense

rafaeldelboni19:08:59

Yeah that's what I ended doing, thanks a lot for your time :)