惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Engineering at Meta
Engineering at Meta
人人都是产品经理
人人都是产品经理
aimingoo的专栏
aimingoo的专栏
M
MIT News - Artificial intelligence
Recent Announcements
Recent Announcements
V
Visual Studio Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
MyScale Blog
MyScale Blog
Hugging Face - Blog
Hugging Face - Blog
宝玉的分享
宝玉的分享
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园 - 叶小钗
博客园 - 聂微东
U
Unit 42
F
Fortinet All Blogs
Microsoft Security Blog
Microsoft Security Blog
GbyAI
GbyAI
IT之家
IT之家
The GitHub Blog
The GitHub Blog
Stack Overflow Blog
Stack Overflow Blog
MongoDB | Blog
MongoDB | Blog
Y
Y Combinator Blog
A
About on SuperTechFans
博客园 - 三生石上(FineUI控件)

Lauren Weinstein's Blog

Big Tech’s Catastrophic Layoffs Frenzy – Lauren Weinstein's Blog The Rise of AI Slop on Google’s YouTube – Lauren Weinstein's Blog Why Google Search AI Overviews Are a “Misinformation Machine” – Lauren Weinstein's Blog Why Apple’s New “MacBook Neo” Has Stunned the Tech World – Lauren Weinstein's Blog When Data Centers Destroy Communities – Lauren Weinstein's Blog Why You Shouldn’t Use Google’s Chrome “Auto Browse” Agentic AI, or Any Other Agentic AI From Other Firms – Lauren Weinstein's Blog Why Proposed “Blocking Technologies” for 3D Printers Are a Terrible Idea – Lauren Weinstein's Blog The World Gets an Important New Drone That Can Save Lives — But Thanks to Our Politicians Not in the USA – Lauren Weinstein's Blog Separating the Chrome Browser From Google Could Be Terrible for Billions of Users – Lauren Weinstein's Blog In the War Between the Federal Government and States Against Drone Maker DJI, Americans Are at Risk – Lauren Weinstein's Blog The Website Age Verification Train Wreck – Lauren Weinstein's Blog How the U.S. Is Losing Its Lead in Technology and Science Research – Lauren Weinstein's Blog The Enormous Negative Impacts of the New Tariffs on the Technology Sector – Lauren Weinstein's Blog DOGE Is Destroying Social Security, and Seniors Are Already at Risk – Lauren Weinstein's Blog Time To Change Section 230? – Lauren Weinstein's Blog The Helpful Google Ombudsman (Who Doesn’t Exist) – Lauren Weinstein's Blog Commerce Department Proposes Yet Another Insane Chinese Drone Ban That Could Cost Lives – Lauren Weinstein's Blog AI Is Dooming Google, but Not in the Way Its CEO Believes – Lauren Weinstein's Blog [What say you, Spock?] My Proposed Terminology to Describe Bypassing Social Media Face ID Age Verification Systems – Lauren Weinstein's Blog Drone Hysteria and Bans Put Lives at Risk – Lauren Weinstein's Blog Australia’s Under-16 Social Media Ban Is Doomed – Lauren Weinstein's Blog DOJ’s Proposed Antitrust “Remedies” Against Google Would Be a Disaster – Lauren Weinstein's Blog Users have the most to lose – Lauren Weinstein's Blog “I Am the Very Model of a Google AI Overview” – Lauren Weinstein's Blog What Google Should Do About Their Search Generative AI Overview Answers – Lauren Weinstein's Blog Generative AI Is Being Rammed Down Our Throats – Lauren Weinstein's Blog Evil – Lauren Weinstein's Blog The Nightmare of Google Account Recovery Failures – Lauren Weinstein's Blog Google and Seniors – Lauren Weinstein's Blog About Google and Location Privacy – Lauren Weinstein's Blog
Cheerful, Cooperative, and Usually, Wrong. – Lauren Weins...
2025-11-15 · via Lauren Weinstein's Blog

An experiment in AI coding with Google Gemini. I try to be fair. When I call generative AI mostly slop, I don’t do so blindly; I attempt to conduct reasonable tests in various contexts.

Yesterday I needed a couple of routines — one in Bash, the other in Python. I tried the Python one first. This required code to asynchronously access a remote site API, authenticate, send and receive various data and process what was returned, relying on a well documented Python library on GitHub written specifically to deal with that site’s API.

After almost two hours, I gave up. Gemini was consistently cheerful and cooperative — almost to a creepy extent. It generated code that looked reasonable, was very well commented, and even provided helpful examples of how to configure, install, and run the code.

Unfortunately, none of it actually worked.

When I noted the problems, Gemini got oddly enthusiastic, with comments like “Wow, that’s a great explanation of the problems, and a very useful error message! Let’s figure out what’s wrong! Here is another version with more diagnostics that accesses the library more directly!”

Sort of made me feel like I was dealing with an earnest but incompetent TA at an undergraduate CS course at UCLA long ago. Which was not something I enjoyed back then!

After a bunch of iterations, I gave up. Even starting over didn’t help. Gemini never seemed to produce the same code twice, no matter how I worded the prompts. The code would use completely different models each time, sometimes embedded configuration values, sometimes external files, sometimes command line args. And the way it tried to use the Python library in question also varied enormously. It almost seemed random. Or at least pseudorandom.

I spent half an hour and wrote plus tested the code I needed from scratch. It worked on the second try, and was about half the number of lines of any of the code Gemini generated, and much simpler, for whatever that’s worth. By comparison, Gemini’s code was bloated and definitely unnecessarily complex (as well as wrong).

I did give Gemini another chance. I also needed a simple Bash script to do some date conversions. I offered that task to Gemini since I didn’t want to bother digging through the various date format parameters required. Gemini came up with something reasonable for this in about four tries. Whether it’s completely bug free I dunno for sure, I haven’t dug into the code deeply since its not a critical application. But it seems to be working for now.

So really, I haven’t seen a significant improvement in this area. There are probably some reasonable sets of problems where AI-coding can reduce some of the grunt work, but once you get into anything more complex the opportunities for errors, especially in larger chunks of code where detecting those errors might not be straightforward, seem to rise dramatically.

–Lauren–