Live data from Hacker News

Gemini CLI

blog.google

361–370 of 820 posts

Re: Gemini CLI

#361
post #337
post #274

Been using Claude Code (4 Opus) fairly successfully in a large Rust codebase, but sometimes frustrated by it with complex tasks. Tried Gemini CLI today (easy to get working, which was nice) and it was pretty much a failure. It did a notably worse job than Claude at having the Rust code modifications compile successfully. However, Gemini at one point output what will probably be the highlight of my day: "I have made a…

Gemini has some fun failure modes. It gets "frustrated" when changes it makes doesn't work, and replies with oddly human phrases like "Well, that was unexpected" and then happily declares that (I see the issue!) "the final tests will pass" when it's going down a blind alley. It's extremely overconfident by default and much more exclamatory without changing the system prompt. Maybe in training it was taught/figured ou…

It also gets really down on itself, which is pretty funny (and a little scary). Aside from the number of people who've posted online about it wanting to uninstall itself after being filled with shame, I had it get confused on some Node module resolution stuff yesterday and it told me it was deeply sorry for wasting my time and that I didn't deserve to have such a useless assistant.

Out of curiosity, I told it that I was proud of it for trying and it had a burst of energy again and tried a few more (failing) solution, before going back to it's shameful state.

Then I just took care of the issue myself.

Re: Gemini CLI

#362
post #75

Earlier quoted context omitted.

As a heavy Claude code user that's not really a selling point for me Ultimately quality wins out with LLMs. Having switched a lot between openai, google and Claude, I feel there's essentially 0 switching cost and you very quickly get to feel which is the best. So until Claude has a solid competitor I'll use it, open source or not

Even if you don't care about open source, you should care about all the obfuscation happening in the prompts/models being used by Cursor/Claude Code/etc. With everything hidden, you could be paying 200/mo and get served Haiku instead of Sonnet/Opus. Or you could be getting 1k tokens of your code inserted as context instead of 100k to save on inference costs.

They made Claude Code available on their $20/month plan about two weeks ago. Your point still stands, of course.

Re: Gemini CLI

#363
post #277

Earlier quoted context omitted.

Sorry, that's not correct. Did you check out the link? It doesn't describe the CLI, only the IDE. "You can find the Gemini Code Assist for individuals privacy notice and settings in two ways: - VS Code - IntelliJ "

As a lawyer, I'm confused. I guess the key question is whether the Gemini CLI, when used with a personal Google account, is governed by the broader Gemini Apps privacy settings here? https://myactivity.google.com/product/gemini?pli=1 If so, it appears it can be turned off. However, my CLI activity isn't showing up there? Can someone from Google clarify?

I am very much not a lawyer, and while I work for Google, I do not work on this, and this is just my plain language reading of the docs.

When you look at the github repo for the gemini CLI:

https://github.com/google-gemini/gemini-cli/tree/main

At the bottom it specifies that the terms of service are dependent on the underlying mechanism that the user chooses to use to fulfill the requests. You can use code assist, gemini API, or Vertex AI. My layperson's perspective is that it's positioned as a wrapper around another service, whose terms you already have accepted/enabled. I would imagine that is separate from the Gemini app, the settings for which you linked to.

Looking at my own settings, my searches on the gemini app appear, but none of my gemini API queries appear.

Re: Gemini CLI

#364

Earlier quoted context omitted.

Google suffers from Microsoft's issues: it has products for almost everything, but its confusing product messaging dilutes all the good things it does. I like Gemini 2.5 Pro, too, and recently, I tried different AI products (including the Gemini Pro plan) because I wanted a good AI chat assistant for everyday use. But I also wanted to reduce my spending and have fewer subscriptions. The Gemini Pro subscription is inc…

I subscribed to Google One through the Google Photos iOS app because I wanted photos I took on my iPhone to be backed up to Google. When I switched to Android and went into Google One to increase my storage capacity in my Google account, I found that it was literally impossible, because the subscription was tied to my iCloud account. I even got on a line with Google Support about it and they told me yeah it's not eve…

The root problem here lies with Apple. It's so frustrating how they take a 30% cut for the privilege of being unable to actually have a relationship with your customers. Want to do a partial refund (or a refund at all)? Want to give one month free to an existing subscriber? Tough luck. Your users are Apple's customers, not yours.

