Live data from Hacker News

Tell HN: GitHub is blocking search unless you are logged in

news.ycombinator.com

11–20 of 76 posts

Re: Tell HN: GitHub is blocking search unless you are logged in

#12

That's okay, GitHub's search is atrocious anyway.

At least for issues, their search got a lot worse recently - it doesn't do substring search in the same way (or maybe at all - I haven't checked in detail), so you can't search for non-initial words in compound-words. This makes searching through German issues an exercise in frustration... .

Re: Tell HN: GitHub is blocking search unless you are logged in

#13

Earlier quoted context omitted.

How often are you not signed in to GitHub? You’re presenting this as a practical pain, but I can’t remember the last time I wasn’t signed in to GitHub.

I don't have a work GitHub account and I keep personal stuff out of my work computer. The number of times I've wanted to search an open source codebase without cloning it yet is significantly nonzero. I've also wanted to do code search on my phone, where I have no need to be logged in so I'm not.

So register a throwaway for work and your phone. Seems easily solvable in a few seconds!

Re: Tell HN: GitHub is blocking search unless you are logged in

#14
post #13

Earlier quoted context omitted.

I don't have a work GitHub account and I keep personal stuff out of my work computer. The number of times I've wanted to search an open source codebase without cloning it yet is significantly nonzero. I've also wanted to do code search on my phone, where I have no need to be logged in so I'm not.

So register a throwaway for work and your phone. Seems easily solvable in a few seconds!

Seems like a good time to mention that (despite anecdotal lack of enforcement) GitHub's terms of service continue to officially forbid having more than one free account for manual use. https://docs.github.com/en/site-policy/github-terms/github-t...

Re: Tell HN: GitHub is blocking search unless you are logged in

#15

I’ve been running into this too and it’s very annoying. Although I don’t think it’s particularly new either. Just feels like an unnecessary step. Sure I have an account and can log in, but why? I just want to know which file has X function, so i can read the implementation. I don’t want to have to download the repo or sign in.

Most likely anti-scraping measure. So they can detect and shut down bots or really anyone they feel like if activity looks nonstandard. Not suggesting it’s good, but it’s consistent with the in vogue trend to lock down recipient public APIs nowadays.

As an illustration, near the end of last year, bots from a renowned Email API provider spotted in less than 1 hour the leak of a public key from my public GitHub code repo. My account got suspended on their platform. It was stunning to see the speed at which they acted and automated the process to "lose" and "recover" reputation.

Re: Tell HN: GitHub is blocking search unless you are logged in

#16
This will greatly reduce Github ability to be an App Store. Reminder that GitHub isn't banned* or censored by Microsoft in China, so it's a good way to download VPNs and other banned apps.

*There is some frequent outages on an individual level, but if you try enough, it works.

EDIT : This doesn't affect search of repos. My bad.

Re: Tell HN: GitHub is blocking search unless you are logged in

#17
post #13

Earlier quoted context omitted.

So register a throwaway for work and your phone. Seems easily solvable in a few seconds!

Seems like a good time to mention that (despite anecdotal lack of enforcement) GitHub's terms of service continue to officially forbid having more than one free account for manual use. https://docs.github.com/en/site-policy/github-terms/github-t...

That rule sucks. I want to keep work and personal separated.

Re: Tell HN: GitHub is blocking search unless you are logged in

#18

I’ve been running into this too and it’s very annoying. Although I don’t think it’s particularly new either. Just feels like an unnecessary step. Sure I have an account and can log in, but why? I just want to know which file has X function, so i can read the implementation. I don’t want to have to download the repo or sign in.

How often are you not signed in to GitHub? You’re presenting this as a practical pain, but I can’t remember the last time I wasn’t signed in to GitHub.

It's especially bad because I don't really remember my passwords, so I always have to reset password when logging in again, and that refreshes the dev keys so my terminal git push also stops works - a complete PITA.

Re: Tell HN: GitHub is blocking search unless you are logged in

#20

Earlier quoted context omitted.

How often are you not signed in to GitHub? You’re presenting this as a practical pain, but I can’t remember the last time I wasn’t signed in to GitHub.

It's especially bad because I don't really remember my passwords, so I always have to reset password when logging in again, and that refreshes the dev keys so my terminal git push also stops works - a complete PITA.

This is nuts, dude! Get a password manager or something.
Post reply on HN