This is the article version of my monthly newsletter.
Hello everbody! ??
I'm a little late with this monthly digest but February is just too short... so, here we go!
My solution to the overwhelming number of GitHub notificationSection titled My solution to the overwhelming number of GitHub notification
I always struggled with keeping track of notifications, having the big picture of what's going on and I missed important issues or pull requests constantly. I'm interested in too many things and couldn't handle all the information. The missing feature to separate work and "fun" notification was a huge problem for me.
The solution for me now is that I turned off GitHub notifications on their website completely. Every notification goes straight to my inbox where automatic email filtering takes place.
I've got three different grouped folders – "github", "github-important", and "github-contentful".
Another cool thing about the grouped folder feature in Google Inbox is that you can configure them to only show up once a day! This means that the important notifications are visible to me whenever they arrive but the "good to know" notifications are part of my morning coffee routine now.
Speaking about GitHub I'm also using a new browser extension that makes the UI look a little prettier.
This month I learnedSection titled This month I learned
Node.js sends warnings when you add too many listeners to an event emitter
Since I work in developer relations I watch out for good developer experience when I use a particular software. I came across warnings in Node.js that help to prevent memory leaks when using event emitters. That is what I call an excellent developer experience (DX). ??
const a = Symbol(); a.foo = 'bar'; console.log(a.foo); // ?
How to add interactive questions to bash scripts
Slowly but continuously bash scripts enter my daily workflows. I had a nice chat with my colleague Jeff about .dotfiles and he introduced me to interactive prompts in shell scripting. I had no idea that these are possible with a few lines of shell scripting.
Overflow ellipsis after x lines
How often did you google whether it is possible to set overflow ellipsis on other than the first line of a paragraph? I did countless times in my career and thanks to Manuel Matuzović I just discovered that help for this problem is on its way!
Developer Small TalkSection titled Developer Small Talk
My friend Gleb Bahmutov took 30 minutes and gave me an introduction to Cypress, a new end-to-end test runner. I have experience with Selenium, Casper, Slimer, and others and have to say... I'm sold and can't wait to play around more with Cypress.
Read of the monthSection titled Read of the month
Cryptocurrencies are the new cool thing, right? Over the last month, more and more sites were found including malicious scripts mining bitcoins or similar right in the visitor's browser. Troy Hunt took a deep look at how you can prevent these attacks using subresource integrity and a proper content security policy.
Quote of the monthSection titled Quote of the month
Notifications are a DoS attack on your brain
by Burke Holland in "How To Build A Notification That You Won’t Hate"
Talks to learn fromSection titled Talks to learn from
Jake Archibald is such a strong speaker. In his talk "In the loop" he looks at the browser's event loop and how it works in detail. For me, the interesting pieces definitely were the difference between tasks, microtasks, requestAnimationFrame, and requestIdleCallback which Jake presented in a very visual and understandable way.
Songs that make you stop workingSection titled Songs that make you stop working
And that's it – I hope you enjoyed this second monthly digest and if you have any feedback let me know. Have a great March! ??
Reply to Stefan