@VazeKshitij Many people I know did open source just because they wanted to get hired and it worked for them and yeah none of them had any special interest in it they just started to get a job and it worked for them and in the process they developed the interest for it
That's why I chose fractional indexing for Project Neuron.
Most drag-and-drop operations only update a single row instead of an entire document.
Users just notice that the editor feels instant.
The database notices that it has far less work to do.
Today I replaced a "works fine" solution with one that'll still work when documents have thousands of blocks.
Fractional indexing.
No renumbering every block after a drag-and-drop.
No unnecessary UPDATE storms.
Just insert between two positions and move on.
Explanation(Thread)
3/3
Instead of storing positions as 1, 2, 3..., each block gets a sortable value.
For example:
A → a
B → b
Need to insert between them?
Generate a new position like aV.
The order becomes:
a → aV → b
No other blocks need to change.
Exams are over. Back to building.
Currently working on Project Neuron an AI-powered knowledge workspace.
Starting with recursive pages and a block-based architecture. The goal is to build AI chat over notes, flashcards, mind maps, workspaces, and offline sync on top of this .