Re: Gemini CLI

#365

Earlier quoted context omitted.

Do you honestly believe that the opt-out by Anthropic and Cursor means your code won't be used for training their models? Seems likely that they would rather just risk taking a massive fine for potentially solving software development than to let some competitor try it instead.

Yes. The resulting class-action lawsuit would bankrupt the company, along with the reputation damage, and fines.

> Anthropic cut up millions of used books to train Claude — and downloaded over 7 million pirated ones too, a judge said

https://www.businessinsider.com/anthropic-cut-pirated-millio...

It doesn't look like they care at all about the law though

Re: Gemini CLI

#366
post #325
post #300

Earlier quoted context omitted.

There's nothing wrong with promoting your own projects, but its a little weird that you don't disclose that you're the creator.

It would be more accurate to say I packaged it. llamafile is a project I did for Mozilla Builders where we compiled llama.cpp with cosmopolitan libc so that LLMs can be portable binaries. https://builders.mozilla.org/ Last year I concatenated the Gemma weights onto llamafile and called it gemmafile and it got hundreds of thousands of downloads. https://x.com/JustineTunney/status/1808165898743878108 I currently work a…

I keep meaning to investigate how I can use your tools to create single-file executables for Python projects, so thanks for posting and reminding me.

Re: Gemini CLI

#367
post #187

Earlier quoted context omitted.

Actually, that's the reason a lot of startups and solo developers prefer non-Google solutions, even though the quality of Gemini 2.5 Pro is insanely high. The Google Cloud Dashboard is a mess, and they haven't fixed it in years. They have Vertex that is supposed to host some of their models, but I don't understand what's the difference between that and their own cloud. And then you have two different APIs depending o…

@sachinag is afk but wanted me to flag that he's on point for fixing the Cloud Dashboard - it's WIP!

I will say as someone who uses GCP as an enterprise user and AI Studio in personal work, I was also confused about what Google AI Studio actually was at first. I was trying to set up a fork of Open NotebookLM and I just blindly followed Cursor’s guidance on how to get a GOOGLE_API_KEY to run text embedding API calls. Seems that it just created a new project under my personal GCP account, but without billing set up. I think I’ve been successfully getting responses without billing but I don’t know when that will run out.. suppose I’ll get some kind of error response if that happens..

I think I get why AI Studio exists, seems it enables people to prototype AI apps while hiding the complexity of the GCP console, despite the fact that (I assume) most AI Studio api calls are routed through Vertex in some way. Maybe it’s just confusing precisely because I’ve used GCP before.

Re: Gemini CLI

#368
post #243

If you use this, all of your code data will be sent to Google. From their terms: https://developers.google.com/gemini-code-assist/resources/p... When you use Gemini Code Assist for individuals, Google collects your prompts, related code, generated output, code edits, related feature usage information, and your feedback to provide, improve, and develop Google products and services and machine learning technologies. To…

Some of my code is so bad I'm sure it will damage their models!

Re: Gemini CLI

#369
post #274

Been using Claude Code (4 Opus) fairly successfully in a large Rust codebase, but sometimes frustrated by it with complex tasks. Tried Gemini CLI today (easy to get working, which was nice) and it was pretty much a failure. It did a notably worse job than Claude at having the Rust code modifications compile successfully. However, Gemini at one point output what will probably be the highlight of my day: "I have made a…

So far I've found Gemini CLI is very good at explaining what existing code does.

I can't say much about writing new code though.

Re: Gemini CLI

#370
post #334

Earlier quoted context omitted.

It's a lot more nuanced than that. If you use the free edition of Code Assist, your data can be used UNLESS you opt out, which is at the bottom of the support article you link to: "If you don't want this data used to improve Google's machine learning models, you can opt out by following the steps in Set up Gemini Code Assist for individuals." and then the link: https://developers.google.com/gemini-code-assist/docs/se…

your data can be used UNLESS you opt out It's even more nuanced than that. Google recently testified in court that they still train on user data after users opt out from training [1]. The loophole is that the opt-out only applies to one organization within Google, but other organizations are still free to train on the data. They may or may not have cleaned up their act given that they're under active investigation, b…

Another dimension here is that any "we don't train on your data" is useless without a matching data retention policy which deletes your data. Case and point of 23andMe not selling your data until they decided to change that policy.
Post reply on HN