I don't understand the point of dedicating so many resources just so that you can have a Clipper add-on second-guess your code and make bad suggestions.
Copilot has given me great utility and increased my productivity a lot. I constantly get surprised and amazed by the suggestions. A self-hosted version would be awesome.
FauxPilot – an attempt to build a locally hosted version of GitHub Copilot
31–40 of 86 posts
Re: FauxPilot – an attempt to build a locally hosted version of GitHub Copilot
#32Re: FauxPilot – an attempt to build a locally hosted version of GitHub Copilot
#33Bravo! I'm so glad this is born. I'm curious about its model, SalesForce CodeGen. Does it train on all the public repos on GitHub? Does Copilot have access to private repos that CodeGen cannot access? Also, it would be really cool if I can personalize FauxPilot by feeding it with all my repos on GitHub. Sometimes I just need to reimplement a function I've written before but it's really hard to find where my old code…
I'm fine with them accessing public repositories, as long as they respect the license. Which they probably aren't for private?
On a related note, Google apparently treats their free customers in a way where all their data is mixed in for the algorithm, but apparently not the data from accounts who use Google Suite (paid business accounts), instead they have their own recommendations built for them on a per-user basis, then has the public algo mixed in.
Re: FauxPilot – an attempt to build a locally hosted version of GitHub Copilot
#34Tangential, maybe someone here knows; how complicated would be to implement an autocompleter that just understands syntax + patterns and can offer me suggestions but based on my own stuff? Like what is the simplest version of Copilot that doesn't require huge amounts of training but just does a decent job at recognizing tokens and trying to fill in the structure based on some input code. e.g: `app.get('/',|` {}`, may…
Especially since I'm working in proprietary niche language, it would be so great to have my own code to be the corpus of the model.
It could be so easy: stuff your codebase into a model generator and out comes some sensible autocomplete. Well, at least I hope we will see something like this soon.
Re: FauxPilot – an attempt to build a locally hosted version of GitHub Copilot
#35I would love to build a free and oss clone of GitHub using things like this. Kudos to moyix
It might be interesting to look into existing projects like Gitea or SourceHut. Gitea specifically seems to have a similar look and feel as GitHub.
Re: FauxPilot – an attempt to build a locally hosted version of GitHub Copilot
#36I don't understand the point of dedicating so many resources just so that you can have a Clipper add-on second-guess your code and make bad suggestions.
Copilot is basically copying-from-stack-overflow on steroids. Maybe it should be called Copy-a-lot. Whatever. Regardless of copying mechanisms I expect my fellow developers to understand every suggestion made by such tools.
I don’t think anybody does this. Let’s also ignore the fact that people share licensed code (GPL as example) as SO answers.
Re: FauxPilot – an attempt to build a locally hosted version of GitHub Copilot
#37Bravo! I'm so glad this is born. I'm curious about its model, SalesForce CodeGen. Does it train on all the public repos on GitHub? Does Copilot have access to private repos that CodeGen cannot access? Also, it would be really cool if I can personalize FauxPilot by feeding it with all my repos on GitHub. Sometimes I just need to reimplement a function I've written before but it's really hard to find where my old code…
There was a project here some time back that allowed to call function using its hash. This avoided replication. It was entirely different paradigm to resolve dependencies.
Anyone remembers its name? It was controversial here but it was interesting nonetheless.
Re: FauxPilot – an attempt to build a locally hosted version of GitHub Copilot
#38Tangential, maybe someone here knows; how complicated would be to implement an autocompleter that just understands syntax + patterns and can offer me suggestions but based on my own stuff? Like what is the simplest version of Copilot that doesn't require huge amounts of training but just does a decent job at recognizing tokens and trying to fill in the structure based on some input code. e.g: `app.get('/',|` {}`, may…
To do this in a way that’s actually useful is hard. Microsoft has had Intellisense, JetBrains have autocomplete in Intellij and other products. Both have big teams and decades of work put into them, and still and great, hence the ML approach being tried now.
If I type app.get('/', then looking for literal occurrences and presenting me a menu of all the literal completions I have used before (no ML required at all) would already be a huge win.
Re: FauxPilot – an attempt to build a locally hosted version of GitHub Copilot
#39Earlier quoted context omitted.
To do this in a way that’s actually useful is hard. Microsoft has had Intellisense, JetBrains have autocomplete in Intellij and other products. Both have big teams and decades of work put into them, and still and great, hence the ML approach being tried now.
Is it really that difficult? If I type app.get('/', then looking for literal occurrences and presenting me a menu of all the literal completions I have used before (no ML required at all) would already be a huge win.
Re: FauxPilot – an attempt to build a locally hosted version of GitHub Copilot
#40Earlier quoted context omitted.
It might be interesting to look into existing projects like Gitea or SourceHut. Gitea specifically seems to have a similar look and feel as GitHub.
Oof. GitLab is really the only contender to GitHub. Both gitea and sr.ht don’t have search features. So we are really starting from square one here
Honestly, Gitea's feature set is quite impressive. sr.ht I'm less familiar.
Of course GitLab is another option. I didn't mention it because it is well known, and probably less interesting / approachable to someone who would like to start from scratch, because it is more complex and there's this open core aspect.