What it's like to be a developer in 2024

Sibbo@sopuli.xyz to Programmer Humor@programming.dev – 1291 points –
280

You are viewing a single comment

Kagi:

First result is the official documentation with the page that contains information about the in operator

This was the result: https://www.postgresql.org/docs/9.0/functions.html

BUT it is the documentation for 9.0

Though if I would use postgresql documentation very often I could just use the Kagi feature that rewrites URLs with a regex, so I can replace it always with the latest version.

Kagi Documentation for that feature:

https://help.kagi.com/kagi/features/redirects.html#redirects-url-rewrites

Some use cases of redirects include:

  • Change domains to a preferred domain (reddit.com to old.reddit.com)
  • Fixing links to outdated documentation with bad SEO
  • Rewriting proxied pages (like Google AMP) to their source URL
  • Changing any http link to https

Interesting, my Kagi results gave W3Schools, geeks for geeks, and postgresqltutorial.com before the official docs, but hey still way better than OP's results!

Kagi has search personalization where you can lower/raise/pin specific domains (one of kagis main selling points) and I blocked geeks for geeks and w3schools, as these are irrelevant for me and I don't want them in my results

can't you do that on a self-hosted searxng? I know you can do that with YaCY, but YaCY search results kinda suck

I don't think that's possible with searxng (but I'm not 100% sure, but I can't seem to find that feature)

I know there are browser extensions which can filter out domains in search results for different search engines like google and duckduckgo.

But the pinning/lowering/raising is a bit trickier to implement as an extension, because what kagi does is basically:

  1. Load 3 pages of search results in the backend
  2. Show a result as the first entry if it matches a rule for pinning
  3. Influence the search ranking algorithm with the lower/raise rules of the user
  4. Filter out blocked domains

It would be possible but not as "streamlined" as Kagi does.

Don't get me wrong, Kagi definitely has its rough edges and the search ranking algorithm is sometimes very unpredictable, but it provides good enough results for me to be worth the 10$ per month for unlimited searches.