Re: [racket-dev] overwrite

2011-02-26 Thread Matthias Felleisen

The files I have been editing this morning are not under Git control. 
(And yes, I have on one occasion checked the file via Emacs and didn't
see any difference.) 


On Feb 26, 2011, at 11:35 AM, Jay McCarthy wrote:

 It's from git touching the files and giving them a new timestamp. It
 probably didn't really change.
 
 Jay
 
 2011/2/26 Matthias Felleisen matth...@ccs.neu.edu:
 
 When I use drracket, I frequently get a warning that my file has been 
 modified on disk and the question of whether I want to save the file or 
 revert. Is anyone else suffering from this problem?
 _
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev
 
 
 
 
 -- 
 Jay McCarthy j...@cs.byu.edu
 Assistant Professor / Brigham Young University
 http://faculty.cs.byu.edu/~jay
 
 The glory of God is Intelligence - DC 93


_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


Re: [racket-dev] overwrite

2011-02-26 Thread Matthias Felleisen

I confirm the check syntax observation. 

On Feb 26, 2011, at 11:39 AM, Kathy Gray wrote:

 I also see this quite frequently (for files not under Git control). I was 
 thinking at one point it might be related to when I run check syntax, but I 
 haven't confirmed a repeatable pattern.
 
 -Kathy
 
 
 
 
 On 26 Feb 2011, at 4:36:37, Matthias Felleisen wrote:
 
 
 The files I have been editing this morning are not under Git control. 
 (And yes, I have on one occasion checked the file via Emacs and didn't
 see any difference.) 
 
 
 On Feb 26, 2011, at 11:35 AM, Jay McCarthy wrote:
 
 It's from git touching the files and giving them a new timestamp. It
 probably didn't really change.
 
 Jay
 
 2011/2/26 Matthias Felleisen matth...@ccs.neu.edu:
 
 When I use drracket, I frequently get a warning that my file has been 
 modified on disk and the question of whether I want to save the file or 
 revert. Is anyone else suffering from this problem?
 _
 For list-related administrative tasks:
 http://lists.racket-lang.org/listinfo/dev
 
 
 
 
 -- 
 Jay McCarthy j...@cs.byu.edu
 Assistant Professor / Brigham Young University
 http://faculty.cs.byu.edu/~jay
 
 The glory of God is Intelligence - DC 93
 
 
 _
 For list-related administrative tasks:
 http://lists.racket-lang.org/listinfo/dev
 


_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


Re: [racket-dev] overwrite

2011-02-26 Thread Matthias Felleisen

Well it just occurred for a file under Git but WITHOUT check syntax. 



On Feb 26, 2011, at 11:48 AM, Matthias Felleisen wrote:

 
 I confirm the check syntax observation. 
 
 On Feb 26, 2011, at 11:39 AM, Kathy Gray wrote:
 
 I also see this quite frequently (for files not under Git control). I was 
 thinking at one point it might be related to when I run check syntax, but I 
 haven't confirmed a repeatable pattern.
 
 -Kathy
 
 
 
 
 On 26 Feb 2011, at 4:36:37, Matthias Felleisen wrote:
 
 
 The files I have been editing this morning are not under Git control. 
 (And yes, I have on one occasion checked the file via Emacs and didn't
 see any difference.) 
 
 
 On Feb 26, 2011, at 11:35 AM, Jay McCarthy wrote:
 
 It's from git touching the files and giving them a new timestamp. It
 probably didn't really change.
 
 Jay
 
 2011/2/26 Matthias Felleisen matth...@ccs.neu.edu:
 
 When I use drracket, I frequently get a warning that my file has been 
 modified on disk and the question of whether I want to save the file or 
 revert. Is anyone else suffering from this problem?
 _
 For list-related administrative tasks:
 http://lists.racket-lang.org/listinfo/dev
 
 
 
 
 -- 
 Jay McCarthy j...@cs.byu.edu
 Assistant Professor / Brigham Young University
 http://faculty.cs.byu.edu/~jay
 
 The glory of God is Intelligence - DC 93
 
 
 _
 For list-related administrative tasks:
 http://lists.racket-lang.org/listinfo/dev
 
 
 
 _
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


Re: [racket-dev] overwrite

2011-02-26 Thread Nadeem Abdul Hamid
I get this a lot, using just the binary installer version downloaded
from racket-lang.org. And it happens even when I'm not using
check-syntax, though it might happen more frequently when I do use
check-syntax; hard to tell.



