Skip to main content

B2G - Firefox OS

Share photos on twitter with Twitpic
This project gained big attention and in my opinion is really interesting, both technically and commercially.

Thin client was always dream of the future, recently Google tried it with ChromeOS but it wan't successfull. In my opinion this was because of price, and Desktop look&feel. Maybe with tablet with ChromeOS it would be more popular.

Mozilla with new project wants to create cheap and application friendly OS for mobile phones. Core applications like support for SMS, or talks would be cached for offline use. I menioned offline because most of applications will work just as HMTL5 Web Applications!

This rally can be first operating system that will be like mobile browser in the pocket ;)

I really think recently about new phone:

  • Windows Phone - interesting, but I need desktop Windows to write applications :(
  • iPhone - Mac OS :(
  • Android - whatever OS I want
The only thing that stops me was price... There are of course cheap phones, but they are for me too slow. Android on them is just a failure. 

Besides, for Android I can use PhoneGap to use JavaScript for writing application, or just target mobile browsers (but this is really not fun when you do not have phone for testing).

This is why Boot to Gecko is so awesome! Everything will be running using HTML5 and JavaScript. 
I really hope that system will be fast! And by fast I mean really fast.

Creation of applications will be as simple as creating another website, probably with some JS specific API to get stuff like info about user. 

I suggest to look at images and videos of this B2G system, it really looks good :)

To read more:


Popular posts from this blog

How to simulate slow connection (developer proxy in Node.js)

Update: If you use Chrome then you can use "Throttling" so simulate slow network for all your assets. This should be easier than proxy.

Toggle device modeChoose Network type.Refresh the page 


For some time I wanted to use some proxy for development and testing of eg. slow internet connection, but it was hard to find something useful and free. I know there is Charles but buy it to use it at most one in a month is not for me.

I started thinking about Node.js, maybe I can write proxy for me? But fortunately I found one.

With this module I can write really short code to create slow server:

var http = require('http'), httpProxy = require('http-proxy'); httpProxy.createServer(function (req, res, proxy) { var buffer = httpProxy.buffer(req); setTimeout(function () { proxy.proxyRequest(req, res, { host: 'localhost', port: 8080, …

How to use NPM packages from private repositories on bitbucket

Using Node.js you want to use NPM packages for reusable parts of the apps you create, that is a common sense. At the same time not everything makes sense as a public module unfortunately. Right now we are using Bitbucket at work for private repositories but there is a problem. How to use them as NPM modules? We do not want to publish them to the public but still want to have an ability to install them easily.

After googling and experimenting I have found simple solution.
First create new user in your organization with obscure password and give it read access to the repo. It is best to assign really obscure password but do not fool yourself. This is convenient but you must sacrifice security a bit. You should always consider how in your context that would be important.

Change example from below to:
user - username
PASS - password of the user
organization - owner of the project (you can find it in bitbucket url to your project)
project - your project name