From: Tim Cross <theophilusx@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: scratch/emoji vs emacs that maybe canʼt display emojis
Date: Mon, 08 Nov 2021 11:39:41 +1100 [thread overview]
Message-ID: <875yt38o5g.fsf@gmail.com> (raw)
In-Reply-To: <jwvpmrba9jc.fsf-monnier+emacs@gnu.org>
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> Lars Ingebrigtsen [2021-11-07 21:48:50] wrote:
>> Eli Zaretskii <eliz@gnu.org> writes:
>>> We could perhaps introduce some heuristics based on the first
>>> character of the composition, for example that the result of composing
>>> CH cannot be narrower than CH itself. But that will only work up to a
>>> point. E.g., AFAIR some Emoji has the width of 1.
>> Perhaps it depends on the font, too? I'm pretty sure that none of the
>> composed emojis in Noto Color Emoji have a width of 1, but that's
>> basically the only emoji font I've been futzing around with.
>>> And then there are terminal emulators that do some preposterous stuff,
>>> assuming that their tail can wag the dog. See PROBLEMS and search for
>>> "kitty", for some fun.
>> Heh.
>
> How 'bout we add a simple little hack to Emacs: when running in a tty
> and we need to display something like an emoji, use a local DNN (deep
> neural network) to guess the width that will be used for the char, then
> contact an fsf.org service that connects to a nearby camera, grabs a few
> frames, passes them to text recognition DNN to estimate the number of
> text columns that the terminal used when displaying this char, send the
> result back to Emacs and if the initial guess was wrong adjust the
> local DNN and redisplay.
>
> WDYT?
>
Brilliant. However, I think you also need to wrap that communication
with the fsf.org service in a blockchain to secure the captured frames.
We may also be able to improve processing of the frame images using a
systolic array and uniform recurrence equations (URE)- I suspect this could
be slightly faster than the DNN. If the UREs are extended with
additional terms, we could even have an N-dimensional systolic array,
which could process each dimension on a separate core in parallel to
squeeze even more out of the system.
next prev parent reply other threads:[~2021-11-08 0:39 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-05 8:22 scratch/emoji vs emacs that maybe canʼt display emojis Robert Pluim
2021-11-05 11:57 ` Eli Zaretskii
2021-11-05 13:38 ` Robert Pluim
2021-11-05 14:25 ` Eli Zaretskii
2021-11-05 14:35 ` Robert Pluim
2021-11-06 14:30 ` Benjamin Riefenstahl
2021-11-05 14:30 ` Lars Ingebrigtsen
2021-11-05 14:38 ` Robert Pluim
2021-11-05 14:39 ` Lars Ingebrigtsen
2021-11-07 16:05 ` Lars Ingebrigtsen
2021-11-07 16:12 ` Lars Ingebrigtsen
2021-11-07 16:30 ` Eli Zaretskii
2021-11-07 20:48 ` Lars Ingebrigtsen
2021-11-07 22:31 ` Stefan Monnier
2021-11-07 23:16 ` Lars Ingebrigtsen
2021-11-09 11:37 ` Richard Stallman
2021-11-09 23:40 ` Lars Ingebrigtsen
2021-11-11 3:39 ` scratch/emoji vs emacs that maybe canʼt " Richard Stallman
2021-11-11 3:44 ` scratch/emoji vs emacs that maybe canʼt " Lars Ingebrigtsen
2021-11-12 4:23 ` Richard Stallman
2021-11-14 5:17 ` David Masterson
2021-11-14 5:24 ` Lars Ingebrigtsen
2021-11-16 3:24 ` David Masterson
2021-11-11 13:26 ` Po Lu
2021-11-11 15:15 ` Eli Zaretskii
2021-11-11 19:22 ` Stefan Monnier
2021-11-11 19:32 ` Eli Zaretskii
2021-11-12 0:42 ` Po Lu
2021-11-08 0:39 ` Tim Cross [this message]
2021-11-07 16:34 ` scratch/emoji vs emacs that maybe canʼt " Benjamin Riefenstahl
2021-11-07 18:29 ` Eli Zaretskii
2021-11-07 16:25 ` Eli Zaretskii
2021-11-08 10:31 ` Robert Pluim
2021-11-08 10:33 ` Lars Ingebrigtsen
2021-11-08 10:52 ` Robert Pluim
2021-11-09 3:31 ` Lars Ingebrigtsen
2021-11-09 10:14 ` Robert Pluim
2021-11-08 13:16 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875yt38o5g.fsf@gmail.com \
--to=theophilusx@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.