Octorine

joined 1 year ago
[–] Octorine@midwest.social 2 points 2 months ago (1 children)

I'm not sure. I remember seeing an example in the docs, but I can't find it now. Actually the docs in general are a lot less opinionated than I remember them.

One thing that I did find is that the ion shell document mentions that it isn't a posix compliant shell because they would have had to leave out a bunch of features.

[–] Octorine@midwest.social 3 points 2 months ago (3 children)

This is true, but the differences go even further than that. Redox is intentionally non-posix-compliant. This means that userspace programs written for posix operating systems may or may not need patching to even compile.

Part of the philosophy of Redox is to follow the beaten path mostly, but not be afraid of exploring better ideas when appropriate.

[–] Octorine@midwest.social 2 points 2 months ago (1 children)

I blame C++. When these kernel hackers hear about how they should switch to this shiny new language that's going to make their code so much cleanser and more manageable, I don't blame them for thinking it's all bullshit. It was last time.

[–] Octorine@midwest.social 54 points 2 months ago (2 children)

I finally watched the talk today and that wasn't what I thought he meant. What I thought he was getting at was that the rust parts of the kernel interact with lots of other modules written by people who don't know rust. When those C modules change their semantics in ways that break the rust code, they can't go fix it because they don't know rust. In fact, whenever they make a change, they don't even know if they broke some rust module, because they don't understand the rust code well enough. And this is something that everyone is going to have to live with for the foreseeable future, because you can't force all those other kernel hackers to learn rust.

[–] Octorine@midwest.social 1 points 4 months ago

There are already libraries like clap that allow the developer to specify all their arguments including short and long variants and description strings. I think some of them will automatically generate --help based on the specified options. I could imagine a library that takes the same specifications and makes an interactive menu or a tui form out of them. It's an interesting idea.

[–] Octorine@midwest.social 3 points 4 months ago

I haven't seen that paper before. The ones I remember were blogposts or web pages. In fact, this may be what I was remembering: https://www.gnu.org/software/hurd/faq.html Particularly the part about what happened with the port to different microkernels.

IIRC NeXT and OSX use Mach, but they don't use it as intended. I think they're mostly a BSD kernel with Mach functioning as an interface to userspace.

Hurd actually used Mach as a microkernel, and moved most functionality to userspace daemons. This meant that Mach's performance issues,, at least the ones related to IPC, affected the Hurd a lot more than OSX or NeXT.

And yeah, I think developer interest was the biggest thing that held it back.

[–] Octorine@midwest.social 2 points 4 months ago (2 children)

Both, I think.

It's built in top of Mach, which has some architectural issues that aren't fixable without a huge amount of work.

And no one's interested in doing that work because we already have Linux and Linux is fine.

There have been a couple of pretty good post mortems over the years. I think one of them is on gnu.org somewhere.

[–] Octorine@midwest.social 3 points 6 months ago

Ive been using it for several years. I hardly think about it at all, which is pretty high praise.

[–] Octorine@midwest.social 8 points 8 months ago

Sometimes I'll start up ConnectBot, which is an android ssh client, on my meta quest. Then I connect to my laptop and attach to a running tmux session so I can use the laptop keyboard but see the text in a virtual window.

My actual laptop setup is pretty boring though

[–] Octorine@midwest.social 4 points 9 months ago

There's a built in snippet system too, called skeletons, but most people seem to prefer the yasnippet interface.

[–] Octorine@midwest.social 3 points 9 months ago

I would like Debian and the fsf to come to some kind of agreement so Debian can ship the emacs documentation.

[–] Octorine@midwest.social 2 points 9 months ago

There are companies working on providing that experience for Linux. System76 is one. You can buy a laptop with their is pre installed. Everything works, including suspend. If something breaks, you call the support number or email and they either talk you through fixing it or sending it in for repair or replacement. It's not that different from having a Dell or HP.

view more: next ›