Earlier quoted context omitted.
[flagged]
not everyone is american
Gemini 2.5 Pro Preview
111–120 of 728 posts
Re: Gemini 2.5 Pro Preview
#112My frustration with using these models for programming in the past has largely been around their tendency to hallucinate APIs that simply don't exist. The Gemini 2.5 models, both pro and flash, seem significantly less susceptible to this than any other model I've tried. There are still significant limitations, no amount of prompting will get current models to approach abstraction and architecture the way a person doe…
Making LLMs know what they don't know is a hard problem. Many attempts at making them refuse to answer what they don't know caused them to refuse to answer things they did in fact know.
Re: Gemini 2.5 Pro Preview
#113How are they now? Sufficiently good? Competent? Competitive? Or limited? My needs are very consumer oriented, not programming/api stuff.
Re: Gemini 2.5 Pro Preview
#114Earlier quoted context omitted.
It also does super defensive coding. Not that it's a bad thing in general, but I write a lot of prototype code.
Production quality code is defensive. Probably trained on a lot of google code.
Re: Gemini 2.5 Pro Preview
#115Hasn't Gemini 2.5 Pro been out for a while? At first I was very impressed with it's coding abilities, switching off of Claud for it but recently I've been using GPT o3 which I find is much more concise and generally better at problem solving when you hit an error.
Think that was still the experimental model incorrectly labeled by many platforms as “Pro”
Re: Gemini 2.5 Pro Preview
#116Earlier quoted context omitted.
I have the same issue plus unnecessary refactorings (that break functionality). it doesn't matter if I write a whole paragraph in the chat or the prompt explaining I don't want it to change anything else apart from what is required to fulfill my very specific request. It will just go rogue and massacre the entirety of the file.
Where/how do you use it? I've only tried this model through GitHub Copilot in VS Code and I haven't experienced much changing of random things.
Re: Gemini 2.5 Pro Preview
#117Earlier quoted context omitted.
No, it's just bad. I've been writing a lot of Python code past two days with Gemini 2.5 Pro Preview, and all of its code was like: ```python def whatever(): --- SECTION ONE OF THE CODE --- ... --- SECTION TWO OF THE CODE --- try: [some "dangerous" code] except Exception as e: logging.error(f"Failed to save files to {output_path}: {e}") # Decide whether to raise the error or just warn # raise IOError(f"Failed to save…
It's certainly annoying, but you can try following up with "can you please remove superfluous comments? In particular, if a comment doesn't add anything to the understanding of the code, it doesn't deserve to be there".
Re: Gemini 2.5 Pro Preview
#118Earlier quoted context omitted.
Every time I ask an LLM to not write comments, it still litters it with comments. Is Gemini better about that?
LLMs are extremely poor at following negative instructions, tell them what to do, not what not to do.
Re: Gemini 2.5 Pro Preview
#119Earlier quoted context omitted.
I have been asking if AI without hallucination, coding or not is possible but so far with no real concrete answer.
It's already much improved on the early days. But I wonder when we'll be happy? Do we expect colleagues friends and family to be 100% laser-accurate 100% of the time? I'd wager we don't. Should we expect that from an artificial intelligence too?
Re: Gemini 2.5 Pro Preview
#120Be careful, this model is worse than 03-25 in 10 of the 12 benchmarks (!) I bet they kept training on coding, made everything worse on the way, and tried to hide it under the rug because of the sunk costs.