Re: [racket-users] Re: machine and network outage at Northeastern

2021-07-02 Thread Shu-Hung You
The PLaneT website (https://planet.racket-lang.org/) is currently
unreachable. The error message is ERR_CONNECTION_REFUSED.

-- 
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/CAMTzy%2Bb9GkCr_rpFnwUUTrB1PCoXsb%2BCBnEv1cbxNtqK2nKF9A%40mail.gmail.com.


Re: [racket-users] Show & Tell - Xiden Documentation Revamp

2021-07-02 Thread Sage Gerard
Yikes, sorry about that. That's what I get for cross-posting HTML from another 
dark mode app. Looked the same to me. :)

Last try.

I did a pretty sweeping edit pass on Xiden's documentation. I'm really proud of 
it, and I'd like to show it off. 
https://docs.racket-lang.org/xiden-index/index.html?q=xiden%20documentation

This revision of the docs uses a Guide [-> Exercises] -> Reference reading 
flow. It allowed me to delete a lot of extra text, but I don't know if it 
became easier or harder to understand.

Could I get some feedback on just the guide and the transition to the 
exercises? What do you find clear/confusing? Did the examples work on your 
machine? etc.

On 7/2/21 6:02 PM, Sage Gerard wrote:

> Hey folks,
>
> I did a pretty sweeping edit pass on Xiden's documentation. I'm really proud 
> of it, and I'd like to show it off. 
> https://docs.racket-lang.org/xiden-index/index.html?q=xiden%20documentation 
> This revision of the docs uses a Guide [-> Exercises] -> Reference reading 
> flow. It allowed me to delete a lot of extra text, but I don't know if it 
> became easier or harder to understand. Could I get some feedback on just the 
> guide and the transition to the exercises? What do you find clear/confusing? 
> Did the examples work on your machine? etc.

--
~slg

-- 
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/674c115f-0752-def3-3274-2cee57a05d39%40sagegerard.com.


[racket-users] Show & Tell - Xiden Documentation Revamp

2021-07-02 Thread Sage Gerard
Hey folks,

I did a pretty sweeping edit pass on Xiden's documentation. I'm really proud of 
it, and I'd like to show it off. 
https://docs.racket-lang.org/xiden-index/index.html?q=xiden%20documentation 
This revision of the docs uses a Guide [-> Exercises] -> Reference reading 
flow. It allowed me to delete a lot of extra text, but I don't know if it 
became easier or harder to understand. Could I get some feedback on just the 
guide and the transition to the exercises? What do you find clear/confusing? 
Did the examples work on your machine? etc.

--
~slg

-- 
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/35ebe8f7-b8ca-54bb-4ad8-6ecefe403f9b%40sagegerard.com.


[racket-users] Differences between execution in DrRacket and Command Line

2021-07-02 Thread Rhazes Spell
Hello-
I have been using Racket for about 18 months for personal projects and 
teaching. I have been doing all of my work in DrRacket but I wanted to 
interact with a module that I wrote on the interactive command line this 
morning. I am getting an error while using the command line that I am not 
getting in the Dr.Racket Interactions window.

This is the code that runs fine in the Interactions window of DrRacket:
(input-financial-data) deserializes the data properly and populates the 
list variable that I am using correctly. The lines of code in the module 
are:

...
(define data (input-financial-data data-file))
(printf "~a data records read~n" (length data))
(define closed-trades (filter trade-closed? data))
...

On the command line when running:
$> racket -i
...
> (enter! "year-1-analysis.rkt")
I get an error while trying to read a file of serialized structs. The error 
is:

given value instantiates a different structure type with the same name
  expected: trade?
  given: (trade #1=(date* 0 0 0 21 04 2017 3 294 #t -25200 0 "PDT") 'PYPL 
"simInvest" (list (transaction 2978996 #1# "simInvest" 'PYPL 'BOUGHT 30 
43.70) (transaction 29556891965 (date* 0 0 0 23 04 2017 3 294 #t -25200 0 
"PDT") "simInvest" 'PYPL 'B...


My question is what are the differences between using a module in DrRacket 
versus on the command line? Thank you in advance for your assistance.

Cheers,
r..

-- 
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/b438252e-ef79-4bfe-ac7b-2f508d3419ddn%40googlegroups.com.


[racket-users] Racket News - Issue 52

2021-07-02 Thread Paulo Matos
Issue 52 of RN is here: 
https://racket-news.com/2021/07/racket-news-issue-52.html

Enjoy!

Paulo Matos

-- 
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/ac473359-ddf7-4f6c-9cb0-903f86c83e8bn%40googlegroups.com.


Re: [racket-users] raco pkg migrate

2021-07-02 Thread Laurent
I usually use this script:
https://gist.github.com/Metaxal/13c4effc483c5ef9f5797ace4950f97a
The only drawback I've found so far for my own use cases (unix-wide
distribution) is that it won't migrate between snapshots and releases (but
it will migrate between snapshots and snapshots, and between releases and
releases).

On Fri, Jul 2, 2021 at 4:21 AM Curtis Dutton  wrote:

> after I install the newest racket package on my linux servers I always
> need to run raco pkg migrate to reinstall dependant packages. trouble is I
> can never figure out the version name of the previous install. Is there a
> raco pkg migrate command that can just migrate the packages from the latest
> previously installed version?
>
> Ideally I'd like to automate that so when I apt-get upgrade the packages
> are migrated for me.
>
> Thanks,
> Curt
>
> --
> 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/CAPChLEoWdT4BrQnLgXen4g4A%2BCorxmQeQ61uu2x5oxQ2ibF2dQ%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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CABNTSaGA8vvfWtHL4VipTATEBB9n6iYHsUQh3Dh7Yr%2BbkXYHxA%40mail.gmail.com.