this post was submitted on 04 Aug 2024
10 points (81.2% liked)

Privacy

31182 readers
515 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

Chat rooms

much thanks to @gary_host_laptop for the logo design :)

founded 4 years ago
MODERATORS
 

Is there any privacy-oriented AI tool for programming?

all 15 comments
sorted by: hot top controversial new old
[–] ssm@lemmy.sdf.org 9 points 1 month 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.

[–] chanteoma@lemmy.ml 6 points 1 month 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@lemmy.world 3 points 1 month ago (1 children)

Codium runs just fine in xterm.

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

[–] fluckx@lemmy.world 1 points 1 month ago (1 children)

Note: codium and codeium are two completely separate products.

[–] bhamlin@lemmy.world 1 points 1 month ago

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

[–] just_another_person@lemmy.world 6 points 1 month 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

[–] chanteoma@lemmy.ml 2 points 1 month 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@lemmy.world 4 points 1 month 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.

[–] chanteoma@lemmy.ml 1 points 1 month ago

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

[–] badcodecat@lemux.minnix.dev 2 points 1 month ago (1 children)

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

[–] chanteoma@lemmy.ml 2 points 1 month 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!

[–] badcodecat@lemux.minnix.dev 1 points 1 month 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)

[–] muntedcrocodile@lemm.ee 2 points 1 month 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.

[–] chanteoma@lemmy.ml 2 points 1 month ago

Thanks for the info!