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

A new domain

A few years ago, I fancied the idea of creating my own software consulting business. For some reason, I thought “Masala Labs” would be a cool and witty name for it (“masala” means spice mixture in Hindi, and who doesn’t like spicy things?), so I registered the domain along with the associated small business paperwork in Nova Scotia. I only ever had one client, and it was only a few months before I wound up joining a few of my colleagues in founding “The Navarra Group” (which is also now defunct, a story I will perhaps tell at another time).

Anyway, I still had my own domain, and I wanted to move my blog from livejournal, which was beginning to jump the shark. The masalalabs domain was mine, so why not use it? I created a wordpress blog, pointed my DNS registration at it, and started writing. This worked well for a while (names don’t really matter for random personal blogs), but lately I’ve been wanting to start a new project and “Masala Labs” doesn’t exactly seem like a winning banner for me to put it under.

So I’ve decided it’s time for a bit of a change. I just registered the swiss domain name ‘wrla.ch’, created a fancy new landing page, and made this blog its first sub-project. More to come.

So, for all 20 of you who are subscribed to my doings, please update your links. For those of you using Google Reader / RSS, the new feed is at this URL. All the old masalalabs links should at least work until the domain expires in a few years, so there’s no huge rush. Then again, you’ll probably forget if you don’t do it now (and thus be deprived of my endless ravings about checkerboarding on mobile Fennec on Android), so why wait?

Syndicated 2012-02-06 05:35:05 from William Lachance's Log

Yet more checkerboarding analysis

I’ve been spending a bit more time on refining the checkerboarding tests in Eideticker that I talked about last time. Most of my work has been focused on making the results as representative of a real world scenario as possible, to that effect I’ve been working on:

  • Changed the test case from a web site of my own concoction to a more realistic example (the taskjs.org site)
  • Use actual Android native events (via MonkeyRunner to synthesize touch-based scrolling instead of simulating the event in JavaScript (which exercises a completely different codepath).
  • Fixing various synchronization issues to make results more repeatable. Before captures were of wildly variable lengths, which made the numbers extremely suspect. There’s probably still a few issues, but much less than before.

The end result of this is a framework that gives much more meaningful results. The bad news is that the results that I’m measuring don’t show a very positive picture for where we’re at with the native re-write of Firefox. Even relative to the version of mobile Firefox which is currently on the Android Market, we still have some catching up to do. Here’s some video of the “old” firefox in action:

And here’s the Native fennec (what we’re currently offering in nightly, with some minor modifications by me to change the way the “checkerboard” is drawn for analysis purposes):

The numbers behind this comparison:

Platform Percent checkerboarding over run of test
Old Fennec 2%
Native Fennec 57%

(by the way, this performance regression is filed as bug 719447)

I know there’s lots of great effort going into improving this situation, so I have hope that we’ll be doing much better on this metric in the coming days/weeks. The process for creating these videos/analyses is mostly automated at this point, so my plan is to create a small dashboard (ala arewefastyet.com) to measure these numbers over time on the latest nightlies. Stay tuned!

Syndicated 2012-01-25 22:18:49 from Masala Labs

Measuring reduced checkerboarding in mobile Fennec

After my post on measuring checkerboarding in mobile Firefox, Clint Talbert (my fearless manager) suggested I run a before and after test to measure the improvement that just landed as part of bug 709512. After a bit of cleanup, I did so, measuring the delta between my build on December 20th and the latest version of Aurora. The difference is pretty remarkable: at least on the LG G2X that I’ve been using for testing, we’ve gone from checkerboarding between 10-20% of the time and not checkerboarding almost at all (in between two runs of the test with the Aurora build, there is exactly one frame that checkerboards). All credit to Chris Lord for that!

See the video evidence for yourself. Before:

After:

Syndicated 2012-01-03 20:18:52 from Masala Labs

Year end Eideticker update

Just before I leave for some Christmas vacation, it’s time for another update on the state of Eideticker. Since I last blogged about the software, I’ve been working on the following three areas:

  1. Coming up with better algorithm (green screen / red screen) for both determining the area of the capture as well as the start/end of the capture. The harness was already flood filling the area with these colours at the beginning/end of the capture, but now we’re actually using this information. The code’s a little hacky, but it seems to work well enough for the test cases I’ve been using so far.
  2. As a demonstration, I wrote up a quick test that demonstrates checkerboarding on mobile Fennec, and wrote up a quick bit of analysis code to detect this pattern and give an overall measure of how much this test “checkerboards” (i.e. has regions that are not fully painted when the user scrolls). As I understand this is an area that our mobile team is currently working on quite a bit, it will be interesting to watch the numbers given by this test and see if things improve.
  3. It’s a minor thing, but you can now view a complete webm movie of the captured movie right from the web interface.

Here’s a quick demonstration video that shows all the above in action. As before, you might want to watch this full screen:

Happy holidays!

Syndicated 2011-12-23 16:59:33 from Masala Labs

An API for AMT data

The AMT released their GTFS schedule information to the public earlier this week, which is awesome. Not coincidentally, Montreal is going to have a Transportation Camp tomorrow, wherein people will hack on transportation software and discuss open data issues.

GTFS information is useful and standard, but in its raw form it can be a bit difficult to wrangle with. So in advance of the event, I thought it might be helpful/useful to put a simple JSON API to the data, based on my routez software. Should be useful for creating an app or two! There’s two endpoints that are currently defined:

/api/v1/stop/<stop code>/upcoming_stoptimes

This will give a set of upcoming departures at a particular AMT stop (represented by its code). Example:

http://amt.masalalabs.ca/api/v1/stop/11260/upcoming_stoptimes

/api/v1/place/<lat,lng>/upcoming_stoptimes?distance=<distance in meters>

This will give a set of AMT stops within range of that endpoint, along with upcoming departures. Example:

http://amt.masalalabs.ca/api/v1/place/45.49640,%20-73.57567/upcoming_stoptimes?distance=1000

Syndicated 2011-12-14 17:01:48 from Masala Labs

110 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

[ 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