Live data from Hacker News

Show HN: I ported Tree-sitter to Go

github.com

61–70 of 116 posts

Re: Show HN: I ported Tree-sitter to Go

#61
post #2

Oh this is really neat for the Bazel community, as depending on tree-sitter to build a gazelle language extension, with Gazelle written in Go, requires you to use CGO. Now perhaps we can get rid of the CGO dependency and make it pure Go instead. I have pinged some folks to take a look at it.

would also be nice to have this support gopackagesdriver backend

Re: Show HN: I ported Tree-sitter to Go

#62
post #51
post #49

Earlier quoted context omitted.

Also, evil maids, what?

I can't speak for the specificity of parent's "evil maids" phrase but the concept of an "Evil maid" is used in security scenarios. A maid tends to be an example of a person who's mostly a stranger, but is given unmonitored access to your most private spaces for prolonged periods of time. So they theoretically become a good vector for a malicious actor to say "hey I'll give you $$ if you just plug in this USB drive in…

Ah right, thanks! But it seems he meant literal evil maids. Which I guess count as the figurative kind too.

Re: Show HN: I ported Tree-sitter to Go

#63

Claude attempted a treesitter to go port Better title

How is OP using Claude relevant?

Because the entire README doesn't even mention it, and it is an important factor in deciding whether it is ready for production use.

I, for one, am definitely not going to use this project for anything serious unless I have thoroughly reviewed the code myself. Prototyping is fine.

Re: Show HN: I ported Tree-sitter to Go

#64
post #52
post #46

Earlier quoted context omitted.

Wait, are you suggesting that OP broke in to your server and stole code and is republishing it as these repos? I have questions. Have you reviewed the code here to see if it matches? What, more specifically, do you mean when you say someone broke in? What makes you think that this idea (which is nice but not novel) is worth stealing? If that sounds snarky, it’s not meant to; just trying to understand what’s going on.…

1. Just saying, strange coincidence 2. How can we compare Claude's output in a different language? 3. Detecting break-ins and handling evil-maids: unless the trick is already known on the internets, I do not disclose. Odds are not in my favor. 4. Maybe worth, maybe not. I have my adaptations. Trying to make it not worthy of stealing, in fact.

Based on this and your other comments, including the one that’s no longer visible: Please phone a friend. Or find a professional to talk to. I say that with nothing but compassion.

Re: Show HN: I ported Tree-sitter to Go

#68
post #38

Earlier quoted context omitted.

How is OP using Claude relevant?

OK for prototyping. Not OK for prod use if noone actually read it line by line.

I’m just curious, what would need to happen for you to change your opinion about this? Are you basically of the opinion that it’s not good enough today, never will be good enough in the future, and we should just wind back the clock 3 years and pretend these tools don’t exist?

It feels to me like a lot of this is dogma. If the code is broken or needs more testing, that can be solved. But it’s orthogonal: the LLM can be used to implement the unit testing and fuzz testing that would beat this library into shape, if it’s not already there. It’s not about adding a human touch, it’s about pursuing completeness. And that’s true for all new projects going from zero to one, you have to ask yourself whether the author drove it to completeness or not. That’s always been true.

You want people to hedge their projects with disclaimers that it probably sucks and isn’t production worthy. You want them to fess up to the fact that they cheated, or something. But they’re giving it away for free! You can just not use it if you don’t want to! They owe you nothing, not even a note in the readme. And you don’t deserve more or less hacker points depending on whether you used a tool to generate the code or whether you wrote it by hand, because hacker points don’t exist, because the value of all of this is (and always will be) subjective.

To the extent that the modern tools and models can’t oneshot anything, they’re going to keep improving. And it doesn’t seem to me like there’s any identifiable binary event on the horizon that would make you change your mind about this. You’re just against LLMs, and that’s the way it is, and there’s nothing that anyone can do to change your mind?

I mean this in the nicest way possible: the world is just going to move on without you.

Re: Show HN: I ported Tree-sitter to Go

#69
post #38

Earlier quoted context omitted.

OK for prototyping. Not OK for prod use if noone actually read it line by line.

I’m just curious, what would need to happen for you to change your opinion about this? Are you basically of the opinion that it’s not good enough today, never will be good enough in the future, and we should just wind back the clock 3 years and pretend these tools don’t exist? It feels to me like a lot of this is dogma. If the code is broken or needs more testing, that can be solved. But it’s orthogonal: the LLM can…

This might be true, but we can continue to try and require the communities we have been part of for years to act a certain way regarding disclosures.

If the community majority changes it mind then so be it. But the fight will continue for quite some time until that is decided.

Post reply on HN