Re: [racket-users] self contained zip file install?

2022-06-18 Thread Bruce O'Neel
HI,

If you do the build like I said it does not need to live in Program
Files.  It can live in your user directory, for example.  It works
fine.

cheers

bruce

On 2022-06-18T21:36:56.000+02:00, knigh...@gmail.com
 wrote:

> No powershell, it's very tightly locked down
> 
> Maybe someone can give feedback (will it work) on this hack
> 
> Hmmm ... If there's no easy, quick way I'll try to run a windows VM
> at home,  
> install in that VM, and copy racket from the VM's Windows 
> "Program Files"
>  folder to a USB, and put that on my work machine
> 
> -- 
> 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/c6bde6cd-0256-4f2d-b5e7-c39ed84cf702n%40googlegroups.com
> 
>[https://groups.google.com/d/msgid/racket-users/c6bde6cd-0256-4f2d-b5e7-c39ed84cf702n%40googlegroups.com?utm_medium=email_source=footer].
> 
> On Saturday, June 18, 2022 at 2:55:21 PM UTC-4 Bruce O'Neel wrote:
> 
>>  HI,
>>  
>>  So before I would download the minimal windows tar file to a linux
>>  system, untar it, and then zip it back up.
>>  
>>  Then that could be copied to the corporate windows system and
>>  unzipped.  And that give a minimal Racket.
>>  
>>  The part that has stopped working is I used to be able to, from
>>  cmd, run:
>>  
>>  raco pkg install -i racket-lib
>>  
>>  raco pkg install --deps search-auto -i main-distribution
>>  
>>  And I would have a fully working Racket.
>>  
>>  So this required cmd.exe to be run.  Can you run Powershell?
>>   That can be convinced to do those commands as well but I don't
>>  know how to do that.  There might even be some way in minimal
>>  racket to convince those commands to be run.
>>  
>>  What does not work anymore is that one of the packages is blocked
>>  by the corporate proxy now as a "virus" so minimal racket it is.
>>  
>>  cheers
>>  
>>  bruce
>>  
>>  On 2022-06-18T18:06:54.000+02:00, knigh...@gmail.com [//]
>>   wrote:
>>  
>>>   Hi all
>>>   
>>>   Is there a plain ZIP file for kind-of installing racket? (must
>>>   be ZIP - I can't even get a 7zip uninstaller installed).
>>>   I won't be able to put it in the standard Program Files folder
>>>   and can't associate rkt files but I'm allowed to set up a plain
>>>   directory and run from there. 
>>>   
>>>   I may download and work with files, but I have no admin on
>>>   this 
>>>   Windows 10 system
>>>   not even cmd - it's disallowed.
>>  
>>>   -- 
>>>   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/36036b4f-5bc6-4cd4-8807-b8761e96c547n%40googlegroups.com
>>>   
>>>[https://groups.google.com/d/msgid/racket-users/36036b4f-5bc6-4cd4-8807-b8761e96c547n%40googlegroups.com?utm_medium=email_source=footer].

-- 
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/e4919ff1e8f74ff92389e7dbf9d60dd7%40mail.infomaniak.com.


Re: [racket-users] self contained zip file install?

2022-06-18 Thread Bruce O'Neel
HI,

So before I would download the minimal windows tar file to a linux
system, untar it, and then zip it back up.

Then that could be copied to the corporate windows system and
unzipped.  And that give a minimal Racket.

The part that has stopped working is I used to be able to, from cmd,
run:

raco pkg install -i racket-lib

raco pkg install --deps search-auto -i main-distribution

And I would have a fully working Racket.

So this required cmd.exe to be run.  Can you run Powershell?  That
can be convinced to do those commands as well but I don't know how to
do that.  There might even be some way in minimal racket to convince
those commands to be run.

What does not work anymore is that one of the packages is blocked by
the corporate proxy now as a "virus" so minimal racket it is.

cheers

bruce

On 2022-06-18T18:06:54.000+02:00, knigh...@gmail.com
 wrote:

> Hi all
> 
> Is there a plain ZIP file for kind-of installing racket? (must be
> ZIP - I can't even get a 7zip uninstaller installed).
> I won't be able to put it in the standard Program Files folder and
> can't associate rkt files but I'm allowed to set up a plain
> directory and run from there. 
> 
> I may download and work with files, but I have no admin on this 
> Windows 10 system
> not even cmd - it's disallowed.
> 
> -- 
> 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/36036b4f-5bc6-4cd4-8807-b8761e96c547n%40googlegroups.com
> 
>[https://groups.google.com/d/msgid/racket-users/36036b4f-5bc6-4cd4-8807-b8761e96c547n%40googlegroups.com?utm_medium=email_source=footer].

-- 
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/e77fa077510fa215a448991bacbf8482%40mail.infomaniak.com.


Re: [racket-users] Surprising but convenient

2021-12-19 Thread Bruce O'Neel
HI,

It is a touch unclear what you mean by deleting the file and on which
OS you are using.

On Linux and similar OSes  the rm command just calls the unlink
system call.  This removes the file from the directory and if the
link count is now 0 then the file is removed from disk.  But this
last part happens only if the file is not open.  If it open you get a
situation where it is still on disk but not visible in any directory.

As long as the process does not close the file then all is good.  You
can write and read to the file with no problems.  But when the file
is closed then the file will disappear from disk.

More than once in my life there has been the "where did all the disk
space go?" conversation that has resulted in a multi megabyte, multi
gigabyte or now multi terabyte file being found and deleted.  Without
figuring out that it was open and therefore won't go away until some
process is killed as well.

Now none of the above could apply to Racket.  One would need to know
the gory details of how file writing is implemented.  

But this would explain what you see.

cheers

bruce

On 2021-12-19T18:08:13.000+01:00, Sage Gerard 
wrote:

> If I understand this correctly, there's a difference between
> deleting a _reference_ to 50 GB (like an inode), and actually
> writing 50 GB.
> 
> When you write to an output port, you are writing to a buffer in
> memory. This prevents the slow downs you've witnessed, because
> storage mediums are comparably slow. "Flushing" with (flush-output)
> or plumbers on port closure actually sends bytes outside of the
> process.
> 
> I wouldn't try using the same port after deleting a file. If Racket
> and the operating system initially agreed on a file descriptor that
> is now invalid, then you'll need to address that by opening a new
> port.
> 
> Note that I don't Racket's implementation details here. I'm
> recalling what I've seen happen across languages.
> 
> On 12/19/21 11:50 AM, Jacob Jozef wrote:
> 
>>  Hi
>>  
>>   
>>  
>>  I start a thread printing a file. When the file will be very long
>>  (say 50 GB) the thread takes too much time and I kill it when it
>>  takes more time than I want to permit. Outside the thread I clean
>>  up. Closing the output-port before deleting the file takes much
>>  time. But to my surprise I can delete the file before closing the
>>  port, which hardly takes time.
>>  
>>  Nice.
>>  
>>  Is this intended behaviour?
>>  
>>  After deleting the file, the port remains open, but writing to it
>>  does nothing. Correct?
>>  
>>   
>>  
>>  Thanks, Jos
>>  
>>   
>>  
>>   
>>  
>>   
>>  
>>   
>>   -- 
>>  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/EEC04679-E526-4215-B4DE-502B5B10567A%40hxcore.ol
>>  
>>[https://groups.google.com/d/msgid/racket-users/EEC04679-E526-4215-B4DE-502B5B10567A%40hxcore.ol?utm_medium=email_source=footer].
> 
> -- 
> 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/076c95f8-1d49-4294-9df8-73b1b39b1f01%40sagegerard.com
> 
>[https://groups.google.com/d/msgid/racket-users/076c95f8-1d49-4294-9df8-73b1b39b1f01%40sagegerard.com?utm_medium=email_source=footer].

-- 
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/59d8fba7f9183f7acfabd8f7689d032b%40mail.infomaniak.com.


[racket-users] Autumn Lisp Game Jam 2021

2021-09-23 Thread Bruce O'Neel
This might interest some of you...

Autumn Lisp Game Jam 2021 - itch.io
[https://itch.io/jam/autumn-lisp-game-jam-2021]

-- 
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/b887503f3a7781fe1681abbaf6e50969%40mail.infomaniak.com.


Re: [racket-users] Is there a good Racket DSL alternative to Image Magick?

2021-05-11 Thread Bruce O'Neel

This might be it.  
  

  
  
  
  
  
  

> I don't know of one off hand, but I believe RacketCon 2018 (?) included a 
> presenter that showed a PostScript-like DSL for designers and artists.  If 
> pict not cover your needs, maybe dig into the presentations?  
> Failing that, can you show what you'd hope the syntax would look like? That 
> would probably help point you in the right direction,  
> On 5/11/21 9:26 AM, Robert Haisfield wrote:  
> > I have to do a bunch of .jpg and .png image resizings and was looking for a 
> > programmatic way to do it. Is their a Racket DSL for 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](mailto:racket-users+unsubscr...@googlegroups.com).
> >   
> >  To view this discussion on the web visit .
> --  ~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](mailto:racket-users+unsubscr...@googlegroups.com).
>   
>  To view this discussion on the web visit .
  

-- 
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/1620742795-01b81de5d6862fd390ec60605ee3bc9d%40pckswarms.ch.


Re: [racket-users] Something is going slightly wrong visually with the Linux version

2021-04-13 Thread Bruce O'Neel

Hi,  
  
I think that the label foreground and background colours are ok.  
  
#lang racket  
(require racket/gui/base)  
(define bg (get-label-background-color))  
(define fg (get-label-foreground-color))  
  
  
Produces  
  
> (send bg red)  
255  
> (send bg green)  
255  
> (send bg blue)  
255  
> (send fg red)  
0  
> (send fg green)  
0  
> (send fg blue)  
0  
>  
  
which is bg white, fg black, right?  
  
cheers  
  
bruce  
  
  
  



-- 
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/1618340401-c8cecdb594e934e3b5454c7f010926db%40pckswarms.ch.


Re: [racket-users] Something is going slightly wrong visually with the Linux version

2021-04-13 Thread Bruce O'Neel

Thanks.  Since I do this often at night I thought the same at first.  I get the 
same during daytime.  
  
The program produces #f  
  
cheers  
  
bruce  
  
  
  



-- 
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/1618339474-2b007f4d3de650d5dbf06edc341c0aad%40pckswarms.ch.


[racket-users] Something is going slightly wrong visually with the Linux version

2021-04-13 Thread Bruce O'Neel

Hi,  
  
The most recent snapshot version built on Linux x86-64, Arm32, and Arm64 all 
have funny black blocks in the UI of Dr Racket.  
  
While this display was captured from a MacOS X11 server it is the same on the 
Linux X11 servers as well as directly on the console screen.  
  
Thanks.  
  
bruce  
![Screenshot 2021-04-13 at 
20.35.22.png](cid:8706604d4574c2bed15b0c3a5bad46a2b2ac4154@infomaniak 
"Screenshot 2021-04-13 at 20.35.22.png")  
  

-- 
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/1618339098-36f9ab5b7d7507d1da5b3d5d4e45a7b0%40pckswarms.ch.


Re: [racket-users] Re: Executable file size and raco demod

2021-04-05 Thread Bruce O'Neel

Hi,  
  
I stumbled over that error too.  Apparently Mathew said it would be fixed in 
the next build.  
  
cheers  
  
bruce  
  
  
  

> Windows 10   
> Snapshot: 20210404-725710e**  
>    Windows  
>    [64-bit 
> x64](https://www.cs.utah.edu/plt/snapshots/current/installers/racket-8.0.0.13-x86_64-win32-cs.exe)**
>   
> Dex  
> On Monday, April 5, 2021 at 12:54:24 PM UTC+2 Dexter Lagan wrote:  
> --  
>  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](mailto:racket-users+unsubscr...@googlegroups.com).
>   
>  To view this discussion on the web visit .
  

-- 
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/1617620658-4594ff36d175173d728a46ec4caf3abe%40pckswarms.ch.


[racket-users] 8.0.0.13 on Windows

2021-04-04 Thread Bruce O'Neel

Hi,  
  
When I download the minimial tar file and then run   
  
raco pkg install --deps search-auto -i main-distribution  
  
everything seems fine, but at then end when I try to run DrRacket I get  
  
ptr-set!: cannot install value into non-atomic memory   
  value: #  
  destination: #  
  context...:  
   C:\Users\rdoneelbr\racket-8.0.0.13\collects\ffi\unsafe.rkt:1468:4: loop  
   body of 
"C:\Users\rdoneelbr\racket-8.0.0.13\share\pkgs\gui-lib\mred\private\gdi.rkt"  
  
[Exited. Close box or Ctrl-C closes the console.]  
  
Is this a known problem?  
  
It is fine in 8.0 and 8.0.0.12.  
  
Thanks.  
  
bruce  

-- 
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/1617536445-2c7877d2f143418673539d216d796cdb%40pckswarms.ch.


[racket-users] Racket on Corporate Desktop Windows

2021-02-14 Thread Bruce O'Neel

Hi,  
  
So for quite some while I have been running a minimal racket on my locked down 
windows desktop.   Go to More Installers and Checksums and I grab the Windows 
64bit x86-64 tar ball, untar it, and everyone is happy.  
  
But no GUI of course.  
  
Well I had been building on MacOS for years following the instructions to build 
a Minimal Racket and then run  
  
raco pkg install -i main-distribution  
  
and it finally clicked that the instructions were almost identical for Windows. 
 
  
raco pkg update --auto racket-lib  
raco pkg install -i main-distribution  
  
just like the instructions said.  In my mind I thought "I don't have a build 
toolchain on Windows, so that won't work."  And I was wrong.  It works just 
fine on my locked down desktop and now I have a GUI Dr Racket as well.  
  
cheers  
  
bruce  
  

-- 
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/1613375100-40e1f4813116ef15281e84490fb43698%40pckswarms.ch.


Re: turtle’s outline on blue plaid as main image in initial window of DrRacket on 2020‐06‐11: an Easter egg and a curiosity (veering off topic for [racket-users])

2020-06-14 Thread Bruce O'Neel

Hi,  
  
And you can find the file that generates that at  
  
share/pkgs/drracket/drracket/private  


  
called honu-logo.rkt  
  
The file deciding it is a special day is in the same place   
  
 drracket-normal.rkt  


  
  
cheers  
  
bruce  

> On 2020‐06‐11, DrRacket, at initialization, presented to me, instead of the 
> Racket logo, a sea turtle’s outline in thick, gray strokes, filled with the 
> deep blue and deep red of the Racket logo, against a background of plaid of 
> light blue and medium blue. The image is quite appealing, even beautiful. 
> What is the association between 2020‐06‐11 and sea turtles?  
>   
>  --  
>  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/2020-06-14_DrRacket_Easter_egg_2020-06-11_sea_turtle%40r-6.org.
  

-- 
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/1592160337-5834d36d9295a3c8049b48ec094aa0a9%40pckswarms.ch.


Re: [racket-users] Re: Installing Drracket on linux penguin on Chromebook

2020-01-18 Thread Bruce O'Neel

Hi,  
  
If the architecture is aarch64 then most likely you'll need to build from 
source.  
  
In the University of Utah snapshot builds there is an armv6 build, but most 
likely this won't work,  but is worth trying.  
  
[https://www.cs.utah.edu/plt/snapshots/](https://www.cs.utah.edu/plt/snapshots/)
  
  
Whether armv6 binaries work on aarch64 depends on kernel build options and 
having all the needed 32 bit arm libraries installed.  
  
What will not work at all is any x86 build.  
  
If the armv6 build does not work download the source plus built packages and 
untar.  Then:  
  
cd src/  


mkdir build  


cd build  


../configure --prefix=whereyouwantthisinstalled  


make  


make install  


  


It takes about 600 meg once installed.  You probably need a gigabyte free to do 
the build.  Of course you have to have the assorted build tools and libraries 
installed as well.  My builds take about 30-45 minutes or so  
  
cheers  
  
bruce  
  
  

> What's the result of `file  
>  /home/user/racket-tmp-install/bin/racket` and the result of  
>  `uname -a`?  
>   
>  (In other words, what hardware are you using? Is it 32-bit or 64-bit,  
>  it is x86 or ARM? Which version of Racket did you download?)  
>   
>  On Fri, Jan 17, 2020 at 12:21 PM William Dobias  
>  wrote:  
>  >  
>  > Thank you:  
>  > So I tried this (with basic troubleshooting, e.g., a couple times, with 
> troubleshooting: restarted linux, chromebook; etc.) and it's not working:  
>  >  
>  > ```  
>  > Checking the integrity of the binary archive... ok.  
>  > Unpacking into "/home/user/racket-tmp-install" (Ctrl+C to 
> abort)...  
>  > Done.  
>  > ./racketinst.sh: 513: ./racketinst.sh: 
> /home/user/racket-tmp-install/bin/racket: Exec format error  
>  > Error: installation failed  
>  > (Removing installation files in /home/user/racket-tmp-install)  
>  > ```  
>  >  
>  > I am not sure what that means? The processor is aarch64 -architecture if 
> that is relevant. Is that what exec format means?  
>  >  
>  >  
>  >  
>  > On Wednesday, 15 January 2020 14:55:37 UTC-5, William Dobias wrote:  
>  >>  
>  >> I am taking a course that uses drracket. I am having trouble installing 
> it on my Chromebook (through the penguin linux) does anyone have any 
> suggestions?  
>  >>  
>  > --  
>  > 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/1edb5947-a6ec-4ac5-bfb2-7d9974c1ea8e%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/CAMTzy%2BZs_9zP4mYwZ16yjccmH_Cvdnf2mZ5Wx0eFDwKHxF64Cw%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/1579346646-b2861276b62a80e5ac3b90dd314379d5%40pckswarms.ch.


Re: [racket-users] Re: Racket 7.5 does not run on Cent OS cloud computers

2019-12-16 Thread Bruce O'Neel

Hi Edurado,  
  
You could just download the linux source + built packages, and then  
  
cd racket-version  
cd src  
mkdir build  
cd build  
../configure --prefix=where_do_you_want_to_install_racket  
make  
make install  
  
will build it for you.   On one of my systems  configure takes less than 10 
seconds, make takes about 4 minutes, and a make install takes just over a 
minute.  
  
Give it a shot and see if that fixes your problem.  
  
cheers  
  
bruce  
  
  
  

> > On Monday, 9 December 2019 23:00:37 UTC+1, edu500ac wrote:  
> > >  
> > > A couple of years ago, I was unable to run Racket on my webpage. I  
> > > complained on this forum, and the developers fixed the issue. Things 
> > > worked  
> > > fine until version 7.3, when the old problem reappeared. Here is what  
> > > happens:  
> > >  
> > > ```  
> > > advo...@advogadosmg.org [~]# racket-7.5.0.10/bin/racket  
> > >  
> > > racket-7.5.0.10/bin/racket: /lib64/libc.so.6: version `GLIBC_2.14' not  
> > > found (required by racket-7.5.0.10/bin/racket)  
> > > ```  
> > >  
> > > The old version works:  
> > >  
> > > ```  
> > > advo...@advogadosmg.org [~/public_html/rkt]#  
> > > racket/bin/racket  
> > > Welcome to Racket v7.3.  
> > > > (+ (* 3 4) (* 5 6))  
> > > 42  
> > > ```  
> > >  
> > > Could people in charge fix the problem again?  
>   
> Probably the reason for the difference in v7.5 is that we were forced  
> to upgrade from Debian 7 to Debian 8 for the Linux builds. I don't  
> think we can easily switch back, unfortunately.  
>   
>   
> 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/20191216154633.8A6AB650182%40mail-svr1.cs.utah.edu.
  

-- 
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/1576513051-0fed74e62fb636a9241c7604c75c672b%40pckswarms.ch.


Re: [racket-users] Racket 7.5 DMG file does not open on OSX 10.11

2019-11-27 Thread Bruce O'Neel

  
  
Hi,  
  
  
What would be the magic xattr command?  
  
Thanks.  
  
bruce  

> This is 100% workaround rather than a fix, but have you considered using the 
> minimal racket tarball:  
>   
> [https://download.racket-lang.org/releases/7.5/installers/racket-minimal-7.5-x86_64-macosx.tgz](https://download.racket-lang.org/releases/7.5/installers/racket-minimal-7.5-x86_64-macosx.tgz)
>   
>   
>  …and then manually blessing the binaries using xattr and then installing the 
> rest of the system manually using raco pkg install?  
>   
>  John  
>   
>   
>   
>  > On Nov 27, 2019, at 09:42, Darth Vadør wrote:  
>  >  
>  > I am having the same problem, and I am pretty sure that this is because 
> the new DMG uses the novel APFS format, which is not readable by our old HFS 
> computers.  
>  > As far as I know, HFS DMGs can be opened on new APFS Macs; would it be 
> possible / a good idea to keep distributing Racket on an HFS DMG for our 
> dinosaur machines?  
>  >  
>  > Long live 10-year-old Macs,  
>  > Louis  
>  >  
>  > On Monday, November 25, 2019 at 8:22:36 PM UTC+1, David Storrs wrote:  
>  > When I download and install the .dmg file from racket-lang, I'm told "no 
> mountable filesystems". I'm not sure if this is an issue with how it was 
> built, with my machine, or with OSX in general.  
>  >  
>  > This may not be worth worrying about, since OSX 10.11 was released  
>  > September 30, 2015 and Apple has decided that something from four years 
> ago is FAR too old to worry about backwards compatibility. (grumble, grumble) 
>  
>  >  
>  > --  
>  > 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](mailto:racket-users+unsubscr...@googlegroups.com).
>   
>  > To view this discussion on the web visit 
> [https://groups.google.com/d/msgid/racket-users/f7cb5f96-783d-475b-a5d2-390668665217%40googlegroups.com](https://groups.google.com/d/msgid/racket-users/f7cb5f96-783d-475b-a5d2-390668665217%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](mailto:racket-users+unsubscr...@googlegroups.com).
>   
>  To view this discussion on the web visit 
> [https://groups.google.com/d/msgid/racket-users/fe9f2f3c-e133-4489-980b-213b976764ee%40mtasv.net](https://groups.google.com/d/msgid/racket-users/fe9f2f3c-e133-4489-980b-213b976764ee%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/1574883049-13cd20e4e25a12d34a87c1aa43999dd8%40pckswarms.ch.


Re: [racket-users] Building Racket 7.5 CS on MacOS Catalina

2019-11-25 Thread Bruce O'Neel

  
Hi,  
  
Thanks!  So if I were to grab the 7.5.0.7 version off of one of the snapshot 
sites it should work?  
  
cheers  
  
bruce  
  
  

> Hi Bruce,  
>   
>  Thanks for the report!  
>   
>  It looks like this failure is due to a Racket CS I/O bug that has been  
>  fixed for the next version (by commit 3c2efafbf5).  
>   
>  If you really need things to work for v7.5, I can suggest a workaround.  
>  But if you were just trying it out to see, then we should have this  
>  working for next time.  
>   
>  Matthew  
>   
>  At Thu, 21 Nov 2019 10:16:51 +0100, "Bruce O'Neel" wrote:  
>  >  
>  > Hi all,  
>  >  
>  > I normally build Racket from source, and, for 7.5 I decided to try Racket 
> CS  
>  > as well.  
>  >  
>  > Racket 7.5 builds fine from minimal source.  Racket CS builds fine as well 
>  
>  > from minimal source, but, when I run the command to build the rest of the  
>  > distribution.  
>  >  
>  > ./raco pkg install --deps search-auto -i main-distribution  
>  >  
>  >  
>  > it fails with:  
>  >  
>  > Resolving "main-distribution" via   
>  > 
> [https://download.racket-lang.org/releases/7.5/catalog/](https://download.racke
>   
>  > t-lang.org/releases/7.5/catalog/)  
>  >  
>  >  
>  > bytes-copy!: contract violation  
>  >  
>  >  
>  >   expected: (and/c bytes? (not/c immutable?))  
>  >  
>  >  
>  >   given: 54043195528445952  
>  >  
>  >  
>  >   context...:  
>  >  
>  >  
>  >    do-raise-argument-error  
>  >  
>  >  
>  >    bytes-copy!  
>  >  
>  >  
>  >    try-again  
>  >  
>  >  
>  >    loop  
>  >  
>  >  
>  >    do-display9  
>  >  
>  >  
>  >    loop  
>  >  
>  >  
>  >    fprintf  
>  >  
>  >  
>  >    /Users/XXX/tmp/racket-7.5/collects/net/http-client.rkt:152:0:  
>  > http-conn-send!27  
>  >  
>  >  
>  >    call-with-values  
>  >  
>  >  
>  >      
>  > 
> /Users/XXX/tmp/racket-7.5/collects/racket/contract/private/arrow-val-first.rkt:
>   
>  > 555:3  
>  >  
>  >  
>  >    /Users/XXX/tmp/racket-7.5/collects/net/url.rkt:201:0:   
>  > [http://getpost-impure-port](http://getpost-impure-port)  
>  >  
>  >  
>  >    /Users/XXX/tmp/racket-7.5/collects/net/url.rkt:308:2: redirection-loop  
>  >  
>  >  
>  >    call-with-values  
>  >  
>  >  
>  >      
>  > 
> /Users/XXX/tmp/racket-7.5/collects/racket/contract/private/arrow-val-first.rkt:
>   
>  > 555:3  
>  >  
>  >  
>  >    /Users/XXX/tmp/racket-7.5/collects/pkg/private/network.rkt:59:3  
>  >  
>  >  
>  >    dynamic-wind  
>  >  
>  >  
>  >  
>  > The full set of commands run:  
>  >  
>  > tar xjvf ~/archive/Racket/racket-minimal-7.5-src-builtpkgs.tgz  
>  > cd racket-7.5/src  
>  >  
>  >  
>  > mkdir build  
>  >  
>  >  
>  > cd build  
>  >  
>  >  
>  > ../configure --enable-csdefault  
>  >  
>  >  
>  >  make  
>  >  
>  >  
>  >  make install  
>  >  
>  >  
>  >  cd ../../bin  
>  >  
>  >  
>  >  ./raco pkg install --deps search-auto -i main-distribution  
>  >  
>  >  
>  >  
>  > MacOS 10.15.1, and, command line developer tools:  
>  >  
>  > gcc -v  
>  >  
>  >  
>  > Configured with: --prefix=/Library/Developer/CommandLineTools/usr  
>  > 
> --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/[MacOSX.sdk/usr
>   
>  > /include/c++/4.2.1](http://MacOSX.sdk/usr/include/c++/4.2.1)  
>  >  
>  >  
>  > Apple clang version 11.0.0 (clang-1100.0.33.8)  
>  >  
>  >  
>  > Target: x86_64-apple-darwin19.0.0  
>  >  
>  >  
>  > Thread model: posix  
>  >  
>  >  
>  > InstalledDir: /Library/Developer/CommandLineTools/usr/bin  
>  >  
>  >  
>  >  
>  > Thanks!  
>  >  
>  > cheers  
>  >  
>  > bruce  
>  >  
>  >  
>  > --  
>  > 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/1574327811-56147c15d1164b12004e2
>   
>  > 43ea648d09b%40pckswarms.ch.
  

-- 
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/1574695893-3bcb6148e3cd4f19f35e0d6b39910f3e%40pckswarms.ch.


[racket-users] Building Racket 7.5 CS on MacOS Catalina

2019-11-21 Thread Bruce O'Neel

Hi all,  
  
I normally build Racket from source, and, for 7.5 I decided to try Racket CS as 
well.  
  
Racket 7.5 builds fine from minimal source.  Racket CS builds fine as well from 
minimal source, but, when I run the command to build the rest of the 
distribution.  
  
./raco pkg install --deps search-auto -i main-distribution  
  
  
it fails with:  
  
Resolving "main-distribution" via 
[https://download.racket-lang.org/releases/7.5/catalog/](https://download.racket-lang.org/releases/7.5/catalog/)
  


bytes-copy!: contract violation  


  expected: (and/c bytes? (not/c immutable?))  


  given: 54043195528445952  


  context...:  


   do-raise-argument-error  


   bytes-copy!  


   try-again  


   loop  


   do-display9  


   loop  


   fprintf  


   /Users/XXX/tmp/racket-7.5/collects/net/http-client.rkt:152:0: 
http-conn-send!27  


   call-with-values  


   
/Users/XXX/tmp/racket-7.5/collects/racket/contract/private/arrow-val-first.rkt:555:3
  


   /Users/XXX/tmp/racket-7.5/collects/net/url.rkt:201:0: 
[http://getpost-impure-port](http://getpost-impure-port)  


   /Users/XXX/tmp/racket-7.5/collects/net/url.rkt:308:2: redirection-loop  


   call-with-values  


   
/Users/XXX/tmp/racket-7.5/collects/racket/contract/private/arrow-val-first.rkt:555:3
  


   /Users/XXX/tmp/racket-7.5/collects/pkg/private/network.rkt:59:3  


   dynamic-wind  


  
The full set of commands run:  
  
tar xjvf ~/archive/Racket/racket-minimal-7.5-src-builtpkgs.tgz  
cd racket-7.5/src  


mkdir build  


cd build  


../configure --enable-csdefault  


 make  


 make install  


 cd ../../bin  


 ./raco pkg install --deps search-auto -i main-distribution  


  
MacOS 10.15.1, and, command line developer tools:  
  
gcc -v  


Configured with: --prefix=/Library/Developer/CommandLineTools/usr 
--with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/[MacOSX.sdk/usr/include/c++/4.2.1](http://MacOSX.sdk/usr/include/c++/4.2.1)
  


Apple clang version 11.0.0 (clang-1100.0.33.8)  


Target: x86_64-apple-darwin19.0.0  


Thread model: posix  


InstalledDir: /Library/Developer/CommandLineTools/usr/bin  


  
Thanks!  
  
cheers  
  
bruce  
  

-- 
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/1574327811-56147c15d1164b12004e243ea648d09b%40pckswarms.ch.


[racket-users] Technical Breakdown of a new NES game written in Lisp (dustmop.io)

2019-09-11 Thread Bruce O'Neel

Pointed to by hacker news (news.ycombinator.com)  
  
"Rather, a custom language was developed in tandem with the game. 
[Co2](https://github.com/dustmop/co2) is a Lisp-like language, built on Racket 
Scheme, which compiles into 6502 assembly. This language was originally started 
by [Dave Griffiths](https://twitter.com/nebogeo) to build the What Remains 
demo, and I decided to stick with it for the full project."  
  
  
[http://www.dustmop.io/blog/2019/09/10/what-remains-technical-breakdown/](http://www.dustmop.io/blog/2019/09/10/what-remains-technical-breakdown/)
  
  

-- 
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/1568211803-e6b6479d310428b5293ab407d975e484%40pckswarms.ch.


Re: [racket-users] Racket v7.4

2019-08-09 Thread Bruce O'Neel

Hi,  
  
Fantastic!  
  
It looks as if the CS builds are only x86-64, right?  Are there plans to add 
others, say arm32 and arm64?  
  
Thanks very much.  
  
cheers  
  
bruce  

> Racket version 7.4 is now available from  
>   
> [https://racket-lang.org/](https://racket-lang.org/)  
>   
>  With this 7.4 release, we are making Racket CS available, a beta version  
>  of the Racket on Chez Scheme implementation. Racket CS is "beta"  
>  quality for the v7.4 release. It works well enough to be worth trying,  
>  but there are likely too many lingering problems for a project to switch  
>  to Racket CS for production use at this time. We encourage you to kick  
>  the tires of the new CS releases, and to help push this project forward  
>  by reporting any problems that you find.  
>   
>  - Racket CS is available as a download option. To download Racket CS,  
>  select "CS" instead of "regular" from the "Variant" popup menu.  
>   
>  - Single-precision floating-point literals, a.k.a. single-flonums, are  
>  no longer supported by default.  
>   
>  This is a backward-incompatible change, but the use of single-flonums  
>  appears to be rare. Since Racket CS does not support single-flonums,  
>  disabling single-flonums by default smooths the transition from regular  
>  Racket and Racket CS.  
>   
>  The `read-single-flonum` parameter can be set to #t to enable reading  
>  single-flonum literals, but a better strategy in most cases is to use  
>  `real->single-flonum` when `single-flonum-available?` reports #t or  
>  when `single-flonum?` reports #t for a value (which implies that  
>  single-flonums must be supported). Where single-flonums are supported,  
>  Racket's compiler will fold a call of `real->single-flonum` on a  
>  literal number to a constant single-flonum value.  
>   
>  - New compilation flags including --disable-generations and --enable-ubsan  
>  provide better support for alternative  
>  architectures.  
>   
>  - The 2htdp/universe teachpack supports an event log window for big-bang.  
>  With this option, students can inspect the events that big-bang handled,  
>  plus their payload. The event log includes messages from external  
>  sources.  
>   
>  The following people contributed to this release: Alex Knauth, Alexander  
>  B. McLin, Alexis King, Andreas Düring, Asumu Takikawa, Atharva Raykar,  
>  Ben Greenman, Benjamin Yeung, Dmitry Moskowski, Fred Fu, Gustavo  
>  Massaccesi, Ilnar Salimzianov, Jason Hemann, Jay McCarthy, Jesse A. Tov,  
>  Jesse Alama, John Clements, Leif Andersen, Lukas Lazarek, Matthew Flatt,  
>  Matthias Felleisen, Mike Sperber, Morgan Lemmer-Webber, Noah W M, Paulo  
>  Matos, Philip McGrath, Robby Findler, Rodrigo, Roman Klochkov, Ryan  
>  Culpepper, Sam Tobin-Hochstadt, Simon 'Sze' L. Schlee, Sorawee  
>  Porncharoenwase, Spencer Florence, Stephan Renatus, Stephen Chang,  
>  Stephen De Gabrielle, Thomas Dickerson, Vincent St-Amour, and yjqww6  
>   
>  Feedback Welcome  
>   
>   
>   
>  --  
>  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](mailto:racket-users+unsubscr...@googlegroups.com).
>   
>  To view this discussion on the web visit 
> [https://groups.google.com/d/msgid/racket-users/e6f4bc0f-bc9a-4f6c-908e-6087bc5e6d50%40mtasv.net](https://groups.google.com/d/msgid/racket-users/e6f4bc0f-bc9a-4f6c-908e-6087bc5e6d50%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/1565360931-788f7c51fe836e948c6c682d3f55e0f0%40pckswarms.ch.


Re: [racket-users] Experiences with Racket on RISC-V?

2019-01-08 Thread Bruce O'Neel

  
Hi,  
  
The HiFive1 is a 32 bit integer only machine, sadly.  I guess I must admit 
being a bit old to re-do software floating point.  I still have nightmares of 
ARM and then later 68000 systems.  
  
Your right about the HiFive Unleashed would be a good system, but, expensive.  
  
There is a group out of China who is doing a RISC-V 64 bit with floating point. 
 I've ordered one and we'll see what it looks like when it arrives.  
  
https://www.indiegogo.com/projects/sipeed-maix-the-world-first-risc-v-64-ai-module#/
  
  
The campaign seems closed, but, I'm sure if this works and the team doing this 
doesn't burn out they will start selling them somewhere.  
  
cheers  
  
bruce  
  
  
  

> These are pretty new, and the prices are higher than other ISAs with   
>  economies-of-scale and mostly long-amortized development costs (and   
>  there's perhaps no loss-leaders or dumping for market share or lock-in,   
>  like we sometimes see in industry).   
>   
>  The HiFive1 is more like a $60 Arduino or maybe RasPi:   
>  https://www.sifive.com/boards/hifive1   
>   
>  The HiFive Unleashed, when combined with their Expansion Board, could be   
>  used to make a workstation, but is pretty new, and costs thousands of   
>  dollars:   
>  https://www.sifive.com/boards/hifive-unleashed   
>   
>  I've seen "RISC-V" USB dongle-like boards, but the ones I've seen are   
>  just little FPGA experimenter boards burnt with RISC-V logic.   
>   
>  That's what I found, last time I looked.  Paulo or others might know   
>  other boards.   
>   
>  There's also always emulators, and RISC-V logic you program yourself on   
>  bigger general-purpose FPGA boards.  (Programming FPGA yourself means   
>  you're one small enhancement away from being able to call yourself a CPU   
>  designer.  :)  If you do FPGA, it would help to try to use an open   
>  toolchain, but I think the options for that are still relatively early   
>  and improving.  (Last I looked, the open toolchains would let you use   
>  only a few small FPGAs, but I saw something the other day that suggests   
>  the environment is improving, so look for the latest info/news, whenever   
>  you start.)   
>   
>  --   
>  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.
  

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