You are either not logged in or not registered with our community. Click here to register.
 
December 04, 2016, 06:45:29 PM

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

Click here if you are having problems.
Default Wide Screen Beige Lilac Rainbow Black & Blue October Send us your theme!

Hark!  The Herald!
Holiday Issue 2016

Wiki Blogs Dicebot

Author Topic: Updated Topics showing my posts?  (Read 1276 times)

0 Members and 1 Guest are viewing this topic.

Online OniyaTopic starter

  • StoreHouse of Useless Trivia
  • Oracle
  • Carnite
  • *
  • Join Date: Sep 2008
  • Location: Just bouncing through. Hi! City of Roses, Pennsylvania
  • Gender: Female
  • One bad Motokifuka. Also cute and FLUFFY!
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 3
Updated Topics showing my posts?
« on: January 25, 2009, 01:15:40 PM »
Until today, when I refreshed the "'Show new replies to my posts' screen, it would show only those threads that I had posted in, but was not the most recent poster.  Today, I'm noticing that when I post in a thread, it's showing up as a 'New reply'.  Is this a bug or a feature?

Offline Paradox

Re: Updated Topics showing my posts?
« Reply #1 on: January 25, 2009, 01:24:17 PM »
You mean, after you post in a thread, your own post shows up as unread in that list?

It's been doing that to me as well.

Offline Maeven

Re: Updated Topics showing my posts?
« Reply #2 on: January 25, 2009, 01:25:25 PM »
test

Hah. I hadn't noticed that and I don't think it was doing it before but it is now.




Offline Karma

Re: Updated Topics showing my posts?
« Reply #3 on: January 26, 2009, 10:27:57 AM »
Also, threads in Updated Topics are either taking really long to go away or are having to be manually marked as read at least twice to go away, for me.

Offline Paradox

Re: Updated Topics showing my posts?
« Reply #4 on: January 26, 2009, 10:28:33 AM »
Also, threads in Updated Topics are either taking really long to go away or are having to be manually marked as read at least twice to go away, for me.

I've been experiencing the same thing.

We should tell Veks.

Offline Paradox

Re: Updated Topics showing my posts?
« Reply #5 on: January 26, 2009, 10:55:57 AM »
I told Veks; he wants to know if it's still doing it, so this is a test post.

