[racket-users] Installing Racket 7.5 OSX command line

2019-11-20 Thread tbrooke
I have been trying to get the path set for racket 7.5 cs on OSX -  7.4 cs 
worked fine 

I am not on Catalina yet. I am on Mojave 10.14.6

I renamed the directory I tried adding to paths.d and still no go

I get:

zsh: command not found: racket

This works from the command line:  /Applications/Racket/bin/racket  and  
 /Applications/Racket/bin/raco 


This is racket in my paths.d:  /Applications/Racket/bin/racket

This is $PATH (with racket in bold)

/Users/tmb/Coding/Google/google-cloud-sdk/bin:/Users/tmb/.jenv/shims:/Users/tmb/.jenv/bin:/Users/tmb/miniconda3/bin:/Users/tmb/.pyenv/shims:/Users/tmb/.rbenv/shims:/Users/tmb/.pyenv/shims:/Library/Frameworks/Python.framework/Versions/3.7/bin:/Users/tmb/.cargo/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:
*/Applications/Racket/bin/racket:/*
opt/X11/bin:/Users/tmb/.pyenv/shims:/Users/tmb/.pyenv/bin:/Users/tmb/.npm-packages/bin:/Users/tmb/miniconda3/bin:/Applications/Postgres.app/Contents/MacOS/bin:/Users/tmb/.rbenv/shims:/Users/tmb/.rbenv/bin:/Applications/Postgres.app/Contents/Versions/latest/bin:/usr/local/opt/go/libexec/bin:/Library/TeX/texbin:/Users/tmb/golang/bin:/Users/tmb/.ec2/bin:/usr/local/smlnj-110.77/bin:/Library/Python/2.7/bin

finally I tried switching to /Applications/Racket/bin  and tried to run  
racket and raco and I got the:  command not found error

-- 
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/ed558c47-f415-4341-92e3-eb5b7ce1d4ee%40googlegroups.com.


[racket-users] Great presentation on "Making a language in Racket" from Heart of Clojure

2019-08-25 Thread tbrooke

https://www.youtube.com/watch?v=qyhjok21Y3o=PLhYmIiHOMWoEgJEvgkmUe8D0agxy_T2vR=16=0s

-- 
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/1c009b82-7f5a-40c6-b75f-e1a813d7f755%40googlegroups.com.


[racket-users] Article from "Uncle Bob" Clojure not Racket but syntax related

2019-08-24 Thread tbrooke



>From Bob Martin: (I know he's not the last word, but interesting)



Over the last 5 decades, I’ve used a LOT of different languages.

And I’ve come to a conclusion.


My favorite language of all, the language that I think will outlast all the 
others, the language that I believe will eventually become the standard 
language that all programmers use…


…is Lisp.


I have not come to this conclusion casually, nor even willingly. I was not 
fan of Lisp. For 40 years I was not a fan of Lisp. I saw the CARs and CDRs 
and CADDADDRs and thought it was all just academic baloney; interesting but 
not truly useful.


And then, a decade ago I found SICP 
. And after 
that I found Clojure. Clojure is a Lisp that rides on top of the Java 
ecosystem (and does not have CARs or CDRs, or CADADAADR s).


I wasn’t convinced right away. It took a few years. But after the usual 
stumbling around and frustration, I began to realize that this language was 
the easiest, most elegant, least imposing language I had ever used – and 
not by a small margin.

So, why Clojure? I’ve made a list. Are you ready for it? Here it is.

   1. Economy of Expression.

If you are wondering where the rest of the list is, there isn’t any more. 
That’s the reason. There’s only one. It is just simpler, and easier, and 
less occluding to write expressive code in Clojure. It requires fewer 
lines. It require fewer characters. It require fewer hours. It requires 
fewer mental gymnastics.


http://blog.cleancoder.com/uncle-bob/2019/08/22/WhyClojure.html

-- 
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/e22dd0c7-dc1d-4b92-8bbd-548af243f78a%40googlegroups.com.


[racket-users] Re: Racket Jupyter/nextJournal

2019-08-18 Thread tbrooke
Good News from nextJournal

Good news, turns it Racket actually *does* work: 
https://nextjournal.com/nextjournal/racket-template

Remix this to try it.

We're still rolling out a change later today that will include the Racket 
Environment in our set of default images which means that you won't have to 
wait for it to download anymore. Will let you know once that's done and 
then it would be great to announce it somewhere and ask for people to test 
it. Would this be appropriate on the mailing list or somewhere else?

Best,
Martin

On Wednesday, August 14, 2019 at 8:57:52 AM UTC-4, tbrooke wrote:
>
> There has been some discussion about Racket on Jupyter. nextJournal is a 
> fairly new project for hosted notebooks that is written in Clojure and has 
> support for Clojure as well as several other languages. In addition to 
> Clojure they have templates for Julia,  Haskell, and Scala and they support 
> Bash which should allow for installation of almost anything including 
> Racket. They do have a free level and some paid levels. 
>
> I have no relationship with them other than asking about Racket support  
> and Martin with nextJournal has been helping me. He is apparently stuck and 
> asked if I knew of someone that could help. Here is a link to what he has 
> done so far: https://nextjournal.com/nextjournal/racket-environment
>
> Can anyone help with this ?
>
>
>

-- 
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/7dbf6de9-6fa3-4a9f-a450-ca22c65836b5%40googlegroups.com.


[racket-users] Racket Jupyter/nextJournal

2019-08-14 Thread tbrooke
There has been some discussion about Racket on Jupyter. nextJournal is a 
fairly new project for hosted notebooks that is written in Clojure and has 
support for Clojure as well as several other languages. In addition to 
Clojure they have templates for Julia,  Haskell, and Scala and they support 
Bash which should allow for installation of almost anything including 
Racket. They do have a free level and some paid levels. 

I have no relationship with them other than asking about Racket support  
and Martin with nextJournal has been helping me. He is apparently stuck and 
asked if I knew of someone that could help. Here is a link to what he has 
done so far: https://nextjournal.com/nextjournal/racket-environment

Can anyone help with this ?


-- 
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/f12a47e1-438d-461a-ab38-53bdd2bb2d0e%40googlegroups.com.


[racket-users] Re: DrRacket2?

2019-08-05 Thread tbrooke
Martin at nextJournal was looking into it but got distracted so I will try 
to post a reminder - they have Clojure and supposedly they can support any 
language via bash and/or Docker 

I agree nextjournal or not notebook support would be nice and it would help 
with newcomers since it is so easy to create interactive tutorials

On Sunday, August 4, 2019 at 7:12:29 PM UTC-4, Stephen De Gabrielle wrote:
>
> I had a go with nextjournal but sadly there was no way to create racket 
> 'nextjournal runtime'.
>
> s.
>
>
> On Saturday, August 3, 2019 at 1:04:34 PM UTC+1, tbrooke wrote:
>>
>> I corresponded briefly with Martin Kavaler at https://nextjournal.com/  
>> a notebook platform that supports Clojure and several other languages about 
>> Racket -- It 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/90bf3af7-9b60-4cec-aa59-d6aa03aad5db%40googlegroups.com.


[racket-users] Re: DrRacket2?

2019-08-03 Thread tbrooke
I corresponded briefly with Martin Kavaler at https://nextjournal.com/  a 
notebook platform that supports Clojure and several other languages about 
Racket -- It should be able to run with docker - He tried it and it didn't 
work but it shouldn't be too difficult

I have a link to his attempt below


I've actually tried to get racket going a while ago, can't remember exactly 
where or why I stopped: 
https://nextjournal.com/a/Khw2YPnFau27nZNMhH6Ld?token=7Kbhp1R2C8zVpJVmnoaWA5

Unfortunately I'm already on my way out for today but would love to get it 
going with you in the coming days.

All the Best,
Martin 

On Friday, August 2, 2019 at 12:27:38 PM UTC-4, Stephen De Gabrielle wrote:
>
> Hi,
> I’ve just posted a DrRacket2 issue on the RFC’s github  
> https://github.com/racket/racket2-rfcs/issues/96
>
>> Is a DrRacket2 needed?  
>> Who is it for?  
>> What functionality should it have?  
>> What should it look like?
>
>
> My first suggestion is a 'notebook mode' like Jupyter notebooks.
>
> FYI did you know you can run DrRacket from inside DrRacket 
> try (require drracket/drracket) in the interactions-repl
>
> Kind regards
>
> Stephen
>

-- 
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/1b50ff85-f13c-4ced-9972-9ddd12f3f53a%40googlegroups.com.


[racket-users] Re: using scribble for everything from category theory to poetry

2019-07-16 Thread tbrooke


Matthew Butterick may be able to jump in here and answer better than I can 
but you might want to look at Pollen https://docs.racket-lang.org/pollen/ and 
language that he built on top of Scribble for publishing both on the webs 
and in print

I am not sure about the speed since Pollen relies on Scribble but I do know 
that some large projects have been created with Pollen


On Monday, July 15, 2019 at 5:38:22 PM UTC-4, Hendrik Boom wrote:
>
> I'm thinking of trying Scribble again now that I have a new computer. 
> I found it unacceptably slow years ago when I tried it on a 80,000 word 
> novel. 
> I now, however, have a modern machine and it may be fast enough. 
>
> I have a few questions before I convert *everything* I'm doing to 
> scribble.   
> Each of these questions are relevant to a particular planned use.  The 
> more of 
> them have positive answers, the more projects I'll be able to 
> scribblify. 
>
> (1) How does scribble handle mathematical notation?  Presumably there's a 
> hack 
> for when I'm generating TeX, but is there anything reasonable when 
> generating 
> HTML?  Mathjax is somewhat tolerable, but mathML would be nice. 
>
> (2) How can I produce category-theoretical diagrams, such as the one on 
> top of 
> page 29 in section 3.7 in the pdf file 
> https://www.logicmatters.net/resources/pdfs/GentleIntro.pdf 
> Oh yes, category theorists also use different shapes of arrow 
> heads and tails just to challenge us computer people. 
>
> (3) Are there practical ways of including images whose source code might 
> be 
> jpegs ot pngs? 
>
> (4) How can I include other scribble files into a main scribble file 
> *without* 
> making it a separate section?  The tutorial 
> https://docs.racket-lang.org/scribble/getting-started.html 
> mentions include-section, but I'm looking for something like just C's 
> #include. 
>
> (5) How can I make text conditional on the presence or absence of a 
> command-line parameter of the value of a global variable? 
>
> (6) How do I achieve precise, line-by-line control of indentation for 
> poetry? 
>
> -- 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/0d37a842-6880-4367-958c-e6a5e6789587%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] Re: Whalesong instead of Clojurescript

2016-09-03 Thread tbrooke
On Friday, September 2, 2016 at 1:46:29 PM UTC-4, Shriram Krishnamurthi wrote:
> On Thursday, August 25, 2016 at 9:53:40 AM UTC-4, tbrooke wrote:
> > I briefly looked at Whalesong and I was wondering if anyone is using it and 
> > if it is mature and ready to use. I use Clojurescript and it seems to me 
> > that Whalesong should be equivalent with the advantage of allowing me to 
> > work in Racket.
> 
> Whalesong has some performance problems, because it tries its best to 
> faithfully reproduce the stack behavior we know and love. That is, 
> continuations, composable continuations, etc. But even more so, enabling you 
> to pause and stop computation, which are things alien to JavaScript. So a lot 
> of effort goes to stack management. This is something most transpilers to 
> JavaScript ignore, resulting in much better performance.
> 
> In addition, Whalesong optimized for the student-facing aspects of Racket, 
> rather than the entire language (which is quite large). Therefore, you may 
> run into unpleasant surprises when you encounter a feature that is useful to 
> you but not supported.
> 
> The best I can say is, give it a try, but don't expect too much. Depending on 
> your needs, you may be pleasantly satisfied, or deeply unhappy. (-:
> 
> Shriram

I also looks like there hasn't been much activity in Whalesong recently. I am 
intrigued by urlang and I have been looking for an excuse to dig into Nanopass 

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


[racket-users] Whalesong instead of Clojurescript

2016-08-25 Thread tbrooke
I briefly looked at Whalesong and I was wondering if anyone is using it and if 
it is mature and ready to use. I use Clojurescript and it seems to me that 
Whalesong should be equivalent with the advantage of allowing me to work in 
Racket.

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