frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

The bloat of edge-case first libraries

https://43081j.com/2025/09/bloat-of-edge-case-libraries
10•PaulHoule•1h ago

Comments

01HNNWZ0MV43FF•44m ago
3 of those 4 examples wouldn't exist in a statically-typed language like TypeScript
ants_everywhere•33m ago
Yes this is just ad hoc runtime type checking
b_e_n_t_o_n•32m ago
JavaScript had to implement these checks because you could pass a function literally anything and it was on the implementation to deal with it. Typescript has this same problem tbh.
0x20cowboy•31m ago
I agree with the spirit of this, but I’d go one more step with the example:

export function clamp(value: number, min: number, max: number): number { return }

That is just adding an extra jump and entry on the callstack where you could just have done:

Math.min(Math.max(value, min), max);

Where you need it.

(The example used was probably just for illustration though)

chii•26m ago
> you could just have done ...

i disagree with this particular example - it's actually a good use case for being a utility maths function in a library.

I mean, the very `min()` and `max()` function you used in the illustration could also have been used as an example, if you use the same logic!

BobbyTables2•25m ago
How are the download rates of these things so high?

Are there 1000 people running 100 CI pipelines/day where downloads aren’t cached?

GenerocUsername•13m ago
Yes
khaledh•14m ago
This is why every language needs a good standard library, which unfortunately JavaScript never had.

Kirkwood Gap Facts for Kids

https://kids.kiddle.co/Kirkwood_gap
1•kamaraju•49s ago•0 comments

Serenity Notebook: CSV Visualizer with Live Reloading

https://mnty.sh/#serenity
1•owls-on-wires•2m ago•0 comments

React APIs on ClickHouse

https://clickhouse.com/blog/clickhouse-powered-apis-in-react-app-moosestack
1•craneca0•6m ago•0 comments

Show HN: VectorLiteDB – a vector DB for local dev, like SQLite but for vectors

https://github.com/vectorlitedb/vectorlitedb
1•lokahdev•9m ago•0 comments

Earth is a desert planet compared to these ocean worlds in the solar system

https://www.businessinsider.com/water-space-volume-planets-moons-2016-10
3•JumpCrisscross•16m ago•0 comments

Lint your commits using natural language

1•mujasoft•17m ago•0 comments

Spectral Labs releases SGS-1: the first generative model for structured CAD

https://www.spectrallabs.ai/research/SGS-1
1•JumpCrisscross•18m ago•0 comments

Finite Field Density

https://john-the-ectomorph.netlify.app/posts/finite-field-density
1•richard_chase•19m ago•0 comments

Utility-Preserving, Robust, and Almost Irreversible Forgetting in LLMs

https://arxiv.org/abs/2509.02820
1•PaulHoule•20m ago•0 comments

TerraScreen: An open-source particle screener for Mars terraforming research

https://marsterraforming.substack.com/p/an-open-source-particle-screening
1•edwinkite•22m ago•1 comments

Things Every Fresh Graduate Should Know About Software Performance

https://johnnysswlab.com/9-things-every-fresh-graduate-should-know-about-software-performance/
2•Bogdanp•27m ago•0 comments

How the Golden Gate Bridge Works [video]

https://www.youtube.com/watch?v=RjbJwnUd3Pw
1•CharlesW•29m ago•0 comments

New research shows how the Vesuvius eruption turned a man's brain to glass

https://theconversation.com/brain-vitrification-new-research-shows-how-the-vesuvius-eruption-turn...
2•thunderbong•30m ago•0 comments

Processing Strings 109x Faster Than Nvidia on H100

https://ashvardanian.com/posts/stringwars-on-gpus/
2•samspenc•34m ago•0 comments

Apple's Thinnest iPhone Ever Is Repairable? iPhone Air Teardown [video]

https://www.youtube.com/watch?v=woya8vjeFpo
1•corvad•35m ago•0 comments

Vet: Open-source software supply chain security tool

https://github.com/safedep/vet
2•indigodaddy•39m ago•0 comments

What It's Like to Get Really, Really High

https://www.newyorker.com/culture/the-weekend-essay/what-its-like-to-get-really-really-high
2•mitchbob•40m ago•1 comments

Show HN: Cjam – Query MP3 Frames

https://github.com/cutandjoin/Cjam/releases/tag/v2220
1•cutandjoin•49m ago•0 comments

Nikola Tesla – Guided Weapons and Computer Technology (1998)

https://teslaresearch.jimdofree.com/books-1/nikola-tesla-guided-weapons-computer-technology-tesla...
2•walterbell•51m ago•0 comments

Bash Line Editor ― a line editor written in pure Bash

https://github.com/akinomyoga/ble.sh
1•gjvc•52m ago•1 comments

iFixIt iPhone Air Teardown

https://www.ifixit.com/News/113171/iphone-air-teardown
3•zdw•54m ago•1 comments

Trump border czar Tom Homan reportedly accepted $50k from undercover agents

https://www.theguardian.com/us-news/2025/sep/20/tom-homan-undercover-fbi-agents
16•mitchbob•55m ago•2 comments

Life beyond the free energy principle: how to survive without invariance

https://www.dialecticalsystems.eu/contributions/life-beyond-the-free-energy-principle-how-to-surv...
1•rishi_rt•56m ago•0 comments

I Want a Cross-Platform Tiling Window Manager

https://lgug2z.com/articles/i-want-a-cross-platform-tiling-window-manager/
1•ibobev•58m ago•1 comments

Early human settlement of Sahul was not an accident (2019) [pdf]

https://www.nature.com/articles/s41598-019-42946-9
1•thunderbong•1h ago•0 comments

Evolving Images with Random‑Mutation Hill Climbing

https://www.4rknova.com//blog/2025/09/20/rmhc
2•ibobev•1h ago•0 comments

Hopper Is Gopher and Gemini Browser for Playdate

https://tkers.itch.io/hopper
1•ibobev•1h ago•0 comments

Rand Paul's last-minute demands push key cybersecurity law to the brink

https://www.axios.com/2025/09/19/cisa-2015-cyber-law-rand-paul
2•ramblenode•1h ago•0 comments

Ask HN: What is it needed for the USA to be considered an autocratic oligarchy?

4•akagusu•1h ago•4 comments

What's badmephisto up to these days anyway? [video]

https://www.youtube.com/watch?v=WhPjlnWbtS8
1•stefap2•1h ago•0 comments