galacticpony
If we just go down another level (where you would implement something like Ruby on Rails), the same question appears. Do we favor explicit logic over implicit relations? At that level, I'd say the rule of thumb that "explicit is better than implicit" pays off, because it's often not that much more code, and a lot of code builds on top.
If you ever need an argument for why "worse is better" actually rules the world of software, point to JSON and drop your mic.
You're saying that as if there was a clerk reading the message at the other end. If a computer program gets a message it doesn't "understand", it's not going to "figure it out" either way.
Worse, if you're a programmer that doesn't know the actual schema and you're trying to figure out what the schema might be just by looking at the data, you'll probably run into trouble.
Nothing is competing with HTML on being what HTML is. Nothing is even close.
All text encodings in common use build on top of ANSI. The de-facto standard (now) is UTF-8 and there's no reason to change that.
IP really does move all the data around the entire internet (that's kind of in the name right there!).
Yes, there are variations, extensions and incompatibilities, but these things are not being re-invented all the time, exactly because these things are ubiquitous standards.
Both the PS4 and the Nintendo Switch run on FreeBSD, by the way.
Again, the media has done its best to scandalize the very real privacy concerns with companies like Google and Facebook. Did it hurt their success with the unwashed masses?
If privacy was really such a big deal, why would Uber write that blog post in the first place? Sure, enough people complained online to get it pulled, but that's not representative.
To wake people up, we'd need a real "story" here, like somebody getting fired over googling something relatively innocent.
Finally, if advertisers really try to disguise targeting, they're doing a terrible job at it. Just try turning adblock off for a moment to see for yourself. Yes, even the common folk thinks targeting is creepy, but at the end of the day they don't care that much.
Well, you're kinda making a point for me there. Why would a game developer use a Chromebook or an Android device?
The second point applies more or less to an Electron app, too.
But that's not even the point of my question. What I actually meant is: Where is the benefit for the user? I wouldn't want to use applications in-browser, unless there's some real value in that. For everything else, I strongly prefer a "native" application.
Look, I understand how one might like HTML imports. Once you've gone down the rabbit hole of Web technology, all the fancy experimental features make it look like HTML/CSS are now adequate. They're not. It's a trap.
The real answer is writing Javascript (or something that compiles to Javascript). Always has been, always will be. Don't trust the web consortium to specify things that maybe browser vendors will implement. Do it yourself now, thank yourself later.
I could understand if you said you need WebGL or WebAudio or some other hardware/OS interface. You don't need HTML imports.
No, we don't. The fact that the "common people" don't value privacy enough led to this whole situation. Those that do value privacy, can pay for it with their money (or their time to learn).
I can think of many drawbacks. Where's the benefit?
"However, in practice, the short seller is required to post margin or collateral to cover losses, and inability to do so in a timely way would cause its broker or counterparty to liquidate the position."
That's exactly what the Bitcoin exchange will do, as well. Since the exchange actually holds the assets (i.e. bitcoin and dollars), it can also determine whether such liquidation is backed by orders.
While what you're saying may be true in some context, it doesn't apply here.
Everything you said so far is just wrong in context.
Jesus.
You also can't lose money beyond what you put in (on the exchanges that allow for this), your position just gets terminated.
You go short on one market, while simultaneously going long on the other market. That's how you profit (arbitrage).
It's highly questionable that having 20,000 free videos removed from public access is the intention behind the law. More likely, it's an unwelcome side-effect.
Why should the law not allow an exception for free content? Why should the law put the burden squarely on the provider? The tradeoff isn't in having "everyone" participate or not, it's in who pays the bill.
You're also missing the point completely. Whether a business wants to do something depends on whether it is expected to be profitable. If the laws make it unprofitable, then it doesn't want to do it.
You're posing a false dilemma with "it's more important that those persons be allowed to participate in society than it is for a business to make money". If society wants participation, society should pay for it, not just business. It's just really easy for the government to use people with disabilities, because opposing such legislation is unpopular.
Who decides what's reasonable, anyway? If you're a small business, building some ramp can easily break your budget. If you're McDonalds, it make no difference. Are you going to treat both companies equally? If so, you're sponsoring big corporate.
Even if it wasn't a free service, if the regulations make the venture unprofitable, it won't happen. Same for taxes, etc.
If the legislators want "standards", they had better pay for it out of the tax payers pockets, instead of shifting the burden to business, where it doesn't belong.
See my reply to whitequark_, this seems to be loop-specific.
> The Vec classes can be used as Point structs.
Oh, sure. Which one though? How do I abstract this, again?
> So pad it out to 4 fields, using homogeneous coordinates.
In other words, "do something else than what I originally did" and "potentially leave 25% throughput on the table".
I think you're trying to pull a fast one on me.
> That's not making a lot of assumptions about your compiler. The x87 floating point stack, for example, has been obsolete for a long time.
Did you even read beyond the first paragraphs? There's five compiler-specific flags you'll have to get right for any of this to work.
Again, there's no free lunch...
> I disagree. Let's look at actual examples. "Almost certainly" suboptimal abstractions are not what we've seen in Rust, for example, which leans on abstractions heavily.
Could you just scroll up for a moment? We are talking about this because someone wrote the "abstract" version of squaring a number and some optimization didn't kick in, resulting in significantly degraded performance. And that's a trivial example! In a real codebase, you'll have to carefully audit compiler output to see if it does the right thing, potentially requiring you to rewrite code. For Rust, you also have the blessing that there is only one compiler...