One of the most satisfying feelings in life is waking up at 5am, going to the kitchen to drink a glass of water while casually scrolling through Twitter on your phone and finding someone (on the Twitter feed, not in the kitchen) that is right on the internet*:
I sometimes like to watch a talk during my lunch breaks, so I decided to share some of the best ones I bump into, along with my notes. I try to keep the topics fairly language agnostic (after all it’s a lunch break).
Postman is one my favourite tools at work to test APIs. Even at a simple level Postman easily becomes invaluable. At the same time, devoting a little effort in learning some of its best features can quickly boost our productivity and development speed.
Spreading props on a React Component is a very common pattern that I picked up very easily and loved from day 1. With time though I learnt to understand the implications of using the spread operator in different contexts and came to the conclusion that most of the time spreading props in React is best avoided. Let’s see why.
Scales are an extremely flexible feature of D3.js.
Even though in many cases our need is just to have a function that maps one value in the
domain to one value in the
range, sometimes it can be handy to have a mapping from one to many values.
It’s quite common when coding to have the need to view multiple files at once on the screen. At times, we might even want to view two different parts of the same (long) file. Other times again we just want to make the most of a widescreen monitor.
Code folding can make browsing long files easier. When we’re trying to focus on the big picture without being distracted by smaller details code folding can be an invaluable aid.
A common pattern in Js when dealing with a pre-defined set of string values is to enclose them in an object and use it as a map.
Colours can be a powerful visual hint in a data visualisation. A good rule of thumb though is to use them sparingly, only when they add something meaningful to the chart and not just because they are pretty.
If you’re an avid Evernote user like me chances are you have been bugged by a very annoying “feature”. Whenever you click on an external link from on of your Notes you will be redirected to a sort of confirmation screen that warns you that you are leaving Evernote.