News for hackers. Stuff that matters.
Re:GitHub has 11,995,200 open issues by shoyer on Wednesday April 27, 2016 @02:48AM (#11578315)
Sorted by +1s: https://github.com/issues?q=is%3Aopen+is%3Aissue+sort%3Areac...

Here are the top three:

1. Contribution graph can be harmful to contributors (https://github.com/isaacs/github/issues/627)

2. proposal: generic programming facilities (https://github.com/golang/go/issues/15292)

3. Proper tabs for open files (https://github.com/Microsoft/vscode/issues/224)

Can't say I'm terribly surprised!

Re:GitHub has 11,995,200 open issues by morgante on Wednesday April 27, 2016 @06:36AM (#11579211)
Keep in mind that has a heavy bias towards newer issues (since +1s are new).

Here are the most commented/contentious issues: https://github.com/issues?q=is%3Aopen+is%3Aissue+sort%3Acomm...

Re:GitHub has 11,995,200 open issues by ohitsdom on Wednesday April 27, 2016 @07:37AM (#11579447)
What's going on with all the repeated comments for those top ones? I'm not a frequent user of Github issues, is it something automated perhaps gone wrong?
Re:GitHub has 11,995,200 open issues by morgante on Wednesday April 27, 2016 @07:41AM (#11579473)
It looks like some projects have infrastructure set up to automatically log runtime errors to GitHub issues.
Re:GitHub has 11,995,200 open issues by ekns on Wednesday April 27, 2016 @03:45AM (#11578515)
Funny how it says there's 479830 pages worth of results and even has a link to that "last page".

I checked and in practice it "only" returns the first 400 pages of results.

Re:GitHub has 11,995,200 open issues by g_sch on Wednesday April 27, 2016 @07:18AM (#11579367)
Isn't this because deep pagination is really costly? I've seen other production systems (especially using elasticsearch) where this limit is in place.

From Elastic:

>Deep Paging in Distributed Systems

>To understand why deep paging is problematic, let’s imagine that we are searching within a single index with five primary shards. When we request the first page of results (results 1 to 10), each shard produces its own top 10 results and returns them to the coordinating node, which then sorts all 50 results in order to select the overall top 10.

>Now imagine that we ask for page 1,000—results 10,001 to 10,010. Everything works in the same way except that each shard has to produce its top 10,010 results. The coordinating node then sorts through all 50,050 results and discards 50,040 of them!

>You can see that, in a distributed system, the cost of sorting results grows exponentially the deeper we page. There is a good reason that web search engines don’t return more than 1,000 results for any query.

https://www.elastic.co/guide/en/elasticsearch/guide/current/...

Re:GitHub has 11,995,200 open issues by stephengillie on Wednesday April 27, 2016 @04:41AM (#11578703)
That sounds like an issue. I wonder if someone's reported it...
Re:GitHub has 11,995,200 open issues by smonte on Wednesday April 27, 2016 @06:54AM (#11579287)
One more error to be reported in Danny Tuppeny's post from today http://blog.dantup.com/2016/04/have-software-developers-give...
Re:GitHub has 11,995,200 open issues by ashmud on Wednesday April 27, 2016 @09:33AM (#11580245)
The primary product I work on limits (on-screen) results to 10k results (after any filtering) regardless of page size. Aside: However, this was based on our most complicated queries at the time, which have since been simplified.
Re:GitHub has 11,995,200 open issues by gyhchang on Wednesday April 27, 2016 @03:37AM (#11578492)
The first link 404's for me, is it working for everyone else?
Re:GitHub has 11,995,200 open issues by tzakrajs on Wednesday April 27, 2016 @03:46AM (#11578520)
I had to login and then click the link.
Re:GitHub has 11,995,200 open issues by kuschku on Wednesday April 27, 2016 @09:20AM (#11580118)
And another case of HTTP Error codes being misused. Kinda annoying by now.
Re:GitHub has 11,995,200 open issues by s4chin on Wednesday April 27, 2016 @03:42AM (#11578505)
All links work for me. I think you need to login.
Re:GitHub has 11,995,200 open issues by siddhant on Wednesday April 27, 2016 @05:31AM (#11578904)
Probably off topic, but how do you get such a sort to work nicely (sorting on count from another table), without creating redundant data (in this case, maintaining the +1 count in the main issue table as well as maintaining a separate table for +1s), or just delegating the sort to an external search service?
Re:GitHub has 11,995,200 open issues by takno on Wednesday April 27, 2016 @06:28AM (#11579174)
There's no obvious reason why it would be particularly slow to get counts from another table. You're probably going to want to offer full text searches and searches on columns you wouldn't choose to index online as well though, at which point using a search service makes most sense
Re:GitHub has 11,995,200 open issues by scrollaway on Wednesday April 27, 2016 @03:46AM (#11578518)
It also seems impossible to get beyond page 400 on either of those results.

https://github.com/issues?page=400&q=is%3Aopen+is%3Aissue&ut...

Re:GitHub has 11,995,200 open issues by lunactic on Wednesday April 27, 2016 @05:27AM (#11578889)
Fun that the first one is also the one with the most -1s