Live data from Hacker News

Ask HN: What are these low quality “code snippet” sites?

news.ycombinator.com

121–130 of 323 posts

Re: Ask HN: What are these low quality “code snippet” sites?

#121
post #98

Just to chip in with a very minor annoyance, I hate how google puts up w3schools results above MDN for anything related to JS/HTML.

Check out tomdn.com. I created it to make it easier to get to MDN. E.g., instead of googling array.map, just type tomdn.com?array.map. It will take you straight to MDN docs on Array.prototype.map. Other things work as well, like tomdn.com?object.keys, tomdn.com?css.color, tomdn.com?htmlel.button, etc.

If there is a pattern it doesn't recognize, you end up on the MDN search results page.

edit: More info. about how it works is available here: https://github.com/tayler/tomdn

Re: Ask HN: What are these low quality “code snippet” sites?

#123
post #82

Earlier quoted context omitted.

They seem to keep giving more and more confidence in their language semantic ai. Quoted words in the search should return only pages with that actually on the page. That used to work. Now it often shows pages that don't contain it all, not in the search results page itself, nor on the page when you go there. So you'd think it just ignored the quoted text and gave me results without it instead, right? Wrong. Removing…

Google Search has been going downhill _fast_ over the past 5 years or so. Since it's probably incompetence rather than malice, what the heck is going on at Google Search? It seems to me the "let's use AI for everything" camp has taken over the entire place even though it's making Search worse than it ever was. And please spare me the excuse that now Google can answer questions. It can't, it just answers with snippets…

Maybe some PM realized:

Worse search results -> more Google searches -> more ad views

Re: Ask HN: What are these low quality “code snippet” sites?

#124

Earlier quoted context omitted.

I used to work for a company that gamed Google like this, but with product search results (that were, themselves, CPC ads). The company got bought for scrap because Google got good at downranking their pages in search results and finally taking shopping seriously. A lot has changed since then, but I doubt that Google has decided these kinds of content farms are suddenly OK. It should also give pause to people asking…

It does give me pause, but do you really think there is no way to have both open algorithm and good results? What is users assessed sites as they used a search engine, and then this was broadcast back to the engine? I have a feeling there is a way to introduce randomness to this search engine in a way that smooths out the game theoretic arms race of gaming an algorithm. This goes against our natural urge to have a fu…

Markets dont work when everyone knows what I am THINKING. i.e. If I know with 100% certainty you are going to buy something for 1$ I just bid 1.0001. Same with Google search. If I know with 100% certainty that you rank pages in a certain way, I can game them. Markets only work when all data is available but no all opinions.

Introducing random elements just makes it worse for everyone.

Re: Ask HN: What are these low quality “code snippet” sites?

#125

IMHO the biggest offender: https://www.geeksforgeeks.org/ They are making me insane with the modal login demand. I wonder if Google has downgraded the authoritative standing of StackOverflow?

See this reddit answer on how to circumvent the login prompt: https://old.reddit.com/r/programming/comments/q0oqai/what_is...

Re: Ask HN: What are these low quality “code snippet” sites?

#126

I really hate these. Especially when I'm trying to figure something out and I'm struggling to find answers, I end up haplessly finding the exact same wrong answer on three different sites.

I've 100% noticed it in the past months. Have a new employee that i'm trying to train up a bit with python and googling has gotten more annoying. fucking codegrepper.com & shit. FUG EM . hilarious when you find the exact same snippet over and over. Even more hilarious those asswipes are probably making $$ (potentially lots) with all the stupid clicks n that.

Re: Ask HN: What are these low quality “code snippet” sites?

#127

Earlier quoted context omitted.

Google Search has been going downhill _fast_ over the past 5 years or so. Since it's probably incompetence rather than malice, what the heck is going on at Google Search? It seems to me the "let's use AI for everything" camp has taken over the entire place even though it's making Search worse than it ever was. And please spare me the excuse that now Google can answer questions. It can't, it just answers with snippets…

Maybe some PM realized: Worse search results -> more Google searches -> more ad views

[deleted]

Re: Ask HN: What are these low quality “code snippet” sites?

#128
I believe Google have hit a sweet spot (for them) where they can keep you browsing a specific topic for a long time while still showing you mildly interesting results. Since the results are consistently on topic, you are shown ads that are interesting to you time and time again, which results in a lot of clicks and a lot of revenue.

Re: Ask HN: What are these low quality “code snippet” sites?

#129
For years now I've ran a programming site (stackabuse.com) and have closely followed the state of Google SERPs when it comes to programming content. A few thoughts/ramblings:

- The search results for programming content has been very volatile the last year or so. Google has released a lot of core algorithm updates in the last year, which has caused a lot of high-quality sites to either lose traffic or stagnate.

- These low-quality code snippet sites have always been around, but their traffic has exploded this year after the algorithm changes. Just look at traffic estimates for one of the worst offenders - they get an estimated 18M views each month now, which has grown almost 10x in 12 months. Compare that to SO, which has stayed flat or even dropped in the same time-frame

- The new algorithm updates seem to actually hurt a lot of high-quality sites as it seemingly favors code snippets, exact-match phrases, and lots of internal linking. Great sites with well-written long-form content, like RealPython.com, don't get as much attention as they deserve, IMO. We try to publish useful content, but consistently have our traffic slashed by Google's updates, which end up favoring copy-pasted code from SO, GitHub, and even our own articles.

- The programming content "industry" is highly fragmented (outside of SO) and difficult to monetize, which is why so many sites are covered in ads. Because of this, it's a land grab for traffic and increasing RPMs with more ads, hence these low-quality snippet sites. Admittedly, we monetize with ads but are actively trying to move away from it with paid content. It's a difficult task as it's hard to convince programmers to pay for anything, so the barrier to entry is high unless you monetize with ads.

- I'll admit that this is likely a difficult problem because of how programmer's use Google. My guess is that because we often search for obscure errors/problems/code, their algorithm favors exact-match phrases to better find the solution. They might then give higher priority to pages that seem like they're dedicated to whatever you searched for (i.e. the low-quality snippet sites) over a GitHub repo that contains that snippet _and_ a bunch of other unrelated code.

Just my two cents. Interested to hear your thoughts :)

Re: Ask HN: What are these low quality “code snippet” sites?

#130
post #98

Just to chip in with a very minor annoyance, I hate how google puts up w3schools results above MDN for anything related to JS/HTML.

Hell, yesterday I searched for `python string split`.

Stupid w3schools was the first hit. The official library reference documentation on python.org (which was what I was looking for) didn't turn up until nearly the bottom of the 2nd page of search results!! Beyond frustrating.

Post reply on HN