Fork me on GitHub
#clojure-losangeles
<
2020-04-09
>
nate02:04:28

👋

esp102:04:30

thanks @nate for the talk on babashka!

➕ 4
👏 4
nate02:04:15

you're welcome, glad to be able to share

nate02:04:30

thanks to everyone who showed up and listened and asked questions

esp102:04:33

btw it looks like babashka has even better shebang support now - i just tried this and it worked: foo.clj:

#!/usr/bin/env bb -iO --stream

(prn *input*)
ls | ./foo.clj

nate02:04:21

interesting, I get:

$ ls | ./foo.clj
/usr/bin/env: ‘bb -iO --stream’: No such file or directory

nate02:04:25

what platform are you on?

nate02:04:54

ah, I'm on linux, maybe mac is nicer

esp102:04:18

oh, you might try adding -S to the env line:

#!/usr/bin/env -S bb -iO --stream

esp102:04:56

not sure if that’ll work?

nate02:04:00

hm, no -S for my env

nate02:04:13

$ ls | ./foo.clj
/usr/bin/env: invalid option -- 'S'
Try '/usr/bin/env --help' for more information.

nate02:04:33

Ubuntu 18.04

esp103:04:33

Hm, looks like -S was only introduced in coreutils 8.30. I have a box running Ubuntu 16.04 with coreutils 8.28 so it doesn’t work on there for me either.

nate03:04:23

wonder if Ubuntu 20.04 will have coreutils 8.30

nate03:04:29

🤞

nate03:04:17

For those that didn't catch my obscure time reference, it was an attempt at being the 50th anniversary of the o2 tank explosion on Apollo 13. I ended up being off by a three hours (EST/PST). Oh well. You can check out a great view of the real event here: https://apolloinrealtime.org/13/?t=055:51:52

esp103:04:27

oh wow this is amazing - thanks for sharing!

bocaj04:04:34

I couldn't make it tonight, did you record?

nate15:04:21

@bocaj yes, it was recorded. Hopefully Ticean will post the video link soon.

👍 4
nate15:04:44

Hey, just saw that @lukaszkorecki is interviewed oh the REPL podcast this week. Check it out: https://www.therepl.net/episodes/35/ Looking forward to listening.

😀 4
🙌 4
nate18:04:00

I added more information to the README in https://github.com/justone/bb-scripts to show what is there and how to make more scripts. Hope it's helpful.

ticean22:04:22

@nate your examples are 💯 I’m having a much better time spelunking kubectl output with jet and bb now!

bocaj22:04:56

Also looking into https://github.com/nomnom-insights/nomnom.duckula thanks for the refresher on “the repl” podcast with @lukaszkorecki

lukasz22:04:13

my pleasure

lukasz22:04:54

the podcast plus upcoming clojure/north talk forced me to start wrapping up some of the features we haven't opensourced yet (end-to-end avro and swagger.json generator)

👍 8
bocaj22:04:32

Off topic, looking for data modeling guidance. This is enterprisey but thorough turning relational into something graph-like: https://datavaultalliance.com/news/dv/understanding-data-vault-2-0/ any other resources you all recommend?

bocaj22:04:21

Yeah, didn’t think so 🙂 weird space where databse modelers trying to solve the world with an “EDW”.

lukasz22:04:24

Is that something like the star schema? https://en.wikipedia.org/wiki/Star_schema

bocaj22:04:59

I’m finding it interesting b/c the author’s point is to make it immutable at the core, and make as few assumptions in a foundational model, and then layer other stuff on top

bocaj22:04:39

so “star++” maybe 🙂, I think there’s a quote calling it “6th normal form” 🤷

bocaj22:04:07

Cruxdb might be solid enough soon to forego modeling something like redshift to be immutable, and then write something on top of cruxdb so it works well with BI tools, metabase, or something similar.

bocaj22:04:11

If anyone’s interested, I’ve been following Crux and I think they’ll get SQL working well soon, https://opencrux.com/docs#faq-comparisons

nate22:04:30

I've definitely wanted to try Crux out, are they thinking of providing an SQL interface to it?

nate17:04:44

Very cool!

nate22:04:10

or SQL data as a source?

bocaj22:04:47

Um, I think they’re going with Kafka sinks/source for shuttling things around. The SQL interface is to execute queries using e.g. jdbc.next