Lurker News

Comments (1,272) 260 threads

Earlier comments
WhompingWindows#
I'm primarily an R and SQL user, excited to try this out on some fun data analyses.

How did you construct the Copilot? Did you use a learning approach based on data from actual pair-programming sessions? Or did you take tons of code as your input and use that to suggest next methods based on input code?
I learned a ton whenever I pair programmed, but now I'm at a small company so I'm looking for fun ways to learn new methods :)

f38zf5vdt1 reply#
This could be the kind of thing easy to train and run locally on a GPU.

- You only need code relevant to your language.
- The amount of unique code in your language is going to be relatively small in compared to say, the entire history of internet comment.
- Training a model also shouldn't take long.
I personally would never use an online version feeding all my code back to a home server somewhere, and leaving breadcrumbs that might suggest I'm violating the GPL.

ranguna#
Tabnine already does this locally, but I didn't have that good of an experience.
shadowgovt#
Brilliant.

I remember over a decade ago seeing a grad student project with a very straightforward and very clever idea: extending JavaDocs based on code snippets of actual use (to address the common pattern problem in Java code that you often get an instance of an object not by direct construction, but by calling a factory function or singleton getter somewhere). Kicking myself that I didn't see this day coming.

enobrev#
I just watched this demo on twitter[1] and found it entertaining that it was auto-completing useless, redundant comments for the developer. Pretty sure that says more about all of us developers as a whole than about Copilot.

1: https://twitter.com/gr2m/status/1409909849622601729

Load more comments