News for hackers. Stuff that matters.
Re:JavaScript Is Weird as a Compressor by urbandw311er on Tuesday October 17, 2023 @04:47AM (#37912209)
My view of the author changed somewhat when I reached the section where he had to ask ChatGPT how to read command line parameters.
Re:JavaScript Is Weird as a Compressor by themoonisachees on Tuesday October 17, 2023 @05:18AM (#37912410)
But also, this is the area where an LLM shines; tasks that you technically could solve yourself but are so boilerplate that you should spend you brain power elsewhere. Then again here it looks like not much brainpower got put into this project at all (and that's OK, sometimes it be like that )
Re:JavaScript Is Weird as a Compressor by vorticalbox on Tuesday October 17, 2023 @04:51AM (#37912230)
I read that as satire given the current state of the LLMs like chatGPT
Re:JavaScript Is Weird as a Compressor by RedShift1 on Tuesday October 17, 2023 @06:14AM (#37912816)
Or the command line is too complex and/or poorly documented and chatGPT was quicker at solving it?
Re:JavaScript Is Weird as a Compressor by The_Colonel on Tuesday October 17, 2023 @06:15AM (#37912825)
I don't remember it either, because I rarely write command line utilities.

Asking ChatGPT is just like looking up documentation, just faster ...

Re:JavaScript Is Weird as a Compressor by fturst on Tuesday October 17, 2023 @10:32AM (#37915716)
Disagree. I can be more or less certain that documentation authors or write-ups have knowledge about the topic im researching to a reasonable degree, because 1) they need accurate and efficient code that makes sense to establish a relationship with the reader and compete with other solutions 2) humans are bad at explaining things they dont know about opposed to executing or managing unknowns

ChatGPT? None of these. Its a giant probability calculator that wants my prompts and its own answers to foster itself. This also nurtures its inaccuracies and makes it easier to confidently lie. I hardly find any reasonable use for ChatGPT other than quick completion suggestions for at a maximum of 2-3 lines, because thats what its designed for.

Re:JavaScript Is Weird as a Compressor by The_Colonel on Tuesday October 17, 2023 @05:28PM (#37921847)
You know that the GPT is trained on data including that documentation, right?

If you don't like ChatGPT, that's fine. But it's clearly useful to many people, and you aren't entitled to feel superior for not using it.

Re:JavaScript Is Weird as a Compressor by fturst on Wednesday October 18, 2023 @06:14PM (#37935491)
> you aren't entitled to feel superior for not using it

I will break the HN spirit but you kind of wanted to say that there. I didnt imply that at all, nothing near that. The dataset is just, imo, too big to give extremely accurate (or more accurate than human-thought) answers for specific questions.

Re:JavaScript Is Weird as a Compressor by mgarciaisaia on Thursday October 26, 2023 @01:45PM (#38029100)
Author here :)

I went that route since reading the CLI parameters was something I needed to do, but wasn't actually part of the issue I was trying to solve. I could have spent a few cycles of googling+testing+fixing/refactoring, but it was a trivial task (that I didn't remember how to do off the top of my head) and would have distracted me from the main task.