Check out our Monthly Survey Page to see what our users are running.
We do often include affiliate links to earn us some pennies. See more here.

Announcing the beta of our User Stats page

By - | Views: 21,543
I am pleased to show off a work-in-progress user statistics page that will form part of our new survey system. The old survey was based on google docs which became a bit of a nuisance to manage properly, and it seems it gave people fatigue filling it out. This way, a bunch of information that doesn't change often is easily set by you. It also means you don't need google for something, so that's nice.

To get this out of the way: Why are we not using some script to gather info from your machines? It would take me far longer to learn how to do that and to be honest, the time and effort involved in getting that would probably not be worth it. I also have doubts about how many people would even do it.

I allowed my Patreon supporters to get an early look at it, but I am now pleased to offer all of you a look at this in-progress system.

It uses the data gathered by peoples profiles (so go update them).

The chart/graph system uses the SVGGraph library (same one we use for the GOTY award), which is under the LGPL v3 license. I have been tinkering away at it for a few days, and I personally think it's starting to look pretty cool.

It will probably get wiped a few times along the road, so if you see it blank or come up with errors it will be worth waiting a few minutes to try again.

What is good about it, is that it will automatically run via a cronjob and then store the output in a database. Currently I run it manually, as it's being worked on often to include new graphs and adjust existing graphs. When more complete, it will hopefully run once a month.

No user information (not even your username) is gathered for it, so the results are completely anonymous (honestly they are!).

It will also be possible to include them easily in an article, since I already have that coded in from the GOTY award.

On top of that, it will store each generation separately, so it will be easy to compare and include previous ones :). When I come up with a nice way to do it, I will allow you to select a date to view the statistics of.

Finally, the distribution dropdown list has been moved to the bottom of the User Control Panel to sit with the rest of the PC info section. Makes more sense that it is there. I have also updated the code behind that to make it easier to add more distributions. We also recently added a few like SteamOS and Solus.

Update: You can now set your PC Info to private from your User Control Panel, so it will hide it from profiles and not display a link to grab it in comments.

Check out the user statistics page here.

Let me know what you think for this early WIP preview.

This is only the start of the new system, there will eventually be a monthly page for anonymous users (without needing to be registered/logged in) to fill a survey. This is much easier to do for now to show actual results right away as a proof of concept.

If you like seeing stuff like this, support me on Patreon to allow me to have more time to do it! If you can't, that's cool, if you don't want too, that's cool too! Article taken from GamingOnLinux.com.
0 Likes
About the author -
author picture
I am the owner of GamingOnLinux. After discovering Linux back in the days of Mandrake in 2003, I constantly came back to check on the progress of Linux until Ubuntu appeared on the scene and it helped me to really love it. You can reach me easily by emailing GamingOnLinux directly. Find me on Mastodon.
See more from me
The comments on this article are closed.
48 comments
Page: «3/5»
  Go to:

Creak May 31, 2016
Thanks Liam! That's a really cool tool that you've made here! In the long run, you might show a little reminder when a user visits the website and that his data haven't changed for 6 months (with two buttons "Let's update this" and "I still have the same old rig" ;))

Hope more people will fill their data!
Creak May 31, 2016
Quoting: liamdaweYes, profiles can be looked at of course, but I am talking purely in regards to this page right now. The information behind the stats page does not store user_id's, usernames or anything. Only the overall counter for each bit.
I think what @no_information_here is saying is that if you go to my profile page in a private window, you'll see all my information, including the ones in your anonymous stats ;)

From there is it quite easy to scrape the information from all the users using a simple `curl` script. Basically, all our information are publicly available and that is a pretty important concern.

It would be nice if it was possible to set different levels of privacy ("public", "admins only" or, maybe later, "GoL friends" ;)). Making it available to all GoL members is almost as useless as publicly available for someone concerned with his anonymity, since a malicious user can still create an account and scrape all he wants.

(BTW you've got a problem with `https` links for user's website ;))


Last edited by Creak on 31 May 2016 at 3:21 am UTC
Liam Dawe May 31, 2016
Okay point well made. I will include an option for people to hide their PC info from their profiles.
Eike May 31, 2016
View PC info
  • Supporter Plus
I agree to sorting the RAM by size.
I wonder if it will stay the only one, as screen resolution should be sorted by (screen) size as well, IMHO.
By the way, I would use ranges for screen resolution. I'm sure there are lots of esoteric resolutions our there, but IMHO, we don't need to know exact.


