# Latest

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

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

**Page:** 42

---

## [Open an rkt file in windows](https://racket.discourse.group/t/open-an-rkt-file-in-windows/2250)

<div class="topic-metadata">

**Author:** [@joskoot](https://racket.discourse.group/u/joskoot)\
**Replies:** 5\
**Last updated:** [August 26, 2023, 8:36am UTC](https://racket.discourse.group/t/open-an-rkt-file-in-windows/2250 "2023-08-26T08:36:52Z")

</div>

Windows 10, Racket version 8.10.0.1--2023-07-17(1aa7d3d809/a) \[cs\]. When I open a .rkt or .scrbl file by double clicking it and DrRacket is not yet running, DrRacket starts, but it fails with: No problem starting Dr…

---

## [Cannot (require ...) in module inside macro](https://racket.discourse.group/t/cannot-require-in-module-inside-macro/2241)

<div class="topic-metadata">

**Author:** [@axmx](https://racket.discourse.group/u/axmx)\
**Replies:** 10\
**Last updated:** [August 25, 2023, 1:05am UTC](https://racket.discourse.group/t/cannot-require-in-module-inside-macro/2241 "2023-08-25T01:05:02Z")

</div>

When using (require rackunit) in a macro, the identifiers are not properly imported, and I get this error: test2.rkt:11:1: check-equal: unbound identifier in: check-equal #(169 11) Minimal example: #lang racket (…

---

## [Levin Tree Search with Context Models](https://racket.discourse.group/t/levin-tree-search-with-context-models/1984)

<div class="topic-metadata">

**Author:** [@Laurent.O](https://racket.discourse.group/u/Laurent.O)\
**Replies:** 1\
**Last updated:** [August 23, 2023, 2:31pm UTC](https://racket.discourse.group/t/levin-tree-search-with-context-models/1984 "2023-08-23T14:31:35Z")

</div>

The source code for the machine learning research paper "Levin Tree Search with Context Models" (LTS+CM) to be published in IJCAI 2023 (arXiv) is now available as a package (requires racket v8.9.0.4 at least): raco pkg …

---

## [Rationale for per-version user scope packages?](https://racket.discourse.group/t/rationale-for-per-version-user-scope-packages/543)

<div class="topic-metadata">

**Author:** [@Laurent.O](https://racket.discourse.group/u/Laurent.O)\
**Replies:** 38\
**Last updated:** [August 23, 2023, 1:50pm UTC](https://racket.discourse.group/t/rationale-for-per-version-user-scope-packages/543 "2023-08-23T13:50:58Z")

</div>

Currently user-scope packages for releases are installed in version-specific directories. The main advantage I see is that if someone has several versions of racket installed, there is no need to recompile when switchin…

---

## [Smtp-send-message and tls version](https://racket.discourse.group/t/smtp-send-message-and-tls-version/2238)

<div class="topic-metadata">

**Author:** [@markshead](https://racket.discourse.group/u/markshead)\
**Replies:** 1\
**Last updated:** [August 22, 2023, 11:54pm UTC](https://racket.discourse.group/t/smtp-send-message-and-tls-version/2238 "2023-08-22T23:54:21Z")

</div>

The code below works for sending emails, but I'm getting messages from AWS SES saying that those messages are being sent with tls 1.0 or 1.1 which is deprecated and will be unavailable soon. If I understand it correctly…

---

## [Why does write-bytes-avail-evt not return an error?](https://racket.discourse.group/t/why-does-write-bytes-avail-evt-not-return-an-error/2230)

<div class="topic-metadata">

**Author:** [@janus](https://racket.discourse.group/u/janus)\
**Replies:** 3\
**Last updated:** [August 22, 2023, 4:36pm UTC](https://racket.discourse.group/t/why-does-write-bytes-avail-evt-not-return-an-error/2230 "2023-08-22T16:36:50Z")

</div>

I am trying to find how how I can handle all the errors that can happen related to a TCP connection. So I have written this server: #lang racket/base (require racket/tcp) (define listener (tcp-listen 8000)) (define o (…

---

## [Newbie Trouble using Scribble Links](https://racket.discourse.group/t/newbie-trouble-using-scribble-links/2237)

<div class="topic-metadata">

**Author:** [@bakgatviooldoos](https://racket.discourse.group/u/bakgatviooldoos)\
**Replies:** 8\
**Last updated:** [August 22, 2023, 10:20am UTC](https://racket.discourse.group/t/newbie-trouble-using-scribble-links/2237 "2023-08-22T10:20:29Z")

</div>

Hi, Racket Discourse. I am busy preparing some documentation for a presentation that I have to do this afternoon, but I am banging my head against a wall trying to use Scribble section references and the like. All I wa…

---

## [How to rename a procedure and use it](https://racket.discourse.group/t/how-to-rename-a-procedure-and-use-it/2232)

<div class="topic-metadata">

**Author:** [@damien\_mattei](https://racket.discourse.group/u/damien_mattei)\
**Replies:** 2\
**Last updated:** [August 21, 2023, 6:56am UTC](https://racket.discourse.group/t/how-to-rename-a-procedure-and-use-it/2232 "2023-08-21T06:56:27Z")

</div>

i have this file containing: (require srfi/31) ;; for 'rec in def.scm (require srfi/69) ;; Basic hash tables (require srfi/25) ;; Multi-dimensional Array Primitives (require srfi/8) ;; Values , receive (require (renam…

---

## [I can not find a real subject for this problem : (display +) (define + 7) : error](https://racket.discourse.group/t/i-can-not-find-a-real-subject-for-this-problem-display-define-7-error/2229)

<div class="topic-metadata">

**Author:** [@damien\_mattei](https://racket.discourse.group/u/damien_mattei)\
**Replies:** 8\
**Last updated:** [August 19, 2023, 10:55pm UTC](https://racket.discourse.group/t/i-can-not-find-a-real-subject-for-this-problem-display-define-7-error/2229 "2023-08-19T22:55:37Z")

</div>

\#lang racket (display +) (define + 3) Welcome to DrRacket, version 8.9 \[cs\]. Language: racket, with debugging; memory limit: 8192 MB. . . +: undefined; cannot reference an identifier before its definition does anyone k…

---

## [Do not understand stateful vs stateless servlets](https://racket.discourse.group/t/do-not-understand-stateful-vs-stateless-servlets/2220)

<div class="topic-metadata">

**Author:** [@hendrikboom3](https://racket.discourse.group/u/hendrikboom3)\
**Replies:** 1\
**Last updated:** [August 19, 2023, 8:02pm UTC](https://racket.discourse.group/t/do-not-understand-stateful-vs-stateless-servlets/2220 "2023-08-19T20:02:16Z")

</div>

I don't understand what stateful and stateless servlets are about. As far as I can tell, the documentation at Web Applications in Racket describes a lot of functions that can be used to interact with the web server, …

---

## [Traits documentation bug](https://racket.discourse.group/t/traits-documentation-bug/2199)

<div class="topic-metadata">

**Author:** [@matteo-daddio](https://racket.discourse.group/u/matteo-daddio)\
**Replies:** 4\
**Last updated:** [August 19, 2023, 6:19pm UTC](https://racket.discourse.group/t/traits-documentation-bug/2199 "2023-08-19T18:19:50Z")

</div>

Hello, I think I’ve spotted a bug in the racket guide, here: 13 Classes and Objects It’s about traits. In the marked line get-color and get-price are reversed. Is this a bug? Matteo

---

## [What locale is for string-upcase?](https://racket.discourse.group/t/what-locale-is-for-string-upcase/2203)

<div class="topic-metadata">

**Author:** [@Kalimehtar](https://racket.discourse.group/u/Kalimehtar)\
**Replies:** 8\
**Last updated:** [August 18, 2023, 7:34pm UTC](https://racket.discourse.group/t/what-locale-is-for-string-upcase/2203 "2023-08-18T19:34:38Z")

</div>

(parameterize (\[current-locale #f\]) (string-locale-upcase "Straße")) ; =\> "STRAßE" (string-upcase "Straße") ; =\> "STRASSE" The documentation states, that string-upcase "uses Unicode’s locale-independent conversion ru…

---

## [Example of a lang lexer that returns a \`dont-stop\` struct?](https://racket.discourse.group/t/example-of-a-lang-lexer-that-returns-a-dont-stop-struct/438)

<div class="topic-metadata">

**Author:** [@greghendershott](https://racket.discourse.group/u/greghendershott)\
**Replies:** 4\
**Last updated:** [August 18, 2023, 12:39pm UTC](https://racket.discourse.group/t/example-of-a-lang-lexer-that-returns-a-dont-stop-struct/438 "2023-08-18T12:39:43Z")

</div>

A lang's module lexer can return a dont-stop struct. I would like to test my handling of that. But so far (with e.g. langs racket, rhombus, and scribble/manual) I'm never seeing a dont-stop. What's an example of such …

---

## [How to create an identifier from a procedure](https://racket.discourse.group/t/how-to-create-an-identifier-from-a-procedure/2219)

<div class="topic-metadata">

**Author:** [@damien\_mattei](https://racket.discourse.group/u/damien_mattei)\
**Replies:** 14\
**Last updated:** [August 18, 2023, 6:57am UTC](https://racket.discourse.group/t/how-to-create-an-identifier-from-a-procedure/2219 "2023-08-18T06:57:52Z")

</div>

(define-syntax bar (syntax-rules () ((\_ proc) (require (rename-in racket/base (proc identifier)))))) how can i create identifier to be like base:proc example (bar +) identifier would be bas…

---

## [Signature types](https://racket.discourse.group/t/signature-types/2226)

<div class="topic-metadata">

**Author:** [@ahsatan](https://racket.discourse.group/u/ahsatan)\
**Replies:** 2\
**Last updated:** [August 18, 2023, 12:20am UTC](https://racket.discourse.group/t/signature-types/2226 "2023-08-18T00:20:05Z")

</div>

Hello! I'm playing around with the newish Signatures feature on some very simple code and am not sure if this isn't expected to work yet (I read it's experimental in the previous patch) or I'm doing something wrong: (…

---

## [Racket meet-up: Saturday, 2 September 2023 at 18:00 UTC :Racket:](https://racket.discourse.group/t/racket-meet-up-saturday-2-september-2023-at-18-00-utc/2172)

<div class="topic-metadata">

**Author:** [@spdegabrielle](https://racket.discourse.group/u/spdegabrielle)\
**Replies:** 0\
**Last updated:** [August 7, 2023, 7:00am UTC](https://racket.discourse.group/t/racket-meet-up-saturday-2-september-2023-at-18-00-utc/2172 "2023-08-07T07:00:31Z")

</div>

:racket: Racket meet-up: Saturday, 2 September 2023 at 18:00 UTC :racket: 2023-09-02T18:00:00Z (UTC) At this meet-up: RacketCon!! Racket Examples Summer Event Show and tell News & rumours AOB This meet-up will be h…

---

## [Racket version 8.10 is now available](https://racket.discourse.group/t/racket-version-8-10-is-now-available/2221)

<div class="topic-metadata">

**Author:** [@system](https://racket.discourse.group/u/system)\
**Replies:** 0\
**Last updated:** [August 16, 2023, 12:26pm UTC](https://racket.discourse.group/t/racket-version-8-10-is-now-available/2221 "2023-08-16T12:26:46Z")

</div>

Racket version 8.10 is now available from https://download.racket-lang.org/ As of this release: syntax/parse no longer always compiles its patterns; this release includes an interpreter which is used to reduce code siz…

---

## [DrRacket trait form unknown](https://racket.discourse.group/t/drracket-trait-form-unknown/2218)

<div class="topic-metadata">

**Author:** [@matteo-daddio](https://racket.discourse.group/u/matteo-daddio)\
**Replies:** 2\
**Last updated:** [August 14, 2023, 3:00pm UTC](https://racket.discourse.group/t/drracket-trait-form-unknown/2218 "2023-08-14T15:00:14Z")

</div>

Hello, I’m trying to work with traits, but DrRacket gives me this error: What can it be? Matteo

---

## [Why is the official org website down?](https://racket.discourse.group/t/why-is-the-official-org-website-down/2216)

<div class="topic-metadata">

**Author:** [@axdxhxdx](https://racket.discourse.group/u/axdxhxdx)\
**Replies:** 2\
**Last updated:** [August 14, 2023, 11:23am UTC](https://racket.discourse.group/t/why-is-the-official-org-website-down/2216 "2023-08-14T11:23:42Z")

</div>

I'm stuck in a project and I can't read the docs because the website is down!

---

## [Release Announcement for v8.10](https://racket.discourse.group/t/release-announcement-for-v8-10/2207)

<div class="topic-metadata">

**Author:** [@jbclements](https://racket.discourse.group/u/jbclements)\
**Replies:** 4\
**Last updated:** [August 13, 2023, 1:22am UTC](https://racket.discourse.group/t/release-announcement-for-v8-10/2207 "2023-08-13T01:22:37Z")

</div>

The release announcement sketch that I have so far is below. Please mail me new items and/or edits. Please phrase announcements using complete sentences and avoid the word "now". As of this release: The updated sy…

---

## [Color lexer backup distances and \`dont-stop\`](https://racket.discourse.group/t/color-lexer-backup-distances-and-dont-stop/2170)

<div class="topic-metadata">

**Author:** [@LiberalArtist](https://racket.discourse.group/u/LiberalArtist)\
**Replies:** 8\
**Last updated:** [August 12, 2023, 5:46am UTC](https://racket.discourse.group/t/color-lexer-backup-distances-and-dont-stop/2170 "2023-08-12T05:46:47Z")

</div>

I'm trying to implement a color lexer for the syntax of .gitignore files. For reasons I'll explain, I think I need non-zero backup distances and dont-stop, which have always confused me, and I want to check my understand…

---

## [The Little Typer: implicattion that values are not neutral?](https://racket.discourse.group/t/the-little-typer-implicattion-that-values-are-not-neutral/1737)

<div class="topic-metadata">

**Author:** [@rebcabin](https://racket.discourse.group/u/rebcabin)\
**Replies:** 4\
**Last updated:** [August 11, 2023, 11:04am UTC](https://racket.discourse.group/t/the-little-typer-implicattion-that-values-are-not-neutral/1737 "2023-08-11T11:04:33Z")

</div>

First a thanks for this great site and for your kind attention! I don't understand the conclusion of the syllogism on page 182 of the Fifth Printing of The Little Typer. It states: Variables that are not defined are n…

---

## [Do you know the history of Racket and LeetCode?](https://racket.discourse.group/t/do-you-know-the-history-of-racket-and-leetcode/2211)

<div class="topic-metadata">

**Author:** [@david-christiansen](https://racket.discourse.group/u/david-christiansen)\
**Replies:** 0\
**Last updated:** [August 11, 2023, 10:44am UTC](https://racket.discourse.group/t/do-you-know-the-history-of-racket-and-leetcode/2211 "2023-08-11T10:44:44Z")

</div>

Was anyone here involved in getting Racket onto LeetCode who would be willing to share some experiences? Over at the Haskell Foundation, we've been asked to try to figure out what it would take to get Haskell on there, …

---

## [Racket v8.10 Release Thread](https://racket.discourse.group/t/racket-v8-10-release-thread/2070)

<div class="topic-metadata">

**Author:** [@jbclements](https://racket.discourse.group/u/jbclements)\
**Replies:** 15\
**Last updated:** [August 10, 2023, 3:37pm UTC](https://racket.discourse.group/t/racket-v8-10-release-thread/2070 "2023-08-10T15:37:47Z")

</div>

The release process for v8.10 will begin in about a week. If you have any new features that you want in and are relatively close to to being done, now is a good time to do that. Upcoming dates: - 7th: Branch day, merg…

---

## [Error from dynamic-require collection written in typed racket in a new namespace](https://racket.discourse.group/t/error-from-dynamic-require-collection-written-in-typed-racket-in-a-new-namespace/2194)

<div class="topic-metadata">

**Author:** [@subdudu](https://racket.discourse.group/u/subdudu)\
**Replies:** 2\
**Last updated:** [August 10, 2023, 12:16am UTC](https://racket.discourse.group/t/error-from-dynamic-require-collection-written-in-typed-racket-in-a-new-namespace/2194 "2023-08-10T00:16:47Z")

</div>

I have a project, which has a main program that generates an exe file using raco exe in advance, and distributed it to clients. When the main program is running, it will dynamically require multiple compiled zo and dep f…

---

## [\`apply\` \`set-union\` in Typed Racket](https://racket.discourse.group/t/apply-set-union-in-typed-racket/2201)

<div class="topic-metadata">

**Author:** [@scolobb](https://racket.discourse.group/u/scolobb)\
**Replies:** 2\
**Last updated:** [August 9, 2023, 8:57pm UTC](https://racket.discourse.group/t/apply-set-union-in-typed-racket/2201 "2023-08-09T20:57:47Z")

</div>

Hello, I am trying to apply set-union to a list in Typed Racket. The following happily works and gives the expected answer: #lang typed/racket (apply set-union (list (set 'a 'b) (set 'c 'd))) However, if I bind the …

---

## [Shared state in a web server](https://racket.discourse.group/t/shared-state-in-a-web-server/2200)

<div class="topic-metadata">

**Author:** [@hendrikboom3](https://racket.discourse.group/u/hendrikboom3)\
**Replies:** 11\
**Last updated:** [August 9, 2023, 8:28pm UTC](https://racket.discourse.group/t/shared-state-in-a-web-server/2200 "2023-08-09T20:28:04Z")

</div>

I'm considering writing something with the structure of a multiplayer game. Server will be a network-accessible Linux box. All I can assume about the clients is that they can use reasonably modern web browsers despite …

---

## [Net/smtp sending with attachments](https://racket.discourse.group/t/net-smtp-sending-with-attachments/2181)

<div class="topic-metadata">

**Author:** [@markshead](https://racket.discourse.group/u/markshead)\
**Replies:** 1\
**Last updated:** [August 9, 2023, 1:09am UTC](https://racket.discourse.group/t/net-smtp-sending-with-attachments/2181 "2023-08-09T01:09:23Z")

</div>

I'm trying to use net/smtp to send emails that contain calendar invites. I can't seem to find a library that with let me construct the body of an email using MIME. I can probably create what I need using https://github.c…

---

## [\[Call for submissions TFPiE 2024\] Trends in Functional Programming in Education - January 9 2024, Seton Hall University, USA](https://racket.discourse.group/t/call-for-submissions-tfpie-2024-trends-in-functional-programming-in-education-january-9-2024-seton-hall-university-usa/2198)

<div class="topic-metadata">

**Author:** [@peter88](https://racket.discourse.group/u/peter88)\
**Replies:** 0\
**Last updated:** [August 8, 2023, 9:10am UTC](https://racket.discourse.group/t/call-for-submissions-tfpie-2024-trends-in-functional-programming-in-education-january-9-2024-seton-hall-university-usa/2198 "2023-08-08T09:10:59Z")

</div>

TFPIE 2024 Call for papers https://wiki.tfpie.science.ru.nl/TFPIE2024 (January 9th 2024, West Orange, NJ, USA, co-located with TFP 2024 at Seton Hall University) TFPIE 2024 welcomes submissions describing techniques …

---

## [Functional Art, Music, Modeling and Design (FARM 2023) Sep 8: Call for Participation](https://racket.discourse.group/t/functional-art-music-modeling-and-design-farm-2023-sep-8-call-for-participation/2197)

<div class="topic-metadata">

**Author:** [@mike](https://racket.discourse.group/u/mike)\
**Replies:** 0\
**Last updated:** [August 7, 2023, 11:09am UTC](https://racket.discourse.group/t/functional-art-music-modeling-and-design-farm-2023-sep-8-call-for-participation/2197 "2023-08-07T11:09:17Z")

</div>

=============================================================================== 11th ACM SIGPLAN International Workshop on Functional Art, Music, Modelling and Design (FARM) Seattle, USA, 8th Septembe…

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

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