SPAN 301 SECCIÓN 1. Introducción

Similar documents
GIT. A free and open source distributed version control system. User Guide. January, Department of Computer Science and Engineering

CSE 344: Section 1 Git Setup for HW Introduction to SQLite. September 28, 2017

CSE 344: Section 1 Git Setup for HW Introduction to SQLite

CSE 331 Software Design & Implementation

Pointers, Pointers, Pointers

Git Setup Help using GitKraken (CSE 154)

Pointers, Pointers, Pointers

CSE 391 Lecture 9. Version control with Git

Code Repository. P Blanchfield

Version Control with Git ME 461 Fall 2018

Git(Lab) Tutorial and Hands-On

Lab 01 How to Survive & Introduction to Git. Web Programming DataLab, CS, NTHU

LPF Training Handbook!

EECS 470 Lab 4. Version Control System. Friday, 31 st January, 2014

Lesson 7: Recipe Display Application Setup Workspace

SECTION 2: HW3 Setup.

Object Oriented Programming. Week 1 Part 2 Git and egit

SwanSim - A Guide to Git / SourceTree / GitLab for Windows

A quick (and maybe practical) guide to Git and version control. By Jay Johnson

EGit/Gerrit Hands-on training #1: Installation and Configuration

Software Development I

Modern C++ for Computer Vision and Image Processing. Igor Bogoslavskyi and Cyrill Stachniss

SECTION 1: CODE REASONING + VERSION CONTROL

SECTION 1: CODE REASONING + VERSION CONTROL

Saint Louis University. Intro to Linux and C. CSCI 2400/ ECE 3217: Computer Architecture. Instructors: David Ferry

A brief introduction to the GitLab service at the department

Tutorial 2 GitHub Tutorial

Lab 4: Shell Scripting

SECTION 2: Loop Reasoning & HW3 Setup

Gitlab Setup/Usage by Yifeng Zhu modified by Vince Weaver 30 January 2019

SECTION 2: Loop Reasoning & HW3 Setup

CS3210: Operating Systems

CS1 Lecture 3 Jan. 18, 2019

Version Control with GIT


Django MFA Documentation

CS 390 Software Engineering Lecture 5 More Git

CSCI 350 Virtual Machine Setup Guide

Intro to Linux & Command Line

HW 0: Executable CS 162. Due: January 29, 2018

Git. Charles J. Geyer School of Statistics University of Minnesota. Stat 8054 Lecture Notes

CSE 332: Data Structures and Parallelism Winter 2019 Setting Up Your CSE 332 Environment

CSCE UVM Hands-on Session-1 Pre-Work

Git Magic: Versioning Files Like a Boss. Tommy MacWilliam

Human-Computer Interaction Design

L Modeling and Simulating Social Systems with MATLAB

Midterm Next Week. Last year s midterm (which didn t include remotes):

Tips on how to set up a GitHub account:

Human-Computer Interaction Design

COMP s1 Lecture 1

Lab 4: Bash Scripting

CSC309 Winter Lecture 2. Larry Zhang

Managing Network Configurations with Git and GitLab

Linux and Git Boot Camp

DEVNET Introduction to Git. Ashley Roach Principal Engineer Evangelist

Code and data management with Git

Warmup. A programmer s wife tells him, Would you mind going to the store and picking up a loaf of bread? Also, if they have eggs, get a dozen.

Lecture 3: Processing Language Data, Git/GitHub. LING 1340/2340: Data Science for Linguists Na-Rae Han

Computer Systems Lecture 9

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Gerrit

Getting the files for the first time...2. Making Changes, Commiting them and Pull Requests:...5. Update your repository from the upstream master...

CS1 Lecture 3 Jan. 22, 2018

Version control system (VCS)

Remote Access with Imprivata Two-factor Authentication

Software Project (Lecture 4): Git & Github

Assignment 1: Port & Starboard

Functions in C. Lecture Topics. Lecture materials. Homework. Machine problem. Announcements. ECE 190 Lecture 16 March 9, 2011

Oregon State University School of Electrical Engineering and Computer Science. CS 261 Recitation 1. Spring 2011

Section 2: Developer tools and you. Alex Mariakakis (staff-wide)

Language comparison. C has pointers. Java has references. C++ has pointers and references

The Intro. Aaron Bartell Director of IBM i Innovation. Copyright 2015 Aaron Bartell

Table of Contents. Concepts

Lecture 6: more pandas (and git/github) LING 1340/2340: Data Science for Linguists Na-Rae Han

Project 3 Students Choice of Native Apps. each milestone s deadline is noon see cs164.net/expectations for each milestone s expectations

Lecture 01 - Working with Linux Servers and Git

Today s presentation. Git gdb Project 1

C programming Lecture 2. Marina Krstic Marinkovic School of Mathematics Trinity College Dublin

Introduction to Git. Database Systems DataLab, CS, NTHU Spring, 2018

Software Revision Control for MASS. Git Installation / Configuration / Use

Sample Spark Web-App. Overview. Prerequisites

CS356: Discussion #1 Development Environment. Marco Paolieri

