Gordon P. Hemsley

Linguist by day. Web developer by night.

Posts Tagged ‘Mozilla Education’

Real Tab Support in Bespin

Posted by Gordon P. Hemsley on March 18, 2009

Over the past week, I have been attempting to add real tab support to Bespin (bug 474055), under the guidance of Ben Galbraith (bgalbraith). Discussion on this issue has ensued in many places, including on Ben’s blog (in which he indirectly called me a weird hippie), as well as in at least two topics on the Google Group/mailing list Bespin Core.

The issue behind supporting real tabs is getting the editor to know that a tab is a variable width character. I was able to solve the problem of calculating just how wide that character is supposed to be, but that turned out to be the easy part. The problem that I’ve/we’ve been having is whether to contain all that knowledge in the cursor code (since it is essentially only a display issue) or to allow it to seep into the model code (which does all the actual text manipulation). That discussion is still ongoing right now, but either way, the change would require a little bit of refactoring of a lot of different functions, so that we can keep track of whether the function is getting the cursor position or the model position (as the latter is really just the nth index in the array, with all characters being equal).

So that’s where I’m at now. I’ve tagged the bug with the “student-project” keyword, since I’m a student and I’m working on the project, and I’ve posted a couple of patches in the bug to track my progress (the first one actually works, for the most part; the second one, not so much). All suggestions welcome.

Posted in Mozilla | Tagged: , , , , , , , , , , , , , , | 1 Comment »

My Foray into Mozilla Education

Posted by Gordon P. Hemsley on February 14, 2009

I’ve recently rebooted this blog based on a suggestion by David Humphrey (humph) of Mozilla Education (wiki) during a discussion in #education. I’ll now be using it blog about my endeavors across the Internet related to software development (particularly the open source kind), as well as any other coding experiences I may have (including website development).

I’m excited to get involved with Mozilla Education, because that means I’ll be able to put my new Linguistics major to work (I’m currently attending the University of Vermont), while also building upon my 10 years of web developmentā€”not to mention being able to contribute to a community that I’ve been following and wanting to get involved with for those same 10 years. (I used Netscape 4 back in the day, was thrilled when Netscape 6 came out, soon switched to Mozilla Application Suite, and was finally convinced to switch to Firefox, where I’ve been ever since.)

In the coming days and weeks, I’ll be working with humph and others to decide where I’ll best fit. He suggested that I start with getting familiar with Ubiquity, so that I can perhaps help with their development of their natural language processing engine. He also mentioned the possibility of improving the tools that the localization team uses to translate Mozilla products into languages other than English, particularly via the Web. In the meantime, though, I have to brush up on my JavaScript, because it is an integral part of most Mozilla products, especially Ubiquity.

So I hope this will be a good experience for me, and I hope that I will be able to contribute something that other people will consider useful in the course of their using (or developing) Mozilla products.

Posted in Mozilla | Tagged: , , , , , , , , , , , , , , , | Leave a Comment »