Recent submissions

Comment · 3 months ago
thanks again! will consider these suggestions ... and also feel free to open issues and pr in the repo if you're interested
Comment · 3 months ago
You were right on both of the issues you seemed unsure..

The issues you flagged are closed by version 1.1.1 - also mentioned in issue threads.

On the codec suggestion ... it seems to go against my design motivation ...A file with "# -- coding: lucen --" doesn't degrade to native python when Lucen isn't installed, it fails to compile: "SyntaxError: encoding problem: lucen", which fails the property that a file with lucen absent will run as native python. But the import order problem is real so i'm investigating about a .pth based hook installation at interpreter startup ...

Threads only i'm not taking as on a GIL build thread cannot spedup cpu bound python.

Thanks for all the suggestions tho..

Comment · 3 months ago
not currently - currently lucen runs on marked for statement loop but yeah it's a cleaner one to add ...just not the surface i started with
Comment · 3 months ago
Sure man thanks for the critique, genuinely....

To be precise..the core concurrency shapes, disjoint-chunk commit ordering and DAG-level wavefront scheduling, are model-checked (SequentialEquivalence; DependencySafety + Termination), continuously re-verified in CI via a second independent executable encoding. The TLA+ file itself is bounded to a small instance and a 2-chunk model... the paired Python checker checks all contiguous chunk counts and all commit-order permutations for n up to 6.

Conflict detection isn't in the TLA+ file, it's verified separately .. unit and integration tests exercise the real dispatch code against an independent golden sequential run, covering duplicate-key writes, unresolved-index writes under an explicit "depend=none" assertion, and all three error modes (report/quiet/hard), plus a real module-import-level integration test and a concurrency stress test hammering the same conflict path across 10 threads x 6 repeats to catch anything nondeterministic.

Also a note: this is v1.1. The rigor was front-loaded by me, and not something that evolved over years ...so there can be a chance of more rigor or checks...currently working on that.

If you find a bug or a security issue, please open one, genuinely want the feedback.

Comment · 3 months ago
Sure those are good designs... But Lucen is not about "here's a nicer way to write loops," it's "you shouldn't have to touch the loop you already have."..... showing Lucen parallelize the ugly version is the point.
Comment · 3 months ago
just wanted to make sure ... even if someone someday wishes to revert the decision of using lucen they will be okay with just removing the import hooks - and run everything as native -- and when they have time, they can clear the comments but till then they can work without thinking

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton