CSCI 131 / Spring 2024

Techniques of Programming

Practice and Review

Useful Software: Working Remotely Outside the Lab

CSCI 131 is fully in-person this semester. Even so, you may like to work remotely from your own computer, especially later in the semester as you work on larger individual projects outside of lab time. To do so, you will need to install certain (free) software on your own computer to access the computing resources we rely on. This page has extensive details on how to access our computing systems remotely. Specifically, for CSCI 131 typical minimum setup involves these steps:

  1. First, follow these instructions to install Visual Studio Code and the associated Remote - SSH extension, and configure them to access our Linux server named logos. Test your connection to make sure you can log in to logos and browse the files in your home directory. This is the most user-friendly way to access and edit your logos files remotely.
  2. Next, if you plan to work off campus or use HCGuest wifi or other untrusted networks, install the Holy Cross VPN..
  3. Then, follow these instructions to learn how to use SSH to connect to logos. While you can use the remote-access features of Visual Studio Code for most things, there are times when it is helpful to have plain SSH instead. This is a more advanced and powerful access method. Follow the instructions to make sure you can log in to logos using SSH.
  4. Lastly, follow these instructions to learn how to obtain full graphical remote access to logos. We won't need this for most work, only for a few particular projects that involve writing graphical programs.

Emacs and VIM Help

Online Java Editors and Compilers

Several programs let you try out short programs in java or many other languages right in the browser. Here are some popular ones. Just select java from the language menu, type or paste in your code, and click submit to compile and run it. Note: These compilers are not guaranteed to match the exact version of java we use on our server. You are responsible for checking that all your code compiles and runs properly on logos. On the other hand, for quick testing, these sites can be handy.