frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Monotonic Collections: a middle ground between immutable and mutable

https://neilmadden.blog/2025/11/11/monotonic-collections-a-middle-ground-between-immutable-and-fully-mutable/
1•it4rb•2h ago

Comments

theamk•1h ago
Author proposes a weird primitive: MonotonicList, the almost-immutable list which you can only append to _and you cannot tell the size of_. Author does not mention it, but presumably there should be no other way to tell the size of list as well - for example "out of bounds" error should immediately terminate program instead of emitting catch-able exception.

This means in practice, users have to share (list, size) pairs - and these describe immutable sequences. So... what's the point of forcing user to keep those separately? A structure like "ImmutableListWithFastAppends" (which may be _backed_ by a mutable shared append-only list, but only as an implementation detail) seems much nicer to use - easier to understand, reason about, and is compatible with existing code.

(Author mentions "CALM principle" as a motivation for monotonic collections, but from I can see, they are simply wrong. The original Bloom paper in CIDR'11 is all about monotonic _programs_ - a very restricted programming model. Adding monotonic collections to a regular language like Java or Kotlin brings no benefits, and just makes a convoluted immutable version)

Show HN: Pyloid: Electron for Python • Modern Web-based desktop app framework

https://pyloid.com/
1•terran9•4m ago•0 comments

DevAI: Beyond Hype and Denial

https://www.ivankusalic.com/realistic-DevAI/
1•shayac2•5m ago•0 comments

Building a Simple Search Engine That Works

https://karboosx.net/post/4eZxhBon/building-a-simple-search-engine-that-actually-works
1•freediver•6m ago•0 comments

The Modern Stack on AWS

https://cloudposse.com/blog/modern-stack-aws-terraform-github-actions-open-source
2•mooreds•7m ago•0 comments

How Google's DeepMind tool is 'more quickly' forecasting hurricane behavior

https://www.theguardian.com/technology/2025/nov/16/google-deepmind-hurricane-forecast
1•a_w•7m ago•0 comments

Illumine Lingao

https://en.wikipedia.org/wiki/Illumine_Lingao
1•mooreds•7m ago•0 comments

Is It a Bad Idea to Exercise Before Bed?

https://www.nytimes.com/2025/11/11/well/move/exercise-before-sleeping.html
1•mooreds•7m ago•0 comments

Digital echoes: open bus behavior on the compact Macintosh

https://thomasw.dev/post/compact-mac-openbus/
1•zdw•12m ago•0 comments

Fact check: Did an AI country song reach No. 1 on Billboard?

https://mashable.com/article/ai-country-song-broken-rust-billboard-chart
1•thunderbong•22m ago•0 comments

Shadows / Mathematical Etudes

https://en.etudes.ru/etudes/shadows/
1•georgecmu•22m ago•0 comments

His Jeans Are Gigantic. His Internet Fame Is Too

https://www.nytimes.com/2025/11/16/style/jeans-carter-anderson-indigo-invitational.html
1•JojoFatsani•26m ago•0 comments

Show HN: 15,000 MCP servers to enhance Agent capabilities

https://dxt.so
1•niliu123•27m ago•0 comments

Show HN: Triggla for Stripe (post-purchase and trial-rescue emails, 60s setup)

https://triggla.com/
1•taylor_jj•30m ago•0 comments

Speaking more than one language may help the brain stay younger

https://phys.org/news/2025-11-language-brain-stay-younger.html
1•pseudolus•32m ago•0 comments

FXMacroData – Real-time FOREX macroeconomic data API for developers

https://fxmacrodata.com/
1•roberttidball•35m ago•0 comments

AI's Impact on Mental Health

https://cacm.acm.org/news/ais-impact-on-mental-health/
1•pseudolus•36m ago•0 comments

Tektronix equipment has been used in many movies and shows

https://vintagetek.org/tektronix-in-movies-shows/
2•stmw•38m ago•0 comments

Nix-robotml: Nix-based dev/deploy shells for ros2 + ml

https://github.com/akssri/nix-robotml
1•akssri•41m ago•0 comments

How Marlon Brando Changed Acting [video]

https://www.youtube.com/watch?v=-L6OGruW9i4
1•gmays•42m ago•0 comments

Amazon Leo

https://leo.amazon.com/
2•jonbaer•42m ago•3 comments

Mixing Is the Heartbeat of Deep Lakes. At Crater Lake, It's Slowing Down

https://www.quantamagazine.org/mixing-is-the-heartbeat-of-deep-lakes-at-crater-lake-its-slowing-d...
2•pseudolus•48m ago•0 comments

The Final Chapter for GummySearch

https://gummysearch.com/final-chapter/
1•boyter•50m ago•0 comments

From Zero to 35M: The struggles of scaling Laravel with Octane

https://www.galahadsixteen.com/blog/from-zero-to-35m-the-struggles-of-scaling-laravel-with-octane
1•bdlowery•50m ago•0 comments

Gamifying LeetCode: duels, wagers, and leaderboards

https://yeetcode.xyz/
1•Sidmo2006•51m ago•1 comments

What non-commercial license options are there for projects you want to share?

2•apatheticonion•56m ago•2 comments

More than three kinds of AI products work

https://carsho.dev/writings/article/more-than-three-kinds-of-ai-products-work
1•carsoon•59m ago•1 comments

Teaching Rust the SQL Language

1•rustic-indian•1h ago•0 comments

Jevons or Bust

https://www.a16z.news/p/jevons-or-bust
1•gmays•1h ago•0 comments

Debuff Chess

https://ndbaker1.github.io/debuff-chess/
3•dropbox_miner•1h ago•0 comments

A woman who puts America to sleep

https://thehustle.co/originals/the-woman-who-puts-america-to-sleep
1•Anon84•1h ago•0 comments