this post was submitted on 04 Aug 2024
9 points (76.5% liked)

Privacy

32165 readers
836 users here now

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

Related communities

much thanks to @gary_host_laptop for the logo design :)

founded 5 years ago
MODERATORS
 

Is there any privacy-oriented AI tool for programming?

all 15 comments
sorted by: hot top controversial new old
[–] [email protected] 9 points 3 months ago (2 children)

Sorry, but ed is a far more private, secure, feature-complete, and, most importantly, Standard, editor. It also can run inside of xterm, which codium cannot, which is a big problem.

[–] [email protected] 6 points 3 months ago

Sorry, I'm too ignorant and didn't know about the marvels of ed. It seems absolutely superior compared to everything else I've tried so far. It truly deserves being the Standard editor.

[–] bhamlin 3 points 3 months ago (1 children)

Codium runs just fine in xterm.

It displays elsewhere, sure. But it runs there just fine.

[–] fluckx 1 points 3 months ago (1 children)

Note: codium and codeium are two completely separate products.

[–] bhamlin 1 points 3 months ago

That's fine. The post I was responding to mentioned the one I mentioned though, so nyaaa.

[–] just_another_person 6 points 3 months ago (1 children)

Depends on what you're trying to get it to do. There are plenty of offline models that can run through code, but their effectiveness is only as good as their training.

The entire functional nature of code-aware AI models requires large amounts of data to be trained on, so it's own existence is not privacy friendly, technically.

Maybe have a run through LM Studio and try a bunch of different things out

[–] [email protected] 2 points 3 months ago

I have to do some Lua scripts, and I don't know the syntax very well, so I was looking for a tool that could help me with some code suggestions until I get more used to Lua.

Then, you have a great point regarding the need of large amounts of data to work. In that sense, likely non of them respect privacy during their development.

My question was more about privacy regarding user data and the prompts you use. I believe that running something locally like ollama (as others suggested) is the best option for what I'm trying to achieve, which is simple feedback about the code.

[–] TheDarkQuark 4 points 3 months ago (1 children)

I rarely use AI, but when I do, I use local instances. I personally use Ollama (https://ollama.com). It exposes a REST API which extensions/plugins can talk to. I used Privy in VSCod(e/ium) and CodeCompanion in Neovim.

[–] [email protected] 1 points 3 months ago

Thanks! I didn't know about CodeCompanion, I'll look into it more!

[–] [email protected] 2 points 3 months ago (1 children)

Love it. U have to do some fucking around to get ms plugin repo to work. And there are no plugins that work to develop inside of docker containers. U can use reborn ai plugin and point it to openai, openrouters, or a self hosted an instance for ai chat. Idk about ai completions like how copilot does tho.

[–] [email protected] 2 points 3 months ago

Thanks for the info!

[–] [email protected] 2 points 3 months ago (1 children)

<continue.dev> with a local ollama setup, there's also tabnine, which can be run locally (i think?)

[–] [email protected] 2 points 3 months ago (1 children)

Thanks! I didn't know about continue. It seems interesting. I was interested in codeium since I saw it can run in nvim too, which is my preferred editor. But running it with a local ollama setup seems very cool, and would definitely be better. Thanks!

[–] [email protected] 1 points 3 months ago

on a somewhat related note, you might want to check out the neovim extension, it essentially lets you run neovim inside of VSCod(e/ium) (not just a bunch of shortcuts)