Fork me on GitHub
#clojure-uk
<
2021-07-19
>
dharrigan05:07:28

Good Morning!

djm07:07:45

https://www.infoq.com/news/2021/07/eleutherai-gpt-j/ - seems similar to CoPilot, but you can try it out in the browser (the link is near the end of the article). It is able to create Clojure code, although for some reason it creates multiple (independent) functions whenever I try to create one, and stops midway through the last one.

dharrigan12:07:02

Clamy and hot today!

😓 4
💯 4
yogidevbear12:07:13

Morning ☀️

dharrigan14:07:46

Hey. What's the view jar scanning for vunerabilities, using something like lein-nvd/clj-nvd. Do people here do it? Asking for a friend 🙂

seancorfield17:07:40

@dharrigan ISTR that any time such scanning tools have come up, the consensus seems to be that they generate a lot of false positives so they're not terribly useful?

seancorfield17:07:40

We recently enabled Snyk vulnerability checking on our BitBucket repo (since Atlassian are offering it for free) but our repo doesn't include any manifest files that Snyk recognizes so it refuses to import the repo 🙂

dharrigan17:07:52

Interesting.

dharrigan17:07:55

My thoughts about it too

seancorfield17:07:05

(we previously had a leftover Dockerfile and a .json project file, both of which it did import and scan -- and listed about 100 vulnerabilities(!) so we just deleted them since we didn't use either... and now Snyk complains that it "skipped 1 check" because the files are gone 😕 )

dharrigan17:07:26

Thank's Sean! Food for thought 🙂

dominicm19:07:41

I thought that Dan Abramov's recent blog on npm audit was fascinating. It did confirm a suspicion of mine though, so I'm biased.

dominicm19:07:09

Morning again

alexlynham19:07:50

aha, the network sync gremlins have done me dirty

dominicm19:07:35

off-topic, I want clojure.walk but for clojure.zip so I can traverse clojure data structures, and later reassemble them, but do funky (temporarily incompatible clojure) transformations in the middle.

alexlynham19:07:52

that sounds like unbearably spicy code

dominicm19:07:53

I agree. I'm kinda up to no good.

dominicm19:07:47

I'm trying to write an analyzer in Clojure for Clojure. The problem is pesky MapEntries. I want to replace everything with lambdas like in SICP, but you can't have non-map-entries inside a hashmap so it all goes boom.

dominicm19:07:32

https://clojuredocs.org/clojure.zip/zipper clojure.walk could definitely fill this contract. But I want cljs support so I'm a little stuck.