Discussion
Loading...

#Tag

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Yogthos
@yogthos@social.marxist.network  ·  activity timestamp 58 minutes ago

NPM flooded with malicious packages downloaded more than 86,000 times.

https://arstechnica.com/security/2025/10/npm-flooded-with-malicious-packages-downloaded-more-than-86000-times/

#security #javascript #npm

Ars Technica

NPM flooded with malicious packages downloaded more than 86,000 times

Packages downloaded from NPM can fetch dependancies from untrusted sites.
  • Copy link
  • Flag this post
  • Block
Jan :rust: :ferris: boosted
Jak2k 🇪🇺
@jak2k@mastodontech.de  ·  activity timestamp 23 hours ago

This is how you properly calculate an element from the Fibonacci sequence in JavaScript:

function fibonacci(n) {
const phi = (1+Math.sqrt(5))/2;
return Math.round((phi**(n) - (-phi)**(-n))/(2*phi-1));
}

fibonacci(1000)

This is much faster than your recursive Rust solution! That means JS is faster than Rust!

#rust #javascript

  • Copy link
  • Flag this post
  • Block
Kat Marchán 🐈 boosted
Fastly Devs
@fastlydevs@mastodon.social  ·  activity timestamp 21 hours ago

NEW! Fastly's HTML Rewriter is live in the JS SDK (v3.35.0) for Compute.

It's a native, streaming parser that lets you modify HTML at the edge with CSS selectors—and it's ~20x faster than old-school DOM buffering.

Say goodbye to origin strain. Say hello to instant personalization.

https://www.fastly.com/blog/rewriting-html-with-the-fastly-javascript-sdk

#JavaScript #WebPerformance #FastlyCompute

Rewriting HTML with the Fastly JavaScript SDK | Fastly

Boost web performance with Fastly’s JS SDK v3.35.0. Use the new streaming HTML rewriter to customize, cache, and transform pages faster and more efficiently.
Sorry, no caption provided by author
Sorry, no caption provided by author
Sorry, no caption provided by author
  • Copy link
  • Flag this post
  • Block
Fastly Devs
@fastlydevs@mastodon.social  ·  activity timestamp 21 hours ago

NEW! Fastly's HTML Rewriter is live in the JS SDK (v3.35.0) for Compute.

It's a native, streaming parser that lets you modify HTML at the edge with CSS selectors—and it's ~20x faster than old-school DOM buffering.

Say goodbye to origin strain. Say hello to instant personalization.

https://www.fastly.com/blog/rewriting-html-with-the-fastly-javascript-sdk

#JavaScript #WebPerformance #FastlyCompute

Rewriting HTML with the Fastly JavaScript SDK | Fastly

Boost web performance with Fastly’s JS SDK v3.35.0. Use the new streaming HTML rewriter to customize, cache, and transform pages faster and more efficiently.
Sorry, no caption provided by author
Sorry, no caption provided by author
Sorry, no caption provided by author
  • Copy link
  • Flag this post
  • Block
Jak2k 🇪🇺
@jak2k@mastodontech.de  ·  activity timestamp 23 hours ago

This is how you properly calculate an element from the Fibonacci sequence in JavaScript:

function fibonacci(n) {
const phi = (1+Math.sqrt(5))/2;
return Math.round((phi**(n) - (-phi)**(-n))/(2*phi-1));
}

fibonacci(1000)

This is much faster than your recursive Rust solution! That means JS is faster than Rust!

#rust #javascript

  • Copy link
  • Flag this post
  • Block
Hacker News
@h4ckernews@mastodon.social  ·  activity timestamp 23 hours ago

NaN, the not-a-number number that isn't NaN

https://piccalil.li/blog/nan-the-not-a-number-number-that-isnt-nan/

#HackerNews #NaN #NotANumber #DataScience #Programming #JavaScript

Piccalilli

NaN, the not-a-number number that isn’t NaN

We're pretty aware, generally that JavaScript is weird, but did you know Not-A-Number (NaN) is a type of number? Mat Marquis walks us through why that is and how to deal with NaN well in your codebases.
  • Copy link
  • Flag this post
  • Block
