2. Business
• Please create Posts, not Comments
• Quiz 1 to be posted next Tuesday
• New materials on the site
– Requirements
– Schedule later today
• Concerns about coding level
– Media Studies
– Computer Science
3. Review
• Code, like language, both assumes a
world and constructs worlds
• 10 PRINT showed this
– Close reading of the line of code
– The pattern that the code generated
• Word patterns (an example)
– http://people.virginia.edu/~rca2t/MDST3705/pl
ay/sara.php
• Another example is Conway’s Game of
Life
– Anyone heard of it?
16. What is the relationship between
doing and knowing?
(Ramsay’s argument)
17. According to Ramsay, scholars who
write programs learn something
about knowledge and meaning that
others do not
(He created a big stink in saying so.)
18.
19. “Praxis,” which is German for practice,
refers to a theory of knowledge
This theory holds that only knowledge
based in and oriented to action is valid
Assocaited with Marxism, but also with
American Pragmatism (Perice, James,
Dewey)
21. Hackers and painters are also at
odds …
Plato banished the poets (which
included painters) in favor of
philosophers (whose descendants
are computer scientists)
24. Coding and painting, literally speaking,
use different “parts” of the brain
e.g. Visual vs. Syntactic
People skilled at one are not
usually skilled at the other
25. The code reflects this division of labor
Good software is always the
collaboration of “hackers” and
“painters”
Graham’s implicit point is that hackers
and painters can get along because they
both have a creator’s approach to
knowledge
33. PHP Values
• Strings are in quotes
– $foo = “BAR”;
– $foo = „BAR‟;
• Double quotes mean you can put variables
inside the string
– $foo = “BAR $baz”;
• Numbers have no quotes
• Booleans have no quotes
– true
– false
34. PHP Operators
• Numeric
+-/*%
• Strring
. (the “dot” operator)
e.g. “This ” . “and that” = “This and that”
• Boolean
&& || < > == != <= >=
and or xor
e.g. if ($x < $y) { … }
35. Regarding Truth
• The “true” is that which has a positive or
negative value
• The “false” is that which has a no value,
other 0 or an empty string