babashka

https://github.com/babashka/babashka. Also see #sci, #nbb and #babashka-circleci-builds .
borkdude 2020-10-01T12:03:44.248600Z

Delete file tree recursively using java nio: https://gist.github.com/borkdude/2a85971164a7e71282d0d0a59fb4b60f

👀 1
⭐ 3
2020-10-01T14:14:33.251100Z

it should be called rm-rf;P

2020-10-01T14:14:42.251300Z

nice work

borkdude 2020-10-01T14:45:00.251500Z

Thanks. TIL you can use reify with more than one interface. I wonder if we can extend the analyze-reify tree-sitter project to analyze for that ;P

borkdude 2020-10-01T14:45:12.251700Z

as in: who is actually doing that. I've never encountered it

tzzh 2020-10-01T15:50:16.255900Z

Hey, I remember somebody mentioning email on this channel recently so I thought it would be fun to try and create a pod for it so I started https://github.com/tzzh/pod-tzzh-mail which is using a popular Go email library https://github.com/jordan-wright/email

🎉 3
borkdude 2020-10-01T15:51:03.256600Z

wow @thomas.ormezzano, you're on fire!

tzzh 2020-10-01T15:55:23.256700Z

Cool thanks, I am happy to help the babashka community 🙂

borkdude 2020-10-01T15:57:20.256900Z

There's a small typo in your example. Also there's a password in it

borkdude 2020-10-01T15:57:24.257100Z

not sure if that's real or not ;)

tzzh 2020-10-01T16:00:47.257400Z

ah thanks I’ll take a look - the password is not real (I mean I haven’t tried it it might belol)

borkdude 2020-10-01T16:03:49.257900Z

I just tested it, it works!

borkdude 2020-10-01T16:05:23.258200Z

@lucian303 ^

borkdude 2020-10-01T16:05:47.258300Z

Do you have a twitter handle btw?

borkdude 2020-10-01T16:06:03.258500Z

I just tweeted it, but I didn't mention you

tzzh 2020-10-01T16:10:12.258700Z

lol thanks I don’t have one

borkdude 2020-10-01T16:13:32.259400Z

I love that the go code is effectively below 200 lines

tzzh 2020-10-01T16:20:08.260100Z

yeah it’s great it’s just super simple wrapper code 🙂

borkdude 2020-10-01T16:25:20.260300Z

Minor thing: on Windows I think .zip is more supported

lucian303 2020-10-01T16:40:23.260900Z

cool @thomas.ormezzano @borkdude i will def give that a shot

2020-10-01T23:28:35.261100Z

time for querying a large sample of code? 😜