frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

China Is Not an "Engineering State"

https://catchingmice.substack.com/p/china-is-not-an-engineering-state
1•mike_hearn•2m ago•0 comments

Will AI Choke Off the Supply of Knowledge?

https://www.wsj.com/tech/ai/will-ai-choke-off-the-supply-of-knowledge-8a71cbcd
1•ryan_j_naughton•3m ago•0 comments

Liquid Glass Component for React Native

https://github.com/callstack/liquid-glass
1•mustaphah•3m ago•0 comments

Edit and Generate Images with Nano Banana AI

https://bananaai.live
1•MintNow•4m ago•1 comments

Eating the Future: The Metabolic Logic of AI Slop

https://www.e-flux.com/architecture/intensification/6782975/eating-the-future-the-metabolic-logic...
1•jbegley•6m ago•0 comments

Show HN: JSON Schema for Google Gemini Image Generation

https://github.com/pauhu/gemini-image-prompting-handbook
1•pauhu•6m ago•0 comments

The Last Programmers

https://www.xipu.li/posts/the-last-programmers
2•kiyanwang•11m ago•0 comments

Hallucination Risk Calculator

https://github.com/leochlon/hallbayes
1•jadelcastillo•14m ago•0 comments

Batched Critical Sections

http://kprotty.me/2025/09/08/batched-critical-sections.html
2•Bogdanp•16m ago•0 comments

Show HN: Emergency Digital Location – Share your exact location, fast and easy

https://emergencydigitalocation.com
1•JuGaDev•17m ago•0 comments

Apollo Client 4.0: A Leaner and Cleaner GraphQL Client with No Compromises

https://www.apollographql.com/blog/announcing-apollo-client-4-0
1•hackandthink•21m ago•0 comments

It Gets on Your Nerves

https://crookedtimber.org/2025/09/05/occasional-paper-it-gets-on-your-nerves/
1•stareatgoats•22m ago•0 comments

Mojeek Is Not an Answer Engine

https://blog.mojeek.com/2025/09/mojeek-is-not-an-answer-engine.html
1•dotcoma•23m ago•0 comments

How evolution explains autism rates in humans

https://phys.org/news/2025-09-evolution-autism-humans.html
1•pseudolus•24m ago•0 comments

AirPods Pro 3 Won't Get 'Major' Audio or Active Noise Cancellation Improvements

https://www.macrumors.com/2025/09/08/airpods-pro-3-no-major-anc-improvement/
1•wiry•25m ago•0 comments

Weird CPU architectures, the MOV only CPU (2020)

https://justanotherelectronicsblog.com/?p=771
1•v9v•26m ago•0 comments

Show HN: Htms-JS - Streaming HTML pipelines for Node.js

https://htms.skarab42.dev
1•skarab42•27m ago•0 comments

When Monitoring Breaks Your Front End Performance

https://www.differentshelf.com/watching-the-watchers/
1•seductivebarry•27m ago•1 comments

How off-grid solar microgrids can power the AI race (2024)

https://www.offgridai.us/
1•energy123•28m ago•0 comments

Considered Harmful

https://en.wikipedia.org/wiki/Considered_harmful
1•benbreen•28m ago•0 comments

Show HN: Seedream 4.0 (image to image), free to use 5 times per day

https://mixhubai.com/ai-models/seedream/seedream-4
1•liualexander112•28m ago•0 comments

Nepal PM Oli quits as anti-corruption protests spiral

https://www.reuters.com/world/asia-pacific/nepal-pm-oli-quits-anti-corruption-protests-spiral-202...
1•kaajoo•28m ago•0 comments

UK NHS Trust league tables published for first time

https://www.england.nhs.uk/long-read/nhs-oversight-framework-nhs-trust-performance-league-tables-...
1•6LLvveMx2koXfwn•29m ago•0 comments

X Design Notes: GADTs

https://blog.polybdenum.com/2025/09/08/x-design-notes-gadts.html
1•ibobev•29m ago•0 comments

Petition for a standardized pan-European 'EU–INC' corporate structure

https://www.eu-inc.org/cta
3•resiros•32m ago•1 comments

What I've learned about startups

https://claudio.uk/posts/startups.html
1•csantini•36m ago•0 comments

