Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #26250

Re: JavaScript Packers, Compression & Decompression

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Newsgroups comp.lang.javascript
Subject Re: JavaScript Packers, Compression & Decompression
Date Sat, 29 Nov 2014 14:48:19 +0100
Organization PointedEars Software (PES)
Lines 99
Message-ID <1916698.lji8XRrgM5@PointedEars.de> (permalink)
References <3a302923-e399-49f5-a4fa-5b6b7f571864@googlegroups.com> <c6c7411e-eb5e-4416-92dd-e3fca85c1558@googlegroups.com> <m5apio$l4k$1@dont-email.me>
Reply-To Thomas 'PointedEars' Lahn <cljs@PointedEars.de>
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding 8Bit
X-Trace solani.org 1417268901 3930 eJwNyMEBwEAEBMCWIlinHMT2X8JlnuMKwYTBYU4n8dVk7xE7D2EtFTHDln9zUCxy31yr1NC4PVUSNA== (29 Nov 2014 13:48:21 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Sat, 29 Nov 2014 13:48:21 +0000 (UTC)
User-Agent KNode/4.14.2
X-User-ID eJwNzMkNADEIQ9GWPMQs7QAJ/ZcwHCy9g/X12GftNDXq6Cw5tZAVUt3ci7hv5BLV/fadlmgcquRcwW4iIjciP2mgFek=
Cancel-Lock sha1:sCOn0rWQabjqucNsgVKelu1kKDo=
X-NNTP-Posting-Host eJwFwQkBwDAIA0BNPEmHnAKNfwm7Q9A4JwkmBL1zuNarvAF+DQwU3qbt0rjVixrnpU8O6gcpQBFt
Xref csiph.com comp.lang.javascript:26250

Show key headers only | View raw


danca wrote:

> Il 28/11/2014 17:20, Chris White ha scritto:

Ah, an attribution line, and a quotation below it.  It would seem we are 
getting there :)

Now you only need to

- get a real name
- trim your quotes to the relevant minimum
- get off b0rked Google Groups and onto a newsreader

>> I think JavaScript should include nice simple functions for compression.
>> Like bzip, lzma, rar, lha, gzip,  and all the other popular compression
>> formats. There are nice functions to inflate file size (btoa for base64
>> encoding, call atob to decode), why not something that deflates sizes?
>>
>> I also think HTML5 should have full compression & decompression built in
>> too. This day and age, I think it should be standard.
>>
>> There is nothing or no one on this planet that can change my mind.
>
> You are experiencing a very mild treatment from "the resident T", the
> person that everybody respects for his knowledge here, but everybody
> criticize for his severe attitude.
> 
> Perhaps he sees in you some of his bald mood when he was young, probably
> brilliant, and probably misguided by his self-confidence, fact is that
> he is treating you with some regards, unusually. In fact, he's not so
> harsh as usually he's. :-)
> 
> Maybe you resembles a bit to him in his youth, who knows?

Fallacy: argumentum ad hominem.  This is _not_ about me *at all*.

> Anyway, I would not simply discard the things that have been told to you.
> 
> It is hard for everybody of us to accept that some of our great efforts
> have been devolved to a cause not deserving such efforts, but nothing
> happens without a positive side effect. You studied, worked, learned a
> lot.

True.

> Some people among the masters of Javascript don't like your work.

You are missing the point here.  This is not about “like” or ”dislike”, not 
about taste.  So far, there is also no work available to like or dislike.

It is about logic (or, if you prefer that, reason).  It is not logical (or 
reasonable) to send *more* code to the client in order to *perhaps* receive 
on the server a smaller footprint of the data only to be decompressed again 
(especially not with current transfer speeds).

And if you want to avoid that, it is also not logical to attempt to rewrite 
a programming language to favor a single purpose when a) tools exist that 
can be used instead, and b) the language is designed _not_ to be tied to a 
single purpose in the first place.

Premature optimization is the root of all evil. [tm]

> OK. Stay at the window, just continue to work and study.

Good advice, although the “continue” here is doubtful.  From the statements 
of him one can read here, it looks as though studying has not started yet.

> Prepare your comeback with something more mainstream