(let me know if it's still happening to you, Oniya)
« Last Edit: January 26, 2009, 11:00:15 AM by Paradox »

Offline Maeven

Re: Updated Topics showing my posts?
« Reply #6 on: January 26, 2009, 10:57:48 AM »
It's not happening to me.

Online OniyaTopic starter

  • StoreHouse of Useless Trivia
  • Oracle
  • Carnite
  • *
  • Join Date: Sep 2008
  • Location: Just bouncing through. Hi! City of Roses, Pennsylvania
  • Gender: Female
  • One bad Motokifuka. Also cute and FLUFFY!
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 3
Re: Updated Topics showing my posts?
« Reply #7 on: January 26, 2009, 10:58:55 AM »
It happened to me earlier today - I'll edit in a moment if it happens with this post.

EDIT:  It did -not- happen with this post.

Offline Paradox

Re: Updated Topics showing my posts?
« Reply #8 on: January 26, 2009, 11:00:04 AM »
It's stopped for me as well.

Offline Karma

Re: Updated Topics showing my posts?
« Reply #9 on: January 26, 2009, 11:04:09 AM »
This wasn't happening to me every time, so I guess I won't know for a bit if it's actually fixed or not. If I don't reply, assume it's working. :P

Offline Vekseid

Re: Updated Topics showing my posts?
« Reply #10 on: January 26, 2009, 11:16:04 AM »
I installed an opcode cache last night, particularly APC (Alternative PHP Cache). Unfortunately since I'm using mod_fcgid, APC stores data separately for each and every fcgi process. Since Elliquiy will be running anything between one to two dozen of them at a time, that means that when it tries to store and retrieve data about calls it doesn't consider particularly important, it may actually not be calling relevant data, since you can't be certain which process you'll be accessing.

Like what posts you have read >_>

I've switched the opcode cache to eAccelerator which does not have this issue, though it does have the flaw of not actually storing shared memory information. It -seems- that I should be able to safely do this, though, since the opcode cache for Elliquiy appears to be independent of the one for the other site I'm running on this server.

...which is made of win and awesome <_<

Offline Karma

Re: Updated Topics showing my posts?
« Reply #11 on: January 26, 2009, 11:16:57 AM »
I thought we spoke English on this website XD

Offline Paradox

Re: Updated Topics showing my posts?
« Reply #12 on: January 26, 2009, 11:17:43 AM »
Well it was doing this before last night, but either way, it's fixed now!

Thanks Vekseid.

Offline Vekseid

Re: Updated Topics showing my posts?
« Reply #13 on: January 26, 2009, 11:19:25 AM »
Well it was doing this before last night, but either way, it's fixed now!

Thanks Vekseid.

Well, night before last, whatever :-p

I thought we spoke English on this website XD

Sorry, I figured I should at least try to explain? : /

Offline Karma

Re: Updated Topics showing my posts?
« Reply #14 on: January 26, 2009, 11:20:53 AM »
Sorry, I figured I should at least try to explain? : /

Naw, I'm just kiddin'. I actually did sort of understand it after you explained it! Thanks for all your incredible hard work. *hugs*
« Last Edit: January 26, 2009, 11:45:19 AM by karmatrik »

Offline Vekseid

Re: Updated Topics showing my posts?
« Reply #15 on: January 26, 2009, 11:43:55 AM »
Well to explain in more detail, Elliquiy 'runs on' code written in php, which is called an interpreted language. So the script might include a lot of raw text looking like:

 $displayname = '<span class="username">'.$context['user']['name'].'</span>';

Which basically just places your username (presumably) inside a set of html tags. This is understandable by a human, of course, but a computer needs to jump through some hoops to make it out, translating the various operators and values there into what are called opcodes - what the code eventually becomes when it finally gets run.

Namely, there are two string constant references (the span tags in between the quotes), two memory location references (the $ sign denotes a variable in php... I'll spare you the discussion about pointers, arrays and maps), two string concatenation operations (the periods), and an assignment operation (the equals sign).

I don't know how this opcode cache works specifically. If it actually converted it to the raw machine code, it would define the strings with pointers, create a function for the string concatenation and a pointer for that function, and return the result of the second one as the assignment. I could type up the x86 assembly for this but it would not be very helpful and I'd probably make a mistake somewhere anyway : )

So any call to that specific line after it's been cached would then know it only needs to crab that one variable, the rest of it it's already 'compiled'.

Opcode caches normally allow you to do even more than that, you could actually store your username for retrieval from memory later on, presuming it has a means of remembering you. Which is a lot faster than reading it from the database.

Which is where APC failed - there are sixteen separate instances of php running for elliquiy right now. The opcode cache was running independently for each one, so if you accessed the same one twice in a row (roughly a one in sixteen chance) - awesome! Otherwise, the variable it retrieves is not necessarily going to be the right one.

...and I hope that didn't confuse the issue.

Online OniyaTopic starter

  • StoreHouse of Useless Trivia
  • Oracle
  • Carnite
  • *
  • Join Date: Sep 2008
  • Location: Just bouncing through. Hi! City of Roses, Pennsylvania
  • Gender: Female
  • One bad Motokifuka. Also cute and FLUFFY!
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 3
Re: Updated Topics showing my posts?
« Reply #16 on: January 26, 2009, 11:48:02 AM »
For what it's worth, it's not a terribly big deal if it does show me as the last poster on my threads, just wondering if it was 'works as designed' or not.

Offline Karma

Re: Updated Topics showing my posts?
« Reply #17 on: January 26, 2009, 11:58:40 AM »
^^; I think I got the gist!

Offline Haibane

Re: Updated Topics showing my posts?
« Reply #18 on: January 28, 2009, 02:04:20 PM »
I guess the problem I am having must be linked to this. I use the 'My Topics' button and when I post in a topic and hit refresh it shows a new post. But on checking the thread, the last post is mine that I did just 10 seconds before. I was in a topic tonight that did this to me 3 times before the pink highlighted 'new post' status went away.