schenklklopfer, to programming German
@schenklklopfer@chaos.social avatar

Grund 409638045983 warum ich dieses ganze #nodejs Universum verachte:

Habe Code - nicht meiner, kann daran nichts ändern.
Code hat sich seit 7 Monaten nicht geändert.
Vor 7 Monaten ist die Pipeline gelaufen und hat ein Image erfolgreich gebaut.
Heute läuft die Pipeline nicht mehr, weil sich irgendeine Abhängigkeit anders verhält als vor 7 Montaten.

Und nu?

Ja, bleiben diese 9,8er CVEs halt drin in dem Image, weil neu Bauen geht nicht.

thomas,
@thomas@metalhead.club avatar

@schenklklopfer wo es in der Firma nicht anders geht, sichern wir uns mittlerweile den ganzen node_modules Ordner weg und archivieren den. Einfach vor Angst, dass mal ein Modul nicht mehr verfügbar sein könnte oder irgendein anderer Scheiß passiert. Hilft aber natürlich nicht bei CVEs.

xarvh, to apple
@xarvh@functional.cafe avatar

I'm finally at the point where I have to start working on perhaps the main feature of my programming language Squarepants: the ability to compile to GPU Shaders.

The most attractive target would be #SpirV which is an intermediate representation that works almost everywhere... Except on browsers, and only because #Apple didn't want to give control of the standard to the group that develops SpirV.
Instead, Apple imposed #WGSL , which is a language instead than an intermediate representation, so it's a pain in the ass to target and will end up with the same problem as #javascript .

At some point there will be translators from SpirV to WGSL, but I can't rely on those now.

So, what am I going to target?
Right now Squarepants compiles to javascript, so can run easily in both browsers and #nodejs.

There is a project to run SpirV (via Vulkan) on node, but has been dead for years, which means that if I want to compile to a native application, I need Squarepants to compile to C or LLVM first.

OTOH if I go through the square-peg-in-round-hole and target WGSL, then I can target browsers.

-sigh-, I feel like I have no good option.

dneto,
@dneto@mastodon.gamedev.place avatar

@xarvh
And.... We take bug reports if something is broken. But check first if you're using a feature that is missing from WGSL...like texel buffers. crbug.com/tint

dneto,
@dneto@mastodon.gamedev.place avatar

@xarvh

Unity uses this SPIR-V to translator.

Brendan Duncan talked about this a year ago. See his pinned post.

https://mastodon.gamedev.place/@brendan/112191277347723535

maralorn, to programming
@maralorn@chaos.social avatar

current status: calling a executable from typed template

pmidden,
@pmidden@fosstodon.org avatar

@maralorn uhmm, isn't this just "exec()"? 😃 (or createProcess, whatever)

maralorn,
@maralorn@chaos.social avatar

@pmidden Yeah, I am not saying it’s complicated, it just feels a little cursed.

alxd, to typescript
@alxd@writing.exchange avatar

Time for a post!

I'm looking for a / / 100% position, both contract and permanent, GMT+2 timezone.

I previously worked as a Senior / Lead / Principal developer with , and experience.

I specialize in , , , , , , , , and .

https://www.linkedin.com/in/paul-ngei/

mauve, to programming
@mauve@mastodon.mauve.moe avatar

Did you know that you don't need to commit to an entire @agregore browser to make use of it's tech? If you already have installed you can run agregore-compatible modules from your cli over any protocol supported by the browser. (e.g. or )

npx agregore run hyper://blog.mauve.moe/example.js  

With this you can share code between applications and command line utilities.

https://github.com/AgregoreWeb/agregore-cli

melroy, to random
@melroy@mastodon.melroy.org avatar

@lukekarrys How to buy you a coffee? I want to thank you for all your npm contributions, especially the maxSockets issue was a big deal to fix.

#npm #nodejs #maxSockets #socket #openconnections

lukekarrys,
@lukekarrys@hachyderm.io avatar

@melroy With the caveat that I’m already paid to work on npm by GitHub and don’t expect any donations, the best way is my GitHub sponsors page https://github.com/sponsors/lukekarrys?frequency=one-time And thank you for asking! It prompted me to finally finish setting up this page.

melroy,
@melroy@mastodon.melroy.org avatar

@lukekarrys ah! You're welcome 🤗

83r71n, to Cybersecurity
@83r71n@ioc.exchange avatar

