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 - Nao
3061
Off-topic / Re: Doctor Who
« on May 5th, 2013, 06:04 PM »
I think I heard about it in the last season of Fringe.

Oh, I've always heard that the latest Who was better than the crap we have in the weeks before..?
(Anything with Neve McIntosh is bound to be good anyway... She was my favorite character in Gormenghast :P)
3062
FAQs / [FAQ] Re: Minimum requirements
« on May 5th, 2013, 06:02 PM »
Quote from ziycon on May 4th, 2013, 11:43 PM
Good to hear. I don't hate flash but try to avoid it were possible. :)
My thoughts exactly.

It's not a priority for me, though... At least, it doesn't bother as much as when I was working on Aeva Media full-time.
3063
Archived fixes / Re: Users Online Today Bug
« on May 5th, 2013, 06:01 PM »
Nothing to add. ;)
3064
Archived fixes / Re: Auto Save Post Bug
« on May 5th, 2013, 05:59 PM »
Quote from ziycon on May 5th, 2013, 12:18 AM
When auto save kicks in it throws out the layout for the 'Attachments and other options...' options. See attached screen.
Responsive layout. 'Nuff said.

How is that a 'bug' report..?
3065
So, I fixed it in two different ways...

- a CSS-only fix, doesn't work in IE 6-8 (it'll still work -- just not that particular bug.)[1]
- a JS+CSS fix, works everywhere.[2]

CSS version adds 12 bytes to CSS file, and 0 byte to JS file.
JS version adds 1 byte to CSS file, and 6 bytes to JS file.

JS version seems like a no-brainer, but I prefer adding bytes to CSS (= doesn't stall page loading), and it's easier to save bytes in CSS than in JS, because the JS file is already optimized for size, and by a wide margin...

Any opinions...?

PS: that particular link brings back bad memories... >_<
 1. .bbc_link span:not([class]):before
 2. .bbc_link .cut:before in CSS, and <span class="cut"> in JS.
3066
It's not a JS problem... Thought so.
In fact, it's just something that happens even with JS disabled.

This is due to this rule:
.bbc_link span:before

Uh...
I guess I should be doing something like using a specific class for it. Don't like the idea, as it costs more bytes in JS, but... whatever.
3067
Archived fixes / Re: array_flip()
« on May 5th, 2013, 05:11 PM »
Okay, looks like I had a few errors in my log -- I just didn't see them because every time I tested, I didn't get anything. It just evades me... Not worth discussing any longer. Bug fixed, will be in my next commit, let's talk about something else...
3068
Archived fixes / Re: Button Icon/Text Overlay Issue
« on May 5th, 2013, 05:09 PM »
I thought I'd fixed that a few weeks ago..? Or something...
I remember seeing the bug, *and* figuring out what was wrong. I'm surprised it's still there..?

Anyway -- right now I'm having PC problems and can't launch any IE, it crashes on me, so I'll have to reboot, meaning I have to close all my WIP files, and there are still a lot, so... Please bear with me for now.

PS: that was a fast mention! ;) I wanted to see if the links were sent correctly now. They are. @Arantor --> just need to figure out how to do this in non-HTML, ah ah...
3069
Quote from Arantor on May 5th, 2013, 01:32 AM
@Nao Yay for styling that auto link shortener in CSS.
Actually, it's not the link shortener that's changing the style, it's the .bbc_link class, which is shown on all parsed links...

