News for hackers. Stuff that matters.
Re:Mozilla to sell '$25' Firefox OS smartphones in India by Pacabel on Wednesday June 11, 2014 @08:52PM (#7881271)
The reviews I've read about the existing Firefox OS phones, which have reportedly cost well over $25, have not been very encouraging. Pretty much all of them have pointed out that the hardware is quite poor, and this results in a rather bad user experience. Even considering how rapidly the cost of mobile hardware has been decreasing, what will prevent a similarly negative user experience on these cheaper Firefox OS devices?

While the ideological benefits of HTML5/JavaScript/CSS "apps" are often touted, we've yet to see anything truly remarkable done using such technologies. At best, we've only really seen clones of existing Android and iOS apps, but these generally feel less responsive and less capable than their native counterparts. If Firefox OS only supports these kind of non-native apps, how is it supposed to truly compete with Android, iOS and the other mobile platforms that support these HTML5/JavaScript/CSS "apps" just fine, but also offer far more choice and capabilities to developers in the form of real native apps?

And one other thing that I rarely see considered by the advocates of Firefox OS is how we're seeing more and more used iOS and Android mobile devices ending up in developing nations. They tend to be quite affordable and usable, even if they are somewhat outdated. Why would people in developing nations pay for a new Firefox OS phone, when they can get a used Android or iOS phone that may very well perform better than the Firefox OS phone, while offering a wider selection of apps, while also costing roughly the same?

Can you address these concerns?

Re:Mozilla to sell '$25' Firefox OS smartphones in India by soapdog on Wednesday June 11, 2014 @11:57PM (#7881746)
I could write a whole essay on this topic, believe me... so lets go with the short version.

First is that most of the phones out there are running Firefox OS 1.1 and this version is not as snappy as Firefox OS 1.3 which is probably the next version those phones will upgrade to. Firefox OS 1.3 is much faster and solved a lot of bugs.

HTML5 is the native thing in Firefox OS. All apps and parts of the system itself are built with it. Thats how good it is when we build Telephony stuff in Javascript.

The thing is that Firefox OS is also the easiest platform to develop for. Its much easier to develop for web technologies than it is to learn ObjC and Java. That being said, lots of new developers are coming on board are still learning the best practices so we see a lot of apps that could be better just like you see a lot of pages that could be better on the web.

The Gecko engine and its WebAPI provide the developer with all that is needed to create good quality apps but since this is our first year, some of our third party developers are still learning the trade. Its getting a lot better.

There are 8 million web developers in the world. They could all be shipping apps on Firefox OS if they wanted to. Its free and we provide all the docs, also, its quite easy to develop for Firefox OS first and then pass thru Cordova or similar tech and deploy on other platforms.

We believe that the web will win in the long run and that a "web first" mentality will emerge where people will opt to go with an HTML5 solution instead of ObjC/Java/C# threesome.

I invite you all to explore our rich APIs at https://developer.mozilla.org/en-US/docs/WebAPI and see how every time we feel that something can't be done in HTML5 we try to come with a proposed standard. Its this type of evolution of web standards that moves the web forward in all platforms such as desktops, laptops, TVs and more.

As for used cellphones being sold, that doesn't really count in the larger scheme of things. Specially when dealing with Apple. As an exercise try picking an iPhone 3GS and installing random stuff from the App Store... its very hard because developers in those platforms are always developing for the new shiny and forget old customers with outdated hardware very easily. Now try installing an old web browser, something like the same Firefox that was available at that time and browsing the web. It will work because thats how web stuff is made, its made to keep working or degrade nicely. This means that what we call "open web apps" not only are easier to build but they can be used by more people with different hardware and thats why we have the world wide web and not some strange silo such as compuserve...

Think of yourself in five years: What type of world do you want? A world where web standards and engines have evolved to the point where you can do all you wish as a developer without moving away from web technologies and you're free to run your app in different platforms and systems or a world where you need to ask "pretty please" to a company in the north region of california every time you want to ship an app?

Sorry for making this long...

Re:Mozilla to sell '$25' Firefox OS smartphones in India by veeti on Thursday June 12, 2014 @07:13AM (#7882754)
> First is that most of the phones out there are running Firefox OS 1.1 and this version is not as snappy as Firefox OS 1.3 which is probably the next version those phones will upgrade to. Firefox OS 1.3 is much faster and solved a lot of bugs.

You know, we've been reading the exact same excuse about Android since the 2.x versions yet here we are at version 4.4 where even Google's own apps still exhibit noticeable lag and stutter in scrolling and other seemingly simple operations. User interface performance should be one of the topmost priorities for a modern OS, not an afterthought.

Considering that even my desktop computer with a quad-core processor and top of the line graphics card can't render common HTML5 web apps at a smooth 60 frames per second, how is a $25 smartphone going to be up to the task?

Re:Mozilla to sell '$25' Firefox OS smartphones in India by zabraxias on Thursday June 12, 2014 @10:34AM (#7883621)
There was a really good writeup about the decision process in the early iPhones where Steve Jobs ordered the UI in its own process so that the user gets instant feedback on interactions even if the feedback is a simple loading spinner. It gives the perception of speed even if a modern android phone is timed to load the same application faster. There are ways to try and achieve this in web apps but Apple's early decision to use that approach was certainly brilliant. If you call a bank and a human answers immediately...telling you to please hold...it would be a far better experience than the current press 1 for English.
Re:Mozilla to sell '$25' Firefox OS smartphones in India by soapdog on Thursday June 12, 2014 @12:27PM (#7884331)
> Considering that even my desktop computer with a quad-core processor and top of the line graphics card can't render common HTML5 web apps at a smooth 60 frames per second, how is a $25 smartphone going to be up to the task?

Of course you wont play crysis on these phones. these phones are not tailored for those triple-A games full of 3D stuff but they are pretty good for 2D casual gaming if the developer knows what it is doing.

HTML5 is not a magic bullet. It doesn't solve everything. Of course there are domains that are better suited for other languages. The fact is that HTML5 is the only toolkit that gets us from computers to mobile platforms, smarttvs, videogames, smartwatches and more. Basically its the most common runtime everywhere and its also the easiest. Don't think of Firefox OS as "just a mobile platform" like Android. Think of it as a champion or an extension of the world wide web ecosystem. Its picking what we like from the web and evolving it until it is great on mobile devices as well but without losing the objective of keeping it interoperable with other platforms just like you can open HN on Firefox on Mac OS X or on Midori on Debian/ARM, the interoperable part is key.

The phone with the weakest spec I have here is the Alcatel OT Fire. It has 256mb of RAM, 1x Core and yet I can play games at 60 frame a second in it. This, of course, just work if the developer knows how to code for a hardware with such constraints. If a developer code his app on his i7 with 32gb of RAM and dual graphic card without ever thinking of lower hardware then he or she will probably face difficulties when porting to entry level mobile phones.

HTML5 mobile gaming is still evolving a lot. Check out http://phaser.io for a powerful FOSS framework that is able to deliver great performance on entry level phones.

Achieving 60fps is not possible in all occasions but achieving interoperability is better. I'd rather have a poor person pick a smartphone for the first time, learn just enough HTML to build a little app that helps his community and start changing things then having the same person get into debt to buy the latest iOS thing and then be unable to deliver the app for his community because Apple didn't like it.

Re:Mozilla to sell '$25' Firefox OS smartphones in India by veeti on Thursday June 12, 2014 @02:36PM (#7885192)
I am not talking about games at all. I am talking about simple things like scrolling list views. As touch interfaces are very imprecise by definition, a smooth framerate is absolutely necessary for a usable interface. It's very hard to click or even find the right item in a janky list. And that's what I'm getting at: my desktop computer can't seem to do it in HTML5 apps, so how can a 25$ phone?

It's nice to think about ideals like a common runtime, but this ideology starts to fall apart from multiple directions once you think about it. I already mentioned the performance issue, but what about things like app design?

Interoperability is a bad thing for user interfaces. Unless those mobile phones, smart TV's, video games and watches are all magically going to switch to a Firefox OS monopoly and its interface and guidelines, we're in for a future of switching between apps and finding ourselves having to relearn basic functionality in each one of them.

I don't know about you, but I already face this uncanny valley daily using different web apps in my browser. There's always an unsettling feeling since every app behaves slightly differently. If I right-click this or that, does it show the browser's own context menu or something from the app? If I do this or that, does it behave as I expect it to do?

Using a user interface (be it HTML5 in the browser or a GNOME app in my KDE desktop) that isn't designed for the HIG of the platform I'm using feels like walking through a minefield.

And frankly, normal people don't give a shit about interoperability, openness or any of that stuff we might consider important. They care about a device that is fast, simple to use and provides the apps they want. That's a reality that Firefox OS needs to face.

Re:Mozilla to sell '$25' Firefox OS smartphones in India by gz5 on Wednesday June 11, 2014 @09:32PM (#7881380)
I believe these phones are aimed at two market segments:

1. Folks will buy these instead of computers - many of whom don't have computers today. Meaning, their first computer will be a mobile one.

2. Cost-conscious/value-conscious people that would prefer a cheaper new phone over a used used phone (even if slightly cheaper from the perspective of the developed world).

So market (1) doesn't really need killer web apps. The apps are already there; the developed world consumes them via PCs, Macs and tablets.

Market (2) is interesting, especially if new Androids come down market, but I would not underestimate the impact that latent demand from these mega-markets can have on HTML5 apps, many that btw don't even exist today as native apps because they are more relevant in a developing nation.

Re:Mozilla to sell '$25' Firefox OS smartphones in India by rhelmer on Wednesday June 11, 2014 @11:52PM (#7881732)
FirefoxOS has lower resource requirements than Android - for example this $25 device has only 128MB of RAM. FxOS (an it's app ecosystem) is still very young (1.3 just came out, and the first release came out at the end of 2012). I'm positive that we'll continue to see dramatic performance improvements as well as feature parity with the dominant platforms, along with the app ecosystem continuing to mature.

On the app developer side, making apps requires no specialized development environments or knowing anything beyond web technologies (HTML/JS/CSS), which dramatically lowers the bar for making apps.

I'm not sure what counts as "truly remarkable", personally I am pretty impressed by games like Cut the Rope on my FirefoxOS phone. I also carry and regularly use an outdated Android device that has very similar specs, and it's not particularly responsive. More apps are available, but the average quality is not very high.

Re:Mozilla to sell '$25' Firefox OS smartphones in India by Touche on Wednesday June 11, 2014 @09:15PM (#7881336)
How is a Java code running in a VM any more native than web technology?
Re:Mozilla to sell '$25' Firefox OS smartphones in India by Pacabel on Wednesday June 11, 2014 @10:26PM (#7881513)
I wouldn't say that it necessarily is. But Android does offer the NDK and the upcoming ART runtime, which get far closer to native code than what we're seeing from HTML5/JavaScript/CSS.
Re:Mozilla to sell '$25' Firefox OS smartphones in India by Touche on Thursday June 12, 2014 @08:09AM (#7882913)
ART is just a replacement runtime for Davlik. It's still no more "native" than a JavaScript VM. The world "native" has been bended to mean practically nothing at this point, and instead is used to differentiate "good" platforms from "bad" ones.
Re:Mozilla to sell '$25' Firefox OS smartphones in India by easytiger on Thursday June 12, 2014 @07:09AM (#7882739)
JIT