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:
- 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.
- Next, if you plan to work off campus or use HCGuest wifi or other
untrusted networks, install the Holy Cross VPN..
- 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.
- 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
- Emacs hints
& cheat sheet - if you use emacs and forget the basic key combinations.
- Emacs tutorial for beginners - if you want a step-by-step
guide to using emacs.
- Vim tutorial for beginners - Vim is the major
alternative to Emacs (nearly all serious "systems programmers" use one or the other). If you grow tired and frustrated
with emacs, give vim a try. But beware: while emacs will drive you batty with command-shift-meta-whatever key
combinations, you will probably find vim very unusual at first. So you should read a little about it before even
trying to run it.
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.
-
repl.it is a popular online
editor and compiler that supports Java and dozens of other languages.
-
tutorialspoint coding ground
is probably the nicest of the online compilers I have seen, with a large
editor, and a shell at the bottom where you can run and interact with the program.
- ideone.com offers lots of languages. It
seems a tad slow compiling.
- codepad.org offers many languages too,
and it is quick. But you can't specify the program's input at all.