Difference between revisions of "Spring 2017/Environment setup"

From LING073
Jump to: navigation, search
m (Using IRC)
(Using a command line)
Line 23: Line 23:
  
 
== Using a command line ==
 
== Using a command line ==
 +
'''Day 1 activity''': Make a directory in ~/Documents for your work in this class.  Use cat to create a file in that directory, use nano to change the contents, and use cat to display it again.
 +
 +
== Options for text editors ==
 +
In this class you will be writing a lot of code (though no programming is required!) so you will want to get comfortable with a text editor.  [http://www.hostingadvice.com/blog/5-popular-text-editors-linux/ This article] outlines the main options available to you in the virtual machine.  If you aren't familiar with any text editors, I recommend gedit for everyday use and nano for use within a terminal.
  
 
== Using git for version control ==
 
== Using git for version control ==

Revision as of 02:41, 13 January 2017

Using a virtual machine

Using GNU/Linux

Editing a wiki

Day 1 activity: log in to the class wiki using your Swarthmore login credentials (link above), and create a user page. Your user page will have a url ending in User:student1, where student1 is your username. It's also linked to at the top of the page after you log in (as your username in red). Write a short introduction including any information you care to share (e.g., name, major, etc.) and a short bulleted list of a couple languages you're considering for your work in this class (or any languages you're interested in, generally, if you haven't thought about this yet). Add the page to the category sp17_students by adding [[Category:sp17_students]] at the very bottom of the page.

Using IRC

Internet Relay Chat is decades-old technology that allows for convenient real-time online messaging for large groups of people, and also between individuals.

The official IRC channel for this class (and unofficial Swarthmore Computational Linguistics IRC channel) is #cl on sccs.swarthmore.edu, kindly hosted by SCCS.

Any arbitrary channel can be started by any user, though. The server must be accessed through the campus network or VPN.

There are good, Free IRC clients for nearly every operating system. The Linux installation in the virtual machine for class comes with HexChat, which is a good option for that environment.

We will be using IRC as a way to interact outside of the classroom, and sometimes in. It can be a good way to ask me for help or clarification on an assignment, in which case your classmates could benefit too. You can also use it to have general discussion among yourselves, or work remotely in groups.

There's also an IRC channel for Apertium. We will be using Apertium and related software throughout the course, so this can be a good place to ask for assistance too.

Day 1 activity: log into the class channel from your virtual machine and greet everyone in the channel.

Using a command line

Day 1 activity: Make a directory in ~/Documents for your work in this class. Use cat to create a file in that directory, use nano to change the contents, and use cat to display it again.

Options for text editors

In this class you will be writing a lot of code (though no programming is required!) so you will want to get comfortable with a text editor. This article outlines the main options available to you in the virtual machine. If you aren't familiar with any text editors, I recommend gedit for everyday use and nano for use within a terminal.

Using git for version control