[racket-users] Re: [racket-money] Fwd: [racket-dev] Racket Survey 2020

2020-06-24 Thread Alex Harsanyi


On Thursday, June 25, 2020 at 6:14:42 AM UTC+8, jos.koot wrote: 

Questions and problem reports of users always are responded to very 
> promptly.
>

It depends.  If the problem report starts with "racket crashes when I do 
X", it will be fixed within 24 hours.  For everything else, not so much.  A 
quick browse of the issues sections of the various packages in the Racket 
organization will show that there are many issues reported a long time ago 
which have no feedback. 

While Stephens question in another thread is how we can encourage users to 
submit fixes themselves, there is also a lack of response when it comes to 
submitted pull requests.  You can browse the pull request section of 
various projects and see for yourself, but here is an example: 
https://github.com/racket/plot/pull/5 -- created in 2015, looks perfectly 
good and reasonable change, yet there is no feedback from the Racket team 
about this.  Why should this person ever attempt contribute again if she is 
ignored?

For my part, I have some spare time which I could dedicate to helping out 
the Racket project.  Given that my time is limited, I cannot pick up big 
tasks, but I could help diagnose and fix bugs (and I have done so a few 
times in the past).  However, my own experience is that, even if I submit a 
pull request, I need to prompt the developers to look at it and provide 
feedback, and it is unclear to me when I would cross the line and become 
nagging.

I understand that the core Racket team is busy, but they are the only ones 
who can clarify the criteria for merging a pull request and also only they 
can review and merge them -- if they don't have time to do that, it is 
useless to talk about user contributions.

Alex.
 

-- 
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/e8453de0-2aa9-482b-89ca-2596c09585a1o%40googlegroups.com.


Re: [racket-users] make-set!-transformer

2020-06-24 Thread Shu-Hung You
Here it is.
https://github.com/racket/racket/blob/master/pkgs/racket-doc/scribblings/reference/stx-trans.scrbl#L31

I agree that it will be good to have a pointer or an example involving
set!-values in the documentation of make-set!-transformer. The status
quo is kind of indirect. The documentation of set!-values explains
that set!-values is expanded into let-values plus set!, and the reader
has to connect the two in order to infer the applicability of
set!-transformers to set!-values forms.

https://docs.racket-lang.org/reference/set_.html#%28form._%28%28lib._racket%2Fprivate%2Fmore-scheme..rkt%29._set%21-values%29%29

On Wed, Jun 24, 2020 at 7:09 PM Jos Koot  wrote:
>
> The docs on make-set!-transformer do not mention that it also applies to 
> set!-values.
>
> That is does apply to both is a good case, I think. I have tried to find the 
> documentation  on the GitHub of racket but could not find it. Please give me 
> a hint where to look, so I can do a pull request for submitting a suggestion 
> of improvement. That is, if such an improvement is wanted, of course. I often 
> have trouble to find docs  code on Racket’s GitHub.
>
> If my suggestion is welcome I am willing to do the job by myself! Just as to 
> be a tiny contributor by myself.
>
> 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/5ef3eb1e.1c69fb81.c3c6e.5819%40mx.google.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%2BYeASRxnGiv6zQG%3DA6%2B3Og%2BiL7AUc%3DU%2Bp074KH5n0ZnpQ%40mail.gmail.com.


[racket-users] make-set!-transformer

2020-06-24 Thread Jos Koot
The docs on make-set!-transformer do not mention that it also applies to 
set!-values.
That is does apply to both is a good case, I think. I have tried to find the 
documentation  on the GitHub of racket but could not find it. Please give me a 
hint where to look, so I can do a pull request for submitting a suggestion of 
improvement. That is, if such an improvement is wanted, of course. I often have 
trouble to find docs  code on Racket’s GitHub.
If my suggestion is welcome I am willing to do the job by myself! Just as to be 
a tiny contributor by myself.
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/5ef3eb1e.1c69fb81.c3c6e.5819%40mx.google.com.


[racket-users] RE: [racket-money] Fwd: [racket-dev] Racket Survey 2020