Announcements. assign0 due tonight. Labs start this week. No late submissions. Very helpful for assign1

A short tutorial on Git. Servesh Muralidharan 4 March 2014

CSE 351. Introduction & Course Tools

Object-Oriented Programming, Iouliia Skliarova

Data Structures and Modules

QUIZ How do we implement run-time constants and. compile-time constants inside classes?

C++ DATA TYPES BASIC CONTROL FLOW

Introduction to Programming in C Department of Computer Science and Engineering. Lecture No. #34. Function with pointer Argument

Git & Github Fundamental by Rajesh Kumar.

Introduction to Git and Github Repositories

Memory and Arrays. CSE 333 Spring Instructor: Justin Hsia

LAB 5 (June 15/20, 2017) Pointers and arrays Due: June 24 (Sat) 11:59 pm.

Basic and Practice in Programming Lab7

CS 1110, LAB 1: EXPRESSIONS AND ASSIGNMENTS First Name: Last Name: NetID:

CS 314 Principles of Programming Languages. Lecture 9

Working in Teams CS 520 Theory and Practice of Software Engineering Fall 2018

INET

CSE 374 Programming Concepts & Tools

CS61, Fall 2012 Section 2 Notes

Transcription:

SPAN 301 SECCIÓN 1 Introducción

Nuestros Objetivos Introducción Aprender a decifrar palabras desconocidas Entender las diferencias entre diferentes dialectos del lenguaje española Confundir los estudiantes profundamente y hacerles pensar que estamos en una clase de español

CSE 333 SECTION 1 Introduction

Your TAs Phillip Dang, Renshu Gu, Josh Nazarian, Sixto (Joshua) Rios, Qingda (Bruce) Wen, Zhitao (Reid) Zhang. Emails are posted on the course website Try to use the staff email instead of our individual emails: cse333-staff@cs.washington.edu Office hours are posted everyday 4-5 pm CSE006 Please use the discussion board!

Gitlab Intro - Sign In Sign In using your CSE netid https://gitlab.cs.washington.edu/ Most of you should have repos created for you

SSH Key Generation Step 0: Check if you have a key Run cat ~/.ssh/id_rsa.pub If you see a long string starting with ssh-rsa or ssh-dsa go to Step 2. Step 1: Generate a new SSH key Run ssh-keygen -t rsa -C "$your_e-mail" to generate a new key. Click enter to skip creating or a password git docs suggest creating a password, but it s overkill for 333 and complicates operations Step 2: Copy SSH key run cat ~/.ssh/id_rsa.pub Copy the complete key key starting with ssh- and ending with your username and host Step 3: Add SSH key to gitlab Navigate to your ssh-keys page (In the top menu bar click on profile then SSH Keys in the side menu) Click the green 'Add SSH Key' button in the right corner. Paste into the Key text box and give a Title to identify what machine the key is for.

First Commit git clone <repo url from project page> Clones your repo touch README.md Creates a file called README.md git status Prints out the status of the repo. Should see 1 new file README.md git add README.md Stages a new file/updated file for commit. git status: README.md staged for commit git commit -m "First Commit" Commits all staged files with the comment in quotes. git status: Your branch is ahead by 1 commit. git push Publishes the changes to the central repo. You should now see these changes in the web interface. Might need git push -u origin master on first commit (only)

References SSH Key generation: https://gitlab.cs.washington.edu/help/ssh/readme.md Basic Git Tutorial: http://courses.cs.washington.edu/courses/cse333/16wi/hw/git.html

Quick Refresher on C General purpose programming language Procedural Often used in low-level system programming Supports use of pointer arithmetic Provides facilities for managing memory C passes all of its arguments by value Pass-by-reference is simulated by passing the address of a variable

Pointers A data type that stores an address Used to indirectly refer to values Can add to or subtract from the address It s just another number Address Value a Address p

Example [basic_pointer.c] #include <stdio.h> void f(int *j) { (*j)++; } int main() { } int i = 20; int *p = &i; f(p); printf("i = %d\n", i); return 0;

Arrays and pointers arr[0] <==> *arr arr[2] <==> *(arr + 2) How about arr, arr+2, *arr+2 or *arr++? 5 10 15

Output parameters C parameters are pass-by-value What if you want to modify a passed in parameter? Why would this be useful in the first place? Multiple return values

Output parameters void make4_v1(int i) { i = 4; } void make4_v2(int *i) { int j = 4; } i = &j; void make4_v3(int *i) { } *i = 4; See also: [output_params.c]

Pointers to pointers char *c = hello ; char **cp = &c; char ***cpp = &cp; Why could this be useful?

Function pointers We can have pointers to functions as well Syntax is a little awkward Example: int (*ptr_to_int_fn)(int, int) Makes sense if you think about it We will be using these in the homework assignments! Demo: [function_pointer.c]

Looking up documentation Don t go straight to Google / Stack Overflow / etc. Use the built-in man pages man <program/utility/function> man -f <name> or whatis <name> apropos <keyword> Much more documentation is linked on the 333 home page Under Resources on the left side of the page

Questions, Comments, Concerns Do you have any? Exercises going ok? Lectures make sense?