[racket-users] Testing and breaking

2020-02-26 Thread Hendrik Boom
On Wed, Feb 26, 2020 at 04:46:56PM -0600, Spencer Florence wrote:
> Moral of this story: the pkg-build server configuration can have bugs in
> it. Therefore, if you don't test it, it will have bugs in it

"That which is not tested is broken."

-- Anon.

I wish I knew where I first heard this.  There are lots of variations on 
this theme, buth this one feels canonically quotable.  It has the right 
rythm.
 
-- hendrik

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/20200227030400.h2sn3pyydhka2lzv%40topoi.pooq.com.


Re: [racket-users] How do I just run the type checker?

2020-02-26 Thread Gustavo Massaccesi
Another solution: If you are inside DrRacket, you can use the button "Check
Syntax".

Gustavo

On Fri, Feb 21, 2020 at 2:13 PM Marc Kaufmann 
wrote:

> Hi,
>
> the way I currently check my web server is by simply running `racket
> server.rkt` on the command line. However, this also launches the server,
> which I usually do want to, but not always. So is there a way to run just
> the type checker -- plus all the compile-time stuff that needs to happen
> for this -- without anything else? The best I have managed is to put the
> most time-consuming commands that I run into `(module+ main ...)`, but that
> still does more than than just run the type checker.
>
> Secondly, is it possible to somehow speed up subsequent type checks by
> caching something before?
>
> Cheers,
> Marc
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-users/b8922e9a-524f-4c2d-b716-c857914e7107%40googlegroups.com
> 
> .
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CAPaha9OqF9x8E8Uqn1PvSuy2UhBV4z8E%2BmbJ60agt5kAOMvzJQ%40mail.gmail.com.


Re: [racket-users] cover package?

2020-02-26 Thread Spencer Florence
Moral of this story: the pkg-build server configuration can have bugs in
it. Therefore, if you don't test it, it will have bugs in it

--spencer

On Wed, Feb 26, 2020 at 3:28 PM Stephen Foster 
wrote:

> On further investigation, cover just seems to be broken, older versions
> install without errors.  I'll open a ticket on that repo.
>
> On Wed, Feb 26, 2020 at 1:14 PM Stephen Foster 
> wrote:
>
>> I have a Dockerized racket app that has (today, I think) started failing
>> with errors related to the "cover" package.  I don't use cover -- though I
>> assume one of my dependencies does.  Adding "cover" explicitly to my
>> info.rkt file doesn't fix the issue.
>>
>> What might be going wrong here?  And how can I track down what depends on
>> this?
>>
>> open-input-file: cannot open module file
>>   module path: cover
>>   path: /root/.racket/7.5/pkgs/cover/main.rkt
>>   system error: no such file or directory; rktio_err=3
>>   compilation context...:
>>/root/.racket/7.5/pkgs/cover/cover-lib/cover/raco.rkt
>>   context...:
>>maybe-raise-missing-module
>>default-load-handler
>>standard-module-name-resolver
>>module-path-index-resolve
>>perform-require!78
>>for-loop
>>finish
>>[repeats 10 more times]
>>pass-1-and-2-loop
>>module-begin-k
>>expand-module16
>>expand-capturing-lifts
>>temp118_0
>>temp91_0
>>compile15
>>/usr/share/racket/collects/compiler/private/cm-minimal.rkt:428:0:
>> compile-zo*66
>>...
>>
>>
>> standard-module-name-resolver: collection not found
>>   for module path: cover/private/shared
>>   collection: "cover/private"
>>   in collection directories:
>>/root/.racket/7.5/collects
>>/usr/share/racket/collects
>>... [217 additional linked and package directories]
>>sub-collection: "private"
>>   in parent directories:
>>/root/.racket/7.5/pkgs/cover
>>   compilation context...:
>>/root/.racket/7.5/pkgs/cover/cover-test/format-utils.rkt
>>   context...:
>>show-collection-err
>>standard-module-name-resolver
>>module-path-index-resolve
>>perform-require!78
>>for-loop
>>finish
>>[repeats 13 more times]
>>pass-1-and-2-loop
>>module-begin-k
>>expand-module16
>>expand-capturing-lifts
>>temp118_0
>>temp91_0
>>compile15
>>/usr/share/racket/collects/compiler/private/cm-minimal.rkt:428:0:
>> compile-zo*66
>>/usr/share/racket/collects/compiler/private/cm-minimal.rkt:731:15
>>...
>>
>>
>> standard-module-name-resolver: collection not found
>>   for module path: cover/private/shared
>>   collection: "cover/private"
>>   in collection directories:
>>/root/.racket/7.5/collects
>>/usr/share/racket/collects
>>... [217 additional linked and package directories]
>>sub-collection: "private"
>>   in parent directories:
>>/root/.racket/7.5/pkgs/cover
>>   compilation context...:
>>/root/.racket/7.5/pkgs/cover/cover-test/format-utils.rkt
>>   context...:
>>show-collection-err
>>standard-module-name-resolver
>>module-path-index-resolve
>>perform-require!78
>>for-loop
>>finish
>>[repeats 13 more times]
>>pass-1-and-2-loop
>>module-begin-k
>>expand-module16
>>expand-capturing-lifts
>>temp118_0
>>temp91_0
>>compile15
>>/usr/share/racket/collects/compiler/private/cm-minimal.rkt:428:0:
>> compile-zo*66
>>/usr/share/racket/collects/compiler/private/cm-minimal.rkt:731:15
>>...
>>
>>
>> etc.
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Racket Users" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/racket-users/X7O4bUAnqxU/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> racket-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/racket-users/5b09c421-621c-4485-91eb-81a2ab6249d4%40googlegroups.com
>> 
>> .
>>
>
>
> --
>
>
> Stephen Foster
> ThoughtSTEM Co-Founder
> 318-792-2035
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-users/CA%2BzSu29hL3BOa7Ez-Om29RNr9B-E19M%3Dr1TX3KV-MMB8AL%3DV%2Bg%40mail.gmail.com
> 
> .
>

-- 
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...@google

Re: [racket-users] cover package?

2020-02-26 Thread Stephen Foster
On further investigation, cover just seems to be broken, older versions
install without errors.  I'll open a ticket on that repo.

On Wed, Feb 26, 2020 at 1:14 PM Stephen Foster 
wrote:

> I have a Dockerized racket app that has (today, I think) started failing
> with errors related to the "cover" package.  I don't use cover -- though I
> assume one of my dependencies does.  Adding "cover" explicitly to my
> info.rkt file doesn't fix the issue.
>
> What might be going wrong here?  And how can I track down what depends on
> this?
>
> open-input-file: cannot open module file
>   module path: cover
>   path: /root/.racket/7.5/pkgs/cover/main.rkt
>   system error: no such file or directory; rktio_err=3
>   compilation context...:
>/root/.racket/7.5/pkgs/cover/cover-lib/cover/raco.rkt
>   context...:
>maybe-raise-missing-module
>default-load-handler
>standard-module-name-resolver
>module-path-index-resolve
>perform-require!78
>for-loop
>finish
>[repeats 10 more times]
>pass-1-and-2-loop
>module-begin-k
>expand-module16
>expand-capturing-lifts
>temp118_0
>temp91_0
>compile15
>/usr/share/racket/collects/compiler/private/cm-minimal.rkt:428:0:
> compile-zo*66
>...
>
>
> standard-module-name-resolver: collection not found
>   for module path: cover/private/shared
>   collection: "cover/private"
>   in collection directories:
>/root/.racket/7.5/collects
>/usr/share/racket/collects
>... [217 additional linked and package directories]
>sub-collection: "private"
>   in parent directories:
>/root/.racket/7.5/pkgs/cover
>   compilation context...:
>/root/.racket/7.5/pkgs/cover/cover-test/format-utils.rkt
>   context...:
>show-collection-err
>standard-module-name-resolver
>module-path-index-resolve
>perform-require!78
>for-loop
>finish
>[repeats 13 more times]
>pass-1-and-2-loop
>module-begin-k
>expand-module16
>expand-capturing-lifts
>temp118_0
>temp91_0
>compile15
>/usr/share/racket/collects/compiler/private/cm-minimal.rkt:428:0:
> compile-zo*66
>/usr/share/racket/collects/compiler/private/cm-minimal.rkt:731:15
>...
>
>
> standard-module-name-resolver: collection not found
>   for module path: cover/private/shared
>   collection: "cover/private"
>   in collection directories:
>/root/.racket/7.5/collects
>/usr/share/racket/collects
>... [217 additional linked and package directories]
>sub-collection: "private"
>   in parent directories:
>/root/.racket/7.5/pkgs/cover
>   compilation context...:
>/root/.racket/7.5/pkgs/cover/cover-test/format-utils.rkt
>   context...:
>show-collection-err
>standard-module-name-resolver
>module-path-index-resolve
>perform-require!78
>for-loop
>finish
>[repeats 13 more times]
>pass-1-and-2-loop
>module-begin-k
>expand-module16
>expand-capturing-lifts
>temp118_0
>temp91_0
>compile15
>/usr/share/racket/collects/compiler/private/cm-minimal.rkt:428:0:
> compile-zo*66
>/usr/share/racket/collects/compiler/private/cm-minimal.rkt:731:15
>...
>
>
> etc.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Racket Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/racket-users/X7O4bUAnqxU/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> racket-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-users/5b09c421-621c-4485-91eb-81a2ab6249d4%40googlegroups.com
> 
> .
>


-- 


Stephen Foster
ThoughtSTEM Co-Founder
318-792-2035

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CA%2BzSu29hL3BOa7Ez-Om29RNr9B-E19M%3Dr1TX3KV-MMB8AL%3DV%2Bg%40mail.gmail.com.


[racket-users] cover package?

2020-02-26 Thread Stephen Foster
I have a Dockerized racket app that has (today, I think) started failing 
with errors related to the "cover" package.  I don't use cover -- though I 
assume one of my dependencies does.  Adding "cover" explicitly to my 
info.rkt file doesn't fix the issue.  

What might be going wrong here?  And how can I track down what depends on 
this?  

open-input-file: cannot open module file
  module path: cover
  path: /root/.racket/7.5/pkgs/cover/main.rkt
  system error: no such file or directory; rktio_err=3
  compilation context...:
   /root/.racket/7.5/pkgs/cover/cover-lib/cover/raco.rkt
  context...:
   maybe-raise-missing-module
   default-load-handler
   standard-module-name-resolver
   module-path-index-resolve
   perform-require!78
   for-loop
   finish
   [repeats 10 more times]
   pass-1-and-2-loop
   module-begin-k
   expand-module16
   expand-capturing-lifts
   temp118_0
   temp91_0
   compile15
   /usr/share/racket/collects/compiler/private/cm-minimal.rkt:428:0: 
compile-zo*66
   ...


standard-module-name-resolver: collection not found
  for module path: cover/private/shared
  collection: "cover/private"
  in collection directories:
   /root/.racket/7.5/collects
   /usr/share/racket/collects
   ... [217 additional linked and package directories]
   sub-collection: "private"
  in parent directories:
   /root/.racket/7.5/pkgs/cover
  compilation context...:
   /root/.racket/7.5/pkgs/cover/cover-test/format-utils.rkt
  context...:
   show-collection-err
   standard-module-name-resolver
   module-path-index-resolve
   perform-require!78
   for-loop
   finish
   [repeats 13 more times]
   pass-1-and-2-loop
   module-begin-k
   expand-module16
   expand-capturing-lifts
   temp118_0
   temp91_0
   compile15
   /usr/share/racket/collects/compiler/private/cm-minimal.rkt:428:0: 
compile-zo*66
   /usr/share/racket/collects/compiler/private/cm-minimal.rkt:731:15
   ...


standard-module-name-resolver: collection not found
  for module path: cover/private/shared
  collection: "cover/private"
  in collection directories:
   /root/.racket/7.5/collects
   /usr/share/racket/collects
   ... [217 additional linked and package directories]
   sub-collection: "private"
  in parent directories:
   /root/.racket/7.5/pkgs/cover
  compilation context...:
   /root/.racket/7.5/pkgs/cover/cover-test/format-utils.rkt
  context...:
   show-collection-err
   standard-module-name-resolver
   module-path-index-resolve
   perform-require!78
   for-loop
   finish
   [repeats 13 more times]
   pass-1-and-2-loop
   module-begin-k
   expand-module16
   expand-capturing-lifts
   temp118_0
   temp91_0
   compile15
   /usr/share/racket/collects/compiler/private/cm-minimal.rkt:428:0: 
compile-zo*66
   /usr/share/racket/collects/compiler/private/cm-minimal.rkt:731:15
   ...


etc.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/5b09c421-621c-4485-91eb-81a2ab6249d4%40googlegroups.com.


[racket-users] Re: quick racket editor survey

2020-02-26 Thread Stephen De Gabrielle
At 62 response, sadly the histogram doesn't show how many people use two or
even three editors.
https://www.surveymonkey.com/results/SM-GBD6J7ST7/

s.


On Mon, Feb 24, 2020 at 2:05 PM Stephen De Gabrielle <
spdegabrie...@gmail.com> wrote:

> at 18 responses
> [image: Three-set Venn diagram (at 18 responses).png]
> I think this is fascinating.
>
> (I'm filled with fear and admiration for the lone racketeer in the middle)
>
> S.
>
>
>
>
> On Mon, Feb 24, 2020 at 1:31 PM Stephen De Gabrielle <
> spdegabrie...@gmail.com> wrote:
>
>> If anyone is interested you can view the responses here:
>> https://www.surveymonkey.com/results/SM-GBD6J7ST7/
>>
>> s.
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CAGHj7-%2BvVJHNh88mAbzuO%3Dm3K3d20sUb7dRyCq8NHu6NOdHJbw%40mail.gmail.com.