Movable Type and RTL languages

May 7, 2007

I’m work­ing
on an inter­na­tion­al site built in Mov­able Type and includ­ing statements
in mul­ti­ple lan­guages, includ­ing “Right to Left” lan­guages like Arabic
and Hebrew. 

I was pleas­ant­ly sur­prised when I cut-and-pasted an Ara­bic text from
MS Word into Mov­able Type and found the let­ters look­ing good both in
the MT entry box and the resul­tant post. I did­n’t real­ize just how pow­er­ful UTF-8 encod­ing
is and how well MT sup­ports it through­out the sys­tem. Still, the output
was­n’t cor­rect, as it was­n’t dis­played in right-to-left fash­ion. I
need­ed to fig­ure out the CSS for this kind of out­put and an easy way to allow the client to set this with­out forc­ing them into coding.

Using the highly-recommended Right­fields Plu­g­in I added a check­box field for posts that should be dis­played in RTL. Here’s a screenshot:

Right­Fields has an IF func­tion that we can use to set a new DIV with our RTL style. Here’s the cod­ing in the MT tem­plate, stuck in just after the “entry-body” div:

<MTExtraFields>
<MTIfExtraField field="RTL">
<div class="rtl-display">
</MTIfExtraField>

Note: you’ll also have to add sim­i­lar code to close the div at the end of the passage.

Final­ly, as best as I can deter­mine, this is the prop­er CSS des­ig­na­tion for RTF dis­play (Microsoft has a good web­page on this). It works in Fire­fox, IE7 and IE6.

.rtl-display p {direction:rtl;text-align:justified;text-align:justify;}

I’d be hap­py to get any feed­back or cor­rec­tions to this. I’m a typ­i­cal ‘Mer­i­can
whose for­eign lan­guage skills don’t go far past a dozen phras­es lifted
from Sesame Street and long-ago French class­es. Ara­bic and Hebrew
type­set­ting are quite unfa­mil­iar terrain.

GN​-Non​vi​o​lence​.org

April 18, 2007

An short-lived inter­na­tion­al coali­tion that bare­ly sur­vived to site launch, the project was inter­est­ing because of its require­ment that its mis­sion state­ment be dis­played in half a dozen lan­guages, include left-to-right set Hebrew and Ara­bic and Nepalese! 

Words and reason fail when faced with such horror

April 17, 2007

It’s hard to know what to say about yes­ter­day’s hor­rif­ic mas­sacre at Vir­ginia Tech, where a gun­man killed 32 peo­ple (at lat­est count) in two sep­a­rate inci­dents. Is this an indict­ment of an Amer­i­can cul­ture of vio­lence? Vir­ginia Tech has a strong mil­i­tary tra­di­tion, so is our war men­tal­i­ty to blame? Guns?, can we blame guns? Or how about the alien­ation of so many young peo­ple in our society?
Any answer seems glib and besides the point. This isn’t the time to be a pun­dit. Peo­ple snap for all sorts of rea­sons and usu­al­ly for mul­ti­ple rea­sons that can nev­er real­ly be untangled.
Like all humans, I’m shocked and sad­dened. I’ve spent time on the cam­pus and the stu­dents and fac­ul­ty I met were always warm and hos­pitable, gra­cious and open. What must they be going through? Think of the fear of the trapped stu­dents, the fear of par­ents turn­ing on the news, the fear of sur­vivors who will have to live with the mem­o­ries of this night­mare for the rest of their lives. I add my hum­ble words to the mil­lions of prayers that have been mur­mured these last twenty-four hours. May God com­fort the vic­tims alive and dead, includ­ing the shoot­er, who must cer­tain­ly be a vic­tim of some­thing himself.
How do we stop the vio­lence? How do we show our youth that vio­lence is not the way? And how do we get these damned guns out of their hands?

On pricing philosophy

April 16, 2007

Via 37Signal’s Sig­nals vs. Noise blog I came across a fas­ci­nat­ing post writ­ten by Bri­an Fling of Blue last year on pric­ing a project. I’d like to talk about it and to explain my own phi­los­o­phy. First a extend­ed quote from Brian:

