Re: [racket-users] Re: Why would delete-file fail without throwing?

2016-11-06 Thread David Storrs
The little snip I put above was demonstrative instead of representative; in the process of trying to come up with a more accurate but concise version of the code I've seen it start to work. Clearly (and unsurprisingly) this is caused by something in my code. I'll keep banging on it and when I

[racket-users] Re: Why would delete-file fail without throwing?

2016-11-06 Thread George Neuner
On Sat, 5 Nov 2016 18:05:02 -0400, David Storrs wrote: >I've got this little snip of code: > > >(define p "/tmp/foo/bar-28") >(file-exists? p) ; #t >(delete-file p) >(file-exists? p) ; still #t ?? > > >I've verified that: > >*) It's not throwing an exception >*) The

Re: [racket-users] Of editors and mere mortals

2016-11-06 Thread Tim Jervis
Emacs (Aquamacs) (with racket-mode and Paredit) for me, with occasional DrRacket use for rare debugging, especially Macros. Tim > On 5 Nov 2016, at 13:14, Ken MacKenzie wrote: > > So as much as I know there is much love for Dr Racket, I am not the biggest > fan. Yes I

Re: [racket-users] postgresql sql-timestamp problem - test.rkt (0/1)

2016-11-06 Thread Ryan Culpepper
On 11/06/2016 09:42 PM, George Neuner wrote: [...] The following in Racket gets it wrong. e.g., [...] => #(struct:sql-timestamp 2016 5 1 5 0 0 0 0) -> "2016-05-01 05:00:00Z" "2016-05-01 00:00:00-05" -> #(struct:sql-timestamp 2016 5 1 0 0 0 0 -18000) #(struct:sql-timestamp 2016 6 12 5 0 0 0 0)

[racket-users] Re: postgresql sql-timestamp problem - test.rkt (0/1)

2016-11-06 Thread George Neuner
On Sun, 6 Nov 2016 22:59:27 -0500, Ryan Culpepper wrote: >I believe the db library is correct: "2016-05-01 05:00:00Z" and >"2016-05-01 00:00:00-05" refer to the same point in time. Oops! You're right. I was thinking backwards about how the difference would manifest.

[racket-users] Re: postgresql sql-timestamp problem - test.rkt (0/1)

2016-11-06 Thread George Neuner
On Sun, 6 Nov 2016 22:59:27 -0500, Ryan Culpepper wrote: >See also the notes on PostgreSQL timestamptz here: >http://docs.racket-lang.org/db/notes.html#%28part._postgresql-timestamp-tz%29 >From that page: "This library receives timestamps in binary format, so the time zone

Re: [racket-users] Of editors and mere mortals

2016-11-06 Thread Meino . Cramer
For me it is vim with tslime. Tim Jervis [16-11-07 02:48]: > Emacs (Aquamacs) (with racket-mode and Paredit) for me, with occasional > DrRacket use for rare debugging, especially Macros. > > Tim > > > On 5 Nov 2016, at 13:14, Ken MacKenzie wrote: >

Re: [racket-users] Of editors and mere mortals

2016-11-06 Thread David Storrs
I've been using Emacs as my sole text editor since about 1990. Things I use on a daily basis include: - Dired mode - Org mode - iswitchb (which I think has been obsoleted by something else, but still works fine) - desktop-save-mode On Sat, Nov 5, 2016 at 9:14 AM, Ken MacKenzie

[racket-users] postgresql sql-timestamp problem - test.rkt (0/1)

2016-11-06 Thread George Neuner
Hi all, Using Racket 6.6. I have a web app where the client provides a range of dates to match for a database search. The dates are provided in ISO8601 -MM-DD format, and there may be either: - a start and end date - a date and a span specified as a count [maybe negative] of

[racket-users] postgresql sql-timestamp problem - test.rkt (1/1)

2016-11-06 Thread George Neuner
begin 644 test.rkt M(VQA;F<@

[racket-users] Re: postgresql sql-timestamp problem - test.rkt (0/1)

2016-11-06 Thread George Neuner
Sorry. Don't know why the message was posted in parts. Sigh, George -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com.