Monday, February 29, 2016

Exchange Calendars in Mozilla Thunderbird with Lightning

This post shows how you may add your Exchange Server calendar to Thunderbird with Lightning Add-on.

1. Install Thunderbird with Lightning. 

Download Thunderbird from Mozilla. The most recent reversions, such as, version 38.6.0 has already included Lightning.

2. Install the Exchange Calendar Lightning Add-on

The Exchange Calendar Lightning Add-on was previously the Exchange EWS Provider Add-on for Lightning that was developed at 1st Setup. It is now being maintained and developed by Ericsson.

Download the binary build of the recent version from its release channel. For instance, you can download directly the binary build of the per-release v3.6-beta1, exchangecalendar-v3.6.0-beta1.xpi.  Save the xpi file and note the location.

Now, you can install the Lightning Add-on.

  1. On Thunderbird, switch to the Calendar Tab by pressing "CTRL-SHIFT-C".
  2. Then go to "Tools", then "Add-ons", "Settings", "Install Add-on from File ...", and finally, select the downloaded xpi file to install. Upon completion, restart Thunderbird. 

3. Add an Exchange Calendar to Thunderbird. 

This step turns out to be a trick part. If you network administrator is cooperative and publicizes the settings for your Exchange Server, your life can be easier. Unfortunately, it has been not my case. Below are the steps you may try.

(1). Set up Exchange Calendar in Thunderbird using Exchange's autodiscovery function

You may follow the instruction provided by the developers of the Exchange Calendar Lightning Add-on and attempt to set up your Exchange calendar in Thunderbird Lighting.  The instruction is "How to Add Your Calendar to Thunderbird".

If this attempt fails, you may try the second approach below.

(2). Set up Set up Exchange Calendar in Thunderbird mannually

When you come to this step, the last attempt must have failed. However, it still sometimes provide you with a piece of useful information, that is, the "Primary email address" that may not necessarily be what you think it should be.

You may follow the steps outlined in "Add a Microsoft Office 365 Calendar" at 1-st Setup.

However, I found that in my case the "Primary email address" and the "Username" were different and the Username must take the form of "" while the "Primary email address" takes the form of "".

You may have to try both combinations to see which one works for you.


  1. Leah S., "Office 365 (Thunderbird) - Exchange Calendar and Tasks Add-On for Lightning,", retrieved on February 29, 2016
  2. Leah S., "Office 365 (Thunderbird) - Configure Thunderbird,", retrieved on February 29, 2016
  3. Mozilla Support Forum, "Thunderbird does not work with office 365,", retrieved on February 29, 2016
  4. Mozilla Developers, "Thunderbird Lightning User Interface,", retrieved on February 29, 2016
  5. 1st Setup Admin, "Add a Microsoft Office 365 Calendar,", retrieved on February 29, 2016
  6. 1st Setup Admin, "Exchange EWS Provider Add-on for Lightning," , retrieved on February 29, 2016
  7. Ericsson Exchange Calendar Team on Github, "How to Add Your Calendar to Thunderbird,", retrieved on February 29, 2016
  8. Ericsson Exchange Calendar Team on Github, "Exchange Calendar Lightning Add-on Release,", retrieved on February 29, 2016

Monday, February 22, 2016

Funding STEM at the Cost of Liberal Arts?

Again, STEM or not? I saw an article in New York Times on funding STEM at the cost of liberal arts. This argument has been going on for a while and this New York Times article is not going to be the last one. Many feel very strong about this, for it or against it.

I am using this post as a bookmark for this type of news articles. I'll come back and add more ...

A Rising Call to Promote STEM Education and Cut Liberal Arts Funding, By PATRICIA COHENFEB. NY Times. 21, 2016.

On Exception Handling

Exception and error handling is a subtle and important issue. This is just a note on a few good reads on exception handling.

Wednesday, February 17, 2016

Tools for Writing

This is just a bookmark on a number of writing tools,
  • Jupyter Notebook. "The Jupyter Notebook is a web application for interactive data science and scientific computing."
  • Authorea. Authorea is the collaborative editor for research. Write and manage your documents in one place, for free. 
  •  Overleaf. Overleaf is a collaborative writing and publishing system for writing and previewing in LaTex.