wlach is currently certified at Master level.

Name: William Lachance
Member since: 2001-07-29 07:53:10
Last Login: 2011-12-02 04:37:49

FOAF RDF Share This

Notes:

28 year old software developer in Halifax, Nova Scotia. Worked on a whole gamut of projects, mostly desktop and/or network related. You can reach me at wrlach@gmail.com

Projects

Articles Posted by wlach

Recent blog entries by wlach

Syndication: RSS 2.0

Proof of concept Eideticker dashboard for FirefoxOS

[ For more information on the Eideticker software I'm referring to, see this entry ]

I just put up a proof of concept Eideticker dashboard for FirefoxOS here. Right now it has two days worth of data, manually sampled from an Unagi device running b2g18. Right now there are two tests: one the measures the “speed” of the contacts application scrolling, another that measures the amount of time it takes for the contacts application to be fully loaded.

For those not already familiar with it, Eideticker is a benchmarking suite which captures live video data coming from a device and analyzes it to determine performance. This lets us get data which is more representative of actual user experience (as opposed to an oft artificial benchmark). For example, Eideticker measures contacts startup as taking anywhere between 3.5 seconds and 4.5 seconds, versus than the 0.5 to 1 seconds that the existing datazilla benchmarks show. What accounts for the difference? If you step through an eideticker-captured video, you can see that even though something appears very quickly, not all the contacts are displayed until the 3.5 second mark. There is a gap between an app being reported as “loaded” and it being fully available for use, which we had not been measuring until now.

At this point, I am most interested in hearing from FirefoxOS developers on new tests that would be interesting and useful to track performance of the system on an ongoing basis. I’d obviously prefer to focus on things which have been difficult to measure accurately through other means. My setup is rather fiddly right now, but hopefully soon we can get some useful numbers going on an ongoing basis, as we do already for Firefox for Android.

Syndicated 2013-05-06 22:23:16 from William Lachance's Log

Further meditative practice

biodome

Okay, remember last time when I said I was going to continue my “sham of a human existence” and not commit to a Zen practice? Well, I came back to the idea sooner than I thought: the experience was just too compelling for me not to do some further exploration. In some strange coincidence, Hacker News had a great thread on meditation just after I wrote my last blog entry, where a few people recommended a book called Mindfulness in Plain English. I figured doing meditation at home didn’t involve any kind of huge commitment (don’t like it? just stop!), so I decided to order it online and give it a try.

Mindfulness in Plain English is really fascinating stuff. It describes how to do a type of Vipassana (insight) meditation, which is practiced with a great deal of ritual in places like Thailand, India, and Sri Lanka. The book however, strips out most of the ritual and just gives you a set of techniques that is quite accessible for a (presumably) western audience. It seems like the goal of Vipassana is quite similar to that of Zen (enlightenment; release from attachment and dualism), though the methods and rituals around it are quite different (e.g. there are no koans). Perhaps it’s akin to the difference between GIMP and Photoshop: as those two programs are both aimed at the manipulation of images, both Vipassana and Zen are aimed at the manipulation of the mind. There are differences in the script of how to do so, but the overarching purpose is the same.

Regardless of the ultimate differences between the two traditions, the portion of the Vipassana method that the book describes is almost exactly that which I tried at the Zen workshop: sit still and pay attention to your breathing. There’s a few minor differences in terms of the suggested posture (the book recommends either sitting cross legged or the lotus positions) and the focal point (Mindfulness recommends the tip of the nostrils). But essentially it’s the same stuff. Focus on the breath — counting it if necessary, rince, repeat.

As I mentioned before, this is actually really hard to do properly. The mind keeps wandering and wandering on all sorts of tangents: plans, daydreams, even thoughts about the meditation itself. Where I found Mindfulness in Plain English helpful was in the advice it gave for dealing with this “monkey mind” phenomenon. The subject is dealt with throughout the book (with two chapters on it and nothing else), but all the advice boils down to “treat it as part of the meditation”. Don’t try to avoid it, just treat it as something to be aware of in the same way as breathing. Then once you have acknowledged it, move the attention back to the breath.

“Mindfulness” can be described as a non-judgemental awareness of what we are doing (and what we are supposed to be doing). Every time a distraction is noticed, felt, and understood, you’ve just experienced some approximation of the end goal of the meditation. Like it is with other things (an exercise regimen, learning to play a musical instrument), every small victory should push you further and the path to where you want to go. With enough practice, mindfulness might just become part of your day-to-day experience.

Or so I’m told. Up to now, I haven’t enjoyed any longlasting effects aside from (possibly?) a bit more mental clarity in my day-to-day tasks. But I’ve found the meditation practice to be extremely interesting both from the point of view of understanding my own thought, as well as being rather relaxing in and of itself. So while I’m curious as to what comes next, but am happy enough with things as they are in the present. More updates as appropriate.

Syndicated 2013-04-28 20:55:18 from William Lachance's Log

Actual useful FirefoxOS Eideticker results at last

Another update on getting Eideticker working with FirefoxOS. Once again this is sort of high-level, looking forward to writing something more in-depth soon now that we have the basics working. :)

