New Koan! · 1:20am Mar 18th, 2015
New koan! This one comes with a Twist.
UPDATE: I had a rant here about discrete versus real-value data because of a picture I discuss in the following post.
It turns out the problem is that PHP is stupid, which makes the above a natural output rather than one done by sheer ignorance. See the next blog post for details, if you care.
Your image is broken.
2887163
Does that work now?
2887189
Yes, it does.
Why on earth would you keep track of seconds of reading time...
And how did you get that picture? Reading stats haven't been a thing for months.
2887898
Reading stats are all over the site, hon.
You would keep track of seconds because "two minutes forty-five seconds" is more informative than "two minutes".
I read your rant in the voice of Twilight Sparkle
Actually, you could send Knighty (or whoever is the site maintainer these days) a message about this, because with FimFiction being a front-end to several fan sites now it's going to be even more important (and more storage/CPU-efficient) to do things the right way.
2890068
I just looked this thing up in PHP and it looks like the language itself might be at fault. Maybe.
In Windows, PHP automatically converts anything above 2Gib-1 to a floating point value. So if at any stage of the calculation there is any large number, the whole thing breaks.
Imma look into it further before reporting it.
2887861 2888516 2890068 2887203 2887898
It turns out to be an issue that is mostly PHP's fault (after doing a little research on my own). It is fixable, but it isn't "naturally" fixable (good coding practices won't have any effect by themselves), so I can forgive a programmer for making the mistake.
PHP is a terrible, terrible language.
2888319
Ah, where? I haven't seen any for months. I looked on your user page, I looked on my user page, I looked on everyone's user page. Where?
And I know that seconds are more informative than minutes. Thank you for that. I am wondering why you would keep track of seconds of reading time; it seems ridiculous.
2890642
For one, go to your library and click on a shelf. Total reading time will be displayed there. Same for any Stories page. I think it's also true for searches. Anywhere there are multiple stories, essentially.
I'm not sure why it doesn't do it for individual stories, though, as that would be highly informative. You can always find out by adding a single story to a new bookshelf.