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
27•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•1h 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•49m 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•57m ago
Why are more people not talking about alternatives? https://jsr.io/docs/trust
sobiolite•57m 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•45m 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•49m 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•49m 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•48m 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•24m 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•42m 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.

KDE is now my favorite desktop

https://kokada.dev/blog/kde-is-now-my-favorite-desktop/
433•todsacerdoti•4h ago•364 comments

Geizhals Preisvergleich Donates USD 10k to the Perl and Raku Foundation

https://www.perl.com/article/geizhals-donates-to-tprf/
138•oalders•3h ago•57 comments

Nvidia buys $5B in Intel

https://www.tomshardware.com/pc-components/cpus/nvidia-and-intel-announce-jointly-developed-intel...
361•stycznik•6h ago•235 comments

Launch HN: Cactus (YC S25) – AI inference on smartphones

https://github.com/cactus-compute/cactus
32•HenryNdubuaku•1h ago•13 comments

Slack has raised our charges by $195k per year

https://skyfall.dev/posts/slack
2348•JustSkyfall•15h ago•1003 comments

American Prairie unlocks another 70k acres in Montana

https://earthhope.substack.com/p/victory-for-public-access-american
111•mooreds•1h ago•71 comments

TernFS – An exabyte scale, multi-region distributed filesystem

https://www.xtxmarkets.com/tech/2025-ternfs/
91•rostayob•2h ago•20 comments

ICE report finds 60 violations in 50 days at Fort Bliss migrant facility

https://www.elpasotimes.com/story/news/immigration/2025/09/17/ice-finds-60-violations-at-fort-bli...
8•perihelions•8m ago•1 comments

Luau – fast, small, safe, gradually typed scripting language derived from Lua

https://luau.org/
78•andsoitis•3h ago•25 comments

Flipper Zero Geiger Counter

https://kasiin.top/blog/2025-08-04-flipper_zero_geiger_counter_module/
107•wgx•3h ago•34 comments

Grief gets an expiration date, just like us

https://bessstillman.substack.com/p/oh-fuck-youre-still-sad
216•LaurenSerino•2h ago•90 comments

Midcentury North American Restaurant Placemats

https://casualarchivist.substack.com/p/order-up
115•NaOH•1d ago•27 comments

Configuration files are user interfaces

https://ochagavia.nl/blog/configuration-files-are-user-interfaces/
9•todsacerdoti•21m ago•0 comments

Automatic differentiation can be incorrect

https://www.stochasticlifestyle.com/the-numerical-analysis-of-differentiable-simulation-automatic...
41•abetusk•3h ago•12 comments

The quality of AI-assisted software depends on unit of work management

https://blog.nilenso.com/blog/2025/09/15/ai-unit-of-work/
82•mogambo1•3h ago•53 comments

CERN Animal Shelter for Computer Mice (2011)

https://computer-animal-shelter.web.cern.ch/index.shtml
260•EbNar•10h ago•35 comments

Aaron Levie: Startups win in the AI era [video]

https://www.youtube.com/watch?v=uqc_vt95GJg
5•sandslash•2h ago•0 comments

Show HN: The text disappears when you screenshot it

https://unscreenshottable.vercel.app/?text=Hello
450•zikero•14h ago•155 comments

This Website Has No Class

https://aaadaaam.com/notes/no-class/
163•robin_reala•8h ago•73 comments

Linking to text fragments with a bookmarklet

https://alexwlchan.net/2025/text-fragments-bookmarklet/
7•Bogdanp•3d ago•0 comments

CircuitHub (YC W12) Is Hiring Operations Research Engineers (UK/Remote)

https://www.ycombinator.com/companies/circuithub/jobs/UM1QSjZ-operations-research-engineer
1•seddona•7h ago

Meta Ray-Ban Display

https://www.meta.com/blog/meta-ray-ban-display-ai-glasses-connect-2025/
556•martpie•16h ago•818 comments

Pnpm has a new setting to stave off supply chain attacks

https://pnpm.io/blog/releases/10.16
148•ivanb•9h ago•98 comments

Samsung confirms its smart fridges will start showing you ads

https://www.androidauthority.com/samsung-confirms-smart-refrigerator-ads-are-coming-3598848/
49•kotaKat•1h ago•29 comments

Tesla is looking to redesign its door handles following trapped-passenger report

https://www.cnn.com/2025/09/18/business/telsa-door-handle-redesign
43•rawgabbit•1h ago•29 comments

Fast Fourier Transforms Part 1: Cooley-Tukey

https://connorboyle.io/2025/09/11/fft-cooley-tukey.html
63•signa11•7h ago•14 comments

Rereading books

https://maxgirkins.com/writings/on-rereading
17•mgirkins•3d ago•1 comments

Mirror Life Worries

https://www.science.org/content/blog-post/mirror-life-worries
32•etiam•5h ago•14 comments

Keeping SSH sessions alive with systemd-inhibit

https://kd8bny.com/posts/session_inhibit/
43•kd8bny•2d ago•15 comments

A better future for JavaScript that won't happen

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