# Latest

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

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

**Page:** 22

---

## [Possible bug - Copy in vicinity of Comment Box copies contents of box](https://racket.discourse.group/t/possible-bug-copy-in-vicinity-of-comment-box-copies-contents-of-box/3294)

<div class="topic-metadata">

**Author:** [@ToddOBryan](https://racket.discourse.group/u/ToddOBryan)\
**Replies:** 3\
**Last updated:** [November 28, 2024, 12:19am UTC](https://racket.discourse.group/t/possible-bug-copy-in-vicinity-of-comment-box-copies-contents-of-box/3294 "2024-11-28T00:19:00Z")

</div>

I've been using a lot of comment boxes in starter code for student assignments, and if you right click on code near the comment box and choose Copy, you often paste the contents from the comment box instead of the select…

---

## [Equations as s-expression and convert them to LaTeX](https://racket.discourse.group/t/equations-as-s-expression-and-convert-them-to-latex/3343)

<div class="topic-metadata">

**Author:** [@chemPolonium](https://racket.discourse.group/u/chemPolonium)\
**Replies:** 1\
**Last updated:** [November 27, 2024, 10:59pm UTC](https://racket.discourse.group/t/equations-as-s-expression-and-convert-them-to-latex/3343 "2024-11-27T22:59:14Z")

</div>

I found that writing LaTeX formulas is a tiring task, requiring the input of many special characters, especially when dealing with structures like matrices and parentheses. Therefore, I tried using S-expressions to descr…

---

## [Stop doing show and tell!](https://racket.discourse.group/t/stop-doing-show-and-tell/3362)

<div class="topic-metadata">

**Author:** [@spdegabrielle](https://racket.discourse.group/u/spdegabrielle)\
**Replies:** 0\
**Last updated:** [November 27, 2024, 7:43pm UTC](https://racket.discourse.group/t/stop-doing-show-and-tell/3362 "2024-11-27T19:43:21Z")

</div>

Stop doing show and tell…we need Racket Advent Calendar entries S.

---

## [Racket meet-up: Saturday, 7 December, 2024](https://racket.discourse.group/t/racket-meet-up-saturday-7-december-2024/3353)

<div class="topic-metadata">

**Author:** [@spdegabrielle](https://racket.discourse.group/u/spdegabrielle)\
**Replies:** 1\
**Last updated:** [November 27, 2024, 7:09pm UTC](https://racket.discourse.group/t/racket-meet-up-saturday-7-december-2024/3353 "2024-11-27T19:09:14Z")

</div>

Everyone is welcome to join us for the Racket meet-up: Saturday, 7 December, 2024 at 18:00 UTC In your timezone: 2024-12-07T18:00:00Z (UTC). (converter) At this meet-up: Racket Advent - call for ent Show and tell N…

---

## [Conjunction and Disjunction of Streams](https://racket.discourse.group/t/conjunction-and-disjunction-of-streams/3352)

<div class="topic-metadata">

**Author:** [@bakgatviooldoos](https://racket.discourse.group/u/bakgatviooldoos)\
**Replies:** 0\
**Last updated:** [November 23, 2024, 2:57pm UTC](https://racket.discourse.group/t/conjunction-and-disjunction-of-streams/3352 "2024-11-23T14:57:31Z")

</div>

Hi, Racket Discourse. I am reimplementing some logic for my iterations over multiset-relations in terms of streams for to see what there is to see. The two basic operations to which I need access, are the conjunction (…

---

## [How to Require Macros from Untyped Racket in Typed Racket with Dependencies on Typed Imports?](https://racket.discourse.group/t/how-to-require-macros-from-untyped-racket-in-typed-racket-with-dependencies-on-typed-imports/3349)

<div class="topic-metadata">

**Author:** [@NoahStoryM](https://racket.discourse.group/u/NoahStoryM)\
**Replies:** 1\
**Last updated:** [November 25, 2024, 6:13pm UTC](https://racket.discourse.group/t/how-to-require-macros-from-untyped-racket-in-typed-racket-with-dependencies-on-typed-imports/3349 "2024-11-25T18:13:58Z")

</div>

How to Require Macros from Untyped Racket in Typed Racket with Dependencies on Typed Imports? I'm facing an issue when trying to require a macro defined in an untyped Racket module into a Typed Racket module. The macro …

---

## [Racket Compilation](https://racket.discourse.group/t/racket-compilation/3347)

<div class="topic-metadata">

**Author:** [@Rugged](https://racket.discourse.group/u/Rugged)\
**Replies:** 2\
**Last updated:** [November 25, 2024, 6:10pm UTC](https://racket.discourse.group/t/racket-compilation/3347 "2024-11-25T18:10:28Z")

</div>

Hi, I want to learn about how the racket is compiled ? What is a good reference or paper? Thanks

---

## [Regular expression](https://racket.discourse.group/t/regular-expression/3350)

<div class="topic-metadata">

**Author:** [@damien\_mattei](https://racket.discourse.group/u/damien_mattei)\
**Replies:** 5\
**Last updated:** [November 25, 2024, 11:19am UTC](https://racket.discourse.group/t/regular-expression/3350 "2024-11-25T11:19:00Z")

</div>

hello, i try to write a regex since yesterday afternoon, but not sure it could be done with regex as they are built on automata theory and somethings can not be done in this theory. It is not i'm lazy :smile: , but on …

---

## [Call for contributions to Racket Advent Calendar 2024](https://racket.discourse.group/t/call-for-contributions-to-racket-advent-calendar-2024/3332)

<div class="topic-metadata">

**Author:** [@spdegabrielle](https://racket.discourse.group/u/spdegabrielle)\
**Replies:** 1\
**Last updated:** [November 23, 2024, 11:26pm UTC](https://racket.discourse.group/t/call-for-contributions-to-racket-advent-calendar-2024/3332 "2024-11-23T23:26:32Z")

</div>

Call for contributions to Racket Advent Calendar 2024 We are putting together the Racket Advent calendar and we need your submissions Entries can be anything; you can submit any of the following; a useful or fun scrip…

---

## [Clever Way to Check Unordered List Equality](https://racket.discourse.group/t/clever-way-to-check-unordered-list-equality/2919)

<div class="topic-metadata">

**Author:** [@bakgatviooldoos](https://racket.discourse.group/u/bakgatviooldoos)\
**Replies:** 20\
**Last updated:** [November 23, 2024, 5:20pm UTC](https://racket.discourse.group/t/clever-way-to-check-unordered-list-equality/2919 "2024-11-23T17:20:33Z")

</div>

Hi, Racket Discourse! Just a quick one today: Have any of you come across a "clever" way to check for unordered list equality? I've come up with this (low-effort) snippet, so far: (define (and-reduce f tree-a tree-b) …

---

## [Typed Racket mutable hash sets](https://racket.discourse.group/t/typed-racket-mutable-hash-sets/3339)

<div class="topic-metadata">

**Author:** [@hendrikboom3](https://racket.discourse.group/u/hendrikboom3)\
**Replies:** 6\
**Last updated:** [November 23, 2024, 9:01am UTC](https://racket.discourse.group/t/typed-racket-mutable-hash-sets/3339 "2024-11-23T09:01:35Z")

</div>

I asked about this a few years ago but cannot find a reply. Does Typed Racket have mutable hash sets? If so, I can't figure out how to use them. In particular, mutable-seteq seems to be unavailable, not even to make a…

---

## [Cpointer -\> flvector?](https://racket.discourse.group/t/cpointer-flvector/3348)

<div class="topic-metadata">

**Author:** [@Laurent.O](https://racket.discourse.group/u/Laurent.O)\
**Replies:** 5\
**Last updated:** [November 23, 2024, 7:59am UTC](https://racket.discourse.group/t/cpointer-flvector/3348 "2024-11-23T07:59:12Z")

</div>

Once I have a pointer to a memory block from the ffi (allocated in a shared memory space), is there a way to turn it into a standard racket flvector? I see there's a flvector-\>cpointer, but not the converse.

---

## [In macro, is object a macro or a procedure?](https://racket.discourse.group/t/in-macro-is-object-a-macro-or-a-procedure/3323)

<div class="topic-metadata">

**Author:** [@Laurent.O](https://racket.discourse.group/u/Laurent.O)\
**Replies:** 11\
**Last updated:** [November 22, 2024, 3:40pm UTC](https://racket.discourse.group/t/in-macro-is-object-a-macro-or-a-procedure/3323 "2024-11-22T15:40:19Z")

</div>

Hi all, In the following example, a syntax error is raised because of (apply op args) can't work when op is a macro like and. How can I force the macro to go through the second branch when apply doesn't apply? #lang r…

---

## [How to \`dynamic-require\` from the enclosing module?](https://racket.discourse.group/t/how-to-dynamic-require-from-the-enclosing-module/3345)

<div class="topic-metadata">

**Author:** [@Laurent.O](https://racket.discourse.group/u/Laurent.O)\
**Replies:** 3\
**Last updated:** [November 21, 2024, 3:52pm UTC](https://racket.discourse.group/t/how-to-dynamic-require-from-the-enclosing-module/3345 "2024-11-21T15:52:58Z")

</div>

I'm trying to obtain a function from a symbol within a submodule, something like: # lang racket (define (foo x) (list x)) (module+ my-mod (dynamic-require \<something\> 'foo)) This can be done with some syntax magic …

---

## [R6RS error in syntax parsing](https://racket.discourse.group/t/r6rs-error-in-syntax-parsing/3344)

<div class="topic-metadata">

**Author:** [@damien\_mattei](https://racket.discourse.group/u/damien_mattei)\
**Replies:** 0\
**Last updated:** [November 21, 2024, 11:10am UTC](https://racket.discourse.group/t/r6rs-error-in-syntax-parsing/3344 "2024-11-21T11:10:56Z")

</div>

hello, i have a code in two versions, Racket and R6RS. The R6RS has a bug i donot understand , even if i can make works the Racket and R6RS with different versions, this version is buggy in R6RS, so i trace all the inte…

---

## [Scrollbar problems on Windows](https://racket.discourse.group/t/scrollbar-problems-on-windows/3314)

<div class="topic-metadata">

**Author:** [@jjsimpso](https://racket.discourse.group/u/jjsimpso)\
**Replies:** 4\
**Last updated:** [November 21, 2024, 12:04am UTC](https://racket.discourse.group/t/scrollbar-problems-on-windows/3314 "2024-11-21T00:04:29Z")

</div>

In my GUI application, I have a number of scrollbar-related problems in Windows that I don't see on Linux. My app has a custom canvas% with manual scrollbars. The main problem occurs when scrolling a very large virtual …

---

## [Racket's macro, module and contract system](https://racket.discourse.group/t/rackets-macro-module-and-contract-system/3337)

<div class="topic-metadata">

**Author:** [@Rugged](https://racket.discourse.group/u/Rugged)\
**Replies:** 4\
**Last updated:** [November 20, 2024, 2:13pm UTC](https://racket.discourse.group/t/rackets-macro-module-and-contract-system/3337 "2024-11-20T14:13:33Z")

</div>

Is there a document or a paper detailing the implementation of Racket's macro and module system? Also, I need a document detailing the contract system (contracts) in Racket. Thanks

---

## [Cloudflare blog post about using racket + rosette](https://racket.discourse.group/t/cloudflare-blog-post-about-using-racket-rosette/3336)

<div class="topic-metadata">

**Author:** [@jbclements](https://racket.discourse.group/u/jbclements)\
**Replies:** 2\
**Last updated:** [November 20, 2024, 2:53am UTC](https://racket.discourse.group/t/cloudflare-blog-post-about-using-racket-rosette/3336 "2024-11-20T02:53:14Z")

</div>

This post describes using racket + rosette for formal verification of cloudflare configurations. This work was also published at SIGCOMM 2024: Larisch, James, Timothy Alberdingk Thijm, Suleman Ahmad, Peter Wu, Tom Ar…

---

## [Implementing a 2d point with pairs vs. flvectors vs. structs vs. complex, a primitive benchmark](https://racket.discourse.group/t/implementing-a-2d-point-with-pairs-vs-flvectors-vs-structs-vs-complex-a-primitive-benchmark/3274)

<div class="topic-metadata">

**Author:** [@williewillus](https://racket.discourse.group/u/williewillus)\
**Replies:** 16\
**Last updated:** [November 20, 2024, 2:47am UTC](https://racket.discourse.group/t/implementing-a-2d-point-with-pairs-vs-flvectors-vs-structs-vs-complex-a-primitive-benchmark/3274 "2024-11-20T02:47:57Z")

</div>

Recently had a thought experiment since I'm making a 2d game, which is heavy on numerical manipulation of 2d points. \[I'm using Chez Scheme for the game, but that's not too relevant to this post\]. The question was, the…

---

## [PLTea is (Wednesday) 20 November 2024 at 3pm UTC](https://racket.discourse.group/t/pltea-is-wednesday-20-november-2024-at-3pm-utc/3338)

<div class="topic-metadata">

**Author:** [@spdegabrielle](https://racket.discourse.group/u/spdegabrielle)\
**Replies:** 0\
**Last updated:** [November 19, 2024, 10:56am UTC](https://racket.discourse.group/t/pltea-is-wednesday-20-november-2024-at-3pm-utc/3338 "2024-11-19T10:56:57Z")

</div>

The next PLTea is (Wednesday) 20 November 2024 at 3pm UTC. Registration details on the PLTea google group or discord. From the website What is PLTea? PLTea is an initiative to bring together the members of the program…

---

## [What are the changes made to chez scheme to accommodate Racket?](https://racket.discourse.group/t/what-are-the-changes-made-to-chez-scheme-to-accommodate-racket/3331)

<div class="topic-metadata">

**Author:** [@Rugged](https://racket.discourse.group/u/Rugged)\
**Replies:** 4\
**Last updated:** [November 19, 2024, 4:50am UTC](https://racket.discourse.group/t/what-are-the-changes-made-to-chez-scheme-to-accommodate-racket/3331 "2024-11-19T04:50:22Z")

</div>

I want an overview and git logs for the changes? How can I access them? Thanks

---

## [Getting stderr and stdout from a sub-process or command](https://racket.discourse.group/t/getting-stderr-and-stdout-from-a-sub-process-or-command/3281)

<div class="topic-metadata">

**Author:** [@damien\_mattei](https://racket.discourse.group/u/damien_mattei)\
**Replies:** 7\
**Last updated:** [November 18, 2024, 7:59pm UTC](https://racket.discourse.group/t/getting-stderr-and-stdout-from-a-sub-process-or-command/3281 "2024-11-18T19:59:57Z")

</div>

hello, i can not find a solution for getting separately stdout and stderr using subprocess or command in racket. with subprocess i get nothing and command i find this solution on the internet: https://www.reddit.com/r…

---

## [How can I properly thread serve/servlet?](https://racket.discourse.group/t/how-can-i-properly-thread-serve-servlet/3326)

<div class="topic-metadata">

**Author:** [@mfru](https://racket.discourse.group/u/mfru)\
**Replies:** 5\
**Last updated:** [November 16, 2024, 10:27pm UTC](https://racket.discourse.group/t/how-can-i-properly-thread-serve-servlet/3326 "2024-11-16T22:27:41Z")

</div>

Hi, I am working on a Racket web server. Having used Clojure in the past, I quite like being able to have convenience procedures for working within my code. Particularly, I want to implement a (start-server!) and a (st…

---

## [Will executor not being executed on program exit unless \`(collect-garbage\`) is called](https://racket.discourse.group/t/will-executor-not-being-executed-on-program-exit-unless-collect-garbage-is-called/3316)

<div class="topic-metadata">

**Author:** [@Laurent.O](https://racket.discourse.group/u/Laurent.O)\
**Replies:** 3\
**Last updated:** [November 15, 2024, 6:31pm UTC](https://racket.discourse.group/t/will-executor-not-being-executed-on-program-exit-unless-collect-garbage-is-called/3316 "2024-11-15T18:31:06Z")

</div>

Adapting from the docs of wills and executors, this works as I expected: #lang racket (define an-executor (make-will-executor)) (void (thread (λ () (sync an-executor) (will-execute an-executor)))) (define (executor-proc…

---

## [Rhombus meeting today in 2h (7pm MT, 14 Nov 24)](https://racket.discourse.group/t/rhombus-meeting-today-in-2h-7pm-mt-14-nov-24/3322)

<div class="topic-metadata">

**Author:** [@spdegabrielle](https://racket.discourse.group/u/spdegabrielle)\
**Replies:** 0\
**Last updated:** [November 15, 2024, 12:18am UTC](https://racket.discourse.group/t/rhombus-meeting-today-in-2h-7pm-mt-14-nov-24/3322 "2024-11-15T00:18:54Z")

</div>

Rhombus meeting today in 2h (7pm MT, 14 Nov 24) Details here: Enjoy!

---

## [Furi-Kuri with Epicycles](https://racket.discourse.group/t/furi-kuri-with-epicycles/3276)

<div class="topic-metadata">

**Author:** [@bakgatviooldoos](https://racket.discourse.group/u/bakgatviooldoos)\
**Replies:** 0\
**Last updated:** [October 29, 2024, 12:07am UTC](https://racket.discourse.group/t/furi-kuri-with-epicycles/3276 "2024-10-29T00:07:59Z")

</div>

Hi, Racket Discourse. All the talk about 2D coordinates reminded me I had been playing around with Fourier Transforms earlier in the year. I had always been intrigued by them, but never really taken the time to grok th…

---

## [PLATEAU deadline reminder, mentor list](https://racket.discourse.group/t/plateau-deadline-reminder-mentor-list/3320)

<div class="topic-metadata">

**Author:** [@spdegabrielle](https://racket.discourse.group/u/spdegabrielle)\
**Replies:** 0\
**Last updated:** [November 14, 2024, 11:03pm UTC](https://racket.discourse.group/t/plateau-deadline-reminder-mentor-list/3320 "2024-11-14T23:03:19Z")

</div>

\-- From: Joshua Sunshine sunshine@cs.cmu.edu Date: Thu, Nov 14, 2024 at 6:52 PM Subject: PLATEAU deadline reminder, mentor list To: plateau-announcements@googlegroups.com Hi PLATEAU friends, The deadline to submit…

---

## [Mysterious library deletion](https://racket.discourse.group/t/mysterious-library-deletion/2456)

<div class="topic-metadata">

**Author:** [@jbclements](https://racket.discourse.group/u/jbclements)\
**Replies:** 9\
**Last updated:** [November 14, 2024, 6:45pm UTC](https://racket.discourse.group/t/mysterious-library-deletion/2456 "2024-11-14T18:45:51Z")

</div>

Fun! I now have a locally-reproducible core dump that looks like this on the command line: ENG-CLEMENTS-1:/tmp/bad clements\> drracket & \[1\] 55570 ENG-CLEMENTS-1:/tmp/bad clements\> cairo\_quartz\_get\_cg\_context\_with\_clip: …

---

## [Rhombus how to make a macro defining macro](https://racket.discourse.group/t/rhombus-how-to-make-a-macro-defining-macro/3315)

<div class="topic-metadata">

**Author:** [@Hazematman](https://racket.discourse.group/u/Hazematman)\
**Replies:** 1\
**Last updated:** [November 13, 2024, 10:13pm UTC](https://racket.discourse.group/t/rhombus-how-to-make-a-macro-defining-macro/3315 "2024-11-13T22:13:40Z")

</div>

I'm trying to figure out how I could write a macro datatype that creates an annotation macro so I could have code like: typedef FuncArg: (Number || String) 10 :: FuncArg "Hi" :: FuncArg I'm new to Rhombus so I don't r…

---

## [How to use multiple file ports](https://racket.discourse.group/t/how-to-use-multiple-file-ports/3310)

<div class="topic-metadata">

**Author:** [@rvdalen](https://racket.discourse.group/u/rvdalen)\
**Replies:** 2\
**Last updated:** [November 12, 2024, 5:22am UTC](https://racket.discourse.group/t/how-to-use-multiple-file-ports/3310 "2024-11-12T05:22:02Z")

</div>

I am trying to open 1 file for reading and another for writing, and ensure that if something goes wrong I always try to close the input and output ports. I thought there would be a compact structure for this but the cod…

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

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