Dr. Deremer’s Programming Languages Class

Holy poopsicle! This class will be allot of work. I just scanned over this weeks homework, and its slightly on a nutty side. And this is day one. The syllabus said she will require ~6 hours of out of class work. When am I going to write thesis? Crap! I officially don’t have any life from now on 😦

Note to everyone who is taking this class with me. Do yourself a favor, and learn vi. Pico is halfway retarded on a good day. I also suggest compiling vim on freddie. It has few nice advantages, such as better incremental search (with highlighting), auto completion and etc. If you are a total newb, this is what you do:

  1. First grab the source code from vim.org. Best way to do this is by using wget:
  2. wget ftp://ftp.vim.org/pub/vim/unix/vim-6.4.tar.bz2

  3. This is a bz2 package so you will need to do this in two steps. The tar on freddie is archaic so it does not handle gz or bz2 files at all
  4. bunzip2 -d vim-6.4.tar.bz2
    tar -xf vim-6.4.tar

  5. Now, remember that you do not have root privs on freddie, so you need to install the app locally. To do that specify the prefix attribute when running the configure file.
  6. ./configure --prefiz=/home/students/username/
    make install

Note that username here is your pegasus username. That’s it. Just make sure that you add ~/bin/ to your path and you should be able to use vim normally. It worked for me 🙂

Another note – if you are using linux, gnu has a fortran compiler you can use. On debian based systems just do:

apt-get install gfortran-4.0

This should be sufficient to do assignment 1 without ever logging into freddie 🙂

Some links for the homework assignment:

Sigh… I’m seriously thinking about designating Sunday as my official Thesis day and hide from everyone to actually get some work done. I kinda want to walk in May so I can’t afford to procrastinate anymore.

2 Responses to “Dr. Deremer’s Programming Languages Class”

  1. Matt Says:

    My class with her is supposed to be 8 hours. its 287 mixed in with a section of 507. Oy!

  2. Luke Says:

    Ouch! That sucks!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: