Hacker Newsnew | past | comments | ask | show | jobs | submit | yokljo's commentslogin

A lot of apps people use these days are cloud-first and automatically save all the time, so there's not even a save button to have a floppy icon for! The icon to say that it's synced looks like a cloud, and if you're using a web browser it'll probably have a Download button with a download icon. No floppy disks in sight.

I wouldn't be surprised if there's computer users out there that wouldn't recognise the "save icon".

RIP in peace


I disagree. Not all it's "autosave on cloud", and some apps keeps having an explicit save something button or option.

I recently had a discussion about replacing the "save icon" (IE. the old floppy disk icon) for an icon with an arrow pointing down, for a button that saves (don't download!) a custom query of the user in the system. Perhaps it could be replaced with another icon, but not by someone that everyone would think is "Download".


I strongly suspect I know what that does because I worked with Svelte 4 for years (you no longer have to do this in Svelte 5. I can recommend Svelte 5, it's nice).

Basically, assigning a state to itself tells it to signal that that state has changed and update anything that is listening to it. The `state` object is actually a JS Proxy returned by createState [0], which allows intercepting the assignment to the `windows` property and emit signals. Usually you dont have to do that, but in this case, the proxy doesn't notice that `state.windows.push(X)` is a mutation. Only assignments directly to the state object count as mutations.

TLDR, `state.windows = state.windows` tells the framework that `windows` changed.

[0]: https://github.com/MercuryWorkshop/dreamlandjs/blob/1e7a34a1...


I was drafting a reply when you sent this, this is the correct interpretation and why I did it.

This is a pretty neat idea, and shows that maybe a desktop environment could be a lot more flexible than we're used to if it was based on something flexible. Not exactly counter intuitive.

I'd like to see how complex a CEF-based Wayland compositor would be in comparison.

How about using Godot instead of CEF? It has a pretty full-featured UI system.

So many possibilities.


While you're at it, go on a huge tangent writing a library that allows one implementation to work as both an X11 and Wayland compositor.

Actually why stop there? Make said library also compile to a full screen Windows and Macos application that somehow renders the contents of windows to textures and does event handing etc. that way you can write your desktop environment once and use it everywhere.

I've gone crazy with power.


Oh you must think you are reading Hacker News, sorry about that, this is actually AI Optimism News.


Nice. I built something basically just like this for work for the same reason last year. It only look a few hours though, cause I just used Acorn [0] to parse my JS, then directly evaluated the AST. It also had an iteration limit and other configurable limits so I can eval stuff in the browser without crashing the tab. I did not use an LLM.

[0]: https://github.com/acornjs/acorn


I am actually going to use this instead of the one I created ( I could never get to correct ASI handling in that grammar)


Haha nice! It's a good library, and it's flexible enough that you can extend the syntax of JS however you like (with some difficulty, as it's not exactly documented). I experimented with adding my own type system to JS by using Acorn. Can recommend.


This is exactly what I wanted and couldn't find. Ended up creating along with an interpreter (so slightly easier then walk and execute)


I think most popular languages were started as an experiment in some feature, or to solve a specific problem someone had. Those are good reasons to make a language. I see no reason to make a language just to take attention away from other existing languages. Instead, make a language so you can understand how to make languages. It is 100% doable by one person. It's fun and educational.


Agreed. It's nice to be able to just use the provided terminal when running KDE. It's very customisable and runs plenty fast. I also love being able to right click on Dolphin and tell it to open Konsole in the current folder. Also, I leave infinite scroll back turned on in Konsole and it works really well, swapping out to a file as it gets too much scroll back. Nothing worse than getting errors that I can't read because the terminal discarded them. I have Ctrl+Shift+X bound to clear everything, which I use before running just about any operation.


> I also love being able to right click on Dolphin and tell it to open Konsole in the current folder.

This is a KDE thing; it'll open in whatever terminal you've got configured in Default Applications.


I've been thinking about this for a minute, and I think if an American were to say "why", and take only the most open vowel sound from that word and put it between "k" and "m", you get a pretty decent Australian pronunciation. I am an Australian so I could be entirely wrong about how one pronounces "why".


This is basically asking for a response that's just the original comment but with "KDE" and "Gnome" switched. I personally find KDE to look very nice and bring a much better and less clunky user experience than Gnome, so it's completely subjective I suppose. I congratulate the KDE contributors on continuing to make a great product even with people saying it sucks all the time.


Blender does this. It's sick.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: