[racket-users] 6.2 regression in running tests?

2015-07-14 Thread Ryan Davis
I'm tired and not thinking straight, but we just finished running the schemer 
gauntlet and I decided to dip my toes into the 6.2 release. I can't get it to 
run my tests and I need external validation that it's not me doing something 
stupid.

  git clone https://github.com/searbsg/little-schemer
  cd little-schemer/zenspider
  raco test --direct ch*.rkt

For me, it hangs hard on ch09.rkt, ch10.rkt, and some combo of ch11.rkt and 
beyond. I can run all of ch2*.rkt just fine.

Additionally, it appears that `raco test --timeout` wasn't fixed after I 
reported it last time. I thought commits went it to address it. --heartbeat 
also appears to do nothing when run against these tests.

Under the previous racket release:

10028 % rake test
time raco test --direct ch*.rkt
raco test: ch00.rkt
raco test: (submod ch01.rkt test)
raco test: (submod ch02.rkt test)
raco test: (submod ch03.rkt test)
raco test: (submod ch04.rkt test)
raco test: (submod ch05.rkt test)
raco test: (submod ch06.rkt test)
raco test: (submod ch07.rkt test)
raco test: (submod ch08.rkt test)
raco test: (submod ch09.rkt test)
raco test: (submod ch10.rkt test)
raco test: (submod ch11.rkt test)
raco test: (submod ch12.rkt test)
raco test: (submod ch13.rkt test)
raco test: (submod ch14.rkt test)
raco test: (submod ch15.rkt test)
raco test: (submod ch16.rkt test)
raco test: (submod ch17.rkt test)
raco test: (submod ch18.rkt test)
raco test: (submod ch19.rkt test)
raco test: (submod ch20.rkt test)
raco test: (submod ch21.rkt test)
raco test: (submod ch22.rkt test)
raco test: (submod ch23.rkt test)
raco test: (submod ch24.rkt test)
raco test: (submod ch25.rkt test)
raco test: (submod ch26.rkt test)
raco test: (submod ch27.rkt test)
raco test: (submod ch29.rkt test)
raco test: (submod ch30.rkt test)
'done
909 tests passed

real0m3.482s
user0m3.091s
sys 0m0.354s

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] postgresql-connect and #:notification-handler

2015-07-14 Thread Tim Brown

Marc,

Thanks. I’ll look at that.

Tim

On 14/07/15 15:46, Marc Burns wrote:

Hi Tim,

I wanted the same thing a few months ago. I couldn’t find a nice way to
modify `db', so I wrote a small C library that links with libpq and some
FFI bindings. This was probably not the right thing to do.

http://www.convextech.ca/~m4burns/pqnotify/

If nothing else works, this undocumented chunk of code with external
dependencies will let you do what you want.

Cheers,
Marc


On Jul 14, 2015, at 10:20 AM, Tim Brown tim.br...@cityc.co.uk
mailto:tim.br...@cityc.co.uk wrote:

Folks,

I have an application that would I would like to react immediately to
changes in a PostgreSQL database. I would like to use a combination of
TRIGGERs and LISTEN/NOTIFY to achieve this.

I am connecting to my database using:

(define (NH . a)
 (printf NOTIFICATION: ~s~% a))

(define pgc
 (postgresql-connect
   #:server my-host
   #:user me
   #:database the-db
   #:password souper secret password
   #:notification-handler NH))

Then setting up a “listener” with:

(query pgc LISTEN x)
;; (query pgc NOTIFY x, 'woo') ; [1]

If I issue a NOTIFY x; on an psql prompt... nothing happens.
Until I do a database query (even “SELECT 1” is good enough).

I can therefore “poll” the database for notifications with:

(define (poll-notify)
 (query pgc select 1)
 (sleep 3)
 (poll-notify))
(thread poll-notify)

But I want NH to be called as soon (as possible) as the “NOTIFY” is
issued (subject to the caveats in [2]). This either to happen
automagically OR by being able to obtain an evt that I can sync on.

I can find a place where the handlers are delayed -- I assume due to
being inside a transaction or lock -- but I cannot find a handle to
anything syncable.

Any help would be appreciated.

[1] Ironically: if this query is included, NH is called, because the
   notifcation is posted before the query returns.

[2] http://www.postgresql.org/docs/9.4/static/sql-notify.html

Regards,

Tim

--
Tim Brown CEng MBCS tim.br...@cityc.co.uk mailto:tim.br...@cityc.co.uk

   City Computing Limited · www.cityc.co.uk
http://www.cityc.co.uk
 City House · Sutton Park Rd · Sutton · Surrey · SM1 2AE · GB
   T:+44 20 8770 2110 · F:+44 20 8770 2130

City Computing Limited registered in London No:1767817.
Registered Office: City House, Sutton Park Road, Sutton, Surrey, SM1 2AE
VAT No: GB 918 4680 96

--
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
mailto:racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.






--
Tim Brown CEng MBCS tim.br...@cityc.co.uk

City Computing Limited · www.cityc.co.uk
  City House · Sutton Park Rd · Sutton · Surrey · SM1 2AE · GB
T:+44 20 8770 2110 · F:+44 20 8770 2130

City Computing Limited registered in London No:1767817.
Registered Office: City House, Sutton Park Road, Sutton, Surrey, SM1 2AE
VAT No: GB 918 4680 96

--
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.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] postgresql-connect and #:notification-handler

2015-07-14 Thread Marc Burns
Hi Tim,

I wanted the same thing a few months ago. I couldn’t find a nice way to modify 
`db', so I wrote a small C library that links with libpq and some FFI bindings. 
This was probably not the right thing to do.

http://www.convextech.ca/~m4burns/pqnotify/ 
http://www.convextech.ca/~m4burns/pqnotify/

If nothing else works, this undocumented chunk of code with external 
dependencies will let you do what you want.

Cheers,
Marc

 On Jul 14, 2015, at 10:20 AM, Tim Brown tim.br...@cityc.co.uk wrote:
 
 Folks,
 
 I have an application that would I would like to react immediately to
 changes in a PostgreSQL database. I would like to use a combination of
 TRIGGERs and LISTEN/NOTIFY to achieve this.
 
 I am connecting to my database using:
 
 (define (NH . a)
  (printf NOTIFICATION: ~s~% a))
 
 (define pgc
  (postgresql-connect
#:server my-host
#:user me
#:database the-db
#:password souper secret password
#:notification-handler NH))
 
 Then setting up a “listener” with:
 
 (query pgc LISTEN x)
 ;; (query pgc NOTIFY x, 'woo') ; [1]
 
 If I issue a NOTIFY x; on an psql prompt... nothing happens.
 Until I do a database query (even “SELECT 1” is good enough).
 
 I can therefore “poll” the database for notifications with:
 
 (define (poll-notify)
  (query pgc select 1)
  (sleep 3)
  (poll-notify))
 (thread poll-notify)
 
 But I want NH to be called as soon (as possible) as the “NOTIFY” is
 issued (subject to the caveats in [2]). This either to happen
 automagically OR by being able to obtain an evt that I can sync on.
 
 I can find a place where the handlers are delayed -- I assume due to
 being inside a transaction or lock -- but I cannot find a handle to
 anything syncable.
 
 Any help would be appreciated.
 
 [1] Ironically: if this query is included, NH is called, because the
notifcation is posted before the query returns.
 
 [2] http://www.postgresql.org/docs/9.4/static/sql-notify.html
 
 Regards,
 
 Tim
 
 -- 
 Tim Brown CEng MBCS tim.br...@cityc.co.uk
 
City Computing Limited · www.cityc.co.uk
  City House · Sutton Park Rd · Sutton · Surrey · SM1 2AE · GB
T:+44 20 8770 2110 · F:+44 20 8770 2130
 
 City Computing Limited registered in London No:1767817.
 Registered Office: City House, Sutton Park Road, Sutton, Surrey, SM1 2AE
 VAT No: GB 918 4680 96
 
 -- 
 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.
 For more options, visit https://groups.google.com/d/optout.
 

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[racket-users] postgresql-connect and #:notification-handler

2015-07-14 Thread Tim Brown

Folks,

I have an application that would I would like to react immediately to
changes in a PostgreSQL database. I would like to use a combination of
TRIGGERs and LISTEN/NOTIFY to achieve this.

I am connecting to my database using:

(define (NH . a)
  (printf NOTIFICATION: ~s~% a))

(define pgc
  (postgresql-connect
#:server my-host
#:user me
#:database the-db
#:password souper secret password
#:notification-handler NH))

Then setting up a “listener” with:

(query pgc LISTEN x)
;; (query pgc NOTIFY x, 'woo') ; [1]

If I issue a NOTIFY x; on an psql prompt... nothing happens.
Until I do a database query (even “SELECT 1” is good enough).

I can therefore “poll” the database for notifications with:

(define (poll-notify)
  (query pgc select 1)
  (sleep 3)
  (poll-notify))
(thread poll-notify)

But I want NH to be called as soon (as possible) as the “NOTIFY” is
issued (subject to the caveats in [2]). This either to happen
automagically OR by being able to obtain an evt that I can sync on.

I can find a place where the handlers are delayed -- I assume due to
being inside a transaction or lock -- but I cannot find a handle to
anything syncable.

Any help would be appreciated.

[1] Ironically: if this query is included, NH is called, because the
notifcation is posted before the query returns.

[2] http://www.postgresql.org/docs/9.4/static/sql-notify.html

Regards,

Tim

--
Tim Brown CEng MBCS tim.br...@cityc.co.uk

City Computing Limited · www.cityc.co.uk
  City House · Sutton Park Rd · Sutton · Surrey · SM1 2AE · GB
T:+44 20 8770 2110 · F:+44 20 8770 2130

City Computing Limited registered in London No:1767817.
Registered Office: City House, Sutton Park Road, Sutton, Surrey, SM1 2AE
VAT No: GB 918 4680 96

--
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.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] get the content of an editor% with formattings.

2015-07-14 Thread Matthew Flatt
At Mon, 13 Jul 2015 17:58:36 +0200, mazert wrote:
 I have a text% inside an editor-canvas% object, and I write some text 
 then I apply to it a blue color for example.
 
 When i want to get the text with get-text method, i only get the text 
 without formatings. Is there a way to get the text with all styles and 
 formattings applied to the text ?

If you're trying to move the text from one editor to another, then
it's probably easiest to use the `copy` and `paste` methods.

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[racket-users] sub-range-binders

2015-07-14 Thread Jens Axel Søgaard
Hi All,

I am experimenting with the sub-range-binders syntax property.

Given this program:

(define symb? symbol?)
(define-no? symb?)
symb

I want to use DrRacket's renaming facility to rename the symb? in the
second line to sym?.

I expect to get this program:

(define sym? symbol?)
(define-no? sym?)
sym

However I get this:

(define sym? symbol?)
(define-no? sym?)
sym?

(notice the extra ? in the last line).

Is this possible using sub-range-binders ?

/Jens Axel


#lang racket/base
(require (for-syntax racket/base))
(define-syntax (define-no? stx)
  (syntax-case stx ()
[(_ id?)
 (let ()
   (define s (symbol-string (syntax-e #'id?)))
   (define l1 (string-length s))
   (define l2 (- l1 1))
   (define id-str (substring s 0 l2))
   (define id (datum-syntax #'id? (string-symbol id-str)))

   (syntax-property #`(define #,id id?)
'sub-range-binders (vector (syntax-local-introduce
id)
   0 l2 0.5 0.5
   (syntax-local-introduce
#'id?)
   0 l1 0.5 0.5)))]))

(define symb? symbol?)
(define-no? symb?)
symb

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] 6.2 regression in running tests?

2015-07-14 Thread Sam Tobin-Hochstadt
This appears to be a bug in the inliner, which appears in HEAD as well.

This program is sufficient to reproduce:

#lang racket

(define (Y3 outer)
  (define ((call f) x)
((f f) x))
  ((lambda (f) (f f)) call))

I wasn't able to make this any smaller -- in particular, the `outer`
parameter is needed. If you try to compile this with `raco make`, it will
hang, but `raco make --disable-inline` will succeed.

That's also why `--timeout` didn't help, because it seems to wait for
compilation to have any effect.

Sam

On Tue, Jul 14, 2015 at 6:31 AM Ryan Davis zenspi...@gmail.com wrote:

 I'm tired and not thinking straight, but we just finished running the
 schemer gauntlet and I decided to dip my toes into the 6.2 release. I can't
 get it to run my tests and I need external validation that it's not me
 doing something stupid.

   git clone https://github.com/searbsg/little-schemer
   cd little-schemer/zenspider
   raco test --direct ch*.rkt

 For me, it hangs hard on ch09.rkt, ch10.rkt, and some combo of ch11.rkt
 and beyond. I can run all of ch2*.rkt just fine.

 Additionally, it appears that `raco test --timeout` wasn't fixed after I
 reported it last time. I thought commits went it to address it. --heartbeat
 also appears to do nothing when run against these tests.

 Under the previous racket release:

 10028 % rake test
 time raco test --direct ch*.rkt
 raco test: ch00.rkt
 raco test: (submod ch01.rkt test)
 raco test: (submod ch02.rkt test)
 raco test: (submod ch03.rkt test)
 raco test: (submod ch04.rkt test)
 raco test: (submod ch05.rkt test)
 raco test: (submod ch06.rkt test)
 raco test: (submod ch07.rkt test)
 raco test: (submod ch08.rkt test)
 raco test: (submod ch09.rkt test)
 raco test: (submod ch10.rkt test)
 raco test: (submod ch11.rkt test)
 raco test: (submod ch12.rkt test)
 raco test: (submod ch13.rkt test)
 raco test: (submod ch14.rkt test)
 raco test: (submod ch15.rkt test)
 raco test: (submod ch16.rkt test)
 raco test: (submod ch17.rkt test)
 raco test: (submod ch18.rkt test)
 raco test: (submod ch19.rkt test)
 raco test: (submod ch20.rkt test)
 raco test: (submod ch21.rkt test)
 raco test: (submod ch22.rkt test)
 raco test: (submod ch23.rkt test)
 raco test: (submod ch24.rkt test)
 raco test: (submod ch25.rkt test)
 raco test: (submod ch26.rkt test)
 raco test: (submod ch27.rkt test)
 raco test: (submod ch29.rkt test)
 raco test: (submod ch30.rkt test)
 'done
 909 tests passed

 real0m3.482s
 user0m3.091s
 sys 0m0.354s

 --
 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.
 For more options, visit https://groups.google.com/d/optout.


-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] 6.2 regression in running tests?

2015-07-14 Thread Gustavo Massaccesi
I reduced it a little, it's a variation of the old
  ((lambda (x) (x x)) (lambda (x) (x x)))
but there must be a problem in the inlining fuel.

In my example, the ´dup´ definition is not necessary, but it makes it
more clear. It can be copied by hand to the application point.

I wrapped the example in a 'lambda', to be sure that it should not be
executed even once. This lambda is not necessary and can be removed.

#lang racket
(define dup (lambda (f) (f f)))
(lambda ()
  (let ([rep (lambda (f) (f f))])
(dup rep)))

It's strange that only (dup rep) causes a problem, (dup dup), (rep
rep) and (rep dup) are ok.

Gustavo


On Tue, Jul 14, 2015 at 6:23 PM, Sam Tobin-Hochstadt
sa...@cs.indiana.edu wrote:
 This appears to be a bug in the inliner, which appears in HEAD as well.

 This program is sufficient to reproduce:

 #lang racket

 (define (Y3 outer)
   (define ((call f) x)
 ((f f) x))
   ((lambda (f) (f f)) call))

 I wasn't able to make this any smaller -- in particular, the `outer`
 parameter is needed. If you try to compile this with `raco make`, it will
 hang, but `raco make --disable-inline` will succeed.

 That's also why `--timeout` didn't help, because it seems to wait for
 compilation to have any effect.

 Sam

 On Tue, Jul 14, 2015 at 6:31 AM Ryan Davis zenspi...@gmail.com wrote:

 I'm tired and not thinking straight, but we just finished running the
 schemer gauntlet and I decided to dip my toes into the 6.2 release. I can't
 get it to run my tests and I need external validation that it's not me doing
 something stupid.

   git clone https://github.com/searbsg/little-schemer
   cd little-schemer/zenspider
   raco test --direct ch*.rkt

 For me, it hangs hard on ch09.rkt, ch10.rkt, and some combo of ch11.rkt
 and beyond. I can run all of ch2*.rkt just fine.

 Additionally, it appears that `raco test --timeout` wasn't fixed after I
 reported it last time. I thought commits went it to address it. --heartbeat
 also appears to do nothing when run against these tests.

 Under the previous racket release:

 10028 % rake test
 time raco test --direct ch*.rkt
 raco test: ch00.rkt
 raco test: (submod ch01.rkt test)
 raco test: (submod ch02.rkt test)
 raco test: (submod ch03.rkt test)
 raco test: (submod ch04.rkt test)
 raco test: (submod ch05.rkt test)
 raco test: (submod ch06.rkt test)
 raco test: (submod ch07.rkt test)
 raco test: (submod ch08.rkt test)
 raco test: (submod ch09.rkt test)
 raco test: (submod ch10.rkt test)
 raco test: (submod ch11.rkt test)
 raco test: (submod ch12.rkt test)
 raco test: (submod ch13.rkt test)
 raco test: (submod ch14.rkt test)
 raco test: (submod ch15.rkt test)
 raco test: (submod ch16.rkt test)
 raco test: (submod ch17.rkt test)
 raco test: (submod ch18.rkt test)
 raco test: (submod ch19.rkt test)
 raco test: (submod ch20.rkt test)
 raco test: (submod ch21.rkt test)
 raco test: (submod ch22.rkt test)
 raco test: (submod ch23.rkt test)
 raco test: (submod ch24.rkt test)
 raco test: (submod ch25.rkt test)
 raco test: (submod ch26.rkt test)
 raco test: (submod ch27.rkt test)
 raco test: (submod ch29.rkt test)
 raco test: (submod ch30.rkt test)
 'done
 909 tests passed

 real0m3.482s
 user0m3.091s
 sys 0m0.354s

 --
 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.
 For more options, visit https://groups.google.com/d/optout.

 --
 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.
 For more options, visit https://groups.google.com/d/optout.

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] TeX- and LaTeX-inspired keybindings

2015-07-14 Thread Robby Findler
It isn't set up for that but if you want to add a few that's fine.

Robby

On Tuesday, July 14, 2015, Prabhakar Ragde plra...@uwaterloo.ca wrote:

 Is there a simple way to extend the list of these and/or provide synonyms?
 (DrRacket documentation, section 3.3.8.) I would like to, for example, be
 able to type \and, or at least \land, rather than \wedge. Thanks. --PR

 --
 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.
 For more options, visit https://groups.google.com/d/optout.


-- 
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.
For more options, visit https://groups.google.com/d/optout.


[racket-users] TeX- and LaTeX-inspired keybindings

2015-07-14 Thread Prabhakar Ragde
Is there a simple way to extend the list of these and/or provide 
synonyms? (DrRacket documentation, section 3.3.8.) I would like to, for 
example, be able to type \and, or at least \land, rather than \wedge. 
Thanks. --PR


--
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.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] 6.2 regression in running tests?

2015-07-14 Thread Gustavo Massaccesi
Replacing the line 1758 of optimize.c

-  if ((info-inline_fuel  0)  info-has_nonleaf  !noapp)
+  if ((info-inline_fuel = 0)  info-has_nonleaf  !noapp)

make the problem disappear, but I still don't understand why (dup
rep) is the only combination that creates a problem.

I also want to think about the (info-inline_fuel = 0) in line 1872
and how that interacts with the if (noapp) in line 1876 ...

Gustavo

On Tue, Jul 14, 2015 at 8:38 PM, Gustavo Massaccesi gust...@oma.org.ar wrote:
 I reduced it a little, it's a variation of the old
   ((lambda (x) (x x)) (lambda (x) (x x)))
 but there must be a problem in the inlining fuel.

 In my example, the ´dup´ definition is not necessary, but it makes it
 more clear. It can be copied by hand to the application point.

 I wrapped the example in a 'lambda', to be sure that it should not be
 executed even once. This lambda is not necessary and can be removed.

 #lang racket
 (define dup (lambda (f) (f f)))
 (lambda ()
   (let ([rep (lambda (f) (f f))])
 (dup rep)))

 It's strange that only (dup rep) causes a problem, (dup dup), (rep
 rep) and (rep dup) are ok.

 Gustavo


 On Tue, Jul 14, 2015 at 6:23 PM, Sam Tobin-Hochstadt
 sa...@cs.indiana.edu wrote:
 This appears to be a bug in the inliner, which appears in HEAD as well.

 This program is sufficient to reproduce:

 #lang racket

 (define (Y3 outer)
   (define ((call f) x)
 ((f f) x))
   ((lambda (f) (f f)) call))

 I wasn't able to make this any smaller -- in particular, the `outer`
 parameter is needed. If you try to compile this with `raco make`, it will
 hang, but `raco make --disable-inline` will succeed.

 That's also why `--timeout` didn't help, because it seems to wait for
 compilation to have any effect.

 Sam

 On Tue, Jul 14, 2015 at 6:31 AM Ryan Davis zenspi...@gmail.com wrote:

 I'm tired and not thinking straight, but we just finished running the
 schemer gauntlet and I decided to dip my toes into the 6.2 release. I can't
 get it to run my tests and I need external validation that it's not me doing
 something stupid.

   git clone https://github.com/searbsg/little-schemer
   cd little-schemer/zenspider
   raco test --direct ch*.rkt

 For me, it hangs hard on ch09.rkt, ch10.rkt, and some combo of ch11.rkt
 and beyond. I can run all of ch2*.rkt just fine.

 Additionally, it appears that `raco test --timeout` wasn't fixed after I
 reported it last time. I thought commits went it to address it. --heartbeat
 also appears to do nothing when run against these tests.

 Under the previous racket release:

 10028 % rake test
 time raco test --direct ch*.rkt
 raco test: ch00.rkt
 raco test: (submod ch01.rkt test)
 raco test: (submod ch02.rkt test)
 raco test: (submod ch03.rkt test)
 raco test: (submod ch04.rkt test)
 raco test: (submod ch05.rkt test)
 raco test: (submod ch06.rkt test)
 raco test: (submod ch07.rkt test)
 raco test: (submod ch08.rkt test)
 raco test: (submod ch09.rkt test)
 raco test: (submod ch10.rkt test)
 raco test: (submod ch11.rkt test)
 raco test: (submod ch12.rkt test)
 raco test: (submod ch13.rkt test)
 raco test: (submod ch14.rkt test)
 raco test: (submod ch15.rkt test)
 raco test: (submod ch16.rkt test)
 raco test: (submod ch17.rkt test)
 raco test: (submod ch18.rkt test)
 raco test: (submod ch19.rkt test)
 raco test: (submod ch20.rkt test)
 raco test: (submod ch21.rkt test)
 raco test: (submod ch22.rkt test)
 raco test: (submod ch23.rkt test)
 raco test: (submod ch24.rkt test)
 raco test: (submod ch25.rkt test)
 raco test: (submod ch26.rkt test)
 raco test: (submod ch27.rkt test)
 raco test: (submod ch29.rkt test)
 raco test: (submod ch30.rkt test)
 'done
 909 tests passed

 real0m3.482s
 user0m3.091s
 sys 0m0.354s

 --
 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.
 For more options, visit https://groups.google.com/d/optout.

 --
 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.
 For more options, visit https://groups.google.com/d/optout.

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[racket-users] new dependency on scheme-lib for build of rsound?

