Live data from Hacker News

Orb is a free and open source web desktop

gitlab.com

41–50 of 146 posts

Re: Orb is a free and open source web desktop

#41
post #28
post #12

I took a peek at the "Explorer" app code base. PHP + JS + jQuery, but surprisingly readable (but a lot of practices in there that are not exactly considered "best" today). Perhaps we have sunk too deep into the SPA/API rabbit hole that we can no longer appreciate simplicity. https://gitlab.com/hsleisink/orb/-/blob/master/public/apps/e... https://gitlab.com/hsleisink/orb/-/blob/master/public/apps/e...

I hear PHP is a pretty good language nowdays. Now, if we could just optionally drop the $ sign from the beginning of every variable and use them only for string templating ;).

What is so special about string templates that they should be have a different naming scheme? And $ really won't ease your life to search with regexp.

Would it only depends on my own preferences, I would use only letters and dash for any identifier in code bases I work with.

Re: Orb is a free and open source web desktop

#43
post #12

I took a peek at the "Explorer" app code base. PHP + JS + jQuery, but surprisingly readable (but a lot of practices in there that are not exactly considered "best" today). Perhaps we have sunk too deep into the SPA/API rabbit hole that we can no longer appreciate simplicity. https://gitlab.com/hsleisink/orb/-/blob/master/public/apps/e... https://gitlab.com/hsleisink/orb/-/blob/master/public/apps/e...

We are, indeed, in a world where Jquery is now the preferable choice. Frontend development is going through what video games went through in the 80s, so much new shovelware every day that people are eventually going to get tired of it.

[flagged]

Re: Orb is a free and open source web desktop

#44
post #22

Earlier quoted context omitted.

The theming on Linux desktops is generally CSS based. For example, gtk/gnome shell is fully styled with CSS - with shell extensions written in JS.

but it's not as extensible. I know GTK uses JS and CSS but I'm not talking about that. I'm talking about something made purely in HTML + CSS + JS. Something like this: https://macos-web.app/ If only these could support native Linux apps somehow (through a WM).

chromeos?

Re: Orb is a free and open source web desktop

#45

I wonder how things would have been if we had JavaScript based WMs and DEs. I'd have loved an HTML/CSS supported DE, imagine the possibilities! and seeing how performance of web-based DEs is amazing, I really hope we can get a Linux distro with a HTML/CSS/JS based DE.

That's basically Firefox OS! I still think it was one of Mozilla's most promising projects; I'm sad they abandoned it.

Re: Orb is a free and open source web desktop

#46

General question: Is there an actual use for this kinds of projects, beyond showing what can be done? I have seen many different "web desktop" projects and while most of them were impressive in their own (technical) ways, I could never see the an actual use case for them.

Personally I can see myself using this to access my homelab from work without having to open extra ports. Since I can't install a personal VPN client on my work machine, a web-based desktop behind a login would give me most of what I want.

Re: Orb is a free and open source web desktop

#48

Is it really being reset every few minutes? Because those open text editors seem quite... "interesting".

It looks as if it remains constant as long as you remain connected, but it if you disconnect then reconnect, you will reconnect to a new / different session than the one you disconnected from - I'm assuming the 'old' one is lost as part of the reset.

Re: Orb is a free and open source web desktop

#49
Not exactly the same thing, but I had good experience with KasmVNC.

Despite having VNC in its name, it isn't fully compliant with the VNC protocol and doesn't support regular VNC clients. Instead, it exposes a web client that you can access to connect to the machine. It also felt surprisingly snappy and nice to use compared to my previous experiences with regular VNC.

https://github.com/kasmtech/KasmVNC

Re: Orb is a free and open source web desktop

#50

Earlier quoted context omitted.

We are, indeed, in a world where Jquery is now the preferable choice. Frontend development is going through what video games went through in the 80s, so much new shovelware every day that people are eventually going to get tired of it.

jQuery is completely unnecessary now, you can use the built in element selectors to do all the same stuff without pulling a huge lib in. The value in jQuery was acting as a shim to smooth over IE's deficiencies back in the day. Now, its a waste of bandwidth.

Still preferable over how most SPAs are written these days, especially when looking at overhead.
Post reply on HN