21 karma · joined Jun 13, 2020 (6y ago) · 11 submissions
comment 6y ago · link · parent
JSON. The protocol for front-end / back-end communication, as well as between the back-end
and plug-ins, is based on simple JSON messages. I considered binary formats, but the actual
improvement in performance would be completely in the noise. Using JSON considerably lowers
friction for developing plug-ins, as it’s available out of the box for most modern languages,
and there are plenty of the libraries available for the other ones.
4 years later: The choice of JSON was controversial from the start. It did end up being a source of friction, but for surprising reasons.
For one, JSON in Swift is shockingly slow.
Surprising reasons?!comment 6y ago · link · parent
I think this is describing how the system includes momentum, and you're saying that the system (momentum) is producing racially-biased outcomes _without_ racist input today. That's true in the strictest, most technical sense, but is this supposed to be a motivation for reparations or something?
comment 6y ago · link · parent
I found that the Arch Linux wiki page (https://wiki.archlinux.org/index.php/Font_configuration) is helpful because it applies to other distributions like Ubuntu, and provides example configuration files. (https://wiki.archlinux.org/index.php/Font_configuration/Exam...)
comment 6y ago · link · parent
Since there weren't any suggestions for linux, this is what I did for Ubuntu 20:
* 2x scaling
* Downloaded libfreetype, enabled subpixel rendering option, replaced existing libfreetype.so
(I think Ubuntu 20 might already have this enabled, but just to be safe I did it manually)
* Turned off all hinting options in font configuration
* Turn on lcddefault filtering
(necessary if you have subpixel rendering enabled)
* Specifically set 158 dpi in Alacritty terminal config
(Not entirely sure that's necessary?)