I learnt about this new thing back in the Mozilla Summit, a little more than a week away.
The project goals are better detailed in their site and the wiki, but basically they aim to determine if it’s feasible to provide location service data, which is something only a “privileged few” can do right now.
At this stage the project needs real data to start with, and so they’ve got a very simple app for collecting it, called MozStumbler, and a leaderboard to encourage you to “compete” and gather more data. There are some stats too.
This is totally experimental, and, as they said, “not as pretty as Ingress… yet”, but if you want to contribute you just need to download the MozStumbler app and start walking around. Then press “Stop” to upload when you’re done. A word of warning: since this is super beta, make sure you’ve got a data connection when you press Stop or you might not get your data uploaded :-P
The map shows pretty sparse regions, so what about each one of you join in and help fill in the gaps? :-)
Or you could also join in and help with some Android code!
Update: Forgot to mention that there’s also an API you can access. So the data comes in, but it can also come out :-)
I might be weird but I find this project quite enjoyable. There’s a certain thrill about walking around and seeing the number of scanned locations and wi-fi access points grow…
I attended a tech meeting yesterday where I had my first experience of an angry developer complaining to me about “HTML5 is utterly broken” just because I work at Mozilla.
YAY! #achievementunlocked, as they say nowadays.
I couldn’t really figure out the exact details of what happened to this person, no matter how hard I tried. He had probably drunk a little bit too much wine, and wouldn’t stop repeating something about old flex box model, new flex box model something something, and having to update broken sites afterwards.
I tried to guessexplain to him that maybe he had been using prefixed properties, which he probably shouldn’t have done for client work, and that luckily browser makers are steering away from the whole prefixed stuff workflow because of the issues it brings with it, but I don’t believe I was loud enough to be authoritative, or that he wanted to listen either.
I didn’t manage to convince people in my team to use tabs instead of spaces, but I didn’t want to change to another editor in order to have a different profile for that, and didn’t want to be activating the “use spaces” setting each time I need to work on Mozilla code. I still wanted to use Vim and my config, so how could I have my cake and eat it too, so to speak?
Well, I thought, since I use a different computer for Mozilla stuff, the solution is easy: define a certain environment variable in my .bashrc file, and if .vimrc finds that variable, changes my profile to use spaces. Else it’s tabs and business as normal. This is how I did it:
Did you know that you can get a Nightly version of Firefox for Android without getting your hands dirty with Mercurial or a compiler or even have to launch Eclipse at all? Yes, you can! Here’s how!
There are two ways of accomplishing this. First I’ll show you the scenic route, which involves connecting your Android device to your computer:
Download the latest build of Nightly for Android from http://nightly.mozilla.org/. Just in case of doubt, it’s in the Mobile row, and it should be an .apk file. If unsure about choosing the ARMv6 version or not, just choose the non-ARMv6 one.
Something very strange happened to me a couple of days ago. I was dragging files between folders in the Finder and all of a sudden I seemed to drop them into somewhere unexpected, and a bunch of files just disappeared. Boom! Gone! They weren’t in the Trash bin or anything. Where were they? What had happened? What was that place where I had dragged them without knowing that? I had no clue, no way to replicate it and no way of undoing it either, since the “Undo” option wouldn’t undo anything useful.
Since the missing files were pictures and I always store the original camera files without renaming them, I noted the names of the files in the preceding folder, and then tried looking for the next file in the sequence. E.g. if the previous folder’s last file was IMG_0100.JPG, I looked for IMG_0101.JPG:
find . -iname IMG_0101.JPG