I love how pacman/libalpm database is just directories with tiny little files, and it’s faster in resolving dependencies than mostly anything else
Just fucking putting data into json files in a folder is so much easier than databases. Sure, databases are faster and give you access to powerful SQL queries. But if you’re just making something small and simple, you don’t need those things. Save yourself the hassle and just use the filesystem.
Or use minio/s3, which can either be the best or the worst of both worlds depending on your usecase.
The trouble is, filesystems don’t have ACID. The first time you have a power loss during a write, your data will get corrupted.
It also makes you re-implement a database, but worse.
Use a JSON file if you just need to serialize/deserialize some data. Use SQLite or a DB server if you need more. Your own code will never match the quality of SQLite.
Sqlite is the best in most cases
Made a bash script using sqlite recently to automate processing some data. Best part is it terrifies everyone else at work and no one else wants to touch it because it’s on Linux and none of them have used it before.
git repo is blockchain
If file systems are databases, then does that mean storing a sqlite db on a HDD is database inception?
@slazer2au Yes!
But they are not DBMS
@linuxmemes Wow, that worked!
How do you post from mastodon to lemmy?
@mogoh I just mentioned the group and it worked!
The way it’s supposed to be!
I’m so happy for this omfgrotflolcopter
welcome to lemmy im new also
@mugdad1 Trick is, I’m not on Lemmy.
wtf how do you mix between lemmy and mastdon i also have account there but i didn’t thought that the content will be here also so please explain
That’s what federation is all about.
They’re more like blob storage.
Blob storage usually uses a FS back end so it’s more like blob storage is like a file system
and anuses are vaginas, as long as you treat them as one.
As a man of science I prefer to test every theory.
bussy
the anus isnt self lubricating :(
It can be if you’re lactose intolerant.