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 - Arantor
7891
The Pub / Re: Wedge & SEO
« on March 31st, 2011, 09:49 AM »
Firstly, please read http://www.simplemachines.org/community/index.php?topic=427913.0

Secondly:
* proper use of headers is not that significant, especially in an environment where the bulk of the actual content is user generated and that trying to optimise it is more like picking the exact shade of a colour rather than picking the colour as a whole
* there are no alt attributes in the code for the majority of images seeing that HTML 5 does not require them (and we use an HTML 5 doctype)
* image width and height - funny how even the W3C has been pushing for years to deprecate those
* most of the input elements have labels anyway
* default privacy policy is a bit difficult seeing how while it's a legal requirement in most places, that puts the onus on us to figure out a default policy that meets the legal requirements of all the different countries - which we're not responsible for in the slightest
* Can-Spam Act... do the notifications not include a link to unsubscribe from them?
* Proper Contact-Us, we can probably do

I should note that other than the first item, none of the above are actually useful in SEO terms.
7892
Other software / Re: So, I've been asked...
« on March 31st, 2011, 09:34 AM »
I did call 'em out on it, waiting for a follow-up reply. Seems that the current management aren't aware that one of the 'core devs' links to a phpBB forum in their signature, which hardly seems like an appropriate behaviour, and if anything worse than I'm doing.

Yes, I'm well aware of the SMF-Friends saga, only too acutely. Which is why I removed it in the first instance and then challenged it, so that they have absolutely no grounds to claim that I'm being unreasonable about it.
7893
Plugins / Re: Plugin hooks
« on March 31st, 2011, 09:29 AM »
I was going to write up a rebuttal to each of the points being made here, but I'll sum it up in two sentences.

Firstly, did it occur to anyone reading this debate that the above points *hadn't* gone through either or both of our minds?

Secondly, I see a lot of talk about being the best it can be and doing it a certain way which certainly sounds grand - but wake me up when you actually have some idea of how you think it should be implemented, because I'm telling you from a practical POV, it really isn't as grand as that in reality, reality just doesn't work that way.
7894
Other software / So, SMF has declared the cold war...
« on March 31st, 2011, 02:24 AM »
Apparently, there's a rule that no links to other forum packages - the example given was MyBB - in signatures and would I remove the Wedge image from my sm.org sig.

I have just replied asking whether it's appropriate for team members to be linking to phpBB forums and will await the reply with interest.


EDIT: Did I mention that I'd never heard of this rule before now?

EDIT 2: Wait until I point out a few things of interest, such as the fact that it violates their Core Values. This is going to be hilarious.

:edit: 3 by Nao: renamed topic from "So, I've been asked..." to something that's clearly more in line with the contents.
7895
Plugins / Re: Plugin hooks
« on March 31st, 2011, 12:19 AM »
Quote
Think of a switch statement. You have a list of conditions and a default. The very nature of a switch is faster than a nested if. Make a small c prog and look at the machine code/object code.
Ever done that? That's rather enlightening, but different languages handle switch vs if/nested if in different ways, some run to linear time with the increase of options, some to logarithmic time. PHP is basically a shell around C, so it will do virtually what C does for something like that, which means that on modern systems... if you have 4+ options, or 2+ if you have cases that fall through to each other, switch is usually faster. Depends on the circumstances.
Quote
Find out if that action has a hook then contenue through the action then knowing the path needed to go.
SMF, Subs.php, see call_integration_hook().
Quote
Make hooks one of the first things done when an action is requested by way of a switch.
SMF actions (and ours) are not controlled by a switch but a local scope hash table. (Might be global scoped in Wedge, but it's certainly a memory hash table initialised directly from PHP code)
Quote
Template system. 100% static.
Way to go on screwing up customisation, not to mention dynamic content.
Quote
Only echo predefined values. Gives modders a way of changing the template, without changing the template.
Not possible with 100% static.
Quote
Mysql storable, cacheable.
Depends on the circumstances. Also note that not all hosts are properly configured for caching, not all hosts even provide services like memcached, and often have MySQL's query buffer set way too low to be useful to the point where you might as well explicitly push queries without going to the buffer in the first place, would actually be faster on the majority of installations.
Quote
Different templates for different days, so to speak
There are already hundreds of templates in SMF, and we have already added more subtemplates and will be breaking the existing ones down.
Quote
Use switches in every possible time, instead of ifs.
No.
Quote
Dont use memory/hd unless there is no other way to do it.
Eh? What do you think memcached does, exactly?
Quote
Mysql and apache are already using resourses, reuse those in every conceivable fashion instead of drawing more resources.
Step 1, don't use Apache if you're even remotely concerned about performance.
Quote
If you dont need a particular setting, dont load it.
Dear god no. The time taken to figure out whether a setting should be loaded invariably outweighs the actual time to load that setting.
Quote
Even comments generate more lines of code cause it has to determine if it is a comment or not.
If performance is your goal, you should be using APC which makes that point redundant.
Quote
What im saying is, preprocess, process, display using as few steps as possible.
So let's throw out any sense of customisation then?
7896
Off-topic / Re: Hi all!
« on March 30th, 2011, 11:46 PM »
Sorry, kid. You got the gift, but it looks like you're waiting for something.

[inevitably] What?

Your next life, maybe. Who knows? That's the way these things go.
7897
Off-topic / Re: Post count fever
« on March 30th, 2011, 06:02 PM »
I'm ... an afternoon's worth (at most) behind?
7898
Considering that the code is replaced with HTML of the theme's choice later, yes...
7899
Off-topic / Re: Hi all!
« on March 30th, 2011, 04:04 PM »
I can't remember if we did that or not, actually...
7900
Off-topic / Re: Hi all!
« on March 30th, 2011, 04:02 PM »
Wasn't me either, which rules out deliberate action - so it's either a software error or user error...
7901
Off-topic / Re: iHate Apple
« on March 30th, 2011, 01:57 PM »
I still don't hate Apple :P
7902
There are sprite images, but they're not stupid ones. The bbcode images, for example, is a sprite - but they can be overridden. The little images by menu icons (like here) are a single sprite, but again it's possible to override that to individual images.

But the core of the default theme is not to use massive images like that where possible, and use CSS normally to achieve things.

That said, it's not a huge amount of work if you want to revert things; one of the things Nao did was create a meta code of sorts, <we:cat> and <we:title> that get turned in to the relevant divs and h3 tags that make the cat and title bars. Here's where it's neat: that's defined in the settings of a theme or theme variation, which means the templates all use <we:*> (so it's trivial to keep consistency in add-ons) and the theme dictates the code it wants to use, meaning you could use Curve's HTML if you wanted. Not that it would be a good idea... but you could if you wanted.
7903
It's one of the best things I've seen in a long while, it makes creating theme variations and theme editing a ton simpler IMO. (I was able to navigate around that a whole lot faster than SMF's own CSS, certainly)
7904
Plugins / Re: Plugin hooks
« on March 30th, 2011, 11:59 AM »
Yeah, modifying the output isn't the same as modifying the template. Anything that's fragile enough to require editing the template itself is going to hit problems sooner or later.
7905
No, there isn't. Kind of hard to document something that is a moving target and being modified regularly as it evolves...

There are quite a few differences, and likely there will be more as time goes on.