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.
5566
Off-topic / Re: Doctor Who
« on November 4th, 2011, 07:29 PM »After series 3, she leaves but she won't forget what happened to her over the year that never was. After that, as evidenced in Torchwood series 2, she goes to work for UNIT, which comes back around in DW series 4, and he feels like he's ruined her life because of all that happened. Doesn't prevent what happens later in series 4, or before what happens before Ten regenerates, though that probably will explain it at the end...
5567
Off-topic / Re: jQuery 1.7
« on November 4th, 2011, 04:28 PM »simplifying event delegation and shortening function names (on/off).
I don't understand why they removed a function on the basis that it generated errors in Chrome's console log
There is no reason not to do that.
They could go ahead and integrate HTML5Shiv, couldn't they?
So what, "it's not a good thing to sniff browser versions"?
- well, it's a first iteration. Remember how the release of 1.6 went..? It was a mess. Let's wait...
Other than that... Having jQuery 1.6 in Wedge was a no-no, but v1.7 is a bit better in that respect. If only they could take bandwidth into account...
5568
Other software / Re: Once upon a time...
« on November 4th, 2011, 01:43 PM »
The package manager itself doesn't care what the id is, with the exception of having two packages with the same id for the purposes of using package upgrades. (So you can have 1.0 and 1.1 of a mod, install 1.0, then install 1.1 to update 1.0, though the entire process of how this is applied breaks if you ever want to uninstall things, unless you uninstall them in reverse order)
The real test for the id that I referred to is on the mod site; it won't let you upload a mod to the mod site if the id is different to the one listed for a given mod, which is set up at the time of first upload. The team can alter it so future uploads can use a different id.
If it isn't going on the mod site, you can stick whatever id in it you like :)
The real test for the id that I referred to is on the mod site; it won't let you upload a mod to the mod site if the id is different to the one listed for a given mod, which is set up at the time of first upload. The team can alter it so future uploads can use a different id.
If it isn't going on the mod site, you can stick whatever id in it you like :)
5569
Off-topic / Re: jQuery 1.7
« on November 4th, 2011, 10:50 AM »
Yeah, we knew about this but given that there were problems integrating 1.6 (not to mention bloat), that I think there needs to be something pretty special to encourage an upgrade.
5570
Features / Re: Thought system
« on November 3rd, 2011, 11:36 PM »You probably missed the PS I added after my post
The list? It's probably a good example of how a good idea (gathering similar data saving into a single array for easier maintenance) gets blown out of proportion and becomes totally unmaintainable because of silly validation functions etc. It's documentation in the comments is even more confusing. As if it was all written to be maintained only by its original writer...
Hmm alright...
Okay, going to bed early tonight. I'm tired... I think I've never spent so much time changelogging a feature. I must have re-re-re-reviewed the entire file list about 10 times in a few days...
5571
Features / Re: Thought system
« on November 3rd, 2011, 11:11 PM »Some things like pm_prefs could be transferred, but they're set through a profile array that's pretty complicated and implies saving the variable to the members table itself... I'm not thrilled at the idea of tweaking that.
passwd_flood may be a candidate. I'd like to invite you to look into it... Try a global search for it. In some situations, it's retrieved from the database, but never used later. Look inside Reminder.php for instance. My guess is that it was planned to be used in validatePassword() (again, I'd suggest looking through all occurrences of validatepassword.) This may be an actual SMF bug...
secret_answer/question is a strong candidate too. It's used in a regular query, but it's always LIMIT 1 so it's worth doing an unserialize on it every time. Same problem as pm_prefs though, for saving.
Even if it's running as www-data etc, I believe there are some ways to configure the server to make it work...
5572
Plugins / Re: Plugin manager, phoning home and privacy
« on November 3rd, 2011, 09:31 PM »
Thanks for posting :)
OK, so, the listing of plugins looks more cluttered and full of stuff that doesn't really make sense to show off, IMO. For comparison the equivalent page in Wedge is:
The plugin details page is interesting but I'm not sure all that is exactly needed. In our case the situation is a lot more complicated which was the purpose of this thread (and I really should split this because the point I raised earlier today that is very important has now been utterly buried)
I do imagine our page will be similar without so much clutter.
The search page is a bit nicer, and again the points raised earlier today have bearing on that.
As far as the last item is concerned, we've actually removed things like SMF's backup function because there are better third party tools to do the job.
All in all, it's comparable to what Wedge will have when I finish it all, because as you can probably tell, it's important to me, but there's honestly nothing new there that I either hadn't seen before or considered for implementation.
OK, so, the listing of plugins looks more cluttered and full of stuff that doesn't really make sense to show off, IMO. For comparison the equivalent page in Wedge is:
The plugin details page is interesting but I'm not sure all that is exactly needed. In our case the situation is a lot more complicated which was the purpose of this thread (and I really should split this because the point I raised earlier today that is very important has now been utterly buried)
I do imagine our page will be similar without so much clutter.
The search page is a bit nicer, and again the points raised earlier today have bearing on that.
As far as the last item is concerned, we've actually removed things like SMF's backup function because there are better third party tools to do the job.
All in all, it's comparable to what Wedge will have when I finish it all, because as you can probably tell, it's important to me, but there's honestly nothing new there that I either hadn't seen before or considered for implementation.
5573
Plugins / Re: Plugins I refuse to do
« on November 3rd, 2011, 09:16 PM »
I spent about that long doing a crude HTML to bbcode converter and post inserter script ;) I know that it helps that the phpBB password importer is the same as WP's ;)
5574
Plugins / Re: Plugin manager, phoning home and privacy
« on November 3rd, 2011, 08:48 PM »I am just a user. The contao plugin-manger is very easy to use an very comfortable. That's it. I am not a developer,
Is it possible you could attach a screenshot here, please? Mind you, I have posted screenshots of what I've built, and I find it pretty easy to use...
5575
Other software / Re: So, SMF has declared the cold war...
« on November 3rd, 2011, 07:40 PM »Nao, are you also planning on porting the changes to the 2.10 version for the ones that paid for it? I have a bunch of customers that fall into that category.
It's Friendly Competition time! Bring it on!
5576
Features / Re: Ideas from the oddest places
« on November 3rd, 2011, 07:37 PM »Technically it is... But so are many others.
Yes, there is a great amount of WP fanboyism in .net, but it's not particularly because of a secret organization or something.
I get that WP is extensible and can be shaped to whim. It doesn't change the fact that under the hood it's a steaming pile of shit. On my travels today I saw some guy talking about how badly it performs on Windows/IIS. Now, while PHP+IIS isn't my platform of choice, there is no arguing that Zend and MS have put some serious effort in to making it run better on Server 2k8, and it isn't the bear it used to be to run. That said, you can only imagine the rabid Windows Is Crap, Use Linux fanboyism - but most of those didn't notice the undertone of 'it's running 20 queries on the front page'. Doesn't matter what under-core you have, 20 queries is still 20 queries.
Then I heard about people who run with 100+ (or even 500 queries) per page, and apparently that doesn't matter provided the page is fast. I call BS; there's no need for 20 queries on such a minimalist front page. And staring at the code, it frightens me that it's so popular because it really is that bad under the hood.
But that's because a majority of web design agencies use these technologies in priority, and they simply discuss what people use -- because they need to sell.
Web Design Magazine has the exact same scope, it talks mostly about WordPress, jQuery and PHP.
Heck, I'd say they're pretty transparent about it all. They published many a reader's letter about .net being biased, and they simply replied that they're trying to stay current.
I'm more concerned about their biased towards ExpressionEngine. It's a paid-for CMS, not exactly cheap ($99 for the basic version), and half of their articles about CMSes discuss it. I don't see the point... I actually prefer seeing WP-related articles because at least it doesn't feel like they were paid to talk about it.
5577
Other software / Re: So, SMF has declared the cold war...
« on November 3rd, 2011, 07:19 PM »
Oh, it runs so much deeper than that. I originally implemented add/remove hook as an extension to the existing packman code, months and months ago, but I realised that it wasn't how I wanted things to operate.
So I tore the rulebook up and designed a structure that really pushes and emphasises hooks. There's no version checking done, for example, unless file edits are done, because the plugin system works on the principle that the hook's existence is sufficient. You don't need to worry about version numbers etc. if the hooks are present and tests are done at install time to validate that the required hooks are available. On top of that, a plugin can indicate that it provides hooks of its own giving you an implicit dependency system.
On top of that, the plugin file also indicating things like settings means that the plugin manager can clean them up on uninstall. As I learned the hard way, authors don't generally do things thoroughly, and mods that do proper housekeeping to clean up after themselves are unfortunately rare - so I made sure to take as much away from that as possible.
Default values of settings are declared (though due to updateSettings()'s behaviour, default values of 0 aren't updated to the system) and so can be used to clean up on uninstall, plus it's possible to intimate language support - multi-language readmes were supported in SMF 2.0 RC2 onwards but I don't think anyone ever used them. But now, if multi-language readmes are given, they're firmly used (so it encourages people to use them)
Each element of the plugin manager was designed around things I observed as flaws with SMF's mods, and things I learned from doing SimpleDesk.[1] I'm not saying it will work for everyone but I feel like it's working for us. I've not found many problems in writing plugins and I find the way everything is held together to be more reliable in the long run.
So I tore the rulebook up and designed a structure that really pushes and emphasises hooks. There's no version checking done, for example, unless file edits are done, because the plugin system works on the principle that the hook's existence is sufficient. You don't need to worry about version numbers etc. if the hooks are present and tests are done at install time to validate that the required hooks are available. On top of that, a plugin can indicate that it provides hooks of its own giving you an implicit dependency system.
On top of that, the plugin file also indicating things like settings means that the plugin manager can clean them up on uninstall. As I learned the hard way, authors don't generally do things thoroughly, and mods that do proper housekeeping to clean up after themselves are unfortunately rare - so I made sure to take as much away from that as possible.
Default values of settings are declared (though due to updateSettings()'s behaviour, default values of 0 aren't updated to the system) and so can be used to clean up on uninstall, plus it's possible to intimate language support - multi-language readmes were supported in SMF 2.0 RC2 onwards but I don't think anyone ever used them. But now, if multi-language readmes are given, they're firmly used (so it encourages people to use them)
Each element of the plugin manager was designed around things I observed as flaws with SMF's mods, and things I learned from doing SimpleDesk.[1] I'm not saying it will work for everyone but I feel like it's working for us. I've not found many problems in writing plugins and I find the way everything is held together to be more reliable in the long run.
| 1. | There are some serious low-level tweaks in there like modifying the language editor to list the mod language files. |
5578
Off-topic / Re: Doctor Who
« on November 3rd, 2011, 06:15 PM »I really, really enjoyed the last 6 episodes of Season 3 especially Blink.
But there's still plenty more awesomeness to come :)
5579
Plugins / Re: Plugin manager, phoning home and privacy
« on November 3rd, 2011, 05:50 PM »
So what's so wonderful about it? The site gives me no screenshots, the demo shows no signs of a plugin system and after looking at a fairly typical baseline plugin (Google Analytics, it's usually sufficiently low-effort that you can get a feel for the rest of the architecture from it), I'm positively frightened by the thought of having something so monstrously complicated to develop with, that I don't even want to go near the admin panel.
(Also, please be aware that I have personally put hundreds of hours already into Wedge's plugin system, including writing plugins for it. I'm not exactly enthusiastic about rebuilding major parts of it.)
(Also, please be aware that I have personally put hundreds of hours already into Wedge's plugin system, including writing plugins for it. I'm not exactly enthusiastic about rebuilding major parts of it.)
5580
Features / Re: Ideas from the oddest places
« on November 3rd, 2011, 05:22 PM »
Neither do most forums, but the argument stands. And remember, WP is The Platform You Can Do Anything With, so various magazines and sites tell me (the rabidity of fanboyism about WP as a CMS is why I won't subscribe to .net magazine)
It does its core job reasonably well, but not a lot else, which means you need to weigh it down with stuff to do anything more interesting.
It does its core job reasonably well, but not a lot else, which means you need to weigh it down with stuff to do anything more interesting.