Daily Shaarli

All links of one day in a single page.

Previous day

October 29, 2018

Next day

How Writing for One Hour a Day Can Improve The Quality of Your Life
thumbnail

James Clear’s Idea Generation Framework

You’re coming across ideas all the time right like when we talk in this conversation. I think you need to have a central holding ground where you just put all the ideas in your life whether it’s from a conversation or a book.

I typically write either earlier in the morning or before lunch or late at night Whenever I’m sitting down to do that; I’ll go to that list and look through all the notes that are in there. I have hundreds of these. I start to look for ones that connect in some way. Sometimes I have a couple of articles that are in progress. They’re just like holding grounds for ideas.

From Focus to Flow

In an interview with Chase Jarvis, Steven Kotler said it takes roughly 90 minutes to get into a state of flow.

Understanding Higher-Order Functions in JavaScript

Higher-Order Functions

Higher order functions are functions that operate on other functions, either by taking them as arguments or by returning them. In simple words, A Higher-Order function is a function that receives a function as an argument or returns the function as output.

For example, Array.prototype.map, Array.prototype.filter and Array.prototype.reduce are some of the Higher-Order functions built into the language.

Regex Tutorial - Lookahead and Lookbehind Zero-Length Assertions

Lookahead and lookbehind, collectively called "lookaround", are zero-length assertions just like the start and end of line, and start and end of word anchors explained earlier in this tutorial. The difference is that lookaround actually matches characters, but then gives up the match, returning only the result: match or no match. That is why they are called "assertions". They do not consume characters in the string, but only assert whether a match is possible or not. Lookaround allows you to create regular expressions that are impossible to create without them, or that would get very longwinded without them.