lullabot, to node
@lullabot@fosstodon.org avatar

Why would you use instead of a or server directly?

There are significant advantages to using a containerized setup like DDEV. We go over them in this article, and include a step-by-step guide to set it up.

@andy_blum helps introduce DDEV to a new audience that may not know about how useful it can be!

https://www.lullabot.com/articles/nodejs-development-ddev

adamchainz, to random
@adamchainz@fosstodon.org avatar

I moved from to last week, managing both my and versions with it. Maybe other languages soon.

It was really smooth and it installs fast. It definitely has a better UX, especially around pulling the latest versions.

Mise: https://mise.jdx.dev/

Here’s what my Ansible-powered installation steps look like now:

https://github.com/adamchainz/mac-ansible/blob/main/roles/adam_mac/tasks/installs.yml#L21

sebobo, to node
@sebobo@neos.social avatar

Best addition to any package.json, composer.json or other dependency managers file would be a mandatory „why“ field for each single dependency which requires a minimum number of sensible words.

Could make devs think twice before adding and help (me) when upgrading projects after some time.

kubikpixel, to RSS German
@kubikpixel@chaos.social avatar

Echo - RSS Cross Poster

Cross post RSS feeds to Mastodon, Micro.blog, GitHub. Send webhooks and webmentions for new posts. Save links to LinkAce and Omnivore. And more.
– from @robb

🌐 https://echofeed.app
🧑‍💻 https://echo.rknight.me

davidbisset, to node
@davidbisset@phpc.social avatar

RSS Cross Poster:

A script to post new items from an feed to various services including Micro.blog and .

https://echo.rknight.me/

Stubbs, to javascript
@Stubbs@mastodon.me.uk avatar

I f*cking hate #Javascript and I hate #Node even more! All day I've been trying to get the latest version of #Strapi to build ... error after error after error and now, at random it's just decided to work after a whole wasted Sunday!

schizanon, to node
@schizanon@mas.to avatar

Node.js now has a built-in API for styling text

(similar to chalk, picocolors, etc)

https://nodejs.org/docs/latest/api/util.html#utilstyletextformat-text

bridgetown, to ruby
@bridgetown@ruby.social avatar

The next installment of our Road to Bridgetown 2.0 series is here!

Announcing a solid set of defaults, such as 3.1+ and 20+, we believe will make Bridgetown that much more robust, appealing, and ready to tackle the challenges of tomorrow.

https://www.bridgetownrb.com/future/road-to-bridgetown-2.0-new-baselines/

aral, to node
@aral@mastodon.ar.al avatar

I’ve always wanted someone to tell me I autocomplete them.

:awesome:

https://www.npmjs.com/package/aral

(That feeling when someone makes a Node package with your name. Hey, at least it’s not a German petroleum company…)

bpb, to random German
@bpb@social.bund.de avatar

In Schulen spiegeln sich gesellschaftliche Brennpunkte unmittelbar wider. Antidemokratische Tendenzen werden auch hier immer sichtbarer.

Problematisch wird es, wenn diese unbeantwortet bleiben. Denn hinter jeder antidemokratischen Position oder Einstellung stecken Diskriminierungen, die Machtverhältnisse ausdrücken: https://www.bpb.de/544538

bpb,
@bpb@social.bund.de avatar

Antidemokratische Positionen auch bei Lehrkräften erfordern neue Strukturen und Angebote, die sich langfristig und nachhaltig mit antidemokratischen Tendenzen auseinandersetzen. Dabei müssen die Konflikte und die eigene Betroffenheit der Schule im Mittelpunkt stehen. Mehr dazu gibt es z.B. hier: https://www.bpb.de/themen/rechtsextremismus/dossier-rechtsextremismus/544538/antidemokratische-positionen-und-einstellungen-in-schulen/#node-content-title-5 Viele Grüße vom bpb Social Media Team

itnewsbot, to javascript
@itnewsbot@schleuss.online avatar

Deno shrinks deno compile binaries - The developers of the Deno TypeScript/JavaScript runtime have reduced the size of deno... - https://www.infoworld.com/article/3713265/deno-shrinks-deno-compile-binaries.html#tk.rss_all .js

joe, (edited ) to javascript
@joe@toot.works avatar

Well, that fucking sucks. I just went into my o3 meeting with the boss and was told that I don't have a job anymore. If anybody is looking for an experienced / / dev in the area (or remote), let me know.

https://jws.dev/Resume.html

alper, to node
@alper@rls.social avatar

