2,120 karma · joined June 5, 2012
I thought facial recognition was advanced (mainly based on genpop articles), but isn't China using it massively with success?
That would be great, it would be more credit for everyone and wouldn't take away anyone else's credit - and if they start misbehaving they can be quickly replaced.
> how all this would harm Google in any way
Owning half the mobile app ecosystem is more valuable than sharing a web.
This is a big deal, and an irreconcilable philosophical divide. On the one hand web apps need to be able to compete with mobile. They should have access to gyros and cameras and location and offline and push - everything. Mobile apps are modern day Flash and we should strive to be rid of them in favor of a non-proprietary shared platform.
On the other hand the majority of useful information in the world is in document format. We need some sort of non-print-focused (pdf) format that we can use to share documents. Delivering basic documents through what are basically user-land operating systems (browsers) is overkill in every sense of the word: performance, security, accessibility, efficiency, etc.
What to do? The web is already on its march towards being an app platform. The next steps will be tough since Apple and Google also own the much more valuable mobile app ecosystems, and will try to protect them - but it's too late for the web now, the march is on. I think eventually there may need to be some sort of fork of the web to better satisfy both needs.
> Disables 3D APIs / WebGL, GPU acceleration by default while allowing them to be re-enabled through command-line switches.
bit.ly et al. seem to be able to get away with being agnostic processors. I'm surprised there haven't been more stories about their services being abused.
[1] https://hashify.me/IyBIYXNoaWZ5CgpIYXNoaWZ5IGRvZXMgbm90IHNvb...
What you describe is pretty much front-end first with the tweak that when the teams negotiate, the burden of proof lies on the back-end. The back-end should contort as much as possible to satisfy the needs of the front-end, allowing it to remain as clean and nimble as possible. Only when it matters should the back-end be able to materially affect the shape of the api. In most cases "mattering" means balancing the needs of this front-end with another that also consumes the back-end.
Impossible. What will the API serve? A list of horses? Wouldn't work if the user needs a mortgage calculator. There is no choice but to define the front-end first. The question is whether it's defined nebulously or with thought - it's rare for thoughtlessness to be the optimal strategy.
> This snippet is copy and pasted a whole lot around the web. Most people don't explain how it actually functions though. "width" sets the initial width to the mobile's physical display width in 100% pixels.
I still don't get this - if the browser is the width of the device, why doesn't the site flow to 100% of the browser?
A react app has massive abstraction to render on every frame, Svelte compiles out the framework to render instant straight vanilla js (wins all perf tests).
Pre-compiling allows for beautiful syntax and more flexible app structure, since you aren't limited to the runtime.
SSR and code-splitting are significantly easier and more straightforward.
React is designed for a billion-user site and it shows.
There really is zero cost to pre-compiling except mind-share, and only benefits. Of course an F100 company has many concerns above tech awesomeness, so no judgement on your selection criteria. But I assure you this movement is coming, react/vue/angular will adapt/change and/or people will move to Svelte-like solutions.
You can already see it happening in the article facebook released today [1]:
"By using rems, we can respect user-specified defaults and are able to provide controls for customizing font size without requiring changes to the stylesheet. Designs, however, are usually created using CSS pixel values. Manually converting to rems adds engineering overhead and the potential for bugs, so we have our build tool do this conversion for us."