News for hackers. Stuff that matters.
Re:Ask HN: What are these low quality “code snippet” sites? by charlesdaniels on Wednesday December 01, 2021 @03:38PM (#29408840)
I wonder if we'll see a comeback of hand-curated directories of content? I feel like the "awesome list" trend is maybe the start of something there.

I would be willing to pay an annual fee to have access to well-curated search results with all the clickbait, blogspam, etc. filtered out.

Until then, I recommend uBlacklist[0], which allows you to hide sites by domain in the search results page for common search engines.

0 - https://github.com/iorate/uBlacklist

Re:Ask HN: What are these low quality “code snippet” sites? by notJim on Wednesday December 01, 2021 @05:14PM (#29409824)
> hide sites by domain

This gives me the idea to build a search engine that only contains content from domains that have been vouched for. Basically, you'd have an upvote/downvote system for the domains, perhaps with some walls to make sure only trusted users can upvote/downvote. It seems like in practice, many people do this anyway. This could be the best of both worlds between directories and search engines.

Re:Ask HN: What are these low quality “code snippet” sites? by fho on Thursday December 02, 2021 @03:17AM (#29413707)
I don't think this would change a lot, you would probably raise big sites (Pinterest, Facebook) a lot higher in the rankings as the 99% non-programmers would vouch for them.

You could counter that somewhat by having a "people who liked X also like Y" mechanism, but that quickly brings you back to search bubbles.

In that sense Google probably should/could do a better job by profiling you and if you never click through to a page lower it in the rankings. Same with preferences, if I am mainly using a specific programming language and search for "how to do X" they could only give me results on that language.

In the end that will probably make my search results worse, as I am not only using one language ... and sometimes I actually click on Pinterest :-(

Re:Ask HN: What are these low quality “code snippet” sites? by ancientworldnow on Wednesday December 01, 2021 @06:43PM (#29410610)
You don't need an upvote/downvote. If someone searches for X and clicks on results you just record when they stop trying sites or new search terms as you can assume the query has been answered. Reward that site. Most of them are already doing this in some form.
Re:Ask HN: What are these low quality “code snippet” sites? by JohnBooty on Wednesday December 01, 2021 @10:28PM (#29412205)
This is what Google already does, does it not? Why else would they be recording outbound clicks?

Unfortunately, this doesn't entirely solve the problem. Counting clicks doesn't work because you don't know if the result was truly worthwhile or if the user was just duped by clickbait.

As you say, clicking when they stop trying sites is better, but I don't know how good that signal to noise ratio is. A low-quality site might answer my question, sort of, perhaps in the minimal way that gets me to stop searching. But perhaps it wouldn't answer it nearly as well as a high-quality site that would really illuminate and explain things and lead to more useful information for me to explore. Both those scenarios would look identical to the click-tracking code of the search engine.

Re:Ask HN: What are these low quality “code snippet” sites? by earthboundkid on Thursday December 02, 2021 @12:24AM (#29412834)
If I click on link 1 then click on link 2 several minutes later, 1 probably sucked. The difficulty is if I click on 1 and then 2 quickly, it just means I’m opening a bunch of tabs proactively.
Re:Ask HN: What are these low quality “code snippet” sites? by DaiPlusPlus on Wednesday December 01, 2021 @07:13PM (#29410900)
Often you don’t know if a site is legit or not without first visiting it.

And new clone sites launch all the time, so I’m always clicking on search results to new clone sites that I’ve never seen before so can’t avoid them in results.

Re:Ask HN: What are these low quality “code snippet” sites? by OJFord on Wednesday December 01, 2021 @07:27PM (#29411011)
Yeah, when I get caught by these SEO spam sites it's because they haven't had a similar ranking to the SO thread that ripped off, so it wasn't immediately apparent.
Re:Ask HN: What are these low quality “code snippet” sites? by skinkestek on Thursday December 02, 2021 @04:34AM (#29414176)
> This gives me the idea to build a search engine that only contains content from domains that have been vouched for.

Just giving us personal blocklists would help a lot.

Then if search engines realize most people block certain websites they could also let it affect ranking.

Re:Ask HN: What are these low quality “code snippet” sites? by freediver on Wednesday December 01, 2021 @03:50PM (#29408960)
You can access one without paying a dime.

http://teclis.com

Problem is people usually want one general search engine, not a collection of niche ones.

Re:Ask HN: What are these low quality “code snippet” sites? by wruza on Wednesday December 01, 2021 @07:44PM (#29411140)
It’s not a directory. Hand-crafted descriptions instead of random citations and/or marketing from the site itself is what makes it a directory. This one is a search engine. Maybe it’s a good one for its purpose, but who knows, without an ability to navigate you can’t tell.

Problem is people usually want one general search engine, not a collection of niche ones.

In my opinion, the reason they want a general search engine is that they think in their box (search -> general search). What they really want is a way to discover things and quick summaries about them: “$section: $what $what_it_does $see_also”. Search engines abuse this necessity and suggest deceitfully summarized ads instead.

Re:Ask HN: What are these low quality “code snippet” sites? by nextaccountic on Thursday December 02, 2021 @03:43AM (#29413857)
The trouble is, how do you prevent Sybil attacks? The spammers might vote for their own sites

https://en.wikipedia.org/wiki/Sybil_attack

Re:Ask HN: What are these low quality “code snippet” sites? by aabbcc1241 on Saturday December 04, 2021 @01:11AM (#29439091)
would be better if my votes only affect my search result