Last edited by Eike on 31 May 2016 at 6:55 am UTC
ChuckDaniels87 May 31, 2016
Quoting: liamdawe
Quoting: ChuckDaniels87I really like this idea. I've got just one suggestion: use a better colour palette. There are some palettes used by other libs (matplotlib, seaborn,...) that could give a more homogeneous and nicer look to the graphs:

- husl (link

- ColorBrewer (link

- cubelix (link

There is interesting info about palettes in matplotlib documentation (link.

The colours (apart from Intel, AMD and Nvidia which are manually done to the vendors known colouring) are built into the script. It may not be that easy to override the defaults with a new set.

You just have to create a custom palette in SVGGraph (check this link.
Taking [8-Class Set1 palette in ColorBrewer](http://colorbrewer2.org/?type=qualitative&scheme=Set1&n=8), you just have to copy the HEX color codes:

 
$colours = array(
    '#e41a1c',
    '#377eb8',
    '#4daf4a',
    '#984ea3',
    '#ff7f00',
    '#ffff33',
    '#a65628',
    '#f781bf'
 );
 $graph->Colours($colours);
Liam Dawe May 31, 2016
Slick thanks, didn't dive into that part of the docs yet will give that a go later when I put in the privacy option for the profile bit :)
khalismur May 31, 2016
Hey Liam

Good job. Looks amazing.

Maybe it's time to separate Manjaro from Arch? It's a spin off yeah but it is also a beast of its own right now (well ahead of Arch in distrowatch) . I'd guess maybe even more users than Arch itself. Otherwise, join Ubuntu and Debian again ;-)


Last edited by khalismur on 31 May 2016 at 9:52 am UTC
Liam Dawe May 31, 2016
Quoting: khalismurHey Liam

Good job. Looks amazing.

Maybe it's time to separate Manjaro from Arch? It's a spin off yeah but it is also a beast of its own right now (well ahead of Arch in distrowatch) . I'd guess maybe even more users than Arch itself. Otherwise, join Ubuntu and Debian again ;-)
Manjaro and Arch are already different items (all the data is using the GOL Distro dropdown, you can see for yourself).

Edit: in fact, you can already see they both show up on the graph.


Last edited by Liam Dawe on 31 May 2016 at 10:50 am UTC
ripper May 31, 2016
Quoting: liamdawe
Quoting: Dea1993into the gpu driver graphs you also must add Hybrid driver (AMDGPU-PRO, is open and closed)
Done. You can now select it on your profile, won't show up of course until new graphs are generated.

I don't think it's much useful to make this distinction and it will only confuse people. Catalyst is now dead, it will phase out from distros very soon. And AMDGPU-PRO is still closed, it doesn't really matter that some parts are open, the bundle is closed overall. You are running a closed blob, and whether it is a kernel driver or a userspace driver is just an unimportant detail. So having just "opensource" and "closed" covers all cases and is simple.


Last edited by Liam Dawe on 31 May 2016 at 11:04 am UTC
Liam Dawe May 31, 2016
Quoting: ChuckDaniels87
Quoting: liamdawe
Quoting: ChuckDaniels87I really like this idea. I've got just one suggestion: use a better colour palette. There are some palettes used by other libs (matplotlib, seaborn,...) that could give a more homogeneous and nicer look to the graphs:

- husl (link

- ColorBrewer (link

- cubelix (link

There is interesting info about palettes in matplotlib documentation (link.

The colours (apart from Intel, AMD and Nvidia which are manually done to the vendors known colouring) are built into the script. It may not be that easy to override the defaults with a new set.

You just have to create a custom palette in SVGGraph (check this link.
Taking [8-Class Set1 palette in ColorBrewer](http://colorbrewer2.org/?type=qualitative&scheme=Set1&n=8), you just have to copy the HEX color codes:

 
$colours = array(
    '#e41a1c',
    '#377eb8',
    '#4daf4a',
    '#984ea3',
    '#ff7f00',
    '#ffff33',
    '#a65628',
    '#f781bf'
 );
 $graph->Colours($colours);
Actually, is it possible to find one with 10 items, as our graphs on the page will have a max of 10, not 8 you provided there. Or else we will end up with duplicate bar colours for two of them.

Edit: Turns out that site lets you select different numbers, awesome, new colours will go up tonight :)


Last edited by Liam Dawe on 31 May 2016 at 11:05 am UTC
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
The comments on this article are closed.