Oh no, not again a meditation on NPM supply chain attacks

https://tane.dev/2025/09/oh-no-not-again...-a-meditation-on-npm-supply-chain-attacks/
2•tanepiper•36m ago•0 comments

Car Financing – and Why It's a Trap Today

https://aristocarware.com/about
1•odogwu200•36m ago•1 comments

Show HN: Pinterest Video Downloader-The Best Free Downloader for Pinterest

https://pinterestvideodownload.org
1•Sunfin•40m ago•0 comments

Resizing images in Rust, now with EXIF orientation support

https://alexwlchan.net/2025/create-thumbnail-is-exif-aware/
2•ingve•41m ago•0 comments
Open in hackernews

Strong Eventual Consistency – The Big Idea Behind CRDTs

https://lewiscampbell.tech/blog/250908.html
58•tempodox•6h ago

Comments

ijaym•4h ago
The majority of the content reminds me of Bigtable (https://static.googleusercontent.com/media/research.google.c...).

Do people really distinguish "Strong Eventual Consistency" from "Eventual Consistency"? To me, when I say "Eventual Consistency" I alwayes mean "Strong Eventual Consisteny".

nl•2h ago
(Non-Strong) Eventual Consistency does not guarantee that all replicas converge in a specific time period.

In an eventually consistent system replicas can diverge. A "last write" system can be eventually consistent, but a given point can read differently.

Eg: operations

1) Add "AA" to end of string 2) Split string in middle

Replicas R1 and R2 both have the string "ZZZZ"

If R1 sees operations (1) then (2) it will get "ZZZZAA", then "ZZZ", "ZAA"

If R2 sees (2) then (1) it will get:

"ZZ", "ZZ", then "ZZAA", "ZZ".

Strong Eventual Consistency doesn't have this problem because the operations have the time vector on them so the replicas know what order to apply them.

aatd86•55m ago
That precludes us from having side effects such as idempotent triggers right?
c0balt•4h ago
Would this be a suitable ds to distribute node state for caching indices? Let's say two nodes have a set of N (possibly overlapping) keys and I want both to know all keys of each other for request routing (request for n \in N preferably to node with n in local cache).
mrkeen•4h ago
CAP applies here.

If you ask your cache for a value, it could choose to reply now, with the information that it has - favouring A.

Or it could wait and hope for more accurate information to return to you later, favouring C.

'Cache' seems to imply that it's built for availability purposes.

LAC-Tech•2h ago
Yes. I think G-Sets (3.3.1) are what you are looking for.

https://dsf.berkeley.edu/cs286/papers/crdt-tr2011.pdf

gethly•3h ago
At first it made no sense but then I realised that what the author is saying is that in a distributed system, when you make local changes, you do not wait for the changes to propagate to all participants and back to you, before your local state is considered to be consistent with the global state but rather it is considered consistent with the global state immediately even before your local changes leave your system. In other words, every change committed into the distributed system is immediately consistent with the global state even if there are undelivered changes as eventually all the changes produce the same outcome.

In a specific use case that might apply. For example, if two people edit the same document and fix the same typo, the visual outcome is the same, no matter who made the change first or last.

But that is very niche as if we would take a programming code, someone can change a line of code that someone else is changing as well and they might be the same, but then you have other lines of code as well that might not be and then you end up with a code that won't compile. In other words, if we focus on the singular change in insolation, this makes sense. But that is essentially never the case in distributed environments in this context and we have to look at broader picture where multiple changes made by someone are related or tied to each other and do not live insolation.

Either way, i see nothing useful here. You can "render" your local changes immediately vs wait for them to be propagated through the system and return back to you. There is very little difference here and in the end it is mostly just about proper diffing approach and has little to do with the distributed system itself.

