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
9601
Plugins / Re: Plugin hooks
« on March 28th, 2011, 08:21 PM »
Officially, they're only postponing because of the "delays in having the ownership transferred to the NPO".
Officiously, there's nothing preventing them from going BSD as of now, of course. But what's happening is that they still have a dozen bugs or so to fix -- they're actually easy to tackle, but I'd venture into saying that all of the dev team is exhausted at this point.
Can you realize that both Pete and I were rumored for a proper developer spot at some point last year? SMF 3.0 would already be out by now... :P
9602
FAQs / [FAQ] Re: Minimum requirements
« on March 28th, 2011, 07:17 PM »
Quote from Xarcell on March 28th, 2011, 07:02 PM
Wow, you really know your shit.(that's not sarcasm).
Well, I'm a good learner.
Quote
I hate seeing js file sizes over 25k, but that's just me.
Me too... But that depends it it's gzipped or not.
Wedge automatically caches and gzips all CSS and JS files. It's a feature I spent a lot of time working on, it's working perfectly in all browsers and it really saves a lot of bandwidth if your server doesn't let you enable gzipping automatically on files. (Plus, you save the processing time for gzipping files in the first place, as they're only gzipped once and then cached, as opposed to gzipped on the fly each time the file is requested in SMF for instance.)
Anyway--
The main script file (script.js+theme.js) is 28kb in Wedge (compared to 50kb in SMF for the same data), and gzipped to 10kb, meaning script.js+theme.js+jQuery = 37kb in Wedge, compared to the original 50kb (uncompressed) in SMF. All in all, if your server doesn't support automatic gzipping, then you actually save 13kb of bandwidth per user per session, *and* they get jQuery in the process. (Plus, since you can load jQ externally, you really save a whopping 40kb and an unneeded extra hit :))
Quote
If your capable of writing your own, that will work best, it's just more time and bug tracking involved. User's can still add jQuery manually, that's the route I would take. I see no point than have both. But I am a fan of jQuery, and can't stand Mootools...
I'm not fond of Mootools either. Or Yahoo's solution, for that matter. jQuery is best, but it still has the problem of bloat over time. Sometimes, smaller is better, really. Even switching to Google Closure then to UglifyJS didn't save the library from getting bigger.
Quote
As far as IE6 goes, it's good to hear it won't be babied like SMF does. People need to upgrade. Most of the current IE6 users are from businesses anyway.
Yeah... Mainly because many businesses are still running Win2k, where IE6 is the last available version. (Of course, they could use modern browsers that work even on Windows 98, but...)
Posted: March 28th, 2011, 07:15 PM

Re: filesize, it's also less of an issue when files are loaded at the end. That's where perceived loading times come into play. The only thing that's slower in that situation is the execution of JS functions. But that only means your code should behave as if the browser doesn't support JavaScript for a couple of seconds, and then JS takes over. It's as easy as that. (Of course it's not really exciting to write fallbacks for non-JS but you can always simply skip that and just expect people NOT to click everywhere in the first two seconds of loading your website for the first time... Which is, let's just say it, totally unrealistic. The act of clicking so quickly, I mean.)
9603
Plugins / Re: Plugin hooks
« on March 28th, 2011, 07:06 PM »
Quote from Xarcell on March 28th, 2011, 06:50 PM
Although, I see now it's still not supposed to be public?
It's a bit of a blunder on my side, technically.
I had a robots.txt file telling Google not to spider it. Then months later, we decided we could go public. So I removed the file. Then a few days passed, and we didn't have the time to prepare the marketing footwork that would be needed for a proper announcement. So we just postponed the public announcement... Only, I forgot to restore the file. When we received our first external visitor, we discussed this and we decided that it was okay to leave it that way.
Well, it was several months ago so it's kind of a joke by now...

