Lurker News

Comments (243) 72 threads

arihant3 replies#
Since this program uploads code to the cloud, it would be worthy to clarify if it cleans out strings before upload or not. Because if it does not, it is a serious concern as it puts secret keys in code in awful risk.

They also run a background process that needs to be manually killed to be able to uninstall. It feels like a quarantine. This is an editor plugin, is there really no simpler way to provide uninstall capability?

adamsmith2 replies#
To clarify, on Windows the uninstaller is just one step: double click Kite from the Programs & Features section of Control panel.

Unfortunately on Mac you have to quit Kite before it can be dragged to the trash. You can do that from the menubar icon or by killing "Kite Engine". (You don't need to quit Kite Helper to drag to the Trash.) See instructions here http://help.kite.com/article/6-how-do-i-uninstall-kite. We'll be improving this on Mac shortly.

sebleon1 reply#
Welp - after reading through these comments, seems like privacy and code upload are huge concerns.

Might be worth it for you guys to get ahead of this, and address these issues explicitly on the home page and during installation. It will lower short-term usage & install numbers, but probably won't hurt long-term retention and word of mouth sharing.

adamsmith3 replies#
Thanks, we appreciate the constructive feedback!

We've worked really hard to make sure we're clearly communicating what's happening (transparency), and adding fine grained controls. We have a very clear step during the install flow that talks about how Kite works, and we will prompt for whitelisting within each of the editor plugins that can work without the sidebar (Atom, ST3, PyCharm).
We also have a security page (https://kite.com/security) that points to our various resources related to this, including more details about our control mechanisms—including .kiteignore—and how we think about security (our four principles).
We also know that some companies need on-premise Kite to make this work. We're exploring that now with customers, and would love to chat with you if it's something you need. (https://kite.com/enterprise)
I know none of these are silver bullets. Thanks for your comment as we work with users to figure out how to make this work.
We hope you'll give Kite a spin when you can—we think it's pretty transformative—and we hope to be able to address all of your concerns soon! : )

Continue this thread — 3 replies

karsinkk#
Everytime I killed Kite Engine a new zombie would just spawn up.
ovidiup2 replies#
1. On MacOS X it's quite impossible to kill the helper and engine processes, so you can remove Kite.app. Something is restarting them automatically, which is really frustrating.

2. It's completely unacceptable to upload code to the cloud.

ovidiup1 reply#
As far as an uninstall procedure is concerned, the expectations of a MacOS X user do not involve looking up instructions on a web site. The user should be able to quite the app, drag it to the Trash and clean it.

In addition the instructions you posted on the web site do not work. There are two running processes shown in Activity Monitor: a KiteHelper and a KiteEngine. Killing them both does not work, they are resurrected by some process.
I had to manually rm -rf Kite.app, and reboot the machine to get rid of the pesky KiteHelper and KiteEngine processes. Totally unacceptable "uninstall" procedure.

jsonau1 reply#
Yea was annoying. To prevent them from resurrecting, remove kite processes managed by launchd before killing the current processes

* launchctl list | egrep kite
* launchctl remove :KITE_LABELS

Continue this thread — 1 reply

simplehuman#
So you don't use GitHub.
ako1 reply#
Is uploading code really that much worse than having closed source in a private cloud GitHub repository or pushing your closed source Python code to a PaaS platform like pivotal or bluemix?
arihant1 reply#
It's not so much the upload, but the fact that it will always be unclear (and dynamic) what this service will do with a particular LOC. You might store sensitive documents in Google Drive, but it is unlikely you will type something sensitive into Google Search. Because it is a smart autocomplete feature, there will always be lack of clarity of when they delete your files, if at all.

Github and PaaS do not have any direct benefit of storing my lines of code forever. There is no logical comprehension of doing so. If they are caught, they will lose customers forever. In a service like this, however, it can always be claimed that the storage was done in order to make the service smarter. Which would be true. But it would be dangerous.
It is also worthy to note that this is a live tool. With other services, one has a chance to clean their code before upload. With this, even playing around with an API with embedded keys in your code has already put you at risk.

notheguyouthink1 reply#
> It is also worthy to note that this is a live tool. With other services, one has a chance to clean their code before upload. With this, even playing around with an API with embedded keys in your code has already put you at risk.

Wow that is a really good point.

Continue this thread — 1 reply

adamsmith10 replies#
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 that vision. It's taken a momentous effort, but today we're ready to take off the wrapping paper and open up Kite to the world.
Here's what we've been working on:
* Deep editor integrations: to make Kite better for smaller screens and more integrated into the coding workflow. You no longer have to dedicate a sidebar of your screen to Kite; instead, recommendations from Kite replace your editor’s autocompletions and hover results.
* Fine-grained privacy controls modeled after the .gitignore file format means that you can selectively and precisely decide which files and folders Kite indexes.
* Next generation type inference engine that uses both static analysis and statistical inference over Github. Kite beats PyCharm and Jedi by 32% on a typical Django project, offering more completions when you need them.
* Ranked completions which put the most relevant completions at the top of the autocomplete box using techniques traditionally used in web search.
* Kite for Windows. (And Linux in testing!)
Check it out at kite.com.

djsumdog4 replies#
Does Kite still send all your code to Kite servers as you type? I remember that being an issue the last time someone talked about Kite on HN.

I'm find with an editor or sidekick that can search stack overflow or duckduckgo or google quickly with a hotkey-- maybe keep snippets you can tag and easily reference-- but sending all my code as I type to a web service is something I'm not willing to do and something most companies won't allow.

StyloBill2 replies#
I think the answer to your question is :

"* Fine-grained privacy controls modeled after the .gitignore file format means that you can selectively and precisely decide which files and folders Kite indexes."

Karunamon10 replies#
Unfortunately, that means that a really simple app where a developer hardcoded something like an API key, and didn't put it in a separate file they told Kite to ignore, will get uploaded.

Any system that relies on people following best practices is doomed in the real world :(

Continue this thread — 10 replies

Twirrim2 replies#
That reads like "enabled by default, denied only on request"

Continue this thread — 2 replies

srj551 reply#
I would love to use this, but I'm not willing to send my code to Kite.com. Sounds great for open source projects!

Sorry.

johndevor#
They need to offer a downloadable version of everything. I won't use it for this reason as well.
hundchenkatze#
I can't speak to whether they still send up all code as it's typed, but I think, for now, they're addressing this concern by offering Kite Enterprise, https://kite.com/enterprise which allows you to run kite on your servers.
alexflint6 replies#
(Copied from above.) 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 plan is to earn trust the hard (i.e. only) way: transparency, published policies, and a track record of good decision making.

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.

andy_ppp2 replies#
Would it be possible to allow a # nokite at the end of lines; these would then have any strings scrambled. This allows me to know immediately that things aren't being sent to Kite rather than have to do a few checks before I write something secret.

Continue this thread — 2 replies

hasenj#
How many GBs would the database take on a local machine? Wouldn't it be possible to pick and choose what libraries to include in it?

I'd rather have a few gigabytes on my machine than have all the code I write automatically in the cloud.

askvictor#
Why not just use .gitignore as a default (if local indexing is enabled)?
srtjstjsj#
> 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.

Why not? that's a _tiny_ amount of data for a modern computer.

mattmanser#
Oh no, not tens of thousands of indexes! My 5 Mb hard-drive just couldn't handle it.
rdslw#
I think this answer (which you used in few places here) does not address concerns people raised all over:

1) kite is useless (or at least substantially less useful) if you explicitly disable files/directories.
Example: Customer says: This fridge I bought, poisons my good. Company: If you don't put your food into fridge its not poisoned. Yeah, but it also not frozen afterwards, which was the reason for the fridge! And no files/directories/lines/whatever policy does solve that problem. Partially because of 2)
2) Human errors will kill this. Just google for number of problems around security tokens, sshkeys and other thing commited to github by mistake.
The only solution is LOCAL index only.

curiousgal#
> And Linux in testing!

Awesome!

m_fayer1 reply#
This looks truly useful and innovative, well done!

Two things come to mind, apologies if they're already addressed:
The sidebar jumping around in the corner of my eye sounds really distracting, I wonder if there's some way to manually tell it to "update" or some other UX trick to ameliorate that, because the concept is great.
I work in the healthcare sector, and I hope you guys do or will have the reams of datasec declarations and certifications needed for this to be usable in such a regulated context.

adamsmith#
Hi there!

We've done two things to address the sidebar motion issue:
1) We've improved the sidebar's motion with an updated layout that creates fewer visual changes, and
2) We've been building deeper integration into the editors, with new UX around completions and looking things up.
Check out the new demo video on the homepage—we think you'll like it! : )
Regarding datasec, unfortunately we haven't gotten to that level of security certifications yet, but we hope to get there soon!

