Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Media 2024 #3596

Open
5 of 10 tasks
nrllh opened this issue Mar 2, 2024 · 30 comments
Open
5 of 10 tasks

Media 2024 #3596

nrllh opened this issue Mar 2, 2024 · 30 comments
Labels
2024 chapter Tracking issue for a 2024 chapter help wanted: coauthors This chapter is looking for coauthors

Comments

@nrllh
Copy link
Collaborator

nrllh commented Mar 2, 2024

Media 2024

Media illustration

If you're interested in contributing to the Media chapter of the 2024 Web Almanac, please reply to this issue and indicate which role or roles best fit your interest and availability: author, reviewer, analyst, and/or editor. You might be interested in exploring the changes to this year's version here.

Content team

Lead Authors Reviewers Analysts Editors Coordinator
@stefanjudis @stefanjudis @svgeesus, @nhoizey, @eeeps @foolip, @nucliweb, @eeeps, @scottjehl @MichaelLewittes @turban1988
Expand for more information about each role 👀
  • The content team lead is the chapter owner and responsible for setting the scope of the chapter and managing contributors' day-to-day progress.
  • Authors are subject matter experts and lead the content direction for each chapter. Chapters typically have one or two authors. Authors are responsible for planning the outline of the chapter, analyzing stats and trends, and writing the annual report.
  • Reviewers are also subject matter experts and assist authors with technical reviews during the planning, analyzing, and writing phases.
  • Analysts are responsible for researching the stats and trends used throughout the Almanac. Analysts work closely with authors and reviewers during the planning phase to give direction on the types of stats that are possible from the dataset, and during the analyzing/writing phases to ensure that the stats are used correctly.
  • Editors are technical writers who have a penchant for both technical and non-technical content correctness. Editors have a mastery of the English language and work closely with authors to help wordsmith content and ensure that everything fits together as a cohesive unit.
  • The section coordinator is the overall owner for all chapters within a section like "User Experience" or "Page Content" and helps to keep each chapter on schedule.

Note: The time commitment for each role varies by the chapter's scope and complexity as well as the number of contributors.

For an overview of how the roles work together at each phase of the project, see the Chapter Lifecycle doc.

Milestone checklist

0. Form the content team

  • 📆 April 15 Complete program and content committee - 🔑 Organizing committee
    • The content team has at least one author, reviewer, and analyst.

1. Plan content

  • 📆 May 1 First meeting to outline the chapter contents - 🔑 Content team
    • The content team has completed the chapter outline.

2. Gather data

  • 📆 June 1 Custom metrics completed - 🔑 Analysts
  • 📆 June 1 HTTP Archive Crawl - 🔑 HA Team
    • HTTP Archive runs the June crawl.

3. Validate results

  • 📆 August 15 Query Metrics & Save Results - 🔑 Analysts
    • Analysts have queried all metrics and saved the output.

4. Draft content

  • 📆 September 15 First Draft of Chapter - 🔑 Authors
    • Authors has written the chapter.
  • 📆 October 10 Review & Edit Chapter - 🔑 Reviewers & Editors
    • Reviewers and Editors has processed the the chapter.

5. Publication

  • 📆 October 15 Chapter Publication (Markdown & PR) - 🔑 Authors
    • Authors has converted the chapter to markdown and drafted a PR.
  • 📆 November 1 Launch of 2024 Web Almanac 🚀 - 🔑 Organizing committee

6. Virtual conference

  • 📆 November 20 Virtual Conference - 🔑 Content Team

Chapter resources

Refer to these 2024 Media resources throughout the content creation process:
📄 Google Docs for outlining and drafting content
🔍 SQL files for committing the queries used during analysis
📊 Google Sheets for saving the results of queries
📝 Markdown file for publishing content and managing public metadata
💻 Collab notebook for collaborative coding in Python - if needed
💬 #web-almanac-media on Slack for team coordination

@nrllh nrllh added help wanted: reviewers This chapter is looking for reviewers help wanted: analysts This chapter is looking for data analysts help wanted: coauthors This chapter is looking for coauthors 2024 chapter Tracking issue for a 2024 chapter labels Mar 2, 2024
@MichaelLewittes
Copy link

