Re:Ask HN: Anyone struggling to get value out of coding LLMs?
by zrobotics on Monday May 26, 2025 @01:13PM
(#44099382)
I'm pretty sure I've commented this before, but it's just too ridiculous not to share again. About a year ago I needed to convert ~25k png images to webp. I happened to have them on a Windows machine, and I don't know powershell at all. I figured this would be a good thing for AI to so I asked the free version of chatGPT to write me a script to do the conversion. I was expecting a one-liner script, since I know this would be a simple bash script and there are command line tools available for this conversion on windows.
I must say, the solution was very creative. It involved using powershell to script autohotkey to open photoshop and use AHK to automate exporting each image as a webp, closing photoshop after exporting each image. I don't have a photoshop liscence, and I don't know why powershell would be needed to script another scripting tool. I also would suspect that photoshop or another Adobe tool probably has a bulk converter. But I do need to give points for originality, that is exactly the type of harebrained solution I would sarcastically suggest if I was wanting to mildly troll a coworker.
Re:Ask HN: Anyone struggling to get value out of coding LLMs?
by Tistel on Monday May 26, 2025 @03:26PM
(#44100749)
its a one liner with:
https://imagemagick.org/script/command-line-tools.php
The "solution" stated is hilarious.
I find it's the best for that but once things get complicated, you're just arguing with the LLM, when you should have done it yourself.