On Sat, Feb 26, 2011 at 12:05 PM, Matthias Felleisen
matth...@ccs.neu.edu wrote:

 Well it just occurred for a file under Git but WITHOUT check syntax.



 On Feb 26, 2011, at 11:48 AM, Matthias Felleisen wrote:


 I confirm the check syntax observation.

 On Feb 26, 2011, at 11:39 AM, Kathy Gray wrote:

 I also see this quite frequently (for files not under Git control). I was 
 thinking at one point it might be related to when I run check syntax, but I 
 haven't confirmed a repeatable pattern.

 -Kathy




 On 26 Feb 2011, at 4:36:37, Matthias Felleisen wrote:


 The files I have been editing this morning are not under Git control.
 (And yes, I have on one occasion checked the file via Emacs and didn't
 see any difference.)


 On Feb 26, 2011, at 11:35 AM, Jay McCarthy wrote:

 It's from git touching the files and giving them a new timestamp. It
 probably didn't really change.

 Jay

 2011/2/26 Matthias Felleisen matth...@ccs.neu.edu:

 When I use drracket, I frequently get a warning that my file has been 
 modified on disk and the question of whether I want to save the file or 
 revert. Is anyone else suffering from this problem?
 _
 For list-related administrative tasks:
 http://lists.racket-lang.org/listinfo/dev




 --
 Jay McCarthy j...@cs.byu.edu
 Assistant Professor / Brigham Young University
 http://faculty.cs.byu.edu/~jay

 The glory of God is Intelligence - DC 93


 _
 For list-related administrative tasks:
 http://lists.racket-lang.org/listinfo/dev



 _
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


 _
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev




-- 
Nadeem Abdul Hamid
Associate Professor, Computer Science
Berry College
PO Box 5014
2277 Martha Berry Hwy NW
Mount Berry, GA 30149-5014
(706) 368-5632
http://cs.berry.edu/~nhamid/

_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


Re: [racket-dev] overwrite

2011-02-26 Thread Robby Findler
Are any of you, by any chance:

  - using a teaching language (via the language menu, not #lang
2htdp/bsl or similar)

  - hitting run and then save right *after* run

when you get this message?

Robby

On Sat, Feb 26, 2011 at 11:10 AM, Nadeem Abdul Hamid nad...@acm.org wrote:
 I get this a lot, using just the binary installer version downloaded
 from racket-lang.org. And it happens even when I'm not using
 check-syntax, though it might happen more frequently when I do use
 check-syntax; hard to tell.



 On Sat, Feb 26, 2011 at 12:05 PM, Matthias Felleisen
 matth...@ccs.neu.edu wrote:

 Well it just occurred for a file under Git but WITHOUT check syntax.



 On Feb 26, 2011, at 11:48 AM, Matthias Felleisen wrote:


 I confirm the check syntax observation.

 On Feb 26, 2011, at 11:39 AM, Kathy Gray wrote:

 I also see this quite frequently (for files not under Git control). I was 
 thinking at one point it might be related to when I run check syntax, but 
 I haven't confirmed a repeatable pattern.

 -Kathy




 On 26 Feb 2011, at 4:36:37, Matthias Felleisen wrote:


 The files I have been editing this morning are not under Git control.
 (And yes, I have on one occasion checked the file via Emacs and didn't
 see any difference.)


 On Feb 26, 2011, at 11:35 AM, Jay McCarthy wrote:

 It's from git touching the files and giving them a new timestamp. It
 probably didn't really change.

 Jay

 2011/2/26 Matthias Felleisen matth...@ccs.neu.edu:

 When I use drracket, I frequently get a warning that my file has been 
 modified on disk and the question of whether I want to save the file or 
 revert. Is anyone else suffering from this problem?
 _
 For list-related administrative tasks:
 http://lists.racket-lang.org/listinfo/dev




 --
 Jay McCarthy j...@cs.byu.edu
 Assistant Professor / Brigham Young University
 http://faculty.cs.byu.edu/~jay

 The glory of God is Intelligence - DC 93


 _
 For list-related administrative tasks:
 http://lists.racket-lang.org/listinfo/dev



 _
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


 _
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev




 --
 Nadeem Abdul Hamid
 Associate Professor, Computer Science
 Berry College
 PO Box 5014
 2277 Martha Berry Hwy NW
 Mount Berry, GA 30149-5014
 (706) 368-5632
 http://cs.berry.edu/~nhamid/

 _
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev

