frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

A better future for JavaScript that won't happen

https://drewdevault.com/2025/09/17/2025-09-17-An-impossible-future-for-JS.html
24•warrenm•1h ago

Comments

latchkey•1h ago
Pnpm has a new setting to stave off supply chain attacks

https://news.ycombinator.com/item?id=45286526

yarn feat: implement npmMinimumReleaseAge and npmMinimumReleaseAgeExclude config options

https://github.com/yarnpkg/berry/pull/6901

shadowgovt•40m ago
Fundamentally, the fix isn't technical; it's social / structural.

Companies either hold themselves accountable for signing off on the dependencies they use, hold the repos accountable for signing off the dependencies, or keep doing what we've been doing.

The third option is amortized cheapest.

cluckindan•26m ago
It’s not great. If an urgent security patch needs to be applied, the package must be excluded entirely from the minimum age requirement. There is no way to allow just a single version.
CharlesW•34m ago
Why are more people not talking about alternatives? https://jsr.io/docs/trust
sobiolite•34m ago
Won’t this be solved fairly soon when package managers have automatic scanning of updates by AIs that are superhumanly good at spotting malicious code?
root_axis•21m ago
Not sure if this is sarcastic, but this is a terrible idea. Best case scenario, it relaxes human vigilance and turns the success of malicious code attacks into a dice roll. More likely is that obfuscation techniques designed to fool LLMs will open the flood gates for malicious code.
mrbluecoat•26m ago
> No one will learn their lesson. This has been happening for decades and no one has learned anything from it yet. This is the defining hubris of this generation of [X].

[X]

"software development"

"climate change"

"healthcare reform"

"political polarization"

...

root_axis•25m ago
I've already heard suggestions in my org that we begin to use LLMs to generate entire NIH stacks from the ground up. I'm tired boss.
franciscop•24m ago
> Perhaps Google and Mozilla, leaders in JavaScript standards and implementations, will start developing a real standard library for JavaScript, which makes micro-dependencies like left-pad a thing of the past. This could be combined with a consolidation of efforts, merging micro-libraries into larger packages with a more coherent and holistic scope and purpose, which prune their own dependency trees in turn.

This is as big as a strawman as I can imagine. Both of these "solutions that won't happen" are already happening:

- The ECMAScript standard already defines a `Strong.padStart()` as part of the "real" standard library of Javascript [1]

- There is a very well known larger package that combines many micro-utilities like this into one, lodash [2]

> No one will learn their lesson. This has been happening for decades and no one has learned anything from it yet. This is the defining hubris of this generation of software development.

Really seems like the author wants to hate on the ecosystem for the sake of hating on it.

[1] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

[2] https://lodash.com/

Uehreka•1m ago
Yeah, we’re at the point now where people saying left-pad isn’t fixed is more of an indicator that they aren’t paying attention. I’ve largely stopped correcting people, as it’s clear there’s a sizable community that just likes being grumpy about JS and doesn’t appreciate reality barging in to ruin the fun.
cjpearson•18m ago
> Perhaps Google and Mozilla, leaders in JavaScript standards and implementations, will start developing a real standard library for JavaScript, which makes micro-dependencies like left-pad a thing of the past.

It's not wrong, but this take is kind of tired and well out of date. For about a decade or so left-pad's functionality has been standard in all browsers or runtimes. Plenty of other micropackages have been obsoleted as well and the current zeitgeist is to avoid publishing or using any sort of micropackage.

"Zero dependencies" is now a top marketing term in the frontend world. Unfortunately, their removal is an ongoing process and it's taken way too long already to fully purge the ecosystem of these packages. However, it's not because the JavaScript community has never thought of this issue before. "Add more features to the JS standards and don't use is-number" is not a particularly new idea or valuable insight.

But beyond that, there were plenty of not-tiny packages impacted as well. Continuing to beat this dead horse may be fun, but it distracts from the actual issue here.

Why do some gamers invert their controls?

https://www.theguardian.com/games/2025/sep/18/why-do-some-gamers-invert-their-controls-scientists...
1•bookofjoe•1m ago•0 comments

What I learned building a programming language with LLM agents

https://eddmann.com/posts/santa-lang-workshop-exploring-agentic-llm-workflows-for-language-implem...
1•edd_mann•1m ago•0 comments

Salt can turn frozen water into a weak power source

https://www.sciencenews.org/article/saltwater-power-source
1•gmays•1m ago•0 comments

Mark Zuckerberg's smart glasses demo goes wrong

