7 ms·
Wow! if this is true. "A person claiming to be a former Edge developer has today described one such action. For no obvious reason, Google changed YouTube to ad
by mandliya 8y ago
Wow! if this is true.
"A person claiming to be a former Edge developer has today described one such action. For no obvious reason, Google changed YouTube to add a hidden, empty HTML element that overlaid each video. This element disabled Edge's fastest, most efficient hardware accelerated video decoding. It hurt Edge's battery-life performance and took it below Chrome's. The change didn't improve Chrome's performance and didn't appear to serve any real purpose; it just hurt Edge, allowing Google to claim that Chrome's battery life was actually superior to Edge's. Microsoft asked Google if the company could remove the element, to no avail."
- deleted 8y ago[deleted]
- kerng 8y agoThat's why it's good for Microsoft long term that they pull out of the html rendering business- they know they cant fight Google in any meaningful way because, well, Google has the monopoly on many Internet services and are able to "optimize" for their own experience. Even though it's good for Microsoft resource and focus wise, it's bad for the consumer. Supporting Firefox will become more important, like back in early 2000s.
- jchw 8y agoHuh? Why does the empty HTML element do that? YouTube has a lot of not-empty HTML elements overlaid on the video too... I can't imagine a simple <div> alone is doing this, otherwise wouldn't the rest of the UI also do that?
- pantaloons 8y agoThis is standard practice, the system compositor has a fast path for video decoding and rendering. The fast path will not be taken when software composition is needed (eg, something is overlaid or blended). If you’re asking why they didn’t think to design the fast path to deal with Byzantine faults, it’s probably because why the hell should they?
- jchw 8y agoYes, I understand that. However, empty divs are not an edge case, and I can imagine a lot of not-insane reasons an empty div might be on top of a <video>. The entire player chrome is within the video nowadays, and it often intersected in the past (the old seek bar for example.) If there is more to this story than an empty div, I would be interested to hear. Today's YouTube seems to put display: none on almost all of the overlays when the user is not hovered, and if that isn't good enough, I think that is a bit absurd. (Actually, there are some empty divs, but they're really just empty... Some contain display: none'd divs.)
- shard972 8y ago"Don't be evil" Makes you wonder if that was just a really good PR campaign all along.
- beagle3 8y agoTo their credit, they no longer claim this as their motto...
- newsbinator 8y agoWhy not consider this a bug, and patch Edge to ignore the hidden/empty div in a context in which it serves no purpose?
- millstone 8y agoIf the intent was to slow down Edge, then this is just a cat and mouse game. Google can always ensure that its web properties are more efficient on Chrome.
- imajoo 8y agoReminds me of how Google banned Windows Phone's YouTube App citing that the app wasn't written in HTML5 even own app wasn't written in HTML5 -- https://www.theguardian.com/technology/appsblog/2013/aug/15/google-disables-windows-phone-youtube-app https://www.theguardian.com/technology/appsblog/2013/aug/15/...
- Wowfunhappy 8y agoTo play devil's advocate a bit, the rule was that third party Youtube apps needed to be written in HTML5. This by definition does not apply to the official app. This does not make the rule less dumb, but it is clear.
- manfredo 8y agoQuestion about browser implementation: if the Edge team knew that this element's sole purpose was to mess with their performance, couldn't they just configure Edge to ignore that HTLM element when loading a YouTube page? Just strip it from the DOM completely, as though the element never existed?
- DaiPlusPlus 8y agoWhen building a web-browser, you don’t make one-off patches for each website.
- tluyben2 8y agoMicrosoft made many one-off patches for a lot of 3rd party software in Windows; if this hurts them I cannot see how it is different.
- manfredo 8y agoTo expand upon my original question, I get that adding in functionality specific to each website is not ideal. But the technical cost here (removal of one DOM element from one website) seems to be drastically smaller than the payoff (not getting screwed over in terms of performance on one of the world's most popular websites). Am I seriously underestimating the eng cost of such a patch, or is there some unwritten rule that browsers aren't supposed to mess with the HTML that a page serves?
- kmlx 8y agoa very small retribution for wasting i think it was thousands of man-years on Microsoft-related bugs.
- DannyBee 8y agoI wonder if this edge developer's moral indignation also extends to the repeated aggressive "move to edge" tactics. I'm sitting on my windows 10 laptop, where we went from "hey i can switch my browser at will" to "hey we buried it", and then also "when you try switch, it tries to convince you to stay with edge in the hopes you will get tired of trying to switch the defaults". But that's not enough, apparently, so it was also "when you browse with chrome or firefox, we give you notifications saying you are draining your battery faster and should move to edge"[1]. This predates the stuff talked about in this article. That's also like the start of these tactics. I'm sure Google and Mozilla asked Microsoft to stop doing that, "to no avail". Meanwhile, the complaint here is basically "they made our annoying and stupid notification not true". Having dealt with these tactics repeatedly, i can't work up any indignation over this. The only one i feel even mildly sorry for is Mozilla. [1] https://www.theverge.com/2016/8/3/12369326/microsoft-windows-10-chrome-battery-life-notifications https://www.theverge.com/2016/8/3/12369326/microsoft-windows...
- jgon 8y agoWait a guy who works for a company that uses the world's most popular website (the google search homepage) to aggressively proselytize it's own browser is complaining about Windows prompting you to use Edge? For real dude? Edit: I'll expand. You work for a company the bundled Chrome as a default install with many other toolbars and utility programs. You sell a line of computing products where Chrome is not only the default, it is literally the only browser than can be installed. Chrome is the default browser on the world's most popular OS (Android). Multiple Google properties have refused to work on other browsers and displayed a popup asking people to switch the Chrome (Inbox is the one I remember most vividly). Here's a link to people trying to figure out how to get Chrome to stop asking to be default every time it opens: https://www.tenforums.com/browsers-email/59843-how-stop-google-chrome-not-your-default-browser-message.html https://www.tenforums.com/browsers-email/59843-how-stop-goog... As you can see it's not exactly an easy task. All of this, and probably more, and you're here talking about what Windows does? C'mon man.
- dontblink 8y agoWhat does that have to do with his point? Could you address his comment instead? "C'mon man."
- ummgrainosalt 8y agoI was a browser dev. I do not work for google, and in general have a rather low opinion of the company and its ethics. But... c’mon, that quote is stupid. Every web dev knows there is an infinity of strange reasons to add divs in odd places. The idea that this is a stealthy tactic targeted to slow down edge is ridiculous. Edge will patch the issue in a general way, and that will be that, and now Youtubes source would be stuck with the unnecessary complexity. Even if youtube’s devs would be okay with this, there are so many better ways to force youtube users over to chrome.. My guess is this dev had to debug a reported issue “youtube is slow”, and after realizing it is difficult to patch (likely because of shitty code in edge), started pointing fingers. No. That is called a bug, plain and simple. Maybe try fixing your browser implementation so a single empty element doesn’t destroy video performance... Edit with one more thought: I also feel youtube’s response in not removing the element seems completely justified. Youtube has features to implement and deadline to meet. Why should google have to throw dev resources at fixing problems stemming from microsoft’s bugs with no benefit to themselves? M$ should be the one footing that bill, again, by paying their own devs to fix problems of their own creation.
- eeeeeeeeeeeee 8y agoAlthough the article somewhat implies it was intentional, an unintentional degradation that severe is still a big issue. What incentive does Chromium/Google ever have to fix an issue that only affects Microsoft users or non-Chrome users?
- ariwilson 8y agoTo get more users watching videos on YouTube.
- pcwalton 8y agoIt's not a bug; it's a reasonable design choice. You have to have some kind of heuristic, because of the limitations of scanout compositing. I elaborated more here: https://news.ycombinator.com/item?id=18703568 https://news.ycombinator.com/item?id=18703568
- Udik 8y agoThis must be an example of "do the right thing" as opposed to "don't be evil".
- amelius 8y agoThe strange part is that Edge developers were not capable of quickly fixing the problems that an empty div was causing.
- jeromebaek 8y agoIt's not as simple as you make it sound. If they fixed one issue Google could put another. It's always easier to break something than to fix it, exponentially so.
- belltaco 8y agoYes, just put in a quick fix and release it before taking the time to test it properly, what could go wrong?
- noobermin 8y agoThis is sounds like something we used to be up in arms about wrt to Microsoft back in the day.
- malmsteen 8y agoHow on earth is slowing down your competitor considered immoral ? I'm pretty sure I'll get downvoted / reprimanded in by HN doxa but seriously in what world should they be punished for doing this ?