Archive for February, 2019

Computer Science Extravaganza!

Thursday, February 28th, 2019

Hey budding computer scientists! You are enthusiastically encouraged to present a cool program you’ve been working on at the 2019 Computer Science Extravaganza! I’ll award up to +10XP for participating in this activity and doing our department proud. (Note: please no Zorks.) There’s even a special prize category for students at your level!





Level up

Thursday, February 28th, 2019

I’ve finished grading the Zork Is, and am proud of how well everyone did! Also, check out the scoreboard — we have our first swordsman of the semester! Great job, NightmareOn32ndStreet!



Keep up the good work everybody!

Stephen’s Zork I solution posted

Saturday, February 23rd, 2019

I have uploaded my own Zork I solution to Canvas — it’s in a bundle called stephenI.git in the files tab. If you had trouble getting Zork I working, or for any other reason you just want to start with mine, you are welcome to use this repo as your starting point for Zork II.

To do so:

  1. Download stephenI.git from Canvas to your computer.
  2. Upload stephenI.git to your Google Cloud instance using Filezilla or some other file transfer program.
  3. Clone this bundle, by issuing the command:
    $ git clone stephenI.git zorkII
    

    (Replace “zorkII” with any name you like; git will create a directory of that name and unpack the bundle in there.)

  4. You can now proceed with a stable foundation on which to build your Zork II. Add/modify/edit the files in your zorkII (or whatever you named it) directory, perform commits and such from that point on, etc.

Send questions!

Configure git to use vim

Friday, February 22nd, 2019

As mentioned in class today, some people’s git configuration is apparently set up to use the “nano” editor instead of vim, which is of course what you want. To fix this, type:

$ git config --global --replace core.editor vim

Also, after this, you can view/edit your git configuration at will by typing:

$ git config -e --global

Hydration code posted (Resort example)

Thursday, February 21st, 2019

The code for today’s hydration example (the reservation system with resorts) has been posted to the class git repo. Assuming you have previously “git clone“d it, you may “git push” to get the latest changes.

Snow Day office hours

Wednesday, February 20th, 2019

Snow Day today, but I’ll be online all day and happy to answer email questions!

Also, just a reminder that tomorrow’s office hours are changed from 2-3pm to 10-11am.

Today’s code posted

Tuesday, February 19th, 2019

The in-class XP activity from today has been posted, as well as the beginnings of the “Resort” hydration and persistence example. You can do a “git pull” as usual to pull this code into your clone of the class github repo.

Office hours switch

Monday, February 18th, 2019

I’ll be very likely traveling to an away basketball game this Thursday (Feb 21st), so I have to reschedule my office hours for that day. That day only, I’ll have office hours at 10am instead of the usual 2pm Thursday time.

Zork II posted!

Monday, February 18th, 2019

Due to popular demand, I have gone ahead and posted Homework #3 so you can go ahead and get started on it. Note that it is due at the end of spring break. Hence, you have two choices:

  1. Do not procrastinate. In this case, you can probably finish Zork II before spring break begins, and you will have no homework for this class “over the break.”
  2. Procrastinate. In this case, you will be spending a chunk of your spring break writing code for this assignment.

Either way’s okay with me! (In case you’re wondering, yes: I’ll be online a fair bit during spring break to answer questions.)

Identicality and comparison code posted (Car example)

Friday, February 15th, 2019

The code for today’s .equals() and .compareTo() demonstration has been posted to the class git repo. Assuming you have previously “git clone“d it, you may “git push” to get the latest changes.