Showing posts with label computing. Show all posts
Showing posts with label computing. Show all posts

Wednesday, November 30, 2011

Support the stackexchange for computational science

There is a new site on stackexchange for discussing computational science!  Please come participate -- there are already some great discussions.  The site is now in public beta, so you don't need an invitation.

In case you don't know about stackexchange, you may also be interested in the folowing:

Wednesday, November 2, 2011

A better way to do multiple Gmail signatures: canned responses

I have both my personal and professional e-mail forwarded to a single Gmail account for convenience. One complication this causes is the need to use different signatures for correspondence from a single account. In the past, I've used the Blank Canvas Gmail Signatures extension in Firefox, but that has two drawbacks:

1. It has to be installed and the signatures configured separately on each computer I use.

2. It only works in Firefox.

Credit goes to an entry at thenextweb.com for pointing out a better way.  Just use the Gmail labs feature "canned responses".   Save each of your signatures as a canned response, and then you can add it automatically when composing messages.  This works in every browser and only needs to be set up once.  Contrary to what it says on thenextweb.com, you can include html in your signatures when using this method.

Something to watch out for: canned responses are actually saved as messages in your drafts folder.  They are hidden in the usual Gmail web view, but are visible in basic HTML mode or if you access mail through your phone.  Don't delete them.

Tuesday, November 24, 2009

Getting things to install for the correct shell in Mac OS X

In addition to blogging about KAUST here, I'm also going to post little useful tidbits related to scientific computing in OS X. Today I was setting up my new Mac Pro. After installing the Enthought Python Distribution, I found that ipython was not in my path (and the python in my path was not the enthought-installed version).

The culprit was the following: I had changed shells in Terminal's preferences to tcsh, but somehow the EPD installer didn't detect this and thought I was still using bash. Thus the modifications to my path were placed in ~/.bash_profile rather than in ~/.cshrc. That was easy enough to fix, but to avoid similar problems in the future, I opened a Terminal and typed

chsh -s /bin/tcsh

so that next time the installer would know my default shell.