2015-07-14 Thread 'John Clements' via users-redirect
This is in the “very unimportant” category, but I see that as of today, running 
setup-plt … er … raco setup informs me that

raco setup: undeclared dependency detected
raco setup:   for package: rsound
raco setup:   on package for build:
raco setup:scheme-lib”

It’s perfectly easy to add “scheme-lib” to the build-deps (I’ve already done 
so), but I’m curious—is there an easy way to ferret out the file that’s causing 
this dependency? I did a quick git grep for ‘scheme’, and the only thing I came 
up with was a mention in a shared library I created to 
“scheme_initialize_internal”. This doesn’t seem a likely cause, especially for 
a build-time dependency. Any obvious way to track this down aside from messing 
around with compile-omit-files until the warning goes away?

John




-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] new dependency on scheme-lib for build of rsound?

2015-07-14 Thread Sam Tobin-Hochstadt
Right above that in the `raco setup` output, you'll see some output
which tells you exactly what is missing.

Here's what it looks like for one for mflatt's pkgs:

http://pkg-build.racket-lang.org/server/built/deps/uu-cs5510.txt

Sam

On Tue, Jul 14, 2015 at 1:48 PM, 'John Clements' via users-redirect
us...@plt-scheme.org wrote:
 This is in the “very unimportant” category, but I see that as of today, 
 running setup-plt … er … raco setup informs me that

 raco setup: undeclared dependency detected
 raco setup:   for package: rsound
 raco setup:   on package for build:
 raco setup:scheme-lib”

 It’s perfectly easy to add “scheme-lib” to the build-deps (I’ve already done 
 so), but I’m curious—is there an easy way to ferret out the file that’s 
 causing this dependency? I did a quick git grep for ‘scheme’, and the only 
 thing I came up with was a mention in a shared library I created to 
 “scheme_initialize_internal”. This doesn’t seem a likely cause, especially 
 for a build-time dependency. Any obvious way to track this down aside from 
 messing around with compile-omit-files until the warning goes away?

 John




 --
 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.
 For more options, visit https://groups.google.com/d/optout.

-- 
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.
For more options, visit https://groups.google.com/d/optout.