Hmm, I don't know how to 'fix this'... (Does it REALLY need fixing..? :^^;:)
Taking apart the cool existing code to add some stuff to remove BBC tags from the char counter...? (Hmm, I don't even remember how I did that one...)
3070
Archived fixes / Re: array_flip()
« on May 5th, 2013, 04:43 PM »
Quote from Arantor on May 5th, 2013, 04:28 PM
Aside from the fact that I was getting it myself on r2088 locally,
Odd...
Anyway, the fix is to look for we::$cache['global'] = true and change to = 'global'... Same for 'local'.
It was a 'quick hack' I made yesterday, so I'm very surprised that I didn't get any errors myself..? I guess we'll never know, ah ah.
Quote
it just seemed like it hadn't been tested prior to deployment here :/
Well, considering how I've worked on this shit from morning to late evening for the last three days, and the last rewrite was tested for many hours, I dare say the contrary... -_-
Quote
Easiest way to solve that is just to have strict mode enabled locally and be done with it.
I don't know how to enable it, ah ah...
I'll google it.
Quote
That and the fact that I now have to re-review all of my 46 pending files for changes that might have emerged from r2088.
Just do a quick search on we::$user['is_ in your code, and replace with we::$is[' -- should account for 90% of the changes. Also, we::$browser['is_ to we::$browser['. The majority of what I did is there... This should save you from any conflicts, but really, outside of Wess, I didn't have to change much...!
3071
Off-topic / Re: for(i=1;i<j;i++)
« on May 5th, 2013, 04:38 PM »
It iterates through the array called mkArray, all items except for the first (1 to length-1).

I'll have a look at your code.
Posted: May 5th, 2013, 04:27 PM

Okay, so I had a look at your code... Didn't get it at first, ah ah.

Code: [Select]
for (var i = 1, j = mkArray.length - 2; i < j; i++)
  mkArray[i].setMap(null);

This should work, as I tested it in the console... If it doesn't, it means your code can't execute while loading, so you'll have to load it inside an onload event, or something.
e.g., document.body.onload = function () { ... }
3072
Archived fixes / Re: array_flip()
« on May 5th, 2013, 04:24 PM »
Well, it's no biggie...

(1) if an error shows up on all pages, THERE'S A STRONG CHANCE I'VE NOTICED IT MYSELF... And that I'm working on fixing it. (Which I did.)
(2) if it's a "warning", rather than a crash, it's likely that it's due to wedge.org's PHP having Strict mode enabled, while my local install has it disabled.
(3) I worked really hard on that release... Made a small mistake that wasn't visible in non-strict mode, it's really no reason for the harsh comment, Pete... -_-
3073
Features / Re: New revs
« on May 5th, 2013, 02:56 PM »
rev 2088 -- and here we are... The Big Fix for CSS keywords.
(11 files, 22kb) (88, 11, 22... A pattern?!)

* And another huge overhaul of Wess and the system class... Basically, we::$browser['is_*'] is now we::$browser['*'], and all of the we::$user['is_*'] variables are moved to we::$is['*'], to make them clearer to differentiate from non-boolean $user variables, basically. Finally, we::$browser OS variables are moved to we::$os, including the we::$os['mobile'] boolean, which is an alias to we::$is['mobile'] anyway. Got it..? (Class-CSS.php, Class-System.php, Display.php, Load.php, Notifications.php, Post.php, Post2.php, Profile-View.php, RemoveTopic.php, Subs-Cache.php, Subs-Template.php)

* CSS suffix overhaul. I'm no longer initializing a css_suffixes array, and instead using the system class's properties directly. This saves nearly 2KB in Load.php, really... Also added support for all kind of tests within filename suffixes, so basically index.!(opera && windows).css is now a possibility... If you're crazy enough, of course. (Load.php, Subs-Cache.php)

* CSS file caching should now be working properly for board and category IDs tested against within the CSS file itself. I spent an awful lot of time on it, and I'm pretty sure not many people are going to find this of use anyway, but I wanted to harmonize the list of keywords available between filename suffixes and @if tests. Also saves about 700 bytes of code. (Class-System.php, Subs-Cache.php)

+ Added support for the | (logical OR) delimiter in CSS tests (not in filename suffixes though, as | is not a valid filename char). You can use a comma, or |, or ||, whatever you prefer, I'm not going to judge. (Class-System.php)

! The system class could never hold board information, because loadBoard is called after it... And not only that, but I was globaling $board instead of $board_info. Anyway, fixed and moved to loadBoard instead... (Class-System.php, Load.php)

@ Note... Support for the replace keyword was rewritten, and is untested. Might go away at some point. Same for fallback folders -- it wasn't rewritten though, just left to rot. Also, the local keyword still won't work inside CSS files. And finally, plugin CSS wasn't rewritten either, and instead I chose to remove support for filename suffixes for them; I have yet to see them used by someone else than me, and I'm fine with it.
3074
Off-topic / Re: Surviving Your Competitor
« on May 4th, 2013, 06:30 PM »
If it fails -- live with it, otherwise do something else with your life...
For instance, I spent many months building a website dedicated to prog rock reviews, with samples and all, and opened a forum next to it... Well, I wasn't expecting a smashing success, but I got less than that... Still, I made that website because I felt I had something to say. I stopped updating it years ago, but there are still a few pages of it that attract guests who post to ask for more info about the music. Not much -- but I'm satisfied with it. And, more importantly, I don't feel like it was a waste of time...
3075
Off-topic / Re: Surviving Your Competitor
« on May 4th, 2013, 03:05 PM »
I had a very niche forum back in 2003. It was an instant success because I was the authority on that particular niche subject. But managing it was a real chore... After a few years, I voluntarily made it harder for people to post; as a result, about 90% of my users left, leaving me with way more time for my other interests, ah ah... Well, after that I turned my forum into a generalist one (noisen.com), and gathered about 5 to 10 new users in the last 6 years.  The rest are my long-time buddies who're there because they like me and they like what we talk about.

Conclusion:
- don't start a forum just because you want to compete with someone else; it has to be there to FILL a need, OR to help you get to grips with managing a website or market it; it's all about the journey, not the destination.
- don't start a forum if you're not prepared to deal with its success;
- don't start a forum if you're not using Wedge. Obviously.