Re: [racket-users] Ubuntu PPA also updated to v7.9

2020-11-09 Thread evdubs
$ ls ~/.racket
6.11  6.12  7.0  7.1  7.2  7.3  7.4  7.5  7.6  7.7  7.8  7.9  
download-cache  racket-prefs.rktd  snapshot

The above looks like the location where my user packages are installed (as 
in, the packages from raco pkg install).

$ ls ~/.config/racket
ls: cannot access '/home/evdubs/.config/racket': No such file or directory

Evan
On Monday, November 9, 2020 at 4:14:28 PM UTC-10 Matthew Flatt wrote:

> At Mon, 9 Nov 2020 18:08:51 -0800 (PST), evdubs wrote:
> > So I ran:
> > $ raco pkg config --set catalogs https://pkgs.racket-lang.org 
> > and now I am able to migrate packages. Thank you, Matthew. Maybe this is 
> > related to my installation being from the PPA.
>
> Maybe, but I wonder whether it might have something to do with the
> switch to XDG paths. Do you have "~/.racket" and/or "~/.config/racket"
> directories?
>
>
> Matthew
>

-- 
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/293c82e6-38ae-43d8-aa3e-df79d046bfefn%40googlegroups.com.


Re: [racket-users] Ubuntu PPA also updated to v7.9

2020-11-09 Thread Matthew Flatt
At Mon, 9 Nov 2020 18:08:51 -0800 (PST), evdubs wrote:
> So I ran:
> $ raco pkg config --set catalogs https://pkgs.racket-lang.org 
> and now I am able to migrate packages. Thank you, Matthew. Maybe this is 
> related to my installation being from the PPA.

Maybe, but I wonder whether it might have something to do with the
switch to XDG paths. Do you have "~/.racket" and/or "~/.config/racket"
directories?


Matthew

-- 
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/20201109191423.3d8%40sirmail.smtps.cs.utah.edu.


Re: [racket-users] Ubuntu PPA also updated to v7.9

2020-11-09 Thread evdubs
$ raco pkg config
name:
  7.9
catalogs:
  https://download.racket-lang.org/releases/7.9/catalog/
default-scope:
  user
download-cache-dir:
  /home/evdubs/.racket/download-cache
download-cache-max-files:
  1024
download-cache-max-bytes:
  67108864
git-checkout-credentials:
trash-max-packages:
  512
trash-max-seconds:
  172800
network-retries:
  5

So I ran:
$ raco pkg config --set catalogs https://pkgs.racket-lang.org 
and now I am able to migrate packages. Thank you, Matthew. Maybe this is 
related to my installation being from the PPA.

Evan

On Monday, November 9, 2020 at 3:57:05 PM UTC-10 Matthew Flatt wrote:

> What does `raco pkg config` say? The resolution search doesn't seem to
> be trying
>
> https://pkgs.racket-lang.org
>
> which is where those packages would be found.
>
> At Mon, 9 Nov 2020 17:43:22 -0800 (PST), evdubs wrote:
> > Sorry, I should have just included the full error the first time. I get:
> > 
> > $ raco pkg migrate 7.8
> > Packages to install:
> > binaryio
> > feature-profile
> > gregor
> > html-parsing
> > interactive-brokers-api
> > sxml
> > tasks
> > threading
> > webscraperhelper
> > 00: Resolving "binaryio" via 
> > https://download.racket-lang.org/releases/7.9/catalog/
> > 01: Resolving "feature-profile" via 
> > https://download.racket-lang.org/releases/7.9/catalog/
> > 02: Resolving "gregor" via 
> > https://download.racket-lang.org/releases/7.9/catalog/
> > 03: Resolving "html-parsing" via 
> > https://download.racket-lang.org/releases/7.9/catalog/
> > 05: Resolving "sxml" via 
> > https://download.racket-lang.org/releases/7.9/catalog/
> > 06: Resolving "tasks" via 
> > https://download.racket-lang.org/releases/7.9/catalog/
> > 04: Resolving "interactive-brokers-api" via 
> > https://download.racket-lang.org/releases/7.9/catalog/
> > 07: Resolving "threading" via 
> > https://download.racket-lang.org/releases/7.9/catalog/
> > raco pkg migrate: cannot find package on catalogs
> > package: threading
> > raco pkg migrate: cannot find package on catalogs
> > package: html-parsing
> > raco pkg migrate: cannot find package on catalogs
> > package: interactive-brokers-api
> > raco pkg migrate: cannot find package on catalogs
> > package: sxml
> > raco pkg migrate: cannot find package on catalogs
> > package: tasks
> > raco pkg migrate: cannot find package on catalogs
> > package: gregor
> > raco pkg migrate: cannot find package on catalogs
> > package: binaryio
> > raco pkg migrate: cannot find package on catalogs
> > package: binaryio
> > 
> > Evan
> > On Monday, November 9, 2020 at 3:32:04 PM UTC-10 Matthew Flatt wrote:
> > 
> > > At Mon, 9 Nov 2020 16:28:32 -0800 (PST), evdubs wrote:
> > > > Looking at https://download.racket-lang.org/releases/7.9/catalog/, 
> an 
> > > > uncaught exception is being thrown. This error is being returned by 
> > > other 
> > > > versions, too (7.8 and 7.7 at least).
> > >
> > > When that URL is used as a catalog by `raco pkg`, it doesn't look for
> > > HTML files or "index.html" --- and there's currently no "index.html"
> > > installed at that path, so that's why you get an address when using the
> > > address directly in a browser.
> > >
> > > But that catalog works for me. For example,
> > >
> > > raco pkg catalog-show \
> > > --catalog https://download.racket-lang.org/releases/7.9/catalog/ \
> > > racket-lib
> > >
> > > shows information for "racket-lib", and
> > >
> > > raco pkg catalog-copy \
> > > https://download.racket-lang.org/releases/7.9/catalog/ \
> > > pkgs-copy/
> > >
> > > creates a local catalog listing many packages.
> > >
> > >
> > > What package couldn't be migrated?
> > >
> > 
> > -- 
> > 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/a84f5372-8d83-4186-b998-5f9dd7e2
> > 5e86n%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/55cfeece-82d4-4586-8e21-8197900b7923n%40googlegroups.com.


Re: [racket-users] Ubuntu PPA also updated to v7.9

2020-11-09 Thread Matthew Flatt
What does `raco pkg config` say? The resolution search doesn't seem to
be trying

 https://pkgs.racket-lang.org

which is where those packages would be found.

At Mon, 9 Nov 2020 17:43:22 -0800 (PST), evdubs wrote:
> Sorry, I should have just included the full error the first time. I get:
> 
> $ raco pkg migrate 7.8
> Packages to install:
>   binaryio
>   feature-profile
>   gregor
>   html-parsing
>   interactive-brokers-api
>   sxml
>   tasks
>   threading
>   webscraperhelper
> 00: Resolving "binaryio" via 
> https://download.racket-lang.org/releases/7.9/catalog/
> 01: Resolving "feature-profile" via 
> https://download.racket-lang.org/releases/7.9/catalog/
> 02: Resolving "gregor" via 
> https://download.racket-lang.org/releases/7.9/catalog/
> 03: Resolving "html-parsing" via 
> https://download.racket-lang.org/releases/7.9/catalog/
> 05: Resolving "sxml" via 
> https://download.racket-lang.org/releases/7.9/catalog/
> 06: Resolving "tasks" via 
> https://download.racket-lang.org/releases/7.9/catalog/
> 04: Resolving "interactive-brokers-api" via 
> https://download.racket-lang.org/releases/7.9/catalog/
> 07: Resolving "threading" via 
> https://download.racket-lang.org/releases/7.9/catalog/
> raco pkg migrate: cannot find package on catalogs
>   package: threading
> raco pkg migrate: cannot find package on catalogs
>   package: html-parsing
> raco pkg migrate: cannot find package on catalogs
>   package: interactive-brokers-api
> raco pkg migrate: cannot find package on catalogs
>   package: sxml
> raco pkg migrate: cannot find package on catalogs
>   package: tasks
> raco pkg migrate: cannot find package on catalogs
>   package: gregor
> raco pkg migrate: cannot find package on catalogs
>   package: binaryio
> raco pkg migrate: cannot find package on catalogs
>   package: binaryio
> 
> Evan
> On Monday, November 9, 2020 at 3:32:04 PM UTC-10 Matthew Flatt wrote:
> 
> > At Mon, 9 Nov 2020 16:28:32 -0800 (PST), evdubs wrote:
> > > Looking at https://download.racket-lang.org/releases/7.9/catalog/, an 
> > > uncaught exception is being thrown. This error is being returned by 
> > other 
> > > versions, too (7.8 and 7.7 at least).
> >
> > When that URL is used as a catalog by `raco pkg`, it doesn't look for
> > HTML files or "index.html" --- and there's currently no "index.html"
> > installed at that path, so that's why you get an address when using the
> > address directly in a browser.
> >
> > But that catalog works for me. For example,
> >
> > raco pkg catalog-show \
> > --catalog https://download.racket-lang.org/releases/7.9/catalog/ \
> > racket-lib
> >
> > shows information for "racket-lib", and
> >
> > raco pkg catalog-copy \
> > https://download.racket-lang.org/releases/7.9/catalog/ \
> > pkgs-copy/
> >
> > creates a local catalog listing many packages.
> >
> >
> > What package couldn't be migrated?
> >
> 
> -- 
> 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/a84f5372-8d83-4186-b998-5f9dd7e2
> 5e86n%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/20201109185659.3a8%40sirmail.smtps.cs.utah.edu.


Re: [racket-users] Ubuntu PPA also updated to v7.9

2020-11-09 Thread evdubs
Sorry, I should have just included the full error the first time. I get:

$ raco pkg migrate 7.8
Packages to install:
  binaryio
  feature-profile
  gregor
  html-parsing
  interactive-brokers-api
  sxml
  tasks
  threading
  webscraperhelper
00: Resolving "binaryio" via 
https://download.racket-lang.org/releases/7.9/catalog/
01: Resolving "feature-profile" via 
https://download.racket-lang.org/releases/7.9/catalog/
02: Resolving "gregor" via 
https://download.racket-lang.org/releases/7.9/catalog/
03: Resolving "html-parsing" via 
https://download.racket-lang.org/releases/7.9/catalog/
05: Resolving "sxml" via 
https://download.racket-lang.org/releases/7.9/catalog/
06: Resolving "tasks" via 
https://download.racket-lang.org/releases/7.9/catalog/
04: Resolving "interactive-brokers-api" via 
https://download.racket-lang.org/releases/7.9/catalog/
07: Resolving "threading" via 
https://download.racket-lang.org/releases/7.9/catalog/
raco pkg migrate: cannot find package on catalogs
  package: threading
raco pkg migrate: cannot find package on catalogs
  package: html-parsing
raco pkg migrate: cannot find package on catalogs
  package: interactive-brokers-api
raco pkg migrate: cannot find package on catalogs
  package: sxml
raco pkg migrate: cannot find package on catalogs
  package: tasks
raco pkg migrate: cannot find package on catalogs
  package: gregor
raco pkg migrate: cannot find package on catalogs
  package: binaryio
raco pkg migrate: cannot find package on catalogs
  package: binaryio

Evan
On Monday, November 9, 2020 at 3:32:04 PM UTC-10 Matthew Flatt wrote:

> At Mon, 9 Nov 2020 16:28:32 -0800 (PST), evdubs wrote:
> > Looking at https://download.racket-lang.org/releases/7.9/catalog/, an 
> > uncaught exception is being thrown. This error is being returned by 
> other 
> > versions, too (7.8 and 7.7 at least).
>
> When that URL is used as a catalog by `raco pkg`, it doesn't look for
> HTML files or "index.html" --- and there's currently no "index.html"
> installed at that path, so that's why you get an address when using the
> address directly in a browser.
>
> But that catalog works for me. For example,
>
> raco pkg catalog-show \
> --catalog https://download.racket-lang.org/releases/7.9/catalog/ \
> racket-lib
>
> shows information for "racket-lib", and
>
> raco pkg catalog-copy \
> https://download.racket-lang.org/releases/7.9/catalog/ \
> pkgs-copy/
>
> creates a local catalog listing many packages.
>
>
> What package couldn't be migrated?
>

