Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?
You are not logged in.
****
whoa it works thanks diff
This update is ****
Away.
Offline
Fixed a bug I thought I fixed but apparently I did not where any user could slowly kill the forums just by auto reloading the search page a ton.
A little context:
When you search something on the forums, the forums cache that and store it away. This includes searches for new or active posts/topics. If you hit the Active button 3 times, you'll cache 3 searches. All your cached searches are recycled when the forums consider you to no longer be online, which takes 30 minutes from the time you were last seen. Every time you search for something, the forums look through every cached search to see if any of them can be deleted.
The problem:
If a user does nothing but request new searches over and over and never goes online, this adds up to a lot of cached searches. Eventually it can get to the point where there are hundreds of thousands of them, and still every time a search page is loaded, the forums look through them all to prune the old searches. At that point it really starts taking a long time (up to 10 seconds or more) to go through that many cached searches, and this is done every single time anyone searches for anything.
So if you've noticed the forums being really slow recently, that's why. For those of you who don't hang out in the IRC, we have a questionably friendly bot named GregBot. He notifies people whenever a new post is made on the forum, and to do this he does nothing but reload the new posts page 24/7. Like I said I thought I fixed this but I was retarded and so I didn't. It's actually fixed now though.
"Sometimes failing a leap of faith is better than inching forward"
- ShinsukeIto
Offline
questionably friendly bot named GregBot.
My whole life has been a lie.
You would do anything to not have to activate the extern.php tools, which are specifically made for automated tools, right?
Offline
Different55 wrote:questionably friendly bot named GregBot.
My whole life has been a lie.
You would do anything to not have to activate the extern.php tools, which are specifically made for automated tools, right?
That'd take effort though and would probably still have the same problem anyway. I don't think GregBot ever used extern though, even when it was available.
"Sometimes failing a leap of faith is better than inching forward"
- ShinsukeIto
Offline
AlphaJon wrote:Different55 wrote:questionably friendly bot named GregBot.
My whole life has been a lie.
You would do anything to not have to activate the extern.php tools, which are specifically made for automated tools, right?
That'd take effort though and would probably still have the same problem anyway. I don't think GregBot ever used extern though, even when it was available.
I thought processor made it that way because the extern was already deactivated. My bad.
Offline
Well I guess I don't know, it might have been. I turned off extern because of the anonymity leaks so which came first? The GregBot or the anonymity?
"Sometimes failing a leap of faith is better than inching forward"
- ShinsukeIto
Offline
GregBot ^
Because of his speed by posting the news.
I'm not sure of either way now.
Offline
So I'm working on the new (can we even call it new at this point? It's been over a year now) PM system again and I actually got further than I realized last time. Anyway, this time around I fixed pages in folders, made some adjustments to the way selecting multiple PMs works, actually made selecting multiple PMs work, You can now also mark PMs as read or unread.
"Sometimes failing a leap of faith is better than inching forward"
- ShinsukeIto
Offline
Forums have been updated!!??
is that a question? I haven't messed with the forums in a bit.
"Sometimes failing a leap of faith is better than inching forward"
- ShinsukeIto
Offline
added stuff to hopefully block people from ban evasion, more to come this evening
"Sometimes failing a leap of faith is better than inching forward"
- ShinsukeIto
Offline
Added more stuff to block specifically gamemonger from ban evasion, and found out that the thing I thought I fixed earlier to prevent gamemonger from ban evasion still doesn't work. No idea what's wrong with it. But my gamemonger-specific stuff appears to be working since he still hasn't made a new account. But mostly I worked on the PM system today. Sending PMs works, sending new PMs works, replying works, marking as read/unread, unsubscribing, moving PMs all work. Different pages work, the list of receivers is properly displayed (now with each username being a link to the profile), and last viewed times (for the read/unread marker) is working properly now. All that's left is to clean up sending PMs and to add editing and deleting PMs.
"Sometimes failing a leap of faith is better than inching forward"
- ShinsukeIto
Offline
.... Different pages work, ...
So you updated yourself?
and found out that the thing I thought I fixed earlier to prevent gamemonger from ban evasion still doesn't work.
This works now. In theory. Turns out the forum's IP was IP banned from the service I used.
"Sometimes failing a leap of faith is better than inching forward"
- ShinsukeIto
Offline
A post, so you don't get banned for double posting...
Oh, wait!!
Editing works in the new PM system.
Now just deleting PMs and managing folders left.
"Sometimes failing a leap of faith is better than inching forward"
- ShinsukeIto
Offline
You know what on second thought I'm just not going to allow deleting PMs. Every receiver gets a copy in their email anyway, right?
"Sometimes failing a leap of faith is better than inching forward"
- ShinsukeIto
Offline
You know what on second thought I'm just not going to allow deleting PMs. Every receiver gets a copy in their email anyway, right?
Yeah we do
thanks zoey aaaaaaaaaaaand thanks latif for the avatar
Offline
The "You have an unread private message!" link didn't work for that test pm, and I didn't see it in my inbox. But the link from the email worked.
Evilbunny (in cursive)
Offline
If you mean you didn't see it when you hit PM in the navbar that's because that's still the old system. As you might have noticed the new one is still not 100%.
"Sometimes failing a leap of faith is better than inching forward"
- ShinsukeIto
Offline
I'm just not going to allow deleting PMs
noice
Different55 wrote:I'm just not going to allow deleting PMs
That's the old PM system. The new system has buttons for subscribing, marking as read/unread, and moving folders.
"Sometimes failing a leap of faith is better than inching forward"
- ShinsukeIto
Offline
Different55 wrote:You know what on second thought I'm just not going to allow deleting PMs. Every receiver gets a copy in their email anyway, right?
Yeah we do
http://i.imgur.com/Wm1qN4S.png
You have Profile>Privacy>Include PM content in email unchecked. New system doesn't have that option, content is always included in the email.
"Sometimes failing a leap of faith is better than inching forward"
- ShinsukeIto
Offline
[ Started around 1732277745.7905 - Generated in 0.065 seconds, 13 queries executed - Memory usage: 1.66 MiB (Peak: 1.87 MiB) ]