MichaelLewittes commented Mar 3, 2024

I'd be happy to be the editor of the media section again. Know the drill -- and ready to do it once more.

@foolip
Copy link

foolip commented Mar 3, 2024

I'm interested in contributing as an analyst.

I've been poking around at the question "what sizes and qualities do images on the web tend to be?" I've been running some of the queries in https://almanac.httparchive.org/en/2022/media again and have identified what I think are a few interesting angles.

First, the distribution of images sizes is much more uneven and interesting than https://almanac.httparchive.org/en/2022/media#image-dimensions suggests. Here's a histogram from a quick experiment I did in February:

image

Instead of megapixels I'm using sqrt(megapixels), so the equivalent width of a square image. I found this much easier to reason about, since much of the interesting action is in the 0-0.25 megapixel range. 300x300 images are the most common.

Second, BPP (bits/pixel) strongly depends on image size, with smaller images having higher BPP. The reasons I can see are (1) container overhead (2) more incentive to compress large images and (3) less detail in large images, as many small images are downscaled versions of the large ones.

I think it would be interesting to try to understand quality both through BPP while taking these effects into account, but also by estimating the encoder settings used. I suspect the latter varies less with size, and at least from JPEG an estimation is possible due to how the format works. A first attempt yielded this:

image

I also shared this in #3572 (comment) and there are some words of caution about using ImageMagick's detected quality, but I think something useful could be done here.

@foolip
Copy link

foolip commented Mar 3, 2024

A colleague made this useful observation:

noting that 300x300 is the default (medium) image size in WordPress and 82 is the default quality. This lines up exactly with the "most common" size and quality. Since WordPress sites are a large part of the dataset (~30%) they may be influencing the results. It might be interesting to see what images on non WordPress sites looks like.

@svgeesus
Copy link
Contributor

svgeesus commented Mar 5, 2024

I noticed this in the 2022 Media report

One caveat: AVIF and PNG allow tagging images with wide-gamut color spaces using format-specific shorthands, without using ICC profiles. We started down the path of trying to detect wide-gamut AVIFs and PNGs that don’t use ICC profiles, but accounting for the various ways they are encoded—and the ways our tooling reported on them—proved a bit too complex to tackle this year. Maybe next year!

Coding Independent Code Points (CICP) is a simple to understand and use method, originally from the broadcast and video world, also applicable to still images and short animations.

Given that:

Then the "various ways they are encoded" becomes a much more tractable "look for CICP in images" and I suggest this metric for the 2024 Media survey.

Originally raised in

@svgeesus
Copy link
Contributor

svgeesus commented Mar 5, 2024

I volunteer as tribute as a reviewer

@nucliweb
Copy link

nucliweb commented Apr 4, 2024

Hi, I would love to contribute as an analyst.

@nrllh
Copy link
Collaborator Author

nrllh commented Apr 9, 2024

Hey @eeeps @akshay-ranganath @nhoizey @yoavweiss @MichaelLewittes - awesome contributors from previous years 🙂 Are you interested in joining us again this year?

@MichaelLewittes
Copy link

MichaelLewittes commented Apr 10, 2024 via email

@nhoizey
Copy link

nhoizey commented Apr 10, 2024

Hi @nrllh, I can indeed join this year once again, as a reviewer.

@eeeps
Copy link
Contributor

eeeps commented Apr 10, 2024

@nrllh I can join as an Analyst and Reviewer, but do not have the bandwidth to Lead or Author again this year.

@nrllh
Copy link
Collaborator Author

nrllh commented Apr 11, 2024

thank you, @MichaelLewittes, @nhoizey, @eeeps!

@cqueern cqueern removed help wanted: analysts This chapter is looking for data analysts help wanted: reviewers This chapter is looking for reviewers labels Apr 16, 2024
@turban1988
Copy link