I finally got the last kinks out of the rig I was using to capture live video from FirefoxOS phones using the Point Grey devices last week. In order to make things reasonable I had to write some custom code to isolate the actual device screen from the rest of capture and a few other things. The setup looks interesting (reminds me a bit of something out of the War of the Worlds):

eideticker-pointgrey-mounted

Here’s some example video of a test I wrote up to measure the performance of contacts scrolling performance (measured at a very respectable 44 frames per second, in case you wondering):

Surprisingly enough, I didn’t wind up having to write up any code to compensate for a noisy image. Of course there’s a certain amount of variance in every frame depending on how much light is hitting the camera sensor at any particular moment, but apparently not enough to interfere with getting useful results in the tests I’ve been running.

Likely next step: Create some kind of chassis for mounting both the camera and device on a permanent basis (instead of an adhoc one on my desk) so we can start running these sorts of tests on a daily basis, much like we currently do with Android on the Eideticker Dashboard.

As an aside, I’ve been really impressed with both the Marionette framework and the gaiatests python module that was written up for FirefoxOS. Writing the above test took just 5 minutes — and the code is quite straightforward. Quite the pleasant change from my various efforts in Android automation.

Syndicated 2013-04-22 15:32:51 from William Lachance's Log

The need for a modern open source email client and Geary’s fundraiser

One of my frustrations with the Linux desktop is the lack of an email client that’s in the same league as GMail or Apple’s mail.app. Thunderbird is ok as far as it goes (I use it for my day-to-day Mozilla correspondence) but I miss having a decent conversation view of email (yes, I tried the conversation view extension — it didn’t work particularly well) and the search functionality is rather slow and cumbersome. I’d like to be optimistic about these problems being fixed at some point… but after nearly 2 years of using the product without much visible improvement my expectation of that happening is rather low.

The Yorba non-profit recently started a fundraiser to work on the next edition of Geary, an email client which I hope will fill the niche that I’m talking about. It’s pretty rough around the edges still, but even at this early stage the conversation view is beautiful and more or less exactly what I want. The example of Shotwell (their photo management application) suggests that they know a thing or two about creating robust and useable software, not a common thing in this day and age. In any case, their pitch was compelling enough for me to donate a few dollars to the cause. If you care about having a great email experience that is completely under your control (and not that of an advertising or product company with their own agenda), then maybe you could too?

Syndicated 2013-04-20 03:02:17 from William Lachance's Log

A visit to the Montreal Zen Center

The Road to the Montreal Zen Center

So for a bit of a departure from the usual technical content, a personal anecdote. I went to the Montreal Zen Center today for a workshop, which was a most illuminating experience. I’d been pretty fascinated with the idea of zen for a while (see this post of mine from 2006, for example) but was pretty stuck on how to put it into practice (aside from being sure it was something you had to live). So, this was a step in that direction. After having gone to it, I wouldn’t say I’ve figured anything out (in fact I’m more confused than ever), but I would say one thing with conviction: this is the way to learn more.

It was pretty simple stuff: exactly how they describe on the web page I linked to. A short verbal introduction on some of the ideas of zen, then a tea break, then instruction on how to begin practising meditation, another tea break (this time with biscuits), then actually practising meditation, then question & answer about the meditation. It doesn’t really sound like much, and it wasn’t. But nonetheless I can’t stop thinking about the experience.

