Buying a tablet-keyboard combo (with the option for light web dev) is tricky right now: • Smallest iPad + Logitech Combo Touch: great tablet user experience, but no package manager etc. • Surface Pro 12 inch: Windows seems to be getting worse with AI and ads. Upside: WSL • Linux tablet: I have not seen any good ones.
Use case for iterator methods: > document.querySelectorAll('div').map undefined > document.querySelectorAll('div').values().map ƒ map() { [native code] } .querySelectorAll() returns a NodeList which does not have Array methods such as .map() and .filter(). But its method .values() returns an iterator.
'Stargate' TV Series Ordered By Amazon From Martin Gero
Use cases for a JavaScript pipe operator: // 1. Chaining various operations const regexOperators = ['*', '+', '[', ']'] .map(ch => escapeForRegExp(ch)) .join('') |> '[' + % + ']' |> new RegExp(%) ; // 2. Mixin classes class Block extends Object |> Parsable(%) |> Printable(%) { // ··· }
Crunchy peanut butter (100% peanuts): • At room temperature: Stir until all separate oil is gone. • Afterwards: Keep in a fridge. It remains creamy but the oil doesn’t separate anymore (at least not before I finish the jar 😀).