Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
XonStat 2.0 is now live

#1
XonStat 2.0 is now live!

Keen observers may have noticed that the stats website looks a little different lately. That's because the second iteration of XonStat is now up and running on stats.xonotic.org! This version was written from the ground up to solve many of the pain points of the previous version. There's lot of new stuff happening under the hood, but here are some of the high points compared to what we had previously:

* Code is in Go (statically typed, compiled) instead of Python (duck-typed, interpreted).
* Standard library (net/http) HTTP server instead of WSGI via Gunicorn.
* API documentation instead of...a forum post? Smile
* Redis shared cache instead of per-process, in-memory Beaker cache.
* Foundation 6 instead of Foundation 4 for the CSS framework.
* Chart.js (canvas) instead of NVD3.js (SVG) for charting/visualization.
* Weng-Lin instead of Elo for skill calculations.
* Rate limiting (none previously).
* Tracking of spectators/forfeits (none previously).

You can follow development progress on Gitlab. Feel free to create issues for any bugs you might find (and yes, there *will* be bugs).

Thank you all for supporting me during this transition! Special thanks go to divVerent, Mr. Bougo, bones_was_here, malice, and t0uYK8Ne for their suggestions and encouragement.
asyyy^ | are you releated to chuck norris?
Reply

#2
That is just awesome!  Thank you, Antipod, for showing it to us, it has been improved so much!!!
Cat Lover, Italian Language Enthusiast, Gaming Advisor Heart
Reply

#3
Nice one Big Grin  - thanks to your effort .... Heart 

Just a question - do you change the recording of data so a single-player-run on xdf-server dosn.t registered since the last 3 days?

Anyway - Thankies

GreetZ Su
Reply

#4
Quote:* Weng-Lin instead of Elo for skill calculations.
Is the new skill stat going to be displayed? And any chance it's going to work with elorebalance or equivalent?
Reply

#5
@Su - no changes were made to the "blank game" criteria since March 5th when there was some additional forfeit handling added.

@gd - Right now it is not shown on HTML pages. It is however available via the API . I don't own the "elorebalance" code, but I have worked to ensure that all attributes are available to use such that the same functionality can be achieved using the new system. I know that the xanmel codebase is already updated to respond back with this information.
asyyy^ | are you releated to chuck norris?
Reply

#6
u ya - forfeit handling was the magical word - I see I see Tongue
Thanks 4 all

GreetZ Su
Reply

#7
(04-29-2021, 07:02 AM)XiaoAnna Wrote: That is just awesome!  Thank you, Antipod, for showing it to us, it has been improved so much!!!

You mean that ironically, don't you? The new stats are total crap. Why is less information shown than before? Unbelievably bad!

Sad Sad Sad
Reply

#8
@TheGoodGamer - I'm glad you like it! The codebase is objectively better, performs better than the past version, and is much more sustainable as a result. I don't regret any of the design decisions I made.
asyyy^ | are you releated to chuck norris?
Reply

#9
So can you tell me why is no IP-Port shown in the Server Info anymore? Some servr are named "Xonotic 0.8.2 Server" and you cann't distinush them. If you then continue on the Server Info page there is no counter anymore to jump to recent pages, there is only a "next" button. The same behavior is on the Player Information page. These are only a few exaples why i think that the new stats are crap. I have no idea about the database, maybe it is better organised behind the scenes, but the information i can see on the stats page is much worse then befor the change.
Reply

#10
(06-02-2021, 02:12 AM)TheGoodGamer Wrote: These are only a few exaples why i think that the new stats are crap.
I would like to point out that work on the stats system is done in spare time on a voluntary basis and, if I am not mistaken, (almost) completely by one person. Constructive criticism is welcome, but nobody owes anyone any specific features, designs or functionalities. I approve that you ask for the reasons the change was made in order to challenge them. But always remember that you get the stats system (as well as the game itself) including the required infrastructure for free. :o)
[Image: 249.png] Latest track on soundcloud: Farewell - to a better Place (piano improvisation)
New to Xonotic? Check out my Newbie Corner!
<ZeRoQL> i think i got 1 proper quad and that cunt halogen fuck me over with a laser
Reply

#11
@TheGoodGamer - Pagination is the way it is because it is faster and more reliable that way. I couldn't do it uniformly throughout the application yet, but it is on my wish list. Plainly put: it is not scalable to show the total number of pages for entities in a database that now houses over a million matches and over 40 million weapon records. It was fine when the database was small, but guess what - things tend to grow around here! You're going to have to get used to it.

I can add back the display of the server IP address and port information to the server pages. That's likely just an oversight on my part when I was porting the templates over. I'll check and confirm.

I appreciate my users and fellow developers, and think I've been pretty responsive to their concerns in the decade that this app has been up and running. I don't provide the same affordances to those who don't approach me in a constructive way because I simply don't have the time or patience for it. In other words, if you want to see some features added or bugs fixed, calling the application that I've chosen to spend my precious free time on "crap" is not the way to go about it Smile

Let me finish by saying this: as the *sole* developer of this application, I reserve the right to make design decisions that impact its long term sustainability. If something is consuming undue resources on the server, takes too much manual effort, or is an endless source of bugs it is more than likely going to get left on the cutting room floor (so to speak). Full stop.
asyyy^ | are you releated to chuck norris?
Reply

#12
(06-02-2021, 03:11 AM)Halogene Wrote: I would like to point out that work on the stats system is done in spare time on a voluntary basis and, if I am not mistaken, (almost) completely by one person.

Just because the stats are programmed on a voluntary basis doesn't mean that I have to think it's good. Nobody forces the programmer to do the work for free. The decision to do a job without pay in its free time is up to each individual.
Reply

#13
You are always welcome to do a pull request.
Reply

#14
In my time exploring other projects this past month, I've seen this exact topic come up very frequently...
As a user you are of course welcome to provide feedback. However, here more so than most, it is important to be courteous and respectful with your responses.

On a lighter note; congratulations Antibody on the release of XonStat 2.0!!
[Image: 230.png]
Reply

#15
(06-03-2021, 10:11 AM)TheGoodGamer Wrote: Just because the stats are programmed on a voluntary basis doesn't mean that I have to think it's good. Nobody forces the programmer to do the work for free. The decision to do a job without pay in its free time is up to each individual.
No one requests from you to like it. Think of it like a gift someone has made you while having put a lot of effort into it. It is a question of respect and politeness in responding to such a thing. If you find it difficult to show respect in your posts, please show respect by keeping your thoughts to yourself. That is very easy.
[Image: 249.png] Latest track on soundcloud: Farewell - to a better Place (piano improvisation)
New to Xonotic? Check out my Newbie Corner!
<ZeRoQL> i think i got 1 proper quad and that cunt halogen fuck me over with a laser
Reply

#16
Was it intentional that badges disappeared? Just asking I'm having fun writing my own xonotic badge server (see sig).

Would you accept MR adding badges back? The old ones were pretty but I have the artistic nerve of a potato so I would be somthing very simple like below.
[Image: badge]
Reply

#17
No MR is required. It's basically pending the movement of the stats server to different hosting.
asyyy^ | are you releated to chuck norris?
Reply



Possibly Related Threads...
Thread Author Replies Views Last Post
Big Grin XonStat records its millionth game! Antibody 2 2,726 02-27-2018, 07:11 AM
Last Post: Halogene
  XonStat data snapshot released Antibody 10 10,574 01-21-2017, 03:36 PM
Last Post: Antibody
  XonStat Records Its 100,000th Game! Antibody 11 11,907 12-21-2012, 07:40 AM
Last Post: bitbomb

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-