Dec 102014
 
 December 10, 2014  Posted by at 12:12 pm Web  Add comments

Random: Interestingly enough I realized yesterday that my scale has, like most modern digital scales, a built-in memory that tracks previous weighed weight (within a given time frame I assume) and defaults to that number regardless- as long as it doesn’t deviate by a certain amount. For my scale it was 2KG +- , close to 8% of my body weight. Most people test accuracy of a scale by climbing on and off a few times in a row and if the same number is displayed each time- well then it is accurate. Smart, isn’t it 😀 To bypass that either reset the scale, or climb on with something very heavy, and then without it. I guess one can say that they have accuracy in meeting the user’s faulty expectations 🙂 Yay or Nay?

Anyway, this was certainly not what I was going to write about. I was going to talk about pizza and saving network logs. The other day, in my quest for an appetite I ordered a pizza home from a lovely site called JustEats. They have some pretty good devs on board, and I quite like what they do. However this particular day I was getting a 500 every time I tried to place an order- in Chrome only. I decided to save the log and email them it in an archive format called HAR (an archive format for HTTP transactions).

The way you can do this (in Chrome this time around) is first of all make sure that you open up dev tools (F12) and under network tick the preserve log if you want the log items to persist across page loads.


2014-12-07_1-52-27

Once you have collected in the log what you want to collect, right click and select save as HAR with content. Save the file.

2014-12-07_1-52-53

This is how the data is formatted in the log (but much more of course). There are several ways to view a HAR log, I’ve used this site here and that seems to work fairly well. For the source code for the viewer check out the repo

2014-12-07_1-54-35

2014-12-07_2-02-30

Since I’m making myself some oven roasted salmon today I can’t check if the problem was fixed, but hopefully the log was helpful 🙂

 

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

What is 12 + 3 ?
Please leave these two fields as-is:
IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)