r/node • • Mar 22 '22

I have created a vscode plugin that provides you with code snippets on demand.

308 Upvotes

25 comments sorted by

36

u/atkinchris Mar 22 '22

On your homepage:

Code Attendant allows you to use its snippets without any attribution, making it the best choice from a legal point of view.

And then later in your terms of service:

It is Your solely responsibility to check the applicable license of any Code Suggestions You intend to use, prior to such usage.

What license are snippets released under? They're referred to as "permissive" - but you don't state what they're licensed under.

Neither the System nor any portion thereof may be used by or on behalf of, accessed by, re-sold to, returned to, or distributed to any other party.

Does this forbid distribution of code that includes your snippets?

I think the tool can make snippets easier to find, but that the licenses around those snippets need to be much clearer, so everyone can be safe.

4

u/dordchn Mar 23 '22

Thanks for the careful review of our documents!

I agree there is some ambiguity here and will discuss this with our lawyer.

As a rule of thumb, we intend to allow our users to use the service for any type of project, whether its a private one, commercial, or even open source without the need to include attribution comments in their code. The reason for the careful wording is the need to protect ourselves from being scraped (and such) by competitors or anyone else who may want to harm us.

11

u/Mardo1234 Mar 22 '22

Thank you! Where does the source data come from, and how is it updated?

3

u/dordchn Mar 23 '22

You're welcome :)

There are multiple ways in which we create our data and maintain its quality.
For one, we allow users to submit solutions of their own. We also allow users to report snippets if they find any issue.

26

u/[deleted] Mar 22 '22

It attend meetings on my behalf?

2

u/666devilsadvocate Mar 22 '22

is it also available for neovim?

2

u/dordchn Mar 23 '22

Currently not, but we do have plans to support more editors in the future.

2

u/Exitl0l Mar 23 '22

As an angular developer myself I'd highly suggest typescript support for the tool, installed it, i am going to use it nontheless.

2

u/dordchn Mar 23 '22

Thanks for the feedback!

How important do you think it is, given that all js code is a valid ts?
What would make the most difference? types support? Unique ts snippets? (Like enum, etc.)

2

u/Exitl0l Mar 23 '22

Probably just typed stuff and ts feature related snippets would be great.

1

u/DG4ME5 Mar 23 '22

it's very cool and i would like to ask if you plan to expand it to other languages like python ?

1

u/dordchn Mar 23 '22

We do! Python is on our road-map, so feel free to subscribe on our website to get notified when it happens.

8

u/chris_cadev Mar 22 '22

I feel this a little less intrusive than GitHub Copilot I'm going to try it out

3

u/MrSirStevo Mar 23 '22

Very cool, but I'd be afraid of not learning anything with the snippets already done . I learn mostly by doing and repetitive coding 😀

1

u/kilust Mar 23 '22

Very nice! 👏 can it learn from private repositories?

1

u/dordchn Mar 23 '22

Not yet ;)

2

u/LowLifeArcade Mar 22 '22

Whoa. This looks cool. I'm going to try it out.

2

u/dev-arthur Mar 22 '22

This is really cool.

2

u/[deleted] Mar 23 '22

Is it open source?

3

u/seanyover9000 Mar 23 '22

Github copilot

1

u/strong_grey_hero Mar 23 '22

This is interesting, scary, hilarious, and useful all at once.