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.
6811
Other software / Re: To upgrade or not to upgrade...
« on August 7th, 2011, 06:09 PM »
Well, I'd upgrade to 2.0 final anyway knowing as I do that there are security related issues in RC3 that have been addressed by 2.0 final...
To be honest, though, there are no major DB changes between RC3 and final so the process should be virtually identical anyway from an import point of view; of course if the structure's been modified through mods, your mileage can and will vary.
To be honest, though, there are no major DB changes between RC3 and final so the process should be virtually identical anyway from an import point of view; of course if the structure's been modified through mods, your mileage can and will vary.
6812
Off-topic / Re: IE users are dumb
« on August 7th, 2011, 02:18 PM »
I typically have half a dozen tabs open, maybe 20 or 30 if I'm catching up on old stuff... fairly sure my IQ's a bit higher ;)
6813
Off-topic / Re: Kudos for Nao & Arantor
« on August 7th, 2011, 02:04 PM »I found it amusing that the words "Ban Comic Sans" were in the Comic Sans Font.
6814
The Pub / [Archive] Re: Logo Madness
« on August 7th, 2011, 01:50 PM »
I don't really have a favourite, to be honest. The current logo in use on wedge.org is nice, so is the older logo that Bloc worked on.
I guess a part of me really likes having the wedge shape in there, in a format visually separate from the writing, and the use of brown suits me; I tend to think of us as kind of grass-roots, earthy, that sort of thing. People of the clay, you might say.
I guess a part of me really likes having the wedge shape in there, in a format visually separate from the writing, and the use of brown suits me; I tend to think of us as kind of grass-roots, earthy, that sort of thing. People of the clay, you might say.
6815
Features / Re: New revs - Public comments
« on August 7th, 2011, 01:48 PM »
r913 is something I had been planning to do a bit back but what always stopped me is the type conversion because I wasn't sure what the upper bounds of anything were supposed to be.
It may be version specific but int(4) should do something different to tinyint(4) - in theory, an int(4) should consume at least twice the space of a tinyint(4) and potentially quadruple it; int defines a 4 byte integer, tinyint a 1 byte integer, but even if MySQL is a bit smarter, and assumes the number as a size of digits, you still have to allocate two bytes (i.e. a smallint) because a potentially-4 digit number is invariably going to consume more than one byte. (The reason tinyint defaults to 4 is because of the leading sign, e.g. -127)
I don't believe MySQL uses that value for type hinting though, because of the above fact that it could be unreliable, meaning that I think it's always going to allocate 4 byte integers for everything even if it's only a one byte column, so it might be worth glancing through the code sometime to see if we do actually need 4 byte ints everywhere, since I'm not sure.
In other news, at some point we need to make sure that the list of tables that we end up with is in the listed of reserved tables in the DB class(es).
It may be version specific but int(4) should do something different to tinyint(4) - in theory, an int(4) should consume at least twice the space of a tinyint(4) and potentially quadruple it; int defines a 4 byte integer, tinyint a 1 byte integer, but even if MySQL is a bit smarter, and assumes the number as a size of digits, you still have to allocate two bytes (i.e. a smallint) because a potentially-4 digit number is invariably going to consume more than one byte. (The reason tinyint defaults to 4 is because of the leading sign, e.g. -127)
I don't believe MySQL uses that value for type hinting though, because of the above fact that it could be unreliable, meaning that I think it's always going to allocate 4 byte integers for everything even if it's only a one byte column, so it might be worth glancing through the code sometime to see if we do actually need 4 byte ints everywhere, since I'm not sure.
In other news, at some point we need to make sure that the list of tables that we end up with is in the listed of reserved tables in the DB class(es).
6816
Features / Re: Calendar dates
« on August 7th, 2011, 01:02 PM »
If you're using something like the lang tag, you don't need to translate it, you just store the version with all the languages in the installer. Though that is a problem too, I think the length of the holiday name is rather short.
6817
Features / Re: These two bytes may not matter to you...
« on August 7th, 2011, 01:01 PM »
I'm inclined not to bother; the more I think about my experiences supporting SMF, the more I was inclined not to ever ask for it when provided simply because I don't think it made a lot of difference.
It's only really useful in the core if we provide patches, I think, and if we don't provide patches there's not a lot of value in keeping the complete list of files and versions (or signatures) - not in the core anyway.
That said, there is the validity of providing such for part of a diagnostic tool, but then you'd probably want to keep all the different versions then but not in the core, and it could flag up that a file has been changed.
In fact, could go one step further - as part of an add-on's install if it requires (and is permitted to perform) raw edits, we could do md5 before and after and store that somewhere so that we do have the signature available for testing.
But I think we can ditch it from the core to be honest. It's less code there that's really going to help us.
It's only really useful in the core if we provide patches, I think, and if we don't provide patches there's not a lot of value in keeping the complete list of files and versions (or signatures) - not in the core anyway.
That said, there is the validity of providing such for part of a diagnostic tool, but then you'd probably want to keep all the different versions then but not in the core, and it could flag up that a file has been changed.
In fact, could go one step further - as part of an add-on's install if it requires (and is permitted to perform) raw edits, we could do md5 before and after and store that somewhere so that we do have the signature available for testing.
But I think we can ditch it from the core to be honest. It's less code there that's really going to help us.
6818
Features / Re: Calendar dates
« on August 7th, 2011, 12:30 PM »@John> To most people outside the US, 'Independence Day' is an action movie
So, to me, it should be {cal_christmas} or something like that...
6819
The Pub / [Archive] Re: Logo Madness
« on August 7th, 2011, 12:27 PM »
With so many options, there needs to be a way to shortlist some of them to cull the list to a manageable size.
Perhaps break them into groups by general style, then see which one of those is most favoured.
Perhaps break them into groups by general style, then see which one of those is most favoured.
6820
Features / Re: These two bytes may not matter to you...
« on August 7th, 2011, 12:26 PM »
No, they don't have to upload all the files; the check is simply to validate whether what they have is the current version, since only the files that changed get new version numbers - if you're producing what amount to diff patches, it's trivial to add in the file versions.
To illustrate, I dug out the 1.1.12 install I had laying around. I'm not sure why I had it laying around but I did, and as it happens, it also has Aeva installed. It's not a patched version, it was installed as 1.1.12.
The results of the version check are as follows: (just keeping to sources to make the point)
This is what the system's designed for - each version only the changed files ever get updated and even in a quick release cycle this isn't necessarily a bad thing. And when you only change the headers on those files that updated, it means you can very easily see what's not been patched yet.
That said, the reality is that it isn't a lot of use because of file edits and if people do get into trouble they're often advised to simply upload fresh copies of everything. In our case the intention is that we'd do even more of that because we're aiming for less need of file editing. Perhaps it should just go after all.
To illustrate, I dug out the 1.1.12 install I had laying around. I'm not sure why I had it laying around but I did, and as it happens, it also has Aeva installed. It's not a patched version, it was installed as 1.1.12.
The results of the version check are as follows: (just keeping to sources to make the point)
| Admin.php | 1.1.6 | 1.1.6 |
| Aeva-Admin.php | ?? | ?? |
| Aeva-Admin2.php | ?? | ?? |
| Aeva-Admin3.php | ?? | ?? |
| Aeva-Embed.php | ?? | ?? |
| Aeva-Exif.php | ?? | ?? |
| Aeva-Gallery.php | ?? | ?? |
| Aeva-Gallery2.php | ?? | ?? |
| Aeva-Media.php | ?? | ?? |
| Aeva-ModCP.php | ?? | ?? |
| Aeva-Sites-Custom-Example.php | ?? | ?? |
| Aeva-Subs-Vital.php | ?? | ?? |
| Aeva-Subs.php | ?? | ?? |
| BoardIndex.php | 1.1.11 | 1.1.11 |
| Calendar.php | 1.1.5 | 1.1.5 |
| Display.php | 1.1.11 | 1.1.11 |
| DumpDatabase.php | 1.1.12 | 1.1.12 |
| Errors.php | 1.1 | 1.1 |
| Help.php | 1.1 | 1.1 |
| Karma.php | 1.1.5 | 1.1.5 |
| Load.php | 1.1.11 | 1.1.11 |
| LockTopic.php | 1.1 | 1.1 |
| LogInOut.php | 1.1.6 | 1.1.6 |
| ManageAttachments.php | 1.1.11 | 1.1.11 |
| ManageBans.php | 1.1.10 | 1.1.10 |
| ManageBoards.php | 1.1.2 | 1.1.2 |
| ManageCalendar.php | 1.1.11 | 1.1.11 |
| ManageErrors.php | 1.1 | 1.1 |
| ManageMembergroups.php | 1.1.4 | 1.1.4 |
| ManageMembers.php | 1.1.11 | 1.1.11 |
| ManageNews.php | 1.1.5 | 1.1.13 |
| ManagePermissions.php | 1.1.11 | 1.1.11 |
| ManagePosts.php | 1.1 | 1.1 |
| ManageRegistration.php | 1.1.10 | 1.1.10 |
| ManageSearch.php | 1.1.12 | 1.1.12 |
| ManageServer.php | 1.1.5 | 1.1.5 |
| ManageSmileys.php | 1.1.12 | 1.1.12 |
| Memberlist.php | 1.1 | 1.1 |
| MessageIndex.php | 1.1 | 1.1 |
| ModSettings.php | 1.1 | 1.1 |
| Modlog.php | 1.1.11 | 1.1.11 |
| MoveTopic.php | 1.1 | 1.1 |
| News.php | 1.1.12 | 1.1.12 |
| Notify.php | 1.1 | 1.1 |
| PackageGet.php | 1.1.12 | 1.1.12 |
| Packages.php | 1.1.11 | 1.1.11 |
| PersonalMessage.php | 1.1.10 | 1.1.10 |
| Poll.php | 1.1.11 | 1.1.11 |
| Post.php | 1.1.11 | 1.1.11 |
| Printpage.php | 1.1 | 1.1 |
| Profile.php | 1.1.11 | 1.1.11 |
| QueryString.php | 1.1.9 | 1.1.13 |
| Recent.php | 1.1.5 | 1.1.5 |
| Register.php | 1.1.10 | 1.1.10 |
| Reminder.php | 1.1.6 | 1.1.6 |
| RemoveTopic.php | 1.1.5 | 1.1.5 |
| RepairBoards.php | 1.1 | 1.1 |
| Reports.php | 1.1 | 1.1 |
| SSI.php | 1.1.7 | 1.1.13 |
| Search.php | 1.1.5 | 1.1.13 |
| Security.php | 1.1.9 | 1.1.9 |
| SendTopic.php | 1.1 | 1.1 |
| SplitTopics.php | 1.1.11 | 1.1.11 |
| Stats.php | 1.1.6 | 1.1.6 |
| Subs-Aeva-Sites.php | ?? | ?? |
| Subs-Auth.php | 1.1.11 | 1.1.11 |
| Subs-Boards.php | 1.1.11 | 1.1.11 |
| Subs-Charset.php | 1.1 | 1.1 |
| Subs-Compat.php | 1.1.6 | 1.1.6 |
| Subs-Graphics.php | 1.1.11 | 1.1.11 |
| Subs-Members.php | 1.1.9 | 1.1.14 |
| Subs-Package.php | 1.1.12 | 1.1.12 |
| Subs-Post.php | 1.1.9 | 1.1.9 |
| Subs-Sound.php | 1.1.6 | 1.1.6 |
| Subs.php | 1.1.11 | 1.1.13 |
| Themes.php | 1.1.11 | 1.1.11 |
| ViewQuery.php | 1.1 | 1.1 |
| Who.php | 1.1 | 1.1 |
This is what the system's designed for - each version only the changed files ever get updated and even in a quick release cycle this isn't necessarily a bad thing. And when you only change the headers on those files that updated, it means you can very easily see what's not been patched yet.
That said, the reality is that it isn't a lot of use because of file edits and if people do get into trouble they're often advised to simply upload fresh copies of everything. In our case the intention is that we'd do even more of that because we're aiming for less need of file editing. Perhaps it should just go after all.
6821
The Pub / [Archive] Re: Logo Madness
« on August 7th, 2011, 12:12 PM »
You can allow people to pick 3 in a regular poll but it'd be huuuuuuge.
6822
Features / Re: These two bytes may not matter to you...
« on August 7th, 2011, 01:10 AM »Honestly though -- I don't really see the point of retrieving a version Id for all files in the list. Is it to avoid forcing admins to upload all of their files again when just a few have changed? It's just annoying -- not updating the version number list, but updating the file list remotely!
I'm inclined to think that maybe it could be ripped out.
6823
Features / Re: These two bytes may not matter to you...
« on August 6th, 2011, 10:54 PM »
Sorry, been limited on internet today.
I believe version emulation is the reason for it, that it has to be in a variable in order for it to work as currently implemented, plus the old copyright check.
I agree that just storing the version number (i.e. 0.1) in the constant is all that's actually needed, and we can insert 'Wedge' into the copyright string itself normally.
I'm still not convinced that constants are slower than variables, the only evidence I've seen for that is a claim to that effect without any real benchmarking to prove it, and even my own limited benchmarks don't seem to validate it being slower - if you're not throwing it around between scopes, and referencing it in only one major place per page load, the saving of not declaring both a variable and a constant should outweigh any performance issues from a constant, especially since that's the ideal context for using such a thing...
I believe version emulation is the reason for it, that it has to be in a variable in order for it to work as currently implemented, plus the old copyright check.
I agree that just storing the version number (i.e. 0.1) in the constant is all that's actually needed, and we can insert 'Wedge' into the copyright string itself normally.
I'm still not convinced that constants are slower than variables, the only evidence I've seen for that is a claim to that effect without any real benchmarking to prove it, and even my own limited benchmarks don't seem to validate it being slower - if you're not throwing it around between scopes, and referencing it in only one major place per page load, the saving of not declaring both a variable and a constant should outweigh any performance issues from a constant, especially since that's the ideal context for using such a thing...
6824
Off-topic / Re: Kudos for Nao & Arantor
« on August 6th, 2011, 10:49 PM »
I know that but I wasn't sure if I had any funky things about that 'absolutely' expected Comic Sans to be there, like some old games or something.
6825
Off-topic / Re: Kudos for Nao & Arantor
« on August 6th, 2011, 10:11 PM »
Or you could do what I did; remove the Comic Sans font and replaced it with a separate font instead - a long time ago I butchered Arial Bold and make it have the Comic Sans name, consequently I just have anything in "Comic Sans" turning up in a less hideous font, but the fact it's bold tells me that it's not just what it seems to be ;)
Comic Sans has a place, but it's clear that a lot of people reeeeeeeeeally hate it - http://bancomicsans.com/
Comic Sans has a place, but it's clear that a lot of people reeeeeeeeeally hate it - http://bancomicsans.com/