teaching machines

CS 145 Lecture 12 – Relational Operators

September 30, 2015 by . Filed under cs145, fall 2015, lectures.

Agenda

TODO

Note

  1. someone is eligible for Social Security
  2. the batter can walk to first base
  3. someone is polygamous
  4. someone’s guessed the wrong number
  5. someone who’s been drinking can drive legally
  6. your love’s name is tattooable on your knuckles
  7. a string is blank
  8. a number of the format “(#)” is bigger than 100

Code

Relating.java

/usr/lib/ruby/2.7.0/rubygems/dependency.rb:311:in `to_specs': Could not find 'coderay' (>= 0) among 56 total gem(s) (Gem::MissingSpecError)
Checked in 'GEM_PATH=/.gem/ruby/2.7.0:/var/lib/gems/2.7.0:/usr/lib/ruby/gems/2.7.0:/usr/share/rubygems-integration/2.7.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0:/home/johnch/.gems', execute `gem env` for more information
	from /usr/lib/ruby/2.7.0/rubygems/dependency.rb:323:in `to_spec'
	from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_gem.rb:62:in `gem'
	from ./coderay:24:in `
'

Haiku

Happy birthday, Dad
I wish you’d reached a number
Greater than 60