clojure-nl

Companies working with Clojure in The Netherlands: https://docs.google.com/spreadsheets/d/1NzOqY1v-OReB1IquUgHuT3Kh8K8jhPdlwBM6ds7id6Y/edit?usp=sharing
kwrooijen 2020-06-18T09:52:36.331300Z

Morning! Working on generating a database structure with Integrant / HoneySQL, and generating rows with Malli

borkdude 2020-06-18T09:57:35.331900Z

HoneySQL is cool. I recently added support in babashka so it can be used as a library there

kwrooijen 2020-06-18T10:00:20.332100Z

Yeah I find HoneSQL amazing

kwrooijen 2020-06-18T10:00:38.332400Z

I love how you can create partial queries, and add more later on

kwrooijen 2020-06-18T10:00:52.332600Z

Very reusable

kwrooijen 2020-06-18T10:01:01.332800Z

And data driven is always a + for me

kwrooijen 2020-06-18T10:01:26.333100Z

By the way, I was wondering (since you mentioned Babashka)

kwrooijen 2020-06-18T10:02:47.334100Z

Is it possible to create a new executable with babashka? So basically I write a small script for bb, and then package it up? Or would I be better off using GraalVM with a clojure repo?

borkdude 2020-06-18T10:03:42.334900Z

I think it's easier to make a bash script which installs bb if it's not there and use that as a pre-amble. There is a project here which tries to convert bb scripts into a GraalVM native: https://github.com/MnRA/nativity

kwrooijen 2020-06-18T10:04:35.335300Z

Ah cool, I'll take a look at that

kwrooijen 2020-06-18T10:04:43.335600Z

Thanks

Mno 2020-06-18T12:28:07.337100Z

That one only works for very simple scripts, and is a bit quirky

Mno 2020-06-18T12:29:30.337900Z

Also mornin'

borkdude 2020-06-18T12:31:37.338200Z

@kevin.van.rooijen this is a pretty extensive preamble: https://github.com/lambdaisland/open-source/blob/master/bin/bb

kwrooijen 2020-06-18T12:40:40.338800Z

Thanks!