←back to thread

212 points todsacerdoti | 1 comments | | HN request time: 0.407s | source
Show context
ikari_pl ◴[] No.46004050[source]
Today, Gemini wrote a python script for me, that connects to Fibaro API (local home automation system), and renames all the rooms and devices to English automatically.

Worked on the first run. I mean, the second, because the first run was by default a dry run printing a beautiful table, and the actual run requires a CLI arg, and it also makes a backup.

It was a complete solution.

replies(3): >>46004066 #>>46004101 #>>46004754 #
UltraSane ◴[] No.46004066[source]
I've been surprised by how often Sonnet 4.5 writes working code the first try.
replies(3): >>46004099 #>>46004141 #>>46004176 #
ikari_pl ◴[] No.46004099[source]
working, configurable via command-line arguments, nice to use, well modularized code.
replies(2): >>46005655 #>>46005998 #
1. bopbopbop7 ◴[] No.46005998[source]
Okay show the code.