News for hackers. Stuff that matters.
Re:Git-random: Chrome extension replaces new tab with random... by CM30 on Saturday April 16, 2016 @11:13AM (#11510865)
Wouldn't this just be more annoying than useful? I mean, finding random people on GitHub is maybe 0.5% of the times I use the new tab button. Why have that happen all the time? Just to show it's possible?

It's a novel idea, just have no idea why anyone would make or install an add on based on it.

Re:Git-random: Chrome extension replaces new tab with random... by gedrap on Saturday April 16, 2016 @04:44PM (#11512186)
I guess it depends on how actually random it is.

Genuinely random? Well, yeah, that would be crap, assuming most of the github accounts have pretty much nothing public other than maybe a hello world or something equivalent.

Something recommended instead of actually random? That might be interesting, just maybe repositories other than users (in other profile you have to click on something to discover, while in repo just scroll for readme).

For example, I like the idea of Github explore newsletter, offered by Github. A few trending repositories every morning. Sometimes something useful, sometimes inspirational.

Unfortunately, it's not implemented well :( a lot of the repos are JS and couldn't find where to change the option, also I often get the same repos (e.g. I get this https://github.com/FreeCodeCamp/FreeCodeCamp pretty much every day for the past half a year).

Re:Git-random: Chrome extension replaces new tab with random... by rev_bird on Saturday April 16, 2016 @06:48PM (#11512647)
>I get this https://github.com/FreeCodeCamp/FreeCodeCamp pretty much every day for the past half a year

This seems like a pretty perfect example of how outliers can make algorithms act funny -- Free Code Camp has more than 100,000 stars on GitHub. That's well over twice as many as Angular[1] and nine times as many as CoffeeScript[2]. I mean, it's still annoying, but I'd imagine they're collecting "+1"s faster than GitHub Explore can ignore them.

[1] https://github.com/angular/angular.js [2] https://github.com/jashkenas/coffeescript

Re:Git-random: Chrome extension replaces new tab with random... by ng12 on Saturday April 16, 2016 @03:47PM (#11511968)
I use Panda -- a plugin that shows me a selection of pretty-looking websites when I new-tab. I'm not even a designer or anything, but it's nice for inspiration. I imagine this is going after the same angle.
Re:Git-random: Chrome extension replaces new tab with random... by deckar01 on Saturday April 16, 2016 @12:49PM (#11511255)
It reminds me of Chat Roulette. It's less useful than it is entertaining and perception altering.
Re:Git-random: Chrome extension replaces new tab with random... by crypticlizard on Saturday April 16, 2016 @02:26PM (#11511688)
the discovery problem is a big deal for open source code. Not claiming this solves that, but like many great ideas, they can often look silly at first. And who knows, it could be the beginning of a cooler idea!
Re:Git-random: Chrome extension replaces new tab with random... by Camillo on Saturday April 16, 2016 @03:55PM (#11512005)
Self-promotion, obviously.
Re:Git-random: Chrome extension replaces new tab with random... by raimue on Saturday April 16, 2016 @01:31PM (#11511449)
Another case where the terms "Git" and "GitHub" are wrongly being used interchangeably.
Re:Git-random: Chrome extension replaces new tab with random... by userbinator on Saturday April 16, 2016 @01:33PM (#11511461)
How about GitHub-random: replaces a random file in your repository with the version from someone else's fork of it.
Re:Git-random: Chrome extension replaces new tab with random... by brudgers on Saturday April 16, 2016 @05:54PM (#11512424)
Re:Git-random: Chrome extension replaces new tab with random... by PascLeRasc on Saturday April 16, 2016 @02:21PM (#11511663)
It should replace a file with another with the same name somewhere else, like some other main.py.

Objective-C and Matlab people will hate each other.

Re:Git-random: Chrome extension replaces new tab with random... by surement on Saturday April 16, 2016 @06:48PM (#11512649)
Prolog and Perl also.
Re:Git-random: Chrome extension replaces new tab with random... by Tiksi on Saturday April 16, 2016 @02:11PM (#11511624)
And so begins software evolution by random mutation.
Re:Git-random: Chrome extension replaces new tab with random... by jagger27 on Saturday April 16, 2016 @06:42PM (#11512623)
If you've ever seen first year compsci students try to bang out a Python assignment, this is already the case.
Re:Git-random: Chrome extension replaces new tab with random... by Tiksi on Saturday April 16, 2016 @07:13PM (#11512734)
That's more of the primordial soup pre-evolution. Something might make it, but the chances are slim and nothing's really evolving, just kinda there.

Randomly changing the file is mutating an existing codebase with predecessors that made it out of the primordial soup.

I may have stretched the analogy too far now.

Re:Git-random: Chrome extension replaces new tab with random... by crypticlizard on Saturday April 16, 2016 @02:21PM (#11511666)
and yet the rationale for using Git over Github makes absolute sense, which should be obvious to anyone.
Re:Git-random: Chrome extension replaces new tab with random... by kyberias on Saturday April 16, 2016 @08:43AM (#11510360)
I don't see any randomness in the implementation. It seems to be taking users in the sequence that the github users API provides.
Re:Git-random: Chrome extension replaces new tab with random... by idnan on Saturday April 16, 2016 @08:45AM (#11510370)
But you are not going to see the same profile again and probably you don't know them. So it's random for you. :)
Re:Git-random: Chrome extension replaces new tab with random... by brudgers on Saturday April 16, 2016 @09:37AM (#11510544)
"Arbitrary" is probably more consistent with the mathematical rigor some people might expect. On the other hand, little in computing is random rather than pseudo-random.
Re:Git-random: Chrome extension replaces new tab with random... by tyingq on Saturday April 16, 2016 @09:50AM (#11510584)
Seems easy enough to get the upper bound id...

https://api.github.com/search/users?q=created:%3E=2016-04-16... (backing off the date if needed)

I would prefer random over ascending.

Re:Git-random: Chrome extension replaces new tab with random... by morninj on Saturday April 16, 2016 @12:25PM (#11511147)
I think this would be more interesting if it showed a random repo with more than n stars (maybe n = 10?). There are a lot of empty user profiles.
Re:Git-random: Chrome extension replaces new tab with random... by to3m on Saturday April 16, 2016 @01:47PM (#11511514)
Language selection would be good too - possibly by excluding uninteresting ones rather than actively including them though. This would keep the results slightly surprising; the point is just to let you ignore languages that might otherwise be overrepresented.

See, e.g., http://githut.info/ - if you're not interested in one or more of Javascript, Java, Python, PHP, C, C++ or Ruby, you could easily see a lot of uninteresting projects.

Re:Git-random: Chrome extension replaces new tab with random... by t3nary on Saturday April 16, 2016 @01:33PM (#11511458)
This does sound a lot more useful. The majority of GitHub users don't have any real projects. Maybe only showing GitHub users that have more than n followers would be better.
Re:Git-random: Chrome extension replaces new tab with random... by douglance on Saturday April 16, 2016 @10:49AM (#11510771)
But why?
Re:Git-random: Chrome extension replaces new tab with random... by cooper12 on Saturday April 16, 2016 @11:20AM (#11510895)
Likely so you could see things other people have open-sourced that you might not have before. It would probably be most useful for getting ideas of what people have made rather than finding projects to contribute to, since a lot of these will be abandoned projects. (Or you could see where people contribute their time) I think seeing profiles of "active" users might be more helpful.
Re:Git-random: Chrome extension replaces new tab with random... by crypticlizard on Saturday April 16, 2016 @02:20PM (#11511661)
I can see the appeal of novel approaches to the discovery problem. I sure wish apple had this for the app store! Anyway, it's fun, and the internet can be boring when it's too rigid, so that's why I'm using it. This extension reminds me of /r/all
Re:Git-random: Chrome extension replaces new tab with random... by vermooten on Saturday April 16, 2016 @10:56AM (#11510802)
At last!