Re: [dev] suckless too to minify CSS, JS and html

2018-05-23 Thread Ori Bernstein
On Tue, 22 May 2018 12:17:20 +0200 harry666t wrote: > I wonder how many people here that advise against minification, keep > their compiled binaries "readable". Please start shipping your > makefiles with "-Og" instead of "-Os" then. Yes, please. Keeping debug information is a useful default. F

Re: [dev] suckless too to minify CSS, JS and html

2018-05-22 Thread Guilherme Vieira
On Wed, May 23, 2018 at 3:34 AM, Peter Nagy wrote: > The distinction isn't that clear though, e.g. many scripting languages can > byte compile the sources. And the "no obvious reasons" is as usual speed, be > it runtime or network. An OSS website can still publish the real, readable > sources w

Re: [dev] suckless too to minify CSS, JS and html

2018-05-22 Thread Peter Nagy
The distinction isn't that clear though, e.g. many scripting languages can byte compile the sources. And the "no obvious reasons" is as usual speed, be it runtime or network. An OSS website can still publish the real, readable sources with steps how to use it, just like compiled languages do. I

Re: [dev] suckless too to minify CSS, JS and html

2018-05-22 Thread Guilherme Vieira
On Tue, May 22, 2018 at 12:17:20PM +0200, harry666t wrote: > I wonder how many people here that advise against minification, keep > their compiled binaries "readable". I wonder how many people who make that comparison realize it's a false dichotomy. Like v4hn alluded to, scripting languages have t

Re: [dev] suckless too to minify CSS, JS and html

2018-05-22 Thread v4hn
On Tue, May 22, 2018 at 12:17:20PM +0200, harry666t wrote: > I wonder how many people here that advise against minification, keep > their compiled binaries "readable". I wonder how many people here looked at this thread and thought "stop that nonsense and do something useful with your life". *The

Re: [dev] suckless too to minify CSS, JS and html

2018-05-22 Thread Manu Raster
While minimizing is a discipline of the programmer to keep things clear and simple, what was presented here as "minifying" operates at the deplorable result level, when it's too late for programmatic corrections. It thus obfuscates instead of corrects failures.

Re: [dev] suckless too to minify CSS, JS and html

2018-05-22 Thread Quentin Rameau
> I wonder how many people here that advise against minification, keep > their compiled binaries "readable". Please start shipping your > makefiles with "-Og" instead of "-Os" then. We don't ship binaries, only source code, and a way to build them. Then how you compile your own binary is your cho

Re: [dev] suckless too to minify CSS, JS and html

2018-05-22 Thread harry666t
I wonder how many people here that advise against minification, keep their compiled binaries "readable". Please start shipping your makefiles with "-Og" instead of "-Os" then. On 19 May 2018 at 11:16, Hiltjo Posthuma wrote: > On Fri, May 18, 2018 at 07:32:49PM +0100, Martin Tournoij wrote: >> On

Re: [dev] suckless too to minify CSS, JS and html

2018-05-19 Thread Hiltjo Posthuma
On Fri, May 18, 2018 at 07:32:49PM +0100, Martin Tournoij wrote: > On Fri, May 18, 2018, at 18:38, Hiltjo Posthuma wrote: > > > As for my general thoughts on minification: use common sense. If you're > > > creating one of those pages with 3M of JavaScript then it probably makes > > > sense. If you'

Re: [dev] suckless too to minify CSS, JS and html

2018-05-18 Thread Jules Merit
Plan9 Doom Port id faces of death #missioncomplete Miles Kilo stoneman sgi 0xbfc xxx turkey shoot James Tomaschke CA B550 4567 my id /ckeen On Fri, May 18, 2018 at 1:54 PM, Patrick Bucher wrote: > On Fri, May 18, 2018 at 07:38:36PM +0200, Hiltjo Posthuma wrote: >> On Fri, May 18, 2018 at 05:22:43

Re: [dev] suckless too to minify CSS, JS and html

2018-05-18 Thread Patrick Bucher
On Fri, May 18, 2018 at 07:38:36PM +0200, Hiltjo Posthuma wrote: > On Fri, May 18, 2018 at 05:22:43PM +0100, Martin Tournoij wrote: > > Don't create pages with 3MB of Javascript, that's insane. > True > > I think concatenation/bundling in one file is fine, but not minification, > because it makes

