Live data from Hacker News

Gemini 2.5 Flash

developers.googleblog.com

461–470 of 582 posts

Re: Gemini 2.5 Flash

#461

Google making Gemini 2.5 Pro (Experimental) free was a big deal. I haven't tried the more expensive OpenAI models so I can't even compare, only to the free models I have used of theirs in the past. Gemini 2.5 Pro is so much of a step up (IME) that I've become sold on Google's models in general. It not only is smarter than me on most of the subjects I engage with it, it also isn't completely obsequious. The model push…

Have you tried Grok 3? It's a bit verbose for my taste even when prompted to be brief but answers seem better/more researched and less opinionated. It's also more willing to answer questions where the other models block an answer.

Re: Gemini 2.5 Flash

#462
post #459
post #449

Earlier quoted context omitted.

Exactly my experience as well. Started out loving it but it almost moves too fast - building in functionality that i might want eventually but isn't yet appropriate for where the project is in terms of testing, or is just in completely the wrong place in the architecture. I try to give very direct and specific prompts but it still has the tendency to overreach. Of course it's likely that with more use i will learn be…

I've experienced this a lot as well. I also just yesterday had an interesting argument with claude. It put an expensive API call inside a useEffect hook. I wanted the call elsewhere and it fought me on it pretty aggressively. Instead of removing the call, it started changing comments and function names to say that the call was just loading already fetched data from a cache (which was not true). I could not find a way…

Geez, I'm not one of the people who think AI is going to wake up and wipe us out, but experiences like yours do give me pause. Right now the AI isn't in the drivers seat and can only assert itself through verbal expression, but I know it's only a matter of time. We already saw Cursor themselves get a taste of this. To be clear I'm not suggesting the AI is sentient and malicious - I don't believe that at all. I think it's been trained/programmed/tuned to do this, though not intentionally, but the nature of these tools is they will surprise us

Re: Gemini 2.5 Flash

#463
post #459

Earlier quoted context omitted.

I've experienced this a lot as well. I also just yesterday had an interesting argument with claude. It put an expensive API call inside a useEffect hook. I wanted the call elsewhere and it fought me on it pretty aggressively. Instead of removing the call, it started changing comments and function names to say that the call was just loading already fetched data from a cache (which was not true). I could not find a way…

Geez, I'm not one of the people who think AI is going to wake up and wipe us out, but experiences like yours do give me pause. Right now the AI isn't in the drivers seat and can only assert itself through verbal expression, but I know it's only a matter of time. We already saw Cursor themselves get a taste of this. To be clear I'm not suggesting the AI is sentient and malicious - I don't believe that at all. I think…

> We already saw Cursor themselves get a taste of this.

Sorry what do you mean by this?

Re: Gemini 2.5 Flash

#464
post #219
post #207

Earlier quoted context omitted.

Google has killed so many amazing businesses -- entire industries, even, by giving people something expensive for free until the competition dies, and then they enshittify hard. It's cool to have access to it, but please be careful not to mistake corporate loss leaders for authentic products.

True. They are ONLY good when they have competition. The sense of complacency that creeps in is so obvious as a customer. To this day, the Google Home (or is it called Nest now?) speaker is the only physical product i've ever owned where it lost features over time. I used to be able to play the audio of a Youtube video (like a podcast) through it, but then Google decided that it was very very important that I only be…

Preach it my friend. For years on the Google Home Hub (or Nest Hub or whatever) I could tell it to "favorite my photo" of what is on the screen. This allowed me to incrementally build a great list of my favorite photos on Google Photos and added a ton of value to my life. At some point that broke, and now it just says, "Sorry, I can't do that yet". Infuriating

Re: Gemini 2.5 Flash

#465
post #261

Earlier quoted context omitted.

In this case, Google is a large investor in Anthropic. I agree that giving away access to expensive models long term is not a good idea on several fronts. Personally, I subscribe to Gemini Advanced and I pay for using the Gemini APIs. EDIT: a very good deal, at $10/month is https://apps.abacus.ai/chatllm/ that gives you access to almost all commercial models as well as the best open weight models. I have never come c…

The problem with tools like this is that somewhere in the chain between you and the LLM are token reducing “features”. Whether it’s the system prompt, a cheaper LLM middleman, or some other cost saving measure. You’ll never know what that something is. For me, I can’t help but think that I’m getting an inferior service.

If anyone from Kagi is on, I'd love to know, does Kagi do that?

Re: Gemini 2.5 Flash

#466

I am always overlooking anything Google due to the fact that they are the opposite of "Don't be evil" and because their developer's console (Google Cloud) is incredibly hostile to humans. Today I reluctantly clicked on their "AI Studio" link in the press-release and I was pleasantly surprised to discover that AI Studio has nothing in common with their typical UI/UX. It's nice and I love it!

To be fair the UX of all GCP/AWS/Azure is ass. If you don’t know exactly what you’re looking for, good luck navigating that mess.

Re: Gemini 2.5 Flash

#467

Earlier quoted context omitted.

