Earlier quoted context omitted.
You'd be surprised to hear STK is still in use even today by big mobile operators. Some even go as far as to launch campaigns to install STK applets on millions of devices and customers have no idea this is happening in the background.
Yes, all the "eSIM" over-the-air management uses the STK for example. But to be fair, the user interface part is no longer used. The part of the STK still in use is what is required to support remote management functions between the network operator and some applet on the SIM card. The user is out of the loop, and it's perfectly fine for a modem not to support the user interaction part of the STK.
Emacs is special regarding UIs
41–50 of 418 posts
Re: Emacs is special regarding UIs
#42Earlier quoted context omitted.
Interesting ... has anybody tried a browser based (which is what I presume you mean by HTML) front end for emacs? EDIT - just to be clear, I'm talking about emacsclient, talking to a emacs server. Not an actual full blown emacs implementation that's just stupid.
With the new Chrome filesystem API it should be possible to make a full browser implementation. Let's just hope they don't have annoying GDPR and other popups when you're trying to edit a file.
Your remark about GDPR is kind of strange ... not sure what that would have to do with anything ... GDPR applies to people and organisations, not their tools.
Re: Emacs is special regarding UIs
#43How does emacs UI work? It seems like each script is registering commands it can run in context of mode, and then you can bind key combos to commands. How do textual UIs do things like layouting of controls, updating of values and handling async requests?
Emacs has the idea of _buffers_ which are the actual window panes that you can view. The _buffer_ has data in the form of text which has properties in much the same way a block of html can have properties. An emacs-lisp function has full access to do anything it wants with the buffer. For example it can insert contents, change the font family, change the bit of text into a button with a callback. This is exactly how syntax highlighting/semantic highlighting works in emacs, you just change the styling for bits of text [1].
A _mode_ inside emacs is a collection of emacs-lisp functions which trigger (usually on a file extension name). Typically they will set certain keybindings for specific mode-like behaviour. You always have a single _major_ mode and multiple _minor_ modes - the vim emulation layer, for example is simply a minor mode which adds the vim keybindings and emulates the vim state machine inside emacs-lisp.
> It seems like each script is registering commands it can run in context of mode
An emacs-lisp file can be _evaluated_ in the same way as a python file into emacs. It's like a REPL - you can evaluate a file and the functions become available. There's a bit of extra behaviour which allows lazy loading et cetera, but user defined scripts are first-class and there's no distinction between them and those which are "native".
> updating of values
You can update a variable by simply evaluating the appropriate lisp function. If you want to update a value in the text buffer, you just replace/rerender that chunk.
> handling async requests
A buffer can also have a _process_ running which gets events each time the buffer is updated. When you run a command, you direct the output to a buffer and you trigger your lisp function on certain events. This is sort of how the HTTP requests work, but there's libraries which abstract some of it for you. Buffers are really just an abstraction for textual data.
Some of this is simplified, but I hope it gives you a vague idea of what emacs is.
[1] https://www.reddit.com/r/emacs/comments/iemo44/wysiwygified_...
Re: Emacs is special regarding UIs
#44Earlier quoted context omitted.
Anyone is info about the release model of Spacemacs ? It seems like nothing is moving. Any news ?
The release model is a mess. Most people tend to stick with using Spacemacs on the `develop` branch, which means updating via `git pull --rebase` every so often as well as the inbuilt `SPC f e U`. I've been using Spacemacs for around a year on the `develop` branch. For me it's fine, but for those who want a very stable experience I don't recommend it -- it does break sometimes.
Re: Emacs is special regarding UIs
#45For one, all the keyboard shortcuts and commands that you have to learn; I don't know if I have the capacity to learn all that anymore, not without deliberate practice, while in modern editors you can get by with keyboard + mouse and slowly learn some new shortcuts here and there.
Second, it feels like you have to spend a lot of time to set it all up.
Third, will it replace an IDE? Error checking / linting, autocomplete, fast navigation, auto-imports, loads of things like that that seem to just work out-of-the-box in e.g. idea.
Re: Emacs is special regarding UIs
#46E.g. do you want keep an eye on some information which can be fetched from the net? You just write a script which regularly fetches the info and puts it into a buffer, so you can take a look at it anytime, and then regardless of platform you have that info readily available just by installing your own emacs config file.
It's much easier to write such things in emacs than curating various different scripts in various languages (python, etc.) which all require their specific support which is either available or not.
Re: Emacs is special regarding UIs
#47One begins to understand the advantages of this approach after 10-15 years or so. I feel that I am constantly being forced into new "UI paradigms", and it isn't always a change for the better. I started with DOS (Norton Commander, anyone? to this day there is no comparable tool), then Windows 3.0 and 3.1 (which was mostly garbage and I did not enjoy the UI at all). I then started using Linux and discovered Emacs. Whe…
What is idiotic about the Touchbar that is not idiodic about function keys? You have to look at your keyboard to hit the function keys, why not use the glance for a visual feedback loop?
no
Re: Emacs is special regarding UIs
#48One begins to understand the advantages of this approach after 10-15 years or so. I feel that I am constantly being forced into new "UI paradigms", and it isn't always a change for the better. I started with DOS (Norton Commander, anyone? to this day there is no comparable tool), then Windows 3.0 and 3.1 (which was mostly garbage and I did not enjoy the UI at all). I then started using Linux and discovered Emacs. Whe…
What is idiotic about the Touchbar that is not idiodic about function keys? You have to look at your keyboard to hit the function keys, why not use the glance for a visual feedback loop?
Re: Emacs is special regarding UIs
#49One begins to understand the advantages of this approach after 10-15 years or so. I feel that I am constantly being forced into new "UI paradigms", and it isn't always a change for the better. I started with DOS (Norton Commander, anyone? to this day there is no comparable tool), then Windows 3.0 and 3.1 (which was mostly garbage and I did not enjoy the UI at all). I then started using Linux and discovered Emacs. Whe…
What is idiotic about the Touchbar that is not idiodic about function keys? You have to look at your keyboard to hit the function keys, why not use the glance for a visual feedback loop?
As an example, these days, when routing PCB tracks in KiCad, when I need to switch to a different board layer, I need to look away from screen and at the keyboard in order to hit the right function key. I also have to pray that the TouchBar will register my press, as it often likes to go to "sleep". I don't know if it did register my press until I look back at my screen and check if I'm on the right layer.
Having to look away from the screen when you're in the middle of routing a track on a complex multi-layer board is really annoying.
Plus, it's difficult to keep a hand near the function keys without accidentally getting near one of the touchbar areas, which results in a keypress, which results in a zoom-out for me (F1).
It's an abysmal user experience and a huge regression.
Re: Emacs is special regarding UIs
#50One begins to understand the advantages of this approach after 10-15 years or so. I feel that I am constantly being forced into new "UI paradigms", and it isn't always a change for the better. I started with DOS (Norton Commander, anyone? to this day there is no comparable tool), then Windows 3.0 and 3.1 (which was mostly garbage and I did not enjoy the UI at all). I then started using Linux and discovered Emacs. Whe…
> Norton Commander, anyone? to this day there is no comparable tool Directory Opus. I've used it for nearly 30 years. First thing I install on Windows.