Live data from Hacker News

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

kite.com

141–150 of 257 posts

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

#141
post #56

Maybe a little bit off-topic and controversial, but in my opinion auto-complete is overrated. Doing software development is mostly reading code and documentation. Obviously one also writes code and for sure one can't memorize every function or package name, but searching for it isn't that much of a bottleneck? Some time ago I wrote Java using Eclipse (which had/has reasonable auto-complete), but when I switched to di…

> searching for it isn't that much of a bottleneck When I left IDEs for a terminal-based dev setup (Vim + CLI), this was what I thought. I rapidly discovered how incredibly wrong that was. A big factor, for me, was that autocomplete kept me from making typos . Even with a rapid feedback loop, those typos build up. Plus, the reduced cognitive overhead that comes from being able to bang out code faster also lets me sta…

On the other hand, autocomplete leads to typos in the middle of a variable name being repeated again and again. Plus, practice of typo-free editing is beneficial also outside IDE, i.e. for chats/emails/commenting on HN.

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

#142

Earlier quoted context omitted.

My largest concern is how frequently is my code sent to the cloud? Sometimes when building integrations, I hard code private keys just to get things working and then pull them out into config files that aren't checked into source control. Not knowing where that key might have gone would bother me.

One of the big things we've worked on over the past few months is giving users fine grained control of which files are indexed by kite: - Kite only indexes directories that you have explicitly enabled - You can create a .kiteignore file (same semantics as .gitignore) to exclude specific files / patterns.

Do you have a sanitizer that detects stuff that looks like crypto keys and censors it before upload? Offhand, sounds like it would be pretty easy to compute just using an appropriate entropy measure.

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

#143

Adam from Kite here. Thanks for all the feedback and encouragement around the launch today. We're excited to be opening up Kite for everyone to download today. When we launched Kite here on hackernews almost a year ago we were blown away by the enthusiasm for our smart copilot vision. Over 65,000 of you signed up for Kite in the first 72 hours, and over the past year we've been working with many of you to deliver tha…

How intertwined is the completion and the indexing? Could I .kiteignore * and then still use the functionality for completion and documentation on public code? Would it just send API calls based on the functions I am calling or something like that? I cannot send my code to you, nor will I be able to convince my company to pay for an enterprise version. I would pay for a personal version that has some sort of controls in place though.

Can you not have it just cache locally based on the requirements.txt or the import lines at the top of the file? Then all you know is what I am importing, and I would be fine with that. Anything more, and sorry, can't do it.

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

#144

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.

Sounds good to me!

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

#146

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.

That's a fair comment, but how many libraries does a typical Python projects use? I'm going to go with 100-150,the index needed will be under 100MB.

JavaScript projects tend to have more dependencies, but those tend to be smaller and will have a smaller index.

Solving this 'problem' would lose Kite money, so I don't fault them for not attempting it.

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

#147

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?

I also have javascript disabled, and selectively enable it for websites as required. For me it's less about security and more about disabling annoyances e.g. assisted scrolling and such.

On the security point, there are some answers out there relating to javascript in tor [0]. Basically it's not a risk per se, but it does increase your risk surface area.

[0]:https://security.stackexchange.com/questions/40620/why-is-ja...

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

#148
post #9

Earlier quoted context omitted.

https://domain.opendns.com/kite.com doesn't show any unusual categories, we might be pulling security blacklists from another source.

Yeah, we special-cased it because we're not comfortable with company IP being shipped offsite and potentially shared with other programmers.

sounds like someone at your work is doing their job well

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

#149
post #56

Maybe a little bit off-topic and controversial, but in my opinion auto-complete is overrated. Doing software development is mostly reading code and documentation. Obviously one also writes code and for sure one can't memorize every function or package name, but searching for it isn't that much of a bottleneck? Some time ago I wrote Java using Eclipse (which had/has reasonable auto-complete), but when I switched to di…

> but searching for it isn't that much of a bottleneck? If you look up from your text editor even a second, it will take several seconds to get back into context. So even if the page you want is already in your browser, and you just switch windows, you lose. Also autocomplete has three purposes: prevents unnecessary typos, is faster than writing it out, and lets you find API/docs. How long it takes to find a relevant…

The best attempt to solve this M+N problem is https://github.com/Valloric/ycmd as far as I know. It handles only autocomplete, though; syntax highlighting is apparently not too painful to add.

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

#150

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…

Hi, you can uninstall Kite by following the instructions here: http://help.kite.com/article/6-how-do-i-uninstall-kite
Post reply on HN