Behdad Esfahbod's daily notes on GNOME, Pango, Fedora, Persian Computing, Bob Dylan, and Dan Bern!

My Photo
Name:
Location: Toronto, Ontario, Canada

Ask Google.

Contact info
Google
Hacker Emblem Become a Friend of GNOME I Power Blogger
follow me on Twitter
Archives
July 2003
August 2003
October 2003
November 2003
December 2003
March 2004
April 2004
May 2004
July 2004
August 2004
September 2004
November 2004
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
July 2008
August 2008
October 2008
November 2008
December 2008
January 2009
March 2009
April 2009
May 2009
June 2009
July 2009
August 2009
November 2009
December 2009
March 2010
April 2010
May 2010
June 2010
July 2010
October 2010
November 2010
April 2011
May 2011
August 2011
September 2011
October 2011
November 2011
November 2012
June 2013
January 2014
May 2015
Current Posts
McEs, A Hacker Life
Friday, July 23, 2004
 Preparing the Slides

Ok it's not really tomorrow yet. It's July 19th, 1AM, I'm supposed to prepare slides for my talk tomorrow afternoon 5:15PM, still not started though. Neither I've read what I used to think I need to read before it. I say "I used to think I need" because I'm next to sure that I'm not gonna read. Just got to do the slides. But well, the laptop is there by the queen-sized bed, just have to go over the bed to get it...

...Magically woke up 4AM! Started slides while drinking Ahmad tea after Ahmad tea and smoking Winston after Winston. Well, Yes, the room is smoking. In fact it costs me a lot but I didn't want that. Andrew J Hutton the organizer was assigning we sharing people to suites, there were six of us, and John Lockhart was looking for a smoking room. So Andrew was looking for another smoker to put with him in one suite and pack the other four in another suite, so I volunteered. I mean, I normally don't ask for smoking room since I'm in "quitting" state for a long time now. The point is that, now "the two of us" are supposed to share the bill, not any "the four of us"! :((

Chain-smoking is allowed (and encouraged) when preparing slides or projects which are due in less than 24 hours, but the problem is that, I mean, after smoking a pack of them in a day, you most probably gonna do the same thing for the rest of week. [Update: and that's what's happening now four days after...]

The talk is called FIXME Bidirectional Layouts in GTK+. I decided to do the slides in HTML instead of LaTeX (or Lambda) to take advantage of our beloved OpenType Persian fonts, and well, really easier to write down, and don't need a manual (and I don't have internet at hotel)... And in case need be, I can switch to PHP to get some programming functionality to and avoid using LaTeX beasts just for a simple "for" loop... Which is exactly what happened :-).

I designed the template and it turned out to be quite like my LaTeX presentations, same color theme, and also same markup, in PHP format instead of LaTeX! Did the cover and overview but then it looked like I can't really make any progress there, so turned to the sofa, smoking Winston, drinking Ahmad tea, writing down slides on paper. Wow, it went sooo fast. In half an
hour I did 7 or 8 slides which did all the introductory and basic material, with examples and all. Then started to type them in. Many things changed in the process, but eventually by 8 I had half of the presentation ready, with a fair amount of eye-candy, compared to the pretty technical subject of the talk.

Then I dressed up, a coffee and and headed up to the Ottawa Conference Center, picked up the badge and entered the room. FIXME Havoc's FIXME keynote was already started. It took a while to make the wireless work, but then I just sat on the back of the room on a very comfortable sofa and kept going with the slides full powered. It was just in the afternoon that I found that I've not studied GTK+'s internals at all, so I can't really propose any solutions as I've promised in the FIXME abstract, and gosh, all people put aside, what Owen and Havoc would say? Probably that I just covered the Unicode Bidirectional Algorithm for the beginners...

To get an idea of GTK+'s model for handling direction, I started Glade-2 and looked up the widget properties. Found a couple of interesting ones, tweaked them to different values, put both English and Persian text and saved a few screenshots. Having an idea of what to look for now, I took a few interesting screenshots of applications under both en_US and fa_IR locales, and marked the interesting parts using The GIMP. They turned out better than I expected.

Finally with a bit of greping the GTK+ sources and headers, I compiled a couple of slides showing the GTK+ interface to them, and then fortunately found a couple bugs and misfunctionalities there, proposed best solutions that came to my mind. Wow, was getting something finally. Wrapped up with conclusions and I'm done!

At the end, I even had an hour to stretch and get some coffee before the presentation. It was a long 12-hour presentation-hacking session. But the result was again better than I expected. Here are them.

Comments: Post a Comment



<< Archive
<< Home