I find it fun­ny… in a sad sort of way, that we often
start out our part­ner­ship with bluff­ing, no one say­ing what they are
real­ly think­ing… how much they are will­ing to pay and how much it
should cost… Though every book I’ve read on the top­ic of pric­ing says
to nev­er ever ball­park, I have a ten­den­cy to do so. If they can’t
dis­close the bud­get I typ­i­cal­ly try to start throw­ing a few numbers
from pre­vi­ous projects to help gauge the scope of what we are talking
about, call it a good faith effort to start the dis­cus­sion… While this
is very awk­ward part of the dis­cus­sion it is almost always fol­lowed by
can­dor. It’s as if once some­one starts telling the truth, it opens a
door that can’t be closed.

I com­plete­ly agree that can­dor is the only way to work with clients.
Maybe it’s the Quak­er influ­ence: we report­ed­ly pio­neered fixed pricing
back when every­one hag­gled, with the phi­los­o­phy that charg­ing true
costs were the only hon­est way of doing busi­ness. My offi­cial rates and con­tact page includes my list of “typ­i­cal costs” — essen­tial­ly these are the “ball­park esti­mates” that Bri­an talks about.

When I put togeth­er esti­mates I base it on my best-guess informed
esti­mates. I start by tab­u­lat­ing the clien­t’s request­ed fea­tures and
deter­min­ing how I’ll achieve them. I then esti­mate how long it will
take me to imple­ment each fea­ture and use that to deter­mine a
first-guess for project cost. I then com­pare it to past projects, to
make sure I’m being real­is­tic. I know myself well enough to know I
always want to under­es­ti­mate costs – I usu­al­ly like the project and want
to make it afford­able to clients! – so I do force myself a real­i­ty check
that usu­al­ly ends up adding a few hours to the estimate. 

When I put togeth­er my offi­cial esti­mate I try to guess where
poten­tial bot­tle­necks might hap­pen. Some­times these are technical
issues and some­thing they’re more social. For exam­ple, a client might
be very par­tic­u­lar about the design and the back-and-forth can take
longer than expect­ed. If I think any­thing like this might hap­pen I
men­tion it in the esti­mate. Some­times as we work through the details of
a fea­ture I’ll learn that the client wants some enhance­ment that we
had­n’t talked about pre­vi­ous­ly and which I did­n’t fac­tor into the
estimate.

When I do see a par­tic­u­lar part of the work tak­ing longer than
expect­ed I flag it with the client. I try to keep them informed that
this will add to total costs. In many cas­es, clients have been hap­py to
go with the extra work: I sim­ply want to make sure that we both are
aware that the esti­mate is chang­ing before the work happens. 

I charge by the hour rather than on a per-project basis since I find
it to be a much more open busi­ness mod­el. Bri­an Fling’s post agrees:

The prob­lem [with per-project billing is that] one way
or anoth­er some­body los­es, either the client pays too much, meaning
pay­ing more than it’s mar­ket val­ue, or the ven­dor eats into their
prof­it… One ben­e­fits to hourly billing is the client is respon­si­ble for
increas­es of scope, pro­tect­ing the ven­dor and the cus­tomer. If the
project is com­plet­ed ear­ly the client pays less, pro­tect­ing the client.
This puts the onus on both par­ties to com­mu­ni­cate reg­u­lar­ly and work
more effectively.

I have very lit­tle over­head: a home office, lap­top and DSL.
This means my rates are very com­pet­i­tive (one client described it as
“less than plumbers and elec­tri­cians charge, more than the kid who mows
the lawn”). Being very care­ful with esti­mates mean that I often
com­mu­ni­cate a lot with clients before I “start the clock.” I’ve often
worked with them a few hours before the esti­mate is in and we’re moving
for­ward and of course some of this un-billed work does­n’t result in a
job.

Putting togeth­er fab­u­lous web­sites is fun work. It’s very much a
back-and-forth process with clients, and it’s often impos­si­ble to know
just what the site will look like and just how it will work until the
site actu­al­ly launch­es. Half of my clien­tele have nev­er had websites
before, mak­ing the work even more inter­est­ing! It’s my professional
respon­si­bil­i­ty to make sure I work with clients to fore­see costs, dream
big, but most of all to be open and hon­est about costs as the process
unfolds.

Too-familiar buildings on the news

April 16, 2007

It’s chilly to see the break­ing head­lines about the shoot­ing at Vir­ginia Tech, already being billed as the “dead­liest cam­pus shoot­ing in Amer­i­can his­to­ry.” This has been the site of two recent FGC Gath­er­ings and the cam­pus’ unique archi­tec­ture is instant­ly rec­og­niz­able for those of us who have spent a cumu­la­tive two weeks on the cam­pus. How hor­ri­ble, how sad and tragic.

