News for hackers. Stuff that matters.
Re:Firefox Hello by cjensen on Wednesday January 28, 2015 @06:33PM (#8963263)
A web browser should not include X functionality, but should allow a web page to implement X functionality. In my view, this is true for most values of X, including Skype, Mail, Word, Excel...

To add insult to injury, there is no simple way of disabling the functionality[1]. Firefox Hello is ludicrous.

[1] about:config is not a valid value of simple

Re:Firefox Hello by jlebar on Wednesday January 28, 2015 @06:47PM (#8963354)
> A web browser should not include X functionality, but should allow a web page to implement X functionality.

Exactly. Firefox doesn't include "Firefox Hello" anymore than it includes "Gmail". Instead, Firefox (and other web browsers) include XMLHttpRequest and WebRTC, which can be used to implement whatever you want.

I'm getting pretty tired of hearing this trope ("teh bloat!") anytime a browser announces new functionality. Browsers are among the most successful pieces of consumer software in existence, so let's maybe admit they've done something right? But moreover, you have the ability -- really, unprecedented for software so complex and in such wide use -- to fork not one but two excellent open-source browsers, plus an excellent rendering engine. If you think you know better than Mozilla and/or Google, go for it. It's not lost on anyone at Mozilla that this is how Firefox originated.

</rant>

Re:Firefox Hello by mattmanser on Wednesday January 28, 2015 @07:22PM (#8963539)
My parents had an uncanny knack for always buying slightly the wrong thing when I was a kid. Betamax, Amigas, minidiscs.

I used to have a cassette player that had a tape recorder on it. It made it bigger and heavier, and probably more expensive and I never used the record feature.

Just because part of the product works well, doesn't mean the rest of it is good.

Re:Firefox Hello by TheDong on Wednesday January 28, 2015 @07:39PM (#8963615)
That's a bad and misleading comparison here though. Your cassette player had to add the bulky recording feature to become a recorder, but did not need it to be a player.

Firefox is a webbrowser, not a video conferencing software, but it had to add WebRTC to be a web-browser (the bulky bit), so adding in recording is trivial.

A more honest analogy would be saying you had a cassette player that already had all the hardware to record -- necessitated by it being able to play cassettes for some reason -- but didn't have a record button vs one having the button.

Re:Firefox Hello by ZeroGravitas on Thursday January 29, 2015 @07:52AM (#8965760)
Random vaguely relevent historical asides:

1. The Walkman was born after a Sony exec had started using a Sony Pressman tape-recorder intended for transcribing meetings/interviews to listen to audio tapes while on planes. They took out the recording functionality and speaker (while adding stereo to the headphones) to make it smaller/cheaper/more portable.

2. Firefox was born after some Mozilla devs took the full featured Mozilla suit and simply hid a lot of the features (email, HTML editor, NNTP newsreader). They later on actually did the work to remove unused code, but at first it was merely cosmetic, though everyone likes to believe there was a mystical time in the past when Firefox was a lean, mean, codebase rather than a minimilist reskin on top of a lot of bloat.

Not sure how that relates to WebRTC, just thought the parallel was amusing.

Re:Firefox Hello by jsprogrammer on Wednesday January 28, 2015 @09:42PM (#8964020)
>but it had to add WebRTC to be a web-browser

Does this mean that we now get to claim that IE and Safari are not web browsers?

Re:Firefox Hello by mattmanser on Thursday January 29, 2015 @04:07AM (#8965070)
Not really at all.

They're going to have to add a whole load of features and new UI elements which will increase the cost of updating and progressing the browser.

Either it's going to be a half assed Skype tacked in behind a menu somewhere, or a browser cluttered with all the visual UI of a chat program.

To say they had to do most of it anyway is compete nonsense. The protocol is like 1/10th of a decent chat program.

Re:Firefox Hello by kstenerud on Wednesday January 28, 2015 @08:21PM (#8963775)
I would not trade my Amiga experience for any other computer of the era. It's what set my high standards for what technology SHOULD be able to do.
Re:Firefox Hello by libria on Wednesday January 28, 2015 @08:04PM (#8963720)
> My parents had an uncanny knack for always buying slightly the wrong thing when I was a kid. Betamax, Amigas, minidiscs.

Ask them if they're speculating on Bitcoin, so I know if I should get out. =)

Re:Firefox Hello by Tloewald on Wednesday January 28, 2015 @07:38PM (#8963610)
Most people probably used the record feature on their cassette players and the cost of simply including it in every device may well have been lower than the cost of two production lines. Incidentally, for five years or so the Amiga was a great choice and any PC bought instead of an Amiga would have been horribly obsolete by the time the Amiga ecosystem collapsed.

Your parents sound cool ;-)

Re:Firefox Hello by jasonwocky on Wednesday January 28, 2015 @08:24PM (#8963782)
An Amiga cast as the wrong thing to buy? Heaven forbid.
Re:Firefox Hello by iamcreasy on Wednesday January 28, 2015 @07:44PM (#8963633)
Developers shouldn't be afraid to implementing new features just because they don't know if it's the best decision yet. And to drive innovation many times you will have to step into an unknown territory.

Moreover for someone who hasn't used anything but IE for his entire life, the video chat feature might be the only reason to sway towards FF.

Re:Firefox Hello by 72deluxe on Thursday January 29, 2015 @04:50AM (#8965186)
My parents had a Betamax too. Massive top-loading device. My dad's still got it in his loft along with his BBC A, B, B+, Master.....

Weirdly just the other month my brother bought a stash of minidiscs and players instead of just using a cheap MP3 player. I don't understand why.

Re:Firefox Hello by cjensen on Wednesday January 28, 2015 @08:06PM (#8963726)
You're confusing Firefox Hello with WebRTC. Let me explain by analogy with a video codec:

For video, Firefox contains a video codec. Surfing to YouTube lets the YouTube web page play video. Firefox does not contain a "Youtube Player".

That's exactly the opposite of what they have done here. They have added basically added a "Telefonica WebRTC Player". That's wrong. They should have added WebRTC generically so that you go to a web page at Telefonica to use it. Or better yet, use it with a server you trust.

Re:Firefox Hello by windlep on Wednesday January 28, 2015 @08:22PM (#8963779)
WebRTC was "generically" added to Firefox in 2013, ie: https://hacks.mozilla.org/2013/06/webrtc-comes-to-firefox/

Of course, with it being added generically, tons of websites immediately started using it..... nope. Ok, well, lets go back before that blog post... https://hacks.mozilla.org/2013/02/hello-chrome-its-firefox-c...

Ah ha, isn't that neat. WebRTC in Firefox and Chrome and a demo of it! Wait, still pretty much zero use in the wild of WebRTC...

This is why Google/Mozilla are adding features utilizing these new specs to the browser, because they're cool and no one else is. In the case of WebRTC, it's for a good reason, its a PITA to run TURN/STUN servers to ensure that people behind firewalls can establish a connection.

Re:Firefox Hello by dagingaa on Thursday January 29, 2015 @07:28AM (#8965687)
Working for a major player in the WebRTC space certainly gives me a bias, but "noone cares" is pretty far from the truth. There are millions of WebRTC users already, hell, we might even be approaching the billion now if you count Snapchat and Hangouts as WebRTC services. (Yes, Snapchat uses WebRTC for their video chat features)

Check out: - https://appear.in/ - https://talky.io/ - https://screenhero.com/ - https://github.com/feross/webtorrent - https://peercdn.com/ - https://sharefest.me/ - ...and lots, lots more. Sorry to the ones I forgot to mention/don't know about.

For some pure WebRTC experiences. http://simplewebrtc.com/ if you want to build something yourself.

The thing is, you don't know that the service you're using uses WebRTC, quite frankly because the technology doesn't matter, the user experience does. Also, the sheer fact that we seem to have standardised a very good (and very secure) way of doing peer to peer transfers, and that's getting implemented in browsers, with client libraries for iOS and Android is HUGE.

Re:Firefox Hello by zanny on Wednesday January 28, 2015 @08:31PM (#8963800)
I've had good experiences with talky and I know hangouts uses webrtc.

I think the biggest problem is the lack of accounts, chat, logging, and persistence in webrtc. Thats what keeps it from being a p2p communication protocol in general whereas now its just a toy for video calls.

I mean, when you cannot share links during your video call easily, somethings wrong.

Re:Firefox Hello by TD-Linux on Wednesday January 28, 2015 @09:07PM (#8963916)
Hangouts still uses the Google Talk plugin, as far as I'm aware.
Re:Firefox Hello by vidarh on Thursday January 29, 2015 @04:44AM (#8965169)
It may be "something wrong" for you, but for me it's exactly what I need to let my mother video chat with her grandson after Skype became useless (breaks more often with every passing release, it seems; we've given up on it).

Sharing links, accounts, chat, logging and persistence are all irrelevant for my use, and they in any case don't belong in webrtc - webrtc is a component for people to use to build services like what you appear to want.

Re:Firefox Hello by rakoo on Thursday January 29, 2015 @06:03AM (#8965410)
> I think the biggest problem is the lack of accounts, chat, logging, and persistence in webrtc.

WebRTC is not a messaging technology, it is a raw data communication technology. It is just here to move bytes from one client to another. The features you are talking about are managed by said clients, meaning that it has to be handled by Firefox/Chrome itself.

Re:Firefox Hello by windlep on Wednesday January 28, 2015 @08:38PM (#8963826)
Agreed, I believe Hello will be added text chat along with the video calls using WebRTC data channels in an upcoming release.
Re:Firefox Hello by ferongr on Wednesday January 28, 2015 @08:29PM (#8963794)
Facebook uses WebRTC for calls on the release versions of Firefox. That probably counts for something.
Re:Firefox Hello by windlep on Wednesday January 28, 2015 @08:39PM (#8963830)
Cool, I didn't know that. It definitely counts for something.
Re:Firefox Hello by hox on Wednesday January 28, 2015 @10:34PM (#8964166)
As for STUN/TURN being painful, Twilio recently released a STUN/TURN service platform: https://www.twilio.com/stun-turn. At least makes things somewhat simpler.
Re:Firefox Hello by leeoniya on Wednesday January 28, 2015 @08:37PM (#8963823)
I have to mostly agree with this sentiment. But there is of course the question of revenue streams. I won't fault Mozilla for having a default WebRTC provider (like they do for search provider), but the provider needs to be configurable by the end user. I'm hopeful that the long-term goal is exactly this.
Re:Firefox Hello by quadrature on Wednesday January 28, 2015 @08:14PM (#8963754)
I can't help but think that this has something to do with their decision to drop google as the default search option. This is their monetary avenue going forward.
Re:Firefox Hello by TheDong on Wednesday January 28, 2015 @07:44PM (#8963631)
Disabling it is damn simple.

All I have to do is right-click on the icon and click "Remove from toolbar", or "Customize" and remove it.

But wait, you say, it's not actually removed... well, for the sort of person that "about:config" is not a valid answer, it is removed.

If your actual complaint is about the functionality / bloat, well, it turns out WebRTC is required for firefox to be a browser and the delta from that to this is essentially nothing.

Re:Firefox Hello by criley2 on Wednesday January 28, 2015 @06:43PM (#8963326)
Just call it the "Chrome-ification" of Firefox.

Chrome is automatically updated to be jam-packed full of browser-specific APIs and functionality.

Like when Chrome automatically updated and registered itself as a background service without permission.

Or when Chrome automatically installed a microphone listening service for always on "OK Google" hotword detection.

Or the fact that Chrome Apps are less and less "webpages" and more and more "applications that only support the Chrome API".

"To add insult to injury, there is no simple way of disabling the functionality"

I wish I got paid my hourly rate for the sheer amount of time I spend combing through Google Product Forums reading about what arcane chrome://flags or commandline ---arg is required to disable their new functions.

It's a shame what's happening to the web.

Re:Firefox Hello by marcosdumay on Wednesday January 28, 2015 @07:50PM (#8963662)
You know, all of this already happened once.

This time we don't have an all powerful Microsoft fighting the web, but Google seems very wiling to take their place. Last browser wars stopped the web evolution for about a decade, just because of a single party that didn't want to be nice.

Re:Firefox Hello by orangecat on Wednesday January 28, 2015 @09:01PM (#8963902)
It's a shame what's happening to the web.

We've apparently decided that we should use "the web" for everything, whether or not it's a good fit. So yeah, browsers are unavoidably going to accumulate features that used to be the responsibility of apps or the OS. And there will be lots of browser-specific functionality unless you're willing to wait 5 years for W3C or WHATWG or whoever to finalize a standard.

Re:Firefox Hello by 72deluxe on Thursday January 29, 2015 @04:57AM (#8965209)
That's a good point. The net is great for shoving data backwards and forwards but for the web it doesn't necessarily mean that the browser should be expected to do EVERYTHING.

There used to be a time when most of the posts here on HN were "something native IMPLEMENTED IN JavaScript in a BROWSER" but thankfully those times have passed to the most part.

The Internet was heralded as solving cross-platform problems (hurray for XML?) but it seems that writing a native app actually involves less testing. You now have to test in 3 or 4 browsers per platform, not including mobile devices and changes between different versions. The relentless shoving of features into browsers is no different to what they've been doing for years but I can see why people would not enjoy it, particularly with the repeat of "only works in IE" that you see ("only works in Chrome").

Re:Firefox Hello by bztzt on Thursday January 29, 2015 @02:47AM (#8964852)
imo the browser is just a better navigation model for a wide range of apps than typical OS GUI shells. so it's natural that either native apps get hosted in the browser (the plugin model) which has gone out of fashion, or APIs to do whatever an native app wants to do get added to the standard web API.
Re:Firefox Hello by weberc2 on Wednesday January 28, 2015 @10:44PM (#8964199)
Pretty sure Google would love for the web to not suck so much. I think the strategy is to support some decent technology and hope the rest of the world will get their shit together. The W3C is just slooooooooowwwwww.
Re:Firefox Hello by forgotpasswd3x on Wednesday January 28, 2015 @08:20PM (#8963770)
There's no need to disable the functionality. It's just WebRTC. It's not using any resources unless you're actually using it.
Re:Firefox Hello by nolok on Wednesday January 28, 2015 @06:48PM (#8963358)
This is a thread about firefox, when you make an answer entirely about chrome. This is neither the place nor the time for your rant.
Re:Firefox Hello by dmix on Wednesday January 28, 2015 @06:59PM (#8963423)
It is very relevant. Both Chrome and Firefox are getting extremely bloated and feature-creeped. Besides bloat/performance/quality, each new feature is a new security attack vector [0].

This is a very valid discussion. Software engineers would naturally have concerns when a browser built to render web pages gets turned into a pseudo operating system. The risk here is that without focus it won't be a good browser nor a good OS.

[0] https://www.mozilla.org/en-US/security/advisories/mfsa2015-0...

Re:Firefox Hello by azakai on Wednesday January 28, 2015 @07:08PM (#8963473)
This, however, is just a little UI over WebRTC, an existing feature that is accessible to web content already. Hello doesn't add any significant area for new security attacks.

It's possible your argument could be against adding WebRTC itself, instead of Hello, but the topic here is Hello.

Re:Firefox Hello by coldtea on Wednesday January 28, 2015 @06:56PM (#8963400)
There are no hard and fast rules about threads.

A thread about Firefox is also a thread to discuss web browsers in general, the web, html, etc.

Re:Firefox Hello by mccr8 on Wednesday January 28, 2015 @06:40PM (#8963306)
The underlying technology used to implement this is WebRTC, which is available to web pages. Implementing peer-to-peer real time video communication entirely in Javascript would be difficult, so it has to be provided to some extent by the browser itself.
Re:Firefox Hello by nothrabannosir on Wednesday January 28, 2015 @06:49PM (#8963361)
But, if this is peer-to-peer, what's Telefonica's role?
Re:Firefox Hello by jamespitts on Wednesday January 28, 2015 @07:31PM (#8963581)
It is Telefonica's OpenTok division that provides the webrtc service and javascript API upon which Firefox Hello runs.

http://www.tokbox.com/blog/firefox-hello-mozilla-enhances-op...

But taking it a bit deeper, this is all part of Telefonica's strategic partnership with Mozilla to market phones running Firefox OS.

http://blog.digital.telefonica.com/tag/html5/

Re:Firefox Hello by mccr8 on Wednesday January 28, 2015 @06:57PM (#8963411)
I don't know about Telefonica's role, but in general WebRTC needs external servers to deal with things like NATs and firewalls: http://www.html5rocks.com/en/tutorials/webrtc/infrastructure...
Re:Firefox Hello by soapdog on Wednesday January 28, 2015 @07:16PM (#8963505)
I think telefonica is running the looper service that helps the peers connect to each other... but I am not sure.
Re:Firefox Hello by rdtsc on Wednesday January 28, 2015 @08:39PM (#8963832)
You can't have complete peer-to-peer with browsers unless you properly implement multicast groups or something of that sort. So peer-to-peer needs help bootstrapping by providing some registration service (a meet-in-the middle if you wish).

That is what Telefonica might be doing -- providing a default registration service.

Also because of funky routers and NAT rules, even after the initial session is set up data/audio might not be going through, so then you need STUN or TURN servers so Telefonica might be providing those as well.

Re:Firefox Hello by ozten on Wednesday January 28, 2015 @07:21PM (#8963532)
I'm a bit out of the loop, but to build on mccr8 and soapdog's answer:

Anyone doing WebRTC seriously will need to run a fallback centralized pairing service to get around the wacky real world network topology and setup a successful p2p connection. In some cases, you need a dumb centralized pipe to connect the peers.

Re:Firefox Hello by coldtea on Wednesday January 28, 2015 @06:54PM (#8963392)
>A web browser should not include X functionality, but should allow a web page to implement X functionality. In my view, this is true for most values of X, including Skype, Mail, Word, Excel...

And in other people's view, it is nonsense, and they liked their Mozilla with built-in mailer, Opera, etc.

And of course there's the huge ecosystem of browsers add-ons and plugins, that do exactly that: implement X functionalities outside of web pages.

>Firefox Hello is ludicrous.

Haven't seen any argument about it. Not being able to disable it and not wanting browsers to include X functionality doesn't translate to "ludicrous".

Re:Firefox Hello by pnathan on Wednesday January 28, 2015 @06:59PM (#8963424)
To be honest, I did like the Netscape system of Email, Calendar Browser, Webpage creator, etc.

I don't really do lots of video, so... ::meh:: ... but I am fine with rebuilding the old Netscape system. :)

Re:Firefox Hello by baddox on Wednesday January 28, 2015 @06:37PM (#8963290)
> A web browser should not include X functionality, but should allow a web page to implement X functionality.

I'll agree if you amend "allow a web page to implement X" to "allow a web page or an extension to implement X."

Re:Firefox Hello by Iv on Wednesday January 28, 2015 @07:56PM (#8963683)
I agree in theory. In practice you have to be pragmatic enough to recognize that the situation is not that simple and that getting rid of closed solutions like skype can only be done if there is a massive initial population "forced" into the network.
Re:Firefox Hello by barbs on Wednesday January 28, 2015 @07:43PM (#8963625)
According to the homepage:

Because Hello is built right into Firefox, you can rest easy knowing that your conversations and information will remain private and secure.

I'm not sure exactly why this is though.

Also, out of curiosity more than anything else, what's a decent web-site that implements the same functionality (i.e. set up a VOIP session, let people join by sending a link, ideally anonymously)? I could've sworn AOL had a service like this, but Google results return nothing.

Re:Firefox Hello by ultrafez on Wednesday January 28, 2015 @11:56PM (#8964424)
I haven't tested it, but https://appear.in/ seems to do what you're describing.
Re:Firefox Hello by nodelessness on Wednesday January 28, 2015 @11:55PM (#8964422)
What a browser should and should not do is the prerogative of the business or entity behind creating it. I don't understand where you get this idea of what 'should' and should not happen happen in a browser.
Re:Firefox Hello by diminish on Wednesday January 28, 2015 @06:43PM (#8963329)
A mobile OS should not include X functionality, but should allow a mobile app to implement X functionality. But somehow due to competition for the platform, every company is more or less in the same race.