Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tonsky
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
tonsky
6y ago
too much pictures?
62.
▲
by
tonsky
6y ago
(Logical) Pixels + system-wide scaling, problem solved. Windows already got it (apparently, since Windows 95 times!), macOS too, but more poorly
63.
▲
by
tonsky
6y ago
Clearly you have never tried to center text inside a button
64.
▲
by
tonsky
6y ago
You can set DPI correctly and match physical size, but why? Viewing distance still varies greatly, so there’s no point for a button to be 5mm tall always
65.
▲
by
tonsky
6y ago
In pixels, yes. In physical size, no (pixels are much smaller on 14" than on 18")
66.
▲
by
tonsky
6y ago
In browser, yes. Screenshots are of Sublime Text, which is a native app.
67.
▲
by
tonsky
6y ago
The only font I’ve seen that reported cap height wrong is Ubuntu Mono. Nothing stops designers from misreporting this metric, sure, but in practice it is MUCH more consistent.
68.
▲
by
tonsky
6y ago
My theory is fractional scaling was hard and integer was easy, so they went the easy way. Don’t think artists were asked, since I saw non-integer-scaled iPhone and non-integer-scaled default on retina macbooks (which are both implemented by
69.
▲
by
tonsky
6y ago
Here’s a picture with more samples: https://s.tonsky.me/imgs/font_size.png There’s nothing to hide: some fonts’ height adds up to font-size, some don’t. Because it’s not a rule, you can’t rely on it, so it doesn’t chan
70.
▲
by
tonsky
6y ago
I just didn’t spent much time actually implementing this. It was a quick joke. BTW emoji stay visible too!
71.
▲
by
tonsky
6y ago
Many fonts are designed so that you’ll set at least 1.2 line height. 1.0 barely fits the characters themselves
72.
▲
by
tonsky
6y ago
Those should not be drawn by font. I believe the only way is for the app, e.g. terminal, to intercept and draw them directly, not through the font. Otherwise you’ll get horizontal gaps too https://github.com/tonsky/Fira
73.
▲
by
tonsky
6y ago
Comfortable line-height usually has enough space for any diacritics. If you want to go tighter, you’ll need to know you won’t have them. But that’s true today too.
74.
▲
by
tonsky
6y ago
You are welcome! Glad you liked it
75.
▲
by
tonsky
6y ago
I guess FF ships its own version
76.
▲
by
tonsky
6y ago
So that you will remember it. If it was just a white page, you wouldn’t even recognize it as something different
77.
▲
by
tonsky
6y ago
4k 60Hz should work no problems. Last Macbook that didn’t supported it was 2012 retina.
78.
▲
by
tonsky
6y ago
4k can be driven by Mac at 120Hz, but the mac has to be new enough (2018+ is my guess, based on thunderbolt 3 upgrade in 2018) and have a discrete graphics card.
79.
▲
by
tonsky
6y ago
I don’t really understand the concerns about brightness. On my current display I work at 20% brightness, otherwise my eyes start to hurt.
80.
▲
by
tonsky
6y ago
You get used to it after few days
81.
▲
by
tonsky
6y ago
this is interesting, thank you! And font-weight: 300 has been an old personal nemesis. That explained at least part of it! Do you know if font dilation is on by default?
82.
▲
by
tonsky
6y ago
macOS becomes more and more crap, but does it mean I can’t express my opinion about other programs anymore?
83.
▲
by
tonsky
6y ago
The problem with Dropbox is that I have to go to that UI and explicitly exclude each target/classes folder after I create a new project. And I have to do it on every machine. With syncthing it’s just a regexp that will work for existin
84.
▲
by
tonsky
6y ago
This is where theory and practice part ways. If it was a single bug, I’d be happy to file it. I even tried to do so with Jekyll. I located one, found a library, it was already fixed, but not published. Monkey-patched, only to fight next but
85.
▲
by
tonsky
6y ago
I didn’t realize local calendars are still a thing. I though they are all hosted. That’s why I didn’t understand what was offered there
86.
▲
by
tonsky
6y ago
I think it only depends on product and team and has nothing to do with OSS/commertial/corp. Sublime Text is fantastic and closed-source. Inkscape is horrible and open-source. Syncthing is both. Photoshop is neither. Good pieces ar
87.
▲
by
tonsky
7y ago
I would, happily, if you could explain me why?
88.
▲
by
tonsky
8y ago
> By "install it", I thought you meant install Windows, which takes for longer than 30 seconds. It's not a straight byte copy. For one, part of the install process compiles code for your variation of CPU architecture. That
89.
▲
by
tonsky
8y ago
> You can format an SSD, download a multi-gig image and install it in under 6 minutes? 5 minutes to download 4 Gb at 100 Mbit/s, 0,5 min to write 4 Gb at 1Gbps > I'm failing to see the problem with that dialog. It's har
90.
▲
How Slack designs app loading experience
(grumpy.website)
1 points
by
tonsky
8y ago
|
0 comments
More ›