There is a lot to learn this week. It starts with non-technical things like going for a walk to refresh your mind and finishes with how to prevent reverse XSS attacks in forms. But it doesn’t matter whether you learn how to build self-contained web components using the new specification or to maximize the efficiency of your Angular 2 app or just how you can write less code. What matters is that you keep asking questions and that you try to get better and smarter at your craft.
Further Reading on SmashingMag:
- Front-End Performance Checklist 2017 (PDF, Apple Pages)
- Styled-Components: Enforcing Best Practices In Component-Based Systems
- Making A Service Worker: A Case Study
- Mistakes Developers Make When Learning Design
- Heydon Pickering shares tips on writing less code to make your developer life easier. Something we all should remember.
Tools & Workflows
- Nucleus is certainly not the first living style guide generator but it’s still worth sharing. The Node.js module fits into existing projects, follows the Patternlab splitting by default, and has a nice layout where you easily find the things you’re looking for.
- If you ever lost a stash in git, here are a few tips on how to recover dropped stashes.
- Matthew Green asks himself if Apple’s cloud key vault is a crypt backdoor. In his explanatory answer, he shares why Apple’s method of using Hardware Security Modules is pretty clever and maybe worth learning more about if you’re interested in storing sensitive user data behind weak user-set passwords.
- Using social engineering by pretending to be a valid website in the URL bar is easy with the RTL feature of Chrome and Firefox and this little trick. I’m sure this type of attack is successful since most normal users do check if a URL is correct but they can’t see anything bad in it. A good reminder that we need to find better ways to let users know that the URL they visit is safe.
- When we look into the source code of forms at github.com, we’ll find some interesting markup in there. Its purpose: preventing XSS attacks. In this blog post we can learn about the tricks that GitHub uses to maximize the security of their web application.
- Troy Hunt wraps up how our personal data is usually leaked and why security is a design process, not only an implementation process. Also a good primer on how to design a password recovery feature.
- Minko Gechev shares how you can do Ahead-of-time compilation in Angular 2 to improve performance and reduce energy and bandwidth consumption to make your application more efficient.
- Addy Osmani shares best practices on how to use offline storage for your web application to ensure the app stays usable when the network connection is flakey.
- Eric Bidelman explains the new Shadow DOM v1 standard, the now de-facto standard for building self-contained web components.
Work & Life
- Margaret Gould Stewart talks about how she learned that making mistakes is crucial for a team’s morale and why this prevents people from becoming bored, burning out, and from feeling annoyed about their manager.
- Sometimes, a long walk outside can refresh your mind. It can give you new inspiration and help you calm down if you’re feeling upset.
- Bill Gates shares what he learned from his school teacher and how only later he realized that students should ask teachers more questions. If we ask more, we will learn from others. It’s always harder to proactively communicate knowledge to other people than being asked for it.
- Phillip Rogaway shares a paper on “The Moral Character of Cryptographic Work” (PDF). An interesting read on the shift of power and why cryptography is often a political tool that demands high morals and ethical fundamentals of those who build it. Anyone who ever discussed the topic of morals and ethics in science should read this.
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.