Hacker News new | ask | show | jobs
by vikrantrathore 41 days ago
Its funny, when I was reading part time parliament paper (paxos) and while learning zig and odin language created a pure paxos library and then the first application for that library was to build a multi-master sqlite. The two approaches I took are very different in case of zig I build zaxonlite (https://github.com/insanai/zaxonlite) and have a benchmark on it that includes rqlite. It uses WAL replication as strategy. The second attempt I tried in odin is sqlodin (https://github.com/insanai/sqlodin), in this the system does not use WAL but run sql query on each node, as result subset of sql query in sqlite are not supported.
1 comments

Wow, a 155 page book for a relatively new project is interesting - what was your workflow for that? It looks mostly generated - is it used in its entirety as context to a top-level agent when working on new features, or are you directing it to just take relevant subsections? Why the PDF output (it does look nice)?
I do not use book for a context, book is the outcome of the development. I am still old school I feel any product should have good documentation and should be available offline, also personally I like physical things so many of them will print and read. I follow a rigorous process I used to follow since 1998, without AI, which is write something like PEP or RFC before starting work on things. So if you look at the whole project it has design records and each contains details. I read through the docs, even though I use AI from time to time. I used to write a lot of restructuredtext (RST) docs. So I wanted to move the whole pipeline to rust, I used to use latex for it earlier but then wanted to move to typst. So for it wrote another system which helps me with website, html, pdf. You can take a look if you like the project is https://github.com/insanai/guidedog, sibuna also I ported from typst pipeline to guidedog which uses rst markup. If you want to look at development part I especially use dsc (short for discussions) so if you type `guidedog dsc --help` to see the details.