Re: [dev] suckless too to minify CSS, JS and html

2018-05-18 Thread Quentin Rameau
> > Don't create pages with 3MB of Javascript, that's insane. > > I agree. My boss, our web designers, and many other people don't, so > unfortunately I do have to deal with it. You don't have to deal with it by just accepting it though. > > I think concatenation/bundling in one file is fine, bu

Re: [dev] suckless too to minify CSS, JS and html

2018-05-18 Thread Martin Tournoij
On Fri, May 18, 2018, at 18:38, Hiltjo Posthuma wrote: > > As for my general thoughts on minification: use common sense. If you're > > creating one of those pages with 3M of JavaScript then it probably makes > > sense. If you're creating something more sane then it's probably just > > wasted effort

Re: [dev] suckless too to minify CSS, JS and html

2018-05-18 Thread Teodoro Santoni
2018-05-18 18:04 GMT, isabella parakiss : > compilers considered harmful because they make the source unreadable > > On 5/18/18, Hiltjo Posthuma wrote: >> On Fri, May 18, 2018 at 05:22:43PM +0100, Martin Tournoij wrote: >>> On Fri, May 18, 2018, at 16:46, Thuban wrote: >>> > Does anyone has advice

Re: [dev] suckless too to minify CSS, JS and html

2018-05-18 Thread Joseph Graham
Hi, I really don't approve of this. It's a waste of effort on your part, and all it achieves is making the code hard to read. Just slap some gzip on it and you're all good. Best, Joseph On Fri, May 18, 2018 at 05:46:15PM +0200, Thuban wrote: > Hello, > > Does anyone has advice for a suckless t

Re: [dev] suckless too to minify CSS, JS and html

2018-05-18 Thread isabella parakiss
compilers considered harmful because they make the source unreadable On 5/18/18, Hiltjo Posthuma wrote: > On Fri, May 18, 2018 at 05:22:43PM +0100, Martin Tournoij wrote: >> On Fri, May 18, 2018, at 16:46, Thuban wrote: >> > Does anyone has advice for a suckless tool to minify JS, CSS and HTML >>

Re: [dev] suckless too to minify CSS, JS and html

2018-05-18 Thread Hiltjo Posthuma
On Fri, May 18, 2018 at 05:22:43PM +0100, Martin Tournoij wrote: > On Fri, May 18, 2018, at 16:46, Thuban wrote: > > Does anyone has advice for a suckless tool to minify JS, CSS and HTML > > files? I use sed for now, but it might not be the best solution. > > > > Furthermore, I was wondering what

Re: [dev] suckless too to minify CSS, JS and html

2018-05-18 Thread Martin Tournoij
On Fri, May 18, 2018, at 16:46, Thuban wrote: > Does anyone has advice for a suckless tool to minify JS, CSS and HTML > files? I use sed for now, but it might not be the best solution. > > Furthermore, I was wondering what is the opinion of the list about > minifying CSS, JS > and html files? > -

Re: [dev] suckless too to minify CSS, JS and html

2018-05-18 Thread Ivan Tham
On Fri, May 18, 2018 at 05:46:15PM +0200, Thuban wrote: Hello, Does anyone has advice for a suckless tool to minify JS, CSS and HTML files? I use sed for now, but it might not be the best solution. Furthermore, I was wondering what is the opinion of the list about minifying CSS, JS and html fi

Re: [dev] suckless too to minify CSS, JS and html

2018-05-18 Thread ilf
Use HTTP compression and keep your source readable. Thuban: Does anyone has advice for a suckless tool to minify JS, CSS and HTML files? I use sed for now, but it might not be the best solution. -- ilf If you upload your address book to "the cloud", I don't want to be in it. signature.asc D

Re: [dev] suckless too to minify CSS, JS and html

2018-05-18 Thread Quentin Rameau
> Hello, Hello, > Does anyone has advice for a suckless tool to minify JS, CSS and HTML > files? I use sed for now, but it might not be the best solution. Don't do this.

[dev] suckless too to minify CSS, JS and html

2018-05-18 Thread Thuban
Hello, Does anyone has advice for a suckless tool to minify JS, CSS and HTML files? I use sed for now, but it might not be the best solution. Furthermore, I was wondering what is the opinion of the list about minifying CSS, JS and html files? - Do you minify on your websites ? Why ? - What tool