Live data from Hacker News

Gemini 2.5 Flash

developers.googleblog.com

511–520 of 582 posts

Re: Gemini 2.5 Flash

#511
post #267

An often overlooked feature of the Gemini models is that they can write and execute Python code directly via their API. My llm-gemini plugin supports that: https://github.com/simonw/llm-gemini uv tool install llm llm install llm-gemini llm keys set gemini # paste key here llm -m gemini-2.5-flash-preview-04-17 \ -o code_excution 1 \ 'render a mandelbrot fractal in ascii art' I ran that just now and got this: https://g…

See a example full in a few commands using uv think "wow I bet that Simon guy from twitter would love this" ... it's already him.

Re: Gemini 2.5 Flash

#512

Earlier quoted context omitted.

This was solved a hundred years ago. It's the same problem factories have: they produce a lot of parts, and it's very expensive to put a full operator or more on a machine to do 100% part inspection. And the machines aren't perfect, so we can't just trust that they work. So starting in the 1920s Walter Shewhart and Edward Deming came up with Statistical Process Control. We accept the quality of the product produced b…

I hope you're being sarcastic. SPC is necessary because mechanical parts have physical tolerances and manufacturing processes are affected by unavoidable statistical variations; it is beyond idiotic to be provided with a machine that can execute deterministic, repeatable processes and then throw that all into the gutter for mere convenience, justifying that simply because "the time is ripe for SWE to learn statistics…

The deterministic, repeatable process of human (and now machine) judgement and semantic processing?

Re: Gemini 2.5 Flash

#513

I tried this prompt in both Gemini 2.5 Pro, and in ChatGPT. "Draw me a timeline of all the dynasties of China. Imagine a horizontal line. Start from the leftmost point and draw segments for the start and end of each dynasty. For periods where multiple dynasties existed simultaneously draw parallel lines or boxes to represent the concurrent rule." Gemini's response: "I'm just a language model, so I can't help you with…

Worked for me in 2.5 Flash, text only:

https://g.co/gemini/share/bcc257f9b0a0

Re: Gemini 2.5 Flash

#514

Earlier quoted context omitted.

> 100% of my casual AI usage is now in Gemini and I look forward to asking it questions on deep topics because it consistently provides me with insight. It's probably great for lots of things but it doesn't seem very good for recent news. I asked it about recent accusations around xAI and methane gas turbines and it had no clue what I was talking about. I asked the same question to Grok and it gave me all sorts of de…

>It's probably great for lots of things but it doesn't seem very good for recent news. You are missing the point here. The LLM is just the “reasoning engine” for agents now. Its corpus of facts are meaningless, and shouldn’t really be relied upon for anything. But in conjunction with a tool calling agentic process, with access to the web, what you described is now trivially doable. Single shot LLM usage is not really…

> You are missing the point here.

I'm just discussing the GP's topic of casual use. Casual use implies heading over to an already-hosted prompt and typing in questions. Implementing my own 'agentic process' does not sound very casual to me.

Re: Gemini 2.5 Flash

#515
post #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.

I have not tried any of the Grok models but that is probably because I am rarely on X.

I have to admit I have a bias where I think Google is "business" while Grok is for lols. But I should probably take the time to asses it since I would prefer to have an opinion based on experience rather than vibes.

Re: Gemini 2.5 Flash

#516

Earlier quoted context omitted.

I had a very interesting long debate/discussion with Gemini 2.5 Pro about the Synapse-Evolve bank debacle among other things. It really feels like debating a very knowledgeable and smart human.

You didn't have a debate, you just researched a question.

One mans debate is another mans research.

Re: Gemini 2.5 Flash

#517
post #267

An often overlooked feature of the Gemini models is that they can write and execute Python code directly via their API. My llm-gemini plugin supports that: https://github.com/simonw/llm-gemini uv tool install llm llm install llm-gemini llm keys set gemini # paste key here llm -m gemini-2.5-flash-preview-04-17 \ -o code_excution 1 \ 'render a mandelbrot fractal in ascii art' I ran that just now and got this: https://g…

I wish Gemini could do this with Go. It generates plenty of junk/non-parseable code and I have to feed it the error messages and hope it properly corrects it.

Re: Gemini 2.5 Flash

#518

Earlier quoted context omitted.

>It's probably great for lots of things but it doesn't seem very good for recent news. You are missing the point here. The LLM is just the “reasoning engine” for agents now. Its corpus of facts are meaningless, and shouldn’t really be relied upon for anything. But in conjunction with a tool calling agentic process, with access to the web, what you described is now trivially doable. Single shot LLM usage is not really…

> You are missing the point here. I'm just discussing the GP's topic of casual use. Casual use implies heading over to an already-hosted prompt and typing in questions. Implementing my own 'agentic process' does not sound very casual to me.

> Implementing my own 'agentic process' does not sound very casual to me.

It really is though. This can be as simple as using Claude desktop with a web search tool.

Re: Gemini 2.5 Flash

#519

Earlier quoted context omitted.

that is not what OP was talking about though.

LLMs are literally stochastic, so the point is the same no matter what the example application is.

Humans are literally stochastic, so the point is the same no matter what the example application is.

Re: Gemini 2.5 Flash

#520

Earlier quoted context omitted.

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.

Uploading files on google is now great. I uploaded my python script and the text data files I was using the script to process. I asked it how best to optimize the code. It actually ran the python code on the data files. Then recommended changes then when prompted ran the script again to show the new results. At first I was like maybe hallucinating but no the data was correct.
Post reply on HN