-- 
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/a84f5372-8d83-4186-b998-5f9dd7e25e86n%40googlegroups.com.


Re: [racket-users] Ubuntu PPA also updated to v7.9

2020-11-09 Thread Matthew Flatt
At Mon, 9 Nov 2020 16:28:32 -0800 (PST), evdubs wrote:
> Looking at https://download.racket-lang.org/releases/7.9/catalog/, an 
> uncaught exception is being thrown. This error is being returned by other 
> versions, too (7.8 and 7.7 at least).

When that URL is used as a catalog by `raco pkg`, it doesn't look for
HTML files or "index.html" --- and there's currently no "index.html"
installed at that path, so that's why you get an address when using the
address directly in a browser.

But that catalog works for me. For example,

  raco pkg catalog-show \
   --catalog  https://download.racket-lang.org/releases/7.9/catalog/  \
   racket-lib

shows information for "racket-lib", and

  raco pkg catalog-copy \
   https://download.racket-lang.org/releases/7.9/catalog/  \
   pkgs-copy/

creates a local catalog listing many packages.


What package couldn't be migrated?

-- 
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/20201109183158.203%40sirmail.smtps.cs.utah.edu.


Re: [racket-users] Ubuntu PPA also updated to v7.9

2020-11-09 Thread evdubs
I just upgraded my Racket installation to 7.9. I tried to run raco pkg 
migrate 7.8

I got the following error:

raco pkg migrate: cannot find package on catalogs

Looking at https://download.racket-lang.org/releases/7.9/catalog/, an 
uncaught exception is being thrown. This error is being returned by other 
versions, too (7.8 and 7.7 at least).

Another user in IRC has confirmed this behavior.

Evan
On Monday, November 9, 2020 at 9:37:58 AM UTC-10 Stephen De Gabrielle wrote:

