# Questions & Answers

**URL:** https://racket.discourse.group/c/questions/6.md?page=11

[Latest](https://racket.discourse.group/latest.md) · [Categories](https://racket.discourse.group/categories.md) · [Tags](https://racket.discourse.group/tags.md)

**Page:** 12

---

## [Is there any way to change the color of a point of points of plot?](https://racket.discourse.group/t/is-there-any-way-to-change-the-color-of-a-point-of-points-of-plot/3121)

<div class="topic-metadata">

**Author:** [@cametan](https://racket.discourse.group/u/cametan)\
**Replies:** 11\
**Last updated:** [August 28, 2024, 1:47pm UTC](https://racket.discourse.group/t/is-there-any-way-to-change-the-color-of-a-point-of-points-of-plot/3121 "2024-08-28T13:47:29Z")

</div>

Hello. As the title says(ppp...), I am looking for the way to give different color respectively to each point which points of plot library. #lang racket (require (only-in srfi/41 stream-iterate) plot) (define (chaos …

---

## [Error when creating an executable of a script](https://racket.discourse.group/t/error-when-creating-an-executable-of-a-script/3122)

<div class="topic-metadata">

**Author:** [@Zeb](https://racket.discourse.group/u/Zeb)\
**Replies:** 2\
**Last updated:** [August 26, 2024, 1:49pm UTC](https://racket.discourse.group/t/error-when-creating-an-executable-of-a-script/3122 "2024-08-26T13:49:45Z")

</div>

I tried to make an exe out of a script and got back this error: expand-elf: cannot move SHT\_PROGBITS section context...: /data/data/com.termux/files/usr/share/racket/collects/compiler/private/elf.rkt:442:11: for-lo…

---

## [How to run ProfessorJ code in DrRacket?](https://racket.discourse.group/t/how-to-run-professorj-code-in-drracket/3117)

<div class="topic-metadata">

**Author:** [@ayo](https://racket.discourse.group/u/ayo)\
**Replies:** 7\
**Last updated:** [August 24, 2024, 3:38pm UTC](https://racket.discourse.group/t/how-to-run-professorj-code-in-drracket/3117 "2024-08-24T15:38:21Z")

</div>

I am following HtDC but I have not been able to run ProfessorJ in DrRacket. The profj docs make it look simple, but I can't tell what I'm doing wrong. Please how do I do this successfully?

---

## [Return urmodule as a string without writing a file](https://racket.discourse.group/t/return-urmodule-as-a-string-without-writing-a-file/3115)

<div class="topic-metadata">

**Author:** [@nik](https://racket.discourse.group/u/nik)\
**Replies:** 2\
**Last updated:** [August 21, 2024, 7:10am UTC](https://racket.discourse.group/t/return-urmodule-as-a-string-without-writing-a-file/3115 "2024-08-21T07:10:21Z")

</div>

I was wondering whether it's possible to use urlang in such a way that the content of the module is simply returned, instead of writing it out to a file. That way I suppose it could be combined to insert some javascript…

---

## [How to trace macro'ed define to it's original location](https://racket.discourse.group/t/how-to-trace-macroed-define-to-its-original-location/3102)

<div class="topic-metadata">

**Author:** [@Zeb](https://racket.discourse.group/u/Zeb)\
**Replies:** 4\
**Last updated:** [August 17, 2024, 10:45pm UTC](https://racket.discourse.group/t/how-to-trace-macroed-define-to-its-original-location/3102 "2024-08-17T22:45:39Z")

</div>

If a define is introduced by a macro, how do I trace that back to it's original location? And I want is to do this in a tool analyzing a racket file where these macros exist. It won't be during compiling+running the file…

---

## [Include partial content from another scribble document](https://racket.discourse.group/t/include-partial-content-from-another-scribble-document/3100)

<div class="topic-metadata">

**Author:** [@nik](https://racket.discourse.group/u/nik)\
**Replies:** 9\
**Last updated:** [August 17, 2024, 9:33am UTC](https://racket.discourse.group/t/include-partial-content-from-another-scribble-document/3100 "2024-08-17T09:33:30Z")

</div>

I was wondering whether it's possible to include content from another scribble document directly. I know that it's possible to reference other parts via the tagging functionality, but would something similar be possible…

---

## [Internal pkgs mirror](https://racket.discourse.group/t/internal-pkgs-mirror/3099)

<div class="topic-metadata">

**Author:** [@db7](https://racket.discourse.group/u/db7)\
**Replies:** 2\
**Last updated:** [August 15, 2024, 8:04am UTC](https://racket.discourse.group/t/internal-pkgs-mirror/3099 "2024-08-15T08:04:08Z")

</div>

I would like to setup a mirror of pkgs.racket-lang.org inside our company. Our http proxy does not work well with raco and all workarounds I’ve tried are ugly. Setting up a mirror sounds like a solid solution. Ideally, …

---

## [Parameterize not working as expected in 8.13](https://racket.discourse.group/t/parameterize-not-working-as-expected-in-8-13/3071)

<div class="topic-metadata">

**Author:** [@Greg\_Davidson](https://racket.discourse.group/u/Greg_Davidson)\
**Replies:** 6\
**Last updated:** [August 14, 2024, 9:59pm UTC](https://racket.discourse.group/t/parameterize-not-working-as-expected-in-8-13/3071 "2024-08-14T21:59:46Z")

</div>

I expected (host) to change to "hello" and then to "hi". I'm not understanding how it's becoming #t at all! #lang racket/base (define \*host\* (make-parameter "ngender.net" string? 'host)) (eprintf "\[0\] host ~a\\n" (\*ho…

---

## [True and false which one?](https://racket.discourse.group/t/true-and-false-which-one/3060)

<div class="topic-metadata">

**Author:** [@matteo-daddio](https://racket.discourse.group/u/matteo-daddio)\
**Replies:** 4\
**Last updated:** [August 2, 2024, 9:40pm UTC](https://racket.discourse.group/t/true-and-false-which-one/3060 "2024-08-02T21:40:06Z")

</div>

In Racket is possible to write #t #T #true true and #f #F #false false. Which one do you prefer? I prefer #true and #false.

---

## [Requiring a file that is in a directory containing a dot](https://racket.discourse.group/t/requiring-a-file-that-is-in-a-directory-containing-a-dot/3062)

<div class="topic-metadata">

**Author:** [@nik](https://racket.discourse.group/u/nik)\
**Replies:** 8\
**Last updated:** [August 1, 2024, 5:12pm UTC](https://racket.discourse.group/t/requiring-a-file-that-is-in-a-directory-containing-a-dot/3062 "2024-08-01T17:12:26Z")

</div>

I was trying to require a file that is inside a directory via a relative path. Surprisingly, this did not work, but resulted in an error. For example, I have the file dir.dot/x.rkt (the content does not matter). When …

---

## [\#'else used in match](https://racket.discourse.group/t/else-used-in-match/3066)

<div class="topic-metadata">

**Author:** [@WSWZhh](https://racket.discourse.group/u/WSWZhh)\
**Replies:** 3\
**Last updated:** [August 1, 2024, 11:03am UTC](https://racket.discourse.group/t/else-used-in-match/3066 "2024-08-01T11:03:22Z")

</div>

\<pkgs\>/dsl/nested-word-list\> (define (tokenize s) (for/list (\[str (regexp-match\* #px"\\\\(|\\\\)|\\\\w+" s)\]) (match str …

---

## [Bug in config pyffi](https://racket.discourse.group/t/bug-in-config-pyffi/3056)

<div class="topic-metadata">

**Author:** [@WSWZhh](https://racket.discourse.group/u/WSWZhh)\
**Replies:** 2\
**Last updated:** [July 31, 2024, 8:06am UTC](https://racket.discourse.group/t/bug-in-config-pyffi/3056 "2024-07-31T08:06:14Z")

</div>

already: PS F:\\RacketFile\\Functional-Programming-Racket-Parser\> raco pyffi show Current configuration for 'pyffi'. libdir = "F:\\\\python3.10" data = "F:\\\\python3.10" Meaning: libdir: location of the shared library…

---

## [For fastest executable: raco make, or exe, or ...?](https://racket.discourse.group/t/for-fastest-executable-raco-make-or-exe-or/3057)

<div class="topic-metadata">

**Author:** [@not-just-yeti](https://racket.discourse.group/u/not-just-yeti)\
**Replies:** 1\
**Last updated:** [July 30, 2024, 2:55pm UTC](https://racket.discourse.group/t/for-fastest-executable-raco-make-or-exe-or/3057 "2024-07-30T14:55:34Z")

</div>

What's the best way to get a speedy run, of an arbitrary racket program? Context: kattis.com, the competitive coding site, may be adding racket as an allowed language (yay!). They run a submitted-program repeatedly. P…

---

## [How to display full stack trace when Racket crashed](https://racket.discourse.group/t/how-to-display-full-stack-trace-when-racket-crashed/3059)

<div class="topic-metadata">

**Author:** [@Scarlet1ssimo](https://racket.discourse.group/u/Scarlet1ssimo)\
**Replies:** 3\
**Last updated:** [July 30, 2024, 2:51pm UTC](https://racket.discourse.group/t/how-to-display-full-stack-trace-when-racket-crashed/3059 "2024-07-30T14:51:41Z")

</div>

As the title says, it there a way to display full stack trace when Racket crashed? Or does "repeats 6 more times" literally indicates 6 more lines happens at the same place? @vector-length: arity mismatch; the expecte…

---

## [Could the t-Student distribution be included in the math module?](https://racket.discourse.group/t/could-the-t-student-distribution-be-included-in-the-math-module/2999)

<div class="topic-metadata">

**Author:** [@encomer](https://racket.discourse.group/u/encomer)\
**Replies:** 17\
**Last updated:** [July 26, 2024, 2:05pm UTC](https://racket.discourse.group/t/could-the-t-student-distribution-be-included-in-the-math-module/2999 "2024-07-26T14:05:53Z")

</div>

Hello math module friends: Could it be possible to include some functions for the t-Student distribution in the math module? May be for the moment, starting with the centered version. An example (very basic and possib…

---

## [Quote syntactic sugar](https://racket.discourse.group/t/quote-syntactic-sugar/3047)

<div class="topic-metadata">

**Author:** [@matteo-daddio](https://racket.discourse.group/u/matteo-daddio)\
**Replies:** 5\
**Last updated:** [July 24, 2024, 7:46pm UTC](https://racket.discourse.group/t/quote-syntactic-sugar/3047 "2024-07-24T19:46:58Z")

</div>

Hi, is ‘x a syntactic sugar for (quote x)? Gemini says no and copilot/chat gpt says yes. Matteo

---

## [Can raco turn off SSL?](https://racket.discourse.group/t/can-raco-turn-off-ssl/3044)

<div class="topic-metadata">

**Author:** [@Don](https://racket.discourse.group/u/Don)\
**Replies:** 6\
**Last updated:** [July 24, 2024, 2:31am UTC](https://racket.discourse.group/t/can-raco-turn-off-ssl/3044 "2024-07-24T02:31:39Z")

</div>

Trying to obtain pkg: remote-shell for macOS. Getting: ssl-connect: connect failed ..tls\_process\_server\_certificate verify failed when using: raco pkg install remote-shell Since I have yet to discover a fix for the a…

---

## [Trying to install package: remote-shell-lib](https://racket.discourse.group/t/trying-to-install-package-remote-shell-lib/3034)

<div class="topic-metadata">

**Author:** [@Don](https://racket.discourse.group/u/Don)\
**Replies:** 14\
**Last updated:** [July 23, 2024, 8:59pm UTC](https://racket.discourse.group/t/trying-to-install-package-remote-shell-lib/3034 "2024-07-23T20:59:21Z")

</div>

Trying to install package: remote-shell-lib on macos. When I try Package Install Pacckage Source: https:://download.racket-lang-org/releases/8.7/catalog I see this: Downloading cechsum for catalog ssl-connect: conn…

---

## [Why add commands to \`raco\`?](https://racket.discourse.group/t/why-add-commands-to-raco/3033)

<div class="topic-metadata">

**Author:** [@stevebyan](https://racket.discourse.group/u/stevebyan)\
**Replies:** 3\
**Last updated:** [July 16, 2024, 7:52pm UTC](https://racket.discourse.group/t/why-add-commands-to-raco/3033 "2024-07-16T19:52:36Z")

</div>

I can see why one would put all the tooling needed to build and maintain Racket into raco as commands, but when does it make sense to add other commands to raco, as opposed to just running the executable? For example, I…

---

## [Help: I can't get contract-in to work!](https://racket.discourse.group/t/help-i-cant-get-contract-in-to-work/3041)

<div class="topic-metadata">

**Author:** [@Greg\_Davidson](https://racket.discourse.group/u/Greg_Davidson)\
**Replies:** 2\
**Last updated:** [July 20, 2024, 7:03pm UTC](https://racket.discourse.group/t/help-i-cant-get-contract-in-to-work/3041 "2024-07-20T19:03:56Z")

</div>

I'm trying to bring in some functions from a relative file using contract-in with Racket v8.13 \[cs\]. Nothing I've tried seems to work. The doc says (\[contract-in\] require-spec contract-in-item ...) where require-spec …

---

## [Raco unable to install packages on macOS due to SSL/TLS certificate issues](https://racket.discourse.group/t/raco-unable-to-install-packages-on-macos-due-to-ssl-tls-certificate-issues/3039)

<div class="topic-metadata">

**Author:** [@Don](https://racket.discourse.group/u/Don)\
**Replies:** 1\
**Last updated:** [July 19, 2024, 6:59pm UTC](https://racket.discourse.group/t/raco-unable-to-install-packages-on-macos-due-to-ssl-tls-certificate-issues/3039 "2024-07-19T18:59:35Z")

</div>

My issue on macos v10.11.6 is the same as one I have found here: Raco unable to install packages on macOS due to SSL/TLS certificate issues #4108 rmculpepper added 3 commits 2 years ago /github.com/racket/racket/pull/…

---

## [File explorer functionality for DrRacket](https://racket.discourse.group/t/file-explorer-functionality-for-drracket/3037)

<div class="topic-metadata">

**Author:** [@frodeaux](https://racket.discourse.group/u/frodeaux)\
**Replies:** 2\
**Last updated:** [July 18, 2024, 8:22pm UTC](https://racket.discourse.group/t/file-explorer-functionality-for-drracket/3037 "2024-07-18T20:22:36Z")

</div>

For me, adding the ability to browse files/directories to DrRacket would be a giant help. I found a reference to the plugin, "files-viewer" but documentation links are broken. Can anyone offer how-to info on using this p…

---

## [How do I unclone a package?](https://racket.discourse.group/t/how-do-i-unclone-a-package/3028)

<div class="topic-metadata">

**Author:** [@stevebyan](https://racket.discourse.group/u/stevebyan)\
**Replies:** 4\
**Last updated:** [July 18, 2024, 5:35am UTC](https://racket.discourse.group/t/how-do-i-unclone-a-package/3028 "2024-07-18T05:35:07Z")

</div>

I used the information in the Tutorial: Contributing to Racket to install a local forked clone of the Scribble repo into my pre-compiled installation of Racket, via $ raco pkg update --no-setup --catalog https://pkgs.r…

---

## [Can one add new renderers to Scribble via a package?](https://racket.discourse.group/t/can-one-add-new-renderers-to-scribble-via-a-package/3023)

<div class="topic-metadata">

**Author:** [@stevebyan](https://racket.discourse.group/u/stevebyan)\
**Replies:** 1\
**Last updated:** [July 18, 2024, 3:27am UTC](https://racket.discourse.group/t/can-one-add-new-renderers-to-scribble-via-a-package/3023 "2024-07-18T03:27:21Z")

</div>

I'd like to extend Scribble with an --html-nav option to produce a separate file containing the navigational elements. My intent is to convert the Scribble-generated html to sxml, then include the body sxml and navigatio…

---

## [Stepper for Plait (instead of BSL/ISL)](https://racket.discourse.group/t/stepper-for-plait-instead-of-bsl-isl/3017)

<div class="topic-metadata">

**Author:** [@JoeyEremondi](https://racket.discourse.group/u/JoeyEremondi)\
**Replies:** 1\
**Last updated:** [July 17, 2024, 5:57pm UTC](https://racket.discourse.group/t/stepper-for-plait-instead-of-bsl-isl/3017 "2024-07-17T17:57:06Z")

</div>

I was wondering if anybody had an algebraic stepper that worked on Racket languages other than BSL or ISL, that I could adapt to work on (a fragment of) Plait. There's the debugger, but for purely functional code it's …

---

## [Handin grading without using server?](https://racket.discourse.group/t/handin-grading-without-using-server/3020)

<div class="topic-metadata">

**Author:** [@JoeyEremondi](https://racket.discourse.group/u/JoeyEremondi)\
**Replies:** 3\
**Last updated:** [July 17, 2024, 5:52pm UTC](https://racket.discourse.group/t/handin-grading-without-using-server/3020 "2024-07-17T17:52:53Z")

</div>

Basically, I've got a bunch of students submitting assignments, so I get a .zip file from Moodle with a bunch of folders, each of which has one .rkt file. I've seen that the handin server has really nice tools for defin…

---

## [Import syntax? in r6rs program](https://racket.discourse.group/t/import-syntax-in-r6rs-program/3026)

<div class="topic-metadata">

**Author:** [@damien\_mattei](https://racket.discourse.group/u/damien_mattei)\
**Replies:** 2\
**Last updated:** [July 15, 2024, 10:14am UTC](https://racket.discourse.group/t/import-syntax-in-r6rs-program/3026 "2024-07-15T10:14:30Z")

</div>

hello, is there a way to import syntax? which exist in Racket in #!r6rs program, i have already imported (rnrs syntax-case (6)) but it isn't inside : (import (rnrs base (6)) (rnrs syntax-case (6)) (only (srfi :1…

---

## [Build errors on powerpc macos](https://racket.discourse.group/t/build-errors-on-powerpc-macos/3004)

<div class="topic-metadata">

**Author:** [@jjsimpso](https://racket.discourse.group/u/jjsimpso)\
**Replies:** 5\
**Last updated:** [July 10, 2024, 2:01pm UTC](https://racket.discourse.group/t/build-errors-on-powerpc-macos/3004 "2024-07-10T14:01:13Z")

</div>

I've tried to build racket on two different powerpc macs and so far have not been successful. Is there a minimum macos or xcode version that I need? Should I build BC or CS variants? I'm building from the official racke…

---

## [Compile time for unused functions might take very long time](https://racket.discourse.group/t/compile-time-for-unused-functions-might-take-very-long-time/3013)

<div class="topic-metadata">

**Author:** [@hakank](https://racket.discourse.group/u/hakank)\
**Replies:** 2\
**Last updated:** [July 10, 2024, 10:10am UTC](https://racket.discourse.group/t/compile-time-for-unused-functions-might-take-very-long-time/3013 "2024-07-10T10:10:40Z")

</div>

I'm a Racket newbie and this is perhaps a common question, but I haven't found any answers on this. Here's a simple function just returning a large list: (define slow-test (range 1 100000000)) (writeln "after") Not…

---

## [Generate foreign procedures dynamically](https://racket.discourse.group/t/generate-foreign-procedures-dynamically/3003)

<div class="topic-metadata">

**Author:** [@bjornkihlberg](https://racket.discourse.group/u/bjornkihlberg)\
**Replies:** 4\
**Last updated:** [July 6, 2024, 7:04pm UTC](https://racket.discourse.group/t/generate-foreign-procedures-dynamically/3003 "2024-07-06T19:04:46Z")

</div>

Hello, It just struck me recently that since procedures can be locked in memory and viewed as pointers, are they arrays of instructions? Can I allocate memory and directly set each byte such that I can invoke the array …

[Previous page](https://racket.discourse.group/c/questions/6.md?page=10)

[Next page](https://racket.discourse.group/c/questions/6.md?page=12)