Hacker News
@h4ckernews@mastodon.social  ·  activity timestamp yesterday

Isomorphic JS/TS Functions Orchestrator

https://github.com/damianofalcioni/js-functions-orchestrator

#HackerNews #Isomorphic #JS/TS #Functions #Orchestrator #open-source #JavaScript #TypeScript #functions

GitHub

GitHub - damianofalcioni/js-functions-orchestrator: Isomorphic orchestrator for JS functions. Create your own low-code platform!

Isomorphic orchestrator for JS functions. Create your own low-code platform! - damianofalcioni/js-functions-orchestrator
  • Copy link
  • Flag this post
  • Block
Hacker News
@h4ckernews@mastodon.social  ·  activity timestamp 2 days ago

Now any body can write JavaScript code in Rust

https://github.com/Shyam20001/rsjs

#HackerNews #JavaScript #Rust #RustLang #CodingInnovation #WebDevelopment

  • Copy link
  • Flag this post
  • Block
Hacker News
@h4ckernews@mastodon.social  ·  activity timestamp 2 days ago

SpiderMonkey Garbage Collector

https://firefox-source-docs.mozilla.org/js/gc.html

#HackerNews #SpiderMonkey #Garbage #Collector #Mozilla #JavaScript #Development #WebAssembly #Performance

SpiderMonkey garbage collector — Firefox Source Docs documentation

  • Copy link
  • Flag this post
  • Block
alcinnz boosted
Bits
@bits@mastodon.online  ·  activity timestamp 3 days ago

Build your own database

https://www.nan.fyi/database

#programming #databases #javascript #blog #softwaredevelopment

Not a Number

Build Your Own Database

A step-by-step guide to building a key-value database from scratch.
  • Copy link
  • Flag this post
  • Block
Bits
@bits@mastodon.online  ·  activity timestamp 3 days ago

Build your own database

https://www.nan.fyi/database

#programming #databases #javascript #blog #softwaredevelopment

Not a Number

Build Your Own Database

A step-by-step guide to building a key-value database from scratch.
  • Copy link
  • Flag this post
  • Block
pvergain (framapiaf) boosted
𝕂𝚞𝚋𝚒𝚔ℙ𝚒𝚡𝚎𝚕
@kubikpixel@chaos.social  ·  activity timestamp 4 days ago

»Write Code That Runs in the Browser, or Write Code the Browser Runs«
— by @jimniels

🧑‍💻 https://blog.jim-nielsen.com/2025/more-control-equals-less-performance/

#code #browser #webdev #web #coding #js #javascript #rust #rustlang #dev #html #css

Write Code That Runs in the Browser, or Write Code the Browser Runs

Writing about the big beautiful mess that is making things for the world wide web.
  • Copy link
  • Flag this post
  • Block
jbz
@jbz@indieweb.social  ·  activity timestamp 4 days ago

"React 19.2 Introduces 'use no memo' Directive for Opting Out of Auto-Memoization"

Lavascript people being totally normal

#reactjs #javascript #bloatware

  • Copy link
  • Flag this post
  • Block
Konrad Hinsen boosted
Karsten Schmidt
@toxi@mastodon.thi.ng  ·  activity timestamp 5 days ago

Looks like blockchains have finally found a serious use case, just maybe not the one predicted/hoped for...

This article is about #Glassworm, the latest major exploit in JavaScript-land, targetting VSCode and using #Solana as command infrastructure and Google Calendar events as backup. It's full of novel attack techniques and as they say in the article themselves: "this is absolutely brilliant (and terrifying)". All in all, a different form of "creative coding"...

"The malware is hunting for credentials:

- NPM authentication tokens - to publish malicious packages
- GitHub tokens - to compromise repositories
- OpenVSX credentials - to inject more extensions
- Git credentials - to push malicious code
- 49 different cryptocurrency wallet extensions - targeting MetaMask, Phantom, Coinbase Wallet, and dozens more"

https://www.koi.ai/blog/glassworm-first-self-propagating-worm-using-invisible-code-hits-openvsx-marketplace

#JavaScript #Security #VSCode #Malware

