News for hackers. Stuff that matters.
Re:Google will start showing AI-powered search results for u... by 1024core on Saturday March 23, 2024 @01:10PM (#39801424)
I was writing some Python code (not my primary language), and wanted to know if there was something built into f-strings that would nicely wordwrap the output.

I did a Google search for "how can I create f-strings in python so the output is wrapped at some fixed length". Except, for Google, I did not use the "how do I" etc. and just threw some keywords at it: "python f-string wrapping", "python f-string folding", etc.

All I got back was various results on how to wrap f-strings themselves.

Frustrated, I typed "how can I create f-strings in python so the output is wrapped at some fixed length" into ChatGPT, and back came the answer: ... However, f-strings themselves don't provide a built-in method for wrapping text at a specific width. ... For text wrapping, you can use the textwrap module ... Here's how you can combine f-strings with the textwrap module to achieve text wrapping: ... (followed by a full example).

I think "Search" will be changing dramatically over the next year or two. And websites which depend on Search traffic to survive will be in deep trouble.

Re:Google will start showing AI-powered search results for u... by partiallypro on Saturday March 23, 2024 @02:44PM (#39802185)
> I think "Search" will be changing dramatically over the next year or two. And websites which depend on Search traffic to survive will be in deep trouble.

Yes, and no. A lot of sites generate crap content as it is. Not all search queries are just questions that can be answered, some are looking for businesses, shopping items, legal help, etc things that ChatGPT, etc can't emulate. AI will hurt sites like Reddit/StackOverflow/Quora, etc which answer -actual- questions. The issue is that once that happens there will be less and less content to solve random issues and ChatGPT, etc will not have been trained on them creating a bit of a gap. Then couple that with all the junk AI articles people will be publishing, it will be increasingly more difficult to solve minor issues that you randomly come across.

ChatGPT/Midjourney, etc right now is just feeding into the "Dead Internet." I'd say currently, on net, it has been more of a bad thing than a good thing. That may change, or it could get worse.

Re:Google will start showing AI-powered search results for u... by vineyardmike on Saturday March 23, 2024 @03:09PM (#39802347)
> some are looking for businesses, shopping items, legal help, etc things that ChatGPT, etc can't emulate.

Except it can. It doesn’t have to try and “remember” the details in its weights, it can RAG and all sorts of fun tricks. As Google’s Search Generative Experience shows, LLM interfaces don’t have to be strictly chat. These tools surface and aggregate existing content, instead of hallucinating new ones. It can’t stop people from pasting generated content into Reddit, but it can be used for actual search.

Imagine just asking ChatGPT (or more likely, Gemini) for “space heater recommendations for a 300sqft office in a shed” and having the LLM walk you through the options - you no longer need to use a UI to toggle filters, and you don’t need to explicitly throw keywords into a search bar and hope you picked the right ones.

Regarding the “dead internet” - you’ll always have humans create new content. People wanna talk about their interests on Reddit. That won’t change. People will file bug reports and new code in GitHub. Companies will post support articles. Journals will publish research papers. These “good” sources will still exist because there are external reasons to. The only thing that will die are the SEO crap now that they’re really not special.

Re:Google will start showing AI-powered search results for u... by jeffbee on Saturday March 23, 2024 @01:36PM (#39801613)
The double standard here is hilarious. The ChatGPT result you got is better largely because you typed in a longer search doc. The illusion of superiority that surrounds ChatGPT is significantly due to the human factors curiosity that people are willing to type in a long-ass search string in the conversational context. They will type "best pants" into Google then complain about the futility of it, then switch tabs and spend ten minutes writing a short essay on pants for ChatGPT, and rave about the results.

If you take the entire quoted search sentence from your third paragraph, then Google also presents a complete solution.

Re:Google will start showing AI-powered search results for u... by slifin on Saturday March 23, 2024 @01:46PM (#39801704)
I feel like Google has trained this behaviour into its long time users

Previously writing human like sentences would not yield good results

Now its more like <key word> <key word> reddit

Re:Google will start showing AI-powered search results for u... by jgalt212 on Saturday March 23, 2024 @02:31PM (#39802078)
truth. I formulate Google queries like phrases in a hypothetical document I hope exists.
Re:Google will start showing AI-powered search results for u... by hparadiz on Saturday March 23, 2024 @01:59PM (#39801826)
Google and the companies that litter the results page only have themselves to blame. When I was trying to find some boiler plate for pulling something from AWS parameter store I got total nonsense docs that weren't even what I wanted but it was mostly AWS docs or online tech diploma mill nonsense. Then I used chatgpt and it did 90% of the work in 20 seconds. Sometimes Google should just show me the code on GitHub but instead Google wastes my time.
Re:Google will start showing AI-powered search results for u... by janoc on Saturday March 23, 2024 @02:43PM (#39802173)
But think the amount of ads (err "sponsored results") you got to see and click on!

This is by design.

Re:Google will start showing AI-powered search results for u... by efilife on Saturday March 23, 2024 @02:36PM (#39802119)
Re:Google will start showing AI-powered search results for u... by anon373839 on Saturday March 23, 2024 @07:20PM (#39803730)
Google used to do keyword based search only; now, it’s a hybrid of keywords and semantics, and they seem to be upweighting the latter more and more. This can be good if you don’t care about precision (“pasta recipes” -> “penne alla vodka”), but frustrating if you know exactly what you are wanting to match.
Re:Google will start showing AI-powered search results for u... by bonki on Saturday March 23, 2024 @09:08PM (#39804279)
100% this.
Re:Google will start showing AI-powered search results for u... by dataflow on Saturday March 23, 2024 @02:22PM (#39802007)
> If you take the entire quoted search sentence from your third paragraph, then Google also presents a complete solution.

Which one is the complete solution you're seeing here? https://www.google.com/search?q=how+can+I+create+f-strings+i...

Re:Google will start showing AI-powered search results for u... by jvolkman on Saturday March 23, 2024 @02:30PM (#39802072)
Google generated an answer for me.

https://photos.app.goo.gl/2gvMEMxszs1R5rWMA

Re:Google will start showing AI-powered search results for u... by dataflow on Saturday March 23, 2024 @02:39PM (#39802144)
Oh cool! Thanks for the screenshot.
Re:Google will start showing AI-powered search results for u... by heisenzombie on Sunday March 24, 2024 @12:30AM (#39805178)
I mean, that’s just completely wrong though! (1) It attempts to wrap and then substitute, which is nonsense (2) it doesn’t even expand the string you give it! That f-string in there is basically a no-op and (3) it truncates to only the first line, and throws away the rest.
Re:Google will start showing AI-powered search results for u... by edgyquant on Saturday March 23, 2024 @02:30PM (#39802073)
I had an answer similar to chstgpts that was generated as the first result.
Re:Google will start showing AI-powered search results for u... by danaris on Saturday March 23, 2024 @01:50PM (#39801737)
I...think you may be misreading them?

They said that they put exactly the same queries into Google as ChatGPT.

Re:Google will start showing AI-powered search results for u... by theptip on Saturday March 23, 2024 @02:22PM (#39802001)
> Except, for Google, I did not use the "how do I" etc. and just threw some keywords at it: "python f-string wrapping", "python f-string folding", etc.
Re:Google will start showing AI-powered search results for u... by zamadatix on Saturday March 23, 2024 @02:02PM (#39801851)
The way GP worded it is a bit confusing and ambiguous but it doesn't seem like they typed the same question into both, rather they typed what they thought each wanted to know about the same question. In one sentence they say they typed an exact quote into Google but in the very next sentence they clarify they actually typed a bunch of keywords about that quote instead.
Re:Google will start showing AI-powered search results for u... by edave64 on Saturday March 23, 2024 @02:12PM (#39801933)
I believe they mean that's how Google interpreted the query?
Re:Google will start showing AI-powered search results for u... by 1024core on Saturday March 23, 2024 @07:25PM (#39803758)
Here's the thing. For the longest time (since circa 1999) I've been a Google user. Google trained me to not use superfluous words like "how do I .... " etc. Just put down the keywords, and spare me the babble, Google said.

With LLMs, on the other hand, it feels like I'm dealing with a human being on the other end: so I have to add stuff like "how can I"... and "please" and "thank you" (and sometimes "no yapping" ;-D ). So I queried Google just like I normally do.

Re:Google will start showing AI-powered search results for u... by yashasolutions on Sunday March 24, 2024 @05:10AM (#39805951)
As a side note, "Search" outside of google is changing too. I have been using Kagi for a few month now, my search experience is so much better since then.