Lab 1: up and running
be able to start up DrRacket,
be able to run trivial programs (numbers, strings), and
have completed the intro survey
1 Intro Survey
Before doing anything else, you should complete the Day-1 CSC123 survey.
2 Starting DrRacket
We’ll all be using iMacs in lab this quarter. Here’s one way to start DrRacket:
Open a new Finder window,
click the "Applications" item on the far left,
double-click the "Racket 5.3" folder, and
double-click the "DrRacket" item.
You can also drag it down to the dock, so you don’t need to go through this navigation every time.
3 Getting RSound installed
After starting DrRacket for the first time, you’ll need to choose a Language. Choose the "Beginning Student" language.
In order to use sound in DrRacket, you’ll need to have the "RSound" package installed. In order to install it automatically, run this program:
(require (planet clements/rsound:3)) (play ding)
This will take absolutely forever–actually, about five minutes. While you’re waiting, you can get started on reading the Prologue, the next lab (lab 2). When it’s done, you’ll probably see a bunch of unimportant error messages about an inability to write to a file called "mumble_errs.zo"; you can ignore those. At the end of it all, you should hear a "ding".
Now, try running the program *again*. This time, you should only have to wait about ten seconds to hear the ding.
Let me know when you’re done; I’ll come and give you a completion number.