News for hackers. Stuff that matters.
Re:AI-Powered JavaScript Completions by tobr on Tuesday May 12, 2020 @11:38AM (#23155131)
Any reason to use this over TabNine[1]? I’ve been using that for months, and only have good things to say about it. It’s like it’s reading your mind. Strong recommendation.

1: https://www.tabnine.com

Re:AI-Powered JavaScript Completions by dhung on Tuesday May 12, 2020 @12:11PM (#23155663)
Daniel from Kite here. TabNine is great! And at the end of the day, Kite's completions and TabNine serve the same purpose. However there are a couple of differences in how we designed Kite vs TabNine.

First, the most important consideration for us was if our completions model could provide a good user experience 1) locally and 2) with minimal CPU and memory usage footprint. While we're constantly tuning the product's performance, Kite already uses less memory and CPU than TabNine. We know how important it is to save resources (and battery life!) when you're developing, so this was a huge sticking point for us.

Second, we've also put a ton of thought into dealing with the visual noise that completions of this nature introduce. The completions that are predicted by models such as Kite's and TabNine's can sometimes be irrelevant or redundant, so it's important to design filters that reduce the amount of what we call "low value" completions shown so that developers are less distracted. In Python, we have a best-in-class static analysis engine that we use to filter out low value completions. We don't have our own proprietary JS static analysis engine yet, but we've done some UX "hacks" to make sure Kite's JS completions aren't redundant and don't crowd out other completions the user may find useful e.g. native completions from the IDE.

Third, (and this is a point mainly for Python), is that Kite is much more than just completions. We also provide help for calling functions, instant documentation and we have some more features in the works. Completions certainly help developers physically write code, but we know that "writing code" also includes a lot of reading, debugging, etc. So we're trying to build a product that helps out developers in all phases.

Re:AI-Powered JavaScript Completions by rhlsthrm on Tuesday May 12, 2020 @11:40AM (#23155167)
I just downloaded this yesterday and it’s already been insanely good. Really stoked to see more players and improvement in this space.
Re:AI-Powered JavaScript Completions by riquito on Tuesday May 12, 2020 @11:51AM (#23155364)
I agree that it's wonderful, it impresses me every day. When I saw kite I immediately thought about TabNine.
Re:AI-Powered JavaScript Completions by mleonard on Tuesday May 12, 2020 @03:41PM (#23158725)
Does Kite's VSCode extension work with Github Codespaces?

You can now install vscode-server on a remote machine and connect to it over ssh from your local vscode or even from vscode in the browser (using Visual Studio CodeSpaces or the upcoming Github Codespaces)

Will Kite work with this??

Github CodeSpaces annoucement a few days ago: https://news.ycombinator.com/item?id=23092904

Re:AI-Powered JavaScript Completions by dhung on Tuesday May 12, 2020 @04:28PM (#23159276)
Kite currently doesn't work with remote coding in VS Code. That said, we're always open to integrating with more platforms, especially if there's strong enough demand from our users.
Re:AI-Powered JavaScript Completions by will_raw on Tuesday May 12, 2020 @11:43AM (#23155219)
Off-topic maybe, but do you feel the any kind of lag with TabNine. I've dropped using it after a month as its slowed down my editor.
Re:AI-Powered JavaScript Completions by justkez on Tuesday May 12, 2020 @12:59PM (#23156308)
I've come back to TabNine after a hiatus and do see the occasional lag or the process thrashing at 100% of a core. Depending on mood I'll kill it or let it recover. I find myself forgiving any sporadic lags thanks to the productivity gains.
Re:AI-Powered JavaScript Completions by droid_w on Tuesday May 12, 2020 @02:54PM (#23158116)
Dror from TabNine here. We've introduced some big improvements in TabNine's resource consumption in the last few weeks, and there's more to come. In addition, TabNine's Professional version (free trial available) lets you use our GPU cloud servers which means dramatically reduced load on your machine.
Re:AI-Powered JavaScript Completions by terafo on Wednesday May 13, 2020 @06:31AM (#23165449)
Are there any plans to allow using local GPU?
Re:AI-Powered JavaScript Completions by droid_w on Wednesday May 13, 2020 @05:40PM (#23172154)
Could you share the OS and editor you're using? we're working to make TabNine super performant.
Re:AI-Powered JavaScript Completions by will_raw on Sunday May 17, 2020 @12:00PM (#23212832)
Thanks for the comment, I came back to TabNine after your previous comment, and I am glad that the issues (mostly performance) looks to be resolved, yet I need to play more with it.

Edit: OS: mac os 15.4.2 Editor: Vim and VScode

Re:AI-Powered JavaScript Completions by codemanjoe on Tuesday May 12, 2020 @03:32PM (#23158607)
if you use WebStorm or IntelliJ, Codota (https://www.codota.com) is also very good
Re:AI-Powered JavaScript Completions by nlh on Tuesday May 12, 2020 @03:41PM (#23158723)
And, interestingly enough, Codota just acquired TabNine a few months ago :)
Re:AI-Powered JavaScript Completions by codemanjoe on Tuesday May 12, 2020 @03:49PM (#23158829)
What? That's pretty massive. So Codota+TabNine got you covered on all languages & IDE's.
Re:AI-Powered JavaScript Completions by dang on Tuesday May 12, 2020 @06:32PM (#23160881)
There's evidence that you guys have been astroturfing this thread. We ban accounts and sites that do that. Please stop now and never do this on HN again.

https://news.ycombinator.com/item?id=23159058

Re:AI-Powered JavaScript Completions by tobr on Thursday May 14, 2020 @06:06AM (#23177631)
I hope my comments in the thread have not been interpreted as astroturfing. I have no affiliation with TabNine, I’m just a happy user.
Re:AI-Powered JavaScript Completions by dang on Thursday May 14, 2020 @03:01PM (#23183869)
I was talking about other accounts than yours. You're fine.