> Thanks Asumu
>
> I've posted on r/racket - there are a lot of linux users there so I'm sure 
> this is much appreciated.
>
> Kind regards
>
> Stephen
>
>
> On Mon, Nov 9, 2020 at 6:35 PM Asumu Takikawa  
> wrote:
>
>> On 2020-11-02 19:10:33 -0500, 'John Clements' via Racket Users wrote:
>> > Racket version 7.9 is now available from
>> > 
>> > https://racket-lang.org/
>>
>> The Ubuntu PPA is now updated for version 7.9 as well, and available on
>> current Ubuntu versions (see https://wiki.ubuntu.com/Releases):
>>
>>   https://launchpad.net/~plt/+archive/ubuntu/racket
>>
>> As usual please report any issues on github:
>>
>>   https://github.com/takikawa/racket-ppa
>>
>> Cheers,
>> Asumu
>>
>> -- 
>> 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/20201109183545.t5gc34k7guhdvxvc%40nixos
>> .
>>
>

-- 
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/1e0283d2-bca4-44e5-803e-ea17c007fdbbn%40googlegroups.com.


Re: [racket-users] Ubuntu PPA also updated to v7.9

2020-11-09 Thread Stephen De Gabrielle
Thanks Asumu

I've posted on r/racket - there are a lot of linux users there so I'm sure
this is much appreciated.

Kind regards

Stephen


On Mon, Nov 9, 2020 at 6:35 PM Asumu Takikawa  wrote:

> On 2020-11-02 19:10:33 -0500, 'John Clements' via Racket Users wrote:
> > Racket version 7.9 is now available from
> >
> > https://racket-lang.org/
>
> The Ubuntu PPA is now updated for version 7.9 as well, and available on
> current Ubuntu versions (see https://wiki.ubuntu.com/Releases):
>
>   https://launchpad.net/~plt/+archive/ubuntu/racket
>
> As usual please report any issues on github:
>
>   https://github.com/takikawa/racket-ppa
>
> Cheers,
> Asumu
>
> --
> 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/20201109183545.t5gc34k7guhdvxvc%40nixos
> .
>

-- 
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-KWMsUdANpfFu3bgVTSRciqe%2Bb2Fo%3DuEsQYzh1OfyRYXg%40mail.gmail.com.


[racket-users] Ubuntu PPA also updated to v7.9

2020-11-09 Thread Asumu Takikawa
On 2020-11-02 19:10:33 -0500, 'John Clements' via Racket Users wrote:
> Racket version 7.9 is now available from
> 
> https://racket-lang.org/

The Ubuntu PPA is now updated for version 7.9 as well, and available on
current Ubuntu versions (see https://wiki.ubuntu.com/Releases):

  https://launchpad.net/~plt/+archive/ubuntu/racket

As usual please report any issues on github:

  https://github.com/takikawa/racket-ppa

Cheers,
Asumu

-- 
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/20201109183545.t5gc34k7guhdvxvc%40nixos.


Re: [racket-users] Historical note.

2020-11-09 Thread jackh...@gmail.com
I'm glad, I didn't expect my comment to be so helpful :)

For those curious, I have several examples of this pattern in Rebellion. 
The following constructs are all just structs of functions:

   - Comparators 
   - Converters 
   - Equivalence relations 
   
   - Reducers 
   - Transducers 

On Monday, November 9, 2020 at 2:03:52 AM UTC-8 unlimitedscolobb wrote:

> On Monday, November 9, 2020 at 1:51:05 AM UTC+1 Kieron Hardy wrote:
>
>>
>> > On Nov 8, 2020, at 2:58 PM, Hendrik Boom  
>> wrote: 
>> > 
>> >> On Sun, Nov 08, 2020 at 12:47:11PM -0800, unlimitedscolobb wrote: 
>> >> The idea of having structs whose fields contain functions has never 
>> occurred to me ... 
>> > 
>> > Historical note: 
>> > 
>> > I first encountered structures containing function in the source code 
>> for 
>> > OS/360 way back in the late 60's. In assembler. 
>> > 
>>
> Structures with fields containing functions has never occurred to me 
>> before, either, at least not in those terms. 
>>
>> However isn’t that exactly one of the key design principles behind how 
>> device-drivers are implemented and installed into an OS? And also how 
>> classes and objects were initially added to C as some pretty hairy #define 
>> macros and function pointers? 
>>
>> This design pattern insight would have been beneficial to me sooner - 
>> doh! 
>>
>>  
> I completely share your feelings Kieron.  In fact, I have already defined 
> structures with functions in the fields multiple times and in many 
> programming languages, but I have never thought how this pattern could be 
> used to implement generic-like functionality :D
>
> Thank you Hendrik for the historical note!
>
> -
> Sergiu
>

-- 
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/15dc0d41-dbd2-488a-9113-31c284443ce4n%40googlegroups.com.


Re: [racket-users] Historical note.

2020-11-09 Thread unlimitedscolobb
On Monday, November 9, 2020 at 1:51:05 AM UTC+1 Kieron Hardy wrote:

>
> > On Nov 8, 2020, at 2:58 PM, Hendrik Boom  wrote: 
> > 
> >> On Sun, Nov 08, 2020 at 12:47:11PM -0800, unlimitedscolobb wrote: 
> >> The idea of having structs whose fields contain functions has never 
> occurred to me ... 
> > 
> > Historical note: 
> > 
> > I first encountered structures containing function in the source code 
> for 
> > OS/360 way back in the late 60's. In assembler. 
> > 
> Structures with fields containing functions has never occurred to me 
> before, either, at least not in those terms. 
>
> However isn’t that exactly one of the key design principles behind how 
> device-drivers are implemented and installed into an OS? And also how 
> classes and objects were initially added to C as some pretty hairy #define 
> macros and function pointers? 
>
> This design pattern insight would have been beneficial to me sooner - doh! 
>
>  
I completely share your feelings Kieron.  In fact, I have already defined 
structures with functions in the fields multiple times and in many 
programming languages, but I have never thought how this pattern could be 
used to implement generic-like functionality :D

Thank you Hendrik for the historical note!

-
Sergiu

-- 
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/2fa2c643-04cd-4b59-9842-c68913124505n%40googlegroups.com.