Live data from Hacker News

Show HN: Kite, copilot for programmers, available for Python

kite.com

131–140 of 257 posts

Re: Show HN: Kite, copilot for programmers, available for Python

#131

Could you make your website not display a blank page if the browser has Javascript disabled? The content does not seem dynamic, so a simple HTML page should work.

Just out of curiosity, why do you have JavaScript disabled?

General reasons for using NoScript: security (js sandboxes are not flawless), privacy (brower fingerpring [1][2], Sniffly [3], ...), less CPU usage, less UI bloat (modal popups, blinking stuff, ...; although I have to manually whitelist some websites).

[1] https://amiunique.org/ [2] https://github.com/ben174/hsts-cookie [3] https://github.com/diracdeltas/sniffly

Re: Show HN: Kite, copilot for programmers, available for Python

#134

Interesting project. If I look at one of your code examples/snippets, realize that's exactly what I need and copy it verbatim, where does that leave me, legally?

Great point. We need to address this. Right now the examples are written and owned by us (Kite), so you would technically be in uncertain legal territory (depending on whether fair use was applied per-example or per-page). We will change this to make it crystal clear that copying examples is allowed.

Re: Show HN: Kite, copilot for programmers, available for Python

#135
I just tried Kite on my Mac, and I was really not pleased with it. Uploading all of your code to the cloud is questionable at best when the code you're working on isn't necessarily your own. Having Kite running in the background without a way to disable or uninstall it feels like nothing short of malware. The lack of documentation for how to uninstall Kite from your machine or how to remove your data from their cloud is also pretty worrisome.

Re: Show HN: Kite, copilot for programmers, available for Python

#136

Earlier quoted context omitted.

At first blush, the "we wouldn't be able to ship the entire index along with the client" makes perfect sense. However, I have found that I can store the entirety of the raw Python 2.7 documentation to disk in under 15 MB. It's mostly text, so it compresses absurdly well (2mb, gzipped). And if it was just an index of all the functions with little to no markup, it would be even smaller (this doesn't even account for th…

Right, but the python standard library docs are just a tiny tiny fraction of all the documentation in our index, and the documentation itself is just one corpus out of many.

Couldn't it just load based on requirements.txt?

Re: Show HN: Kite, copilot for programmers, available for Python

#137

I just tried Kite on my Mac, and I was really not pleased with it. Uploading all of your code to the cloud is questionable at best when the code you're working on isn't necessarily your own. Having Kite running in the background without a way to disable or uninstall it feels like nothing short of malware. The lack of documentation for how to uninstall Kite from your machine or how to remove your data from their cloud…

The developers of Kite also replaced the functionality of a popular python autocomplete Atom extension from using jedi to Kite without properly warning the users: https://github.com/autocomplete-python/autocomplete-python/i...

Re: Show HN: Kite, copilot for programmers, available for Python

#138

Earlier quoted context omitted.

Totally legit concern. when we started working on this we realized if we wanted to index tens of thousands of libraries, we wouldn't be able to ship the entire index along with the client. Hence the cloud-based architecture. We've thought a lot about privacy and written up our thoughts here: kite.com/security. The short answer is: we don't index anything on your computer that you don't explicitly ask us to, and our p…

In the future you might want to consider a self-hosted version for enterprises that require by policy more security than your current offering. For $$$.

It's listed on their site.

Re: Show HN: Kite, copilot for programmers, available for Python

#139

Earlier quoted context omitted.

Just out of curiosity, why do you have JavaScript disabled?

General reasons for using NoScript: security (js sandboxes are not flawless), privacy (brower fingerpring [1][2], Sniffly [3], ...), less CPU usage, less UI bloat (modal popups, blinking stuff, ...; although I have to manually whitelist some websites). [1] https://amiunique.org/ [2] https://github.com/ben174/hsts-cookie [3] https://github.com/diracdeltas/sniffly

Great summary. I recommend uMatrix (https://github.com/gorhill/uMatrix) which has really good controls for toggling not just JavaScript but also cookies, XHR, frames, etc for origin and 3rd party/cross-domain requests with per-site settings. A lot of websites that need JavaScript will still work if you enable loading of scripts from the origin domain but leave things like Google Analytics, etc, from other domains blocked. uMatrix is also easier to use and has a much smaller footprint than ad blockers.

Re: Show HN: Kite, copilot for programmers, available for Python

#140

Earlier quoted context omitted.

At first blush, the "we wouldn't be able to ship the entire index along with the client" makes perfect sense. However, I have found that I can store the entirety of the raw Python 2.7 documentation to disk in under 15 MB. It's mostly text, so it compresses absurdly well (2mb, gzipped). And if it was just an index of all the functions with little to no markup, it would be even smaller (this doesn't even account for th…

Bit more context, a full pypi mirror is 500GB. But I guess that's lots of wheels etc.

Code + tarballs + wheels + history; yeah, I can imagine that 500GB is not that out of the question.
Post reply on HN