This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

on being alone

 
Keith Jones
Ranch Hand
Posts: 105
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Another question

In the document under the heading "Network Approaches" it says "� the program must allow the user to specify the location of the database, and it must accept an indication that a local database is to be used �". My question here is does this mean that if the user's command line parameter is either "" or "server" that they still even then should be allowed to use "alone" mode or does this simply refer to the "alone" mode?

And what do they mean by "indication"? Do they mean you must have a label or something saying "You are using a local database" or do they mean that by being in "alone" mode you will have to select a local db file and that that would be your indication.
 
Mark Smyth
Ranch Hand
Posts: 288
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Keith Jones:
Another question

In the document under the heading "Network Approaches" it says "� the program must allow the user to specify the location of the database, and it must accept an indication that a local database is to be used �". My question here is does this mean that if the user's command line parameter is either "" or "server" that they still even then should be allowed to use "alone" mode or does this simply refer to the "alone" mode?

And what do they mean by "indication"? Do they mean you must have a label or something saying "You are using a local database" or do they mean that by being in "alone" mode you will have to select a local db file and that that would be your indication.


I think that this is a confusing sentence and is a bit ambigious. I think that the best innterpretation is that 'alone' argument is indication that a local database is to be used. This is the interpretation that I have taken and below is the main method to start the app.

 
Chulwoo Choi
Ranch Hand
Posts: 65
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I would paraphrase
...(requirements when in "server" mode)... and it must accept an indication that a local database is to be used, in which case...

as
...(requirements when in "server" mode)... but the program must also consider the case when it runs in "alone" mode, in which case...


Chulwoo
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic