‘Web Development Reading List #120: Safari 9.1, Chakra Core Open Sourced, ES6 Object Shorthand Syntax’
One thing we should learn to embrace more this year is to enjoy the good things and focus more on the positive news than on the negative. I started to learn more ES6 this year and have scheduled 1 to 2 small learning modules of ES6 and 1 to 2 accessibility features I don’t know yet to study each week. Currently, this works out great. If you learn something from this resource and are able to spend a few bucks this month, consider rewarding my efforts.
News
- This week, Apple announced the pre-release of Safari 9.1 which will introduce the
<picture>
–element, Fast Tap on iOS, changes to modal dialogs, CSS Variable support,all
,unset
,font-variant-*
andwill-change
property support as well as unprefixed CSSfilter
. Let’s hope that shorter release–cycles are Apple’s new strategy for a more open, more responsive browser culture. - jQuery 2.2 and 1.12 have been released — probably the last minor updates before jQuery 3. The updates include selector performance improvements, SVG class manipulation, and a couple of other small changes.
- As still a lot of websites are horribly broken in Firefox, Firefox starts accepting
-webkit-
prefixes. With that step, they follow Microsoft with its Edge browser. Another occurrence of why vendor prefixes are nothing we should be proud of using. - Following Microsoft’s earlier announcement, its JavaScript engine Chakra Core is now open-source. If you want to see how it performs compared to Blink’s engine, you’ll find a small comparison here.
General
- Phew, I always wondered about how much of the internet Amazon AWS transports. In fact, we still don’t know it, but we now know that up to 70% of the global internet traffic goes through Northern Virginia, so we can assume that the global share of what’s hosted on AWS is even higher. A scary thought by all means, as this makes the majority of the internet very vulnerable to any kind of attack or catastrophe. Did you ever think of having a backup plan for your AWS hosted application? Can you make the switch to another data center within minutes?
Tools
- Typography Supply is an inventory of typographic tools. They help you find out which fonts are used somewhere, and also include type testers, type measurements, and many more.
- If you use the ZSH shell, this short guide gives you a lot of advice to enhance and customize your shell.
Security
- Guy Podjarny shares how you can eliminate known node.js / npm vulnerabilities easily.
- If you store passwords, you probably use bcrypt for hashing them (or let’s hope so, at least). But times change, and given our computing power today, bcrypt isn’t very safe anymore. In fact, with a highly–parallelized GPU, it’s easy to crack bcrypt in a short time. That’s why you should upgrade to Argon2, which will soon be the official new standard by the IETF. Now check out how to use it.
JavaScript
- Ian Feather shows the new ES6 object shorthand syntax and rest properties.
- Starting with the soon to be released Firefox 46, Firefox will warn you to alter scroll positions in a
scroll
event listener. This is due to the newly implemented asynchronous scrolling technique. The Firefox Site Compatibility Working Group also provides workarounds and fixes for that. - It’s easy to forget when you build JavaScript applications, but you should always remember to provide meaningful fallback content via the
<noscript>
element. It also targets people disabling scripts in their browsers or using content blockers.
Work & Life
- Seeing Basecamp’s article about employee benefits made me again aware of the big gaps that exist in social and employee care around the world. In Germany, many of the mentioned benefits are a requirement for companies and supported by the government (health insurance, parental leave, retirement plan). It’s great to see such things being provided unsolicitedly by the company and my hope is that this will become a government standard all over the world in the next decade.
Go Beyond…
- I have written about plastic trash in our oceans over and over again here. I don’t know about you but I, even though informed about the issue, could not imagine how my trash ends up polluting the oceans even though I don’t live anywhere by the sea. The LA Times now shares an example of how this happens.
- These times we’re used to bad news. In fact, that’s the reason I gave up reading newspapers and general social media streams. But it’s not that things are getting so much worse, the problem is no one looks at the bigger numbers. Actually, the world is getting a better place — it just happens much slower than we’re used to in times of real–time media. We should acknowledge the good news more again this year. And to back this up, I recommend you to watch this short video.
- This impressive article lists all the things Google/Alphabet is working on for the new year. It gave me a new perspective on how big the company has actually grown by now.
- The New York Public Library released 180,000 copyright–free images to the public and also gives access to its collection’s metadata and making updates to its API. A Quartz post highlights the most fascinating pieces but you can search on your own on the official site. It’s amazing to see another big archive making its materials publicly available.
- With Bitcoin, we not only introduce a new era of money but also new problems. A single Bitcoin transaction for example uses roughly as much electricity as is needed to power 1.57 American households for one(!) day. I don’t think the new concurrency makes things better as long as we haven’t fixed issues like these.
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 E–Mail, RSS and online.
Thanks and all the best, Anselm
Further Reading
- “Building Hybrid Apps With ChakraCore>,” Eric Rozell
- “Inside Microsoft’s New Rendering Engine For The “Project Spartan”,” Jacob Rossi
- “Server-Side Rendering With React, Node And Express,” Dmitry Nutels
- “A Beginner’s Guide To jQuery-Based JSON API Clients,” Ben Howdle
(nl, mrn)