Hey who am I to decide anything

April 9, 2007

Over on Non­the­ist Friends web­site, there’s an arti­cle look­ing back at ten years of FGC Gath­er­ing work­shops on their con­cern. There was also a post some­where on the blo­gos­phere (sor­ry I don’t remem­ber where) by a Pagan Friend excit­ed that this year’s Gath­er­ing would have a work­shop focused on their concerns.

It’s kind of inter­est­ing to look at the process by which new the­olo­gies are being added into Lib­er­al Quak­erism at an ever-increasing rate.

  • Mem­ber­ship of indi­vid­u­als in meet­ings. There are hun­dreds of meet­ings in lib­er­al Quak­erism that range all over the the­o­log­i­cal map. Add to that the wide­spread agree­ment that the­o­log­i­cal uni­ty with the meet­ing is not required and just about any­one believ­ing any­thing could be admit­ted some­where (or “grand­fa­thered in” as a birthright member).
  • A work­shop at the Friends Gen­er­al Con­fer­ence Gath­er­ing and espe­cial­ly a reg­u­lar work­shop at suc­ces­sive Gath­er­ings. Yet as the very informed com­ments on a post a few years ago showed, the­ol­o­gy is not some­thing the plan­ning work­shop com­mit­tee is allowed to look at and at least one pro­po­nent of a new the­ol­o­gy has got­ten them­selves on the decid­ing com­mit­tee. The Gath­er­ing is essen­tial­ly built on the non­de­nom­i­na­tion­al Chau­taqua mod­el and FGC is per­fect­ly hap­py to spon­sor work­shops that are in appar­ent con­flict with its own mis­sion statement.
  • An arti­cle pub­lished in Friends Jour­nal. When the the Quak­er Sweat Lodge was strug­gling to claim legit­i­ma­cy it all but changed its name to the “Quak­er Sweat Lodge as fea­tured in the Feb­ru­ary 2002 Friends Jour­nal.” It’s a good mag­a­zine’s job to pub­lish arti­cles that make peo­ple think and a smart mag­a­zine will know that arti­cles that pro­voke a lit­tle con­tro­ver­sy is good for cir­cu­la­tion. I very much doubt the edi­to­r­i­al team at the Jour­nal con­sid­ers its agree­ment to pub­lish to be an inoc­u­la­tion against critique.
  • A web­site and list­serv. Fif­teen dol­lars at GoDad​dy​.com and you’ve got the web address of your dreams. Yahoo Group is free.

There are prob­a­bly oth­er mech­a­nisms of legit­i­ma­cy. My point is not to give com­pre­hen­sive guide­lines to would-be cam­paign­ers. I sim­ply want to note that none of the actors in these deci­sions is con­scious­ly think­ing “hey, I think I’ll expand the def­i­n­i­tion of lib­er­al Quak­er the­ol­o­gy today.” In fact I expect they’re most­ly pass­ing the buck, think­ing “hey, who am I to decide any­thing like that.”

None of these decision-making process­es are meant to serve as tools to dis­miss oppo­si­tion. The orga­ni­za­tions involved are not hand­ing out Impri­maturs and would be quite hor­ri­fied if they real­ized their agree­ments were being seen that way. Amy Clark, a com­menter on my last post, on this sum­mer’s reunion and camp for the once-young mem­bers of Young Friends North Amer­i­ca, had a very inter­est­ing comment:

I agree that YFNA has become FGC: those pre­vi­ous­ly involved in YFNA have tak­en lead­er­ship with FGC … with both pos­i­tive and neg­a­tive results. Well … now we have a chance to look at the lega­cy we are cre­at­ing: do we like it?

I have the feel­ing that the cur­rent gen­er­a­tion of lib­er­al Quak­er lead­er­ship does­n’t quite believe it’s lead­ing lib­er­al Quak­erism. By “lead­er­ship” I don’t mean the small skim of the pro­fes­sion­al Quak­er bureau­cra­cy (whose mem­bers can get _too_ self-inflated on the lead­er­ship issue) but the com­mit­tees, clerks and vol­un­teers that get most of the work done from the local to nation­al lev­els. We are the inher­i­tors of a proud and some­times fool­ish tra­di­tion and our actions are shap­ing its future but I don’t think we real­ly know that. I have no clever solu­tion to the issues I’ve out­lined here but I think becom­ing con­scious that we’re cre­at­ing our own lega­cy is an impor­tant first step.

For other uses, see Light (disambiguation)

