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
8296
Features / Re: Core/Not Core
« on October 13th, 2010, 08:12 PM »
It's still the case that we have the package manager, though again that will likely be upgraded since frankly I'd rather create a proper system under <database> to define tables so that modders never actually have to touch code. (I mean, seriously, I know the team regards packman as unfinished, but did it never occur to them in what ways it could be made nicer?)
8297
Features / Re: Naming Boards/blogs/sites etc.
« on October 13th, 2010, 08:10 PM »
Well, XenForo (boo hiss) bundles boards, redirection boards, categories and pages under a single parent area called Nodes, and each of those things as we know them are types of nodes, under which you have 'Forum', 'Link Forum', 'Page' and 'Category' (yes, the vB mentality strikes again :P)

Section is logical and means it's not necessarily tied to being a forum.
8298
Features / Re: Core/Not Core
« on October 13th, 2010, 11:51 AM »
Agreed on the AeMe front. Would also be neat for some of the other stuff we've talked about being core vs not core, like the calendar.

With a sufficiently modular setup it should be possible to do.
8299
The Pub / Re: Logo Madness (Was: New revs)
« on October 13th, 2010, 11:34 AM »
Quote
Try doing something that's not among the lines of what I asked for. Reuse ideas you had for other logos but that you ended up dumping, etc.
Innovate, not imitate? :lol:
8300
The Pub / Re: Logo Madness (Was: New revs)
« on October 13th, 2010, 03:21 AM »
It's meant more for comedy than anything else, though I'll note it is in SVN right now. Both of us are feeling pretty jaded from all the crap that's gone on (and on and on) so for us it's a little light relief. I don't seriously think we'll use it out in live installs.
8301
Off-topic / Re: Filezilla hell...maybe not.
« on October 13th, 2010, 01:54 AM »
Yeah, if in doubt, run with binary. It may be slower, but you guarantee it is byte-for-byte what your files are.
8302
Off-topic / Re: Filezilla hell...maybe not.
« on October 13th, 2010, 01:46 AM »
The option of danger is "Treat files without extension as ASCII file"

If that is ticked, attachments and avatars will be damaged, likely permanently.

That reminds me actually... http://tracker.wedge.org/?sa=ticket;ticket=75
8303
The Pub / Re: Logo Madness (Was: New revs)
« on October 13th, 2010, 01:21 AM »
Nicely done, ahahahah!
8304
Features / Re: New revs
« on October 12th, 2010, 09:26 PM »
C'mon, you LURVE those Webkit browsers :D
8305
Features / Re: New revs
« on October 12th, 2010, 08:19 PM »
Quote
That's what you get when code stays static for years!
Did you test with older but still supported versions of Opera and FF? I can test with Opera 9 if you ask me.
I didn't test with older stuff particularly; Chrome 7, FF 3.6.9 or 3.6.10, Opera 10.60 (I think) and IE 8. But as a general rule users on non IE platforms are much better about staying up to date, and really I think they've all moved on a long way since 2006. Except IE that still needs its hand holding otherwise it tries so hard to be clever and fails so dismally. No, IE, I am not using Windows-1252 for this!
Quote
Can't we just remove the first parameter? It'll always be set to UTF-8 anyway...
I just wanted it to work without spewing errors for registrations so I could sign up test accounts for attachment testing.
8306
Off-topic / When you run out of ids...
« on October 12th, 2010, 04:19 PM »
We all know bad stuff happens when you run out of ids in a column. Sometimes it happens in unexpected ways.

Like http://www.theregister.co.uk/2010/10/12/bi_tagging/ for instance. That 2.1 billion limit just happens to be the upper limit on a signed INT column... (32 signed int, caps at 2,147,483,647)