Hi @rey-dal,
Thank you very much for volunteering to lead the writing of this chapter! Could you please organize a kick-off meeting for this chapter (example: #3603 (comment)) to organize the writing of the chapter?

Furthermore, it would be helpful if you and all other contributors (@svgeesus, @nhoizey, @eeeps , @foolip,@nucliweb,@MichaelLewittes) could join the slack channel of the HTTPArchive (https://join.slack.com/t/httparchive/shared_invite/zt-2hfkn28ts-~uXN4UGS0mXsKpzzhtZcow)

Thanks!

@scottjehl
Copy link

I'd love to see included in this year's report if there's been any uptick in responsive video usage now that support has returned across browsers. That is, how many sites are using video source elements with media attributes and what sizes are they commonly serving? Happy to help if there's any way I can!

@nrllh
Copy link
Collaborator Author

nrllh commented Jun 14, 2024

Unfortunately, we currently have no authors for this chapter. Is anyone of you (@svgeesus, @nhoizey, @eeeps, @foolip, @nucliweb, @eeeps, @MichaelLewittes) interested in contributing to this chapter as an author?

@svgeesus
Copy link
Contributor

Unfortunately I am overcommitted right now, so can't take this on.

@stefanjudis
Copy link
Contributor

@svgeesus, @nhoizey, @eeeps, @foolip, @nucliweb, @MichaelLewittes, @turban1988

Hi friends! 👋 I am very excited about this and looking forward to collaborating with all of you! As I know, we're a bit late with the original deadline, so let's kick things off quickly (if possible).

To start off, I would like to schedule a 30-60 minute meeting to start the planning and brainstorming process. So please provide your availability here for the next two weeks: https://doodle.com/meeting/participate/id/erMwP4kd

I checked the present timezones and choose options in the european evening that should work for the US.

Also, here is an agenda for what we might want to discuss on the kickoff call: https://docs.google.com/document/d/11lk8wSjs9PQXlWhv1FYeDynhrBxQNOUza85fjC5oB1k/edit (please request access). Feel free to add points — because I haven't led any Web Almanac related activities so far. 😅

The goal of the meeting will be to quickly get to know each other, set new deadlines and define our preferred workflow.

Speaking of the chapter content: I'll summarize all statistics and data points from the previous year in the gdoc above. Ideally, you could give some thought on which metrics you'd like to drop / adjust but also what new things we should add. :)

Also a gentle reminder to join the #web-almanac-media channel on Slack (https://join.slack.com/t/httparchive/shared_invite/zt-2lx22qow3-pkcEJltSqtyP9_86V4uTZQ)

@nhoizey
Copy link

nhoizey commented Jul 2, 2024

Thanks @stefanjudis for taking the lead! 🙏

@stefanjudis
Copy link
Contributor

@nhoizey @eeeps @nucliweb @MichaelLewittes

Thank you for filling out the doodle. We had a very clear winner and it's next week Thursday 11 AM GTM - 7 (SF) / 2PM GTM -4 (NYC) / 8 PM GMT+2 (Berlin). 🎉

@svgeesus @foolip @turban1988

If you want to join please let me know and I also invite you. :)


The folks joining the Kick-off call already have access to a living document that we'll use going forward. If someone wants to have access, too, just request it via Google. :)

Looking forward to catching up with you all!

@svgeesus
Copy link
Contributor

svgeesus commented Jul 5, 2024

I just filled out the doodle

@stefanjudis
Copy link
Contributor

stefanjudis commented Jul 19, 2024

Hey friends, I'm a bit late — sorry for the slight delay but here's a summary of what we discussed in our kick off call and how we'll proceed. Thank you @nhoizey @eeeps @MichaelLewittes @svgeesus for attending the kick off call.

And FYI @foolip @nucliweb.

