Monthly digest – March 2018
- Published at
- Updated at
- Reading time
This is the article version of my monthly newsletter.
Happy Easter everybody! 👋🏻
I hope you all enjoy a few days off – here are some things to read over the holidays. 🐇
Buzzfeed released a video sharing how blind people use phones today. The little pocket computers we carry around all day can enable so many things for people. Seeing this video makes me happy because I think it’s great that we have the technology today that can be used for more than playing games, reading emails, and checking Twitter.
Accessibility makes products better for everyone
Did you ever use Pocket and found a broken saved article? Or did you use the reading mode of a browser and it didn't show the whole article?
These problems appear because some websites are not accessible. They are written with unsemantic markup and don’t follow logical source code order, and this shows that accessible products are not only important for people using assistive technology but also for me using Pocket and the reader mode in Firefox.
This month one of my goals was to set up proper CSP (Content Security Policy) reporting for my site. After breaking it by "just adding" CSP headers initially, I decided that I had to go with a proper CSP rollout-strategy.
The way to go are CSP-report-only headers which don't let the browser block resources but instead send requests to an endpoint giving information about CSP violations. At some point when you then don't get violation reports anymore, it's time to turn on CSP safely.
When you start monitoring CSP violations, you discover what an unsafe place even your website is. There are so many different scripts and styles running in your visitor's browsers so that it almost scares me a little. A few violations make sense, and a few do not at all – Nicolas Hoffmann collects all kind of CSP violations with possible explanations. Very helpful and highly recommended!
You can clone repositories without the whole history
While browsing electron boilerplates to kick off another side project, I came across a way to clone git repositories without their complete history. That is handy for starter projects.
Viewport units can destroy zooming
Nice and short – If you play with the idea to use
font-size: 1vw or something similar in your project... don't do it because it breaks a core functionality of zooming!
Accessing the DOM is not equal accessing the DOM
When you use
querySelectorAll the return value will be a
NodeList. Did you know that there are different ways to retrieve
NodeLists today? And that
NodeLists can behave differently? And also – did you know that methods like
getElementsByClassName do not return
NodeLists but rather something else?
After seven years of web development, I have to admit that I didn't know the answers to these questions.
"Timezones are hard" – as a developer you might have learned that lesson already. Matthew Lyon wrote a very long but also very informative article on time zones in programming and if you finally want to understand GMT, UTC, offsets and standard time – this article is for you.
Speaking of timezones: I started using a MacOS app called There which helps me to keep track of the timezone of my co-workers. Works nicely so far!
A 10x engineer isn’t someone who is 10x better than those around them, but someone who makes those around them 10x better.
The talk "SVG can do that?!" is definitely worth 30 minutes of your time no matter if you just started with SVG or are using it for years.
Decades ago I was a huge "The Killers" fan – I still remember being at their first concerts in Berlin. The first two albums were unbelievable good and Mr. Brightside was always one of my favorite songs. The powerful guitar riff and impulsive rhythm made me move and smile wherever I was. This month I came across a cover of this song by "Run River North" that is so different than the original that it took me up to the powerful closing to recognize it – love it!
And that's it – I hope you enjoyed this third monthly digest and if you have any feedback let me know. Have a great April! 👋🏻