Never let us forget the expected data size in any column!
8307
Features / Re: New revs
« on October 12th, 2010, 04:13 PM »
Quote
Yeah, I remember that... Damn you, Google fanboys!
I thought I remembered seeing Opera have a resizeable textarea a year or more ago? Then again that would have been during my Star Pirates/Greasemonkey days where I was fudging GM to work on Firefox, Opera, Safari with SIMBL support (thanks to Asgard), so I sorta lost track of what did what.
Quote
Let's just say they didn't know unset() could be called with multiple parameters.
Works for me ;)
Quote
Just like in Subs-Members.php... I see no other reason to use THAT, and even the comment spells it out. 'Characters'. (Feel free to delete it.)
I bet once upon a time there were more characters in that list, or should have been.
Quote
Not only that, but you have no idea how fun it's going to be when I get to update to the latest SMF SVN...
As I keep trying to tell Antechinus, spending time farting around with stupid little changes in the source that doesn't benefit anyone just slows down actually fixing real issues.
Posted: October 12th, 2010, 03:00 PM

Revision: 206
Author: arantor
Date: 15:13:11, 12 October 2010
Message:
! Removed random support for Firefox and Opera in downloads, they work just fine with the default, even with filenames with UTF-8 in them. (Download.php)
! Another silly bugfix from the UTF-8 stuff. (Subs-Post.php)
----
Modified : /trunk/Sources/Download.php
Modified : /trunk/Sources/Subs-Post.php
8308
The Pub / Re: Logo Madness (Was: New revs)
« on October 12th, 2010, 03:01 PM »
Some nice ones there, Bloc!

Might be nice in green actually.
8309
Features / Re: New revs
« on October 12th, 2010, 02:36 PM »
Quote
Okay, I'll switch to the post editor... Quick Reply is cool when you're not replying to a long post. There's no handle to increase its size... (Idea for later.)
Get a better browser then; Chrome's had it built in for ages. :P
Quote
BTW, makes me think... Is this Unicode or UTF? If it's Unicode, then I don't even know what the function is there for... SMF/Wedge never ever generate Unicode stuff, AFAIK...
Well... UTF-8 is one form of Unicode. The whole concept is a total mess anyway -sigh-. Anyway, the idea is that it should always be valid UTF-8 (and by proxy valid Unicode) except that in some cases it isn't, but I have no idea why that might be. It's been there since 1.1, and it may not be relevant any more - doubly so since it never seemed to be called before.
Quote
Now, I'm not sure in what way it was broken? It's been a long time since I've played with output buffer manipulation. Especially in SMF, where there are plenty of buffers at a time...
Attachments totally failed to load before. Just went to an error message about not being able to load the page.

What was happening is that there was an extra output buffer existing that shouldn't have existed, which was causing content not to be flushed properly - and even if it did get flushed, the result would be corrupted because it would be gzipped content when the header implied otherwise. (I haven't checked the browser-specific stuff yet, that's next up)

Gzipping binary content when you're serving in true binary probably isn't a clever idea ;) And if it's over 4MB, you don't really want to be managing that in PHP anyway since it'll be coming out of PHP memory, PHP buffering and possibly fail between PHP and webserver.
Quote
unset($GLOBALS['cachedir'], $GLOBALS['db_character_set']);
I wonder why SMF never did that.
Quote
Well, I added the script tag in ManageSettings, didn't I...?
It still breaks though, vomiting raw JS onto the page :/
Quote
Given these last few hectic hours, it's no surprise we're both making blunders here and there. That's why we proof-read each other's code. Glad to be of help
Not only that but we've made some very large changes to the codebase, and it's unlikely we'd have totally caught every one first time simply because they are very large changes with lots of consequences.
8310
Features / Re: New revs
« on October 12th, 2010, 02:17 PM »
Quote
* Complicated code just for an unset... (index.php, SSI.php)
It didn't used to be complicated for a single unset, when it had two items in it... but in hindsight it was still complicated.
Quote
* Spacinazi. (ManageSettings.php, Admin.template.php)
Won't that break the settings pages since $context['settings_post_javascript'] doesn't add its own <script> tag...?
Quote
! Regex is an art form. Like, modern art for the ego. (Class-Editor.php)
Yes, that was an oops moment, sorry...