1. PROJECT MANAGEMENT: We decided that we'll use this Github issue for project management. So you'll hear from me here about anything timeline and task related. Actually content discussions will happen in the existing Google Doc (request access if you don't have it yet).

2. DATA SOURCE: As we're late and the latest data set was already aggregated we decided that we'll primarily work off the last Almanac's Media Chapter. We try to keep it lean for now and will get into newly added data points if there's time and capacity.

Possible new data point ideas
  • Scott Jehl: I'd love to see included in this year's report if there's been any uptick in responsive video usage now that support has returned across browsers. That is, how many sites are using video source elements with media attributes and what sizes are they commonly serving?
  • Chris Lilley: Then the "various ways they are encoded" becomes a much more tractable "look for CICP in images" and I suggest this metric for the 2024 Media survey. CICP is used in PNG, JPEG-XL and AVIF (that I know of, maybe others)
  • Stefan Judis: is loading=lazy a thing yet. Are libraries adopting this convention already?
  • Nicoloas Hoizey: Maybe we could add (next year?) details about which types are used in s, in which order. (I've seen type switching with JPEG first… 😅)
  • Nicoloas Hoizey: The number of s for art direction?
  • Nicoloas Hoizey: whether the latest is useful or would be enough, for both use cases (another frequent mistake)?

3. DATA ACCESS: For the people that want to crunch data please get yourself into the HTTPArchive GCP project by reaching out to Christian. More info in the HTTP Archive slack.

I just did and @eeeps did so too.

4. NEW / SAME SCHEDULE: When looking at the set dates we're super late. We missed the first three points but I think we will catch up to hit the following.

  • Validate resultes
    • 📆 August 15 Query Metrics & Save Results — 🔑 Analysts have queried all metrics and saved the output.
  • Draft content
    • 📆 September 15 First Draft of Chapter — 🔑 Authors has written the chapter.
    • 📆 October 10 Review & Edit Chapter - 🔑 Reviewers & Editors have processed the the chapter.
  • Publication
    • 📆 October 15 Chapter Publication (Markdown & PR) — 🔑 Authors has converted the chapter to markdown and drafted a PR.
    • 📆 November 1 Launch of 2024 Web Almanac 🚀

As agreed, to come back on track and make Aug 15, the analysts (@eeeps @foolip @nucliweb) have to evaluate if all the queries from 2y ago still work. Eric offered to show me and possible others the way around to accessing and crunching all the data. Here's another doodle. 👇

https://doodle.com/meeting/participate/id/erMPW6Kd

So far I think it'll be only Erik and me so I'll pick some times that are a bit later in the European time zone.

If we then still have time, we'll evaluate if / how new metrics could be added on the June data set.


That's it for now, I'll report back once we have some numbers. And if you have any questions, please let me know. Have a great weekend all! 👋

@stefanjudis
Copy link
Contributor

Hey friends, @eeeps and I just had our first big query session. The queries from two years ago seem to work 🎉, and we made a game plan.

Looking at the deadline of finishing data crunching by Aug 15, we probably won't make it but I'm targeting Sep 1 to have run all the queries and put the results into the official HTTP Archive Google Sheet. We're primarily reusing the existing queries, and if time allows, Eric will look into adding more or query adjustments.

After the data is done, I'll share the writing progress early to receive feedback early. You can expect me to hand over a fairly rough draft. 🫣

@nhoizey @eeeps @MichaelLewittes @svgeesus @foolip @nucliweb

@foolip
Copy link

foolip commented Aug 8, 2024

I am going on parental leave, which is great, but unfortunately that means I won't be able to contribute to this effort at all.

@y-guyon
Copy link

y-guyon commented Aug 12, 2024

Hi all, I would like to suggest a precision to the next "Media - Bits per pixel by format" section of the Web Almanac. I referred a lot to that great resource for meaningful image codec performance comparisons so far, but the current version aggregates all image sizes, making the results hard to draw conclusions from.

For example .jpg is listed with a median 2.1bpp, whereas images between 1 and 2 megapixels should be closer to 1.3bpp.
Would it be possible to split the results into a few buckets based on image dimensions? Categories such as 0 to 1 MP, 1 to 2 MP, 2 to 4 MP and 4+ MP would already be amply useful for the Chrome team.
Please find Philip's demo SQL snippet at https://gist.github.com/foolip/34ed26159b17db30abbbe4890200da36.

Sorry for not having more time to contribute on this project and thanks everyone for the efforts here.
Let me know if this request should be recorded in a different thread.

@stefanjudis
Copy link
Contributor

@y-guyon Thanks for proposing another way to look at the data. We might look into it, but we're pretty stretched thin and decided to go with the existing metric set, primarily. :)

@stefanjudis
Copy link
Contributor

stefanjudis commented Aug 17, 2024

@foolip @nucliweb @eeeps @scottjehl

I was able to reuse most of the queries and the majority of data points from 2022 are now available for 2024. With that we almost caught up with the data aggregation deadline of Aug 15.

You can find the queried data here.

And here's the opened PR: #3738

Some queries are still running and I'll query / refine more once @eeeps is back to from his deserved vacation.

@svgeesus @nhoizey @eeeps @MichaelLewittes

I'll start drafting the chapter and plan to have something ready until Sep 15.

@stefanjudis
Copy link
Contributor

@svgeesus, @nhoizey, @eeeps, @MichaelLewittes

Heads up: I'm a bit behind schedule, but I'm working hard to have the rough draft done by Sunday, October 6.

I know it's a short time frame and notice, so if you can, it'd be wonderful if you could review and provide feedback at the beginning of next week. :)

@svgeesus
Copy link
Contributor

svgeesus commented Oct 3, 2024

I know it's a short time frame and notice, so if you can, it'd be wonderful if you could review and provide feedback at the beginning of next week. :)

