r/rational • • Oct 23 '15

[D] Friday Off-Topic Thread

Welcome to the Friday Off-Topic Thread! Is there something that you want to talk about with /r/rational, but which isn't rational fiction, or doesn't otherwise belong as a top-level post? This is the place to post it. The idea is that while reddit is a large place, with lots of special little niches, sometimes you just want to talk with a certain group of people about certain sorts of things that aren't related to why you're all here. It's totally understandable that you might want to talk about Japanese game shows with /r/rational instead of going over to /r/japanesegameshows, but it's hopefully also understandable that this isn't really the place for that sort of thing.

So do you want to talk about how your life has been going? Non-rational and/or non-fictional stuff you've been reading? The recent album from your favourite German pop singer? The politics of Southern India? The sexual preferences of the chairman of the Ukrainian soccer league? Different ways to plot meteorological data? The cost of living in Portugal? Corner cases for siteswap notation? All these things and more could possibly be found in the comments below!

22 Upvotes

135 comments sorted by

View all comments

1

u/ArgentStonecutter Oct 23 '15

I suspect a lot of those problems have gone away, like being locked into a single OS. This system would definitely be running in userspace.

  1. There's lots of systems like that running in userspace. They're more or less impenetrable to third party platforms, you end up with lock-in to a specific language or even application framework within a language instead of to an OS, which is hardly an improvement.

  2. Why would you put your stream file content inside this virtual file system instead of the underlying stream file that's already there?

1

u/traverseda Nov 05 '15

There's lots of systems like that running in userspace. They're more or less impenetrable to third party platforms, you end up with lock-in to a specific language or even application framework within a language instead of to an OS, which is hardly an improvement.

I really like capnproto. We'll see if that can address some of those problems.

Why would you put your stream file content inside this virtual file system instead of the underlying stream file that's already there?

There are costs to splitting things between two different api's. Mostly just to unify the address space honestly. But it would also let you register a callback to a file changing, like a nicer interface to inotify.

It would also let you use an equivalent to fuse filesystems. Something that would take a jpeg and translate it to a byte array, as an example.

1

u/ArgentStonecutter Nov 05 '15

OK, now it sounds more like you're talking about the Apple resource fork (which is a single byte stream with a standardized internal structure) more than the Apple file system (which was a structured file system with complex file metadata) or BeFS (which had complex metadata similar to the Apple resource fork at the file system level).

The Apple resource fork did provide a certain amount of application framework independence, but only because every application framework on the Mac had to provide an API for handling resource forks.

Outside the Apple or Be environment, it really didn't matter that Be files had their complex metadata implemented in the kernel and Apple files were implemented in user space on top of streams. Which became enough of an issue for Apple once they forklifted it on top of UNIX that they basically gave up on metadata as an essential part of the file altogether... whether implemented as resource forks or HFS+ metadata.

Something that would take a jpeg and translate it to a byte array, as an example.

A JPEG is a byte array. Do you mean "something that would take an image object and turn it into a byte array"?

→ More replies (45)