frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Gemini with Thinking 3 Pro can't script multi-line string replacement

1•YouAreWRONGtoo•1mo ago
If writing a multi-line replacement script for removing a top-level nested if-endif in a CMakeLists.txt file is too difficult for Gemini with Thinking 3 Pro even after 10 new prompts with the full input file available, then why are you talking about these systems "taking over jobs"?

Comments

reify•1mo ago
you must be prompting it wrong, LOL!

so ai cannot do regular expressions?

even my 13 year old great nephew can do this without ai.

  sed -e :n -e '$!N;/\n.*\n/!{$!bn
  };  s/some text,\n* *something else\n* *another thing/this is completely\
  different text/;P;D' <infile

  perl -i -p0e 's/Some.*?thing\n/`cat new`/se' input.txt
proper good that ai.

The most annoying thing about gemini is that when I search for information on gemini.dev protocol, all I get is fucking poxy google ai shit.