Code Monkey home page Code Monkey logo

average-response's Introduction

The Average HTTP Response

You know when someone makes a really good pun and everyone just sighs at it in a combination of frustration and approval? This is the sort of code that gets that reaction.

--Some Bloke

As calculated from the most recent daily batch of telemetry data from the Firefox nightly build.

But y tho?

I was looking over some logs, trying to see if a new feature I had made had resulted in an increase of errors/non-200 responses as a quick and dirty "Did I break something" metric. I decided to throw the data in a spreadsheet and do stats at it before trying to do anything Python-y or whatever, but forgot to turn the error codes into strings, so they were treated as just values, meaning I got back things like averages and the like. I had just learn that Mozilla puts out public telemetry data, so I threw that into a spreadsheet, texted a friend the entire story, and he responded

Wow! That is AGGRESSIVELY useless!

At that point I knew I must tell the world...

FAQ

Could this have been server-side rendered?

Yes, but that would mean finding a place to host it or using Github Actions and I felt like seeing how fast I could make the MVP. Maybe later though...

Does this have any useful value in?

Nope.

Are you sure?

Yep.

But it feels like it should tell me something...

That's what "agressively useless" means. You sit there and stare at it hoping it'll get embarrassed and tell you something, but the truth is it's just got nothing to say...

Acknowledgement

Shoutout to the Mozilla Foundation for making some of their telemetry data public, without which the world would have been spared this useless fact.

average-response's People

Contributors

amtunlimited avatar

Stargazers

Iha Shin (Cosmo, 신의하) avatar Abraham Itule avatar Andres Garcia avatar gnaggnoyil avatar Sung Jeon avatar Malte avatar Jonas Seydel avatar Malaber avatar Jesse Jafa avatar Tomas Zatko avatar  avatar Martin Jinoch avatar Arno Hilke avatar Florian BAHEUX avatar Ivan Bila avatar Jean Lucas avatar Mathias Bynens avatar Martin Karpisek avatar  avatar Tyler Smith avatar Hyeseong Kim avatar u7693 avatar  avatar Anny avatar walsh9 avatar

Watchers

James Cloos avatar  avatar

average-response's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.