jcwayne#
This would be a winner if the indexing were done locally and only usage data regarding public packages were sent to kite.com
mehaveaccount#
My first time hearing this. I would love to drop some coin if it improves my life, and I think a service like Kite was just waiting for someone to make it happen. I'll test out your demo version today to see if it helps
Bedon292#
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.

devy#
How do I kill "com.kite.KiteHelper" from memory? It keeps reviving.
heroprotagonist#
This is tempting, particularly when learning new libraries, but it seems like it could be resolved with an offline database at some point instead of a hosted cloud service. This would probably improve performance a bit (in terms of responsiveness, rather than accuracy).

I can see where you might want to index all of my code to add to your store of information about how frequently various functions are used, because "more is better" in terms of training data, but there are plenty of open-source projects that could be polled instead. For my own code, why not simply analyze my existing projects on my own machine without sending it elsewhere?
It's pretty laughable that when one clicks through to the security page, the very first thing beyond the heading of "Security. Built in." is "Kite is Cloud Powered." as though that were a feature instead of a liability.
While directory whitelisting and a .kiteignore seem like decent ways to prevent code from leaking, it's only one small bug away from disclosing a company's proprietary secret sauce to unknowns entities.

cdnsteve#
Very nice editor add-on. Looking forward to the Enterprise info as more becomes available.
AtheistOfFail2 replies#
I know this is your baby and all, but how high was your team (high as a kite?) when they thought sending every line of code to your server was a good idea?

Seriously, could just send the object type being "autocompleted"along with the other object types in the same file and gotten better results without the privacy backlash.

Continue this thread — 2 replies

languagehacker2 replies#
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.

Continue this thread — 2 replies

Continue this thread — 1 more reply

rohit3332 replies#
Curious to try Kite, I started to integrate Kite plugin into PyCharm until I saw they keep our code in the cloud which enables Kite do what it does. I'm not sure how many of them would be ok with their code being stored in a private cloud!

Continue this thread — 32 replies

Load more comments