Masthash

#nodejs

Leanpub
4 hours ago

Learn Kubernetes & Docker - .NET Core, Java, Node.JS, PHP or Python by Arnaud Weil is free with a Leanpub Reader membership! Or you can buy it for $11.99! http://leanpub.com/k8s #Devops #Docker #Aspnet #Python #NodeJs

GhostNr1
8 hours ago

I have been develop an Web Pod/RSS Client that should work both in the web and on the phone as an PWA. All the basics are there and you are welcome to test it out on https://rss.grunna.com

Suggestion are more then welcome. I'm using it my self and fix stuff I don't like with it and add things I think missing.

#AdonisJS #ScreenshotSaturday #pwa #solodev #nodejs

Leanpub
16 hours ago

The bundle Level Up by Noah Gift, Alfredo Deza and Matt Harrison is on sale on Leanpub! Its suggested price is $209.95; get it for $85.00 with this coupon: https://leanpub.com/b/levelup/c/LeanpubWeeklySale2023Dec08 #Python #Devops #SoftwareEngineering #NodeJs #Ruby #Go #R

sfunk1x
1 day ago

After a week of seemingly accomplishing nothing but broken styles and javascript that works in jsfiddle but just doesn't work in the framework - as a java service dev - fuck javascript, fuck #nodejs frameworks and fuck frontend work. #frustrated #fuckhtml #fuckcss #fuckjavascript

Leanpub
1 day ago

Awesome Coding by Engin Arslan is on sale on Leanpub! Its suggested price is $24.99; get it for $7.99 with this coupon: https://leanpub.com/sh/dTGjz9uB #Javascript #NodeJs

Leanpub
1 day ago

The Road to GraphQL (The Bare Essentials) by Robin Wieruch is on sale on Leanpub! Its suggested price is $49.00; get it for $36.75 with this coupon: https://leanpub.com/sh/3qkvOVp4 #ComputerProgramming #Javascript #React #NodeJs #WebDevelopment

TAO
2 days ago