I guess we could announce the name, now that I've secured all of the key domain names (I bought nearly 20 with "wedgesomething", but will probably only keep the one wedge.org and a couple others in the end -- making up over time for the price I had to pay to purchase wedge.org from a third party.)
Quote
You are welcome to delete my posts & account.
Not our way of doing things. We just like knowing whether people are discussing Wedge by its name in other places.
Quote
Thanks, and good luck with the project. Looking forward towards it's release...
As indicated, it won't be out before SMF2 Gold is ready, unfortunately. Because of the current license...
Of course, one may think that it's in their interest to delay that release as much as possible. But in the end, they're just shooting themselves in the feet... Whatever they do. Funny to think that Gold was pretty much announced for November/December, then pushed back to... Well, no date now.
9604
FAQs / [FAQ] Re: Why are there so many features? / Isn't that bloated?
« on March 28th, 2011, 12:43 PM »
Quote from Xarcell on March 28th, 2011, 02:08 AM
Then lately I been thinking more barebones, but then since I switched back to SMF to xenForo, back to SMF. I have mixed feelings.
Why did you come back from xenForo? I thought everyone loved it... (Except for me, but I haven't actually played with it much. Never bought it, never registered to a xf forum, etc.)
Quote
It can sometimes be hard to decide what's bloat and what's not. I reckon it depends on what the goal of the software is.
Bloat = a load of extra features that are presented to you and you don't really need, and bother you more than anything.
How to avoid bloat? With one or several of these solutions:
1- Make sure the extra features don't make the software slower. If it's not possible, make sure they can be disabled, and that they don't slow it down if disabled.
2- Finetune the front-end and back-end interfaces to make sure they don't jump at the user or the admin. They should be there, but discrete. If someone doesn't want to use the feature, you shouldn't remind them that they are to use it.
3- Generally, make sure the feature is actually useful to at least a good portion of the community...!
Quote
I personally would love to see wedge be more of a "community" software, and let the original SMF move forward being more of a bare-bones forum as they want.
It's not going to happen that way. Although it's likely (because SMF repeatedly said "we're just a forum", and we're saying the opposite), the SMF team and us aren't in touch, and we're not developing two opposing branches of the same software -- we're just developing them as we would LIKE it to be, while they're developing it as they THINK people would like it to be. That's a major difference. In our case, we may fail to attract a large user base, but we will definitely appeal to like-minded (perhaps more tech-savvy) people.
Quote
With that in mind, I think it makes it easier to decide what's bloat and what's not. What should be maintained, and what should be left out.
We've already gotten rid of the majority of what we thought was unneeded. Pete had a lot of fun removing huge portions of SMF like support for PGSQL and SQLite, or PHP4, things like that. What was valid for SMF2 when it was built, isn't always valid 5 years later. Well, PGSQL and SQLite may be very well alive, but it's quite obvious at this point that people who use it, ALSO have a MySQL server installed somewhere, making it pointless to use PG or SQLite. Ultimately, that was a load of bloat. (The best example being the extra empty parameter at the beginning of each query... There's no logic in using global $smcFunc; $smcFunc['db_query']('', 'SELECT * FROM {db_prefix}table'); when you can achieve the same in Wedge using wesql::db_query('SELECT * FROM {db_prefix}');....)
Quote
So Ultimately, I think wedge would be excellent with a blog/gallery added in, but more importantly extensive profiles.
We haven't started work yet on extended profiles. Blogs are underway, gallery is being developed in parallel and hopefully I'll start integrating it into Wedge soon. (I still have a few minor changes I need to do before I, ahem, break Aeva Media and Wedge altogether for the time it takes to make them behave.)
Quote
Where those blogs and gallery pictures by the user can also be found in their profile.
Generally, just have a look at noisen.com and consider that all of its features will end up in Wedge one day or another --- because my goal is to switch Noisen to use Wedge, obviously. I have no commitments other than that. And it's already a lot -- took me a couple of years to refine Noisen to what it is, and it doesn't even need to be open to more server types... While Wedge needs to take all kinds of server setups into account.
Quote
Allowing users to even use photos uploaded to the gallery for his or her blog(given permissions allow for it).
Well that's already in AeMe2...
Quote
I think that's the way to go really, assuming it won't hit performance too hard.
There's a difference between a perceived performance hit, and an actual performance hit.
Just like jQuery: if you include it at the start of your source code, it will slow down your first page load. If you put it at the end, it won't slow down anything, even though it's the same code. jQuery is slower than native JS, but if you handle it correctly, it's fast enough. (e.g. if you're using jQuery discovery functions inside a large loop, you may wanna look into using native JS instead.)
Quote
A couple of other things I'd like to see to make things more "community-like", is a rss feed poster. It makes it easier to get a community off it's feet, and keeps thing interesting if your power-posters turn up missing for a few days. But that's just me...
Yeah, never wrote that, never looked into it, but it's in my future plans. Far future though... Importing external data into a board (i.e. new topics each time) isn't my thing, though. If it were to be done, I'd give the ability to import into new posts inside a specific topic, things like that. Also -- importing and exporting in/from thoughts. (Kinda like my own tweeter/FB wall on noisen.com...)
Quote
There are things I think should be taken out, or replaced. I think karma should be removed, and replaced with a thumbsup and/or thumbsdown. Facebook uses the "like" system, and xenForo has adopted it and it works very well for everyone.
Karma was removed long ago from Wedge. The Like system isn't implemented yet because we're unsure how BEST to implement it -- i.e. it should be extremely flexible and would be handled as part of our floating topic system (more on that later... Well, if we end up discussing it publicly at least.)
Quote
Don't get me wrong, I don't what anyone to think I'm jumping in and trying to say it should be like this or like that. I am simply requesting that it be looked at and discussed among the professionals. I don't think it hurts to bounce ideas around or off each other. That's how ideas evolve and become something great and innovative.
Well, if you look closely, you'll see that Wedge.org has got over 10k posts since its inception... Meaning we definitely talk a lot ;) Only, in private. Many of the things you mentioned were discussed over at the private area, really.
Quote
Also, I have to ask. Is a block placement/portal being considered?
Not by me, I'm not a big fan of portals (having never used one more than 10 minutes.)
However, I made it extremely easy to add code to the sidebar (Wedge has a 'mandatory' non-intrusive sidebar.)
It's just a matter of sending a call to showSubTemplate('my_function', 'sidebar'). Really, piece of cake.

(BTW, note to Pete: the function that shows the sub-template is loadSubTemplate while the function that just loads it for later use is showSubTemplate... Although it does make sense when reading the source code especially next to loadTemplate calls, it's kinda awkward when you come to think of it :lol: Maybe I should do an automatic search & replace to swap the names...?)
Posted: March 28th, 2011, 12:37 PM

Re: RSS feed and extended profiles... Just a quick Google search on your made me understand :angel:
9605
FAQs / [FAQ] Re: Minimum requirements
« on March 28th, 2011, 09:43 AM »
Quote from Xarcell on March 28th, 2011, 02:44 AM
I noticed that IE 6 is a minimum requirement, but how extensive will the support for it be?
It won't explode, and it's already a lot.
Outside China, the IE6 market share is now <5%, so it's no big loss if it doesn't look good on these. It has, however, to work, since Opera's market share is not much different and I'm using it as my primary development platform. (A matter of logic, I'd say.) I'm not testing support for Firefox 1.x and 2.x though, ah ah. (<0.3%)
Quote
You don't need jQuery to fix IE crap... You don't need CSS3Pie either, anyway. If you look closely into the css3pie boards, I posted over there back in September to report bugs and post their fixes. I then wrote and recompiled my own version with only support for rounded corners (much smaller file). Then I recently dropped it because IE6, with its slow JS engine, is "watchable" but not "usable" in a 'hack' environment. I decided that IE6 users don't deserve any hacks anyway. If they're going to use a shitty browser, they'll get shitty graphics. The only thing I'm making sure is IE6-compatible, is the JavaScript stuff. I don't like error popups.
Anyway, once we start releasing our files, I'll probably stop testing for IE6 myself. People will be able to report bugs and stuff that were introduced in new builds, but I won't change Wedge to make it behave perfectly in IE6.
Yes, SMF does it, but remember that SMF2 was started back in 2005, when IE6 still had a 90% market share. We're six years later and they're still treating IE6 support as sacred or something.
Quote
Is jQuery going to be used, or are you guys writing mostly your own?
We included jQuery but mainly for user interest. i.e. we don't actually need it ourselves, but we figured that since it's the de-facto library for developers, many would be happy to see it included by default, avoiding the need to include the library separately (potentially breaking other mods using it in the first place.) Everything is taken care of for them. However, early versions of $ had a reasonable filesize. Now, v1.4.4 is about 24kb after gzipping, which is scandalously big. It pretty much makes it hard for 56k modem users to run a site that uses jQuery. And the newest 1.5.x branch is even worse (I suspect v1.5.3 will finally reach the 30kb limit.)
We're currently using 1.4.4 because we don't need more, but support for the latest versions seems pretty much mandatory to me. Admins have the ability to choose whether to load jQuery locally or from a CDN (I would recommend the CDN, if only because you get the benefit of cross-domain caching.)
I don't really know what to do about the filesize all in all, but I know that I spent a LOT of time optimizing the source code and templates to actually make it faster to load Wedge than SMF. (Even with aforementioned 56k modem.)

I guess I still haven't found my peace with jQuery. It has some nice features, but nothing that we couldn't implement ourselves. Hopefully, v2.0 will be modular... But I suspect that even if they added some kind of modularity to it, it would still be bigger than the entirety of 1.4.x.
9606
Plugins / Re: Plugin hooks
« on March 28th, 2011, 08:01 AM »
That's the other way around actually.
And you are.........?
Where did you find this website?
9607
Features / Re: New revs
« on March 27th, 2011, 05:04 PM »
rev 671
(13 files +1, 17kb)

* Moved img_blankGif() to a new wip file (Unused.php, where we should add all of our code snippets that aren't used but may be used in the future), and updated all files to use divs instead of these blank images. (other/wip/Unused.php, Subs.php, Admin.template.php, ManageMaintenance.template.php, ManagePermissions.template.php, Packages.template.php, PersonalMessage.template.php)
* Cleaned up the alt tags in togglers. (script.js, and a file of the above files.)
- Don't bother retrieving Safari/* version numbers, because we care about the Version/*, not the build number. (Load.php)
! Added a temp fix to set the left margin to zero in the user box if no avatar is selected. (index.template.php, index.css)
! Fixed potential XML error. (ManageServer.php)
* Minor tidbits. (member.css, Pastel/index.css)
9608
Features / Re: New revs
« on March 26th, 2011, 02:20 PM »
rev 670
(5 files +1, 20kb)

+ Added support for version number of main browsers (IE, Opera, Firefox, Chrome, Safari), via a floating point number. (Load.php, Class-CSS.php)
- Removing a work in progress that I committed by mistake in the wedge.org renaming batch: alternative quote handling in Post.php. Moved it to the wip folder instead. (Post.php, other/wip/Post-alt-quotes.php)
@ Also committed another WIP by mistake, in Load.php this time, but it's working, so I'm leaving it in, hopefully we'll end up using it: on_date() function in Subs.php, which does all the work on 'on January 1st / today' formatting. It's just a single line though... (Subs.php)
! Board status icons were broken in IE6. (ie6.css)
- Removed useless img styling. (Pastel/index.css)
9609
Off-topic / Re: Show and Share
« on March 25th, 2011, 05:12 PM »
.........................................
9610
Features / Re: New revs
« on March 25th, 2011, 05:09 PM »
rev 669
(5 files, 7kb)

! Fixed wrong alignment for category headers in IE6. (BoardIndex.template.php)
! Fixed header styling in browsers that don't support the header tag. Uh. (index.css)
! Fixed more IE6 issues: menu toggler arrow in IE6, and various minor details. (GenericMenu.template.php, ie6.css, index.css, rtl.css)
9611
Features / Re: New revs
« on March 25th, 2011, 02:07 PM »
rev 668
(28 files, 26kb)

* Updated the official website link from wedgeforum.com to wedge.org
9612
Features / Re: New revs
« on March 25th, 2011, 11:42 AM »
rev 667
(5 files, 10kb)

* Changed headers to actually use the header tag now... Might as well start using HTML5 tags now! (*/settings.xml)
! Oops, forgot to actually commit Class-CSS in the previous rev... (Class-CSS.php)
* Turned gradient_background and rgba2rgb into static methods, and fixed rgba2rgb to actually stop using class variables. (Class-CSS.php)
! Forgot to add a PNG workaround for IE6 in Wine's footer logo. (Wine/settings.xml)
9613
Off-topic / Re: Show and Share
« on March 25th, 2011, 11:32 AM »
Oh... I see. I think I saw that on TV, yeah.
We don't do that in France (at least not in my old days.) I was right on then, it's cultural eheh.
9614
Features / Re: New revs
« on March 25th, 2011, 11:12 AM »
rev 666
(14 files, 21kb)

! A selector followed with "extends something" needed to have at least one child property (the alternative being to use "base: something" as a property) -- this is no longer the case, indentation is enough to point out that the selector is just supposed to inherit something else. (Class-CSS.php)
! Some fixes to the object logic (visibility and instances). I'm starting to grasp how it works. Yay. (Class-String.php)
! Re-split top page IDs into three single anchors as they used to be. This is because the page won't validate otherwise. Uhhhhh. (Display.template.php)
- Don't show the window resize script in IE6 and IE7, as the current table-based solution isn't out-of-the-box compatible with the display:table one. Also made the related function a bit shorter. (index.template.php)
* we:title2 should only be used when within a hierarchy below we:title... Also, RSS header text was missing some white space. (index.template.php)
- Removed 'p' tags inside prev/next links. They were a leftover from a previous hack... (Display.php)
- $substr wasn't used in westr::cut. (Class-String.php)
* More stuff needing white space. (Stats.template.php)
* Indenazi. (index.template.php, Memberlist.template.php)
* Some 'Allons-y, Alonso!' tweaks to the language files. (index.*.php)
* Tidbits. Dozens of minor changes that aren't worthy of a changelog line, but are still there. Mostly, remnants of my epic but failed attempt at introducing a general vertical alignment process. (Post.template.php, ie6.css, ie7.css, index.css, sections.css)
Posted: March 25th, 2011, 11:11 AM

Note: I forgot to add the Class-CSS.php file to the commit list. Will be in #667, as soon as I find a sec' to look into the instance crap.
9615
Off-topic / Re: Show and Share
« on March 25th, 2011, 10:49 AM »
Still don't get it.
I guess there's a cultural issue at stake here... Or somethin'.