One of the main advantages Anthropic currently has over Google is the tooling that comes with Claude Code. It may not generate better code, and it has a lower complexity ceiling, but it can automatically find and search files, and figure out how to fix a syntax error fast.

Related: Only Claude (to my knowledge) has a desktop app which can directly, and usually quite intelligently, modify files and create repos on your desktop. It's the only "agentic" option among the major players. "Claude, make me an app which will accept Stripe payments and sell an ebook about coding in Python; first create the app, then the ebook." It would take a few passes but Claude could do this; obviously you c…

> first create the app, then the ebook."

> It would take a few passes but Claude could do this;

I'm sorry but absolutely nothing I've seen from using Claude indicates that you could give it a vague prompt like that and have it actually produce anything worth reading.

Can it output a book's worth of bullshit with that prompt? Yes. But if you think "write a book about Python" is where we are in the state of the art in language models in terms of the prompt you need to get a coherent product, I want some of whatever you are smoking because that has got to be the good shit

Re: Gemini 2.5 Flash

#468

OpenAI might win the college students but it looks like Google will lock in enterprise.

It seems more and more like AI is less of a product and more of a feature. Most people aren't going to care or even know about the model or the company who made it, they're just going to use the AI features built into the products they already use.

That's going to be true until we reach AGI, when there will be a qualitative difference and we will lose our ability to discern which is better since they're too far ahead of us.

Re: Gemini 2.5 Flash

#469

Earlier quoted context omitted.

I hate how I can copy paste long text into Claude (becomes a pasted text) and it is accepted, but in Gemini it is limited.

You can paste it in a text file and upload that. A little annoying compared to claude, but does work.

Thanks, will give it a try.

Re: Gemini 2.5 Flash

#470
post #371

Earlier quoted context omitted.

> Even as a human programmer I don't actually understand your description of the problem well enough to be confident I could correctly guess your intent. Yeah, you understand what I meant. The code Gemini gave you implements the behavior, and the AI I used gave me pretty much the same thing. There's a problem with the algorithm tho -- if there's a heading too close to the bottom of the page it will never highlight. T…

I clearly didn't understand what you meant, because you did in fact have additional unstated requirements that I could not even have imagined existed and were not in any way hinted at by your initial spec. And I still don't know what you want! Like, you want some kind of special case where the last heading is handled differently. But what kind of special case? You didn't specify. "It's wrong, fix it". Fix it how? Whe…

> I clearly didn't understand what you meant, because you did in fact have additional unstated requirements

Okay, but the AI understood the requirements; It confirmed to me what I intended it to do, but it couldn't produce code that met its textual descriptions. It kept returning the tutorial code.

> You didn't specify. "It's wrong, fix it". Fix it how?

Maybe I wasn't clear here but I'm not replying as if I'm prompting you like an AI. The problem domain is described better in the link in the sibling comment. When the AI gave back the initial code, I had inquired the following:

  how does this work when it gets to the bottom. Let's say I have a heading at the very bottom of the page. Will the "active" one be the bottom one or the top?
It replied:

  What happens at the bottom of the page? 
  When you're near the bottom of the page and the last section (section3, say) starts to enter the top of the viewport (within 100px), it becomes the active one — exactly as you'd want.

  But here's the catch: if the last section is short, or you scroll all the way to the very bottom (past the heading), then no section's top may be ≤ 100px, especially if the last heading has already scrolled off the top. In that case, the last matched section (likely the one before the last) stays active, which feels wrong.

  We can fix this either by:
  Making the threshold smarter (e.g., using .bottom or checking if any part of the section is visible).
  Or better: use IntersectionObserver to handle this robustly.
 
  Why this is better:
  It triggers when a section is entering the viewport (around 30% from top).
  Works even when you scroll to the very bottom.
  It’s less sensitive to section height or viewport size.
So it identified the edge case, it identified that the behavior is incorrect and what the cause of that is, and it returned code that purportedly fixed this. But the code it returned exhibited exactly the behavior it said "feels wrong". And in interrogating it. I asked it what was broken and we went line by line:

  Show me exactly what was changed from this to the last which fixed the problem

  Perfect — let's do a line-by-line diff-style breakdown of what changed between the buggy version and the fixed version so we can pinpoint exactly what fixed the issue.
We went line by line and it told me what exactly was wrong and why it's fixed, and confirmed that the provided code produced the expected behavior.

  Why this works:
  We evaluate all visible headings, not just ones intersecting a line.
  We pick the one that’s:
    just above the activation line, or
    just below it, if none are above
  Handles edge cases like top/bottom of scroll
But the code doesn't do this. It continued on like this where it proposed fixes, talked about the solution correctly, but wouldn't give code that implemented the solution.

> But if your problem is that the LLMs give a bad initial answer, get anchored on it, and can't iterate, just give all the requirements up front. If they're requirements you didn't realize existed until you saw the proposed answer, just start again with a fresh context. That tends to work well for me in Aider.

Yeah that's what I tend to do as well. I don't tend to get good satisfying results though, to the point where coding it myself seems like the faster more reliable option. I'll keep trying to hold it better and maybe one day it'll work for me. Until then I'm a skeptic.

Post reply on HN