# Latest

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

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

**Page:** 67

---

## [Lang formatted-string](https://racket.discourse.group/t/lang-formatted-string/429)

<div class="topic-metadata">

**Author:** [@dannypsnl](https://racket.discourse.group/u/dannypsnl)\
**Replies:** 1\
**Last updated:** [January 24, 2022, 4:09pm UTC](https://racket.discourse.group/t/lang-formatted-string/429 "2022-01-24T16:09:02Z")

</div>

Recently, I made a language that extends racket's string to formatted-string, with it one can write (define-values (a b c) (values 1 2 3)) "a = $a, b = $b, a+b+c = $(+ a b c)" repo: GitHub - dannypsnl/formatted-string:…

---

## [Rackt: An ultrasmall (~70 loc) React wrapper written in RacketScript](https://racket.discourse.group/t/rackt-an-ultrasmall-70-loc-react-wrapper-written-in-racketscript/68)

<div class="topic-metadata">

**Author:** [@spdegabrielle](https://racket.discourse.group/u/spdegabrielle)\
**Replies:** 3\
**Last updated:** [January 21, 2022, 11:23am UTC](https://racket.discourse.group/t/rackt-an-ultrasmall-70-loc-react-wrapper-written-in-racketscript/68 "2022-01-21T11:23:39Z")

</div>

https://rackt-org.github.io/

---

## [Drawing precisely to pixels using draw-line](https://racket.discourse.group/t/drawing-precisely-to-pixels-using-draw-line/593)

<div class="topic-metadata">

**Author:** [@Liam.Gaudy](https://racket.discourse.group/u/Liam.Gaudy)\
**Replies:** 7\
**Last updated:** [January 21, 2022, 12:35am UTC](https://racket.discourse.group/t/drawing-precisely-to-pixels-using-draw-line/593 "2022-01-21T00:35:37Z")

</div>

Hello, this is my first time engaging with the Racket community. Thanks for being here. Let me know if I should do anything better to get your help on this. I’m using draw-line to draw (pen width = 1) lines in the hope …

---

## [Indentation configuration for DrRacket and fmt](https://racket.discourse.group/t/indentation-configuration-for-drracket-and-fmt/486)

<div class="topic-metadata">

**Author:** [@sorawee](https://racket.discourse.group/u/sorawee)\
**Replies:** 2\
**Last updated:** [January 20, 2022, 10:01pm UTC](https://racket.discourse.group/t/indentation-configuration-for-drracket-and-fmt/486 "2022-01-20T22:01:02Z")

</div>

@notjack and @SamPhillips seem to prefer pattern from the syntax/parse library to be indented as follows: (define-syntax-class arglist (pattern x:id #:with name #'x)) as opposed to: (define-syntax-class arglist …

---

## [How to make automatic line break in scribble tabular for latex target?](https://racket.discourse.group/t/how-to-make-automatic-line-break-in-scribble-tabular-for-latex-target/597)

<div class="topic-metadata">

**Author:** [@venartas](https://racket.discourse.group/u/venartas)\
**Replies:** 2\
**Last updated:** [January 20, 2022, 3:03pm UTC](https://racket.discourse.group/t/how-to-make-automatic-line-break-in-scribble-tabular-for-latex-target/597 "2022-01-20T15:03:35Z")

</div>

Hi, How to enforce line breaks using scribble tabular in order to fit table content into pdf page? @tabular\[ #:column-properties '(left) #:row-properties '(border) (list (list @bold{ColName1} @bold{ColName2} @bold{C…

---

## [Create Racket package](https://racket.discourse.group/t/create-racket-package/587)

<div class="topic-metadata">

**Author:** [@damien\_mattei](https://racket.discourse.group/u/damien_mattei)\
**Replies:** 12\
**Last updated:** [January 20, 2022, 2:54am UTC](https://racket.discourse.group/t/create-racket-package/587 "2022-01-20T02:54:07Z")

</div>

Hello, i want to create a Racket package, when i did that on a directory containing the module code in a file that uses other code file and i want to install it with the package manager from a directory it installs well…

---

## [Plot cookbook project 📈](https://racket.discourse.group/t/plot-cookbook-project/572)

<div class="topic-metadata">

**Author:** [@spdegabrielle](https://racket.discourse.group/u/spdegabrielle)\
**Replies:** 21\
**Last updated:** [January 19, 2022, 10:24pm UTC](https://racket.discourse.group/t/plot-cookbook-project/572 "2022-01-19T22:24:01Z")

</div>

This is a brilliant idea! Let’s make a Plot Cookbook :chart\_with\_upwards\_trend::woman\_cook: Post your favourite plot examples here I or someone else will create a Plot Cookbook repo and add to the package catalog Add…

---

## [How do you use arrays (if at all)](https://racket.discourse.group/t/how-do-you-use-arrays-if-at-all/571)

<div class="topic-metadata">

**Author:** [@soegaard](https://racket.discourse.group/u/soegaard)\
**Replies:** 17\
**Last updated:** [January 19, 2022, 10:19pm UTC](https://racket.discourse.group/t/how-do-you-use-arrays-if-at-all/571 "2022-01-19T22:19:13Z")

</div>

In the discussion of srfi 231 on n-dimensional arrays, Bradley Lucier raised an interesting question: More generally, I've asked in various forums (fora?) about how people use arrays, in Scheme and other languages, b…

---

## [Get proc-doc/names: unsupported procedure contract form](https://racket.discourse.group/t/get-proc-doc-names-unsupported-procedure-contract-form/591)

<div class="topic-metadata">

**Author:** [@dannypsnl](https://racket.discourse.group/u/dannypsnl)\
**Replies:** 1\
**Last updated:** [January 19, 2022, 2:07pm UTC](https://racket.discourse.group/t/get-proc-doc-names-unsupported-procedure-contract-form/591 "2022-01-19T14:07:10Z")

</div>

The following code is a minimal reproducible code #lang at-exp racket/base (require scribble/srcdoc (for-doc scribble/manual ffi/unsafe racket/base)) (provide (proc-doc/names foo (-\> string? string?) (x…

---

## [Manage C-instance with GC](https://racket.discourse.group/t/manage-c-instance-with-gc/594)

<div class="topic-metadata">

**Author:** [@dannypsnl](https://racket.discourse.group/u/dannypsnl)\
**Replies:** 1\
**Last updated:** [January 19, 2022, 2:03pm UTC](https://racket.discourse.group/t/manage-c-instance-with-gc/594 "2022-01-19T14:03:37Z")

</div>

One might get a C structure A, and its constructor make\_A() and destructor free\_A(A\*). In ffi, we can bind them by ffi/unsafe, but how to let GC handle A's instance and tell GC calls free\_A when unused?

---

## [Why does Scribble give this duplicate information warning with \`defmodulelang\`, and how do I avoid it?](https://racket.discourse.group/t/why-does-scribble-give-this-duplicate-information-warning-with-defmodulelang-and-how-do-i-avoid-it/561)

<div class="topic-metadata">

**Author:** [@benknoble](https://racket.discourse.group/u/benknoble)\
**Replies:** 3\
**Last updated:** [January 19, 2022, 12:33am UTC](https://racket.discourse.group/t/why-does-scribble-give-this-duplicate-information-warning-with-defmodulelang-and-how-do-i-avoid-it/561 "2022-01-19T00:33:20Z")

</div>

There's a gist of code available (replace scribblings-\* with scribblings/\*, since gists apparently can't have directories). If you get that setup properly and do raco pkg install, you'll see output like in scribble defmo…

---

## [Plot module: how to enlarge thickness of axes?](https://racket.discourse.group/t/plot-module-how-to-enlarge-thickness-of-axes/553)

<div class="topic-metadata">

**Author:** [@JoePass](https://racket.discourse.group/u/JoePass)\
**Replies:** 6\
**Last updated:** [January 18, 2022, 10:24pm UTC](https://racket.discourse.group/t/plot-module-how-to-enlarge-thickness-of-axes/553 "2022-01-18T22:24:42Z")

</div>

Hi everybody, I'm new in the racket and my first question: how to enlarge the thickness of axes? I prepared the plot for the scientific paper but the axes are very tiny! I did not find info about this in the documentati…

---

## [Can compiled and uncompiled versions of a single function exist in a collection?](https://racket.discourse.group/t/can-compiled-and-uncompiled-versions-of-a-single-function-exist-in-a-collection/564)

<div class="topic-metadata">

**Author:** [@Fyrbll](https://racket.discourse.group/u/Fyrbll)\
**Replies:** 2\
**Last updated:** [January 18, 2022, 7:33pm UTC](https://racket.discourse.group/t/can-compiled-and-uncompiled-versions-of-a-single-function-exist-in-a-collection/564 "2022-01-18T19:33:07Z")

</div>

Suppose I install a collection via raco pkg install. I add a printf to the body of one function within the collection that's called at various places in the same collection. I don't run raco setup after modifying the f…

---

## [Racket Cookbooks project - call for volunteers](https://racket.discourse.group/t/racket-cookbooks-project-call-for-volunteers/583)

<div class="topic-metadata">

**Author:** [@spdegabrielle](https://racket.discourse.group/u/spdegabrielle)\
**Replies:** 2\
**Last updated:** [January 17, 2022, 10:38pm UTC](https://racket.discourse.group/t/racket-cookbooks-project-call-for-volunteers/583 "2022-01-17T22:38:31Z")

</div>

Hi, I've created a GitHub 'organisation' https://github.com/Racket-Cookbooks It is currently home to the new Plot Cookbook but it could house other content; Scribble Slideshow GUI (see also 7-GUI and Easy Gui) data …

---

## [Sketching: Flying Lines](https://racket.discourse.group/t/sketching-flying-lines/580)

<div class="topic-metadata">

**Author:** [@soegaard](https://racket.discourse.group/u/soegaard)\
**Replies:** 4\
**Last updated:** [January 17, 2022, 7:47am UTC](https://racket.discourse.group/t/sketching-flying-lines/580 "2022-01-17T07:47:23Z")

</div>

\#lang sketching ; Line segments with start and end points on a Lissajous curve. (define fr 30) ; frame rate (define A 1) (define B 1) (define a 3.) ; experiment with different (define b 2.) ; values fo…

---

## [Scribble as Preprocessor throwing an error](https://racket.discourse.group/t/scribble-as-preprocessor-throwing-an-error/578)

<div class="topic-metadata">

**Author:** [@leo](https://racket.discourse.group/u/leo)\
**Replies:** 2\
**Last updated:** [January 15, 2022, 1:56am UTC](https://racket.discourse.group/t/scribble-as-preprocessor-throwing-an-error/578 "2022-01-15T01:56:29Z")

</div>

:wave: I'm trying to use #lang scribble/text but I get this error when trying to process the document: scribble --text test.scrbl #or scribble test.scrbl dynamic-require: name is not provided name: 'doc module: #\<r…

---

## [One queue/channel, several consumers (futures, places, ...)](https://racket.discourse.group/t/one-queue-channel-several-consumers-futures-places/576)

<div class="topic-metadata">

**Author:** [@sschwarzer](https://racket.discourse.group/u/sschwarzer)\
**Replies:** 3\
**Last updated:** [January 14, 2022, 11:16pm UTC](https://racket.discourse.group/t/one-queue-channel-several-consumers-futures-places/576 "2022-01-14T23:16:24Z")

</div>

I read Parallelism with places in the Racket Guide. As I understand the section, it isn't possible to send data over a single channel to multiple places, so that the places can act as "workers" and consume tasks from the…

---

## [Custom emoji and Creative Racket Competition :creativeracket:](https://racket.discourse.group/t/custom-emoji-and-creative-racket-competition/575)

<div class="topic-metadata">

**Author:** [@spdegabrielle](https://racket.discourse.group/u/spdegabrielle)\
**Replies:** 0\
**Last updated:** [January 14, 2022, 4:56pm UTC](https://racket.discourse.group/t/custom-emoji-and-creative-racket-competition/575 "2022-01-14T16:56:44Z")

</div>

Discourse, like slack and discord, supports custom emoji. If you create a emoji(s?) I will do my best to take advantage of my position as judge and admin to include your emoji on our servers. It also counts as an entry…

---

## [Plot: how to put text out of figure?](https://racket.discourse.group/t/plot-how-to-put-text-out-of-figure/569)

<div class="topic-metadata">

**Author:** [@JoePass](https://racket.discourse.group/u/JoePass)\
**Replies:** 2\
**Last updated:** [January 14, 2022, 2:29am UTC](https://racket.discourse.group/t/plot-how-to-put-text-out-of-figure/569 "2022-01-14T02:29:44Z")

</div>

To make info on the y-axes more readable I multiply my function for 10^3 and put info about the multiplier (point-pict #(110 6.5) (tex-math "\\\\times 10^{-3}" #:scale 4) #:point-size 0) . But common practice is to put th…

---

## [Plot: how to insert plot in plot](https://racket.discourse.group/t/plot-how-to-insert-plot-in-plot/562)

<div class="topic-metadata">

**Author:** [@JoePass](https://racket.discourse.group/u/JoePass)\
**Replies:** 11\
**Last updated:** [January 13, 2022, 10:34pm UTC](https://racket.discourse.group/t/plot-how-to-insert-plot-in-plot/562 "2022-01-13T22:34:53Z")

</div>

The question is simple - how can I put a small figure inside the field of another one? Like this: I read all info about Plot module, but I did not find a solution. But this type of figure with an insert is very comm…

---

## [Make-least-squares-point-smoother from simple-polynomial/fit does not work](https://racket.discourse.group/t/make-least-squares-point-smoother-from-simple-polynomial-fit-does-not-work/559)

<div class="topic-metadata">

**Author:** [@JoePass](https://racket.discourse.group/u/JoePass)\
**Replies:** 4\
**Last updated:** [January 13, 2022, 9:49pm UTC](https://racket.discourse.group/t/make-least-squares-point-smoother-from-simple-polynomial-fit-does-not-work/559 "2022-01-13T21:49:44Z")

</div>

I try to use polynomial smoothing of data Simple Polynomials of One Variable. I use exactly the same example as in this site but for my data: (define datasp (points-\>spline-evaluator data)) (define datasm (points-\>spline…

---

## [GUI tool tracking state in time to develop the algorithm](https://racket.discourse.group/t/gui-tool-tracking-state-in-time-to-develop-the-algorithm/568)

<div class="topic-metadata">

**Author:** [@dannypsnl](https://racket.discourse.group/u/dannypsnl)\
**Replies:** 0\
**Last updated:** [January 13, 2022, 8:45pm UTC](https://racket.discourse.group/t/gui-tool-tracking-state-in-time-to-develop-the-algorithm/568 "2022-01-13T20:45:41Z")

</div>

repo: GitHub - dannypsnl/re-algo demo: re-algo: track local variables - YouTube The idea is to track the internal state when developing complex functions, imagine state for code is unreal, this tool helps you to get in…

---

## [In-out-logged module updated to show results](https://racket.discourse.group/t/in-out-logged-module-updated-to-show-results/563)

<div class="topic-metadata">

**Author:** [@dstorrs](https://racket.discourse.group/u/dstorrs)\
**Replies:** 0\
**Last updated:** [January 12, 2022, 11:00pm UTC](https://racket.discourse.group/t/in-out-logged-module-updated-to-show-results/563 "2022-01-12T23:00:49Z")

</div>

A common pattern I encounter when writing code is that I want to know when control enters a function, what it does while it's there, when it exits, and what it returns. I got tired of writing all this manually, so I cre…

---

## [Objc ffi: implement \`windowWillClose:\`](https://racket.discourse.group/t/objc-ffi-implement-windowwillclose/549)

<div class="topic-metadata">

**Author:** [@dannypsnl](https://racket.discourse.group/u/dannypsnl)\
**Replies:** 4\
**Last updated:** [January 12, 2022, 2:43pm UTC](https://racket.discourse.group/t/objc-ffi-implement-windowwillclose/549 "2022-01-12T14:43:45Z")

</div>

The code is like: (define-objc-class MyView NSView () (- \_void (windowWillClose: \[(\_cpointer 'NSNotification) notification\]) (tell app terminate: #:type \_id self))) the corresponding code in Objective-C correc…

---

## [What would be a "recipe" and lesson plan for building a Racket-like system?](https://racket.discourse.group/t/what-would-be-a-recipe-and-lesson-plan-for-building-a-racket-like-system/554)

<div class="topic-metadata">

**Author:** [@bmitc](https://racket.discourse.group/u/bmitc)\
**Replies:** 3\
**Last updated:** [January 12, 2022, 6:25am UTC](https://racket.discourse.group/t/what-would-be-a-recipe-and-lesson-plan-for-building-a-racket-like-system/554 "2022-01-12T06:25:58Z")

</div>

I am looking for any help, references, etc. that describes how one might take Racket's language building technology and other bits and relevant lessons learned to other languages, ecosystems, or virtual machines (VMs), e…

---

## [X-expression string length](https://racket.discourse.group/t/x-expression-string-length/550)

<div class="topic-metadata">

**Author:** [@joeld](https://racket.discourse.group/u/joeld)\
**Replies:** 4\
**Last updated:** [January 11, 2022, 11:22pm UTC](https://racket.discourse.group/t/x-expression-string-length/550 "2022-01-11T23:22:56Z")

</div>

I thought I would try and calculate the length of an X-expression's string representation without actually converting the whole thing to a string. I theorized that if I could do it with math and immutable strings, it wou…

---

## [\[Suggestion\] Allow new users more than just two links in a post](https://racket.discourse.group/t/suggestion-allow-new-users-more-than-just-two-links-in-a-post/555)

<div class="topic-metadata">

**Author:** [@bmitc](https://racket.discourse.group/u/bmitc)\
**Replies:** 8\
**Last updated:** [January 11, 2022, 9:53pm UTC](https://racket.discourse.group/t/suggestion-allow-new-users-more-than-just-two-links-in-a-post/555 "2022-01-11T21:53:17Z")

</div>

Could the limit of only two links in a post by new users be increased? To me, the limit of two seems somewhat arbitrary and that an appropriate limit would be something more like 10-20. For example, I don't see how five …

---

## [What system configuration is needed for the \[Scribble PDF\] button in DrRacket for a scribble file, in order to work properly?](https://racket.discourse.group/t/what-system-configuration-is-needed-for-the-scribble-pdf-button-in-drracket-for-a-scribble-file-in-order-to-work-properly/528)

<div class="topic-metadata">

**Author:** [@encomer](https://racket.discourse.group/u/encomer)\
**Replies:** 14\
**Last updated:** [January 11, 2022, 8:34pm UTC](https://racket.discourse.group/t/what-system-configuration-is-needed-for-the-scribble-pdf-button-in-drracket-for-a-scribble-file-in-order-to-work-properly/528 "2022-01-11T20:34:42Z")

</div>

Hi friends at Racket Discourse: I will appreciate very much recommendations about how to configure my computing environment under Windows 10, in order that the \[Scribble PDF\] button for rendering a scribble/base documen…

---

## [Splitflap library for Atom/RSS feeds — 1.0](https://racket.discourse.group/t/splitflap-library-for-atom-rss-feeds-1-0/548)

<div class="topic-metadata">

**Author:** [@joeld](https://racket.discourse.group/u/joeld)\
**Replies:** 0\
**Last updated:** [January 10, 2022, 9:01pm UTC](https://racket.discourse.group/t/splitflap-library-for-atom-rss-feeds-1-0/548 "2022-01-10T21:01:41Z")

</div>

I updated this library from beta/0.9 to 1.0 over the weekend: https://docs.racket-lang.org/splitflap/index.html I incorporated a lot of changes based on feedback from folks in the original Google groups announcement an…

---

## [Typed Racket interface to the generic graph library](https://racket.discourse.group/t/typed-racket-interface-to-the-generic-graph-library/546)

<div class="topic-metadata">

**Author:** [@scolobb](https://racket.discourse.group/u/scolobb)\
**Replies:** 0\
**Last updated:** [January 10, 2022, 5:29pm UTC](https://racket.discourse.group/t/typed-racket-interface-to-the-generic-graph-library/546 "2022-01-10T17:29:01Z")

</div>

Hello all, I have just finished an incomplete Typed Racket interface to the generic graph library. It allows using all the basic functions of the library, e.g.: #lang typed/racket (require typed/graph) (define g0 (u…

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

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