Re: [racket-dev] overwrite

2011-02-26 Thread Kathy Gray
Same answers.
-Kathy

On 26 Feb 2011, at 5:23:56, Matthias Felleisen wrote:

 
 On Feb 26, 2011, at 12:12 PM, Robby Findler wrote:
 
 Are any of you, by any chance:
 
 - using a teaching language (via the language menu, not #lang
 2htdp/bsl or similar)
 
 #lang racket 
 
 
 - hitting run and then save right *after* run
 
 no 
 
 
 
 when you get this message?
 
 Robby
 
 On Sat, Feb 26, 2011 at 11:10 AM, Nadeem Abdul Hamid nad...@acm.org wrote:
 I get this a lot, using just the binary installer version downloaded
 from racket-lang.org. And it happens even when I'm not using
 check-syntax, though it might happen more frequently when I do use
 check-syntax; hard to tell.
 
 
 
 On Sat, Feb 26, 2011 at 12:05 PM, Matthias Felleisen
 matth...@ccs.neu.edu wrote:
 
 Well it just occurred for a file under Git but WITHOUT check syntax.
 
 
 
 On Feb 26, 2011, at 11:48 AM, Matthias Felleisen wrote:
 
 
 I confirm the check syntax observation.
 
 On Feb 26, 2011, at 11:39 AM, Kathy Gray wrote:
 
 I also see this quite frequently (for files not under Git control). I 
 was thinking at one point it might be related to when I run check 
 syntax, but I haven't confirmed a repeatable pattern.
 
 -Kathy
 
 
 
 
 On 26 Feb 2011, at 4:36:37, Matthias Felleisen wrote:
 
 
 The files I have been editing this morning are not under Git control.
 (And yes, I have on one occasion checked the file via Emacs and didn't
 see any difference.)
 
 
 On Feb 26, 2011, at 11:35 AM, Jay McCarthy wrote:
 
 It's from git touching the files and giving them a new timestamp. It
 probably didn't really change.
 
 Jay
 
 2011/2/26 Matthias Felleisen matth...@ccs.neu.edu:
 
 When I use drracket, I frequently get a warning that my file has been 
 modified on disk and the question of whether I want to save the file 
 or revert. Is anyone else suffering from this problem?
 _
 For list-related administrative tasks:
 http://lists.racket-lang.org/listinfo/dev
 
 
 
 
 --
 Jay McCarthy j...@cs.byu.edu
 Assistant Professor / Brigham Young University
 http://faculty.cs.byu.edu/~jay
 
 The glory of God is Intelligence - DC 93
 
 
 _
 For list-related administrative tasks:
 http://lists.racket-lang.org/listinfo/dev
 
 
 
 _
 For list-related administrative tasks:
 http://lists.racket-lang.org/listinfo/dev
 
 
 _
 For list-related administrative tasks:
 http://lists.racket-lang.org/listinfo/dev
 
 
 
 
 --
 Nadeem Abdul Hamid
 Associate Professor, Computer Science
 Berry College
 PO Box 5014
 2277 Martha Berry Hwy NW
 Mount Berry, GA 30149-5014
 (706) 368-5632
 http://cs.berry.edu/~nhamid/
 
 _
 For list-related administrative tasks:
 http://lists.racket-lang.org/listinfo/dev
 
 
 
 _
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


Re: [racket-dev] overwrite

2011-02-26 Thread Robby Findler
The code compares the date of the file when it was last saved to the
date of the file when run is clicked.

Robby

On Sat, Feb 26, 2011 at 12:50 PM, Neil Van Dyke n...@neilvandyke.org wrote:
 Dunno whether this helps...

 I haven't looked at the pertinent Racket code, but errors like this often
 happen in Unix applications because the mtime of the file is in the future
 relative to the current time clock.  Less commonly, because the mtime
 changed since the file was read by the app or since the app last checked.

 The most common case can happen because a VC/CM system is updating the times
 (someone mentioned Git, and some other systems do this), because it's a
 network filesystem and the server and workstation clocks aren't synced
 sufficiently, or because NTP or some other mechanism dangerously jumped the
 current time clock in reverse (usually a good NTP daemon will slow the clock
 rather than jump in reverse).

 Robby Findler wrote at 02/26/2011 01:39 PM:

 Looking at the code, I don't see anything suspicious (assuming that
 after-save-file and file-or-directory-modify-seconds work properly, that
 is).


 --
 http://www.neilvandyke.org/
 _
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev