markjgsmith

Linkblog

2024/07/23 #

  • Node.js 20.6.0: Say Goodbye to 'dotenv' - Tutorial on how to use the new --env-file nodejs flag to set environment vatiables from a file. Something the article doesn’t mention which could be useful in unixy environments, the 'export' keyword is ignored when prepended to a variable, which means you can use the env file from a shell script as well as via node command line argument. Might be useful in development or in places where you need to use the settings in other non-nodejs places. See nodejs docs for details. dev.to #

  • Oxygen discovery defies knowledge of the deep ocean - "About half the oxygen we breathe comes from the ocean" - That’s mental. The article describes they have found oxygen being produced without light, therefore without photosynthesis. Apparently mining companies want to extract various metals from these sites, but scientists warn it could kill local life. I would have thought a bigger concern would be that it could kill humans since so much of the oxygen we breath comes from the sea, but that doesn’t appear to be a concern. www.bbc.com #

For enquiries about my consulting, development, training and writing services, aswell as sponsorship opportunities contact me directly via email. More details about me here.