https://www.telegraph.co.uk/business/2025/09/18/mark-zuckerbergs-smart-glasses-demo-disrupted-gli...
2•mot2ba•2m ago•0 comments

Building tenets: Intelligent context aggregation for AI pair programming

https://jddunn.github.io/projects/tenets/
1•johnnyfived•2m ago•0 comments

Satya Nadella is haunted at the prospect of Microsoft not surviving the AI era

https://www.theverge.com/tech/780946/microsoft-satya-nadella-town-hall-comments-ai-era-notepad
2•jbernardo95•3m ago•0 comments

Help Us Raise $200k to Free the JavaScript from Oracle

https://deno.com/blog/javascript-tm-gofundme
1•mikece•3m ago•1 comments

Show HN: Playing Doom Using a Phone Call

https://github.com/Jitendra300/playing_games_on_phone_dial
1•Jitendra2333•5m ago•0 comments

Updates to the pf packet filter in FreeBSD and pfSense software

https://www.netgate.com/blog/updates-to-the-pf-packet-filter-in-freebsd-and-pfsense-software
2•currysausage•5m ago•0 comments

Amazon violated online shopper protection law: judge ahead of Prime signup trial

https://www.reuters.com/sustainability/amazon-violated-online-shopper-protection-law-judge-rules-...
2•giuliomagnifico•5m ago•0 comments

Show HN: dk, a Windows-friendly, Nix-like build system

https://github.com/diskuv/dk
1•beckford•6m ago•0 comments

Fifty Years After History's Most Brutal Boxing Match

https://www.theatlantic.com/magazine/archive/2025/10/ali-frazier-thrilla-in-manila-history/683972/
2•petethomas•6m ago•0 comments

Systematic Analysis of Kernel Security Performance and Energy Costs

https://dl.acm.org/doi/full/10.1145/3708821.3736197
1•tanelpoder•6m ago•0 comments

Solving Impossible Problems

https://www.aha.io/engineering/articles/solving-impossible-problems
2•FigurativeVoid•7m ago•0 comments

Reducing Stopped Time on Brevets

https://markallen.io/reducing-stopped-time-on-brevets/
1•dsego•7m ago•0 comments

How to Test MCP Servers

https://codely.com/en/blog/how-to-test-mcp-servers
2•rgomezcasas•9m ago•0 comments

Coding as the epicenter of AI progress and the path to general agents

https://www.interconnects.ai/p/coding-as-the-epicenter-of-ai-progress
1•Philpax•9m ago•0 comments

Two million seashells encompass the history of human ambition

https://english.elpais.com/science-tech/2025-09-07/two-million-seashells-encompass-the-history-of...
2•PaulHoule•10m ago•0 comments

Publicly-funded NGOs riding the coattails of a movement that no longer exists

https://peaked.substack.com/p/the-first-rule-of-queer-club
1•flungen•11m ago•0 comments

Project Go-Big: Internet-Scale Humanoid Pretraining and Human-to-Robot Transfer

https://www.figure.ai/news/project-go-big
1•bpierre•11m ago•0 comments

Scale to One

https://vercel.com/blog/scale-to-one-how-fluid-solves-cold-starts
2•cramforce•11m ago•0 comments

I haven't paid a parking meter in 5 years. My app helps you do the same

https://parkremark.com/demo
1•benlimner•12m ago•0 comments

Ticketmaster, Live Nation Sued by FTC over Ticket Resales

https://www.bloomberg.com/news/articles/2025-09-18/ticketmaster-live-nation-sued-by-ftc-over-tick...
1•corvad•13m ago•0 comments

Why your attention keeps slipping away (and how to get it back)

https://bigthink.com/smart-skills/why-your-attention-keeps-slipping-away-and-how-to-get-it-back/
2•speckx•13m ago•0 comments

InsForge – An open source backend for AI coding agents

https://insforge.dev/
6•ddmdd•14m ago•1 comments

Show HN: One prompt generates an app with its own database

https://www.manyminiapps.com/
2•stopachka•15m ago•0 comments

Show HN: CLI for Managing Mentat Agents

https://mentat.ai/blog/mentat-cli-not-tui
1•ja3k•17m ago•0 comments

Can a Data Race Happen on a Single-Core Machine?

https://aoli.al/blogs/data-race/
2•aoli-al•17m ago•0 comments

OneDev – Self-hosted Git server with CI/CD, Kanban, and packages

https://onedev.io/
1•jcbhmr•17m ago•0 comments

A Fairly Hostile Subtext

https://win-vector.com/2025/09/18/a-fairly-hostile-subtext/
1•jmount•18m ago•0 comments