RSS ? Recent Blog Posts

Blogs ยป Archive for August 4th, 2007

OSCON 2007: Adventures in Localization

by Matthew Eernisse

Wil Clouser is a Web Developer with the Mozilla Corporation, and blogs at Micropipes::Blog. Mike Morgan is Manager of Web Development at Mozilla Corporation, and has a blog at morgamic.com.

This talk described the process of internationalizing Web properties at Mozilla, specifically mozilla.com and addons.mozilla.org, site which together receive almost 200 million hits a day. The localization process for the Web sites is still behind the Firefox client, which ships with over 40 different locales.

They started by discussing a few of the pitfalls of localization, such as pluralization and noun-gender, and then went on to talk about the system they settled on for localizing the Mozilla Web properties, which are a combination of static text in templates and dynamic content pulled from a database.

For static text, they ended up using GNU’s GetText, as it’s a stable, well-proven solution already in wide use. It has good documentation, pluralization support, and a wide variety of tools that translators may already be familiar with.

For the dynamic content, they used a simple database-driven solution of lookups based on string ID and locale key. (They initially looked at PEAR::Translation2, but it turned out not to be flexible enough …

 

OSCON 2007: People Hacks

by Matthew Eernisse

Adam Keys is a software developer and writer. His blog is at therealadam.com.

In this talk, Adam presented a number of methods for effective advocacy and for getting along with other developers. In other words, interacting with people is as important as interacting with hardware or software. Problems in this sphere have no technical solution — they require a social one. Thus, the idea of ‘people hacking.’

People hacking is not rooted in nefarious black-hat hacking, but simply in using tools of social jujutsu (sometimes on yourself, even) to gain traction for ideas you’re trying to advocate. Paying more attention to the people side of things can help you build the kind of integrated, smoothly functioning team capable of executing (to borrow a basketball metaphor) the “no-look pass.”

A few sample ideas included:

  • Simply smiling — makes yourself and people around you feel more positive
  • Avoid negativity — try the ABBA Method (see the slides for details)
  • Avoid criticism
  • Compliment before criticizing

Some ideas followed about how to deal with jerks in your organization, including the simple-but-effective “No Asshole Rule” (from the book of the same name) that encourages a zero-tolerance toward asshole behavior in your group — even from so-called superstar programmers.

Adam also encouraged a little …

 

OSCON 2007: Managing Technical Debt

by Matthew Eernisse

Andy Lester is with the Perl Foundation, and maintains a blog at petdance.com.

Andy’s talk gave practical advice for catching up on all the tasks you put off until some later date (that inevitably never comes) — stuff like postponed docs, fixing broken tests (or just writing tests at all), backup regimes, TODOs in your code, etc.

He had a very simple and straightforward formula:

  • Identify your debts
  • Determine the costs
  • Pay the most profitable
  • Stop incurring new debt
  • Repeat as necessary

The most important takeaway for me was the idea that you don’t try to fix all your problems at once. You figure out what fix will give you the most bang for your buck — not the easiest thing to fix, not the biggest problem. You fix whatever it’s the most profitable to fix.

There was also a lot of good discussion during this talk on how to convince a manager to allow you to begin reducing technical debt with things like refactoring, increasing test coverage, adding documentation, or actually testing your disaster-recovery plan. The best advice was the idea of putting it in terms that the manager can understand (often with a manager either in money or time).

For example, if managers know that investing …

 

OSCON 2007: The Holistic Programmer

by Matthew Eernisse

Adam Keys is a software developer and writer. His blog is at therealadam.com.

The days of one guy putting together all the hardware and software together by himself in his garage are long gone — working with computers increasingly means doing something very specialized in one of the layers between the hardware and the end-user.

Adam made a good case for the idea that despite this specialization people working with computers should develop at least a passing familiarity with the layers other than their own — e.g., a guy working in the database learning typography, and a Web designer learning about compilers.

Many developers may not have the interest (or the discipline) to spend time learning about subjects so far removed from their little piece of the pie, but a couple of the benefits to doing so that Adam described seemed pretty compelling:

  • The ability to converse with the people you work with and understand better how your work interfaces with theirs.
  • Gaining a new perspective that allows you to find unexpected or creative solutions to problems in your own domain.

Adam spent the end of his talk going over the two example layers just mentioned — CSS/layout/typography, and compilers. That might not have …

 

OSCON 2007: Windmill: Automated Testing of Your Ajax Web Applications

by Matthew Eernisse

Mikeal Rogers is a QA Development Engineer at the Open Source Applications Foundation, and has a blog at semanticmikeal.com

Adam Christian is also a QA Development Engineer at the Open Source Applications Foundation. His blog is at t0asted.com

(Disclaimer: I work at OSAF and am a committer on the Windmill project.) This talk started with Adam showing a brief demonstration of using Windmill to test the Ajax Web UI for OSAF’s Chandler Server, including drag/drop testing of the calendar view.

The talk continued with Mikeal describing the reason for building a brand-new framework rather than using an existing tool like Selenium — frustration with the inability debug broken tests. Windmill is designed to allow tests to be paused and debugged interactively.

They followed with a brief overview of Windmill’s Python/JavaScript architecture, and ended with a demonstration of the cross-browser recorder that can be used to create tests from the Windmill IDE without writing code.

Mikeal and Adam have their slides available online here.

They have some screenshots and screencasts available online here.

 

Why Join A Blog Network?

by Steve Shickles

Probably one of the questions I get asked more then others is why one should join a blog network. I am sure everyone who has been involved with any blog network will have different reasons, but here are my reasons:

1) Community - In the past when I have talked to my bloggers and bloggers of other networks I have asked what they liked most about being part of a blog network and the top answer has always been the community aspects. Many networks offer a forum where bloggers can converse on blogging and many other topics. Most bloggers make lots of friends through the network and simply through the increased traffic to there blog. Thus my second reason….

2) Traffic - I have personally had several blogs over the last few years but have always let them fall apart because no one was reading my post. Unless you have a community of friends that are bloggers or own sites, it has become a chore to gets traffic to a blog. Another factor that comes into play is how do you stand out when 80,000 new blogs are being added to the web daily? When you are a blogger for a blog …

 

Sponsored Links

SitePoint Marketplace

Buy and sell Websites, templates, domain names, hosting, graphics and more.