[JsonHilo.js](https://github.com/xtao-org/jsonhilo) is participating in a [Githelp](https://githelp.app/repos/jsonhilo) trial.

At the moment this is a limited opportunity to try an early version of Githelp where you can get help and support, including direct online assistance, related to JsonHilo.js [here](https://githelp.app/repos/jsonhilo).

#jsonhilo #help #support #githelp #trial #json #parser #minimal #fast #lossless #event #streaming #sax #javascript #deno #typescript #bun #node #nodejs

Leanpub
2 days ago

Implementing DDD, CQRS and Event Sourcing (The Book + Code) by Alex Lawrence is on sale on Leanpub! Its suggested price is $24.99; get it for $16.74 with this coupon: https://leanpub.com/sh/OE2ISQqo #NodeJs #EventDrivenArchitecture #Reactive #SoftwareArchitecture

I just finished a script in #nodejs for create post in my blog with #11ty, it will save me time doing:

- Create the folders for year/month/post-name
- Create url-friendly name for post directory from the title
- Can create for English, Spanish or both
- Create de index.md files
- If I choose both langs, it adds the related links in the #FrontMatter

I'm very happy with the result :ablobattention:

Aaron W. Swenson
3 days ago

Note to self: For best results, set `prefix = "~/.local"` in ~/.npmrc

#nodejs #npm

A Christmastodon Miracle!
3 days ago

Last night I had dockerized an app to where I was able to get `npm install` to run in the container (because it had to reference a blasted NPM Auth token). That took some work, and it wasn't done "right", but it was a step in the right direction.

Spent all of tonight trying to pass it via "secrets", to no avail.

No worries, I'll just revert to when it was working.

And now it's running, but node_modules is EMPTY. EVERY. SINGLE. TIME. I. RUN. IT. #Docker #NodeJS

I need sleep.

tbeseda
3 days ago

I _had_ to have side by side comparison on assertion failures in this library I'm working on.
The code is not pretty, but at least I can grok what I screwed up!

Anyone know of a #NodeJS helper to do this sort of layout? Like chalk but for common UI patterns in the console. And for the love of Willie Nelson, don't say “ink”.

terminal output of a failed assertion shows 2 different JSON objects spaced evenly, side-by-side for easy comparison by a human: me
Phylum
4 days ago

Red teams and adversaries alike are using software supply chain attacks as a way to gain access to even the most prepared organizations. Today, we discuss several #malicious #npm packages successfully targeting a large financial institution. Is this an adversarial simulation or a legitimate threat? Read on to find out.

https://blog.phylum.io/encrypted-npm-packages-found-targeting-major-financial-institution/

#malware #opensource #javascript #nodejs #software #hacking #infosec #security #cybersecurity

Clap your hands if you’ve been awake since 2AM, doomscrolling the usual depressing news and job ads websites, unable to sleep 🙌

#fedihire #Rust #Rustlang #NodeJS #JavaScript #TypeScript #freelance

Trivikram Kamat
4 days ago

If you currently maintain a #nodejs application, what issues do you face when upgrading Node.js versions?

#opensource #javascript

nullagent
4 days ago

#devlog

Current mood. Annoyed that different ADHD projects are demanding attention at the same time.

One, new-ish, and shiny(writing gpg nodejs bindings). The other, actually also pretty shiny(masto server maintenance day), but I just don't wanna rn.

Some how, I actually feel like being focused today.

So if this post works, then maybe I don't need to put down a the current shiny thing I'm playing with.

https://music.youtube.com/watch?v=2xOjBRefiWw

#mastoadmin #nodejs #adhd

Leanpub
5 days ago

Implementing DDD, CQRS and Event Sourcing (The Book + Code) by Alex Lawrence is on sale on Leanpub! Its suggested price is $24.99; get it for $16.74 with this coupon: https://leanpub.com/sh/PIOO5zbA #NodeJs #EventDrivenArchitecture #Reactive #SoftwareArchitecture

Is there still a reason to use Express instead of Fastify? #nodejs #tech

Kote Isaev
5 days ago

Have anything improved at #npm and #nodejs ecosystem from this funny video exists?
https://www.youtube.com/watch?v=PI5wz2pwXIg
Does anyone still prefer to use one-liner packages like is-odd or is-number ? Or you copy-paste one-liners into your codebase?

Matsu
5 days ago

Wrote a quite lengthy article on building an Event Based, cross platform, context/state management system with #vanillajs , utilizing what the platform already provides.

Really think this pattern could ease a lot of developers https://matsu.fi/blog/event-based-state/

#javascript #js #npm #nodejs #node

Profesional Zealot
6 days ago

#jeRecrute #jeRecruteEnfinPasMoiMais un camarade me fait parvenir 3 offres d'emploi :

C'est à Paris 13e, me semble qu'il y a du télétravail partiel. La boîte est une entreprise de "streaming dédiée à l'animation".

Si ça te branche, DM-moi et je te donne l'email de mon camarade pour que tu lui poses tes questions

Michal Bryxí 🌱
6 days ago

This #Github comment about #NodeJS is just :chef-kiss::

Quote: "broken on 16.13.0 too, which is an active node LTS. downgrading doesn't seem like a valid long term solution here"

Reply: "Welcome to nodejs. Please enjoy the ride."

Studying for Linux Professional Institute (LPI) #WebDevelopment Essentials? Learn how the website you use each day tick, #Nodejs to #databases with the blog from #LPI Partner Marco Colombo!

Create exciting new opportunities in your career with #WDE: https://lpi.org/r3mb

#IT #tech #programming #SoftwareDevelopment #code #programming #learntocode #webdev #CSS #javascript #SQL #SQLite #mongodb

Webdev Weekly
6 days ago

Web Development recap for week 48/2023

https://discu.eu/weekly/webdev/2023/48/

#css #javascript #nodejs #programming #typescript #webassembly #webdev

Get RSS feeds and support this bot with the premium plan: https://discu.eu/premium

Habr
6 days ago

Улучшаем возможности PM2 с помощью дополнительных модулей автоскейлинга и мониторинга

Всем привет. Сегодня я бы хотел рассказать о том, с какими трудностями пришлось столкнуться при работе с менеджером node.js процессов PM2, и как нам пришлось расширить его возможности для того, чтобы его было можно использовать эффективнее.

https://habr.com/ru/articles/778316/

#pm2 #nodejs #javascript #разработка

Mahmoud Az
6 days ago

Yagiz Nizipli - Node.js Performance

https://www.youtube.com/watch?v=waEKI4V70CU

#NodeJS

Leanpub
1 week ago

The bundle Level Up by Noah Gift, Alfredo Deza and Matt Harrison is on sale on Leanpub! Its suggested price is $209.95; get it for $85.00 with this coupon: https://leanpub.com/b/levelup/c/LeanpubWeeklySale2023Dec01 #Python #Devops #SoftwareEngineering #NodeJs #Ruby #Go #R

Recordad que Bun es una mierda corporativa y no un proyecto comunitario como NodeJs

#bun #nodejs

Leanpub
1 week ago

Awesome Coding by Engin Arslan is on sale on Leanpub! Its suggested price is $24.99; get it for $7.99 with this coupon: https://leanpub.com/sh/5AiLXXK2 #Javascript #NodeJs

Leanpub
1 week ago

Python Command Line Tools by Noah Gift and Alfredo Deza is on sale on Leanpub! Its suggested price is $49.99; get it for $39.99 with this coupon: https://leanpub.com/sh/bFbY0whE #Python #Devops #NodeJs #Ruby #Go #R

invicticide
1 week ago

I'm going to make an effort at doing #adventofcode this year. I fully expect to fall behind and generally be slow, because life, but these #programming exercises are interesting, and I need something to re-sharpen my newborn #parenting brain.

I'm doing everything in #nodejs #javascript because, you know what, I like it, despite all the (sometimes justified) hate it receives. Also, that's what my static site generator is written in, so that's where my #coding brain is currently most comfortable.

Brian LeRoux 💚
1 week ago

really enjoying the new #nodejs test runner for small experiments

Leanpub
1 week ago

Implementing DDD, CQRS and Event Sourcing (The Book + Code) by Alex Lawrence is on sale on Leanpub! Its suggested price is $24.99; get it for $16.74 with this coupon: https://leanpub.com/sh/SQXfBoMO #NodeJs #EventDrivenArchitecture #Reactive #SoftwareArchitecture

Paweł Grzybek
1 week ago

✨ New post

“I replaced npm, yarn and nvm with pnpm”

https://pawelgrzybek.com/i-replaced-npm-yarn-and-nvm-with-pnpm/

#javascript #nodejs

During the past 6 months I invoiced a grand total of 11 days so at this point I will code for food, I guess 🫠

I have 15 years of experience from developer to CTO, out of 10 as freelancer, and 2023 will be my worst year ever. Living that while inflation explodes is probably not helping either 🥴

#rust #RustLang #fedihire #freelance #contractor #nodejs #typescript

Ulises Gascon
1 week ago

Yayy! I am very proud to see that the #MacOS #Notarization changes in #nodejs are being shipped in the latest releases (18.19.0, 20.10.0, and 21.3.0). Currently, we are using #Notarytool instead of Gon.

https://www.linkedin.com/posts/ulisesgascon_action-required-by-apple-transition-to-the-activity-7136140211259883520-HuCG

ECMAScript News
1 week ago
Emelia 👸🏻
1 week ago

If anyone's hiring a mid-level or associate software engineer (react / node.js / solid) remote (Germany), I highly encourage you to get in contact with @yesvirginia, who's just parted ways with Inrupt, where we worked together.

She's looking for her next role, must be remote, and minimum salary ~€75-80k.

She's not just a talented developer, but also a huge people person, often driving positive change, and is running for the Chair of the Solid CG.

#FediHired #GetFediHired #nodejs #react #solid

tbeseda
1 week ago

The #Deno runtime is complex now huh? To me, it had a lot of promise with its stdlib and the way it did dependency management.
But now it's got all the DOM APIs, “native npm”, kv + queues + cron, etc. I wonder why those aren't external with the already elegant dependency system?
I know they gotta make money, but there's no way this isn’t hurting non-Deno Deploy adoption of the runtime.
At this point, I'm happy to just wait for #NodeJS to adopt some of the conventions I like.

Dave🌱
1 week ago

Every time I open up a project I need to do some maintenance work on and I can't get anything to build or run and find #Webpack and/or #Babel in the dependencies list, I feel a little sad. It makes me miss the "good old" days of web development, before bloated build tools and other barriers came in to complicate things.
Granted, more modern solutions *can* be better, but none are free from the dependency rot problem.
#WebDevelopment #DependencyHell #NodeJS #JavaScript

Meme picture of Robert Downey Jr. in the middle of the world's largest humanly possible eye-roll.
Fell
2 weeks ago

So, I messed about with "The Cloud". And I really don't get the appeal. Regular dedicated and virtual servers are SO much cheaper and they do exactly the same things. And hoooly crap how they overengineered simple virtual machines.

Usually there are machines and there are images. That's it. But they turned it into this whole landscape of made-up terms and whatnot and made it so fucking complex you need another VM (the "shell") and probably an extra employee just to control the damn thing. And don't get me started on cloud storage, that's just FTP with extra steps!

I mean, I'm sure there are *some* applications where it's absolutely neccessary to basically have an (almost) infinitely powerful computer, *cough* NodeJS *cough* but I don't understand why it's so trendy. Just get a regular server guys. Don't want to mess with hard drive failures? Fine, get a virtual one then.

#Google #Cloud #Amazon #AWS #Microsoft #Azure #VM #Server #VPS #Hosting #NodeJS

jbz
2 weeks ago

🦀 Petition to rename it to Node.rs

At this pace it'll be true anyways.

#Rust #Nodejs

Webdev Weekly
2 weeks ago

Web Development recap for week 47/2023

https://discu.eu/weekly/webdev/2023/47/

#css #javascript #nodejs #programming #typescript #webassembly #webdev

Get RSS feeds and support this bot with the premium plan: https://discu.eu/premium

nullagent
2 weeks ago

9007199254740991 bytes is the upper limit on nodejs fs file offset API inputs.

So in theory I want to support in my buckets, files up to this limit.

Wolfram α absolutley nailed the comparisons on this one. Supporting a bucket 10x bigger than the dark web would be dope! 🤔

🚀🥷🏾🏛️

#partyfs #nodejs #javascript #devlog

Input interpretation
9007199254740991 bytes
Unit conversions
9.007 PB (petabytes)
7.206×10^16 bits
8 PiB (pebibytes)
0.007812 EiB (exbibytes)
Comparisons
 ≈ ( 0.09 ≈ 1/11 ) × purported storage capacity of the character Data in Star Trek: The Next Generation ( 8×10^17 b )
 ≈ ( 0.099 ≈ 1/10 ) × estimated data content of the deep web (as of 2014) ( ≈ 91000 TB )
 ≈ 1.8 × digitized material content of the Library of Congress (as of 2015) ( ≈ 5.1 PB )
nullagent
2 weeks ago

#devlog

One time these kids in boy scouts wandered off during an eagle scout project. When I caught up to them, they were at the bottom of a fresh bit.They just decided to dig the biggest hole they'd ever made.

I'm over here trying to store the biggest files I can think of. . .

#partyfs #nodejs #javascript #devlog

> Number.MAX_SAFE_INTEGER
9007199254740991
tomhazledine
2 weeks ago

#nodejs #developer friends: is this a terrible idea?

Been solving some compatibility issues by removing as many dependencies as possible and realised that I could replace the `dotenv` package with a single function.

Am I missing some nuance that means this will explode later? Almost feels "too easy”… 🤷

Screenshot of some code. A single file that exports a function called `loadEnvVars`. The function reads a file called “.env”, splits the file contents by newline and then by “=“ to get key/value pairs. Then adds them to the “process.env” object.

Full code:

```

import path from "path";
import fs from "fs";

export const loadEnvVars = () => {
    try {
        const envVars = fs.readFileSync(path.resolve(".", `./.env`, "utf8"));

        envVars.split("\n").forEach(line => {
            const [key, value] = line.split("=");
            process.env[key.trim()] = value.trim();
        });
    } catch (err) {
        throw err;
    }
};
```

¿Hay por aquí alguien con capacidad de navegar código ajeno (independientemente del lenguaje, pero con foco en #nodejs y #angular) con ganas de entrarle a un proyecto algo intenso de rescate de una plataforma?

🇲🇽

David Anson
2 weeks ago

Updated: markdownlint-cli2 v0.11.0, #Markdown #linting CLI for #NodeJS

- Add `modulePaths` configuration option
- Update dependencies (including `markdownlint`)
- Remove deprecated MD002/MD006
- Remove rule aliases for "header"
- Add MD054/link-image-style
- Use `micromark` in MD005/MD007/MD030
- Improve MD022/MD026/MD034/MD037/MD038/MD045/MD051
- Remove support for end-of-life Node 16

https://github.com/DavidAnson/markdownlint-cli2

When using functions from an external file, do you use a prefix?
#javascript #NodeJS
so utils.fun() vs, fun()

Simon
3 weeks ago

Trend Micro encountered malicious operations that used techniques similar to the ones used by Genesis Market, a website for facilitating fraud that was taken down in April 2023. The threat actor behind these operations abused Node.js to act as a platform for the backdoor, Extended Validation (EV) Code Signing for defense evasion, and possibly Google Colab to host search engine-optimized download sites. Trend Micro provides a technical analysis of the attacks, and include IOC.
Link: https://www.trendmicro.com/en_us/research/23/k/attack-signals-possible-return-of-genesis-market.html

#GenesisMarket #nodejs #extendedvalidation #GoogleColab #cybercrime #IOC

Leanpub
3 weeks ago

Web Atelier by Cesare Pautasso is on sale on Leanpub! Its suggested price is $99.00; get it for $25.00 with this coupon: https://leanpub.com/sh/0xEItJUM @pautassoscholar.social #Html #Css #Javascript #Express #NodeJs #WebDevelopment #ComputerScience

Frozen Canuck
3 weeks ago

Microsoft's official TypeScript #Mastodon account @TypeScript is now verified ✅.

Bonus: The #TypeScript team even included a link to their Mastodon account on their website 🙌 https://www.typescriptlang.org

Huge thanks to the TypeScript team for making this happen 💪

Use TypeScript? Please show the team some love by giving their account a follow.

https://github.com/microsoft/TypeScript/issues/56396

#dev #programming #nodejs #javascript

Kevin C. Tofel
3 weeks ago

Running the same web app from the same repo on the same OS with the same browser, same version of #nodejs, and same versions of dependencies installed. Two different computers.

One works, one doesn't. WTF?

I can pull my blog post titles from GitHub on one but not the other. Same creds. Need more coffee....

A local web app running in a browser with the required depenedencies shown in a Terminal on right.
Webdev Weekly
3 weeks ago

Web Development recap for week 46/2023

https://discu.eu/weekly/webdev/2023/46/

#css #javascript #nodejs #programming #typescript #webassembly #webdev

Get RSS feeds and support this bot with the premium plan: https://discu.eu/premium

Aral Balkan
3 weeks ago

@baldur Well at least that won’t be a problem when creating apps on the Small Web with Kitten because Kitten is set up to track the latest Node LTS and downloads and uses its own Node binary (runtime) automatically without relying on what’s on someone’s system.

https://codeberg.org/kitten/app

#SmallWeb #Kitten #NodeJS

CC @mcollina

The Shinxposter
3 weeks ago

I'm looking for some programmers to commission for a potential project. If you're looking for work or a side gig, do hmu!

Gonna try this on the fediverse, not sure what to expect

#GetFediHired #programming #python #csharp #dart #flutter #nodejs #javascript

Webdev Weekly
3 weeks ago
Cass :noverified:
3 weeks ago

Upgrade Nodejs from 18 to 20.
https://github.com/TypeStrong/ts-node/issues/1997
Downgrade Nodejs from 20 to 18.
This was how I hoped my Saturday morning 20 minute adventure would play out

#nodejs #typescript

Axel Rauschmayer
3 weeks ago

Node.js may get a benchmark module: https://github.com/nodejs/node/pull/50768

const { Suite } = require('node:benchmark');
const suite = new Suite('Deleting vs Assigning undefined');

suite.add('Using delete to remove property from object', () => {
const data = { x: 1, y: 2, z: 3 }
delete data.y

data.x
data.y
data.z
});

suite.add('Using undefined to "remove" property from object', () => {
const data = { x: 1, y: 2, z: 3 }
data.y = undefined

data.x
data.y
data.z
});

suite.run()

#NodeJS

Emelia 👸🏻
3 weeks ago

I wish unstable releases of Node.js weren't labelled "current" but "next"

#NodeJS

« We wish to thank you for your interest in the Principal Software Engineer opportunity. However, the position is now filled and closed. »

No shit, I applied four months ago and never had any answer 🤪

#FediHire #rust #Rustlang #nodejs #freelance #contractor

David Anson
3 weeks ago

Updated: markdownlint v0.32.1, #Markdown #linting library for #NodeJS

- Remove deprecated MD002/MD006
- Remove rule aliases for "header"
- Add MD054/link-image-style
- Use micromark in MD005/MD007/MD030
- Improve MD022/MD026/MD034/MD037/MD038/MD045/MD051
- Improve JSON schema and related examples
- Provide type declaration for Configuration object
- Update dependencies

https://github.com/DavidAnson/markdownlint

Andrew Chou
3 weeks ago

📣 (Another) Jobs Announcement 📣

Digital Democracy is looking for a Senior Backend Developer! You'll be directly working on the technology that powers our offline-first and decentralized mapping applications!

job details: https://apply.workable.com/digidem/j/F243F84F41/

org website: https://digital-democracy.org

boosts (again) appreciated! 🙏

#fedihire #NodeJS #p2p #OfflineFirst

Paweł Grzybek
4 weeks ago

The `__filename` and `__dirname` are commonly used references in Node.js running in CommonJS mode. They are not included in the ESM (ECMAScript Modules) enabled runtimes. They were always fairly easy to reproduce, but the just announced Node.js v21.2.0 made it even easier.

Node v21.2.0 Release Notes:
https://nodejs.org/en/blog/release/v21.2.0

My post about the differences between CommonJS and ECMAScript in Node.js:
https://pawelgrzybek.com/all-you-need-to-know-to-move-from-commonjs-to-ecmascript-modules-esm-in-node-js/#esm-is-missing-some-references

#javascript #NodeJS

The `__filename` and `__dirname` are commonly used references in Node.js running in CommonJS mode. They are not included in the ESM (ECMAScript Modules) enabled runtimes. They were always fairly easy to reproduce, but the just announced Node.js v21.2.0 made it even easier.
Webdev Weekly
4 weeks ago

Web Development recap for week 45/2023

https://discu.eu/weekly/webdev/2023/45/

#css #javascript #nodejs #programming #typescript #webassembly #webdev

Get RSS feeds and support this bot with the premium plan: https://discu.eu/premium

Markus Tacker
4 weeks ago

I wish there was a `import pkg from 'root:pkg'` in Node.js which only works if pkg is in the project's package.json.
#nodejs

Emelia 👸🏻
1 month ago

Just had the most annoying bug to debug in an Express App. I’d included the cors middleware, but had done:

app.use(cors)

instead of:

app.use(cors())

so requests just hung indefinitely. Took me a good 30-60 minutes to debug, because I'd changed a bunch of other code that could’ve been interacting badly.

#expressjs #NodeJS

It's been a minute since I wrote a #visualDiff test with #playwright; what's the cool #npm package to use these days?

I think I've used #pixelmatch in the past, but there's a #jest package that #copilot is suggesting.

https://www.npmjs.com/package/jest-image-snapshot

#e2e #testing #headless #browser #snapshot #test #functionalTests #cypress #tests #nodejs #webDev #javaScript

acabo de notar que un cosito que hice y que recién desplegué anda cómodo con 7 Mb de ram. Está hecho en #flask.

También tengo uno en #nodejs corriendo tranqui con 30 Mb y el buen @climaenelcerro (hecho en #rustlang) está comodísimo también con una decena de megas.