Web Development Reading List #156: Browser News, Webpack 2, And Lessons Learned From HPKP
Is a person who is sitting by herself in a room alone? From an outside perspective, it might seem so, but the human brain is way more interesting in these regards. We carry a map of relationships inside ourselves, and it depends on this map if the person actually does feel alone or not.
I just read “Stress and the Social Self: How Relationships Affect Our Immune System”, and I feel that we can learn a lot from it. In fact, I might see social media from a different perspective now. We’re social beings, I love sharing good content with you, so, without further ado, here’s this week’s web dev reading list.
News
- Opera 41 and Chrome 54 are out, and they come with some interesting new features. The updates now support Custom Elements v1 as well as some new and convenient JavaScript methods like
ParentNode.prototype.append()
or unprefixed CSSuser-select
. On the other hand, they removedTouchEvent.prototype.initTouchEvent
(you’ll need to use the constructor from now on), andKeyboardEvent.prototype.keyIdentifier
has been replaced byKeyboardEvent.prototype.key
. - Following a suggestion by other major browser vendors, Mozilla will distrust WoSign and StartCom certificates from January 1st, 2017 due to backdated certificates and non-disclosure and denial of an acquisition of the two companies. A great step for better CA security.
- Node.js v6 transitioned to the current LTS version this week and Node.js v7 has been released, too. It covers 98% of ES6, brings the new V8 engine, improved reliability and performance, and a new URL-parser based on the WHATWG URL standard.
General
- With the upcoming Chrome 55 (now in beta), the browser will finally get support for Pointer Events. It will also support JavaScript
async
/await
-functions and revive the CSShyphens
property after years of absence in Chromium browsers. Theonce
Event Listener option will also be added and, to improve load times and prevent failed navigations, cross-origin and parser-blocking scripts injected usingdocument.write()
will no longer load over 2G connections (which also means that 3rd-party fallbacks as used by the HTML5Boilerplate won’t work anymore in upcoming Chrome versions).
Tools & Workflows
- Jack Franklin explains how to migrate from the current Webpack 1 to the upcoming Webpack 2 and where the differences between the two lie.
- Similar to the already showcased Boxy SVG Editor, Vectr is a new online/desktop vector graphics editor with real-time sharing.
Security
- Paragon Initiative Enterprises share a comprehensive guide to automatic security updates for PHP developers that everyone developing with PHP should be aware of.
- Last week, Smashing Magazine had to deal with an expiring SSL certificate. While this is usually an easy thing to renew, problems may arise if you have HTTP Public Key Pinning (HPKP) enabled and set to a long expiry date (which usually is intended). Mathias Biilmann Christensen now wrote about the lessons learned from this and why you should be aware (and afraid!) of HPKP and how to issue a new certificate with an old key so that the site won’t break for your users with HPKP enabled.
Privacy
- Mattias Geniar shares how you can easily block ads and trackers from your entire home network using Pi-Hole, a DNS-based blacklist for Raspberry Pi.
Web Performance
- Brian Armstrong from Canopy explains why you shouldn’t rely on default DNS settings, as the recent Dyn DNS outage has shown. He covers how to configure DNS the right way, why a longer TTL is important, and why having different nameservers from different providers can save your service’s uptime.
JavaScript
- Fuse.js is a new and light-weight JavaScript fuzzy-search library.
CSS/Sass
- Roman Komarov wrote about conditions in CSS Custom Properties, about solutions, challenges, and how you can benefit from preprocessors when it comes to more complex conditions. The article also mentions a couple of interesting ideas on how the web standard could be extended.
Work & Life
- Cal Newport shares his thoughts on how deep breaks during work can help your mind recharge and, thus, improve your productivity.
Going Beyond…
- It’s really interesting to see this kind of back-story: Katie Singer reveals the real amount of energy used to power the internet and puts these figures into perspective by comparing how much power anyone of us would need to generate to power a website.
And with that, I’ll close for this week. If you like what I write each week, please support me with a donation or share this resource with other people. You can learn more about the costs of the project here. It’s available via email, RSS, and online.
Further Reading
- A Detailed Introduction To Webpack
- Be Afraid Of HTTP Public Key Pinning (HPKP)
- Getting More Work Done Without Simply Working More Hours
- Introduction to DNS: Explaining The Dreaded DNS Delay