News for hackers. Stuff that matters.

gbonc2

Re:Sqlitefs: SQLite as a Filesystem on Saturday July 27, 2024 @09:31AM (#41086474)
I wrote this one, I tested with PostgresDB and Oracle , at time:

https://github.com/gbonacini/dbfs

Hi, I'm the author of this one ( I lost the other account password). I'm happy I found someone else doing this stuff to be able to talk about it. I discarded time related algorithms because I thought they could introduce sneaky bugs related to event dependencies. So, having had to work in the gamble industry, I opted for a simpler algorithm: roulette. I have a loop increasing a register from 0 to 15, when a particle is detected the value present in that registry is returned and it's used as an half of a 8 bits ( 1 byte ) random number and, after every extraction, the counter is restarted from zero. If anyone think the algorithm is unreliable, any suggestion to improve it's welcome.