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.
7771
Off-topic / Re: Post count fever
« on April 5th, 2011, 11:39 PM »
To implement either would be a major, major rewrite. SMF (and thus Wedge) is already tentatively MVC structured, but it could easily be more thoroughly concrete in that direction (only earlier today, there was a discussion about an idea that might have gone into SMF 3 that I am interested in pursuing that would help in that direction)
SMF's DB layering is primitive, it's designed to basically fudge MySQL queries into PostgreSQL and SQLite, well we removed most of that, but in order for us to viably use a real abstraction layer, the schema needs to be overhauled first, and need to get rid of so many FIND_IN_SET calls for matching :o (Yes, the list of secondary groups a user is in is stored as a comma separated list in the members table directly, just for an off-the-top-of-my-head example)
SMF's DB layering is primitive, it's designed to basically fudge MySQL queries into PostgreSQL and SQLite, well we removed most of that, but in order for us to viably use a real abstraction layer, the schema needs to be overhauled first, and need to get rid of so many FIND_IN_SET calls for matching :o (Yes, the list of secondary groups a user is in is stored as a comma separated list in the members table directly, just for an off-the-top-of-my-head example)
7772
The Pub / Re: Wap2, imode?
« on April 5th, 2011, 11:18 PM »
Great, so in addition to trying to handle PHP, MySQL, various server systems, and learn iOS in my spare time, we gotta learn desktop programming as well...
Honestly, I can tell you now, to save you wasting any more time on this, we are not going to do it. Someone else can deal with all the issues that arise, because we have better things to burn our time on.
Honestly, I can tell you now, to save you wasting any more time on this, we are not going to do it. Someone else can deal with all the issues that arise, because we have better things to burn our time on.
7773
The Pub / Re: Wap2, imode?
« on April 5th, 2011, 10:59 PM »It could be done completely in php and jquery
Option 1: COMET style, long running HTTP kept-alive polls, held open until there's an update... which is efficient right up until you consider that Apache will force a new PHP threadprocess for each connection, which means you're talking a persistent weight of 20MB or so per connection, and it doesn't take many connections before you either hit the oomkiller, or you've exhausted the memory pool for genuine connections.
If you want to go down the road of nginx+PHP-FPM at this point, be aware that most hosts don't support that yet, because it's fundamentally different to how they're set up. Yes, it will cope with thousands of edge connected HTTP connections driven by event handling, and use little memory in handling it, but you lose the ability to properly authenticate to it.
Option 2: AJAX style, regular polling. Let's see, even with 20 users polling every 10 seconds (which is a low number of users and much slower than most of the existing AJAX chat solutions), you still have to run the gamut of Wedge startup in order to authenticate the user, which means you're pulling an awful lot into memory to achieve it and still be efficient.
Before I go any further, let me make it known that on one site I run, I *have* such a system; I wrote it from scratch as a plugin to SimpleDesk (which means it installs without any file edits of its own whatsoever). It's AJAX style, and it's very, very carefully written to be incredibly efficient; it even uses a specially modified version of the SMF API that I wrote for 2.0 to make authentication an order of magnitude cheaper than SSI.php.
IOW, been there, seen it, done it, and it would flatten most low end hosts, even with the lightweight solution I have.
7774
Off-topic / Re: Post count fever
« on April 5th, 2011, 10:52 PM »
We talked about it, actually.
The honest answer is that we'd spend 6 months writing really dull code that would bore the ass off us before we got to anything fun, and knowing as we did that SMF 2.0 would open the code up, it seemed like a no-brainer.
I will note that we even talked about talking to Unknown and co to see if there was any possibility of using SMF 1's code in the event that SMF 2's was a no-go, or even just to get the rights to fork it and be done with it, on the theory of 'better that than nothing at all'.
I think we actually made the right choice; SMF isn't perfect, but it's the nearest thing out there to it, in our opinion. Why reinvent the wheel when most of the wheel isn't broken?
The honest answer is that we'd spend 6 months writing really dull code that would bore the ass off us before we got to anything fun, and knowing as we did that SMF 2.0 would open the code up, it seemed like a no-brainer.
I will note that we even talked about talking to Unknown and co to see if there was any possibility of using SMF 1's code in the event that SMF 2's was a no-go, or even just to get the rights to fork it and be done with it, on the theory of 'better that than nothing at all'.
I think we actually made the right choice; SMF isn't perfect, but it's the nearest thing out there to it, in our opinion. Why reinvent the wheel when most of the wheel isn't broken?
7775
Off-topic / Re: Post count fever
« on April 5th, 2011, 09:33 PM »
We would have to rewrite every single line in order to no longer be a derivative, but it'll happen in time.
7776
Off-topic / Re: Post count fever
« on April 5th, 2011, 07:35 PM »
Not going to get into whether it's true or not, simply that's the official line.
7777
Off-topic / Re: Post count fever
« on April 5th, 2011, 07:26 PM »
Officially, they are not 'running scared', and officially they do not think that we 'have won', and that officially they wish us good luck for Wedge.
7778
The Pub / Re: Wap2, imode?
« on April 5th, 2011, 06:09 PM »
Original WAP and imode are both gone. What to do with WAP2 is still a question but leaving it in with few enhancements, and a decent mobile theme are the plans thus far.
7779
Off-topic / Re: Post count fever
« on April 5th, 2011, 05:54 PM »Well, it could be worst... SMF could be manage by politicians, and then, 2.0 will never be finished.
7780
Off-topic / Re: Post count fever
« on April 5th, 2011, 05:45 PM »
Well, it would imply that the SMF team wil finish up the licence stuff and then proceed to fix 40+ bugs (or at least be comfortable with marking them as 'things we'll fix in 2.1' like they did with dozens before it) - inside 2 months or so.
Even if the licence stuff were dealt with today, that means they pretty much have to fix 2 bugs every 3 days. Somehow I just don't see it.
Even if the licence stuff were dealt with today, that means they pretty much have to fix 2 bugs every 3 days. Somehow I just don't see it.
7781
Off-topic / Re: Paul - (Arantor) I want to buy you a drink, Thanks for the Help!
« on April 5th, 2011, 10:56 AM »
I appreciate the offer being made here, but honestly, I'm not interested in money - all I did here was send a PM, just happened to be one of those right-place-right-time moments.
7782
Archived fixes / Re: PM settings aren't saving properly
« on April 5th, 2011, 10:54 AM »
It's been bugging me for a while, actually.
There are some arguments for per-theme options when you combine it with per-board themes, for example it might be that you have one board where you want latest-post-first. But PM settings shouldn't be theme settings, neither should most of look & layout. I am struggling to figure out what should be :/
There is one benefit, though, it makes it relatively easy to scoop up theme stuff, user stuff and custom fields all at once, but even then it's done as multiple queries IIRC
There are some arguments for per-theme options when you combine it with per-board themes, for example it might be that you have one board where you want latest-post-first. But PM settings shouldn't be theme settings, neither should most of look & layout. I am struggling to figure out what should be :/
There is one benefit, though, it makes it relatively easy to scoop up theme stuff, user stuff and custom fields all at once, but even then it's done as multiple queries IIRC
7783
Archived fixes / Re: PM settings aren't saving properly
« on April 5th, 2011, 10:43 AM »
Yeah, that makes sense. Wasn't sure if it was $options or not, but it makes sense that it isn't where theme options are concerned.
(Though, quite honestly, I'm not sure it's the sort of thing that should be a *theme* option, but that's another story)
(Though, quite honestly, I'm not sure it's the sort of thing that should be a *theme* option, but that's another story)
7784
Archived fixes / Re: PM settings aren't saving properly
« on April 5th, 2011, 10:30 AM »
That would imply that it's grabbed the info it's going to use (in $options ?), done what it's going to do but failed to update $options before going to the template.
7785
Archived fixes / Re: PM settings aren't saving properly
« on April 5th, 2011, 09:40 AM »
Well... save a copy should be defaulted to on, and of display mode, one at a time should be the default now (I'm still not entirely convinced about convo mode, but either one at a time or convo mode is an improvement over all-at-once)
I'd also note that the switch UI was pulled to the main view as a dropdown rather than a toggle button for usability purposes ;)
I'd also note that the switch UI was pulled to the main view as a dropdown rather than a toggle button for usability purposes ;)