2020-06-24 Thread Jos Koot
Hi,
Your email is not an assault I think, but nevertheless I would like to add some 
positive remarks on the community.

It is true that us...@racket-lang.org has changed in the last year or two 
years, I think.
There are much less posts of users nowadays.
It is obvious that what you call the ‘cabal’ has much influence, more than 
users.
Of course they have.
But my experience is that the ‘cabal’ take questions and suggestions of users 
seriously.
Questions and problem reports of users always are responded to very promptly.
Well, that’s my experience.
And with respect to the future of Racket:
I think users have enough opportunity to contribute their opinions.
That’s how I feel about it, just my few cents.
Best wishes, Jos



From: Neil Van Dyke
Sent: 24 June 2020 07:59
To: racket-mo...@googlegroups.com
Subject: Re: [racket-money] Fwd: [racket-dev] Racket Survey 2020

There's a Racket community, but Racket isn't a community project, and I 
think that's not the fault of the community members.

Racket is directed by the interests of a cabal (or clique, or monarchy) 
of professors.  I think most of their intentions are admirable (and, 
really, most of them still chose to become professors when it was clear 
they could make a lot more money going to Google, when Google was cooler).

When it was mostly just Matthias and his students, Matthias seemed to 
include and respect non-professor community members more, and I recall 
collaborations in the early community that were not only among the 
professors.  But a cabal kinda solidified around the time Matthias's 
students were becoming professors.  The effect was kinda a bait and 
switch, though I don't think that was intended.  Then various other 
things happened.

Today, one perspective is that it's more like there's a cabal, the cabal 
controls a platform, and there is user base to 
support/engage/retain/grow/leverage.

There are practical reasons for controlling it (e.g., some development 
needs money to fund it, justified as research, and they also still want 
to push it in directions to suit their research and careers), but then 
it's not a community project.

I suspect they wonder why they're making additional effort, beyond their 
research papers and education projects, to have a community (e.g., spend 
time on community email lists, ask how Rust keeps its users happy, 
entertain a survey), and to do some things that they think their users 
want, when the users aren't giving back much work, and it's still not 
popular.  So the monarchy is maybe frustrated and resentful about all 
the peasants freeloading on their benevolence, and the monarchy doesn't 
know how to community those worthless ingrates harder.

The community actually used to have prolific contributors, and those 
contributors did much to bootstrap and build the community and relative 
popularity of PLT, at a time when Matthias's students might've been 
pretty distracted with their dissertations and interviewing, but most of 
those people eventually left, and were forgotten.

Looks like there are currently some prolific contributors, but looks 
like even they aren't treated as peers by the cabal, in things 
professors think are important.

I think there's a Racket community, but that it exists despite the fact 
that Racket isn't a community project.

(It's funny to distinguish community from user base, in a forum about 
making money in contemporary dotcom world. :)

-- 
racket-money is private. Please don't quote/forward/etc. elsewhere.
https://linki.tools/racket-money/
--- 
You received this message because you are subscribed to the Google Groups 
"racket-money" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-money+unsubscr...@googlegroups.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/5ef3d049.1c69fb81.3fe0e.26b4%40mx.google.com.


[racket-users] "eval-linklet: cannot use linklet loaded with non-original code inspector" when using make-module-evaluator to eval my custom language

2020-06-24 Thread kurinoku


I've tried fighting with the docs but I don't really understand why the 
error occurs.


(require racket/sandbox)