March 21, 2007

Even though my last post was a five minute quick­ie, it gen­er­at­ed a num­ber of com­ments. One ques­tion that came up was how aware indi­vid­ual Friends are about the spe­cif­ic Quak­er mean­ings of some of the com­mon Eng­lish words we use — “Light,” “Spir­it,” etc.(dis­am­bigua­tion in Wiki-speak). Mar­shall Massey expressed sad­ness that the terms were used uncom­pre­hend­ing­ly and I sug­gest­ed that some Friends know­ing­ly con­fuse the gener­ic and spe­cif­ic mean­ings. Mar­shall replied that if this were so it might be a cul­tur­al dif­fer­ence based on geography.

If it’s a cul­tur­al dif­fer­ence, I sus­pect it’s less geo­graph­ic than func­tion­al. I was speak­ing of the class of pro­fes­sion­al Friends (heavy in my parts) who pur­pose­ful­ly obscure their lan­guage. We’re very good at talk­ing in a way that sounds Quak­er to those who do know our spe­cif­ic lan­guage but that sounds gener­i­cal­ly spir­i­tu­al to those who don’t. Some­times this obscu­ran­tism is used by peo­ple who are repelled by tra­di­tion­al Quak­erism but want to advance their ideas in the Reli­gious Soci­ety of Friends, but more often (and more dan­ger­ous­ly) it’s used by Friends who know and love what we are but are loathe to say any­thing that might sound controversial.

I’ve told the sto­ry before of a Friend and friend who said that every­time he uses the word com­mu­ni­ty he’s mean­ing the body of Christ. New­com­ers hear­ing him and read­ing his arti­cles could be for­giv­en for think­ing that com­mu­ni­ty is our reason-for-being, indeed: what we wor­ship. The prob­lem is that ten years lat­er, they’ll have signed up and built up an iden­ti­ty as a Friend and will get all offend­ed when some­one sug­gests that this com­mu­ni­ty they know and love is real­ly the body of Christ.

Lib­er­al Friends in the pub­lic eye need to be more hon­est in their con­ver­sa­tion about the Bib­li­cal and Chris­t­ian roots of our reli­gious fel­low­ship. That will scare off poten­tial mem­bers who have been scarred by the acts of those who have false­ly claimed Christ. I’m sor­ry about that and we need to be as gen­tle and hum­ble about this as we can. But hope­ful­ly they’ll see the fruits of the true spir­it in our open­ness, our warmth and our giv­ing and will real­ize that Chris­t­ian fel­low­ship is not about tel­e­van­ge­lists and Pres­i­den­tial hyp­ocrites. Maybe they’ll even­tu­al­ly join or maybe not, but if they do at least they won’t be sur­prised by our iden­ti­ty. Before some­one com­ments back, I’m not say­ing that Chris­tian­i­ty needs to be a test for indi­vid­ual mem­ber­ship but new mem­bers should know that every­thing from our name (“Friends of Christ”) on down are root­ed in that tra­di­tion and that that for­mal mem­ber­ship does not include veto pow­er over our pub­lic identity.

There is room out there for spiritual-but-not-religious com­mu­ni­ties that aren’t built around a col­lec­tive wor­ship of God, don’t wor­ry about any par­tic­u­lar tra­di­tion and focus their ener­gies and group iden­ti­ty on lib­er­al social caus­es. But I guess part of what I won­der is why this does­n’t col­lect under the UUA ban­ner, whose Prin­ci­ples and Pur­pos­es state­ment is already much more syn­cretis­tic and post-religious than even the most lib­er­al year­ly meet­ing. Evolv­ing into the “oth­er UUA” would mean aban­don­ing most of the valu­able spir­i­tu­al wis­dom we have as a people.

I think there’s a need for the kind of strong lib­er­al Chris­tian­i­ty that Friends have prac­ticed for 350 years. There must be mil­lions of peo­ple parked on church bench­es every Sun­day morn­ing look­ing up at the pul­pit and think­ing to them­selves, “sure­ly this isn’t what Jesus was talk­ing about.” Look, we have Evan­gel­i­cal Chris­tians com­ing out against the war! And let’s face it, it’s only a mat­ter of time before “Emer­gent Chris­tians” real­ize how lame all that post-post can­dle wor­ship is and look for some­thing a lit­tle deep­er. The times are ripe for “Oppor­tu­ni­ties,” Friends. We have impor­tant knowl­edge to share about all this. It would be a shame if we kept quiet.