Re: [racket-users] Regarding collections and racket versions...

2020-11-02 Thread infodeveloperdon
Thanks George.
Don

On Monday, November 2, 2020 at 7:20:50 PM UTC-7 gneuner2 wrote:

>
> On 11/2/2020 1:08 PM, infodeveloperdon wrote:
> > All of my programming code is in a single collection: 
> > ~/.plt-scheme/4.2.1/collects/
> > even when I have installed newer versions of Racket.
> >:
> > I appreciate any comments or advice regarding collections in general, 
> > or my use of the single collection directory: 
> > ~/.plt-scheme/4.2.1/collects/
>
> You should not be doing active development in the collection directories 
> ... they are meant for *stable* libraries and packages that you want to 
> be always available in Racket.
>
>
> Just as a general rule, you ought not to be working under any directory 
> whose name starts with a period.
>
> It is a Unix convention that a file or directory whose name starts with 
> a period is private space belonging to some application (which in Unix / 
> Linux includes the shell itself).   The convention also holds that these 
> objects should not be shown normally in file listings.  However, if you 
> specify the "-a" option to "ls"  (or have a shell alias that does so), 
> you will see these "hidden" files and directories in your listings.  
> ["-a" means "all"]
>
>
> You should set up another directory hierarchy for everyday work.  If / 
> When something is stable and you want it to be available in Racket all 
> the time, only then should you install it into the collection.
>
> 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/0f67d64d-1ccd-400c-8201-f5a76bcba69en%40googlegroups.com.


Re: [racket-users] Regarding collections and racket versions...

2020-11-02 Thread George Neuner



On 11/2/2020 1:08 PM, infodeveloperdon wrote:
All of my programming code is in a single collection: 
~/.plt-scheme/4.2.1/collects/

even when I have installed newer versions of Racket.
   :
I appreciate any comments or advice regarding collections in general, 
or my use of the single collection directory: 
~/.plt-scheme/4.2.1/collects/


You should not be doing active development in the collection directories 
... they are meant for *stable* libraries and packages that you want to 
be always available in Racket.



Just as a general rule, you ought not to be working under any directory 
whose name starts with a period.


It is a Unix convention that a file or directory whose name starts with 
a period is private space belonging to some application (which in Unix / 
Linux includes the shell itself).   The convention also holds that these 
objects should not be shown normally in file listings.  However, if you 
specify the "-a" option to "ls"  (or have a shell alias that does so), 
you will see these "hidden" files and directories in your listings.  
["-a" means "all"]



You should set up another directory hierarchy for everyday work.  If / 
When something is stable and you want it to be available in Racket all 
the time, only then should you install it into the collection.


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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/2b1bd2a4-7256-bf22-1312-c8405dd95b67%40comcast.net.


Re: [racket-users] Racket v7.9

2020-11-02 Thread 'John Clements' via Racket Users
But wait! There’s more! (Or, more prosaically: I left out several bullet items.)

* The `datum` form from `syntax/datum` works with syntax pattern
  variables and `syntax-parse` attributes.

* Unicode input works with recent versions of libedit in addition
  to libreadline. On Mac OS, a compatible version of libedit is
  included with Racket.

Best to everyone,

John

