From: Jim B. <ji...@ko...> - 2010-07-06 23:36:06
|
Stefan asked- > I assume that you currently have the working directory of Rails set > to the dropbox folder? Is the 18xx.log file also generated there? > In principle this would leak information to other players as well. No- I cant/never launch rails from the dropbox folder, because that's so fundamentally insecure. Instead, I use a script that sets my directory (elsewhere) and launches rails from a consistent folder 'near' my dropbox (in the file browse). None of the players I play with run from the shared directory, so we never see spurious 18xx.log files. Once, I did see one- but it was from another game (which I wasn't playing), and it made me realize this would be a security problem with autosave files. Btw, you're absolutely right that the desired defaults are very, very different for the two user/player types (real-time, vs pbem)- the idea of having two different command names, that distinguish rtp vs pbem Rails, is an excellent one- with different package commands/defaults/jars/etc. (For reasons like these folder issues, and, to stay consistent with players that are not tech-savvy- we just can't use my.properties config tweaks at all, in practice, for stuff like this- a separate command, with appropriate defaults, might circumvent all those current problems with my.properties for typical pbem (most especially- these subtle, but profound, side effects of current/working-directory issues). Thanks for your comments, consideration and feedback. best, - jim On Tuesday 06 July 2010 01:25:28 Jim Black wrote: > Stefan wrote: >> I added a simple autosave and game recovery mechanism. ... >> The current defaults activate autosave and >> stores a 18xx_autosave.rails file in the current working directory. > > Auto-saving files to the current-working directory is problematic for pbem > games, where players inevitably open the pbem game from a shared dropbox > folder. > > When autosave files appear by magic, it reveals all temporary/session-level > analysis to other players, in real time (by constantly saving temp-files in > the dropbox). > > For this reason, I think it's a pretty undesirable feature (unless Rails > can become more clever about distinguishing shared/game folders, from > personal/config folders, which it doesn't do well imho) .... > > regards, > - jim > > > > --------------------------------------------------------------------------- > --- This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel ------------------------------ Message: 4 Date: Tue, 6 Jul 2010 14:38:12 -0700 From: Chris Shaffer <chr...@gm...> Subject: Re: [Rails-devel] autosave files To: "Development list for Rails: an 18xx game" <rai...@li...> Message-ID: <AAN...@ma...> Content-Type: text/plain; charset=ISO-8859-1 A couple of things. 1) Yes, the 18xx.log file is on Dropbox. 2) Some players, like me, use Rails from multiple computers with multiple operating systems. Any file system that isn't relative to the current directory is problematic - the paths on my home Ubuntu machine, my work Mac laptop, my work Mac desktop and random borrowed or library computers are all different. 3) Many people share all the files on Dropbox - even the executable jar and properties files. I know this is a security risk and not recommended, but it's a fact of life that it happens. 4) PBEM requires frequent saves anyway - between each player's actions. The farthest you ever have to back up is one player action. Thus, autosave doesn't add any functionality that I can see. 5) Yes, some people use Dropbox as a poor man's online play already. If everyone is online, you can just watch as the files update and when your name shows up in the new filename, you know it is your turn. Not sure what you mean about asking for the preferred configuration on first startup, but if that means every time I launch Rails, it would be annoying. I launch an instance of Rails for each action I take in pbem games. -- Chris Please consider the environment before printing this e-mail. On Tue, Jul 6, 2010 at 2:26 PM, Stefan Frey <ste...@we...> wrote: > Jim & Chris, > thanks for your comments. Seems that the preferences for pbem and ftf players > differ substantially here. I am an example of the latter species and I > currently save frequently during ftf play (even if I had no problem so far), > which is a little annoying and would still require some replaying. > > Options in the my.properties will be available: > > save.recovery.active > to activate/deactivate > > save.recovery.filepath=18xx_autosave.rails > to change filename/path information > > A possible solution for the conflicting "defaults" are predefined > configuration files for ftf and pbem plays. > > Maybe even asking for the preferred configuration on the first startup? > > Stefan > > PS: I assume that you currently have the working directory of Rails set to the > dropbox folder? Is the 18xx.log file also generated there? In principle this > would leak information to other players as well. > On the other hand the autosave file would allow an easy synch as you only have > to restore the game from that file. Maybe one should consider dropbox as a > possible "poor man" solution for online play? > > On Tuesday 06 July 2010 01:25:28 Jim Black wrote: >> Stefan wrote: >>> I added a simple autosave and game recovery mechanism. ... >>> The current defaults activate autosave and >>> stores a 18xx_autosave.rails file in the current working directory. >> >> Auto-saving files to the current-working directory is problematic for pbem >> games, where players inevitably open the pbem game from a shared dropbox >> folder. >> >> When autosave files appear by magic, it reveals all temporary/session-level >> analysis to other players, in real time (by constantly saving temp-files in >> the dropbox). >> >> For this reason, I think it's a pretty undesirable feature (unless Rails >> can become more clever about distinguishing shared/game folders, from >> personal/config folders, which it doesn't do well imho) .... >> >> regards, >> ?- jim >> >> >> >> --------------------------------------------------------------------------- >> --- This SF.net email is sponsored by Sprint >> What will you do first with EVO, the first 4G phone? >> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first >> _______________________________________________ >> Rails-devel mailing list >> Rai...@li... >> https://lists.sourceforge.net/lists/listinfo/rails-devel > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > ------------------------------ Message: 5 Date: Tue, 6 Jul 2010 14:40:47 -0700 From: Chris Shaffer <chr...@gm...> Subject: Re: [Rails-devel] autosave files To: "Development list for Rails: an 18xx game" <rai...@li...> Message-ID: <AAN...@ma...> Content-Type: text/plain; charset=ISO-8859-1 p.s. I think what Jim was getting at is that in pbem, it is common practice to play a game forward, taking other player's turns, just to see the outcome of a certain action or set of actions. Then, once a course of action has been decided, you exit without saving, launch again, and take your one action. As you play through perhaps entire operating rounds and stock rounds to see how the trains will fall out, to see how the CGR formation will occur, or whatever, a series of autosaves exposes a lot of potential "thinking ahead" information. It also potentially confuses people because they see all the saves and think it is their turn to act. -- Chris Please consider the environment before printing this e-mail. On Tue, Jul 6, 2010 at 2:38 PM, Chris Shaffer <chr...@gm...> wrote: > A couple of things. > > 1) Yes, the 18xx.log file is on Dropbox. > 2) Some players, like me, use Rails from multiple computers with > multiple operating systems. ?Any file system that isn't relative to > the current directory is problematic - the paths on my home Ubuntu > machine, my work Mac laptop, my work Mac desktop and random borrowed > or library computers are all different. > 3) Many people share all the files on Dropbox - even the executable > jar and properties files. ?I know this is a security risk and not > recommended, but it's a fact of life that it happens. > 4) PBEM requires frequent saves anyway - between each player's > actions. ?The farthest you ever have to back up is one player action. > Thus, autosave doesn't add any functionality that I can see. > 5) Yes, some people use Dropbox as a poor man's online play already. > If everyone is online, you can just watch as the files update and when > your name shows up in the new filename, you know it is your turn. > > Not sure what you mean about asking for the preferred configuration on > first startup, but if that means every time I launch Rails, it would > be annoying. ?I launch an instance of Rails for each action I take in > pbem games. > > -- > Chris > > Please consider the environment before printing this e-mail. > > > > On Tue, Jul 6, 2010 at 2:26 PM, Stefan Frey <ste...@we...> wrote: >> Jim & Chris, >> thanks for your comments. Seems that the preferences for pbem and ftf players >> differ substantially here. I am an example of the latter species and I >> currently save frequently during ftf play (even if I had no problem so far), >> which is a little annoying and would still require some replaying. >> >> Options in the my.properties will be available: >> >> save.recovery.active >> to activate/deactivate >> >> save.recovery.filepath=18xx_autosave.rails >> to change filename/path information >> >> A possible solution for the conflicting "defaults" are predefined >> configuration files for ftf and pbem plays. >> >> Maybe even asking for the preferred configuration on the first startup? >> >> Stefan >> >> PS: I assume that you currently have the working directory of Rails set to the >> dropbox folder? Is the 18xx.log file also generated there? In principle this >> would leak information to other players as well. >> On the other hand the autosave file would allow an easy synch as you only have >> to restore the game from that file. Maybe one should consider dropbox as a >> possible "poor man" solution for online play? >> >> On Tuesday 06 July 2010 01:25:28 Jim Black wrote: >>> Stefan wrote: >>>> I added a simple autosave and game recovery mechanism. ... >>>> The current defaults activate autosave and >>>> stores a 18xx_autosave.rails file in the current working directory. >>> >>> Auto-saving files to the current-working directory is problematic for pbem >>> games, where players inevitably open the pbem game from a shared dropbox >>> folder. >>> >>> When autosave files appear by magic, it reveals all temporary/session-level >>> analysis to other players, in real time (by constantly saving temp-files in >>> the dropbox). >>> >>> For this reason, I think it's a pretty undesirable feature (unless Rails >>> can become more clever about distinguishing shared/game folders, from >>> personal/config folders, which it doesn't do well imho) .... >>> >>> regards, >>> ?- jim >>> >>> >>> >>> --------------------------------------------------------------------------- >>> --- This SF.net email is sponsored by Sprint >>> What will you do first with EVO, the first 4G phone? >>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first >>> _______________________________________________ >>> Rails-devel mailing list >>> Rai...@li... >>> https://lists.sourceforge.net/lists/listinfo/rails-devel >> >> >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by Sprint >> What will you do first with EVO, the first 4G phone? >> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first >> _______________________________________________ >> Rails-devel mailing list >> Rai...@li... >> https://lists.sourceforge.net/lists/listinfo/rails-devel >> > ------------------------------ Message: 6 Date: Tue, 6 Jul 2010 22:05:18 +0000 From: brett lentz <bre...@gm...> Subject: Re: [Rails-devel] autosave files To: "Development list for Rails: an 18xx game" <rai...@li...> Message-ID: <AAN...@ma...> Content-Type: text/plain; charset=ISO-8859-1 On Tue, Jul 6, 2010 at 9:26 PM, Stefan Frey <ste...@we...> wrote: > Options in the my.properties will be available: > > save.recovery.active > to activate/deactivate > > save.recovery.filepath=18xx_autosave.rails > to change filename/path information > As a general rule, we should try to most options that affect loading, saving, and gameplay into the GUI. Properties file options are great for development and "sensible" defaults that few people will want to change. We can then have the GUI update the properties file with the updated settings (if it doesn't already). > A possible solution for the conflicting "defaults" are predefined > configuration files for ftf and pbem plays. > > Maybe even asking for the preferred configuration on the first startup? > > Stefan > ---Brett. ------------------------------ ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ------------------------------ _______________________________________________ Rails-devel mailing list Rai...@li... https://lists.sourceforge.net/lists/listinfo/rails-devel End of Rails-devel Digest, Vol 33, Issue 7 ****************************************** |