Here are some tips I got on setting up a computational lab:

  • MacPros are a good investment for high-powered computing, without the fuss of setting up/maintaining Linux boxes. In addition to being available for computationally intensive jobs, you can also free up a couple cores for use as a web server, for backing up data, and even for someone to be physically working directly on the computer. For benchmarking, one useful site (a matrix multiplication benchmark) is here. Even after they aren’t top of the line anymore, several years down the line, they seem to have a longer lifespan than a PC desktop; they can be rededicated to serve as a basic desktop. Make sure to buy at an appropriate time in Apple’s upgrade cycle.
  • A lab is more than about computational power!  You always need people.  It will never be the case that everything can be automated, and there may be intensive manual labeling tasks to be done, which requires the help of many people.  It can be important to have a dedicated space for people working on computers, so that people working on similar tasks can ask each other questions and you questions.
  • For general computing, there are pluses and minuses for whether to have people working on desktops or laptops.  Desktops are obviously more durable since they are subject to less mechanical stress, and also less likely to be stolen, and for computationally intensive work (like people transcribing videos stored on a high-powered machine), it may be impossible to work with laptops hooked up through a network connection. However, they get outdated pretty quickly.  Laptops are obviously portable, and thus necessary for off-site work. In addition, if you rely on students mostly having their own machines, then you don’t have to worry about upgrading every few years, since it naturally happens with each new generation of students.
  • It’s important to have space available for casual meetings, like a place with some table and seating space and a chalkboard.  Such a place should be generally open, rather than constantly booked, so that people know they have a space to go to to discuss things. This is important for maintaining a creative, collaborative atmosphere.
  • It is good to have people working on different things interspersed throughout a building to help spur a collaborative atmosphere, rather than little groups stuck in their own little corners of the building.
  • Rather than paying people to work, consider getting volunteers for research assistantships.  You can offer them their own piece of a larger project, so they really take ownership of it and can have a coherent piece of work to present/publish. This helps distribute ownership of the project and helps the students feel invested in their work. If you want to keep the students on, then you can pay them, after you see them in action.

Carbon Emacs is a nice distribution of Emacs for Mac OSX users. I like it because it comes with a lot of pre-installed packages. I also am a heavy user of org-mode, “an Emacs Mode for Notes, Project Planning, and Authoring.” I keep track of projects and events, take notes, and more or less live out of org-mode buffers. Org-mode tends to get updated much more frequently than Carbon Emacs, so I install more recent versions of org-mode than the one that comes with Carbon Emacs. (You can check which version you have by the command org-version).  How can you get the most recent version of org-mode to load with Carbon Emacs? At least one way to do it is to configure the paths in the Makefile correctly

  1. Download and uncompress the latest version of org-mode. You can get it as a tarball, a zipped file, etc.
  2. Put the new org directory wherever you put your elisp files, say ~/elisp/, e.g. with command mv org-6.24b/ ~/elisp/org
  3. The critical step! Edit the Makefile in the org directory so it compiles org to the right directory for Carbon Emacs. I assume you use Emacs, so you can edit the file in Emacs, or whatever your favorite text editor is. You need to change the paths for local software, local lisp, and local info files to be suitable for Carbon Emacs as follows:

##———————————————————————-
##  YOU MUST EDIT THE FOLLOWING LINES
##———————————————————————-

# Name of your emacs binary
EMACS=emacs

# Where local software is found
prefix=/Applications

# Where local lisp files go.
lispdir = $(prefix)/Emacs.app/Contents/Resources/site-lisp

# Where info files go.
infodir = $(prefix)/Emacs.app/Contents/Resources/info

Everything should run smoothly from here if you follow the installation/activation directions at the Org Manual. Just note that depending on your user privileges, you may need to use the sudo command, i.e. sudo make install and sudo make install-info.

I just got a 2007FP Dell monitor with height adjustable stand. When you adjust the height all the way down, the stand locks with the monitor so that you can transport the monitor safely. But suppose you want to unlock the monitor: you’re supposed to press the lockdown/release button on the bottom rear of the stand, but it gets stuck: you can’t press it!

Lockdown/release button on Dell 2007FP height adjustable stand
What you have to do is push down the monitor just a bit further (it’ll still move a little even though it’s locked down), and then the lockdown/release button will be released.

Stuck with only the option to open PDFs with Preview in Firefox? Want to use another PDF reader? You can change this setting.

You can do this by going to Firefox > Preferences > Content > File Types > Manage…

Screenshot of firefox manage download actions dialog

From there, if there’s an action associated with the pdf extension, you can just select it and select Change Action. In the figure above, you can see that I’ve set PDFs to be open with Skim. If there’s no action associated with a pdf, then just go back to surfing the web and click on a link to a pdf somewhere and set a default application to open the pdf (most likely Preview.App). After you do that, you’ll see an action for pdfs appear in the Manage… window.

For enabling inline PDF viewing, I’m not sure if there’s anything you can do. If you have a PowerPC, apparently there’s a PDF plugin that works on Firefox (and Safari) which allows inline PDF viewing, but it doesn’t work for Intel macs. Apparently Adobe Reader’s plugin only works in Safari (see here and here), so that’s not an option for inline viewing in Firefox, either.

Finally, there’s an extension called PDF download which allows you to choose what actions you want to perform on a pdf for individual pdf files.

To see how to set PDF preferences in Firefox on a PC, see this lifehacker entry.

Design a site like this with WordPress.com
Get started