Wedge

Public area => The Pub => Off-topic => Topic started by: forumsearch0r on December 2nd, 2013, 12:34 AM

Title: Any experiences with Sass/Compass?
Post by: forumsearch0r on December 2nd, 2013, 12:34 AM
I stumbled upon Sass(http://sass-lang.com/) with the Compass(http://compass-style.org/) add-in last night and like it. Any experiences or tips?
Title: Re: Any experiences with Sass/Compass?
Post by: Nao on December 2nd, 2013, 07:14 AM
Well... you realize it's the basis of my work on Wess three years ago right? ;)
Title: Re: Any experiences with Sass/Compass?
Post by: MultiformeIngegno on December 2nd, 2013, 09:34 AM
Ehehehe
Title: Re: Any experiences with Sass/Compass?
Post by: forumsearch0r on December 2nd, 2013, 11:24 AM
No I don't. :P This doesn't nearly answer my question anyway. :)
Title: Re: Any experiences with Sass/Compass?
Post by: Nao on December 2nd, 2013, 11:08 PM
Well, take Sass and Less, remove some useless features, add more innovation, and voilĂ , you've got Wess.
And it's an exclusive component of Wedge.
Title: Re: Any experiences with Sass/Compass?
Post by: forumsearch0r on December 2nd, 2013, 11:24 PM
Well, that's not helpful for daily use. :D
Title: Re: Any experiences with Sass/Compass?
Post by: Nao on December 2nd, 2013, 11:47 PM
I never said Wess wouldn't be released separately from Wedge.

But I'll only do it if there's some semblance of interest, of course. Not going to waste my time otherwise...

Do note that the library itself is already mostly separate from the forum code, so... It's doable.
Title: Re: Any experiences with Sass/Compass?
Post by: forumsearch0r on December 2nd, 2013, 11:49 PM
"Mostly", oh well ...

All I need is the compiler. (And a reason why I should prefer Wess to Compass. :P Which leads me back to my original question...)
Title: Re: Any experiences with Sass/Compass?
Post by: Nao on December 2nd, 2013, 11:55 PM
What do you need to ask, then? The compiler is available in the places you posted...
And if you're looking for a PHP preprocessor, just try lessphp (a port of lessc, which itself is based on Less.)
Title: Re: Any experiences with Sass/Compass?
Post by: forumsearch0r on December 2nd, 2013, 11:56 PM
I need to ask because it's not related to my original question ... :D

(No, I prefer having my CSS files built before using them, but thanks.)
Title: Re: Any experiences with Sass/Compass?
Post by: Nao on December 3rd, 2013, 09:51 PM
Less compiles at page load time. Sass and Wess compile once and then load a static CSS file.
Title: Re: Any experiences with Sass/Compass?
Post by: forumsearch0r on December 3rd, 2013, 10:06 PM
... unless you drive a server-side dynamic compiling unit. (Especially WordPress is known to use something like that for every occasion imaginable.)

Static CSS is best indeed! But not generated on the server.  :D
Title: Re: Any experiences with Sass/Compass?
Post by: Nao on December 4th, 2013, 12:21 AM
Quote from forumsearch0r on December 3rd, 2013, 10:06 PM
... unless you drive a server-side dynamic compiling unit.
That's what a CSS preprocessor is, really...

I'm not exactly sure what point you're trying to make.

Oh, I was looking at Elk, and noticed you were doing their German version. Do you want to double-check Pandos's translation for Wedge? I'm interested in finding typos, things like that. I don't speak a word of German. Nein.

I also noticed you got into a fight with someone else with the translation... I'm afraid I have to say, I don't see in what way his post was offending. It seemed like an innocent question, to me. You're a bit irritable, aren't you? ;)
Quote from forumsearch0r on December 3rd, 2013, 10:06 PM
(Especially WordPress is known to use something like that for every occasion imaginable.)
I don't think they have any of that...
They do have the 'super-cache' plugin, though. It makes PHP pages static. That's cool. For a website you provide no interactivity for, of course.............
Quote from forumsearch0r on December 3rd, 2013, 10:06 PM
Static CSS is best indeed! But not generated on the server.  :D
Well then, what do you want?
It takes less than half a second (or even a quarter second..?) for the server to re-generate the main CSS file, which is quite large, and after that, it doesn't need to be re-generated until the original CSS is modified.
Title: Re: Any experiences with Sass/Compass?
Post by: forumsearch0r on December 4th, 2013, 12:33 AM
Quote from Nao on December 4th, 2013, 12:21 AM
That's what a CSS preprocessor is, really...
Well, I mainly intend to use it to generate CSS locally and upload it then. No additional server load, still optimized coding.
Quote from Nao on December 4th, 2013, 12:21 AM
Oh, I was looking at Elk, and noticed you were doing their German version. Do you want to double-check Pandos's translation for Wedge?
I'm afraid having to fix other people's translations with their consent costs me more time than actually doing a completely new translation. I'm rather, hm, conservative when it comes to German. ;)It could have been worse!(http://www.youtube.com/watch?v=F4gBVT0xeI0#ws)
Quote from Nao on December 4th, 2013, 12:21 AM
I also noticed you got into a fight with someone else with the translation... I'm afraid I have to say, I don't see in what way his post was offending. It seemed like an innocent question, to me. You're a bit irritable, aren't you? ;)
Yes, I am. :whistle:
Also it annoys me quite a bit to spend a lot of effort into translating stuff just to hear then "sorry but we have no idea how to integrate it" and then, by a completely new third-party member, "oh well I could already have done" blah blah...

I'm with Theo de Raadt here: Less talking, more fucking work!
Quote from Nao on December 4th, 2013, 12:21 AM
I don't think they have any of that...
Not built-in ... ;)
Title: Re: Any experiences with Sass/Compass?
Post by: Nao on December 4th, 2013, 02:01 PM
Quote from forumsearch0r on December 4th, 2013, 12:33 AM
Well, I mainly intend to use it to generate CSS locally and upload it then. No additional server load, still optimized coding.
What's the point in doing it manually, if the software can do it for you and then cache it forever..?
Quote
Also it annoys me quite a bit to spend a lot of effort into translating stuff just to hear then "sorry but we have no idea how to integrate it" and then, by a completely new third-party member, "oh well I could already have done" blah blah...
That's not what he said, IIRC.
Quote
I'm with Theo de Raadt here: Less talking, more fucking work!
I could have said that to a certain ex-Wedge developer, but he is what he is. :P
Title: Re: Any experiences with Sass/Compass?
Post by: forumsearch0r on December 4th, 2013, 02:04 PM
Quote from Nao on December 4th, 2013, 02:01 PM
What's the point in doing it manually, if the software can do it for you and then cache it forever..?
More control, less dependance on a software's behavior.
Quote from Nao on December 4th, 2013, 02:01 PM
That's not what he said, IIRC.
It was what I understood. ;)
Quote from Nao on December 4th, 2013, 02:01 PM
I could have said that to a certain ex-Wedge developer, but he is what he is. :P
Not sure who you could mean by this ... :D
Title: Re: Any experiences with Sass/Compass?
Post by: Nao on December 4th, 2013, 02:16 PM
Quote from forumsearch0r on December 4th, 2013, 02:04 PM
Quote from Nao on December 4th, 2013, 02:01 PM
What's the point in doing it manually, if the software can do it for you and then cache it forever..?
More control, less dependance on a software's behavior.
You're still relying on the behavior of the software that does the static conversion for you; it doesn't have to be 'online' to be buggy, eh.
Quote from forumsearch0r on December 4th, 2013, 02:04 PM
Quote from Nao on December 4th, 2013, 02:01 PM
That's not what he said, IIRC.
It was what I understood. ;)
Which is why I said you were being irritable.
Title: Re: Any experiences with Sass/Compass?
Post by: forumsearch0r on December 4th, 2013, 02:18 PM
Quote from Nao on December 4th, 2013, 02:16 PM
You're still relying on the behavior of the software that does the static conversion for you
Yes, but I know CSS well enough to check what's wrong if something's, well, wrong. :ph34r:
Quote from Nao on December 4th, 2013, 02:16 PM
Which is why I said you were being irritable.
I tend to.