Thursday, January 31, 2013

Mozilla Community Engagement in Laos

Just across the border lies Laos. This country of fun loving gentle people had a tumultuous history. I recently visited Laos for the first time to help build Mozilla community in Laos.

Writer Thomas Wanhoff lives Vientiane. He is the organizer of Barcamp Vientiane. Mozilla participated in the previous Barcamp Vientiane. Thomas helped me understand the Lao history and culture over few bottles of dark Lao beer. Lack of infrastructure and resources hampered economic growth of Laos. Development aid that poured into this country had made very little difference. Recent efforts to develop internet entrepreneurship haven't been successful. Laos is slowly overcoming these problems. The 3G mobile network provides inexpensive internet connectivity. Large construction projects can be seen in Vientiane, new roads are replacing the pot holed dirt roads.

Visited ICT Association of Laos to talk about the Mozilla mission to promote innovation and choice on the web. Presented a demo of FirefoxOS and interacted with the team of localizers who are interested in localizing Firefox in Lao.

Arky interacting with ICT Association of Laos

Also visited the ICT Center at Dang Dok Campus of University of Laos(NUoL). The university campus is connected with high-speed optic fiber network. ICT Center staff gave me tour of their new e-learning centers computer lab and digital multimedia studio and post-production facilities. The ICT center team expressed their interest to support Mozilla activities.

Now Lao web fonts are available Google web fonts (Early Access) system. This would enable Lao speakers to read localized content on computers and mobile devices that do not include Lao fonts.

The Mozilla Story with Lao Subtitles (Translated by Patthana Vilay)


Next step towards building Mozilla Lao community is get a core team organized and plan community events such as Mozilla Web Maker, Web developer events and Mozilla Lao Firefox localization sprints. Get in touch with me, if you want to get involved in Mozilla Lao community building effort.

Monday, January 28, 2013

Speeding Up Software Rebuilds with CCache

Software developers who routinely rebuild large projects would love ccache. Ccache is a compiler cache. It speeds up software rebuilds by caching the result of previous compilations and detecting when the same compilation is being done again.

I use ccache when compiling Linux kernel, Debian/Ubuntu packages, GNOME applications, Mozilla Firefox, FirefoxOS and Android operating system. You could enable ccache by prefixing ccache to your compilation command or update your system path to include ccache.


# Add the following line to your ~/.bashrc file 
export PATH=/usr/lib/ccache:${PATH}

Alternatively you could create symlinks in ~/bin directory. GNOME 3 jhbuild documentation provides a bash script for this purpose.


cd ~/bin
for cmd in cc gcc c++ g++; do
  ln -s /usr/bin/ccache $cmd
done

To take advantage of ccache while building Mozilla Firefox, append the following line to your .mozconfig.


ac_add_options --with-ccache

If you are compiling Android(ASOP), CyanogenMod or Firefox OS. Android build system includes the ccache program, set the USE_CCACHE environment variable to enable ccache.

$ export USE_CCACHE=1

Further more in-depth information, read the ccache manual page. Please do comment and share your experiences using CCache.






Popular Posts