Skip Navigation
Alternative zu Spotify?
  • Harmony Music ist Open Source und nutzt glaube ich YouTube Music als Backend.

  • Google Maps widely rolling out new color palette
  • Me don't see no yellow roads. They are blue-ish grey for me.

  • dotenv, it has been an honor, but a new era has begun (Node.js v20.6)

    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.

    0
    Use ESM in command-line inline code (Node.js v21)

    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:

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

    Find out more...

    0
    Sweden has had enough of being mixed up with Switzerland
  • I think English-speakers are not the problem here. In Spanish it is "Suiza" and "Suecia", which is actually confusing.

  • Samsung joins Google in RCS shaming Apple
  • 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...

  • DonBubbles DonBubbles @lemmy.world
    Posts 2
    Comments 4