2019-04-08 TWILPosted on: April 08, 2019
This Week I Learned
-
Does your Mac becomes slow/unresponsive (fans kicking in etc.) when you `npm install` a huge project with a million tiny dependencies? I learned that adding an empty `.metadata_never_index` in /node_modules *beforehand* will prevent Spotlight from indexing all that crap.
— Roel Van Gils (@roelvangils) April 2, 2019 -
AWS Lambda Functions are versioned by default (at least when using Serverless), and without any limit so if you deploy too many without tidying up they can start to take up a lot of disk space. The solution is to either specify
versionFunctions: false
or use theserverless-prune-plugin
to limit the number of versions. -
I wasn't sure about this at first, but I ended up using it last week to have a quick Doctor's appointment and get a prescription and it's pretty fantastic: https://www.livi.co.uk
-
Getting real personal with this one, but I've recently learned that I'm an HSP (highly sensitive person). This might sound snowflake-y but it's an actual physiological and genetic thing that means that I have a hypersensitive nervous system and sense/feel certain things more intensely than 80% of the population - which explains a lot of "quirks" about me.
Sensory processing sensitivity - Wikipedia
Sensory processing sensitivity (SPS) is a temperamental or personality trait involving "an increased sensitivity of the central nervous system and a deeper cognitive processing of physical, social and emotional stimuli".
A human with a particularly high measure of SPS is considered to be a highly sensitive person (HSP).