Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Dragooon
406
Off-topic / Re: Bitcointalk.org $11k bounty for new forum software
« on June 10th, 2012, 09:10 AM »
Quote from Arantor on June 8th, 2012, 06:18 PM
$11k? That's my living costs for a number of months, really. But I couldn't in good conscience accept. Not just because I find the entire idea of Bitcoins so ridiculous but because they're arguing for changes that don't really benefit anyone except in the feel-good department.
The couple of weeks of food was a joke :P. Fair enough I guess.
407
Plugins / Re: Monthly Statistics on Profile
« on June 10th, 2012, 08:55 AM »
* Dragooon likes this.
408
Bug reports / Re: Reply post showing as 'New'
« on June 9th, 2012, 01:29 AM »
Quote from nend on June 8th, 2012, 07:51 PM
I was more like saying pass it on to JavaScript for a second request, not run it with the main page load. It should be transparent.
Ultimately that'll lead to even more load, as the queries for session authentication will have to be run twice plus the query to get the unread itself along with various other queries that are run.
409
Features / Re: Modify Own Post
« on June 8th, 2012, 05:36 PM »
Quote from ziycon on June 8th, 2012, 05:35 PM
It would be nice to have the functionality that when you modify your own post in a thread that it will use AJAX in the current post instead of going to the post2 page, like the way vBulletin works.
Quick edit?

Edit: Quickly edited
410
Bug reports / Re: Reply post showing as 'New'
« on June 8th, 2012, 05:16 PM »
Quote from nend on June 8th, 2012, 05:10 PM
Can't you have both, you can do slow queries that return no information via JavaScript after the page has loaded. Would that be a good time to do clean up?
It's not the extra time it takes to load the page that matters, it wouldn't make a difference to the end user if it takes 0.05s or 0.1s more to load a page, it's the extra load on the servers (which multiplies by a lot in large forums) that actually matters.
411
Features / Re: Thought system
« on June 8th, 2012, 04:54 PM »
Certainly the second one.
412
But if they can offer (and agree to, contractually) $11k, it's a pretty sweet deal. You can buy a couple of weeks of food with that.
413
Plugins / Re: Hooks for moderation actions
« on June 7th, 2012, 09:00 PM »
Quote from Arantor on June 7th, 2012, 08:59 PM
Yeah, there's never been any need for such before. A few bits and pieces do, but nothing of any real note. I'll see what I can do.
You got entire June :P.
414
Plugins / Hooks for moderation actions
« on June 7th, 2012, 08:58 PM »
I'm currently ripping apart the entire notification system and re-implementing it as an extension to the notifications core plugin, which probably won't be done until July since I'll be gone for June. And I realise that there are no hooks for many of the moderation actions such as splitting, approving, moving. It'll be useful to have these hooks.

Thanks :)
415
The Pub / Re: Features
« on June 7th, 2012, 07:30 PM »
Quote from Arantor on June 7th, 2012, 06:40 PM
Oh, yes, the calendar is removed and that's a plugin. Birthdays support on its own is a separate plugin but that the two play properly together and having both installed, you wouldn't realise it was actually two separate plugins ;)

I did say it was off the top of my head ;)
Calendar plugin is finished?
416
Off-topic / Re: Will be gone for 3 weeks.
« on June 7th, 2012, 05:11 PM »
Thanks guys :)
417
The Pub / Re: Features
« on June 7th, 2012, 05:11 PM »
Quote from Arantor on June 7th, 2012, 03:04 PM
The list would be truly enormous if it were to be compiled in a single place.
And would totally make a lot of people switch :D
418
Off-topic / Re: Help with apache2
« on June 7th, 2012, 05:08 PM »
Which processes are taking the max. amount of memory? Observe top for a while.
419
Off-topic / Will be gone for 3 weeks.
« on June 7th, 2012, 09:29 AM »
Starting Tuesday I'll be gone for 3 weeks as I'll be taking a trip to US. So you'll hardly see me and ddefinitely see no progress in my plugins. So, bye :)
420
Off-topic / Re: Help with apache2
« on June 6th, 2012, 05:44 PM »
In reply to your thought, using mod_php + apache2 in a low-memory situation is a very bad idea. Because on every new request apache forks a new child process and each child process with mod_php in SMF's case takes about 25-60 MB of RAM. And apache does this without any regards of how much of RAM is left. So I can hold F5 on any one of your site and crash your server without much trouble. Solution to this is using PHP-FPM which spawns semi-persistent processes and manages the low RAM scenarios much better. What PHP-FPM does is that it separates the php process into a separate entity instead if being bound into apache, so apache doesn't have to load php on every request even if it's non-php related. This itself saves RAM, plus FPM can restrict the number of open processes thus preventing RAM overflow. FCGI is an interface to use PHP-FPM with Apache2. I used this guide to install FCGI + PHP-FPM on an Ubuntu 12.04 server, this should be fine.

PS : I'm fairly sure what I said here is correct, but I can be wrong. Feel free to correct me in the most humiliating way possible.

EDIT: As a matter of fact, Baidu can single handily take out a website with mod_php in a low RAM situation.