Fork me on GitHub
#off-topic
<
2021-06-16
>
Stuart14:06:42

I hate go. Can't get my project to build on windows (builds on linux fine), but i need to do windows specific stuff. It moans about gcc errors. But I can fix this later, I have other stuff I need to work on. So I start a new proejct, try to build it and now our Enterprise AV is flagging the linker as malware... Yes, its right, go is a bad joke

borkdude14:06:08

All those things don't seem to be go specific though? I mean, go can't really help that your anti-virus is reporting false positives? Also go doesn't need gcc normally, unless you use certain libraries?

emilaasa15:06:12

How much work would it be to make an s-exp (or clojure) aware diff tool? Can I wrap lambdaisland/deep-diff2 in some babashka and call it as an GIT_EXTERNAL_DIFF and be done?

seancorfield15:06:46

@emilaasa Saw someone on Twitter posting about “difftastic” yesterday — a tool they are developing to do s-exp-aware diffing.

seancorfield19:06:56

Thanks, yes, that’s the one! And it was Scheme, not Racket (being pedantic).

blak3mill3r15:06:59

Yes! I've wanted this for years and thought about trying to build it

blak3mill3r15:06:26

So cool, thanks

seancorfield15:06:19

They showed it for Racket, I think, but I bet the same approach would work for Clojure. As for “how much work”… no idea.

❤️ 3
mauricio.szabo17:06:25

I remember once I was forced to work with windows, and the antivirus detected some contents inside .git folders as malware. Lots of corrupted commits 😱

2
🔥 2
mauricio.szabo17:06:22

Also, @emilaasa, one thing that I would love to see is a s-exp aware diff tool that also could patch source. Maybe even integrate somehow on git, and have less conflicts on merges 😄

borkdude18:06:49

I was just notified by @ales.najmann that one of my graalvm binaries were flagged as containing a trojan virus ;)

littleli19:06:59

I'm on the procedure of submission the released file for the analysis.... it's running 🤞

littleli19:06:19

I'll keep you posted, the submission is not public 😕

littleli08:06:08

it's resolved

borkdude08:06:15

Thankd for looking into it!

borkdude18:06:48

@mauricio.szabo take a look at autochrome. there is the (non-active) #autochrome-github working group initiated by @martinklepsch - he has an almost working setup for github diffs

phronmophobic18:06:31

Isn't s-exp-aware diffing a very similar problem to what virtual-dom libraries do? ie. Given two different trees, find the minimal number of additions, deletions, and transpositions to reconcile them.

🤯 5
walterl20:06:51

I have a TODO item in my backlog to investigate whether tree-sitter could be used for this kind of syntax-aware diffing

👍 3
emilaasa07:06:19

That would have a better reach (more programming languages) than just doing it for sexps, and could work well for sexps too. I'd be interested in how that investigation goes!

walterl18:06:42

I'll report my findings... but it's been on my list for months, so don't hold your breath 😅 🫁

emilaasa18:06:05

I'm sweating with excitement already !!!

😆 2
emilaasa18:06:08

I'm trying out some of the sexp diffing tools and they seem alright, but the treesitter reach would be great.

emilaasa18:06:14

Would be as general as LSP right? As long as you can get an AST you could do AST aware diffing

walterl18:06:15

That's the idea, but my knowledge of tree-sitter is still very much lacking.

walterl18:06:13

I'm also wondering if tree-sitter could be used for syntax-aware grepping. But then https://github.com/borkdude/grasp happened (which I also want to take a closer look at), and seemingly solved that problem 😅

sova-soars-the-sora23:06:25

what is atlassian and how did it become a thing

seancorfield00:06:41

I assume that is somewhat rhetorical? 🙂

seancorfield00:06:22

We used to use Unfuddle but we switched to Atlassian (Jira, Confluence, BitBucket, Bamboo, etc) for more flexible and more integrated services.

seancorfield00:06:01

I spend all my work day interacting with Jira and BitBucket (mostly via the Atlassian extension for VS Code so I don’t have to deal with their websites).

Eccentric J04:06:42

Did you switch from Atom?

seancorfield06:06:45

@U8WFYMFRU Yes, once @mauricio.szabo got the cljs-based customization stuff working with VS Code I switched from Atom. And my entire REPL/dev/hot-key experience stayed exactly the same!

👍 4
Stuart11:06:57

Atlassian is a great example of how low the threshold is to be successful in this industry. Every interaction I've had with an Atlassian product has been dreadful.

💯 7
Dimitar Uzunov15:06:17

Been using Asana for the last two months and it has been better than Jira in every respect

Dimitar Uzunov15:06:41

but it might not suit every org

Eccentric J17:06:25

We recently switched to https://linear.app from clubhouse, it's pretty nice. I had read this interesting article awhile back https://newsletter.bringthedonuts.com/p/the-tools-dont-matter which hit me good and made the transition easier. Clubhouse isn't bad but it has a very specific workflow it expects and doesn't provide much flexibility. Linear is a bit looser, kind of like Asana and we can better adapt it to our needs vs trying to force ourselves to conform to ClubHouse's workflow

Eccentric J17:06:55

We use it for planning features, projects, and bugs currently

sova-soars-the-sora17:06:13

Ah okay, so there's more to it... like project management? but not basecamp

sova-soars-the-sora17:06:46

seems to have gotten very popular very quickly and i think they have a relatively huge staff size now, but I never really got the "what is it" memo

seancorfield17:06:16

Jira is bug tracking + agile project management (scrum, kanban, etc), Confluence is a wiki, BitBucket is “corporate GitHub” with source code control, PRs, CI pipelines, etc. Together they are a vast suite of tools.

sova-soars-the-sora18:06:46

Gotcha. Cool. So basically a way to organize human effort on a corporate / big level

hiredman18:06:31

my first instinct is that referring to something as a forge is "wicked cool", so it is possible that it is super nerdy

Jakub Šťastný19:06:37

Yeah @U013YN3T4DA I agree. The teams I was on used Jira in maybe 60% of cases since maybe 2009 (can't remember precisely) and I just always hated that. The experience really is quite dreadful. That's not to necessarily their whole efforts, they have some good projects, did part of Git LFS as far as I remember, but their products, Good Lord, it really is jolly awful.

Jakub Šťastný19:06:41

Anyway @U3ES97LAC Atlassian didn't become a thing lately, Confluence and Jira has been around for as long as I remember. I was most definitely using either CF or Jira or both at 2009 if not earlier.

Jeff Evans19:06:55

Jira is almost 20 years old now

☝️ 2
souenzzo13:06:58

jira is a 20 years old software widely used by developers that still show .patch files as if it were a "Microsoft Word " file