supertuxkart / stk-stats Goto Github PK
View Code? Open in Web Editor NEWTool to record and display statistics about SuperTuxKart clients
License: MIT License
Tool to record and display statistics about SuperTuxKart clients
License: MIT License
Not only would we need the version number, but if possible also the 'source': e.g. self compiled, our binary, Ubuntu, ... not sure how to enforce this though :(
We would require at cmake time to add a specific -D (but then we need this for any user as well :( ). Perhaps only enforce this in our src package (assuming that all packager just pick up the src package, and not a certain revision from our repo). Or is there an api/etc-something-file we could use to find which distribution was being used? For Suse we can look at /etc/SuSE-release (for older Suse), and /etc/os-release:
NAME=openSUSE
VERSION="13.1 (Bottle)"
VERSION_ID="13.1"
PRETTY_NAME="openSUSE 13.1 (Bottle) (x86_64)"
ID=opensuse
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:opensuse:13.1"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://opensuse.org/"
ID_LIKE="suse"
Similarly information about windows and osx version.
It's easy enough to add this on the STK side (once we figure out how to get it ;) ), I have just no idea about the server side.
Address used:
http://addons.supertuxkart.net:8080/upload/v1/
[error ] HW report: Error uploading the HW report.
[error ] HW report:
Firewall? Or something wrong on my side?
The user count and OS data appears to be fine, but all other tables either show only one or no entry.
Currently every time the maint_graphics.py
generates the report data, it removes all the old data and starts to process all the new data from scratch.
This is quite inefficient as it takes quite a lot of CPU power and memory (especially on low ram machines, cough digitalocean VPS).
A better solution would be:
userreport
table that was affected.graphicsdevice
table.As this code is forked from 0 A.D. it has some custom data version logic specific to it.
I think it will be better to reset all data versions checking in the code to 1. We can add our own specific data version checking later, if we change what kind of data is sent in different versions of STK.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.