Re: [LEDE-DEV] Call defines for minifying scripting languages

2016-12-12 Thread Paul Oranje
> Op 12 dec. 2016, om 10:18 heeft Zefir Kurtisi het > volgende geschreven: > > (did you remove the CC to LEDE-DEV on purpose?) no, by accident, corrected that now. > Depends. > > When the script is used to bring some service up and not used during runtime, > they > are ok. If they are execute

Re: [LEDE-DEV] Call defines for minifying scripting languages

2016-10-04 Thread Zefir Kurtisi
On 10/03/2016 01:00 PM, Jan-Tarek Butt wrote: > Hi, > > My Idea ist to create calldefs to minify all scriptes there are > interpreted by run time. > > As example see the mail "[PATCH] LuaSrcDiet call define for lua > code Minifying". > > I plan to write also calldefs for shellscripts, python a

Re: [LEDE-DEV] Call defines for minifying scripting languages

2016-10-04 Thread Bastian Bittorf
* Karl Palsson [04.10.2016 08:38]: [...] > about the scripts _at all_ right up until they try and look in > one to debug something behaving oddly. At _that_ point they will > care _very much_ that it's all minified garbage, with some > presumption that they could "just get the source somewhere e

Re: [LEDE-DEV] Call defines for minifying scripting languages

2016-10-03 Thread Karl Palsson
Jan-Tarek Butt wrote: > > > On 10/03/16 17:00, Bastian Bittorf wrote: > > * Jan-Tarek Butt [03.10.2016 16:55]: > >> currently I am working on a Shellscript minifyer > >> there are not realy exsist one so I write a new one. > > > > hopefully in haskell 8-) > > you made my day 8-) ROFL! > > >

Re: [LEDE-DEV] Call defines for minifying scripting languages

2016-10-03 Thread Oswald Buddenhagen
On Mon, Oct 03, 2016 at 01:00:19PM +0200, Jan-Tarek Butt wrote: > My Idea ist to create calldefs to minify all scriptes there are > interpreted by run time. > > 1. Reducing memory size on firmware images. > this is absolutely negligible. as others already pointed out, scripts compress quite well.

Re: [LEDE-DEV] Call defines for minifying scripting languages

2016-10-03 Thread Jan-Tarek Butt
On 10/03/16 17:00, Bastian Bittorf wrote: > * Jan-Tarek Butt [03.10.2016 16:55]: >> currently I am working on a Shellscript minifyer >> there are not realy exsist one so I write a new one. > > hopefully in haskell 8-) > you made my day 8-) ROFL! > > I think this is a bad idea. In practise you

Re: [LEDE-DEV] Call defines for minifying scripting languages

2016-10-03 Thread Bastian Bittorf
* Jan-Tarek Butt [03.10.2016 16:55]: > currently I am working on a Shellscript minifyer > there are not realy exsist one so I write a new one. hopefully in haskell 8-) you made my day 8-) ROFL! I think this is a bad idea. In practise you safe nothing but make debugging harder, the JFFS2 or squas

Re: [LEDE-DEV] Call defines for minifying scripting languages

2016-10-03 Thread Christian Schoenebeck
Hi, I implemented something like this into Makefile of ddns-scripts (Openwrt-Package). It removes all comments (except starting with "#."), leading whitespaces and blank lines during package build. The source at Github is fully commented. cheers Christian Am 03.10.2016 um 16:00 schrieb Jan-Tare

Re: [LEDE-DEV] Call defines for minifying scripting languages

2016-10-03 Thread Jan-Tarek Butt
On 10/03/16 14:18, Piotr Dymacz wrote: > Hello, > > 2016-10-03 13:14 GMT+02:00 Karl Palsson : >> >> Jan-Tarek Butt wrote: > [snip] >>> 1. Reducing memory size on firmware images. >> >> But will it? They're in the squashfs image, it's already been >> demonstrated before that compressing things b

Re: [LEDE-DEV] Call defines for minifying scripting languages

2016-10-03 Thread Jan-Tarek Butt
On 10/03/16 13:14, Karl Palsson wrote: > > Jan-Tarek Butt wrote: >> Hi, >> >> My Idea ist to create calldefs to minify all scriptes there are >> interpreted by run time. >> >> As example see the mail "[PATCH] LuaSrcDiet call define for lua >> code Minifying". >> >> I plan to write also calldefs

Re: [LEDE-DEV] Call defines for minifying scripting languages

2016-10-03 Thread Piotr Dymacz
Hello, 2016-10-03 13:14 GMT+02:00 Karl Palsson : > > Jan-Tarek Butt wrote: [snip] >> 1. Reducing memory size on firmware images. > > But will it? They're in the squashfs image, it's already been > demonstrated before that compressing things before can actually > have negative impacts. That's tru

Re: [LEDE-DEV] Call defines for minifying scripting languages

2016-10-03 Thread Karl Palsson
Jan-Tarek Butt wrote: > Hi, > > My Idea ist to create calldefs to minify all scriptes there are > interpreted by run time. > > As example see the mail "[PATCH] LuaSrcDiet call define for lua > code Minifying". > > I plan to write also calldefs for shellscripts, python and > perl. > > They bri

[LEDE-DEV] Call defines for minifying scripting languages

2016-10-03 Thread Jan-Tarek Butt
Hi, My Idea ist to create calldefs to minify all scriptes there are interpreted by run time. As example see the mail "[PATCH] LuaSrcDiet call define for lua code Minifying". I plan to write also calldefs for shellscripts, python and perl. They brings vareous of features. 1. Reducing memory s