Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Wow. 210+ comments and maaybe 10 of those actually talk about the article!

(yes, I've read them all because I can't believe almost everyone missed the point)

The point of the article is actually neat: a small shell (Fish) script to send query to ChatGPT or DALL-E and get response back in the terminal. As a terminal user myself, this is really nice! (I rewrote it for myself in bash which I use, but used the curl command virtually as is)

The post itself is hilariously over the top (1000x c'mon), quoting 50 Cent and including statements like:

> Unfortunately, due to inflation — real and imagined, 10X just won’t cut it anymore. We need bigger gains, bigger wins, more code, more PRs, more lines, less linting, etc...

Either people really need to be pointed out the sarcasm these days, or everyone's just philosophising about the title (I'm willing to bet it's the latter).



Yes, that's certainly the effect of linkbait titles, which is why HN's guidelines call for changing them:

"Please use the original title, unless it is misleading or linkbait; don't editorialize."

If anyone suggests a better title (i.e. accurate and neutral, preferably using representative language from the article), we can change it.


> how to catapult your productivity to the heavens via a series of command line wrapper functions around the OpenAI API.

is in the first paragraph. I think that's too long for HN though, so maybe:

> how to catapult your productivity via command line functions around OpenAI.


Thanks! "How to catapult your productivity" is still too linkbaity, though. The second half is good. Can you/anyone neutralize the first bit?


I asked Bing chat to summarize the article and suggest a neutral headline based on the content -

Headline: Here’s a neutral headline for the article: “Improving Programmer Productivity with Command Line Wrapper Functions around OpenAI API” .

Summary: The article at https://kadekillary.work/posts/1000x-eng/ discusses how to improve programmer productivity using command line wrapper functions around the OpenAI API. The author provides examples of functions for generating text and images, and for making code edits. The article is written by Kade Killary and was published on their website on March 29th, 2023


The first bit still doesn't seem to me to add much so I just went with the second half of zamnos's suggestion above.


I prefer your edit. I found it interesting that ChatGPT can be useful in some cases to neutralize sensational language.


> everyone's just philosophising about the title

It's so easy to bait with a #x in a title, and especially when defining in terms of engineer (also an elusive term at times).


> (yes, I've read them all because I can't believe almost everyone missed the point)

That says almost everything there is to say about the article in 1 comment; and even you've sent most of your time discussing the title and meta-issues.

People aren't missing the point, it just happens that programmer productivity is more interesting (hence the link bait title, I suspect). The article stands on its own without comment.


I couldn't figure out how to replicate the gpt_data one, how did you replicate the "string join" part? I'm not exactly sure what it was supposed to be putting in the json. I mean, obviously the full data in the second parameter, but I'm unsure how to encode that..


What I did instead is just join all the args with spaces (so I don't need to use quotes around the prompt), with no care about the newlines, and it seems to work okay for me with multiline input:

    prompt="$*"
Here's the complete script: https://gist.github.com/senko/68026864d502473eacd56b2e16e401...

Since I can use this with multiline input I didn't create a separate data-gpt one.

(Note I also used gpt-3.5-turbo model and not gpt-4 because the former is faster and cheaper and for quick one-offs from cmdline it's usually enough for me).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: