Web Development Reading List #155: On JSPerf, Client Hints, And Keeping The Balance
- By Anselm Hannemann
- October 21st, 2016
- Web Development Reading List
- 13 Comments
As people working in front of a screen all day, we often struggle to find the right balance. I’m not talking about work-life balance alone here, but of how our life that is completely virtual during the day often causes us to not take real life into account.
We tend to forget that our bodies need something else than coding all day. And we need to take care of our fellow human beings in real life as well. Just think about this number: The average US person will spend over 9 hours in front of a screen1 today. Time to become more aware of how we can keep the balance between the virtual and the real world.
News Link
- Do you remember jsPerf2? It has been down for years (due to spam), now it celebrates its revival. Finally a chance to use this great, great tool again.
Concept & Design Link
- When it comes to error messages for mobile, there’s a lot that can go wrong. Prince Pal shares what we need to take into account to design error messages that don’t frustrate users3.
Tools & Workflows Link
- Automated browser testing usually causes a lot of trouble and custom build solutions. TestCafé7 now tries to solve this with a Node.js tool that takes care of all the stages: starting browsers, running tests, gathering test results, and generating reports without the need for a browser extension.
HTML & SVG Link
- Jason Grigsby explains how we can use Client Hints for responsive images8. With Client Hints, the browser can tell a server via HTTP headers what types of content it prefers based on information about the device pixel ratio, viewport width, and width of the image element on the page. This allows the server to serve the most appropriate image back to the client.
JavaScript Link
- It’s easy to think of a collection of DOM elements as a regular JavaScript array, but actually, it’s a bit different. Pawel Grzybek shares how you can loop through a collection of DOM elements in ES611.
CSS/Sass Link
- In the past months I’ve heard a lot of people question the need for normalize.css12. But the truth is that normalize.css wasn’t only created to fix browser bugs but also to provide us developers with solid baseline styles. As Harry Roberts now points out, the latest normalize.css with 984 bytes after gzip doesn’t even add much to your existing codebase13 — in fact, it makes less than 1.3% of the average CSS project14.
Work & Life Link
- As developers, do we really need to code all day? Is it necessary to have side projects and participate in open-source? Belén Albeza doesn’t think so. She shares why having a life away from coding matters15 and why you can be a passionate developer nonetheless. It’s important to have a balance between your computer time and other life activities (to help gathering data on this matter, please fill out this survey 16), and that’s also the message we have to send across to new developers17. You can do great coding in a normal workday.
- Tea Ivanova wrote about the common misunderstanding that agile work methods are seen as operational and tactical18 rather than strategic. A good read for anyone working with agile methods.
And with that, I’ll close for this week. If you like what I write each week, please support me with a donation22 or share this resource with other people. You can learn more about the costs of the project here23. It’s available via email, RSS and online.
— Anselm
Footnotes Link
- 1 https://twitter.com/lukew/status/786605159858049024
- 2 https://jsperf.com/
- 3 https://think360studio.com/how-to-design-an-error-message-for-a-mobile-app/
- 4 https://think360studio.com/how-to-design-an-error-message-for-a-mobile-app/
- 5 https://think360studio.com/how-to-design-an-error-message-for-a-mobile-app/
- 6 https://think360studio.com/how-to-design-an-error-message-for-a-mobile-app/
- 7 https://devexpress.github.io/testcafe/
- 8 https://cloudfour.com/thinks/responsive-images-201-client-hints/
- 9 https://cloudfour.com/thinks/responsive-images-201-client-hints/
- 10 https://cloudfour.com/thinks/responsive-images-201-client-hints/
- 11 https://pawelgrzybek.com/loop-through-a-collection-of-dom-elements/
- 12 http://nicolasgallagher.com/about-normalize-css/
- 13 http://csswizardry.com/2016/10/continue-normalising-your-css/
- 14 http://httparchive.org/interesting.php#bytesperpage
- 15 https://belenalbeza.com/top-developers-can-have-a-life-outside-coding/
- 16 https://brizk.typeform.com/to/ByT0Ml
- 17 https://twitter.com/i/moments/789042973392658432
- 18 http://clearleft.com/thinks/408
- 19 https://belenalbeza.com/top-developers-can-have-a-life-outside-coding/
- 20 https://belenalbeza.com/top-developers-can-have-a-life-outside-coding/
- 21 https://twitter.com/i/moments/789042973392658432
- 22 https://wdrl.info/donate
- 23 https://wdrl.info/costs/
↑ Back to topTweet itShare on Facebook