Live data from Hacker News

DahliaOS operating system, combining the best of GNU/Linux and Fuchsia OS

github.com

131–140 of 150 posts

Re: DahliaOS operating system, combining the best of GNU/Linux and Fuchsia OS

#131

Earlier quoted context omitted.

Flutter on the web is more complicated than just a canvas element. The project has a fair amount of effort put into a11y on mobile; I’d be really surprised if the web output isn’t also accessible.

Picking the first demo on https://gallery.flutter.dev : https://gallery.flutter.dev/#/reply It seems like it renders text via a SVG on top of a canvas layer that is the background, so that's a plus for a11y. As for the downsides, and I'm not sure how much this is due to flutter or the app itself: * I can't use the browser search for elements outside the viewport * I can't select text at all * I can't tab through elem…

Sorry, I should have qualified that with “when web export is done.” It’s still in beta right now, and a11y bugs are still being resolved.

https://github.com/flutter/flutter/issues?q=is%3Aopen+is%3Ai...

Re: DahliaOS operating system, combining the best of GNU/Linux and Fuchsia OS

#132
post #125
post #120

Earlier quoted context omitted.

>"C was amazing when it was introduced" It was not amazing. It was decent particular tool for particular job. That was all about it. Same thing about Rust. There are no silver bullets laying around.

Whether you want to say it was amazing or not, it’s a legacy tool now.

What do the cool kids use to write realtime or realtime-ish software with these days? What gets used for firmware? What gets used to write kernels? What gets used when you have to interact with hardware that uses memory mapped registers?

It might be C++ instead of C for some of the above, but that doesn't make C "a legacy tool".

Re: DahliaOS operating system, combining the best of GNU/Linux and Fuchsia OS

#133
post #63
post #45

Earlier quoted context omitted.

Component architecture is everywhere on the desktops, just not on those using UNIX text terminals. COM has been the underlying driving technology of Windows since Vista, where the Windows team took the Longhorn .NET ideas and redid them with COM, since then we got COM improved as WinRT/UWP. Which despite the common mix with the store (blame marketing teams), is what to this day most Windows 10 APIs make use of, and n…

> XFCE, GNOME and KDE make heavy use of DBUS. Only for IPC. There is no IPC within a typical glib app. GObject keeps working flawlessly, but it is too arcane to newcomers (which are already few because of C itself becoming an arcane art these days)

Why would any typical app have IPC within it?

Re: DahliaOS operating system, combining the best of GNU/Linux and Fuchsia OS

#134
post #125

Earlier quoted context omitted.

Whether you want to say it was amazing or not, it’s a legacy tool now.

What do the cool kids use to write realtime or realtime-ish software with these days? What gets used for firmware? What gets used to write kernels? What gets used when you have to interact with hardware that uses memory mapped registers? It might be C++ instead of C for some of the above, but that doesn't make C "a legacy tool".

I’m not saying it isn’t used.

I’m saying it’s a legacy tool from the early 70’s that is absolutely terrible compared to what we could have.

Cool kids use it because there is no alternative.

Re: DahliaOS operating system, combining the best of GNU/Linux and Fuchsia OS

#135
post #40

It also seems to combine the worst of both platforms: Apps. Is there any OSDEV work that goes towards a more integrated, component-based architecture? As sad as it seems, Unix tools & pipes seems to be the most successful and enduring attempt in that direction. Systems doing that on a language basis seem mostly dead (Lisps, Smalltalks, Oberons), component architecture isn't doing much (OpenDoc as the prime example, C…

What if unix style pipes included a MIME type. Thus you might have some type safety, or ability to understand multiple types of input. Example: if one tool outputs JSON, another tool, like grep, would recognize that is a subtype TEXT, and be able to process it. Example: a more sophisticated hypothetical grep tool, would recognize that it might grep JSON differently than it greps TEXT. Example: Tool 1 exporting JPEG m…

[Nushell](https://www.nushell.sh/) is doing something along those lines. They have plenty of work to go before it's perfect, but it's already surprisingly good.

Re: DahliaOS operating system, combining the best of GNU/Linux and Fuchsia OS

#137
post #20
post #9

Earlier quoted context omitted.

I opened the link. The only thing spoken to my screen reader was "enable accessibility". I pressed the button (it didn't accept space bar, but only enter) and it just announced an empty page. I can't speak to the qualities of the os, but hopefully this won't be the entire a11y experience both on the website and on the os itself if both use flutter.

Yeah, sorry about the performance. We kinda put that together as an impromptu web demo, like the old ubuntu tour. Flutter for the web is super sucky right now, and lacks a lot of things like accessibility and normal text interaction because it is backed by a canvas element. Ideally as Flutter matures we will be able to improve both the performance and accessibility aspect of it.

FYI I get a blank page when I visit https://web.dahliaos.io/>.

I see two instances of "Uncaught Error: undefined" in the JS console. Strangely, in a different session I instead see "NoSuchMethodError: J.aH(...) is null" and the empty page has a gray background instead of white. I get similar results in both Firefox 81 and Safari 14 on macOS 10.15. Let me know if you want more info.

Re: DahliaOS operating system, combining the best of GNU/Linux and Fuchsia OS

#138
post #93
post #86

Earlier quoted context omitted.

> GObject keeps working flawlessly, but it is too arcane to newcomers (which are already few because of C itself becoming an arcane art these days) I keep looking for a good excuse to learn Vala. Maybe this is it.

You may also consider doing it in Rust. It's possible to implement GObject subclasses in Rust which little additional overhead as compared to doing it in C, but you get the syntactical niceties of for each loops, traits, and other features of Rust. librsvg makes good use of these bindings, and is undergoing a rewrite in Rust. Gstreamer bindings are also becoming more complete, and example implementations of many of t…

> librsvg makes good use of these bindings, and is undergoing a rewrite in Rust.

And is losing support for older CPU architectures as a result.

I really hope we don't see this more before the rust compiler is improved to support older architectures, as otherwise it may become prohibitively difficult to revive older systems...

Re: DahliaOS operating system, combining the best of GNU/Linux and Fuchsia OS

#139
post #63

Earlier quoted context omitted.

> XFCE, GNOME and KDE make heavy use of DBUS. Only for IPC. There is no IPC within a typical glib app. GObject keeps working flawlessly, but it is too arcane to newcomers (which are already few because of C itself becoming an arcane art these days)

Why would any typical app have IPC within it?

I mentioned because some of that "componentised" style apps do indeed what amounts to intra-interprocess-communication for god knows what reason. Android for example

Re: DahliaOS operating system, combining the best of GNU/Linux and Fuchsia OS

#140
post #35

Earlier quoted context omitted.

How old was Linus Torvalds when started Linux?

> How old was Linus Torvalds when started Linux? He was 21.

I think I was like 13/14 when I started dahlia.
Post reply on HN