News for hackers. Stuff that matters.
Re:Google says AI in Search is driving more queries and high... by 1vuio0pswjnm7 on Thursday August 07, 2025 @01:39PM (#44827656)
Alternatively

Wikipedia as search engine, no Javascript, no "AI"

Query string "wrench tight spaces"

Basin_wrench is the #1 result

usage: sh 1.sh wrench tight spaces > 1.htm;firefox ./1.htm

   #!/bin/sh
   ns=$(
   for x in \
   0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 \
   100 101 \
   118 119 \
   710 711 \
   828 829 \
   2300 2301 2302 2303
   do
   printf \&ns$x=1
   done
   )
   export x=https://en.wikipedia.org
   echo "url=$x/w/index.php?search=$@$ns&fulltext=1&offset=0" \
   |(echo user-agent=\"\" ;
     echo header Accept:;
     tr \\40 +) \
   |curl -K/dev/stdin \
   |(echo "<base href=$x />";cat)
Re:Google says AI in Search is driving more queries and high... by armchairhacker on Thursday August 07, 2025 @04:06PM (#44829701)
That only works for some queries, particularly simple ones. Even elaborating the given query into “type of wrench for tight spaces” puts “basin wrench” in 6th place below incorrect wrenches like “oil filter” and “hydraulic torque” (https://en.m.wikipedia.org/w/index.php?search=type+of+wrench...).
Re:Google says AI in Search is driving more queries and high... by 1vuio0pswjnm7 on Thursday August 07, 2025 @07:43PM (#44831771)
That's not the same search URL used in the comment

The "ns" parameters are significant

If use the URL in the comment with this query string then Basin_wrench is #3 result

Monkey_wrench is #1 and Wrench is #2

Re:Google says AI in Search is driving more queries and high... by 1vuio0pswjnm7 on Thursday August 07, 2025 @07:38PM (#44831738)
"type of wrench for tight spaces"

Basin_wrench is #3 result

Delete preposition: "of"

"type wrench for tight spaces"

Basin_wrench is #2 result

Delete preposition: "for"

"type of wrench tight spaces"

Basin_wrench is #2 result

Delete prepositions: "of", "for"

"type wrench tight spaces"

Basin_wrench is #2 result

Delete unnecessary noun "type" and preposition "of"

"wrench for tight spaces"

Basin_wrench is #1 result

Delete preposition "for"

"wrench tight spaces"

Basin_wrench is #1 result

"tight spaces wrench"

Basin_wrench is #1 result

"tight wrench spaces"

Basin_wrench is #1 result

Much less typing, no unnecessary nouns and prepositions

I like it, others might not

I also tried a number of less popular search engines with a non-AI search from the command line

Query string "type of wrench for tight spaces"

For several of them the #1 result was for star-plumbing.com

https://star-plumbing.com/what-kind-of-wrench-is-used-in-tig...