(sandbox-path-permissions
 (list*
  (list 'execute (current-directory))
  (sandbox-path-permissions)))

(define ev (make-module-evaluator "#lang racket/gui"))
(define eval2 (make-module-evaluator "#lang reader \"reader.rkt\""))

 

ev works fine, is eval2 that throws the error.

This how I found what I wanted (eval my custom language). 


This is how I found that you needed to add permissions. 



The error supposedly comes from this function. 


-- 
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/9624aabc-ae04-43a1-9ba4-0021c8dabe9ao%40googlegroups.com.


[racket-users] Xcode, embedding Racket.framework

2020-06-24 Thread Nate Griswold
Hello

I recently went through the process of embedding the Racket.framework in
Xcode, and i just wanted to share the steps in case anyone else would like
to do this.

Note the documentation says (
https://docs.racket-lang.org/inside/cs-embedding.html)

"On Mac OS, besides "libracketcs.a" for static linking, a dynamic library
is provided by the "Racket" framework, which is typically installed in "lib"
sub-directory of the installation. Supply -framework Racket to gcc when
linking, along with -F and a path to the "lib" directory. At run time,
either "Racket.framework" must be moved to a location in the standard
framework search path, or your embedding executable must provide a specific
path to the framework (possibly an executable-relative path using the
Mach-O @executable_path prefix)."

That sets the rpath search paths but the library binary still needs to
reference @rpath to make use of these search paths. Below we use
install_name_tool to fix up the binary to reference the @rpath directly.

Note also that Xcode is hard coded to codesign in the Versions/A
subdirectory and hasn't added any support for signing other major versions,
so i link version A in the below steps. This step is only necessary if you
wish to sign the framework on copy.

Note also for a proper framework structure, the framework should have an
Info.plist in Resources and a Versions/Current symlink. Top-level symlinks
directly in Racket.framework should reference only Versions/Current and
both Resources and the binary library (Racket) should be referenced. (see
https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/FrameworkAnatomy.html
)

Note also i did all of this with racket cs, you would have to modify the
steps if you were using normal racket.

All that said, here are the steps:

Drag the framework into xcode
select copy if needed, ok
Click on project, General tab, "Frameworks, Libraries, and Embeddeed
Content"
Change do not embed to either embed or embed and sign
cd to your copied framework in your project
cd Versions
ln -s 7.7_CS Current
if "embed and sign" was chosen:
  ln -s 7.7_CS A (xcode is hard coded to sign the major version A, see
https://developer.apple.com/forums/thread/65963)
cp /path/to/Info.plist 7.7_CS/Resources
cd ..
rm -f Racket
ln -s Versions/Current/Racket
ln -s Versions/Current/Resources
install_name_tool -id @rpath/Racket.framework/Versions/7.7_CS/Racket
./Racket
otool -L Racket (to verify)
Switch to Xcode, build and run

Nate

-- 
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/CAM-xLPpC3Ona-zbV6r43dD_xjSmXa_eGGRLfFERuQ_tBgG%3D4HQ%40mail.gmail.com.


Info.plist
Description: Binary data


Re: [racket-users] Re: Any news on ARM64?

2020-06-24 Thread Andre Garzia
Thanks Paulo,

If you need someone to test stuff on real aarch64 hardware just ping me. I
have both Windows 10 and Ubuntu here (under WSL2)

Best
Andre

On Tue, 23 Jun 2020 at 07:57, Paulo Matos  wrote:

> Hi Andre,
>
> Work on this is ongoing - joint work with Jesse Alama. We have two ports
> being implemented in parallel: RISCV64 and AArch64. The RV64 is certainly
> more complete and I can almost bootstrap.
> I am slowly finishing other items of work that was doing in parallel to
> focus solely on this so I hope that we have a must quicker progress in the
> second half of the year.
>
> I will post updates once I have more.
>
> Paulo Matos
>
> On Thursday, 18 June 2020 at 20:57:40 UTC+2 an...@andregarzia.com wrote:
>
>> Some weeks ago, there was a post here about porting Chez to ARM64 and
>> thus enabling Racket CS to work on those platforms. I haven't heard
>> anything about it after that, doesn anyone here have any news? I use an
>> ARM64 machine as my daily driver (with Windows 10) and am very curious
>> about progress.
>>
>> Best
>> Andre
>>
>> --
>> http://www.andregarzia.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/bf7a6166-cd8c-415e-aa85-8cc73dc10185n%40googlegroups.com
> 
> .
>


-- 
http://www.andregarzia.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/CAF3jwT%3DoMsha%2B-UvD6n-TTNaBV95aQZMCLjopi_pAQ%3D3BokWSA%40mail.gmail.com.