User Controls
A Working "Who is Online" would be sweet
-
2016-11-17 at 3:54 AM UTCPretty please with some sugar on top.
-
2016-11-17 at 4:44 AM UTCThere should be the lights on next to our usernames when someone is online. Or perhaps a giant neon penis.
-
2016-11-17 at 5:48 AM UTCA working "who's a faggot" would also be nice.
-
2016-11-17 at 6:48 AM UTCI never understood how that feature worked. What does it mean for someone to be "online"? HTTP entails communication on page load but there's no way good way to divine when someone leaves a page or the site (WS heartbeat is not an acceptable solution, FUCK sites that pull that shit). Is it just like "you're online for N-minutes after your last page load"? That's kind of a pain to manage in the db plus is that really data you want to be publically available? I wrote a script on zoklet to poll for users' "current activity" so I could see who was looking at what it was kind fucked up that that was possible.
-
2016-11-17 at 12:51 PM UTC
Originally posted by Lanny I never understood how that feature worked. What does it mean for someone to be "online"? HTTP entails communication on page load but there's no way good way to divine when someone leaves a page or the site (WS heartbeat is not an acceptable solution, FUCK sites that pull that shit). Is it just like "you're online for N-minutes after your last page load"? That's kind of a pain to manage in the db plus is that really data you want to be publically available? I wrote a script on zoklet to poll for users' "current activity" so I could see who was looking at what it was kind fucked up that that was possible.
Something something cookies. Tell me if i am wrong but each time you load a page a cookie authenticates against the DB right? This is why you don't have to log in each new page. Well, what if you make it so that if a cookie hasn't authenticated against the DB in the last 15 minutes a user is considered offline. -
2016-11-17 at 3:41 PM UTCYou can keep sessions (the chunk of data the session cookie is an index into, including your user credentials) in the database if you want but in practice, since you need to fetch sessions on every page load, you keep them in memory or some kind of cache with mostly memory-like performance. I could start burning timestamps into sessions on access and build up the "online users" section by iterating the sessions and picking the ones that had been used in the last 15 minutes but it means people will appear online for 15 minutes after closing their last tab and if they stare at a page for 15 minutes without navigating they'll be registered as offline. I mean that's probably a pretty good approximation of "being online" but I just never knew what the logic for those things was
-
2016-11-18 at 2:23 AM UTC
Originally posted by Lanny You can keep sessions (the chunk of data the session cookie is an index into, including your user credentials) in the database if you want but in practice, since you need to fetch sessions on every page load, you keep them in memory or some kind of cache with mostly memory-like performance. I could start burning timestamps into sessions on access and build up the "online users" section by iterating the sessions and picking the ones that had been used in the last 15 minutes but it means people will appear online for 15 minutes after closing their last tab and if they stare at a page for 15 minutes without navigating they'll be registered as offline. I mean that's probably a pretty good approximation of "being online" but I just never knew what the logic for those things was
I get the general idea but you're the computer scientist, do some computer science :P -
2016-11-18 at 2:35 AM UTC
Originally posted by Lanny I never understood how that feature worked. What does it mean for someone to be "online"?
Are you fucking stupid? take the last page a user opened and add like 30 minuets from the time it was opened. No forum actually knows how many users are currently connected, but assumptions can be made based off average browsing time and shit. Its pretty fair to say a "whose online" is more of a "who might be online". -
2016-11-19 at 9:46 PM UTCDude every website has one.
-
2016-11-19 at 9:51 PM UTC
Originally posted by SCronaldo_J_Trump Dude every website has one.
innovation, man, not imitation. don't be a cuck -
2016-11-19 at 9:54 PM UTC^That's why I type with my cock. A lone wolf in a sea of finger typing sheep.
-
2016-11-19 at 9:56 PM UTC
Originally posted by mmQ ^That's why I type with my cock. A lone wolf in a sea of finger typing sheep.
see? cocks can be useful. vaginas? not so much.
-
2016-11-19 at 10:02 PM UTCDamn it I should have said cock wolf.
-
2016-11-19 at 10:03 PM UTC
Originally posted by antinatalism see? cocks can be useful. vaginas? not so much.
Vaginas guarantee you always have a pocket, and that's pretty cool to me. -
2016-11-19 at 10:04 PM UTC
Originally posted by thelittlestnigger Are you fucking stupid? take the last page a user opened and add like 30 minuets from the time it was opened. No forum actually knows how many users are currently connected, but assumptions can be made based off average browsing time and shit. Its pretty fair to say a "whose online" is more of a "who might be online".
Originally posted by SCronaldo_J_Trump Dude every website has one.
If you want to write it the link to the repo is right there in the footer, you are 100% free to add the feature yourself. -
2016-11-19 at 10:10 PM UTC
Originally posted by Lanny If you want to write it the link to the repo is right there in the footer, you are 100% free to add the feature yourself.
I'll do it. Just give me the code and I'll do the rest. -
2016-11-19 at 10:13 PM UTC
Originally posted by mmQ Vaginas guarantee you always have a pocket, and that's pretty cool to me.
We've got asses, son, the true nature's pocket. At lot of stuff can be stored in your ass -
2016-11-19 at 10:36 PM UTC
Originally posted by mmQ I'll do it. Just give me the code and I'll do the rest.
...like I said, right there in the footer.
In fact if you've found a bug or have a feature request and you don't want me to forget about it because it's buried in some thread I won't remember reading when I sober up, you can open a ticket here. -
2016-11-19 at 10:39 PM UTC
Originally posted by Lanny …like I said, right there in the footer.
In fact if you've found a bug or have a feature request and you don't want me to forget about it because it's buried in some thread I won't remember reading when I sober up, you can open a ticket here.
I was trying to make a joke. I suck. -
2016-11-22 at 5:03 AM UTC
Originally posted by mmQ ^That's why I type with my cock. A lone wolf in a sea of finger typing sheep.
Nnjoott shloo fass5*t tgchere budfghy.
I'm working on it.