From leavens@cs.iastate.edu Mon Sep 16 22:11:48 2002 Date: Mon, 16 Sep 2002 22:07:52 -0500 (CDT) From: Gary T. Leavens To: Jason Cc: Gary Leavens Subject: Re: statements examples Jason, On Mon, 16 Sep 2002, Jason wrote: > I was wondering where you postes the statements class and java files from class > last week on the webpage. I was looking for them to begin preparing for the > exam, but I cannot find them on the rescources page or the lecture notes page. Those are available from the course lecture notes directory. The easiest way to get to them is from the link on the syllabus web page. http://www.cs.iastate.edu/~cs362/syllabus.shtml But you can also find them from the department machines in /home/course/cs362/public/lectures/inheritance-polymorphism/ The subdirectory BadStatements has the original, and Statements has the fixed version. You can file these in with Eclipse using the .classpath and .project files there, although the .classpath may be somewhat specific to my setup. -- Gary T. Leavens Department of Computer Science, Iowa State University 229 Atanasoff Hall, Ames, Iowa 50011-1041 USA http://www.cs.iastate.edu/~leavens phone: +1-515-294-1580 ---------------------------------------------------------------- From leavens@cs.iastate.edu Mon Sep 16 22:12:22 2002 Date: Mon, 16 Sep 2002 22:11:08 -0500 (CDT) From: Gary T. Leavens To: Erfi80@aol.com Cc: Gary Leavens Subject: Re: CS 362 Homework 2 question Eric, On Mon, 16 Sep 2002 Erfi80@aol.com wrote: > I was wondering if you had any suggestions for any easy to learn web page > creators? For those of us not experienced with web pages...? I personally use the Composer in Netscape (or Mozilla, see www.mozilla.org) a lot, and it has the advantage of being free. I'm sure that there are other shareware or freeware tools. I think you can also use MS Word if you have that, or of course, MS FrontPage. -- Gary T. Leavens Department of Computer Science, Iowa State University 229 Atanasoff Hall, Ames, Iowa 50011-1041 USA http://www.cs.iastate.edu/~leavens phone: +1-515-294-1580 ------------------------------------------------------ From leavens@cs.iastate.edu Thu Sep 19 19:34:44 2002 Date: Thu, 19 Sep 2002 19:34:14 -0500 (CDT) From: Gary T. Leavens To: vkijenn@iastate.edu Cc: Gary Leavens Subject: Re: cs362 hw2 #1a) Hui-Juan Sim, On Thu, 19 Sep 2002 vkijenn@iastate.edu wrote: > I am trying to do part a of hw2. I have followed the instructions to create > the WWW folder in my cs directory, and also successfully copied the files from > the StickSync project into my directory. How can I know if I did everything > right? I tried to look at my own cs website > (http://www.cs.iastate.edu/~vkisim/cs362/vision.shtml), but I got the message > that I am not authorized to view the page. > 1) Is there anything else that I need to do to setup my webpage? I get the same. It's probably a permission problem. I think you need to also do the following command: chmod a+x ~ to the Linux shell. I omitted this from the homework by mistake. Can you please try that and let me know if that fixes the problem? > 2) Can I copy the format of the StickSync, and just change the content, or do I > have to create a file from scratch? You can just change the content. -- Gary T. Leavens Department of Computer Science, Iowa State University 229 Atanasoff Hall, Ames, Iowa 50011-1041 USA http://www.cs.iastate.edu/~leavens phone: +1-515-294-1580 ---------------------------------------------------------- From leavens@cs.iastate.edu Fri Sep 20 01:28:47 2002 Date: Fri, 20 Sep 2002 01:22:13 -0500 (CDT) From: Gary T. Leavens To: Evan Rothmayer Cc: Tongjie Chen , Gary Leavens Subject: Re: Test notes Evan, On 19 Sep 2002, Evan Rothmayer wrote: > I was wondering what your policy is on test notes. Are we allowed to > type up notes, for example? Also, is it okay to use notes that were > developed by several people simultaneously? Thanks for your help. Yes, it's open book and notes. Making up notes is a good idea. It's okay if you made up notes together, but everyone must have their own copy; during the test I won't allow anyone to pass paper to another person. -- Gary T. Leavens Department of Computer Science, Iowa State University 229 Atanasoff Hall, Ames, Iowa 50011-1041 USA http://www.cs.iastate.edu/~leavens phone: +1-515-294-1580 -------------------------------------------------------- From leavens@cs.iastate.edu Fri Sep 20 10:35:06 2002 Date: Fri, 20 Sep 2002 09:07:40 -0500 (CDT) From: Gary T. Leavens To: Hui Juan Sim Cc: Gary Leavens Subject: Re: cs362 hw2 #1a) Hui-Juan Sim, On Thu, 19 Sep 2002, Hui Juan Sim wrote: > I just did the chmod command, but I still get the > same message. Do I need to wait for a certain period > of time for it to activate? Perhaps. If it's not working today do chmod a+rx ~ chmod a+rx ~/WWW chmod -R a+r ~/WWW/* and let me know if that makes it work. > One more question about the test. My roomate and I > are taking the same course, and we shared the same > copy of the textbook when doing the homework. Can we > share it for tomorrow's exam, too? Absolutely not. You are forbidden from passing any papers among yourselves during the exam. Make a copy if you want, but no direct communication with others during the exam, please. -- Gary T. Leavens Department of Computer Science, Iowa State University 229 Atanasoff Hall, Ames, Iowa 50011-1041 USA http://www.cs.iastate.edu/~leavens phone: +1-515-294-1580 ------------------------------------------------------------- From leavens@larch.cs.iastate.edu Sat Sep 21 17:05:25 2002 Date: Sat, 21 Sep 2002 16:59:24 -0500 (CDT) From: Gary T. Leavens To: sytan3@iastate.edu Subject: Re: hw prob Hi, On Sat, 21 Sep 2002 sytan3@iastate.edu wrote: > Hi! I have some problems doing the homework. > > Although I create the WWW directory and doing all the steps like chmod.., but > still can't see my website online. I saw all the files in my directory. Did you do (on the department machines): chmod a+x ~ mkdir WWW chmod a+rx WWW to get the permissions right? Did you do this on the Com S department machines (as opposed to project Vincent machines or machines elsewhere)? I wonder if maybe the problem is you are simply not using the department machines to do this... -- Gary T. Leavens Department of Computer Science, Iowa State University 229 Atanasoff Hall, Ames, Iowa 50011-1041 USA http://www.cs.iastate.edu/~leavens phone: +1-515-294-1580 ------------------------------------------------------- From leavens@cs.iastate.edu Sat Sep 21 22:37:02 2002 Date: Sat, 21 Sep 2002 22:36:28 -0500 (CDT) From: Gary T. Leavens To: sytan3@iastate.edu Cc: Gary Leavens Subject: Re: hw prob Sze Yiing, On Sat, 21 Sep 2002 sytan3@iastate.edu wrote: > Hi! I think I still don't know what is business case although I have a look on > the web site. Do you have another example? See Larman's book, section 7.4, especially p. 91. -- Gary T. Leavens Department of Computer Science, Iowa State University 229 Atanasoff Hall, Ames, Iowa 50011-1041 USA http://www.cs.iastate.edu/~leavens phone: +1-515-294-1580 ------------------------------------ From leavens@cs.iastate.edu Mon Sep 23 22:23:15 2002 Date: Mon, 23 Sep 2002 21:23:28 -0500 (CDT) From: Gary T. Leavens To: Evan M Hennis Cc: Tongjie Chen , Gary Leavens Subject: Re: Project vision web site Evan, On Mon, 23 Sep 2002, Evan M Hennis wrote: > I am trying to get my project vision available for public viewing but it > keeps giving me the access denied screen. I don't know why. I am CS major > and I made the WWW folder and the homepage.html file. Do you have any > ideas? I have had this done since 3:00 yesterday. Here's the problem. popeye 1001$ ls -ld ~ehennis ls -ld ~ehennis drwx------ 7 ehennis ugrad 1024 Sep 22 15:34 /home/ugrad1/ehennis You haven't given permission to your home directory, so the WWW server can't access it. You need to do, as it says in the homework, on the Com S Linux machines (e.g., popeye): chmod a+x ~ chmod a+rx WWW When you do that, it should work, I think right away... -- Gary T. Leavens Department of Computer Science, Iowa State University 229 Atanasoff Hall, Ames, Iowa 50011-1041 USA http://www.cs.iastate.edu/~leavens phone: +1-515-294-1580 --------------------------------------------------- From leavens@cs.iastate.edu Tue Sep 24 14:14:04 2002 Date: Tue, 24 Sep 2002 14:12:20 -0500 (CDT) From: Gary T. Leavens To: Erfi80@aol.com Cc: Gary Leavens Subject: Re: CS 362 Homework 2 URL Eric, On Tue, 24 Sep 2002 Erfi80@aol.com wrote: > my URL for my PONG project is STILL not showing up, what's going on??? the > main page is homepage.html and the glossary is glossary.html... > > If you could please let me know what is going on, or what I did wrong, I > would appreciate it. I need to know this for another class that is also > asking me to post a webpage.... > > according to the homework, my URL "should" be: > > http://www.cs.iastate.edu/~dday/cs362/homepage.html Here's the problem, popeye 1003$ ls -ld ~dday/WWW/cs362 ls: /home/class/dday/WWW/cs362: No such file or directory either you don't have a cs362 directory in your account, or the rest of the world doesn't have permissions to see it. I can see that you have a WWW directory with the right permissions. -- Gary T. Leavens Department of Computer Science, Iowa State University 229 Atanasoff Hall, Ames, Iowa 50011-1041 USA http://www.cs.iastate.edu/~leavens phone: +1-515-294-1580 ----------------------------------------------------------------- From leavens@cs.iastate.edu Tue Sep 24 16:20:05 2002 Date: Tue, 24 Sep 2002 15:35:22 -0500 (CDT) From: Gary T. Leavens To: Erfi80@aol.com Cc: Gary Leavens Subject: Re: CS 362 Homework 2 URL Eric, On Tue, 24 Sep 2002 Erfi80@aol.com wrote: > Alright, > > So I try the URL: > > http://www.cs.iastate.edu/~dday/homepage.html > > You are saying that if my page is sitting in my WWW dir., it should pop up. > I think the permissions issue you were talking about in class is still > affecting me then, as I get an error page stating: > > Forbidden > You don't have permission to access /~dday/homepage.html on this server. Here's the problem: popeye 1003$ ls -ld ~dday/WWW/homepage.html -rw------- 1 dday class 5542 Sep 18 11:59 /home/class/dday/WWW/homepage.html You have to do: cd ~/WWW chmod a+r homepage.html to grant the server permission to read the page to show it to viewers. -- Gary T. Leavens Department of Computer Science, Iowa State University 229 Atanasoff Hall, Ames, Iowa 50011-1041 USA http://www.cs.iastate.edu/~leavens phone: +1-515-294-1580 ---------------------------------------------------------------- From leavens@cs.iastate.edu Wed Oct 9 20:15:22 2002 Date: Wed, 9 Oct 2002 20:14:58 -0500 (CDT) From: Gary T. Leavens To: Jason Cc: Tongjie Chen , Gary Leavens Subject: Re: HW 4 part 3 Jason, On Wed, 9 Oct 2002, Jason wrote: > I am writing in reguards to the Add Reservation portion of Homework 4. Most > specifically the Extensions of the customer's need to fly to a destination that > the airline does not serve, or possibly there is a city where an airport does > not exist. > > What kinds of cooperation are there between airlines in this market? Assume that each airline can book flights on all other airlines, although they won't if they don't have to. > Does the airline serve all airports? Is that a valid assumption? No airline serves all airports. > These questions make a big difference in how I would approach the Extensions of > the Main Success Scenario. Hope these answers help. In general, if you have to make a decision on something like this, you can also just make it and note that you made a decision (on the homework). -- Gary T. Leavens Department of Computer Science, Iowa State University 229 Atanasoff Hall, Ames, Iowa 50011-1041 USA http://www.cs.iastate.edu/~leavens phone: +1-515-294-1580 ------------------------------------------------- From leavens@cs.iastate.edu Wed Oct 9 22:34:47 2002 Date: Wed, 9 Oct 2002 22:33:45 -0500 (CDT) From: Gary T. Leavens To: Tong Siang Chua Cc: Gary Leavens , Tongjie Chen Subject: Re: question about problem 3 for hw 4 Daniel, On Wed, 9 Oct 2002, Tong Siang Chua wrote: > I have a question about problem 3. We are supposed to do a fully dressed format > for "Make a Reservation". > We are making a reservation online that user talks to the system directly, or > something similar to problem 1 and 2 that agent talks to the customer and the > reservation system? We are making it similar to problems 1 and 2 where the agent talks to the customer and the reservation system. The confusion comes perhaps because I said to look at expedia if you were not familiar with the domain. But you are to imagine a travel agent who is making the reservation on behalf of the customer. -- Gary T. Leavens Department of Computer Science, Iowa State University 229 Atanasoff Hall, Ames, Iowa 50011-1041 USA http://www.cs.iastate.edu/~leavens phone: +1-515-294-1580 -------------------------------------------------------------- From leavens@larch.cs.iastate.edu Mon Oct 14 00:48:57 2002 Date: Mon, 14 Oct 2002 00:48:01 -0500 (CDT) From: Gary T. Leavens To: Kevin Morrison Subject: Re: ComS 362 - HW4 Kevin, On Sun, 13 Oct 2002, Kevin Morrison wrote: > I think that the iteration involved in the "Playing a hand of 500" SSD > is a bit unclear. Sometimes the user will generate the lead event and > sometimes the lead information will be given to the user by the system. > Am I correct? Or is there some way around this that I am overlooking? The idea is that the user leads to the first trick only if the user's bid was the highest bid. Then for subsequent tricks the player who took the last trick leads to the next trick. So the user never "decides" to lead directly. In other words, what you are overlooking is the bidding. Also, note that you are only to diagram the main success scenario of this use case, not the alternatives. -- Gary T. Leavens Department of Computer Science, Iowa State University 229 Atanasoff Hall, Ames, Iowa 50011-1041 USA http://www.cs.iastate.edu/~leavens phone: +1-515-294-1580 -------------------------------------------------------- From leavens@cs.iastate.edu Mon Oct 14 19:33:35 2002 Date: Mon, 14 Oct 2002 19:31:32 -0500 (CDT) From: Gary T. Leavens To: Steve Shaner Cc: Seth Bacon , Kristina Boysen , Chad Kilgore , Tongjie Chen , Gary Leavens Subject: Re: SSD's in part 6 of HW4 Steve, On Mon, 14 Oct 2002, Steve Shaner wrote: > The problem statement asks us to complete system sequence diagrams for > all the scenarios we'd be implementing. Does this include alternate > scenarios and other extensions or would we be doing simply the "happy > path" as we've done in-class? We only did the "happy path" in class because we assumed that we'd only be implmenenting the first happy path in the first elaboration iteration. So if you also only plan to implement the happy path in a given use case, then you would also only write the SSD for that scenario of the use case. However, if you do plan to implement some alternative scenarios, then you should also do the SSDs for those alternative scenarios. Again, this would only be for those that you plan to implement. -- Gary T. Leavens Department of Computer Science, Iowa State University 229 Atanasoff Hall, Ames, Iowa 50011-1041 USA http://www.cs.iastate.edu/~leavens phone: +1-515-294-1580 ------------------------------------------------------------- From tongjie@cs.iastate.edu Mon Oct 21 18:59:11 2002 Date: Mon, 21 Oct 2002 15:47:54 -0500 (CDT) From: tongjie chen To: com_s_362@cs.iastate.edu Cc: Guy Maurice Howard , Matthew Lentner Canny , Sze-yiing Tan , Chintaka A L Ranasinghe , mrmike@iastate.edu, Tongsiang Chua , Brian E Wicks , Gary T. Leavens Subject: about score change of hw4 problem 3 it is about the fully-dressed use case for making a reservation. I took points off if you make the "primary actor" as customer or user. but later we decide that it is also ok to do so. So you can claim points back if you lose points for that! By the way, a lot of you haven't got your homework back yet, You can pick up the homework either in 3-4pm tomorrow or my regular office hour (MWF 10-11am). --tongjie -- From leavens@cs.iastate.edu Fri Nov 8 02:28:12 2002 Date: Fri, 8 Nov 2002 02:17:46 -0600 (CST) From: Gary T. Leavens To: Arthur Thomas , tongjie chen Cc: Gary Leavens Subject: Re: Group Project (fwd) Hi Tongjie, Arthur, For HW5 you are to code the scenarios that you said you would implement in this iteration. You should probably also do some of the UI work. The "4 days" in homework 5 refers to after you hand things in on Monday. So you should make an appointment to do a demo sometime during the next week. -- Gary T. Leavens Department of Computer Science, Iowa State University 229 Atanasoff Hall, Ames, Iowa 50011-1041 USA http://www.cs.iastate.edu/~leavens phone: +1-515-294-1580