News for hackers. Stuff that matters.
Re:Africa Is Building an A.I. Industry That Doesn’t Look Lik... by adrianN on Tuesday October 01, 2019 @05:19AM (#21123504)
Offtopic: This article contains four pictures that contribute nothing to the content and weigh around 10MB. The first one takes up a whole screen of space. Why do people do this?
Re:Africa Is Building an A.I. Industry That Doesn’t Look Lik... by redact207 on Tuesday October 01, 2019 @05:42AM (#21123616)
It's probably to do with google's algo that favours a certain content-to-image ratio. Medium gives the author access to easily embeddable images that often have nothing to do with the article just so the article's not just one giant block of text.

I would have loved to have seem some photos of this industry out of Africa though.

Re:Africa Is Building an A.I. Industry That Doesn’t Look Lik... by adrianN on Tuesday October 01, 2019 @05:59AM (#21123718)
Ok good, but why do these pictures have to be 2-3MB each? Each one of them would have taken an hour to download just a few years ago (or today, if you live in a less well developed area of the world).
Re:Africa Is Building an A.I. Industry That Doesn’t Look Lik... by obituary_latte on Tuesday October 01, 2019 @06:35AM (#21123888)
I wonder if there is a way browsers could preemptively “compress“ (I doubt that’s the correct terminology) prior to downloading? Like somehow grab every nth bit, combine, render and then allow for further requests to refine at user discretion. Wonder if anyone has ever tried something like that.
Re:Africa Is Building an A.I. Industry That Doesn’t Look Lik... by swebs on Tuesday October 01, 2019 @07:24AM (#21124147)
This feature is built into Jpeg images, though most image editors don't save them with this enabled by default. People call them progressive jpegs.

https://www.thewebmaster.com/dev/2016/feb/10/how-progressive...

Re:Africa Is Building an A.I. Industry That Doesn’t Look Lik... by Izkata on Tuesday October 01, 2019 @06:29PM (#21131534)
Used to be really common around the late 90s/early 2000s...
Re:Africa Is Building an A.I. Industry That Doesn’t Look Lik... by bootloop on Tuesday October 01, 2019 @06:51AM (#21123972)
I know that Opera had this feature once and Google Chrome on Android does this via it's "Lite mode":

https://support.google.com/chrome/answer/2392284?co=GENIE.Pl...

Re:Africa Is Building an A.I. Industry That Doesn’t Look Lik... by markdown on Tuesday October 01, 2019 @06:41AM (#21123916)
This used to be a feature of Opera. If you enabled it, it would run all webpages through the Opera proxy, which would downsize everything for you.
Re:Africa Is Building an A.I. Industry That Doesn’t Look Lik... by slavik81 on Tuesday October 01, 2019 @06:48AM (#21123953)
The wavelet-based image formats like JPEG 2000 were designed to make that sort of thing possible. They never really caught on, though.
Re:Africa Is Building an A.I. Industry That Doesn’t Look Lik... by shakna on Tuesday October 01, 2019 @06:48AM (#21123954)
I don't think that's even possible with the byte-ordering of a lot of the formats we use today.

Like the pass extraction of PNG [0] would make it somewhat possible, but you'd need to be dropping packets which you might as well receive. I don't think you'd be able to break after the first pass.

JPEG is probably worse.

However, the super-modern formats that are still gaining popularity, like WebP absolutely do support this. At the core of WebP is block prediction, so a low-bandwidth application might actually assume the values of certain blocks so it doesn't need to fetch them.

[0] https://www.w3.org/TR/2003/REC-PNG-20031110/#4Concepts.Encod...

Re:Africa Is Building an A.I. Industry That Doesn’t Look Lik... by wil421 on Tuesday October 01, 2019 @09:06AM (#21124874)
I was downloading MP3s to my MP3 player with a 16MB san over ISDN circa 2000. For most people in the US it hasn’t taken hours to download an MP3 for over a decade maybe 2.
Re:Africa Is Building an A.I. Industry That Doesn’t Look Lik... by adrianN on Tuesday October 01, 2019 @09:30AM (#21125087)
Ca 2000 will always be just a few years ago to me.

Besides, there are areas in Germany today where you can't get >1Mbit connections.

Re:Africa Is Building an A.I. Industry That Doesn’t Look Lik... by buboard on Tuesday October 01, 2019 @08:24AM (#21124516)
Yeah People have to justify the cost of a their retina screens
Re:Africa Is Building an A.I. Industry That Doesn’t Look Lik... by cscurmudgeon on Tuesday October 01, 2019 @08:36AM (#21124625)
SEO. Despite all the AI buzz, Google's search is pretty hackable with tricks like this.
Re:Africa Is Building an A.I. Industry That Doesn’t Look Lik... by jessriedel on Tuesday October 01, 2019 @05:47AM (#21123646)
Besides the SEO redact207 mentioned, readers are often driven away by a block of text.
Re:Africa Is Building an A.I. Industry That Doesn’t Look Lik... by Yetanfou on Tuesday October 01, 2019 @06:59AM (#21124031)
I'd rephrase that into skimmers are often driven away by a block of text while readers are driven away by page-filling images. There is an optimum between these two which attracts people from both sides of the divide - a few targeted images can enhance a text and make it look less imposing to skimmers.
Re:Africa Is Building an A.I. Industry That Doesn’t Look Lik... by ghaff on Tuesday October 01, 2019 @06:43AM (#21123924)
And in all fairness, this isn't just a web thing. Most newspapers have historically used all manner of graphical techniques in addition to images to break up text blocks such as subheads, callouts, graphics, lines, etc. (Although, also to be fair, historically newspapers also tended to try to include images that were directly relevant to the story rather than picking random stock imagery.)
Re:Africa Is Building an A.I. Industry That Doesn’t Look Lik... by egypturnash on Tuesday October 01, 2019 @02:05PM (#21128643)
Have you ever read a “magazine”? These were pre-internet things that were printed on paper, and included text and images. Often these images were illustrations, rather than photographs. They break up the text walls, attract the eye when you’re flipping through deciding which piece to read, and create a mood.

As to why the images are so huge, well, nobody gives two shits about download size any more in a world where you’re also probably pulling down multiple megabytes of ad images and JavaScript because every damn webpage has to be an app even if it’s purely static content nowadays.

Re:Africa Is Building an A.I. Industry That Doesn’t Look Lik... by slig on Tuesday October 01, 2019 @03:23PM (#21129498)
Because even with 100+ million of VC money [1], Medium couldn't be bothered to pay for a CDN that automatically optimizes images and/or optimize the image on their own after the user uploads it.

[1]: https://www.crunchbase.com/search/funding_rounds/field/organ...

Re:Africa Is Building an A.I. Industry That Doesn’t Look Lik... by puranjay on Tuesday October 01, 2019 @06:21AM (#21123818)
Large blocks of text are intimidating

That said, running these images through any basic image compression utility will probably cut down the size by 50-70%

Re:Africa Is Building an A.I. Industry That Doesn’t Look Lik... by investologia on Tuesday October 01, 2019 @06:40AM (#21123909)
The fact 4 pictures weight 10MB ;retty much tells a lot about the webmaster.

In some sites/blogs it's good to put many pictures. It really depends on your readers.

In HN people look more for content based articles and they don't care if an article is mostly text without pictures