The Unix Way, everybody!

Also, first post!

@linuxmemes

top 50 comments

sorted by: hot top controversial new old
[–] 67 points 2 years ago (1 child)

If file systems are databases, then does that mean storing a sqlite db on a HDD is database inception?

  • source
  • hideshow 1 child comment
  • [–] [S] 50 points 2 years ago (17 children)
  • [–] 19 points 2 years ago (9 children)

    How do you post from mastodon to lemmy?

  • source
  • parent
  • hideshow 9 child comments
  • [–] [S] 46 points 2 years ago* (last edited 2 years ago) (6 children)

    @mogoh I just mentioned the group and it worked!

    The way it's supposed to be!

    I'm so happy for this omfgrotflolcopter

    @linuxmemes

  • source
  • parent
  • hideshow 6 child comments
  • [–] 12 points 2 years ago

    Oh, that's really cool. I hope there's more linkage between the twitter-like and reddit-like islands of the fediverse in the future; I'm somewhat interested in reading the former but it seems to be complicated to actually get federation with it.

  • source
  • parent
  • load more comments (3 replies)
  • load more comments (4 replies)
    [–] 35 points 2 years ago*

    everything is a file including a filesystem*

    Β 

    * including databases

  • source
  • [–] 34 points 2 years ago

    git repo is blockchain

  • source
  • [+] 33 points 2 years ago* (last edited 7 months ago) (3 children)
  • [–] 28 points 2 years ago (5 children)

    and anuses are vaginas, as long as you treat them as one.

  • source
  • hideshow 5 child comments
  • [–] 9 points 2 years ago (2 children)

    the anus isnt self lubricating :(

  • source
  • parent
  • hideshow 2 child comments
  • [–] 21 points 2 years ago

    You're right! Ill just store all this data as static json files in a directory then

  • source
  • [–] 21 points 2 years ago

    Didn't someone actually try making SQL as a filesystem and it ended up being something like 50 times slower than ZFS after they applied a ton of optimizations?

    Not as a serious project, but more like a joke to see what would actually happen.

  • source
  • [–] 17 points 2 years ago (1 child)

    And files are streams. 🎡 Islands in the stream. 🎡

  • source
  • hideshow 1 child comment
  • [–] 15 points 2 years ago (1 child)

    They’re more like blob storage.

  • source
  • hideshow 1 child comment
  • [–] 10 points 2 years ago

    That's less the Unix way and more the BeOS way.

  • source
  • [–] 10 points 2 years ago (6 children)

    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.

  • source
  • hideshow 6 child comments
  • load more comments (1 reply)
    [–] 10 points 2 years ago
    [–] 9 points 2 years ago (7 children)

    welcome to lemmy im new also

  • source
  • hideshow 7 child comments
  • [–] [S] 6 points 2 years ago (6 children)
  • [–] 5 points 2 years ago (5 children)

    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

  • source
  • parent
  • hideshow 5 child comments
  • [–] 4 points 2 years ago* (1 child)

    Welcome to the lovely world of the Fediverse! Mastodon and Lemmy, among many other kinds of software, both run on ActivityPub. This means that even if the servers aren't both running Lemmy or Mastodon, they still speak the same language and can therefore understand the content of each other's posts (think of it as email, gmail.com can still send and receive mail to outlook.com). Other examples of AcitvityPub software are Misskey, Mbin, Friendica, Pixelfed, Loops, Piefed, PeerTube and many others that I haven't learned about yet. While they theoretically can all fetch and present posts from each other, due to the choices that each developer makes while designing their software, it might not be very possible to get every post from every software. For example, Mastodon is all about following people, and Lemmy about following communities. Even though Mastodon is able to follow Lemmy communities, Lemmy has (as of writing) no function to follow people (yet).

  • source
  • parent
  • hideshow 1 child comment
  • load more comments (1 reply)
  • [–] 8 points 2 years ago

    Filesystem-as-a-db is why MongoDB is webscale. You just turn it on and it scales right up.

  • source
  • [–] 6 points 2 years ago

    The list of reasons filesystems are not databases is a database.

  • source
  • I love how pacman/libalpm database is just directories with tiny little files, and it’s faster in resolving dependencies than mostly anything else

  • source
  • [–] 6 points 2 years ago (3 children)

    Every Homestuck fan already knows this.

  • source
  • hideshow 3 child comments
  • load more comments (3 replies)
    [–] 5 points 2 years ago

    And the worst FAT32

  • source
  • [–] 5 points 2 years ago (2 children)

    Honestly that's basically what CephFS is

  • source
  • hideshow 2 child comments
  • load more comments (2 replies)
    [–] 5 points 2 years ago (1 child)

    @drq Come on, that can't be your F I R S T post.
    @linuxmemes

  • source
  • hideshow 1 child comment
  • [–] 4 points 2 years ago

    Behold! I present to you: Database as Filesystem

  • source
  • load more comments
    view more: next β€Ί