News for hackers. Stuff that matters.
Re:Ask HN: Anyone struggling to get value out of coding LLMs? by igor47 on Monday May 26, 2025 @11:21AM (#44098319)
> For example, using an LLM to help you write a Dockerfile when you write Dockerfiles once a project and don't have a dedicated expert like a Deployment Engineer in your company is fantastic.

This made me think of gell-mann amnesia: https://en.m.wikipedia.org/wiki/Gell-Mann_amnesia_effect

Basically, when you understand the problem domain, you know the llm is generating crap that, as the OP says, you're unwilling to put your name on. But when it's in a domain you don't know, you forget about how crappy the LLM is normally and go with the vibe.

Re:Ask HN: Anyone struggling to get value out of coding LLMs? by ChrisClark on Monday May 26, 2025 @12:08PM (#44098734)
As long as it's a simple enough problem and it works, I'm happy. The other day I needed to do something in powershell, which I probably use twice a year. But an LLM was just able to spit out what I needed for me.

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.

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.