Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Nao
2191
Features: Miscellaneous / Re: Cool stats!
« on November 30th, 2013, 05:54 PM »
I think I'll be going for filters. Allowing you to get either averages or sums. That way, I don't have to choose for you, ah ah....
2192
Features: Miscellaneous / Re: Cool stats!
« on November 30th, 2013, 01:15 PM »
Updated the wedge.org version with the latest.
It still doesn't allow you to change your scope/range (don't bother with the select box, it does nothing), but this one is updated to show the last year's statistics.

It's important to point out -- I made a change to gather monthly statistics by average, rather than sum. I'm still determining whether it's for the best, and whether I should make SOME statistics sums, and the rest averages. e.g., number of registrations: it might be best as a sum. Hits: I don't know. Topics, posts: I think an average is best..??!!
The thing to remember with averages, is that they solve the problem of harmonizing months with a large difference in days (namely, from January to February, you might lose up to 15% even when retaining the same averages.)

Opinions are welcomed.
2193
Features: Miscellaneous / Re: Cool stats!
« on November 30th, 2013, 12:23 AM »
So... I've been working on rewriting the entire daily/monthly stat stuff, at this point. It just 'didn't' work the way it used to, with the new chart system.

I'm working with ranges at this point. You'll get a select box, with these (at least) three options:
- Last 30 days (daily stats) (default)
- Last 12 months (monthly stats)
- Custom: I'm planning to add an additional range type selector, where you can select a beginning month, and an end. If you choose an end month, you'll get monthly stats; otherwise, daily stats for that month.

Does that seem sensible at all..? Or overkill? Or not enough?
2194
Features / Re: New revs
« on November 29th, 2013, 11:00 PM »
rev 2337 -- 1337, v2.0
 17 files changed, 45 insertions(+), 42 deletions(-), 2.84 KiB

* If the Wess analyzer finds an entry like '20px' without surrounding quotes, it will parse it as a number, as long as it starts with digits. (Class-System.php)

! This bit may be confusing (and/or controversial, feedback is welcome), but other variables will need to be surrounded with quotes, like the $vertical_align test in the inline-block mixin. I *could* force the addition of quotes at parse time, but I'm not sure it's worth the hassle. (common.css, index.css)

! Fixed select box height at selection time. (index.css)

* Renamed a confusing variable. (Class-CSS.php)

- Extra unneeded param. (repair_settings.php, not used anyway.)

* Spacinazi. (Class-System.php, Like.php, Load.php, ManageInfractions.php, ManageLanguages.php, ManageMail.php, ManagePlugins.php, ManageSearch.php, Pin.php, Profile-Actions.php, Reports.php, Subs-Plugins.php, Subs-Post.php)
2195
Off-topic / Re: Merry Turkey day!!
« on November 29th, 2013, 06:28 PM »
:(
2196
Off-topic / Re: Merry Turkey day!!
« on November 29th, 2013, 07:05 AM »
Turkish national day? Or 'Last Supper' day? :niark:

Nb: US readers make up 20% of wedge.org stats.
2197
Off-topic / Re: Doctor Who
« on November 28th, 2013, 01:19 PM »
Quote from Bloc on November 25th, 2013, 10:26 PM
At least its nice to see the old episodes again, reminded me really how very accidentally I stumbled over it. Saw a episode from season 3 believing it was a straight comedy, and realized not. :D
I had the exact thing happen to me -- except with Babylon 5. Pretty much the first scene I saw had Centauris in it. With the weird wigs. I thought it was a low-budget parody Star Trek parody. Turned out, it was a low-budget Star Trek killer. Not the same thing. :P
2198
Off-topic / Re: Zend OPCache & APC
« on November 28th, 2013, 01:17 PM »
Well, then maybe Wedge isn't that bad at SEO after all, eh eh... :eheh:
2199
Features: Miscellaneous / Re: Cool stats!
« on November 28th, 2013, 01:17 PM »
Thanks :)
Yeah, it's supposed to look good in mobile, actually this is the first I saw of that jQuery plugin -- on my smartphone. I got the immediate 'wow' effect, and although there are tons of other graph plugins, I settled on that one. I updated it yesterday to be more in line with my coding guidelines[1]. Once the updated stats page is out for the public to see (or at least Wedge is out), I'll try to do a pull request over there, and offer my changes.

I made a small change to reduce the height of charts in mobile. Also, I'm working on 'modularizing' the list of stats to be shown there.
 1. Spacinazi etc., overhauled semi-colon handling to allow minifying through Packer, and fixed tooltips to work in Chrome.
2200
Features / Re: New revs
« on November 27th, 2013, 05:18 PM »
rev 2336
 7 files changed, 55 insertions(+), 88 deletions(-), 2.08 KiB

- Removing markAsRead for PM previews. I believe most PMs are made to be answered, and if a PM is marked read and you forget about it, well... Wedge needs to bother you about it; you can preview it to read it, but you'll still need to visit the page if you want it marked as read. (PersonalMessage.php, script.js)

! Firefox needed even stronger protection against flexbox+code bugs. Sigh. (topic.js)

! Draft permission entries weren't translated in reports. Also useless colons. (Reports.php, Reports.template.php)

! Fixed a couple of minor issues in JS strict mode. (script.js)

* Looks like jQuery switched their CDN provider, and they now support HTTPS, allowing me to remove some of my fallback code for them. (Load.php, Subs-Cache.php)

* Now allowing JS file links without a protocol, but with the protocol header hack (//), to be seen as direct links. (Subs-Cache.php)
2201
The Pub / Re: Is the admin area in urgent need of an overhaul?
« on November 27th, 2013, 05:04 PM »
Possibly, yes.

Okay, I'll leave this aside for now, with the understanding that if future plugins are broken by a later rewrite, its not my fault, I wanted to do it first :P
2202
Off-topic / Re: Zend OPCache & APC
« on November 27th, 2013, 05:02 PM »
Maybe because opcache isn't the official name?
2203
Features: Miscellaneous / Re: Cool stats!
« on November 27th, 2013, 05:02 PM »
No one else..?
2204
Features: Miscellaneous / Re: Cool stats!
« on November 27th, 2013, 12:27 AM »
Stats, for admins only..? Well, I could always add privacy settings to these things (and I guess I can, this privacy system is as flexible as one wants it to be), but I've never seen anyone complain about that, really...
Of course, as it's more graphical, it's easier to see that the participation level on wedge.org is decreasing steadily, but the same can be seen on the sexy-less page, so... It's just less striking, I guess. But it's not a problem, I'm not in a competition anyway. I just like nice charts...!
2205
Features: Miscellaneous / Cool stats!
« on November 26th, 2013, 07:21 PM »
Feature: Statistics charts
Developer: Nao
Target: everyone
Status: 90% (stats page believed complete; planning to implement on other stats, but not right now.)

http://wedge.org/do/stats/

Look at that... :)

Needs some work, most notably I'll implement some select boxes to automatically refresh data (or Ajaxively refresh it), so you can get a 'range' of your choice, and/or disable the entries that you're not interested in (new members, etc.)
But this is what I managed to cook up after a few hours of work, and I'm very happy with it. Great plugin, really! It only had a bug which prevented the tooltips from working, so I fixed that, and I may start contributing to the project, because I'm thinking of adding more details in tooltips, etc.

Feedback welcome, as always!

:edit: Read following posts to view progress on implementation, which is now 100% on the main stats page.
:edit: Moved the topic to public!