News for hackers. Stuff that matters.
Re:One Guy Ruined Hacktoberfest 2020 by chillee on Friday October 02, 2020 @12:30AM (#24658888)
I agree that the spam is problematic, but I feel the need to call out his "data collection".

As evidence that CodeWithHarry is the cause, he says

> A search for "Amazing Project" is now showing 21,177 issues.

and

> A search for "improve docs" shows 319,251 issues.

???

Improve docs has been a common beginner level PR since the beginning of time. Do you really think that 319k spam issues have been filed in the last day?

Amazing Project is more relevant, but if you take a look at those issues (sorted by newest), you see that most of the PRs that show aren't spam at all: https://github.com/search?o=desc&q=amazing+project&s=created...

If you want to count how many spam PRs were directly inspired by the video, you can try searching "an amazing project" (with quotes), and filtering by newest. It looks like there have only been about 50 PRs directly inspired by it.

https://github.com/search?o=desc&q=%22an+amazing+project%22&...

Re:One Guy Ruined Hacktoberfest 2020 by TheDong on Friday October 02, 2020 @01:30AM (#24659220)
Github allows you to search by dates (newer than, date ranges, etc), so for example, you can add the query "created:>=2020-09-30" (the date the youtube video was uploaded) to get a more accurate list.

From this search, it looks like it's definitely on the order of hundreds:

https://github.com/search?p=5&q=amazing+project+created%3A%3...

I opened a few at random to spot-check, and they all seemed like garbage to me. Like this one, ugh https://github.com/mongodb/docs/pull/4402/files

Re:One Guy Ruined Hacktoberfest 2020 by chillee on Friday October 02, 2020 @01:52AM (#24659341)
Sorting by relevance doesn't get you a representative sample - that bubbles PRs who say "amazing project" in the title to the top(which are indeed mostly spam).

If you restrict it to "in:title", you see that there's only 44: https://github.com/search?q=in%3Atitle+amazing+project+creat...

And if you sort by "newest" or "oldest", which provide a more representative sample, you can see that most of them are not spam: https://github.com/search?o=desc&q=amazing+project+created%3...

Re:One Guy Ruined Hacktoberfest 2020 by forgotpwd16 on Friday October 02, 2020 @04:28AM (#24660378)
Why restrict in title though? From parent reply it is obvious that the phrase isn't in title yet it is undeniably spam.
Re:One Guy Ruined Hacktoberfest 2020 by chillee on Friday October 02, 2020 @08:43AM (#24661989)
I'm trying to get a lower bound on spam PRs filed. If you sort by oldest (instead of by "relevance" as the parent commenter did) and do a spot check, you'll see that a lot of the PR's are legitimate: https://github.com/search?o=asc&q=amazing+project+created%3A...

Certainly, restricting to the title misses plenty of PRs. But his search provides 252 PRs, and I'd estimate that easily <100 of them are spam.

Re:One Guy Ruined Hacktoberfest 2020 by rjmunro on Friday October 02, 2020 @06:33AM (#24661109)
Typically the PRs are titled something like "Improve docs" and the change is to add "an amazing project" somewhere in the README.md.

Here's a search that finds a lot: https://github.com/search?q=in%3Atitle+improve+created%3A%3E...

Re:One Guy Ruined Hacktoberfest 2020 by chillee on Friday October 02, 2020 @08:39AM (#24661957)
This search makes the same mistake I mentioned above - you think it finds a lot because you're sorting by "relevant" and sampling.

Sort by newest and you'll see that the vast majority of these PR's are legitimate: https://github.com/search?o=desc&q=in%3Atitle+improve+create...

Re:One Guy Ruined Hacktoberfest 2020 by marcinzm on Friday October 02, 2020 @09:46AM (#24662524)
The results I got show 4 spam PRs out of 10 on the first page. Same on the second and third pages. 60% is not a vast majority legitimate and 40% spam is not inconsequential when it's 86k PRs.
Re:One Guy Ruined Hacktoberfest 2020 by chillee on Friday October 02, 2020 @09:40PM (#24668794)
That doesn't match my experience. I looked at the first and 5th page from my link. No spam PRs.

https://i.imgur.com/VgOteKy.png

https://i.imgur.com/aAZ8xbo.jpg

Re:One Guy Ruined Hacktoberfest 2020 by marcinzm on Friday October 02, 2020 @10:05PM (#24668902)
Presumably the spam onslaught is slowing down with time from the video being posted so looking at the most recent results will give an ever fewer percentage of spam. If you look at page 100 of the results (for example, currently 18 hours old) there's a lot more spam.

For example: https://imgur.com/a/vxCHvcO

Re:One Guy Ruined Hacktoberfest 2020 by touristtam on Friday October 02, 2020 @11:01AM (#24663345)
It is so indiscriminate that repos that could be considered dead (7+ years without activity) by the maintainer seems to get massive attention from new accounts just to get that T-Shirt. O_O
Re:One Guy Ruined Hacktoberfest 2020 by bad_user on Friday October 02, 2020 @01:26AM (#24659192)
Love this one — somebody is trying to rename "package.json" into "package":

https://github.com/dinosaurjs/website/pull/28

Re:One Guy Ruined Hacktoberfest 2020 by bobbyi_settv on Friday October 02, 2020 @01:44AM (#24659290)
No, he renamed it to "package: An Amazing Project.json"
Re:One Guy Ruined Hacktoberfest 2020 by bad_user on Friday October 02, 2020 @01:56AM (#24659364)
OMG even better :-))

My mind did not parse anything after ":"

Re:One Guy Ruined Hacktoberfest 2020 by Thorrez on Friday October 02, 2020 @01:57AM (#24659372)
Windows doesn't even let you have a colon in a filename!
Re:One Guy Ruined Hacktoberfest 2020 by livre on Friday October 02, 2020 @05:25PM (#24667189)
I suppose it is because the colon is used for NTFS alternate data streams, see the example in the introduction here: https://docs.microsoft.com/en-us/sysinternals/downloads/stre...
Re:One Guy Ruined Hacktoberfest 2020 by sumtechguy on Friday October 02, 2020 @10:19AM (#24662859)
Wonder if NTFS 'lets' you. I know the API does not let it. But I wonder if you could get it in a different way. I know you can sneak case sensitivity in here and there.

Think I shall go ruin a VM tonight... :)

Re:One Guy Ruined Hacktoberfest 2020 by rubatuga on Friday October 02, 2020 @02:05AM (#24659414)
Had a hell of a time downloading a torrent with a colon in the name.
Re:One Guy Ruined Hacktoberfest 2020 by vijayr02 on Friday October 02, 2020 @03:06AM (#24659823)
You mean it was a pain in the colon? :)
Re:One Guy Ruined Hacktoberfest 2020 by Zeturic on Friday October 02, 2020 @02:19AM (#24659512)
My favorite one I saw renamed "README.md" to "My Reading".
Re:One Guy Ruined Hacktoberfest 2020 by bad_user on Friday October 02, 2020 @02:22AM (#24659536)
Link, please :)
Re:One Guy Ruined Hacktoberfest 2020 by hombre_fatal on Friday October 02, 2020 @05:01AM (#24660590)
"An amazing project!" is going to part of dev culture for years, at least some circles.
Re:One Guy Ruined Hacktoberfest 2020 by rjmunro on Friday October 02, 2020 @06:38AM (#24661139)
You can search for all PRs by a user: https://github.com/pulls?q=is%3Apr+author%3Asalimjaved18
Re:One Guy Ruined Hacktoberfest 2020 by yesbabyyes on Friday October 02, 2020 @01:59AM (#24659382)
Not even that, the file is actually renamed "package: An Amazing Project.json". Amazing indeed!
Re:One Guy Ruined Hacktoberfest 2020 by CGamesPlay on Friday October 02, 2020 @02:41AM (#24659646)
What’s this bitboxx? Somebody decided the spam PRs weren’t enough spam so they created a bot to amplify it?
Re:One Guy Ruined Hacktoberfest 2020 by geewee on Friday October 02, 2020 @01:45AM (#24659296)
This is my favourite trash PR
Re:One Guy Ruined Hacktoberfest 2020 by cvrjk on Friday October 02, 2020 @12:43AM (#24658944)
A lot of those accounts also seem to be created just a few hours before October 1st. Can GitHub time gate new accounts before that can make public PRs?
Re:One Guy Ruined Hacktoberfest 2020 by tastroder on Friday October 02, 2020 @12:55AM (#24659024)
I feel like that would be counterproductive given that GitHub is a tool, not a social network you need to gather account age or fake internet points on to use. Don't really see anything wrong with somebody signing up and immediately creating a PR.

I realize GitHub is one of the most popular choices out there but the activity stream is already social mediaesque enough for my taste. There's other ways to tackle this, DO could make their marketing stunt opt-in and GH could respond to the people wanting to add friction to their repo's workflows in a way that provides value, without crippling the general user experience.

Re:One Guy Ruined Hacktoberfest 2020 by pvorb on Friday October 02, 2020 @02:45AM (#24659679)
I think this would be a bad direction. I bet that most people create an account on GitHub to report an issue or create a pull request directly. I think this should be encouraged.
Re:One Guy Ruined Hacktoberfest 2020 by WarOnPrivacy on Friday October 02, 2020 @12:34AM (#24658908)
I was wondering about all of that. Appreciate the clarification.