PS: the problem here is not really the order of applied changes for local consumer, like in case of editing a shared word document. The problem here is if we have a database and we commit a change locally but then someone else commits different change elsewhere, like "update users set email = foo@bar where id = 5" and before we receive the other, later, change we serve clients invalid data. That is the main issue of eventual consistency here. As I am running a system like this, I have to use "waiters" to ensure I get the correct data. For example, when user creates some content via web ui and is redirected back to list of all content, this is so fast that the distributed system has not had enough time to propagate the changes. So this user will not see his new content in the list - yet. For this scenario, I use correlation id that i receive when content is created and i put it into the redirect so when user moves to the page that lists all the content, this correlation is detected and a network call is made to appropriate server whose sole purpose is to keep the connection open until that server's state is caught up to the provided correlation id. Then I refresh the list of content to present the user the correct information - all of this whilst there is some loading indicator present on the page. There is simply no way around this in distributed systems and so I find this article of no value(at least to me).

the_duke•2h ago
The big problem with CRDTs IMO is that they make it incredibly easy to break application semantics.

Just a basic example for a task tracker:

* first update sets task cancelled_at and cancellation_reason

* second update wants the task to be in progress, so sets started_at

If code just uses the timestamps to consider the task state, it would not assume the task is cancelled, unexpected since the later user update set it to in progress.

Easy fix, we just add a state field 'PENDING|INPROGRESS|CANCELLED|...'.

Okay, but now you have a task that is in progress, but also has a cancellation timestamp, which seems inconsistent.

The point is:

With CRDTs you have to consider how partial out of order merges affect the state, and make sure your logic is always written in a way so these are handled properly. That is *not easy*!

I'd love it if someone came up with a framework that allows defining application semantics on top of CRDTs, and have the framework ensure types remain consistent.

tempodox•1h ago
Do not separate the state field from its time stamp(s). Use a sum type (“tagged union”) where the time stamps are the payload for a selected state. Make invalid states unrepresentable.
shakna•1h ago
If you want invalid states unrepresentable, and time as a primary key... How do you deal with time regularly becoming non-linear within the realm of computing?
the_duke•19m ago
There are many ways to solve each individual problem.

The point is that you always have to think about merging behaviour for every piece of state.

filleokus•26m ago
Yes!

Any many CRDT implantations have already solved this for the styled text domain (e.g bold and cursive can be additive but color not etc).

But something user definable would be really useful

evelant•14m ago
I prototyped exactly such a framework! It’s a super interesting problem. https://github.com/evelant/synchrotron

The gist is replicating intentions (actions, immutable function call definitions that advance state) instead of state + hybrid logical clocks for total ordering + some client side db magic to make action functions deterministic. This ensures application semantics are always preserved with no special conflict resolution considerations while still having strong eventual consistency. Check out the readme for more info. I haven’t gotten to take it much further beyond an experiment but the approach seems promising.

judofyr•2h ago
> This has massive implications. SEC means low latency, because nodes don't need to coordinate to handle reads and writes. It means incredible fault tolerance - every single node in the system bar one could simultaneously crash, and reads and writes could still happen normally. And it means nodes still function properly if they're offline or split from the network for arbitrary time periods.

Well, this all depends on the definition of «function properly». Convergence ensures that everyone observed the same state, not that it’s a useful state. For instance, The Imploding Hashmap is a very easy CRDT to implement. The rule is that when there’s concurrent changes to the same key, the final value becomes null. This gives Strong Eventual Consistency, but isn’t really a very useful data structure. All the data would just disappear!

So yes, CRDT is a massively useful property which we should strive for, but it’s not going to magically solve all the end-user problems.

xupybd•1h ago
This blogger has a lot of great takes. I bet he'd make a great addition to any team.
gritzko•31m ago
The big idea behind CRDTs is that a data structures can have replicas synchronizing on a best-effort basis. That is much closer to the physical reality: server here, client there, phones all over the place.

The basic CRDT ideas are actually pretty easy to implement: add some metadata here, keep some history there. The difficulty, for the past 20 years or so, is making the overheads low, and the APIs understandable.

Many projects revolve around some JSON-ish data format that is also a CRDT:

- Automerge https://automerge.org (the most tested one, but feels like legacy at times, the design is ~10yrs old, there are more interesting new ways)

- JsonJoy https://jsonjoy.com/

- RDX (mine) https://replicated.wiki/ https://github.com/gritzko/go-rdx/

- Y.js https://yjs.dev/

Others are trying to retrofit CRDTs into SQLite or Postgres. IMO, those end up using last-write-wins in most cases. Relational logic steers you that way.