3,404 karma · joined July 1, 2009
$ curl -sS http://www.exiv2.org/include/img_1771.jpg | wc -c
32764
$ curl -sS http://www.exiv2.org/include/img_1771.jpg | gzip -9 | wc -c
31323
In this case, though, it often makes more sense to just remove the EXIF data.PDF files can be even more compressible, at least ones that are text and layout as opposed to embedded images:
$ curl -sS http://www.polyu.edu.hk/iaee/files/pdf-sample.pdf | wc -c
7945
$ curl -sS http://www.polyu.edu.hk/iaee/files/pdf-sample.pdf | gzip -9 | wc -c
4336Some history: http://time.com/3769657/coke-passover-kosher/
Note that the -n option as well as the effect of
`\c' are implementation-defined in IEEE Std
1003.1-2001 (``POSIX.1'') as amended by Cor. 1-2002.
-- http://www.freebsd.org/cgi/man.cgi?echo
So there's probably some system (or shell) out there where -n doesn't work?> not using image sprites
sprite_images filter: https://developers.google.com/speed/pagespeed/module/filter-...
> not using a cookieless domain for images and other static content
MapRewriteDomain directive: https://developers.google.com/speed/pagespeed/module/domains...
> not using a CDN
Once you have a (pull) CDN set up, mod_pagespeed can rewrite your resources onto it with the same MapRewriteDomain directive.
> blocking javascript - worse if it’s in the head
defer_javascript filter: https://developers.google.com/speed/pagespeed/module/filter-...
> not minifying your javascript and CSS
rewrite_javascript: https://developers.google.com/speed/pagespeed/module/filter-...
rewrite_css: https://developers.google.com/speed/pagespeed/module/filter-...
> not optimizing caching policies
mod_pagespeed automatically longcaches everything: https://developers.google.com/speed/pagespeed/module/filter-...
> not gzipping your content - most if not all popular web servers support some type of compression
mod_pagespeed automatically enables gzip compression
About half of these are enabled by default (minifying css and js, optimizing caching, turning on gzip) and the rest need to be configured.
(If I were making the list I would also have included resource combining for css and js, which mod_pagespeed does by default.)
I realize that this isn't practical to actually do as an experiment with all the world's language pairs, but I do think it demonstrates that inherent difficulty is a thing.
One thing that sort of shows this, though it's kind of distorted by writing systems, would be charts like this from language learning companies: http://www.effectivelanguagelearning.com/language-guide/lang... For example, they think for an English speaker Swahili is easier than Nepali is easier than Finnish.
I totally believe that it's easier to learn English than
Mandarin (and maybe easier to learn Spanish than English)
because the writing system gives you more hints, but that
doesn't have anything to do with the (spoken) language,
strictly speaking.
Sorry, I wasn't actually trying to bring up the writing system at all! I put both English and Mandarin in the "harder" category, even though English's writing system is simpler (though still not as simple as many).On the other hand, if you think that the physical structure is sufficient (I don't) then figuring out how to preserve whole human brains is pretty important. There's a long time to figure out how to read the information off the preserved brains, but any unpreserved (or improperly preserved) ones are gone for good. So I see why Hayworth etc are interested in high-quality preservation of larger and larger animals and aren't focusing on the reading portion.
"I'm more inclined to believe their goal is to pocket lots of money exploiting people’s fear of death. ... Fruit flies and nematodes won’t pay them a substantial annuity to have their brains vitrified and stored, and their gratitude upon being resurrected wouldn’t be at all remunerative."
I've met Hayworth, this really doesn't fit him. He is genuinely interested in better preservation methods as a way to fight death. As a neuroscientist working in connectomics his association with cryonics only hurts him professionally.
(And, in fact, to work at all when compiling against 1.9.11, since the addition of dynamic modules broke us: https://github.com/pagespeed/ngx_pagespeed/issues/1110 )
We'd also need to write a script that looked at your nginx install and figured out what would be the right precompiled module to download.
(But I'd really love a way to distribute binary modules anyone could just use, with no additional compilation.)
As it stands, though, the module system would be very helpful for OS packagers, because they don't have to worry about signature mismatch.
The AdChoices icon is used by many ad networks, not just Google's, to indicate that there's per-user targeting happening. [1] But if you click on that "AdChoices" button and you get an AdSense help page.
Is there anything PageSpeed is doing that you see this way? Because that's really not what we want to happen!
compiling your own nginx is not trivial and I would
not recommend it for everyone
Yes, this is frustrating as an nginx module developer as well. Apache has a loadable module system and we can ship binaries, but to add a module to nginx you have to recompile.Nginx's developers have been hinting that they're going to add support for loading .so modules, and I really hope they do!
(I work on mod_pagespeed, and if we're breaking sites on removal that's something I want to look into.)