> On Nov 2, 2020, at 4:10 PM, 'John Clements' via Racket Users 
>  wrote:
> 
> Racket version 7.9 is now available from
> 
>https://racket-lang.org/
> 
> 
> * Racket CS may become the default Racket implementation in the next
>  release. If, between this release and the next, no bugs are discovered
>  in Racket CS that are more serious than those typically discovered in
>  Racket BC, then Racket CS will become the default for the next
>  release. (Serious Racket CS bugs were found since the v7.8 release,
>  but they're ever fewer and farther between.)
> 
> * Various improvements to Check Syntax arrows and
>  renaming, thanks to Sorawee Porncharoenwase.
> 
> * Full support for struct type properties in Typed Racket, developed by
>  Fred Fu.
> 
> * Racket CS now supports parallel garbage collection, along with
>  improvements for place-local-allocation and incremental promotion.
> 
> * Unix platforms now use the XDG filesystem conventions for the
>  locations of per-user configuration and library files by default, but
>  legacy paths are still used where they exist already.
> 
> * Scribble improvements by Sorawee Porncharoenwase, William Bowman, and
>  Shu-Hung You.
> 
> * Improvements to the plot library from Alex Harsányi and Bert De
>  Ketelaere.
> 
> The following people contributed to this release:
> 
> 5pyd3r, A. Green, Adam Michael, Alex Bartholomew, Alex Harsányi, Alex
> Knauth, Alexander B. McLin, Alexander Shopov, Alexis King, Andrew
> Mauer-Oats, Andy Keep, Ayman Osman, Barak A. Pearlmutter, Ben Greenman,
> Bert De Ketelaere, Bob Burger, Bodie Solomon, Bogdan Popa, Bruce
> Mitchener, Chris Frisz, Christian Häggström, Cullen Jennings, Daniel
> Brunner, DeathKing, Dionna Amalie Glaze, Dominik Pantůček, Evan Minsk,
> Fred Fu, Gavin Whelan, Graham Watt, Griffin Byatt, Gustavo Massaccesi,
> Göran Weinholt, Jack Firth, Jamie Taylor, Jason Felice, Jason Hemann,
> Jasper Pilgrim, Jay McCarthy, Jesse Alama, Jin-Ho King, John Clements,
> Jon Zeppieri, Juan Francisco Cantero Hurtado, Jéssica Milaré, Jörgen
> Brandt, Laurent Orseau, Leo Uino, Matthew D. Miller, Matthew Flatt,
> Matthias Felleisen, Michael Lenaghan, Mike Sperber, Mohamed Akram, Neal
> Alexander, Nick Fitzgerald, Oscar Waddell, Paulo Matos, Pavel Panchekha,
> Peter Klein, Philip McGrath, Quentin Dufour, R. Kent Dybvig, Robby
> Findler, Ryan Culpepper, Sam Tobin-Hochstadt, Shu-Hung You, Sorawee
> Porncharoenwase, Stephen Chang, Stephen De Gabrielle, Steven Watson,
> Taekyung, Ted Lemon, Thorsten Blum, Virgil Hou, William J. Bowman,
> combinatorylogic, deeglaze, evdubs, john, tokomikea, xxyzz, yjqww6, 陈梓
> 立, and 靈
> 
> 
> Feedback Welcome...
> 
> You’re awesome! Many thanks for all your hard work as part of this community!
> 
> John Clements & the Racket release team
> 
> 
> 
> -- 
> 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/d3114ac7-095a-4a54-a2cb-859ab3720ae2%40mtasv.net.



-- 
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/81a7cbff-1ddb-4cf4-bfd2-594a3fc6dd1a%40mtasv.net.


[racket-users] Racket v7.9

2020-11-02 Thread 'John Clements' via Racket Users
Racket version 7.9 is now available from

https://racket-lang.org/


* Racket CS may become the default Racket implementation in the next
  release. If, between this release and the next, no bugs are discovered
  in Racket CS that are more serious than those typically discovered in
  Racket BC, then Racket CS will become the default for the next
  release. (Serious Racket CS bugs were found since the v7.8 release,
  but they're ever fewer and farther between.)

* Various improvements to Check Syntax arrows and
  renaming, thanks to Sorawee Porncharoenwase.

* Full support for struct type properties in Typed Racket, developed by
  Fred Fu.

* Racket CS now supports parallel garbage collection, along with
  improvements for place-local-allocation and incremental promotion.

* Unix platforms now use the XDG filesystem conventions for the
  locations of per-user configuration and library files by default, but
  legacy paths are still used where they exist already.

* Scribble improvements by Sorawee Porncharoenwase, William Bowman, and
  Shu-Hung You.

* Improvements to the plot library from Alex Harsányi and Bert De
  Ketelaere.

The following people contributed to this release:

5pyd3r, A. Green, Adam Michael, Alex Bartholomew, Alex Harsányi, Alex
Knauth, Alexander B. McLin, Alexander Shopov, Alexis King, Andrew
Mauer-Oats, Andy Keep, Ayman Osman, Barak A. Pearlmutter, Ben Greenman,
Bert De Ketelaere, Bob Burger, Bodie Solomon, Bogdan Popa, Bruce
Mitchener, Chris Frisz, Christian Häggström, Cullen Jennings, Daniel
Brunner, DeathKing, Dionna Amalie Glaze, Dominik Pantůček, Evan Minsk,
Fred Fu, Gavin Whelan, Graham Watt, Griffin Byatt, Gustavo Massaccesi,
Göran Weinholt, Jack Firth, Jamie Taylor, Jason Felice, Jason Hemann,
Jasper Pilgrim, Jay McCarthy, Jesse Alama, Jin-Ho King, John Clements,
Jon Zeppieri, Juan Francisco Cantero Hurtado, Jéssica Milaré, Jörgen
Brandt, Laurent Orseau, Leo Uino, Matthew D. Miller, Matthew Flatt,
Matthias Felleisen, Michael Lenaghan, Mike Sperber, Mohamed Akram, Neal
Alexander, Nick Fitzgerald, Oscar Waddell, Paulo Matos, Pavel Panchekha,
Peter Klein, Philip McGrath, Quentin Dufour, R. Kent Dybvig, Robby
Findler, Ryan Culpepper, Sam Tobin-Hochstadt, Shu-Hung You, Sorawee
Porncharoenwase, Stephen Chang, Stephen De Gabrielle, Steven Watson,
Taekyung, Ted Lemon, Thorsten Blum, Virgil Hou, William J. Bowman,
combinatorylogic, deeglaze, evdubs, john, tokomikea, xxyzz, yjqww6, 陈梓
立, and 靈


Feedback Welcome...

You’re awesome! Many thanks for all your hard work as part of this community!

John Clements & the Racket release team



-- 
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/d3114ac7-095a-4a54-a2cb-859ab3720ae2%40mtasv.net.


[racket-users] Regarding collections and racket versions...

2020-11-02 Thread infodeveloperdon
All of my programming code is in a single collection: 
~/.plt-scheme/4.2.1/collects/
even when I have installed newer versions of Racket.
The 'raco setup' function updated all my program bytecodes throughout my 
system.
I do go through some confusion regarding collections when I install a newer 
version of racket because I believe it makes use of a newer default 
collection and if I remember correctly, I make a change somewhere so that 
the system looks to my original collection location instead.
I appreciate any comments or advice regarding collections in general, or my 
use of the single collection directory: ~/.plt-scheme/4.2.1/collects/
:)

-- 
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/bfbeb8b3-b42d-41f9-a1f3-d2eee889c63en%40googlegroups.com.


Re: [racket-users] Is there a function to find and update all compiled directories?

2020-11-02 Thread infodeveloperdon
Thanks for all the wonderful feedback!  The 'raco setup' function worked 
beautifully for me resolving my issues. 
Running raco setup without arguments did bring my system to it's knees, 
i.e., slowing it down to a snail's pace but after a reboot all seems to be 
well.
Based on the displayed feedback, I saw that it did a lot of work. 
Would there be less work for 'raco setup' if I uninstalled all but the 
current and previous versions of Racket?

On Sunday, November 1, 2020 at 8:07:57 PM UTC-7 gneuner2 wrote:

>
> On 11/1/2020 9:20 PM, Sam Tobin-Hochstadt wrote:
>
>
> On Sun, Nov 1, 2020, 9:11 PM George Neuner  wrote:
>
>>
>> On 11/1/2020 6:50 PM, Shu-Hung You wrote:
>> > Using the command-line instruction `raco setup` will update all
>> > obsolete bytecodes. If you are looking for a programmable interface,
>> > `compiler/cm` is a good starting point.
>>
>> Note that "raco setup" rebuilds *only* Racket's own modules and 
>> installed extra packages - it does not rebuild any programmer code.
>>
>
> `raco setup` rebuilds all collections, including all installed or linked 
> packages. This includes "programmer code" if you make it a package or 
> collection, which is usually a good idea for anything long lived. 
>
> Sam
>
>>
> In general I agree with you (although making packages out of everything 
> complicates migrations to new Racket versions).   However what I said 
> previously is correct:  "raco setup" only rebuilds stuff that is directly 
> under Racket's control  (installed packages or collections).  
>
> It is not guaranteed to rebuild every Racket based program on your system 
> ... and that is what I intended to convey.
>
> 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/fd85e769-61b4-4cdc-a306-44265ba1d37an%40googlegroups.com.


Re: [racket-users] Advice for beginner

2020-11-02 Thread Denis Maier
 Thanks John for your answer, and sorry for not answering for so long... 
I've been occupied by other things, and I've had to postpone my "learn 
Racket" ambitions a bit... 
Anyway, time for a fresh start... 

Am 08.09.2020 um 22:08 schrieb John Clements: 
Can you be more specific? Are there particular programs that you can point 
to? I think the solution to your problem is going to depend a bit on the 
kind of slowdowns that you’re seeing. 

I was just referring to how long it takes in DrRacket to evaluate an 
apparently simple program. Something like 

``` 
(+ 1 1) 
``` 

It takes about 3-4 seconds to run that. 

Simply adding a the #lang declaration makes the whole thing much faster... 

``` 
#lang racket 
(+ 1 1) 
``` 

Actually, it looks really similar to the problems described here (
https://stackoverflow.com/questions/37508535/excruciatingly-slow-over-ten-seconds-for-1-1-with-language-how-to-des)
 
and here (https://github.com/racket/drracket/issues/281). 

Best, 
Denis 

-- 
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/df2e0345-3dd6-404c-bb19-95ec46b7ba43n%40googlegroups.com.