The Glowfic Constellation

Do you have a setting, character, plot, art, or other notion that you wish to put on the Internet? This is the Internet! Whee!
User avatar
Ezra
Posts: 944
Joined: Tue Mar 25, 2014 11:15 am
Pronouns: he/him/his

Re: The Glowfic Constellation

Post by Ezra »

This was apropos of a conversation I had with Throne on Discord a couple weeks ago.

And no, it always seems to go to the first reply on the page, even if I've (a) hit an anchor already or (b) loaded it with a Next link so there shouldn't be any anchor involved.

Edit: maybe not, no longer sure
Last edited by Ezra on Tue May 16, 2017 11:16 pm, edited 1 time in total.
User avatar
Unbitwise
Posts: 535
Joined: Tue Dec 16, 2014 9:39 am
Pronouns: he (or they or whatever)
Contact:

Re: The Glowfic Constellation

Post by Unbitwise »

Tangentially, is there a reason for the special unread URLs instead of the unread page generating links to the specific page? I would mildly prefer the latter.
User avatar
pedromvilar
Posts: 1172
Joined: Sun Mar 23, 2014 11:48 am
Pronouns: *shrug*
Contact:

Re: The Glowfic Constellation

Post by pedromvilar »

Yes, it's so people can just refresh the page and automatically be looking at the most recent unread.
Marri
Posts: 1026
Joined: Mon Mar 31, 2014 7:47 am

Re: The Glowfic Constellation

Post by Marri »

It's also a significant performance improvement - means I don't have to calculate where unread is until you actually try to go there, unlike trying to load it for every single post in the list at once.
User avatar
Unbitwise
Posts: 535
Joined: Tue Dec 16, 2014 9:39 am
Pronouns: he (or they or whatever)
Contact:

Re: The Glowfic Constellation

Post by Unbitwise »

Yes, it's so people can just refresh the page and automatically be looking at the most recent unread.
That's exactly the part I don't want. I want refreshing to give me "updated view of this page" not "the next page! surprise!"

But, yes, the other way is … reasonable.
It's also a significant performance improvement - means I don't have to calculate where unread is until you actually try to go there, unlike trying to load it for every single post in the list at once.
The unread list is already displaying the number of posts and the number of unread posts. That implies you already have all the necessary information and don't need any additional queries, no?
Kappa
Posts: 3554
Joined: Fri Mar 21, 2014 5:47 pm
Pronouns: 'He' or 'she', interchangeably
Location: under a pile of Jokers
Contact:

Re: The Glowfic Constellation

Post by Kappa »

The unread list isn't the only place with unread links, iirc, they show up in a bunch of places. And even if it's not more database queries to calculate all those links, it's still more computation.
User avatar
pedromvilar
Posts: 1172
Joined: Sun Mar 23, 2014 11:48 am
Pronouns: *shrug*
Contact:

Re: The Glowfic Constellation

Post by pedromvilar »

Also you do in fact need additional queries because a given reply's number isn't a function of how many posts a thread has, it's a unique universal number across all replies of all threads.
Marri
Posts: 1026
Joined: Mon Mar 31, 2014 7:47 am

Re: The Glowfic Constellation

Post by Marri »

I have the information but I'm mostly doing COUNT(x) queries to the database; so I know the number but I haven't actually loaded the objects themselves. (See also: memory concerns.)
User avatar
MaggieoftheOwls
Posts: 733
Joined: Sun Apr 05, 2015 7:39 pm
Pronouns: she/her/hers

Re: The Glowfic Constellation

Post by MaggieoftheOwls »

If I have a page on unread and want to refresh it for more replies I just click a tag permalink.
User avatar
Adelene
Posts: 678
Joined: Fri Mar 21, 2014 5:18 pm
Pronouns: they

Re: The Glowfic Constellation

Post by Adelene »

MaggieoftheOwls wrote:If I have a page on unread and want to refresh it for more replies I just click a tag permalink.
I really do object to having to use a workaround because a website has decided to co-opt the button that's supposed to do the thing I want to do something else instead, though. Like, I'll live with it, see how I haven't been complaining, but.
Utility Admin
Post Reply