Hey,
Autumn is nearly over, winter is coming to Germany and on the weekend the forecast predicted the first snow for the Bavarian Alps which is near where I live. Time to read about Service Workers, and some abstract topics like teaching complex algorithms, and how to be more objective.
Generic
- Paul Lewis’ “The Cost of Frameworks” analyzes the benefits and costs of frameworks but also takes developer’s experience into account. This gives the article a perspective that’s often left out.
UI/UX
- Looking at great products that have context-aware content, like Google Now, we realize that anticipatory design is not an easy thing to craft well. Often, less options are more and can provide a better result than too many features prominently displayed in an interface. Aaron Shapiro also shares why less choice can help our brain make better decisions and why the real innovation isn’t about having the best idea but solving real problems.
Tooling
- Sara Soueidan shares the best practices how to build and export graphics as SVG in your favourite tool as a designer. These are simple tips that make SVGs much better and cleaner.
- Mapzen is an open source mapping lab that offers you great options to build software based on maps. For example, it gives you a client-side routing service or a real-time 3-D map rendering engine.
Privacy
- With the growing usage of algorithms in our everyday lives, we need to raise the question of ethics. Our human brain can make irrational and emotional decisions. And sometimes that is a necessary and good thing. But algorithms and computers can’t. This being the biggest challenge for artificial intelligence, we need to face this fact for already existing mechanisms like the Facebook news feed collection, or hiring algorithms. A good way would be to make such algorithms transparent, to give users a possibility to improve them and to make them more objective.
- With TLS 1.3 we get big improvements of the TLS protocol. It enhances privacy and has less latency due to improved handshakes. With it, forward secrecy will be the default and I can’t wait to see it established on the web.
Web Performance
- We all know that performance matters, but Steve Souders’ new article shares practical insights in how to measure real front-end performance with the User Timing and Custom Metrics API. Learn how your blocking stylesheets, scripts, fonts or hero images are loaded.
HTML & SVG
- Craig Hockenberry examines the new Safari 9 feature called “pinned tabs”. While that is nothing new for Firefox and Chrome users, it looks and acts slightly different in Safari. But the article is entirely about how to serve the best icon quality for pinned tabs. Because a nice feature of Safari is that you can reference an SVG file and add a mask on top of it to dynamically style the icon. That could be handy if, for example, you wanted to indicate on which page the user is or to notify the user about dynamic changes. And certainly we want to have that feature in all browsers and for favicons as well.
Accessibility
- Jennison Asuncion explains why applications should never rely on swipe gestures entirely and why it’s important to have a fallback. Assistive technologies (like VoiceOver) will simply overwrite your custom gestures.
- Léonie Watson shares a list of easy tricks to improve accessibility for SVGs.
JavaScript
- The AngularConnect 2015 took place this month and there were some notable announcements made of the framework: with ngUpgrade you now can seamlessly upgrade from Angular 1 to 2, Angular 2 is much faster due to better start-up times, server-side prerendering and other cool technologies.
- Keycode.info is a little handy tool that returns the JavaScript keycode for a key you press.
- Working with native DOM still seems to many people like a pain. But today, native JavaScript APIs for the DOM offer you a lot of tiny cool functions to select elements which you probably don’t know of. Louis Lazaris shares practical tips on how to select children and siblings with native DOM methods.
- David Walsh introduces Mozilla’s new “Service Worker Cookbook”, which is a great resource containing lots of useful Service Worker examples. In his blog post he also shares the most common code examples to help you get started.
- Ian Feather reflects on What Vanilla JS means today by going through examples like a “vanilla todoMVC implementation” that still makes use of tiny libraries and uses abstractions for DOM handlers.
CSS
- It always has been a pain to highlight text blocks line-by-line. With some hacks, we achieved some solutions but today we can use a much easier solution by using
box-decoration-break: clone;
to decorate text lines with a custom background color (also check zick-zack stripes withbox-decoration-break: clone
.
Go beyond…
- These days, having GPS devices, smartphones, geo trackers, interactive maps and guides, we can’t get lost anymore. While for many of us this is a thing of joy, Stephen Smith asks if we may be missing out. When I read that article, I immediately remembered about Vitaly Friedman sharing a similar experience just a few days earlier. It’s interesting to see that we as human beings try to get some uncertainty back to our lives that are so predictable nowadays due to intelligent technology.
- From time to time I think we should remember to not always think about money. It seems the happiest people in this world have found a way to distance themselves from shopping addictions and unnecessary spending. Because life is about memories, not diamonds.
- When Mike Ellis left his job at Waterstone's Online, his boss told him that it’s okay and that “Leaving a job lets you literally and metaphorically clear your desk, an absolutely vital part of moving through your working life.”. Still today, this sentence was left in Mike’s mind and he remembers of it periodically. Just removing stuff, ruthlessly, with no remorse, no looking back, no what-if's can sometimes be the best way to clear one's life and mind.
- There’s a part of today’s consumerist world that drives us to want more, buy more, act on our impulses, hoard, spend to solve our problems, create comfort through shopping, seek thrills through travel, do more, be more. What would happen if we broke from our addiction to wanting and buying more? Now, I’m not saying we can free ourselves of all desire but we should try a little harder.
Anselm