News for hackers. Stuff that matters.
Re:Show HN: Phind Model beats GPT-4 at coding, with GPT-3.5 ... by mg on Tuesday October 31, 2023 @03:12PM (#38089932)
In Vim, I tried to assign a shortcut to send the selected text to Phind (or any other LLM) and came up with this:

:'<,'>y|call system('firefox <url>?q='.shellescape(@*).' &')

The only problem left is that the text is not urlencoded.

There probably is some elegant way to urlencode it. But I did not come up with one yet.

I guess I will wait until AI is able to cook up a nice solution. So far the, approaches it suggests are either not really good or too complex for my liking:

https://www.gnod.com/search/ai#q=Write%20a%20Vim%20shortcut%....

Re:Show HN: Phind Model beats GPT-4 at coding, with GPT-3.5 ... by wizzwizz4 on Tuesday October 31, 2023 @04:45PM (#38091136)
https://stackoverflow.com/a/76488059 claims to have one, though it's not explained.