Sure, although when I looked just now the image color space section was just TODO and might get deleted?

@eeeps
Copy link
Contributor

eeeps commented Oct 3, 2024

@stefanjudis
Copy link
Contributor

stefanjudis commented Oct 6, 2024

@svgeesus @nhoizey @eeeps @MichaelLewittes @nrllh @turban1988

Sure, although when I looked just now the image color space section was just TODO and might get deleted?

That's, unfortunately, correct. When talking to Eric we agreed that I'm not the best right person to analyze or write about this topic.

And to be honest, I'm struggling fairly bad because it takes way more time than what I thought I agreed on. When agreeing to participate in the Media chapter, I understood that my role would be "writing" the chapter with analyzed and prepared data. But unfortunately, as we're all stretched very thin and when discussing things, I became the lead, analyst and primary author of the chapter.

Until now, I've spent multiple weekends and hours worth a work week on this (I'm self-employed) and because I've no strong data analysis / database background I must also admit that I haven't been the right person in the first place. So far, I've "just" reused and changed the existing queries but can't guarantee that the results are accurate — this alone took me several days. Big thanks to @eeeps for showing me what needs to be done.

The sad part is, that it will take at least another few days to write and finish the chapter and there's probably at least still a day worth of busy work to format everything required. As a result; in the current state and without additional help it will be a "poorer" chapter than the one 2y ago which makes me very uncomfortable.

I wanted to push the project forward this weekend and have a draft ready by today, but life happened and I failed.

Now, I've come to realize that I can't handle all this alone. If someone can help out with busy work and writing, we might be able to reach an acceptable state to meet the deadline, but right now I'm not confident I'll make it in time. Feel free to catch me in Slack.

I'm terribly sorry for having underestimated all the work thinking I could handle it. :/

@stefanjudis
Copy link
Contributor

@eeeps @nrllh @turban1988 @ldevernay

I've some great news! 🎉 @eeeps decided and might be willing to pick up the work done so far. :) Thank you, Eric!

The current status of the project is:

  • 90% of the data is queried and in the google sheet
    • some sections that were over my head are still missing
    • most of the graphs aren't in the correct style
  • I started drafting the chapter but didn't make it very far
    • the article includes screenshots and most data points

Because I aligned with Eric, I think he's aware of still needs to be done and it's up for him to decide how detailed this year's media chapter will be.

Apologies again for not delivering here and that I won't be able to commit any more time to this year's WA.

Good luck, Eric! I'm sure you'll rock it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2024 chapter Tracking issue for a 2024 chapter help wanted: coauthors This chapter is looking for coauthors
Projects
None yet
Development

No branches or pull requests