14,081 karma · joined Mar 7, 2014 (12y ago) · 1,887 submissions
comment 6y ago · link · parent
1. A lot of text was rendered into PNGs, and that made the web less searchable, as well as less accessible, slower to load, and less mobile-friendly. All 4 of these factors do have economic impact at Google scale.
2. Fonts were one of the few features that Flash had that HTML5 was lacking, and we wanted to accelerate that transition. Again, mobile was one of the major driving factors.
3. For a while, we were organizationally funded under Google Docs. Again, fonts were one of the major missing features compared with Microsoft Office, so filling that gap was strategic. Here, our open source approach really paid off, otherwise dealing with proprietary font licensing in the context of documents that can be shared and copied would have been nightmarish.
4. To the extent that you are able to make the case that fonts make ads better (or advertisers happier), getting modest amounts of funding ceases to be a problem. To be clear, when I was on the team this was more of a glimmer of future abundant resources than day-to-day reality.
Lastly, while "charity" isn't exactly the right word, the motivations of the people working on the team are/were basically that we love fonts and want to make the Internet better. At Google scale, we were able to sell the project using basically a combination of the above arguments.
Never once when I was on the team were we asked to implement any form of individual user tracking, nor did I hear a suggestion of such a thing. All our work on collecting analytics was to improve performance and quantify our impact. I have no reason to believe things have changed on that front since I was directly involved.
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
This is only a rough guide, don't take it as gospel. I'm also researching ideas (radial basis function interpolation) to make it more sparse for larger numbers of dimensions.
comment 6y ago · link · parent
Feel free to AMA, though no guarantees I'll have good answers.
comment 6y ago · link · parent
Source: https://git.kernel.org/pub/scm/git/git.git/commit/git?h=v0.9...
comment 6y ago · link · parent
Whether apps make use of these capabilities are another question. It's pretty easy to get lazy and blat out the whole window every time, when you know the GPU can handle the pixel bandwidth, and things like imgui explicitly make this tradeoff to keep logic simple.
comment 6y ago · link · parent
One of my favorite bradfitz moments (and there were a number) was when I was on the spam and abuse team, and the two of us were talking about chat protocols, likely in the context of preventing spam, and he brought up XMPP. I asked what that was (I had known it simply as "Jabber") and he looked at me in wonderment that I didn't know that.
Livejournal, memcached, go, those are three hugely impactful things. Let the number continue to increase!
comment 6y ago · link · parent
And to this I'll add another speculative answer, similar to others that have been advanced, but I'm not sure it's ever been explicitly expressed: it means that a piecewise linear approximation in either direction can be done with good accuracy and not a huge number of segments.
comment 6y ago · link · parent
One possible theory why there's a linear term is so that negative values are well-defined. In consumer HDMI, reference black is 10 (as opposed to 0 in sRGB), and reference white is 235 (as opposed to 255 in sRGB).
Since there no doubt be experts here, I'd love to see an authoritative answer. (I'm considering writing an explanation of sRGB and if so would really like to get this right)
comment 6y ago · link · parent
I am sympathetic to this, as I've spent a lot of time at the low levels of this stuff. Unfortunately, one problem is that there is no one "right answer," and not really a lot of authoritative guidance on what's preferred. Some people prefer higher contrast, others prefer minimal distortion of the shapes and spacing. It's always a tradeoff.
comment 6y ago · link · parent
But it's clear that either approach can work. From what I'm seeing so far, flipping a coin and doing "disagree and commit" would be a healthier process than what's going on right now.
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
Not just small constant powers either. I tried .powi(1000000) and it compiled into a sequence of 25 vmulss instructions.
comment 6y ago · link · parent
comment 6y ago · link · parent
BTW, I'm one of the main people quoted in this article, and feel it turned out pretty well. Feel free to ask me followup questions, though I don't guarantee answers.
comment 6y ago · link · parent
comment 6y ago · link · parent
Contrast to Apple, where, aside from a few high profile open source projects that help drive their business (Webkit, Swift, llvm), open source contribution is quite discouraged. How many fun Apple side projects do you see on Github?
I really enjoy the freedom now of just being able to click "create repo" whenever I feel like it, and am sad about the corporatization of the world economy, but I think Google is doing about as well as you can expect here.
comment 6y ago · link · parent
comment 6y ago · link · parent
1379.
Declarative UI Patterns in Rust [video](youtu.be ↗)
2 points · by raphlinus · 6y ago · 1 comment