diff options
Diffstat (limited to '_posts/2011-06-20-stargit.md')
| -rw-r--r-- | _posts/2011-06-20-stargit.md | 42 |
1 files changed, 20 insertions, 22 deletions
diff --git a/_posts/2011-06-20-stargit.md b/_posts/2011-06-20-stargit.md index 0438359..746974b 100644 --- a/_posts/2011-06-20-stargit.md +++ b/_posts/2011-06-20-stargit.md @@ -16,7 +16,7 @@ And of course, [the poster](http://labs.linkfluence.net). Feel free to print it ## The data -All the data are available! Last year I got some mails asking me for the dataset. So this time I asked first if I could release the [data](http://maps.startigt.net/dump/github.tgz) with the [code](https://github.com/franckcuny/StarGit) and the poster, and the anwser is yes! So if you're intereseted, you can download it. +All the data are available! Last year I got some mails asking me for the dataset. So this time I asked first if I could release the [data](http://maps.startigt.net/dump/github.tgz) with the [code](http://git.lumberjaph.net/p5-stargit.git/) and the poster, and the anwser is yes! So if you're intereseted, you can download it. The data are stored in mongodb, so I provide the dump which you can easily use: @@ -28,7 +28,7 @@ The data are stored in mongodb, so I provide the dump which you can easily use: {% endhighlight %} Now you can use mongodb to browse the imported database. There is 5 collections: profiles / repositories / relations / contributions / edges. - + ## Methodology Last year I did a simple "follower/following" graph. It was already interesting, but it was also *really* too simple. This time I wanted to go deeper in the exploration. @@ -69,7 +69,7 @@ I've collected: * 40 807 repositories This took me about a month in order to collect the data and to build the adapted tools. - + ### Accounts creations The following chart show the number of account created by month. "Everyone" means the total of accounts created. You can also see the numbers for each communities. @@ -79,9 +79,9 @@ On the "Everyone" graph, you can see a huge pick around April 2008, that's the d For most of the communities, the number of created accounts start to decrease since 2010. I think the reason is that most of the developers from those communities are now on GitHub. <script language="javascript" type="text/javascript" src="/static/js/jquery.js"></script> -<script language="javascript" type="text/javascript" src="/static/js/jquery.flot.js"></script> +<script language="javascript" type="text/javascript" src="/static/js/jquery.flot.js"></script> -<div id="placeholder" style="width:800px;height:300px;"></div> +<div id="placeholder" style="width:800px;height:300px;"></div> <ul class="actions"> <li class="minibutton"><input class="fetchSeries" type="button" value="Everyone" href="/static/json/global.json"></li> @@ -97,7 +97,7 @@ For most of the communities, the number of created accounts start to decrease si <li class="minibutton"><input class="resetSeries" type="button" value="reset"></li> </ul> -<script type="text/javascript"> +<script type="text/javascript"> $(function () { var options = { lines: { show: true }, @@ -106,9 +106,9 @@ $(function () { }; var data = []; var placeholder = $("#placeholder"); - + $.plot(placeholder, data, options); - + // fetch one series, adding to what we got var alreadyFetched = {}; @@ -117,29 +117,29 @@ $(function () { data = []; $.plot(placeholder, data, options); }); - + $("input.fetchSeries").click(function () { var button = $(this); - - // find the URL in the link right next to us + + // find the URL in the link right next to us var dataurl = button.attr('href'); - + // then fetch the data with jQuery function onDataReceived(series) { // extract the first coordinate pair so you can see that // data is now an ordinary Javascript object var firstcoordinate = '(' + series.data[0][0] + ', ' + series.data[0][1] + ')'; - + // let's add it to our current data if (!alreadyFetched[series.label]) { alreadyFetched[series.label] = true; data.push(series); } - + // and plot all we got $.plot(placeholder, data, options); } - + $.ajax({ url: dataurl, method: 'GET', @@ -148,7 +148,7 @@ $(function () { }); }); }); -</script> +</script> ### Languages @@ -252,7 +252,7 @@ This one is really nice. We can clearly see all the communities. There is someth * Python and Perl are also opposed (Perl at the bottom and Python at the top) I'll let you take some conclusion by yourself on this one ;) - + ## France (706 nodes, 1059 edges) ([download PDF](http://maps.stargit.net/france/france.pdf), [download GDF](http://maps.stargit.net/france/france.gdf), [download GEXF](http://maps.stargit.net/france/france.gexf)) @@ -269,8 +269,8 @@ There is three dominants clusters on this one: * Perl * C -The Ruby and Perl one are well connected. There is a lot of japanese hacker on CPAN using both languages. - +The Ruby and Perl one are well connected. There is a lot of japanese hacker on CPAN using both languages. + ## StarGit [StarGit](http://stargit.net) is a great tool we built with Alexis to let you explore **your** community on GitHub. You can read more about the application on [Alexis' blog](http://ofnodesandedges.com/2011/06/20/stargit.html). @@ -279,8 +279,6 @@ It's hosted on [dotcloud](http://dotcloud.com) (I'm still amazed at how easy it ## Credits -I would like to thanks the whole GitHub team for being interested in the previous poster and to ask another one this year :) +I would like to thanks the whole GitHub team for being interested in the previous poster and to ask another one this year :) A **huge** thanks to Alexis for his help on building the awesome StarGit. Another big thanks to Antonin for his work on the poster. - - |