That is incredibly bad advice.  We (and I can say this on behalf of all 
hackers) value *thought-provoking* questions, *new* problems, and anything 
*away* from “mainstream”; in fact, we abhor “mainstream” as being dull, 
uninteresting and potentially flawed (there are always more people not 
knowing what they are doing than those who do).

However, we also abhor wannabes: people who think they know but obviously do 
not.  People who think that it does not take the time we took and the 
experience we acquired in order to recognize a problem and solve it in a 
*solid* way.  People who just think they know better without providing sound 
arguments in favor of their opinion.

So, if someone can provide a good, convincing argument, and presents it in a 
way that it is easy to process without being superficial (keep in mind that 
we value time), they will be listened to.  As he had not, because he had not 
done his homework, he was not (likely to be).

<http://www.catb.org/~esr/faqs/smart-questions.html>

> […] learn to accept critics and suggestions.
> Don't think simply you are right and they are tards that don't understand.
> Go on, but keep feets on the ground.

Good advice again.

-- 
PointedEars
FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix>
Please do not cc me. / Bitte keine Kopien per E-Mail.

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

JavaScript Packers, Compression & Decompression Chris White <0ntariokingston@gmail.com> - 2014-11-27 03:34 -0800
  Re: JavaScript Packers, Compression & Decompression "Christoph M. Becker" <cmbecker69@arcor.de> - 2014-11-27 13:46 +0100
  Re: JavaScript Packers, Compression & Decompression Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-11-27 15:26 +0100
  Re: JavaScript Packers, Compression & Decompression Chris White <0ntariokingston@gmail.com> - 2014-11-28 06:16 -0800
  Re: JavaScript Packers, Compression & Decompression Chris White <0ntariokingston@gmail.com> - 2014-11-28 06:17 -0800
  Re: JavaScript Packers, Compression & Decompression Chris White <0ntariokingston@gmail.com> - 2014-11-28 06:27 -0800
    Re: JavaScript Packers, Compression & Decompression "Christoph M. Becker" <cmbecker69@arcor.de> - 2014-11-28 15:43 +0100
    Re: JavaScript Packers, Compression & Decompression Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-11-28 16:16 +0100
      Re: JavaScript Packers, Compression & Decompression Chris White <0ntariokingston@gmail.com> - 2014-11-28 07:21 -0800
        Re: JavaScript Packers, Compression & Decompression Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-11-28 17:04 +0100
          Re: JavaScript Packers, Compression & Decompression "Christoph M. Becker" <cmbecker69@arcor.de> - 2014-11-28 18:26 +0100
  Re: JavaScript Packers, Compression & Decompression Chris White <0ntariokingston@gmail.com> - 2014-11-28 08:20 -0800
    Re: JavaScript Packers, Compression & Decompression Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-11-28 17:57 +0100
      Re: JavaScript Packers, Compression & Decompression Chris White <0ntariokingston@gmail.com> - 2014-11-28 10:10 -0800
    Re: JavaScript Packers, Compression & Decompression danca <cyberdanny@tiscalinet.it> - 2014-11-28 22:31 +0100
      Re: JavaScript Packers, Compression & Decompression Chris White <0ntariokingston@gmail.com> - 2014-11-28 15:01 -0800
      Re: JavaScript Packers, Compression & Decompression Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-11-29 14:48 +0100
        Re: JavaScript Packers, Compression & Decompression Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-11-29 15:05 +0100
          [OT] Re: JavaScript Packers, Compression & Decompression danca <cyberdanny@tiscalinet.it> - 2014-12-01 18:44 +0100
  Re: JavaScript Packers, Compression & Decompression Denis McMahon <denismfmcmahon@gmail.com> - 2014-11-29 06:46 +0000
  Re: JavaScript Packers, Compression & Decompression Chris White <0ntariokingston@gmail.com> - 2014-11-30 18:41 -0800
    Re: JavaScript Packers, Compression & Decompression "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2014-11-30 20:38 -0800
    Re: JavaScript Packers, Compression & Decompression Denis McMahon <denismfmcmahon@gmail.com> - 2014-12-01 16:28 +0000
  Re: JavaScript Packers, Compression & Decompression Chris White <0ntariokingston@gmail.com> - 2014-11-30 18:41 -0800
  Re: JavaScript Packers, Compression & Decompression Chris White <0ntariokingston@gmail.com> - 2014-12-15 15:54 -0800

csiph-web