DonBubbles

joined 1 year ago
[–] DonBubbles@lemmy.world 11 points 11 months ago (1 children)

Der ist schon was älter, aber ich lasse ausnahmsweise trotzdem ein Hochwähli da 🫠. Gibt mir ein bisschen Blitzzurück an die Gesichtsbuchseite "Der Duale Student". Gute Zeiten.

[–] DonBubbles@lemmy.world 1 points 11 months ago

Me don't see no yellow roads. They are blue-ish grey for me.

 

Since Node.js v20.6 instead of using the popular dotenv package to read your .env file and make its values available under process.env, you can now pass --env-file .env to node to achieve the same, without a dependency.

Find out more...

Here is an example of the changes needed to upgrade:

config.ts config.ts diff

package.json package.json diff

Tipp: If you deploy your app as a Docker container, don't forget to add .env to your .dockerignore file, as typically you will explicitly set your environment variables in your deployment and don't want your .env file to interfere with that.

 

Very happy that with the new --experimental-default-type module in Node.js v21 I can write my little helper commands, that I run directly in the terminal using --eval/-e, in ESM syntax now. E.g. to generate a hex JWT secret:

node --experimental-default-type module -e "import crypto from 'node:crypto'; console.log(crypto.randomBytes(32).toString('hex'));"

Find out more...

[–] DonBubbles@lemmy.world 14 points 1 year ago

I think English-speakers are not the problem here. In Spanish it is "Suiza" and "Suecia", which is actually confusing.

[–] DonBubbles@lemmy.world 9 points 1 year ago* (last edited 1 year ago) (1 children)

My understanding with RCS is that similar to SMS it uses the infrastructure of your phone carrier. First question: Do all carriers support this? Second question: Is there anything that prevents carriers from eventually monetizing this? At least with some sort of roaming trap when you are abroad...