A critical vulnerability, named BatBadBut, was discovered in the Rust programming language, affecting not just Rust but also Erlang, Go, Python, Ruby, and potentially others. This vulnerability, with a severity score of 10/10, could allow attackers to execute arbitrary commands on Windows systems by exploiting how Rust handles batch files. The issue arises from Rust's standard library improperly escaping arguments when invoking batch files on Windows, leading to potential command injection. The vulnerability has been addressed with a fix in Rust version 1.77.2, which developers are urged to update to. Other programming languages and systems, including Node.js, PHP, and Java, are also affected and are working on patches.

https://flatt.tech/research/posts/batbadbut-you-cant-securely-execute-commands-on-windows/

https://blog.rust-lang.org/2024/04/09/cve-2024-24576.html

f3rno64, to programming
@f3rno64@aus.social avatar

As I've noticed it's #PortfolioDay and have seen some wonderful artwork posted by people, as a programmer, I'd like to share a project I made, a command line time tracker with the purely textual interface.

Since I spent a good deal of time designing the textual output and UX I figure it's akin to art.

The interface is natural language input of times and dates representing when you start and end tasks.

It's available at https://f3rno64.io/a-nodejs-cli-time-tracker and the associated blog post is at https://f3rno64.io/a-nodejs-cli-time-tracker

#programming #tech #cli #nodejs #terminal

A list of timesheets and the sum of the durations of tasks within them.
A concise listing of a short period of time in a timesheet with a few tasks listed.

nurkiewicz, to programming
@nurkiewicz@fosstodon.org avatar

#OTD 10 years ago #ExpressJS 4.0 was released. 5.x is still in beta https://www.npmjs.com/package/express/v/4.0.0 #NodeJS #javascript

voxpelli, to programming
@voxpelli@mastodon.social avatar

Completed setup of a #refurbed small Windows PC today and remoted into it from my MacBook to #debug some #nodejs code that was failing its windows tests on GitHub Actions

Is almost 20 years since Windows was my primary dev machine – it feels so alien nowadays when all my dev work is centered around git and cli-tools

leanpub, to devops
@leanpub@mastodon.social avatar

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

joelanman, (edited ) to programming
@joelanman@hachyderm.io avatar

hard to believe that the only built in way to update a package to the latest version in npm is

npm uninstall [package name]  
npm install [package name]  

#nodejs

update, you can use

npm install [package name]@latest  

thanks @boutell

tanepiper,
@tanepiper@tane.codes avatar

@joelanman Ahh in that case yes. I had a situation on the past with Astro where they pushed out a breaking change on a minor and I had ^ so now I either go only patch or remove it all together. Using ncu to update

tanepiper,
@tanepiper@tane.codes avatar

@joelanman I also hate package-lock.json in general too because it's only deterministic at the OS layer. With one of our systems we're forced to use React to use their design system and that lead to pipelines failing because of a rollup binary for amd64 and I'm on Apple Silicon.

We've had similar issues with Docker images for the GitHub Action runner where building them on intel worked but on the M2 did not (we've since made it an Action to build a new one)

andy_blum, to programming
@andy_blum@drupal.community avatar

Ever worked on #nodejs projects locally and wished for a more standardized, production-like experience for your team? Try @ddev! I walk you through setting your local up with #docker #containers in my latest article on @lullabot

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

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

Just improved the display of error messages in Kitten¹.

They should be far more robust now.

Run kitten update to get the latest.

:kitten:💕

¹ https://codeberg.org/kitten/app

#Kitten #errorMessages #stackTrace #web #dev #JavaScript #nodeJS

masukomi,
@masukomi@connectified.com avatar

@aral is love that you didn’t JUST make error messages useful, but also made them cute with fun colors

aral,
@aral@mastodon.ar.al avatar

@masukomi 💕

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

Me: Hmm, maybe I should look into Bun again and see how its Node.js compatibility is coming along.

Also me: I wonder who makes Bun…

Me, yet again: Ah, it’s a venture-capital funded startup called Oven (see what they did there?)

Finally, me: rm -rf ~/.bun

(Remember, kids: Venture capital is the fart that precedes enshittification. It’s best not to linger once you’ve caught a whiff of it.)

#bun #NodeJS #ventureCapital #VC #noThankYou #JavaScript #web #dev

hi_mayank,
@hi_mayank@hachyderm.io avatar

@aral i wrote a blog post you might find handy if you're looking into bun https://www.mayank.co/blog/bun

frontsideair,
@frontsideair@mastodon.social avatar

@aral Bun is actually one of the worse VC funded companies, I remember their first job post and they seemed to expect insane working hours. Also the creator is a Thiel fellow 🤷‍♂️

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