# Latest

**URL:** https://racket.discourse.group/latest.md?page=59

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

**Page:** 60

---

## [Remote Racket School?](https://racket.discourse.group/t/remote-racket-school/1023)

<div class="topic-metadata">

**Author:** [@spdegabrielle](https://racket.discourse.group/u/spdegabrielle)\
**Replies:** 2\
**Last updated:** [May 25, 2022, 5:59pm UTC](https://racket.discourse.group/t/remote-racket-school/1023 "2022-05-25T17:59:53Z")

</div>

Will there be and a Racket School https://school.racket-lang.org/ in 2022 and will there be an option for remote participation ? Bw Stephen

---

## [Events and concurrency](https://racket.discourse.group/t/events-and-concurrency/1021)

<div class="topic-metadata">

**Author:** [@edoput](https://racket.discourse.group/u/edoput)\
**Replies:** 4\
**Last updated:** [May 25, 2022, 5:50pm UTC](https://racket.discourse.group/t/events-and-concurrency/1021 "2022-05-25T17:50:32Z")

</div>

When looking at the events reference page I saw that there are a number of procedures that are very similar. While the difference between wrap-evt and handle-evt is understandable and I can see the use cases for both I'm…

---

## [Racket to Javascript compiler](https://racket.discourse.group/t/racket-to-javascript-compiler/1018)

<div class="topic-metadata">

**Author:** [@gus-massa](https://racket.discourse.group/u/gus-massa)\
**Replies:** 5\
**Last updated:** [May 25, 2022, 2:13pm UTC](https://racket.discourse.group/t/racket-to-javascript-compiler/1018 "2022-05-25T14:13:34Z")

</div>

What are the difference between: RacketScript: The RacketScript Language and Compiler Whalesong: Whalesong: a Racket to JavaScript compiler Are both active? Which one has more features? Is it possible to compil…

---

## [Local scribble HTML versus package installation from github](https://racket.discourse.group/t/local-scribble-html-versus-package-installation-from-github/998)

<div class="topic-metadata">

**Author:** [@joskoot](https://racket.discourse.group/u/joskoot)\
**Replies:** 8\
**Last updated:** [May 23, 2022, 3:55pm UTC](https://racket.discourse.group/t/local-scribble-html-versus-package-installation-from-github/998 "2022-05-23T15:55:03Z")

</div>

Hi I have a directory without subdirectories. It contains a.scrbl and a.rkt. a.scrbl has: @(defmodule "a.rkt" #:packages ()) @hyperlink\["a.rkt"\]{source-code} I open a.scrbl in DrRacket and click scribble HTML. Works f…

---

## [Generator functions?](https://racket.discourse.group/t/generator-functions/1020)

<div class="topic-metadata">

**Author:** [@jkleiser](https://racket.discourse.group/u/jkleiser)\
**Replies:** 2\
**Last updated:** [May 23, 2022, 8:51pm UTC](https://racket.discourse.group/t/generator-functions/1020 "2022-05-23T20:51:41Z")

</div>

In JavaScript one may create Generator functions by using the function\* syntax, as described here: Iterators and generators - JavaScript | MDN Is it possible to do the same in Racket? What I would like to obtain is, ba…

---

## [How to document functions that aren't defined (yet) but will be by a user?](https://racket.discourse.group/t/how-to-document-functions-that-arent-defined-yet-but-will-be-by-a-user/1017)

<div class="topic-metadata">

**Author:** [@soegaard](https://racket.discourse.group/u/soegaard)\
**Replies:** 4\
**Last updated:** [May 22, 2022, 7:24pm UTC](https://racket.discourse.group/t/how-to-document-functions-that-arent-defined-yet-but-will-be-by-a-user/1017 "2022-05-22T19:24:33Z")

</div>

This image shows a problem I have in the documentation for Scribble in the overview section. The blue links are correct, they link to the documentation entries for mouse-x, mouse-y etc. The problem is the black non-…

---

## [Rendering 2 million data points on an interactive map](https://racket.discourse.group/t/rendering-2-million-data-points-on-an-interactive-map/988)

<div class="topic-metadata">

**Author:** [@alexh](https://racket.discourse.group/u/alexh)\
**Replies:** 8\
**Last updated:** [May 22, 2022, 4:16pm UTC](https://racket.discourse.group/t/rendering-2-million-data-points-on-an-interactive-map/988 "2022-05-22T16:16:19Z")

</div>

I put together a short demo of loading and displaying 2 million waypoints (GPS locations) on an interactive map, to visualize all the places I have been riding my bike. All data processing and rendering is implemented i…

---

## [Construct monad in \`sicp-pict\`?](https://racket.discourse.group/t/construct-monad-in-sicp-pict/985)

<div class="topic-metadata">

**Author:** [@NoahStoryM](https://racket.discourse.group/u/NoahStoryM)\
**Replies:** 5\
**Last updated:** [May 21, 2022, 10:00pm UTC](https://racket.discourse.group/t/construct-monad-in-sicp-pict/985 "2022-05-21T22:00:06Z")

</div>

In the current sicp-pict, we treat a picture as a painter, which is a procedure that takes a frame and then draws the picture to a bitmap (so we don't care about its return value, any type is ok). I tried to define a pr…

---

## [Terminology in documentation](https://racket.discourse.group/t/terminology-in-documentation/1015)

<div class="topic-metadata">

**Author:** [@tyonkman](https://racket.discourse.group/u/tyonkman)\
**Replies:** 1\
**Last updated:** [May 21, 2022, 3:07am UTC](https://racket.discourse.group/t/terminology-in-documentation/1015 "2022-05-21T03:07:39Z")

</div>

The term "CVT" is used in section 3.14 of the reference manual. I cannot find what it means. Using the documentation search tools does not help. Thanks,

---

## [Scribble: What is the right way to document a structure property?](https://racket.discourse.group/t/scribble-what-is-the-right-way-to-document-a-structure-property/1016)

<div class="topic-metadata">

**Author:** [@dstorrs](https://racket.discourse.group/u/dstorrs)\
**Replies:** 2\
**Last updated:** [May 21, 2022, 2:49am UTC](https://racket.discourse.group/t/scribble-what-is-the-right-way-to-document-a-structure-property/1016 "2022-05-21T02:49:04Z")

</div>

I'm writing Scribble to document a struct type with an attached property and I'm unsure how to do it. Something like this: (define-values (prop:foo foo-prop? foo-ref) (make-struct-type-property 'foo 'can-impersonate)…

---

## [Problems generating pdf/latex from scribble](https://racket.discourse.group/t/problems-generating-pdf-latex-from-scribble/1010)

<div class="topic-metadata">

**Author:** [@cyberglot](https://racket.discourse.group/u/cyberglot)\
**Replies:** 4\
**Last updated:** [May 20, 2022, 9:32pm UTC](https://racket.discourse.group/t/problems-generating-pdf-latex-from-scribble/1010 "2022-05-20T21:32:47Z")

</div>

I'm trying to get started using scribble to replace regular latex in my toolchain. However, I'm having a hard time generating both pdf and latex. I believe the error in both instances is related to the same error about \\…

---

## [Apparent contradiction in the docs (with resolution?)](https://racket.discourse.group/t/apparent-contradiction-in-the-docs-with-resolution/1003)

<div class="topic-metadata">

**Author:** [@dstorrs](https://racket.discourse.group/u/dstorrs)\
**Replies:** 3\
**Last updated:** [May 20, 2022, 8:43pm UTC](https://racket.discourse.group/t/apparent-contradiction-in-the-docs-with-resolution/1003 "2022-05-20T20:43:02Z")

</div>

14.5 Impersonators and Chaperones says: An impersonator cannot be applied to an immutable value or refine the access to an immutable field in an instance of a structure type, since arbitrary redirection of an operation…

---

## [Macro generating definitional macro](https://racket.discourse.group/t/macro-generating-definitional-macro/1004)

<div class="topic-metadata">

**Author:** [@rockn](https://racket.discourse.group/u/rockn)\
**Replies:** 4\
**Last updated:** [May 20, 2022, 10:24am UTC](https://racket.discourse.group/t/macro-generating-definitional-macro/1004 "2022-05-20T10:24:45Z")

</div>

Hi, (define-syntax-rule (define-define-macro m id) (define-syntax-rule (m) (define id (lambda (x) x)))) (define-define-macro m1 id1) (m1) (id1 2) Why is id1 unbound while (define-syntax-rule (m2 id) (define …

---

## [New struct++ feature: accessor wrappers](https://racket.discourse.group/t/new-struct-feature-accessor-wrappers/1006)

<div class="topic-metadata">

**Author:** [@dstorrs](https://racket.discourse.group/u/dstorrs)\
**Replies:** 0\
**Last updated:** [May 19, 2022, 4:17pm UTC](https://racket.discourse.group/t/new-struct-feature-accessor-wrappers/1006 "2022-05-19T16:17:07Z")

</div>

Accessor wrappers allow you to redirect a struct accessor to do whatever you want. Good examples would be to force a promise or access a database. #lang racket (require struct-plus-plus "db/dbh.rkt") ; dbh.rkt provide…

---

## [Personal Package Catalog](https://racket.discourse.group/t/personal-package-catalog/997)

<div class="topic-metadata">

**Author:** [@SamPhillips](https://racket.discourse.group/u/SamPhillips)\
**Replies:** 2\
**Last updated:** [May 18, 2022, 10:47pm UTC](https://racket.discourse.group/t/personal-package-catalog/997 "2022-05-18T22:47:48Z")

</div>

I made my own Package Catalog for publishing pre-release versions of packages. Also useful if you are too shy to add your package to the official catalog.

---

## [Racket implementations?](https://racket.discourse.group/t/racket-implementations/999)

<div class="topic-metadata">

**Author:** [@spdegabrielle](https://racket.discourse.group/u/spdegabrielle)\
**Replies:** 2\
**Last updated:** [May 16, 2022, 3:59pm UTC](https://racket.discourse.group/t/racket-implementations/999 "2022-05-16T15:59:22Z")

</div>

Someone on Discord or Slack chat recently mentioned there are now four implementations of Racket. Racket :racket: - with both Chez and BC variants RacketScript :racketscript: - Racket to Javascript compiler Pycket i…

---

## [Language implementation design decisions and trade offs](https://racket.discourse.group/t/language-implementation-design-decisions-and-trade-offs/989)

<div class="topic-metadata">

**Author:** [@spdegabrielle](https://racket.discourse.group/u/spdegabrielle)\
**Replies:** 11\
**Last updated:** [May 14, 2022, 2:02pm UTC](https://racket.discourse.group/t/language-implementation-design-decisions-and-trade-offs/989 "2022-05-14T14:02:41Z")

</div>

Hi @lexi\_lambda wrote an interesting comment on language implementation trade-off’s: I recently learnt in chat(discord); roughly the racket compiler produces safer executables at the cost of a little (runtime)speed. …

---

## [Final CfP - ACM Workshop on Functional Art, Music, Modelling and Design - Deadline June 1](https://racket.discourse.group/t/final-cfp-acm-workshop-on-functional-art-music-modelling-and-design-deadline-june-1/995)

<div class="topic-metadata">

**Author:** [@mike](https://racket.discourse.group/u/mike)\
**Replies:** 0\
**Last updated:** [May 14, 2022, 11:45am UTC](https://racket.discourse.group/t/final-cfp-acm-workshop-on-functional-art-music-modelling-and-design-deadline-june-1/995 "2022-05-14T11:45:14Z")

</div>

=============================================================================== 10th ACM SIGPLAN International Workshop on Functional Art, Music, Modelling and Design (FARM) Call for Papers, Demos, and Pe…

---

## [Debugging memory leaks](https://racket.discourse.group/t/debugging-memory-leaks/982)

<div class="topic-metadata">

**Author:** [@williewillus](https://racket.discourse.group/u/williewillus)\
**Replies:** 4\
**Last updated:** [May 14, 2022, 9:28am UTC](https://racket.discourse.group/t/debugging-memory-leaks/982 "2022-05-14T09:28:05Z")

</div>

Hi all. I run R16, a Discord bot that allows users to evaluate snippets of code using racket/sandbox. However, I see issues with memory usage building up over time while the bot is running. The bot has essentially no sta…

---

## [How to best implement something like "defer"' in Go?](https://racket.discourse.group/t/how-to-best-implement-something-like-defer-in-go/723)

<div class="topic-metadata">

**Author:** [@slaymaker1907](https://racket.discourse.group/u/slaymaker1907)\
**Replies:** 15\
**Last updated:** [May 10, 2022, 9:41pm UTC](https://racket.discourse.group/t/how-to-best-implement-something-like-defer-in-go/723 "2022-05-10T21:41:04Z")

</div>

I was wondering if anyone had any ideas for how to elegantly implement something like defer in Racket which executes either at the end of the current scope and/or the end of the current function? Obviously, this isn't t…

---

## [Experiment with defines: define unity](https://racket.discourse.group/t/experiment-with-defines-define-unity/314)

<div class="topic-metadata">

**Author:** [@benknoble](https://racket.discourse.group/u/benknoble)\
**Replies:** 3\
**Last updated:** [May 10, 2022, 11:00am UTC](https://racket.discourse.group/t/experiment-with-defines-define-unity/314 "2022-05-10T11:00:41Z")

</div>

I went through a phase (which may now be over) where I thought it was really odd that we had a whole bunch of define-like forms. (Why? Mostly for reasons of getting indentation right in vim: vim uses an option lispwords …

---

## [Racket meet-up Saturday 7 May 18:00 UTC :racket:](https://racket.discourse.group/t/racket-meet-up-saturday-7-may-18-00-utc/846)

<div class="topic-metadata">

**Author:** [@spdegabrielle](https://racket.discourse.group/u/spdegabrielle)\
**Replies:** 11\
**Last updated:** [May 9, 2022, 9:55pm UTC](https://racket.discourse.group/t/racket-meet-up-saturday-7-may-18-00-utc/846 "2022-05-09T21:55:09Z")

</div>

Racket meet-up Saturday 7 May 18:00 UTC :racket: 2022-05-07T18:00:00Z (UTC) Online: https://gather.town/app/wH1EDG3McffLjrs0/racket-users When: First Saturday EVERY Month UTC: 18:00 Show and tell News & rumours AOB …

---

## [Speed benefits of submodules?](https://racket.discourse.group/t/speed-benefits-of-submodules/986)

<div class="topic-metadata">

**Author:** [@joeld](https://racket.discourse.group/u/joeld)\
**Replies:** 3\
**Last updated:** [May 9, 2022, 3:12pm UTC](https://racket.discourse.group/t/speed-benefits-of-submodules/986 "2022-05-09T15:12:24Z")

</div>

Suppose I have two Racket files/modules: ;; one.rkt #lang racket (provide a b) (define foo 'simple-value) (define bar (make-bytes 100000 65)) ;; two.rkt #lang racket (module small racket (provide foo) (define f…

---

## [Markdown to Scribble converter](https://racket.discourse.group/t/markdown-to-scribble-converter/917)

<div class="topic-metadata">

**Author:** [@sschwarzer](https://racket.discourse.group/u/sschwarzer)\
**Replies:** 12\
**Last updated:** [May 8, 2022, 9:06pm UTC](https://racket.discourse.group/t/markdown-to-scribble-converter/917 "2022-05-08T21:06:23Z")

</div>

In my opinion, it's often reasonable to start with some documentation in Markdown to get things going, but convert the documentation to Scribble later so it can be included in the Racket or package documentation to look …

---

## [Impersonate syntax transformer: cursed or not?](https://racket.discourse.group/t/impersonate-syntax-transformer-cursed-or-not/971)

<div class="topic-metadata">

**Author:** [@sorawee](https://racket.discourse.group/u/sorawee)\
**Replies:** 12\
**Last updated:** [May 8, 2022, 7:46pm UTC](https://racket.discourse.group/t/impersonate-syntax-transformer-cursed-or-not/971 "2022-05-08T19:46:09Z")

</div>

Problem: I want to create a "smart constructor" for struct (e.g., supporting default values for some fields) without losing the ability to use struct-copy, struct\* in match. In general, I don't want to lose the struct-in…

---

## [Minimal-racket is very slow before installing compiler-lib](https://racket.discourse.group/t/minimal-racket-is-very-slow-before-installing-compiler-lib/967)

<div class="topic-metadata">

**Author:** [@mk12](https://racket.discourse.group/u/mk12)\
**Replies:** 20\
**Last updated:** [May 7, 2022, 11:47pm UTC](https://racket.discourse.group/t/minimal-racket-is-very-slow-before-installing-compiler-lib/967 "2022-05-07T23:47:01Z")

</div>

When I install minimal-racket 8.5 on macOS Monterey on my M1 MacBook Pro, launching the racket REPL takes 15 seconds between printing "Welcome to Racket v8.5 \[cs\]." to displaying the prompt "\>". After raco pkg install co…

---

## [Running a procedure from 'delay' does not capture modified parameters](https://racket.discourse.group/t/running-a-procedure-from-delay-does-not-capture-modified-parameters/936)

<div class="topic-metadata">

**Author:** [@dstorrs](https://racket.discourse.group/u/dstorrs)\
**Replies:** 27\
**Last updated:** [May 7, 2022, 10:25pm UTC](https://racket.discourse.group/t/running-a-procedure-from-delay-does-not-capture-modified-parameters/936 "2022-05-07T22:25:42Z")

</div>

I'm having an issue where changes to parameters are not being noticed in a new thread. I think I know what's happening but would appreciate confirmation and suggestions on the best way to handle it. In server.rkt I p…

---

## [Self-Hosting racket/base programs with Blossoms](https://racket.discourse.group/t/self-hosting-racket-base-programs-with-blossoms/980)

<div class="topic-metadata">

**Author:** [@slg](https://racket.discourse.group/u/slg)\
**Replies:** 0\
**Last updated:** [May 7, 2022, 3:51am UTC](https://racket.discourse.group/t/self-hosting-racket-base-programs-with-blossoms/980 "2022-05-07T03:51:43Z")

</div>

While hacking on Denxi I found a need for s-exp programs that can functionally refactor their enclosing source files. I defined a blossom as a kind of whole-program macro, and an experimental approach to self-hosting usi…

---

## [Why can this program not find its own macro call site?](https://racket.discourse.group/t/why-can-this-program-not-find-its-own-macro-call-site/976)

<div class="topic-metadata">

**Author:** [@slg](https://racket.discourse.group/u/slg)\
**Replies:** 1\
**Last updated:** [May 7, 2022, 2:41am UTC](https://racket.discourse.group/t/why-can-this-program-not-find-its-own-macro-call-site/976 "2022-05-07T02:41:51Z")

</div>

EDIT: After reviewing the docs, it seems that syntax-position is one-based with respect to the code read from the file. Not sure why the syntax-position in the macro definition appears to be zero-based. Also: edited this…

---

## [Planning RacketCon 2022](https://racket.discourse.group/t/planning-racketcon-2022/724)

<div class="topic-metadata">

**Author:** [@spdegabrielle](https://racket.discourse.group/u/spdegabrielle)\
**Replies:** 10\
**Last updated:** [May 6, 2022, 7:48am UTC](https://racket.discourse.group/t/planning-racketcon-2022/724 "2022-05-06T07:48:47Z")

</div>

Following Jay’s message it is clear it is time to start planning RacketCon So I’m calling on Racketeers to volunteer to put together an awesome RacketCon. The shape of the RacketCon will depend on the volunteers - any …

[Previous page](https://racket.discourse.group/latest.md?page=58)

[Next page](https://racket.discourse.group/latest.md?page=60)
