Howdy. 

 1. Name/username date and time

 2. Major(s)/minor(s)

 3. Do you have the textbook. Do you know what the textbook is? 

 4. Where did you get (will you get) the textbook? 

 4.1 When is your lab? Who is your lab instructor(s)?

 5. Is this class required, and if so, for what? 

 6. Reasons for taking this class.

 7. Expectations (will content be challenging to you or not) for this class. 

 8. Fears or concerns at this stage. 

 9. What would you like to be able to do at the end of the semester to feel 
accomplished (to feel you learned enough). 

10. Comments, questions, suggestions. 

Volunteer dererwin: Erwin , Derek Informatics

Resources. In lab we start by checking silo access. 

We also check access to Canvas. You will submit something first lab just to make sure. 

On silo we start as follows:

login as: dererwin
dererwin@silo.cs.indiana.edu's password:


*******************************************************************
**   Indiana University School of Informatics and Computing      **
**             ** For Authorized Use Only **                     **
*******************************************************************
**  For general SoIC computing information, please see:          **
**      http://help.soic.indiana.edu/                            **
**                                                               **
**  To submit a problem report or question, please see:          **
**      http://help.soic.indiana.edu/request                     **
*******************************************************************


[dererwin@silo ~]$ pwd
/u/dererwin
[dererwin@silo ~]$ ls
bin  README
[dererwin@silo ~]$ ls bin
[dererwin@silo ~]$ ls -l README
-rw------- 1 dererwin students 485 Aug 19 17:53 README
[dererwin@silo ~]$ grep -c . README
9
[dererwin@silo ~]$ cat README
This README file is distributed with new accounts and provides pointers to
some basic information about your new School of Informatics and Computing
Linux account.

  - Please see the SoIC Knowledge Base for general information

        http://help.soic.indiana.edu/

  - You can submit a service request for SoIC help at:

        http://help.soic.indiana.edu/request

  - Specific and detailed information about your Linux account is available at:

        https://uisapp2.iu.edu/confluence-prd/x/DAHTBg
[dererwin@silo ~]$ mkdir c212-workspace
[dererwin@silo ~]$ cd c212-workspace/
[dererwin@silo c212-workspace]$ pwd
/u/dererwin/c212-workspace
[dererwin@silo c212-workspace]$ history
    1  pwd
    2  ls
    3  ls bin
    4  ls -l README
    5  grep -c . README
    6  cat README
    7  mkdir c212-workspace
    8  cd c212-workspace/
    9  pwd
   10  history
[dererwin@silo c212-workspace]$ man pwd
[dererwin@silo c212-workspace]$ man man
[dererwin@silo c212-workspace]$

Next we try to write and compile, then run a program.

[dererwin@silo c212-workspace]$ mkdir 08242016
[dererwin@silo c212-workspace]$ cd 08242016/
[dererwin@silo 08242016]$ clear
[dererwin@silo 08242016]$ pwd
/u/dererwin/c212-workspace/08242016
[dererwin@silo 08242016]$ ls -l
total 0
[dererwin@silo 08242016]$ nano -w One.java
[dererwin@silo 08242016]$ ls -l
total 4
-rw------- 1 dererwin students 220 Aug 24 10:27 One.java
[dererwin@silo 08242016]$ javac One.java
Picked up _JAVA_OPTIONS: -Xms512m -Xmx512m
[dererwin@silo 08242016]$ ls -l
total 8
-rw------- 1 dererwin students 531 Aug 24 10:27 One.class
-rw------- 1 dererwin students 220 Aug 24 10:27 One.java
[dererwin@silo 08242016]$ file One.java
One.java: C++ source, ASCII text
[dererwin@silo 08242016]$ file One.class
One.class: compiled Java class data, version 52.0
[dererwin@silo 08242016]$ java One
Picked up _JAVA_OPTIONS: -Xms512m -Xmx512m
Howdy!
2
5
1.4142135623730951
[dererwin@silo 08242016]$

That's it for silo for now. 

On Windows/Mac we will use DrJava. 

[dererwin@silo 08242016]$ pwd
/u/dererwin/c212-workspace/08242016
[dererwin@silo 08242016]$ ls -l
total 8
-rw------- 1 dererwin students 531 Aug 24 10:27 One.class
-rw------- 1 dererwin students 220 Aug 24 10:27 One.java
[dererwin@silo 08242016]$ cat One.java
class One {
  public static void main(String[] args) {
    System.out.println("Howdy!");
    System.out.println( 2 );
    System.out.println( 2 + 3 ); // 5
    System.out.println( Math.sqrt(2) ); // 1.4142...
  }
}
[dererwin@silo 08242016]$

So download and start then compile run. 

[dererwin@silo 08242016]$ history
    1  pwd
    2  ls
    3  ls bin
    4  ls -l README
    5  grep -c . README
    6  cat README
    7  mkdir c212-workspace
    8  cd c212-workspace/
    9  pwd
   10  history
   11  man pwd
   12  man man
   13  clear
   14  mkdir 08242016
   15  cd 08242016/
   16  clear
   17  pwd
   18  ls -l
   19  nano -w One.java
   20  ls -l
   21  javac One.java
   22  ls -l
   23  file One.java
   24  file One.class
   25  java One
   26  clear
   27  pwd
   28  ls -l
   29  cat One.java
   30  man javac
   31  history
[dererwin@silo 08242016]$

--

Welcome to DrJava.  Working directory is C:\Users\dgerman\Desktop
> 1
1
> 1 + 2
3
> 6 / 2
3
> 3 / 2
1
> 3 % 2
1
> 7 % 5
2
> 7 / 5
1
> 7 / 15
0
> 7 % 15
7
> "what"
"what"
> "w"
"w"
> "w" + "h"
"wh"
> "w" + "h" + "at"
"what"
> 'w'
'w'
> 'what'
Lexical error at line 1, column 3.  Encountered: "h" (104), after : "\'w"
> 'w' + 'h'
223
> 'w' + "hat"
"what"
> 'w' + "h"
"wh"
> 'w' + 'h'
223
> 'w' + 0
119
> '0' + 0
48
> ' ' + 0
32
> '0' + 3
51
> (char) ('0' + 3)
'3'


See you in lab!

--