FirefoxOS entry points
« Monday, August 24, 2015 »

While working on a custom HomeScreen for my FirefoxOS phone, I had to work my way around some undocumented things. As far as I understand, the webapp manifest documentation on MDN is far from being complete. While using the Application Manager, I realized that some application had no icons and as I knew, the Communication app should have multiple buttons.

Building an application for FirefoxOS is fairly easy as applications are simply html pages. In this tutorial, we'll build a more advanced type of web app using AngularJS as a base and browserify to compact things together. In our example, we'll make a simple StartStop timer application.


Rooting an Alcatel Fire E 6015x
« Monday, April 27, 2015 »
alcatel firefoxos root

I recently bought a new phone as I broke my Nexus4 screen and repairing the screen would be as expensive or more expensive than buying a FireE. As I'm quite interested in FirefoxOS, I decided it would be much more worth it to get this phone. It doesn't much worry me that the current ecosystem on FirefoxOS is empty. As the platform is new, it feels like fresh air. There is a lot to be done. What we can see from FirefoxOS 1.3 is quite pleasant.


Create a CouchApp with CouchAppJS
« Sunday, November 02, 2014

For the last few weeks, I got a more and more interested in development with CouchDB. I never really had any interest in hosting CouchApps but I'm getting more and more interested in hosting static sites using AngularJS and html/javascript frameworks alike.


Secure a couchdb database
« Tuesday, October 14, 2014 »
couchdb security

Unlike other database, couchdb can be used as a frontend database available directly through http. Couchdb security works in two modes: the admin party and secured. As long as there are no admins setup on the server, the server will work in admin party. When in admin party, anyone can do anything. When an admin is created on the database, the couchdb instance switch in a secured mode where there are 3 different types of users.

Configure Node.js application
« Tuesday, July 01, 2014 »

Recently I searched for a way to configure my Node.js application but most solutions I found on StackOverflow kind of depend on environment variables. I believe that relying on environment variables is pretty awkward and could be a potential source of unexpected problems. I got used to explicitely use a configuration file for pyramid web applications. I decided to achieve a more or less similar approach for my nodejs server.


For the last couple of months, I've been working on a small project to stay in touch with my dear one when I'm away. It started with nothing but it gradually end up looking like something. Today, I'm proud enough to talk about it a little here. It's a cooperative painting program written in html5 and javascript. Technically, the backend server isn't really that important and there are chances that I'll move to Gevent later.

After acquiring my new server, I came up with the wish to do things right. I wish that I can deploy most of my work with an integration server. Yesterday I got Strider to work “correctly” and I came up with the idea of managing my nginx config using Strider. Note that all of this could be possible using Jenkins/TeamCity and so on. The idea is quite simple and it's pretty cool once it works.


Testing strider
« Thursday, March 06, 2014 »

I recently switched my old server to a new one and with it… I decided to drop the bad habits and install a continuous integration server. For its simplicity, I'm currently trying to work with Strider. I'm not really interested in installing a Java Continuous Integration server like Jenkins or TeamCity.


The answer is always in front of your eyes.
« Friday, January 31, 2014

Whoever is reading this, I've got some problems recently but now I feel much better and I felt that this discovery I made today was worth spreading. I've been messing with FirefoxOs for a couple of days and I find it magic. It's pretty far from perfect, it's probably barely useable for someone with an Android/iOS/wp8 background etc. From my point of view, FirefoxOS is a pretty impressive piece of software.


Scheme with context managers
« Thursday, November 28, 2013 »
python Scheme

Context managers are things that are probably well known in the python community while it might not be well known that the use of the keyword “with” is actually a way to use a context manager. The with statement has been introduced in python 2.5 in the pep-0343. The context managers define two functions: __enter__ and __exit__.

After working with Scheme for some times, I really felt that I was missing modules from python. In python, it's quite simple a file is a module. There are also native module with a special extension and folder as module too using the __init__ syntax. Modules have there own global scope which means anything defined in a module isn't global for every modules explicitely. Generally a function/variable is isolated in its own module. In Scheme, this is a whole different thing.

Read Older Posts

Copyright © 2015 Loïc Faure-Lacroix