News for UCLA Computer Science 131, Winter 2004
- 2004-03-17
- 2004-03-11
- A typo in Project 2
has been corrected. The correct status code for Forbidden is 403,
not 404. Please see Internet RFC
2616 §10.4.3 for details.
- 2004-03-05
-
- Project 2 is available;
it reflects the tentative project discussed in class Wednesday
and in discussion today.
- The Twisted version number has been updated from 1.1.0 to
1.2.0 in resources.
- 2004-03-02
-
A special case has been added to Homework
4 when when x is a NaN and x is y.
In this special case, it is OK if cmp(x,y) returns 0;
internally Python uses is as a short-cut before
invoking your comparison method, and there's no easy way to change
this without modifying the Python
implementation. FloatingPointError must still be
raised if the arguments to cmp are distinct objects
and one is a NaN.
- 2004-03-01
-
- Homework 4's due date has been
extended to Thursday. Project 2's deadline has also been shifted
back; but remember, no assignment will be accepted after the last
day of class.
- Homework 4 has been clarified for
3-argument pow: it should behave as with float,
and thus should always raise TypeError.
- For your convenience, the source code for Python 2.3.3 has
been placed into ~eggert/src/python/Python-2.3.3
on SEASnet.
- 2004-02-26
- Homework 4 is available;
it is essentially what was discussed in class yesterday.
- 2004-02-17
- Homework 3 is available;
it is due one week from today.
- 2004-02-12
-
- Homework 1 grades are available; please
see Jonathan's comments
on the grading.
- Homework 2 has been simplified. You need to implement
only the forwards case, where the first argument to english_c/2 is
a ground term. If you want to do the original version of Homework 2, including
the "backwards" case as well (where the second argument is a ground term), you
can turn this in as well, for 50% extra credit.
- Some examples have been added to Homework 2.
- In Homework 2, the C operators | and % have
been quoted, as discussed in class.
- 2004-02-09
-
- Homework 1 now contains a solution.
- The midterm will cover all the material covered in lecture
and discussion sections, along with Homeworks 1 and 2, Project 1,
and Sebesta §§1-3.3, 15, 16.
- Winter 2003's midterms and
answers are available. However, that quarter we covered topics
in a different order, and used a different language (m4 rather
than Python). Therefore, not all of the questions and answers will
be directly applicable for studying for the midterm this quarter,
and some of this quarter's pre-midterm topics (notably Prolog)
were not covered by the old midterms. Also, an earlier edition of
Sebesta was used, so the page and section numbers might not match
your copy of Sebesta.
- 2004-02-04
-
- Homework 2 is available.
- The deadlines for Project 1, Homework 2, and Homework 3
have been adjusted.
- Jonathan's office hours have been added
to the course schedules.
- 2004-02-03
- begin has been added to the list
of Scheme primitives that a matcher can use in Project 1. This isn't strictly necessary,
since (begin A B C) is equivalent to
((lambda () A B C)), but it is a
convenience.
- 2004-02-01
- In Project 1, the
last line of nonemptymatch has been changed from
(not (eq? frag frag1)))))) to (and (not (eq?
frag frag1)) frag1))))), so that on success it returns the
unmatched suffix rather than simply returning #t.
- 2004-01-28
- As previously announced, Jonathan will not be
on campus Friday. The morning section will still be held at the
same time/place (10:00, Public Policy 1234). Gary Underwood, a
previous TA for this course, has graciously agreed to teach the
section. The afternoon section will not be held. To make up for
this, Jonathan is holding a section tonight at 19:00 (to let people
eat between 131's), hopefully in the same room the usual afternoon
section (Boelter 5264). If the room is occupied, he'll leave a note
as to where to go. Those of you who are in the morning section are
welcome to join.
- 2004-01-23
-
- Project 1 is available. Its due
date has been changed to 02-02. Homework 2's due date has also
been moved, to 02-09.
- As was mentioned in class Wednesday, Homework 1's due date
was moved to 01-21.
- 2004-01-15
- A web discussion
board is available for the class. Jonathan will monitor it
regularly.
- 2004-01-07
-
- The room for discussion section 1B (Friday at 10:00) has been
changed to Public Policy 1234.
- Obtain or renew your SEASnet
account right away, as there are occasionally delays before
your account is activated.
© 2004 Paul Eggert.
See copying rules.
$Id: news.html,v 1.145 2004/03/18 02:02:38 eggert Exp $