Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vorporeal
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
Linux version of Warp terminal is here
(warp.dev)
13 points
by
vorporeal
3y ago
|
5 comments
2.
▲
by
vorporeal
4y ago
MSDF seems like a great choice, depending on your use-case. Given that we don't need to draw text at multiple scales, it doesn't seem to provide much benefit for us over caching rasterized glyphs provided by Core Text. (Copying a
3.
▲
by
vorporeal
4y ago
1. I guess the answer is that it is both global and local? An application window draws its contents to a buffer (basically, an RGBA image), which the operating system can copy to the buffer that represents the full contents of the screen. T
4.
▲
by
vorporeal
4y ago
From my research, it seems like SDF is a best suited for game engines to use for text, especially non-UI text (that may appear at arbitrary sizes), as it is a fast, space-efficient, and easily scalable approximation. Unfortunately, SDF tend
5.
▲
by
vorporeal
4y ago
Good call-out - definitely a bit of a simplification there. We account for this in our terminal grid by allocating an empty cell following any double-width glyphs (e.g.: emoji and wide chars, as you mentioned). Tried out your example in Wa
6.
▲
by
vorporeal
4y ago
Blog post author here - great questions. My understanding is that some, but not all, shaping libraries will handle fallback fonts. For example, I believe Core Text (on MacOS) will specify which sections of a laid-out line should be rendere
7.
▲
by
vorporeal
12y ago
This seems to be due to Google's new grouping of permissions for Android apps. The permission group you're referring to is described as "Uses one or more of: files on the device such as images, videos, or audio, the device&#
8.
▲
by
vorporeal
12y ago
Same, I use Terminus at 8pt as my terminal font, and it's fantastic - dense yet readable.
9.
▲
by
vorporeal
13y ago
This is the fault of your implementation, not the pattern. Event types (names) should be enums, not arbitrary strings. This makes it very easy to change the way the code reads if the meaning of the event slightly changes, and equally easy
10.
▲
by
vorporeal
13y ago
The primary issue is that the design is very obviously driven by the goal of monetization. On my laptop, the top half of the page is dominated by the navigation bar at the top (starting with "Premium Membership") and the "Le
11.
▲
by
vorporeal
13y ago
Check the account-specific settings within the app.
12.
▲
by
vorporeal
13y ago
Social and Promotions should basically just contain the "unimportant crap". If something is mis-categorized, you can drag it to the correct section and Gmail should learn from its mistake. Also, as mentioned below, you can revert
13.
▲
by
vorporeal
13y ago
I think it's more of "The information you requested, were it to exist, would be highly classified (due to its type), and therefore we can neither confirm nor deny its existence."
14.
▲
by
vorporeal
13y ago
Drawings are the heart and soul of civilization. For one, they originated ~37 thousand years before the first written language. Second, understanding text requires knowing how the information it contains is encoded (what language it is