As far as I can gather, the “revelation” offered by Zen Buddhism is simple: our existence as separate, unique beings is an illusion of the mind. This illusion makes us suffer. However, it is possible with practice to overcome this illusion and realize your true nature as being one with the world. I’m probably butchering it a little bit by writing about it in this way, to a certain extent that’s me, but in another way it’s rather unavoidable since in a way the concepts are beyond words (since words imply a dualism). Regardless, the important thing isn’t to grasp zen intellectually, but to come to a natural understanding through the practice of meditation (aka “the practice”).

And on that note, the meditation is austere and almost certainly less than you’d expect. There is no prayer and very minimal ritual. Just a very minimal breath counting exercise conducted in a seated posture for 20 minutes, followed by a short walking exercise that lasts 5 minutes, then repeating the breath counting exercise for another 20 minutes. For its utter simplicity, I found it incredibly difficult. I imagine like anything with weeks, months, years of practice it (and the variations of it that experienced practitioners use where they meditate on koans) it would become easier.

I’m still giving thought on whether I want to take the next steps with them and begin a regular meditation practice. It sounds like really hard work (self meditation practice 6 days a week by yourself, plus regular visits to the zen center), which brings up the question: why do you want to do this? There’s some kind of weird contradiction between realizing that you as a self don’t really exist and committing yourself radically to this kind of practice. The only thing I can call it would be a “leap of faith”. My current thinking is that I’m not quite ready for that right now, but maybe in a while. For now I think I’m pretty happy going to yoga a few times a week and living my sham of a human existence. ;)

Syndicated 2013-03-24 20:47:18 from William Lachance's Log

137 older entries...

 

wlach certified others as follows:

  • wlach certified hub as Master
  • wlach certified cinamod as Master
  • wlach certified msevior as Master
  • wlach certified Uraeus as Journeyer
  • wlach certified ariya as Journeyer
  • wlach certified voltron as Journeyer
  • wlach certified Bram as Master
  • wlach certified tromey as Master
  • wlach certified AlanHorkan as Apprentice
  • wlach certified DaveMalcolm as Journeyer
  • wlach certified caolan as Master
  • wlach certified apenwarr as Master
  • wlach certified pphaneuf as Journeyer
  • wlach certified ppatters as Journeyer
  • wlach certified dcoombs as Journeyer
  • wlach certified pcolijn as Journeyer
  • wlach certified uwog as Journeyer
  • wlach certified glasseyes as Journeyer
  • wlach certified CharlesGoodwin as Apprentice
  • wlach certified sfllaw as Journeyer
  • wlach certified andrewmp as Journeyer
  • wlach certified dag as Journeyer
  • wlach certified saul as Apprentice
  • wlach certified JoeNotCharles as Journeyer
  • wlach certified pvanhoof as Journeyer
  • wlach certified lkcl as Master
  • wlach certified Burgundavia as Journeyer
  • wlach certified Alphax as Apprentice
  • wlach certified robsta as Journeyer
  • wlach certified avassalotti as Apprentice
  • wlach certified dobey as Master
  • wlach certified louie as Master
  • wlach certified bradfitz as Master

Others have certified wlach as follows:

  • fxn certified wlach as Journeyer
  • hub certified wlach as Journeyer
  • maragato certified wlach as Apprentice
  • ztf certified wlach as Apprentice
  • DraX certified wlach as Apprentice
  • sl0th certified wlach as Apprentice
  • stevej certified wlach as Journeyer
  • neurogato certified wlach as Apprentice
  • cinamod certified wlach as Journeyer
  • bgeiger certified wlach as Journeyer
  • ariya certified wlach as Journeyer
  • bjgm certified wlach as Apprentice
  • Uraeus certified wlach as Journeyer
  • voltron certified wlach as Journeyer
  • cwinters certified wlach as Journeyer
  • AlanHorkan certified wlach as Master
  • caolan certified wlach as Master
  • mdupont certified wlach as Journeyer
  • dcoombs certified wlach as Journeyer
  • sfllaw certified wlach as Journeyer
  • pphaneuf certified wlach as Journeyer
  • apenwarr certified wlach as Journeyer
  • pcolijn certified wlach as Journeyer
  • glasseyes certified wlach as Journeyer
  • uwog certified wlach as Journeyer
  • CharlesGoodwin certified wlach as Apprentice
  • andrewmp certified wlach as Journeyer
  • saul certified wlach as Journeyer
  • freax certified wlach as Journeyer
  • pvanhoof certified wlach as Journeyer
  • dangermaus certified wlach as Master

[ Certification disabled because you're not logged in. ]

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!

X
Share this page