GlassWorm: First Self-Propagating Worm Using Invisible Code Hits OpenVSX Marketplace | Koi Blog

  • Copy link
  • Flag this post
  • Block
Hacker News
@h4ckernews@mastodon.social  ·  activity timestamp 4 days ago

Write Go code in JavaScript files

https://www.npmjs.com/package/vite-plugin-use-golang

#HackerNews #Go #JavaScript #Vite #Plugin #Coding #Tools

npm

vite-plugin-use-golang

Write Go code in JavaScript files. Compiles to WebAssembly. Actually works.. Latest version: 0.1.0, last published: 2 hours ago. Start using vite-plugin-use-golang in your project by running `npm i vite-plugin-use-golang`. There are no other projects in the npm registry using vite-plugin-use-golang.
  • Copy link
  • Flag this post
  • Block
𝕂𝚞𝚋𝚒𝚔ℙ𝚒𝚡𝚎𝚕
@kubikpixel@chaos.social  ·  activity timestamp 4 days ago

»Write Code That Runs in the Browser, or Write Code the Browser Runs«
— by @jimniels

🧑‍💻 https://blog.jim-nielsen.com/2025/more-control-equals-less-performance/

#code #browser #webdev #web #coding #js #javascript #rust #rustlang #dev #html #css

Write Code That Runs in the Browser, or Write Code the Browser Runs

Writing about the big beautiful mess that is making things for the world wide web.
  • Copy link
  • Flag this post
  • Block
alcinnz boosted
Elly Loel
@elly@front-end.social  ·  activity timestamp 5 days ago

Write Code That Runs in the Browser, or Write Code the Browser Runs

🔖 https://blog.jim-nielsen.com/2025/more-control-equals-less-performance/
🔗 https://ellyloel.com/write-code-that-runs-in-the-browser-or-write-code-the-browser-runs/

#Bookmarks #Browsers #HTML #CSS #JavaScript #BuildingWebsites #Development

Elly Loel

Write Code That Runs in the Browser, or Write Code the Browser Runs

⁂
More from
Elly Loel

Write Code That Runs in the Browser, or Write Code the Browser Runs

Writing about the big beautiful mess that is making things for the world wide web.
  • Copy link
  • Flag this post
  • Block
Elly Loel
@elly@front-end.social  ·  activity timestamp 5 days ago

Write Code That Runs in the Browser, or Write Code the Browser Runs

🔖 https://blog.jim-nielsen.com/2025/more-control-equals-less-performance/
🔗 https://ellyloel.com/write-code-that-runs-in-the-browser-or-write-code-the-browser-runs/

#Bookmarks #Browsers #HTML #CSS #JavaScript #BuildingWebsites #Development

Elly Loel

Write Code That Runs in the Browser, or Write Code the Browser Runs

⁂
More from
Elly Loel

Write Code That Runs in the Browser, or Write Code the Browser Runs

Writing about the big beautiful mess that is making things for the world wide web.
  • Copy link
  • Flag this post
  • Block
Jan :rust: :ferris: boosted
.:\dGh/:.
@darkghosthunter@mastodon.social  ·  activity timestamp 5 days ago

I still find funny how people are still trying to replicate #Apple's Liquid Glass UI from iOS 26.

Those who try to make a simple or performant implementation end up with something "not quite" Liquid Glass.

Those who try to replicate it 1:1 end up with their computer blown up.

#Frontend #SoftwareDevelopment #JavaScript #CSS #CSSTricks #iOS26 #iOS #iPhone

  • Copy link
  • Flag this post
  • Block
.:\dGh/:.
@darkghosthunter@mastodon.social  ·  activity timestamp 5 days ago

I still find funny how people are still trying to replicate #Apple's Liquid Glass UI from iOS 26.

Those who try to make a simple or performant implementation end up with something "not quite" Liquid Glass.

Those who try to replicate it 1:1 end up with their computer blown up.

#Frontend #SoftwareDevelopment #JavaScript #CSS #CSSTricks #iOS26 #iOS #iPhone

  • Copy link
  • Flag this post
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.3.21 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login