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
4456
The Pub / Re: Getting ready for an alpha release: CSS fixes
« on September 17th, 2012, 06:42 PM »
@Pete> Plugin authors shouldn't assume that it's available -- although it's very likely to be, there are plenty of ways to get rid of the sidebar (wetem method, or redefining the skin.xml skeleton without a <sidebar> entry...), and thus a fallback should be given, like I mostly do.

Re: PHP version, it was pretty much a given to me that 5.2.x isn't a problem as long as the x version is at least a couple of years old. We could even ask for 5.2.15 or something, it's still a two-year old version!
Still, I'm not so sure about using \h and \v right now... Especially \v. I'm not sure I understand this page correctly, which lists what they stand for:
http://stackoverflow.com/questions/3230623/filter-all-types-of-whitespace-in-php

I thought \h was 'only' a shortcut to [\t ] but it's actually way more than that, including non-breakable spaces, UTF8 special space characters, etc... I guess it's a bit overkill to use \h but probably less risky than using \v -- while \n will match all linebreaks in any system except for old MacOS (which I don't even think has decent server software available...), \v will match against \r as well, meaning that a Windows-made file will be seen as two linebreaks, and maybe it's not suitable for my code (I think it is, I just don't think it's worth testing against.)

Funny eh..?
4457
The Pub / Re: Logo Madness
« on September 17th, 2012, 06:28 PM »
What, you don't like Batman? :P

And the middle one has the same colors :P
4458
The Pub / Re: Logo Madness
« on September 17th, 2012, 12:49 PM »
Well, that logo is going away anyway, 3 votes weren't enough and the colors for the logo shape were probably too dark.

(4 votes now, but where were you when I asked for opinions :P)
4459
The Pub / Re: Logo Madness
« on September 17th, 2012, 12:26 PM »
So... And mostly because the community is divided between the two logos... I gave it my best and made a new one.
This is a mix between the first logo's shape and the second logo's colors/style. It's now the default on the English homepage (although I can always come back to the old one.) I'm reproducing it below, between its parents:

        

What do you think? (New font, too... I pretty much went through all of my collection and tried everything again until I found an italic variation that worked well, i.e. had something interesting like, in this case, the 'w'.)
4460
Off-topic / Re: Wedge Appreciation Thread
« on September 17th, 2012, 12:01 AM »
But as long as it's in alpha, at least we have the perfect canned response to any support requests: "it's not final yet"...
Or another one: "if you'd like to complain about the alpha that you're supposed to install only if you know what you're doing, then please buy our ImAWhiner package for $99.99!"
4461
Features / Re: New revs
« on September 16th, 2012, 09:17 PM »
rev 1688
(3 files, 1kb)

! Fixed a couple of places where I forgot to update the URL for smileys. (Class-Editor.php, Subs-BBC.php)

! Fixed undefined index error in member list. Well, applied Pete's fix. (Memberlist.php)
4462
Off-topic / Re: Wedge Appreciation Thread
« on September 16th, 2012, 08:20 PM »
Quote from Nao on September 16th, 2012, 02:30 PM
My justified fears of starting work on some of the most ambitious and interesting things in Wedge, such as (...)
And custom user groups! etc...
4463
Features / Re: New revs
« on September 16th, 2012, 06:57 PM »
rev 1687 -- huge commit, splitting the changelog into three for your convenience!
(22 files +6-2, 39kb)

Cache changes:

+ After I decided to add version numbers to the CSS file URLs, I realized that in production, the number of variations was much higher than I expected, making for hundreds of files quite quickly. As retaliation, I decided to split the CSS files into multiple folders, and one thing led to another... Reverted /cache/data to /cache, and created new cache folders /css and /js. This is helpful in several ways: first of all, it saves a couple of bytes off each page header, it prevents users from seeing a URL with the name 'cache' in the HTML source, and it allows for better dispersion of files. The css folder, notably, can have sub-folders, allowing for nearly unlimited skins to be added. Also moved $cachedir validity tests directly to Settings.php. (cache/*, css/*, js/*, Subs-Cache.php, index.php, SSI.php, install.php, QueryString.php, Subs-BBC.php)

@ I don't know if $cssdir and $jsdir are really needed because I'm hardly going to have a matching $cssurl/$jsurl system, so I might as well force them to be at the root...?

! Cache folders weren't allowing index.php to be executed, causing their redirect code to be worthless... (cache/.htaccess)

Wess changes:

* Renamed WeCSS to Wess. What do you know, I wrote it, I can do whatever I want with it, ah ah. Next week I'll rename it to LlamaBurp, and next year it'll be TheCssPreprocessorFormerlyKnownAsDidYouHideMyRemote?IncludingTheQuestionMark. (Subs-Cache.php, Class-CSS.php, editor.css)

@ Rewrote clean_cache() function to support recursive calls (e.g. cleaning up all CSS sub-folders), and cleaning up by last modified date. (Subs-Cache.php, ManageServer.php)

+ In addition to 'mixin: mixin-name', you can now mix any selector into another, just like extending it would do. Please try and keep these selectors simple though, it could get messy otherwise. Now the only difference between using plain selectors and @mixin declarations is that the latter allows you to specify parameters, unlike classes and so on. Well, until I get to support them with a 'params' keyword or something...? Anyway -- just keep it low for now, I'm only doing this to easily mix .inline-block into media queries. What a mess. (Subs-Cache.php, Class-CSS.php, sections.css)

+ Added support for new keyword, 'mixes'. Which, guess what, behaves exactly for 'mixin:' as 'extends' does for 'base:'. Have fun. (Class-CSS.php)

+ Added new @is() function. The first parameter should be a browser, browser with version or quoted comma-separated list of browsers, the second parameter (usually between quotes) has the resulting content if the user is using that browser (or another function like RTL etc), and the third parameter has the content for failed matches, quite obviously. Also features of my most amusing regexes of recent times. So, basically, @is() is just like {}, except you're not limited to mixin and variable declarations. It's very likely that I'll remove the {} hack in the future. (Class-CSS.php)

! Fixed bug where the extends or unextends keywords could be ignored when inserted at the end of a file. (Class-CSS.php)

* Simplified smiley CSS files to only include something extra in the filename if the browser (i.e. IE < 8) doesn't support base64 encoding. (Subs-Cache.php, Class-Editor.php)

* Rewrote {%dynamic_function:paramlist%} to be cleaner. You should now use @dynamic dynamic_function(paramlist) instead. And you don't have to mess with $match in your params again if your dynamic function doesn't need parameters. (Class-CSS.php, admenu.css, index.css)

* Renamed ifnull() to @ifnull() because it's a conditional, like a media query. (Class-CSS.php, index.css)

Other changes:

* Replaced button bevel with a more convenient box shadow. (index.css, bevel.png)

* And generally rewrote buttons to use box shadows instead of gradients. Which has the added benefit of working in IE9. (index.css)

* Replaced hardcoded inline-block emulation for media queries with a mixin call to the .inline-block class... This is a smart way of emulating extends when within a media query that, by definition, doesn't accept any external influence and thus doesn't accept the 'extends/base' keyword. (sections.css)

* Opera 12.50 was renamed to 12.10, so updated Wess to reflect that. (Class-CSS.php, editor.js, index.css)

! [Semi SMF-bug] Fixed regression from revision 941 which made Settings.php stop executing before the end. That was due to a friggin' exit call at the end of a line that's still present in SMF 2.1, FWIW. Hence the tag. (Please push it to the next line to avoid any discomfort.) (Settings.php, ...)

! Some fixes for Wuthering. More fixes coming later -- the recent rewrites have again added more glitches to sub-skins. (Wuthering/extra.css, Wuthering/extra.ie[-9].css)

- Removed that nice little average() function call for IE9 menus... Now that it's using box shadows, it's no longer needed, and no longer used in Wedge, but I will always insist on keeping that function available to themers. (index.css)
4464
The Pub / Re: Getting ready for an alpha release: CSS fixes
« on September 16th, 2012, 06:34 PM »
@To everyone: right now, the minimum version of PHP that may run Wedge is 5.2.3. I just found out that v5.2.4 can use "\h" to represent "[\t ]" in a regex (i.e. horizontal whitespace), and "\v" for "[\r\n]" (vertical whitespace), which is SUPER cool IMHO. I was wondering if anyone was against the idea of upping the minimum version to 5.2.4 just for that...? (Keeping in mind I may not even use it.)
Quote from emanuele on September 14th, 2012, 06:02 PM
That is exactly the reason I suggested a toggle: I already know that most of the things that are (and could be) in the sidebar on *any* forum are *for me* useless (dunno, most likely I have a rather peculiar way to use forums). The only one that from time to time *I* use is "Unread replies".
Okay, I guess the main point of doing that would be to save the bandwidth if you don't have a use for the sidebar. I can always set a max-width on the content itself to ensure it simply doesn't go beyond those boundaries, sidebar or not. It's not a bad suggestion, and it's very much possible to implement it as such because if my memory is correct, Wedge supports fallback target 'layers' for blocks, and if you don't provide one, it'll just skip showing it. So, a plugin author may choose to always have their contents appear, whether or not the sidebar is enabled, or just respect the sidebar's visibility by not providing a fallback.

That's doable. Anyone? Opinions?
Quote from Nao on September 13th, 2012, 05:24 PM
Funny enough the message area (that I think is the most important part of a topic) in a 1024x is 450px, that is less than half the size of the screen (44%) and the space actually filled with text is only ~386ps (38%, a bit more than one third of the screen size).
And...? :^^;:
Quote
That would work if the sidebar is visible for the entire length of the page, but at the moment is visible just in the first screen, going down the topic the result is a single narrow column (16 page-down long against 12 without sb)...and your signature is too wide for a 1024px monitor. ;)
My signature is precisely made to 'not' stretch (with a table) so that I can see how bad it looks at low res.
Posted: September 16th, 2012, 06:32 PM

Re: bad space at the right, I could use a position: fixed or something on the sidebar, or use JS to reposition it to always have the contents on the side, but that would mean having to ensure the sidebar height isn't bigger than your viewport height. That, or using JavaScript to help dynamically, ah ah... Lots of work, no time for that.
4465
Off-topic / Re: Wedge Appreciation Thread
« on September 16th, 2012, 02:30 PM »
Hello,
Quote from sascape on September 16th, 2012, 02:07 PM
I just wanted to say 'Thank you'.

I've read in another thread that you guys thought about giving this project up not long ago because people don't know how to behave.
Pete planned (plans?) to give up, yes, but I never did... I'm too close to completing my work to give up now. (Heck, even if I still had a few years worth of work left to do, I wouldn't give up, if only because Wedge is probably SMF's best chance of surviving the competition.)
Quote
Sadly the most vocal are flamers while people who just follow you silently and are waiting for a release remain mostly hidden.
Well, I don't know that it'll be a smash success, but at least it'll be there. And it'll have its die-hard fans, and people who say they prefer the competition, etc. Heck, even back when I made Kyodai Mahjongg, which was arguably the best of its kind, I had detractors as well. A tiny minority, though :) I guess I know how to please people: I just do what I know best...
Quote
The first time I heard about wedge I wanted to upgrade my SMF immediately, but - as I learned - wedge was still in development and still is. Since then I'm watching you guys. At least once a month I visit this website to see if there is some progress.
I understand that you want to publish a version that you're satisfied with so I don't mind waiting.
There will be a public version out this year anyway. It has slowed down a lot for two reasons mainly, (1) Pete's diminishing involvement (up until recently he was involved 50/50, but since May he's been largely absent and made only 10% of the commits, leaving me to despair for someone to take over and come help :(), (2) My justified fears of starting work on some of the most ambitious and interesting things in Wedge, such as topic privacy (which is implemented at Noisen in a flawed form, so Pete advises against doing it the same way), using Aeva Media for attachments (the jury's still out on this one), board types (it's probably the easiest to implement, but I'm just not sure whether it's best to take my old Noisen code for them as well), and so on.
Since then, (2) has pretty much become a non-issue because we decided to feature-freeze most of Wedge until we're satisfied with the returns, and then we'll start (or at least I'll start) implementing these in v2.0 or something. (Maybe earlier.)
Quote
I just want you to know that there is another sort of follower who appreciate what you are doing. Thank you for your work!
Thank you :)
4466
Off-topic / Re: Doctor Who
« on September 16th, 2012, 02:19 PM »
Two out of three! Great!
I loved yesterday's episode, with a big L. A tearjerker. It had a barely recognizable Ben "Crichton" Browder in it, both 'vilains' were very well written, even the Doctor was very believable (unlike last time, sorry for insisting!) in his desires and his multiple changes of mind... Whithouse really is a great asset to Doctor Who, after the nice 'Vampires in Venice' and the excellent 'God complex'...
And next week's episode should be interesting, too! Although it's written by the Dinosaurs guy :P
4467
The Pub / Re: Logo Madness
« on September 13th, 2012, 05:50 PM »
Don't want people thinking that Wedge is prone to crashes :whistle:
4468
The Pub / Re: Getting ready for an alpha release: WeCSS/Wess improvements
« on September 13th, 2012, 05:29 PM »
Oui !
4469
Off-topic / Re: Wedge fan sites? (Was: symfony vs zend)
« on September 13th, 2012, 05:27 PM »
Are you talking to me...?
Quote from Inter on September 13th, 2012, 08:20 AM
Who told you that I do official site? where I live people do not look at the domain, and the fact that is on the site and are looking for a site through Google and not by a beautiful name.
"In Soviet Russia, you don't look at the .su domain name. The .su domain name looks at you."

:ph34r:
Quote
Millions of people write notes on the engines in their blogs, and that now they must ask someone permission to do so?
You don't have to seek permission to mention the name Wedge. But using it to imply that this is an official website is a breach of our trademark.

There's a reason I'm discussing this with you now, rather than later... It's to ensure that everyone's happy in the end.
Quote
fan of the word in my language uachno rhymes with stupid
Very well.
4470
The Pub / Re: Getting ready for an alpha release: CSS fixes
« on September 13th, 2012, 05:24 PM »
A few reasons why 'mandatory' sidebars have a point in Wedge... Feel free to disagree.

- If you know the sidebar is going to be there (even if moved to the end of the page), it's a 'sure' target for any block you'd want to add that doesn't belong in the main content.

- Readability of main text content. Because long lines make it harder to 'catch' the next line when reading, it's always recommended to do no more than 50-100 characters per line, I took the upper one and limited my widths to about 600 to 800 pixels in width on all my designs. Because today's displays can have largely varying widths (up from 2000px+ on Retina screens down to 320- on mobile phones), it's best to hide the sidebar on smaller displays, and have it in wider displays to give some additional content that would help eliminate the feeling that you're reading a single column of a regular paper if you're on a 600px wide column in a 2000px wide window... See what I mean.

- Most forums have a very complicated layout for topic pages, with much useless information. I did my best to push all that 'useless' stuff to the sidebar -- because removing it wasn't a solution either. It makes topics more user-friendly overall. And more work can be done on that...