Figuring out how to run and the entire way that Node projects are setup is insane.

TypeORM is this:
"typeorm": "ts-node ./node_modules/typeorm/cli"

And then to run the migration we do this where typeorm was just defined:
"migration:run": "npm run typeorm migration:run -- -d ./src/config/typeorm.ts",

We're just trampolining shitty scripts on top of each other hoping that it works.

gyptazy, to debian
@gyptazy@gyptazy.ch avatar

Do we see here the first ever based node running? I just provided a TOR node for the network on one of my boards. This one currently runs on (will be switched to soon).

gyptazy,
@gyptazy@gyptazy.ch avatar

If someone wants to run a or on his based board (probably mostly users) on can obtain a precompiled version of Tor 0.4.8.10 right here: https://cdn.gyptazy.ch/files/riscv64/debian/tor/

schizanon, (edited ) to webdev
@schizanon@mas.to avatar

If there was an element that changes it's content when users interact with other elements on the page, what name would it have?

PLEASE NOTE: I am not suggesting that this element needs to exist; I am only asking what it would be called. I'm building a CustomElement, I just want it to have a name that makes sense.

Vote and suggest others in replies. Please boost for reach!

Anarcat, to Blog
@Anarcat@kolektiva.social avatar

router archeology: the Soekris net5001 https://anarc.at/hardware/server/roadkiller/ -planet -planet

array, to random
@array@fosstodon.org avatar

I am generally happy with programming, doesn't matter what language or stack. But compared to, say, PHP (not to mention Java), doing backend kind of annoys me because of errors and debugging. I mean, I get (generally) very descriptive error messages and can debug, right into my IDE, in Java. In PHP, well, you can be bold and just throw some dd() when you really need to. Node? It must be on me, but I still haven't figured out how to get error messages in the right places, or debug... :(

itnewsbot, to javascript
@itnewsbot@schleuss.online avatar

Deno adds API for date and time operations - Deno 1.40, the latest version of the JavaScript runtime positioned as a rival to Node.... - https://www.infoworld.com/article/3712424/deno-adds-api-for-date-and-time-operations.html#tk.rss_all .js

fightbackman, to node German

Wer auch immer entschieden hat nodejs nicht den Systemtruststore verwenden zu lassen wünsche ich immer wieder runter rutschende Ärmel beim Hände waschen. Die Liste vertrauenswürdiger Zertifikate gehört vom Systemeigentümer verwaltet und nicht zu einem beliebigen Zeitpunkt mal irgendwo reinkompiliert.

deno_land, to node
@deno_land@fosstodon.org avatar
iamkale, to passkeys

Hello TypeScript WebAuthn devs, I'm happy to announce the release of SimpleWebAuthn v8.3.7! This small release includes some newly exported classes and types for easier integration with your projects. Check out the CHANGELOG for full details 🚀

https://github.com/MasterKale/SimpleWebAuthn/releases/tag/v8.3.7

richard, to node
@richard@fedia.social avatar

Is there a way (or a package) to show the installed versions of npm node modules (npm list) and what is defined in your package.json?

EvanHahn, to node

I built something that lets you import Node modules from BitTorrent. It's weird. https://gitlab.com/EvanHahn/node-torrent-import

angelmunoz, to javascript
@angelmunoz@misskey.cloud avatar

Is there an html tagged template library to render html on the server? I'm currently exploring @ lit-labs/ssr but I'd like to be aware of alternatives
Note: I don't need hydrate or client stuff, just a plain html string to string/stream/etc templating library

andrewfeeney, (edited ) to php
@andrewfeeney@phpc.social avatar

Folks, if you parrot opinions like "PHP is an insecure language" or "PHP has inherent security flaws" in 2024, and you can't point to specific issues with modern, current versions of PHP to back it up, all you are doing is demonstrating your ignorance.

The fact is, modern is every bit as secure, solid and performant a server-side platform as , , or many other popular languages.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • osvaldo12
  • magazineikmin
  • hgfsjryuu7
  • Youngstown
  • InstantRegret
  • slotface
  • khanakhh
  • ethstaker
  • thenastyranch
  • rosin
  • kavyap
  • everett
  • DreamBathrooms
  • Leos
  • Backrooms
  • cubers
  • Durango
  • tester
  • GTA5RPClips
  • mdbf
  • anitta
  • tacticalgear
  • modclub
  • normalnudes
  • cisconetworking
  • provamag3
  • lostlight
  • All magazines