Hacker News

Latest

America Lost the Mandate of Heaven

2026-04-18 @ 07:56:18Points: 60Comments: 55

Category Theory Illustrated – Orders

2026-04-18 @ 06:40:47Points: 81Comments: 22

Amiga Graphics

2026-04-18 @ 06:20:04Points: 94Comments: 8

It is incorrect to "normalize" // in HTTP URL paths

2026-04-18 @ 05:47:10Points: 36Comments: 26

Show HN: Sfsym – Export Apple SF Symbols as Vector SVG/PDF/PNG

2026-04-18 @ 03:44:54Points: 8Comments: 1

The vector paths come directly from macOS's symbol renderer. Internally it reaches a private ivar on NSSymbolImageRep to get the CUINamedVectorGlyph, draws into a CGPDFContext, then walks the PDF content stream back out as SVG `d` commands. The output matches what the system draws, rather than an approximation traced from rasters.

A few things about it:

- Every subcommand accepts `--json`, and `sfsym schema` returns a machine-readable description of the whole CLI. - Symbol enumeration reads the OS's Assets.car BOM tree, so the list of 8,300+ names stays current with macOS updates without a version table in the binary. - Each SVG `<path>` carries a `data-layer` attribute, so you can retheme in CSS without touching geometry.

It's been saving me a bunch of clicking. Please let me know if you have any other ideas for it.

Show HN: I made a calculator that works over disjoint sets of intervals

2026-04-18 @ 01:15:43Points: 177Comments: 32

One reason for this is that standard interval arithmetic has really poor handling of division by intervals containing zero. If you compute 1 / [-1, 2] in regular interval arithmetic, you get either [-∞, +∞], or you have to say that the operation is undefined. Both solutions are virtually useless. The real answer of course is [-∞, -1] U [0.5, +∞]: i.e. a union of two disjoint intervals.

This is useful because you can confidently exclude a non empty set of the real numbers ([-1, 0.5]) from the set of possible values that you can get by dividing 1 by a number between -1 and 2.

But this definition of interval division yields a value that is not an interval. This is a problem if you want to define a closed arithmetic system, where you can build and evaluate arbitrary expression over interval values.

(This behavior extends to any non continuous function like tan() for example, which is implemented in my project - not without difficulties!)

Well the obvious solution is to define your arithmetic over disjoint unions of intervals. This is the subject of a 2017 paper called "Interval Unions" by by Schichl, H., Domes, F., Montanher, T. and Kofler, K..

This open-source project I made implements interval union arithmetic in TypeScript in the form of a simple interactive calculator, so you can try it out for yourself! The underlying TypeScript library is dependency free and implements interval union arithmetic over IEEE 754 double precision floats (JS native number type) with outward rounding. This guarantees accuracy of interval results in the presence of rounding issue inherent to floating point.

Casus Belli Engineering

2026-04-18 @ 01:14:02Points: 43Comments: 13

Landmark ancient-genome study shows surprise acceleration of human evolution

2026-04-17 @ 22:30:28Points: 84Comments: 73

A simplified model of Fil-C

2026-04-17 @ 21:38:20Points: 178Comments: 96

"cat readme.txt" is not safe if you use iTerm2

2026-04-17 @ 18:43:32Points: 196Comments: 113

All 12 moonwalkers had "lunar hay fever" from dust smelling like gunpowder (2018)

2026-04-17 @ 18:17:01Points: 344Comments: 198

Show HN: Smol machines – subsecond coldstart, portable virtual machines

2026-04-17 @ 17:18:58Points: 341Comments: 109

Show HN: PanicLock – Close your MacBook lid disable TouchID –&gt; password unlock

2026-04-17 @ 16:38:44Points: 200Comments: 89

https://www.yahoo.com/news/articles/washington-post-raid-pro...

Edit: I've a lot more details about the legality and precedence on the apps landing page https://paniclock.github.io/

Hyperscalers have already outspent most famous US megaprojects

2026-04-17 @ 16:23:22Points: 202Comments: 162

Spending 3 months coding by hand

2026-04-17 @ 16:19:53Points: 217Comments: 228

NASA Force

2026-04-17 @ 15:47:41Points: 279Comments: 272

Measuring Claude 4.7's tokenizer costs

2026-04-17 @ 15:29:36Points: 620Comments: 438

Slop Cop

2026-04-17 @ 15:15:24Points: 185Comments: 112

NIST gives up enriching most CVEs

2026-04-17 @ 15:09:14Points: 205Comments: 51

Claude Design

2026-04-17 @ 15:04:09Points: 1064Comments: 690

Middle schooler finds coin from Troy in Berlin

2026-04-17 @ 14:41:49Points: 240Comments: 110

The Unix executable as a Smalltalk method (2025) [video]

2026-04-16 @ 15:09:07Points: 57Comments: 4

The simple geometry behind any road

2026-04-16 @ 03:09:50Points: 41Comments: 6

Michael Rabin Has Died

2026-04-15 @ 18:07:46Points: 82Comments: 2

Introducing: ShaderPad

2026-04-15 @ 16:59:08Points: 99Comments: 18

Towards trust in Emacs

2026-04-15 @ 13:49:15Points: 120Comments: 17

Are the costs of AI agents also rising exponentially? (2025)

2026-04-15 @ 13:47:58Points: 219Comments: 59

The GNU libc atanh is correctly rounded

2026-04-15 @ 01:47:46Points: 99Comments: 22

Rewriting Every Syscall in a Linux Binary at Load Time

2026-04-14 @ 01:26:06Points: 49Comments: 19

Brunost: The Nynorsk Programming Language

2026-04-13 @ 18:49:55Points: 74Comments: 28

Archives

2026

2025

2024

2023

2022