# Latest

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

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

**Page:** 38

---

## [Why does my code not work? How can I fix it?](https://racket.discourse.group/t/why-does-my-code-not-work-how-can-i-fix-it/2489)

<div class="topic-metadata">

**Author:** [@Jack22](https://racket.discourse.group/u/Jack22)\
**Replies:** 6\
**Last updated:** [November 11, 2023, 6:57pm UTC](https://racket.discourse.group/t/why-does-my-code-not-work-how-can-i-fix-it/2489 "2023-11-11T18:57:56Z")

</div>

(define (brew-time grams) (define water (\* 100 (/ grams 6))) (cond \[(\< water 100) (error 'brew-time "Zu geringe Menge")\] \[(\> water 800) (error 'brew-time "Zu grosse Menge")\] \[(= water 100) 60\] \[(…

---

## [Racket Mode users: Want to try "racket-hash-lang-mode"?](https://racket.discourse.group/t/racket-mode-users-want-to-try-racket-hash-lang-mode/2372)

<div class="topic-metadata">

**Author:** [@greghendershott](https://racket.discourse.group/u/greghendershott)\
**Replies:** 16\
**Last updated:** [November 11, 2023, 6:43am UTC](https://racket.discourse.group/t/racket-mode-users-want-to-try-racket-hash-lang-mode/2372 "2023-11-11T06:43:39Z")

</div>

I have a long-running topic branch, hash-lang, on which I've been exploring how to use #lang supplied colors and indent. Instead of this dragging on for N more years, I'd really like to merge it soon. I've been working …

---

## [Ubuntu Linux (22.04, and 23.10) and Racket documentation?](https://racket.discourse.group/t/ubuntu-linux-22-04-and-23-10-and-racket-documentation/2474)

<div class="topic-metadata">

**Author:** [@hrvoje064](https://racket.discourse.group/u/hrvoje064)\
**Replies:** 9\
**Last updated:** [November 10, 2023, 9:57pm UTC](https://racket.discourse.group/t/ubuntu-linux-22-04-and-23-10-and-racket-documentation/2474 "2023-11-10T21:57:46Z")

</div>

This, obviously is not a Racket problem, but maybe somebody has seen this before, and can offer a fix. Yesterday, and today, I installed several Linux distros on my computer, just to see if my math-quiz package works ev…

---

## [Install racket-turtle](https://racket.discourse.group/t/install-racket-turtle/2483)

<div class="topic-metadata">

**Author:** [@rack\_a\_jack](https://racket.discourse.group/u/rack_a_jack)\
**Replies:** 15\
**Last updated:** [November 10, 2023, 7:27pm UTC](https://racket.discourse.group/t/install-racket-turtle/2483 "2023-11-10T19:27:18Z")

</div>

hello, would like to install racket-turtle.rkt teachpack. I have the teachpack folder. Should it be in a particular directiory? completely new to racket, have a few questions to get started thank you

---

## [Help with a problem in the web apps tutorial in the Racket docs](https://racket.discourse.group/t/help-with-a-problem-in-the-web-apps-tutorial-in-the-racket-docs/2485)

<div class="topic-metadata">

**Author:** [@devonlepage](https://racket.discourse.group/u/devonlepage)\
**Replies:** 1\
**Last updated:** [November 9, 2023, 11:31pm UTC](https://racket.discourse.group/t/help-with-a-problem-in-the-web-apps-tutorial-in-the-racket-docs/2485 "2023-11-09T23:31:28Z")

</div>

I am a (noob) hobbyist programmer and have worked through the second edition of HtDP. Today I've been reading through Continue: Web Applications in Racket in the docs and I can't seem to get the iteration of the blog exa…

---

## [Proposal: "Distro Packagers" category](https://racket.discourse.group/t/proposal-distro-packagers-category/2477)

<div class="topic-metadata">

**Author:** [@LiberalArtist](https://racket.discourse.group/u/LiberalArtist)\
**Replies:** 3\
**Last updated:** [November 9, 2023, 3:32pm UTC](https://racket.discourse.group/t/proposal-distro-packagers-category/2477 "2023-11-09T15:32:53Z")

</div>

I'd like to propose creating a Discourse category for "Distro Packagers" (or "Distro Package Maintainers"? bikesheding welcome). My understanding from Create a category in Discourse - admins - Discourse Meta is that cate…

---

## [Where can I see the RacketCon day 1 livestream?](https://racket.discourse.group/t/where-can-i-see-the-racketcon-day-1-livestream/2468)

<div class="topic-metadata">

**Author:** [@dstorrs](https://racket.discourse.group/u/dstorrs)\
**Replies:** 5\
**Last updated:** [November 8, 2023, 3:11am UTC](https://racket.discourse.group/t/where-can-i-see-the-racketcon-day-1-livestream/2468 "2023-11-08T03:11:09Z")

</div>

https://con.racket-lang.org/ currently has the day 2 livestream. Is the day 1 available anywhere? Also, is it possible to download copies of the talks?

---

## [Typed web-server](https://racket.discourse.group/t/typed-web-server/2321)

<div class="topic-metadata">

**Author:** [@hendrikboom3](https://racket.discourse.group/u/hendrikboom3)\
**Replies:** 7\
**Last updated:** [November 7, 2023, 11:04pm UTC](https://racket.discourse.group/t/typed-web-server/2321 "2023-11-07T23:04:01Z")

</div>

Is there a typed Racket version of all the Racket web-server stuff?

---

## [Scribble possible to render to custom output format (Anki)?](https://racket.discourse.group/t/scribble-possible-to-render-to-custom-output-format-anki/2463)

<div class="topic-metadata">

**Author:** [@jegfish](https://racket.discourse.group/u/jegfish)\
**Replies:** 4\
**Last updated:** [November 7, 2023, 3:06pm UTC](https://racket.discourse.group/t/scribble-possible-to-render-to-custom-output-format-anki/2463 "2023-11-07T15:06:27Z")

</div>

I am looking to create a set of tutorials and am considering including Anki notes (spaced-repetition flashcards) alongside them to give readers an additional resource and facility to remember the information. I'm conside…

---

## [Help trying to figure out Racket! Newbie!](https://racket.discourse.group/t/help-trying-to-figure-out-racket-newbie/2465)

<div class="topic-metadata">

**Author:** [@Daler](https://racket.discourse.group/u/Daler)\
**Replies:** 3\
**Last updated:** [November 7, 2023, 1:06am UTC](https://racket.discourse.group/t/help-trying-to-figure-out-racket-newbie/2465 "2023-11-07T01:06:47Z")

</div>

Hello, I am currently working on a Racket programming project and I'm encountering some issues with my code. I have been trying to create a program that calculates the total duration of a Free-Fall Tower attraction, con…

---

## [Methods for passing messages to python scripts](https://racket.discourse.group/t/methods-for-passing-messages-to-python-scripts/2402)

<div class="topic-metadata">

**Author:** [@thrilway](https://racket.discourse.group/u/thrilway)\
**Replies:** 2\
**Last updated:** [November 6, 2023, 6:21pm UTC](https://racket.discourse.group/t/methods-for-passing-messages-to-python-scripts/2402 "2023-11-06T18:21:42Z")

</div>

I'm working on a racket project that involves parsing rss feeds. With no disrespect to Racket's xml package, I'd like to be able to use Python's feedparser library to handle the raw rss. Are there any common ways to, sa…

---

## [Code formatting with source locations?](https://racket.discourse.group/t/code-formatting-with-source-locations/2459)

<div class="topic-metadata">

**Author:** [@jbclements](https://racket.discourse.group/u/jbclements)\
**Replies:** 3\
**Last updated:** [November 6, 2023, 4:31pm UTC](https://racket.discourse.group/t/code-formatting-with-source-locations/2459 "2023-11-06T16:31:38Z")

</div>

A bug report from @LiberalArtist about the printing of fractions in the stepper has me thinking; the way that the stepper renders code is very fragile, and I'm wondering whether recent work on formatting would make it po…

---

## [Automatically creating cstruct instances](https://racket.discourse.group/t/automatically-creating-cstruct-instances/2470)

<div class="topic-metadata">

**Author:** [@db7](https://racket.discourse.group/u/db7)\
**Replies:** 0\
**Last updated:** [November 6, 2023, 9:22am UTC](https://racket.discourse.group/t/automatically-creating-cstruct-instances/2470 "2023-11-06T09:22:40Z")

</div>

Hi there, is there any tool to automatically create instances of cstructs? I was trying to use contract-random-generate for that, but it doesn't seem to support it out of the box. In more detail, I have create several …

---

## [Racket Community on X (née Twitter)](https://racket.discourse.group/t/racket-community-on-x-nee-twitter/2433)

<div class="topic-metadata">

**Author:** [@Julio](https://racket.discourse.group/u/Julio)\
**Replies:** 3\
**Last updated:** [November 5, 2023, 12:52pm UTC](https://racket.discourse.group/t/racket-community-on-x-nee-twitter/2433 "2023-11-05T12:52:23Z")

</div>

Are you on X (formerly known as Twitter)? Well there is now a Racket Community! :racket: Come on in and start sharing posts about the awesomeness that is Racket :racket\_heart: https://x.com/i/communities/17176631724027…

---

## [Looking for a free network port to listen on](https://racket.discourse.group/t/looking-for-a-free-network-port-to-listen-on/2446)

<div class="topic-metadata">

**Author:** [@hendrikboom3](https://racket.discourse.group/u/hendrikboom3)\
**Replies:** 4\
**Last updated:** [November 4, 2023, 5:52pm UTC](https://racket.discourse.group/t/looking-for-a-free-network-port-to-listen-on/2446 "2023-11-04T17:52:55Z")

</div>

In a server, I would like to suggest a free port number to listen on after I invite a client to connect to. I'm thinking of using high-numbered ports (maybe above 50000 or 60000 .. aren't there a bunch of ports there th…

---

## [Why does Typed Racket run faster when \`#:no-optimize\`?](https://racket.discourse.group/t/why-does-typed-racket-run-faster-when-no-optimize/2453)

<div class="topic-metadata">

**Author:** [@neteroster](https://racket.discourse.group/u/neteroster)\
**Replies:** 3\
**Last updated:** [November 3, 2023, 2:52pm UTC](https://racket.discourse.group/t/why-does-typed-racket-run-faster-when-no-optimize/2453 "2023-11-03T14:52:49Z")

</div>

Hello everyone, I am a beginner who has just started learning Racket. I am conducting some experiments with Typed Racket, and I have written the following code: #lang typed/racket (: benchmark-vector (-\> Integer Intege…

---

## [Racket meet-up: Saturday, 4 November, 2023 at 18:00 UTC :racket:](https://racket.discourse.group/t/racket-meet-up-saturday-4-november-2023-at-18-00-utc/2451)

<div class="topic-metadata">

**Author:** [@spdegabrielle](https://racket.discourse.group/u/spdegabrielle)\
**Replies:** 0\
**Last updated:** [November 2, 2023, 11:40pm UTC](https://racket.discourse.group/t/racket-meet-up-saturday-4-november-2023-at-18-00-utc/2451 "2023-11-02T23:40:59Z")

</div>

Racket meet-up: Saturday, 4 November, 2023 at 18:00 UTC In your timezone: 2023-11-04T18:00:00Z (UTC). (converter) At this meet-up: RacketCon Show and tell News & rumours AOB This meet-up will be held at https://meet.…

---

## [Why modules and when?](https://racket.discourse.group/t/why-modules-and-when/2447)

<div class="topic-metadata">

**Author:** [@thrilway](https://racket.discourse.group/u/thrilway)\
**Replies:** 5\
**Last updated:** [November 1, 2023, 10:04pm UTC](https://racket.discourse.group/t/why-modules-and-when/2447 "2023-11-01T22:04:54Z")

</div>

I'm working on a project in racket—a web app—and I'm wondering whether to make my individual rkt files into modules so the can be imported as, e.g.,(require users), or just leave them as is so they'd be imported as, e.g.,…

---

## [Failing tests reported by Racket repo](https://racket.discourse.group/t/failing-tests-reported-by-racket-repo/2434)

<div class="topic-metadata">

**Author:** [@hrvoje064](https://racket.discourse.group/u/hrvoje064)\
**Replies:** 5\
**Last updated:** [October 31, 2023, 2:49am UTC](https://racket.discourse.group/t/failing-tests-reported-by-racket-repo/2434 "2023-10-31T02:49:54Z")

</div>

My first try to create a package on racket-lang.org package repo, and I have a question (so far only one :grin:). I created a package there earlier today, and there were some orange remarks about license, about missing …

---

## [Path produced by define-runtime-path does not work on Win(11)](https://racket.discourse.group/t/path-produced-by-define-runtime-path-does-not-work-on-win-11/2442)

<div class="topic-metadata">

**Author:** [@hrvoje064](https://racket.discourse.group/u/hrvoje064)\
**Replies:** 2\
**Last updated:** [October 30, 2023, 4:36am UTC](https://racket.discourse.group/t/path-produced-by-define-runtime-path-does-not-work-on-win-11/2442 "2023-10-30T04:36:46Z")

</div>

Following the advice from one previous reply to my question, I'm now using (define-runtime-path ...), instead of (current-directory). This has solved one of my problems, namely, the program can now find "scribblings/math…

---

## [How to include "./scribblings/some-file.html" in compiled binary tarball](https://racket.discourse.group/t/how-to-include-scribblings-some-file-html-in-compiled-binary-tarball/2424)

<div class="topic-metadata">

**Author:** [@hrvoje064](https://racket.discourse.group/u/hrvoje064)\
**Replies:** 5\
**Last updated:** [October 28, 2023, 4:01am UTC](https://racket.discourse.group/t/how-to-include-scribblings-some-file-html-in-compiled-binary-tarball/2424 "2023-10-28T04:01:28Z")

</div>

This problem appeared when I included scribble (html) documentation in my math-quiz program. When I run the program from the main.rkt file, everything works OK, but when I compile it (for distribution to other machines),…

---

## [String formatting in Racket](https://racket.discourse.group/t/string-formatting-in-racket/2430)

<div class="topic-metadata">

**Author:** [@Sanjaya-Danushka](https://racket.discourse.group/u/Sanjaya-Danushka)\
**Replies:** 6\
**Last updated:** [October 28, 2023, 3:06am UTC](https://racket.discourse.group/t/string-formatting-in-racket/2430 "2023-10-28T03:06:53Z")

</div>

Hello, I'm new to racket. I want to learn format string like other languages. Chatgpt tells me these methods have. but it doesn't have.do you know how way to learn string format methods? Basic Format Types: ~a: Displa…

---

## [Rhombus: A New Spin on Macros without All the Parentheses (SPLASH’23 video)](https://racket.discourse.group/t/rhombus-a-new-spin-on-macros-without-all-the-parentheses-splash-23-video/2435)

<div class="topic-metadata">

**Author:** [@spdegabrielle](https://racket.discourse.group/u/spdegabrielle)\
**Replies:** 0\
**Last updated:** [October 27, 2023, 3:12pm UTC](https://racket.discourse.group/t/rhombus-a-new-spin-on-macros-without-all-the-parentheses-splash-23-video/2435 "2023-10-27T15:12:30Z")

</div>

Rhombus: A New Spin on Macros without All the Parentheses Recording of presentation by Matthew Flatt at SPLASH’23

---

## [Error production in parser-tools/yacc](https://racket.discourse.group/t/error-production-in-parser-tools-yacc/2432)

<div class="topic-metadata">

**Author:** [@davidelettieri](https://racket.discourse.group/u/davidelettieri)\
**Replies:** 0\
**Last updated:** [October 27, 2023, 11:26am UTC](https://racket.discourse.group/t/error-production-in-parser-tools-yacc/2432 "2023-10-27T11:26:52Z")

</div>

I'm trying to learn how to use the package parser-tools-lib. There is one thing which I would like to understand but I'm not able to figure it out. These point in the docs An error production can be defined by provi…

---

## [RacketCon is almost here!](https://racket.discourse.group/t/racketcon-is-almost-here/2425)

<div class="topic-metadata">

**Author:** [@spdegabrielle](https://racket.discourse.group/u/spdegabrielle)\
**Replies:** 0\
**Last updated:** [October 26, 2023, 9:29pm UTC](https://racket.discourse.group/t/racketcon-is-almost-here/2425 "2023-10-26T21:29:28Z")

</div>

RacketCon is almost here! Lots of great speakers: https://con.racket-lang.org It’s not to late to get tickets: https://www.eventbrite.com/e/racketcon-2023-tickets-669052563227 :racket:​ Please boost!

---

## [Does Anyone want to Collaborate on a "Big" Project to Show Racket Can Work in Production?](https://racket.discourse.group/t/does-anyone-want-to-collaborate-on-a-big-project-to-show-racket-can-work-in-production/2284)

<div class="topic-metadata">

**Author:** [@spdegabrielle](https://racket.discourse.group/u/spdegabrielle)\
**Replies:** 23\
**Last updated:** [October 25, 2023, 5:55pm UTC](https://racket.discourse.group/t/does-anyone-want-to-collaborate-on-a-big-project-to-show-racket-can-work-in-production/2284 "2023-10-25T17:55:02Z")

</div>

There is an interesting call to action on the Racket subreddit that would be better placed here where Racket discussion is more active: Does Anyone want to Collaborate on a "Big" Project to Show Racket Can Work in Produ…

---

## [On Learning Compilers and Creating Programming Languages](https://racket.discourse.group/t/on-learning-compilers-and-creating-programming-languages/2420)

<div class="topic-metadata">

**Author:** [@spdegabrielle](https://racket.discourse.group/u/spdegabrielle)\
**Replies:** 0\
**Last updated:** [October 25, 2023, 11:08am UTC](https://racket.discourse.group/t/on-learning-compilers-and-creating-programming-languages/2420 "2023-10-25T11:08:15Z")

</div>

Interesting blog post On Learning Compilers and Creating Programming Languages. I like that it separates the two topics in a way that I have not seen in online forums. One of the more popular languages that I know of …

---

## [Are you ready for RacketCon?](https://racket.discourse.group/t/are-you-ready-for-racketcon/2403)

<div class="topic-metadata">

**Author:** [@spdegabrielle](https://racket.discourse.group/u/spdegabrielle)\
**Replies:** 1\
**Last updated:** [October 24, 2023, 9:45pm UTC](https://racket.discourse.group/t/are-you-ready-for-racketcon/2403 "2023-10-24T21:45:55Z")

</div>

Are you ready for RacketCon? We are! Support you favourite Programmable Programming Language conference and get your tickets at RacketCon 2023 Tickets, Sat, Oct 28, 2023 at 8:30 AM | Eventbrite (live stream only $1…

---

## [Running Racket applications headless](https://racket.discourse.group/t/running-racket-applications-headless/2416)

<div class="topic-metadata">

**Author:** [@spdegabrielle](https://racket.discourse.group/u/spdegabrielle)\
**Replies:** 14\
**Last updated:** [October 24, 2023, 9:20pm UTC](https://racket.discourse.group/t/running-racket-applications-headless/2416 "2023-10-24T21:20:51Z")

</div>

Sometimes when you run a Racket application on a server or device with no display you get errors like Unable to init server: Could not connect: Connection refused Gtk initialization failed for display ":0" The solution…

---

## [Racket Discourse Chat](https://racket.discourse.group/t/racket-discourse-chat/2418)

<div class="topic-metadata">

**Author:** [@spdegabrielle](https://racket.discourse.group/u/spdegabrielle)\
**Replies:** 0\
**Last updated:** [October 24, 2023, 2:43pm UTC](https://racket.discourse.group/t/racket-discourse-chat/2418 "2023-10-24T14:43:49Z")

</div>

Racket discourse now has chat. You can get to it via the little speech bubble in the page banner Pic: Racket discourse banner with chat tooltip over the chat icon Direct link https://racket.discourse.group/chat It…

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

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