frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Shunting-Yard Animation

https://somethingorotherwhatever.com/shunting-yard-animation/
24•s1291•2h ago

Comments

IIAOPSW•54m ago
Hold up. you can't just have the train take the parenthesis off screen and hand wave away what happens to those cars. What happens when your forced to keep the garbage of a computation because you can't delete anything?

(https://en.wikipedia.org/wiki/Reversible_computing)

dcrazy•50m ago
I typed `100+88/4` and the resulting output was `100884+/`. Should the algorithm be inserting a symbol to delineate operands?
justinpombrio•20m ago
It treated that as

    1 0 0 + 8 8 / 4
which is nonsensical, but it has no error detection so it rolled with it. Really `100` should be its own token, but there's no way to input that.
alter_igel•22m ago
I'm not familiar with the algorithm and I don't see much explanation on the site (at least on mobile) but AFAICT this is turning parenthesized infix expressions into reverse Polish notation. In other words, it takes human-readable mathematical formulas and converts them into something a simple stack-based machine can compute in one forward pass.

It also appears that separate digits aren't interpreted as decimal numerals (i.e. (1)(3) is the sequence 1,3 and not 13) which can look a bit misleading.

justinpombrio•16m ago
Yeah, it's a parsing algorithm for parsing infix (etc.) expressions. If you've seen a parsing library refer to "precedence climbing" or "operator precedence parsing", it's doing this (or something very similar).

If you want to enter the number `13`, that should be one token, but there's no way to make a `13` token in this UI. You need to stick to single digits for this site to work correctly.

Remind HN: Today is Mother's Day, call your moms

245•rationalist•1h ago•74 comments

Tracesofhumanity.org by Joanna Rutkowska

https://tracesofhumanity.org/hello-world/
8•alex77456•34m ago•0 comments

Walking Slower? Why Your Ears, Not Your Knees, Might Be the Problem

https://www.wsj.com/health/wellness/hearing-loss-walking-speed-iphone-study-c53c482a
27•marc__1•1d ago•15 comments

I returned to AWS, and was reminded why I left

http://fourlightyears.blogspot.com/2026/05/i-returned-to-aws-and-was-reminded-hard.html
434•andrewstuart•1d ago•342 comments

Shunting-Yard Animation

https://somethingorotherwhatever.com/shunting-yard-animation/
23•s1291•2h ago•5 comments

What's a Mathematician to Do?

https://mathoverflow.net/questions/43690/whats-a-mathematician-to-do
98•ipnon•6h ago•50 comments

Space Cadet Pinball on Linux

https://brennan.io/2026/05/09/pinball-and-escrow/
235•jandeboevrie•6h ago•76 comments

Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc

https://twitter.com/jarredsumner/status/2053047748191232310
668•heldrida•1d ago•639 comments

Idempotency Is Easy Until the Second Request Is Different

https://blog.dochia.dev/blog/idempotency/
225•ludovicianul•3d ago•130 comments

The One Dollar Counterfeiter

https://www.amusingplanet.com/2026/05/emerich-juettner-one-dollar.html
267•cainxinth•3d ago•117 comments

5x perf increase on writes with FPW disabled in Postgres

https://www.databricks.com/blog/how-lakebase-architecture-delivers-5x-faster-postgres-writes
13•sp_from_db•2d ago•1 comments

Think Linear Algebra (2023)

https://allendowney.github.io/ThinkLinearAlgebra/index.html
92•tamnd•8h ago•9 comments

Academic Research Skills for Claude Code

https://github.com/Imbad0202/academic-research-skills
53•arnon•4h ago•17 comments

The River Otter's Remarkable Comeback

https://www.rewildingmag.com/the-river-otters-remarkable-comeback/
56•surprisetalk•3d ago•12 comments

Casio S100X Japanese Lacquer Edition (JP Page Only)

https://www.casio.com/jp/basic-calculators/premium/en-s100x-jc1-u/
262•dr_kiszonka•3d ago•114 comments

9 Mothers (YC P26) Is Hiring

https://jobs.ashbyhq.com/9-mothers?utm_source=x8pZ4B3P3Q
1•ukd1•5h ago

Internet Archive Switzerland

https://blog.archive.org/2026/05/06/internet-archive-switzerland-expanding-a-global-mission-to-pr...
664•hggh•1d ago•107 comments

Show HN: An index of indie web/blog indexes

https://theindex.fyi
22•rocketpastsix•4h ago•10 comments

Spain just became one of Europe's cheapest power markets. Here is how

https://janrosenow.substack.com/p/spain-just-became-one-of-europes
17•marc__1•1h ago•1 comments

I’ve banned query strings

https://chrismorgan.info/no-query-strings
506•susam•1d ago•264 comments

Louis Rossmann tells 3D printer maker Bambu Lab to 'Go (Bleep) yourself'

https://www.tomshardware.com/3d-printing/louis-rossmann-tells-3d-printer-maker-bambu-lab-to-go-bl...
204•iancmceachern•3h ago•150 comments

GitHub Is Sinking

https://dbushell.com/2026/04/29/github-is-sinking/
74•herbertl•1h ago•49 comments

We see something that works, and then we understand it

https://lemire.me/blog/2025/12/04/we-see-something-that-works-and-then-we-understand-it/
166•surprisetalk•4d ago•65 comments

Task Paralysis and AI

https://g5t.de/articles/20260510-task-paralysis-and-ai/index.html
121•MrGilbert•11h ago•72 comments

Chrome's AI features may be hogging 4GB of your computer storage

https://www.theverge.com/tech/924933/google-chrome-4gb-gemini-nano-ai-features
42•birdculture•2h ago•21 comments

Chindogu: Weird and Useless Japanese Inventions

https://rarehistoricalphotos.com/weird-japanese-inventions/
54•ethanpil•3h ago•15 comments

I have seen the dystopian future of elderly care

https://www.telegraph.co.uk/world-news/2026/05/09/testing-the-japanese-airec-robot-for-elderly-care/
16•thm•1h ago•11 comments

Gemini API File Search is now multimodal

https://blog.google/innovation-and-ai/technology/developers-tools/expanded-gemini-api-file-search...
136•gmays•14h ago•35 comments

A recent experience with ChatGPT 5.5 Pro

https://gowers.wordpress.com/2026/05/08/a-recent-experience-with-chatgpt-5-5-pro/
674•_alternator_•1d ago•507 comments

Replacing a 3 GB SQLite db with a 10 MB FST (finite state transducer) binary

https://til.andrew-quinn.me/posts/replacing-a-3-gb-sqlite-database-with-a-7-mb-fst-finite-state-t...
131•hiAndrewQuinn•7h ago•26 comments