News for hackers. Stuff that matters.
Re:What Pandora Pays Top Artists by MiguelHudnandez on Tuesday October 09, 2012 @08:03PM (#4634487)
This happens all the time, all over the web. It's because interns or non-webdev staff often don't know they should resize a file before uploading it and attaching it to a post. So they'll upload a JPG right from a camera's memory card and use the WYSIWYG editor to set its dimensions. The worst are when images like this are referenced within broadcast e-mail messages. Luckily you can swap the file out on disk without inconveniencing future readers.

I wrote an image API at my place of work to take a file by name and accept dimensions in the query string. It resizes the image, caches the file on disk, at and serves the smaller file. However, it's tough to integrate that API with every little WYSIWYG editor we have, so sometimes we still serve up large files in this way.

Usually, intentional retina-quality images have plenty of telltale signs (like the @2x naming convention).

Re:What Pandora Pays Top Artists by anigbrowl on Wednesday October 10, 2012 @02:09AM (#4635258)
don't know they should resize a file before uploading it and attaching it to a post

That's a job for a computer, not a human. It's a waste of an editor's time to dwell on such details, just as it's a waste of a newspaper editor's time to worry about the ink in the printing machines.

Re:What Pandora Pays Top Artists by mike-cardwell on Wednesday October 10, 2012 @08:08AM (#4635938)
Googles mod_pagespeed for Apache does dynamic resizing of images.
Re:What Pandora Pays Top Artists by shock3naw on Wednesday October 10, 2012 @10:10AM (#4636367)
Seriously not impressed by the generalization that interns are the ones responsible for "making the web a terrible place." So as soon as that same developer takes a position as a full-timer they're magically imbued with all the best practices and knowledge required to run a great website?

Also, you just admitted that your own place of work serves large images. Let's not throw blame around that we're not willing to take ourselves.

Re:What Pandora Pays Top Artists by MiguelHudnandez on Wednesday October 10, 2012 @05:14PM (#4638228)
You're right, generalizations are not impressive.

> you just admitted that your own place of work serves large images. Let's not throw blame around that we're not willing to take ourselves.

Yes, it happens at my place of work, and that is where my generalization came from. I intended to indicate that even when taking steps to mitigate the issue, it still crops up because it's a hard problem to fix. Eventually, work gets delegated to people that don't know everything they should. It is not a big deal as long as people are learning from it.

It happens when we assign web tasks to interns "and non-webdev staff" without proper education/training. So if you follow Toyota's "five whys" rule, it is not the interns' fault at all.

Re:What Pandora Pays Top Artists by alexchamberlain on Wednesday October 10, 2012 @03:09AM (#4635379)
Any real evidence that interns are any worse than full-time employees?
Re:What Pandora Pays Top Artists by Calamitous on Wednesday October 10, 2012 @10:26AM (#4636431)
They're easier to get rid of, for a start, and that makes it harder to establish firm relationships and long-term projects.