ballp.it

Projects => The F Plus => Topic started by: Lemon on May 05, 2016, 11:03:54 am

Title: Stats
Post by: Lemon on May 05, 2016, 11:03:54 am
I've been working on this sporadically for a week, and I think I'm done with it.

Click any name to create a pie slice.
Title: Stats
Post by: Lemon on May 05, 2016, 01:14:06 pm
Whoops, links help sometimes.
https://thefpl.us/stats
Title: Stats
Post by: Emperor Jack Chick on May 05, 2016, 01:33:18 pm
Click JW Friedman
Click Isfahan
Click Jack Chick
Click JW Friedman
Notice that JW Friedman now has two bar entries
Click JW Friedman
Notice that one of JW Friedman's bars disappears

Expected results:
The second click of JW Friedman should make the first bar disappear
Title: Stats
Post by: Ashto on May 05, 2016, 01:34:08 pm
Whoops, links help sometimes.
https://thefpl.us/stats
Lemon, May 05, 2016, 01:14:06 pm
That makes more sense. I was pressing usernames on the sites, as well as nametags on people around me, both with little result.

Animations look spiffy!
Title: Stats
Post by: Gyro on May 05, 2016, 01:55:11 pm
Click JW Friedman
Click Isfahan
Click Jack Chick
Click JW Friedman
Notice that JW Friedman now has two bar entries
Click JW Friedman
Notice that one of JW Friedman's bars disappears

Expected results:
The second click of JW Friedman should make the first bar disappear
jack chick, May 05, 2016, 01:33:18 pm

Got this same issue (but with double Lemon).

This is on Firefox 46.0 in Incognito mode on Windows 7.
Title: Stats
Post by: Lemon on May 05, 2016, 02:31:08 pm
Yup, looks like I got a bug in there where the first person you click on refuses to have their pie piece eaten.

I'll look into it, but that's a low priority.
Title: Stats
Post by: Emperor Jack Chick on May 05, 2016, 03:14:51 pm
time to send a rambling email to Jay about how he refuses to eat his pie
Title: Stats
Post by: Lemon on May 05, 2016, 03:35:17 pm
Ooh, figured it out. The problem was in
if (eatPie == false)
rather than
if (eatPie === false)

In Javascript, 1 is the same as "1", unless you specifically say (with triple equals) match the variable and the variable type. Because 0 is a synonym for false, that first slice of pie never got eaten.

Fixed now.
Title: Stats
Post by: Ashto on May 05, 2016, 03:47:38 pm
If you want an even lower priority bug to muse over, the name tags don't display if you hover on them mid-animation. This means that, once the animation ends, you have to hover off and back on in order to display the names properly.
Title: Stats
Post by: One Of The Crappy Pokemon That Nobody Likes on May 05, 2016, 07:04:27 pm
Why am I #4 in the number of episodes a person's been in.

Why would you even do that.

Why do that to your podcast.
Title: Stats
Post by: Sherman Tank on May 05, 2016, 11:05:58 pm
Why am I #4 in the number of episodes a person's been in.

Why would you even do that.

Why do that to your podcast.
One Of The Crappy Pokemon That Nobody Likes, May 05, 2016, 07:04:27 pm

Yeah, you should be in every episode.
Title: Stats
Post by: Nifty Nif on May 06, 2016, 12:54:15 pm
Why am I #4 in the number of episodes a person's been in.

Why would you even do that.

Why do that to your podcast.
One Of The Crappy Pokemon That Nobody Likes, May 05, 2016, 07:04:27 pm

Yeah, you should be in every episode.
Not Always Sherman Tank, May 05, 2016, 11:05:58 pm

I agree.  Why would you do this awful comparison game* to your podcast when we all know that Portaxx is queen?

*edit: comparing yourself to others is emotionally taxing. the javascript is adorable!!
Title: Stats
Post by: junior associate faguar on May 06, 2016, 01:06:22 pm
My internet fame is being unfairly curtailed, I've submitted the doc for an episode and a half, one of the two for 124 and the one for 206, not just one!
Title: Stats
Post by: Lemon on May 06, 2016, 01:45:09 pm
Oh yeah! There was like a six month period where I didn't feel like handling docs with multiple submitters, so I just picked a single attribution for each doc. I knew that would be a problem later on...
Title: Stats
Post by: Zekka on May 07, 2016, 04:39:56 pm
Have you c onsidered doing a pie chart for which episodes are most favorited by people on the meet index?