Re: [racket-users] inadvertently upgraded Racket version. Would like to make an older installed version current.

2021-04-13 Thread infodeveloperdon
Hi, I'm using linux Ubuntu.
Don

On Tuesday, April 13, 2021 at 1:02:33 PM UTC-6 johnbclements wrote:

> raco pkg remove is definitely not what you want.
>
> In general, I know there are languages (ocaml, haskell, rust) that put 
> their package managers “outside” of the currently installed version, so it 
> might make sense that a package manager command could be used to change to 
> an earlier version of the language. 
>
> In Racket, by contrast, the package manager is part of the installation, 
> on the “inside”.
>
> However, you can certainly have multiple versions of Racket installed at 
> the same time.
>
> The details of which one is “active”, and what that word even means, is 
> highly dependent on what operating system you’re using. 
>
> What operating system are you using?
>
> John Clements
>
> > On Apr 13, 2021, at 11:29, infodeveloperdon  
> wrote:
> > 
> > I inadvertently upgraded Racket version. Would like to make an older 
> installed version current.
> > So now when I start DrRacket v8 is current.
> > Is there a command that makes a specified version current?
> > Does 
> > raco pkg remove 
> > effectively make the previous version current?
> > Thanks. Don.
> > 
> > -- 
> > 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...@googlegroups.com.
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/racket-users/a7577cff-a448-4e44-91b0-6d9d9e4557c5n%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/729e46a6-9c39-4d56-b1d4-2d6a11e5d25en%40googlegroups.com.


[racket-users] inadvertently upgraded Racket version. Would like to make an older installed version current.

2021-04-13 Thread infodeveloperdon
I inadvertently upgraded Racket version. Would like to make an older 
installed version current.
So now when I start DrRacket v8 is current.
Is there a command that makes a specified version current?
Does 
raco pkg remove 
effectively make the previous version current?
Thanks. Don.

-- 
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/a7577cff-a448-4e44-91b0-6d9d9e4557c5n%40googlegroups.com.


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.


[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.


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

2020-11-01 Thread infodeveloperdon
I've never had problems with the .zo files being auto-created during 
development, only when update the Racket version because of course then a 
new compiler is involved. If I am remembering correctly, any time I've had 
issues with the compiled files, I've resolved them by deleting the compiled 
directory identified by the error message. Which only makes me wonder if 
there is some function I am unaware of that will update compiled 
directories without needing to specify the path to each one, or find and 
delete them all (Racket recreates them).

-- 
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/1169e7cf-80b2-4093-b3be-f9253993188cn%40googlegroups.com.


[racket-users] Which action should I take: (a) go back to using Racket v.7.7 or (b) resolve issues.

2020-11-01 Thread infodeveloperdon
I'm nervous. After installing racket version 7.8 on linux (Ubuntu) at a 
time when I really should not have done only because I'm in the middle of 
development and would much prefer to change the version at a later date.  
The installation did not go without a hitch this time, meaning the problem 
seems to be minor but will take me time to resolve. I am inclined to return 
to version 7.7, if that is possible.
Q. Is it a mistake to simply reinstall racket v.7.7? Does that action make 
it the current version even though version 7.8 is now installed.
Q. To change the current racket version should I be using:
a)  raco setup... 
or possibly:
b)  raco pkg remove
and
  raco pkg install
Q. I've been reading up on "Getting Started with Packages" but am I correct 
in thinking they are conceptually within a racket version rather than the 
complete definition of a racket version.
Thanks
Don

-- 
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/e45ac1e8-379f-445b-ad1b-8181512e8231n%40googlegroups.com.


Re: [racket-users] After installing new racket version it seems that I need to find and delete all 'compiled' dirs...

2020-11-01 Thread infodeveloperdon
How do I avoid the auto-creation of the 'compiled' directory which 
currently occurs every time I create a module?  Don
On Sunday, November 1, 2020 at 2:27:57 PM UTC-7 gneuner2 wrote:

>
> On 11/1/2020 11:34 AM, infodeveloperdon wrote:
> > so that when I run Racket it recreates the 'compiled' directories 
> > using the latest compiler.
> > Or is there a better way?
>
> Yeah ... don't use 'compiled' directories for development - they can get 
> out of sync and screw up your debugging.
>
> They really are only useful for performance testing or for deployment in 
> situations where you don't want to (or can't) build a single executable.
>
> 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/7826da5f-e661-483e-8998-f64ac243834bn%40googlegroups.com.


[racket-users] Should I enter racket questions here: https://groups.google.com/g/racket-users

2020-11-01 Thread infodeveloperdon

Should I enter racket questions here: 
https://groups.google.com/g/racket-users

-- 
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/8ebd713e-eb8f-422d-80d9-2c7b3edb55dbn%40googlegroups.com.


[racket-users] After installing new racket version it seems that I need to find and delete all 'compiled' dirs...

2020-11-01 Thread infodeveloperdon
so that when I run Racket it recreates the 'compiled' directories using the 
latest compiler.
Or is there a better way?

-- 
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/d3e0f45a-7b85-40d7-8a1a-460583e66be0n%40googlegroups.com.


[racket-users] Where to specify a previously installed racket version or...

2020-11-01 Thread infodeveloperdon
Where to specify a previously installed racket version or...
is the only way to change back from version 7.8 to 7.7 to re-install 
version 7.7?

-- 
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/41de345b-0846-43d1-a390-dd8bd7d6534en%40googlegroups.com.


[racket-users] My gmail auto receives new top-level entries from [Racket Users] but not reply entries...

2019-01-15 Thread infodeveloperdon
Hi,
It has been awhile since I've been posting questions to [Racket Users].
Previously, my gmail account would receive both my query entry and every 
reply entry. (Of course, it actually received all entries and replies 
entered into [Racket Users].)

When I began using [Racket Users] recently, I notice that all top-level 
entries are being automatically sent to my email address (which is as I 
like), but no replies are being sent.
When I logged onto [Racket Users] today, I notice that I had 4 or 5 
replies.  Great! 

Can anyone advise how I might begin to configure somewhere so that I 
receive all reply entries in addition to the top-level entries that I 
currently receive in my gmail account?
Thanks
Don

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