
I stumbled upon an excellent blog post "<https://www.cs.yale.edu/homes/lucas.paul/posts/2017–07–31-making-an-editor.html|Making an Editor>" (à la DrRacket) from Lucas Paul. Considering the "<https://gankra.github.io/blah/text-hates-you/|Text Rendering Hates You>" and "<https://lord.io/text-editing-hates-you-too/|Text Editing Hates You Too>" (plus the HN-news discussions https://news.ycombinator.com/item?id=21105625\|here and https://news.ycombinator.com/item?id=21384158\|here.) I’d be interested, if somebody can share some insights in regard to DrRacket. (Thanks in advance)

you can post in #drracket and Robby would be the one with most of the answers


Hi. I need to use the websocket streaming data api RFC 6455 WebSockets for Racket
. I was wondering if anyone knows whether this package can handle streaming data that have been compressed.

@mflatt after I run raco setup --mode errortrace -l typed-racket
, I don’t see a subdirectory named errortrace
under package directories of typed-racket
. Is this a bug or am I missing anything?

I’ve installed packages of typed-racket via linked directories ➤ raco pkg show -l typed-racket-lib
Installation-wide:
Package Checksum Source
typed-racket-lib #f (link "/Users/capfredf/code/racket-extra-pkgs/typed-racket/typed-racket-lib")

It looks like --mode
was never implemented for parallel builds. So, it works for -j 1
, but not by default (on a machine with multiple cores).

By “works”, I mean it creates some new directories. I’m not convinced that it does the right thing for modules that are already loaded by the time raco setup
starts compiling in the new mode.

raco setup --mode errortrace -j 1 -l typed-racket
raco setup: version: 8.1.0.6
raco setup: platform: x86_64-macosx [cs]
raco setup: target machine: ta6osx
raco setup: installation name: development
raco setup: variants: cs, 3m
raco setup: main collects: /Users/capfredf/code/racket/racket/collects/
raco setup: collects paths:
raco setup: /Users/capfredf/Library/Racket/development/collects
raco setup: /Users/capfredf/code/racket/racket/collects/
raco setup: main pkgs: /Users/capfredf/code/racket/racket/share/pkgs
raco setup: pkgs paths:
raco setup: /Users/capfredf/code/racket/racket/share/pkgs
raco setup: /Users/capfredf/Library/Racket/development/pkgs
raco setup: links files:
raco setup: /Users/capfredf/code/racket/racket/share/links.rktd
raco setup: /Users/capfredf/Library/Racket/development/links.rktd
raco setup: main docs: /Users/capfredf/code/racket/racket/doc
raco setup: --- updating info-domain tables --- [17:27:15]
raco setup: --- pre-installing collections --- [17:27:15]
raco setup: --- installing foreign libraries --- [17:27:15]
raco setup: --- installing shared files --- [17:27:15]
raco setup: --- compiling collections --- [17:27:15]
raco setup: making: <pkgs>/typed-racket-doc/typed-racket
raco setup: in <pkgs>/typed-racket-doc/typed-racket
raco setup: in <collects>/info
raco setup: in <collects>/syntax
raco setup: in <collects>/racket
raco setup: in <pkgs>/errortrace-lib/errortrace
raco setup: in <collects>/setup
raco setup: in <pkgs>/typed-racket-doc/typed-racket/scribblings
raco setup: in <pkgs>/scribble-lib/scribble
raco setup: in <pkgs>/scribble-lib/scribble/private
raco setup: in <collects>/racket/private
raco setup: in <collects>/racket/contract
raco setup: in <collects>/racket/contract/private
raco setup: in <collects>/compiler/private
raco setup: in <collects>/setup/private
raco setup: in <collects>/planet
raco setup: in <collects>/planet/private
raco setup: in <collects>/pkg
raco setup: in <collects>/racket/unsafe
raco setup: in <collects>/syntax/private
raco setup: in <collects>/file
raco setup: in <collects>/syntax/parse
raco setup: in <collects>/syntax/parse/private
raco setup: in <collects>/compiler
raco setup: in <collects>/syntax/parse/experimental
raco setup: in <collects>/xml
raco setup: in <collects>/xml/private
raco setup: in <collects>/net
raco setup: in <collects>/racket/match
raco setup: in <collects>/syntax/parse/lib
raco setup: in <collects>/openssl
raco setup: in <collects>/ffi
raco setup: in <collects>/ffi/unsafe
raco setup: in <collects>/setup/infotab/lang
raco setup: in <collects>/s-exp/lang
raco setup: in <collects>/racket/place
raco setup: in <collects>/racket/place/private
raco setup: in <pkgs>/syntax-color-lib/syntax-color
raco setup: in <pkgs>/parser-tools-lib/parser-tools
raco setup: in <pkgs>/compatibility-lib/mzscheme
raco setup: in <pkgs>/compatibility-lib/mzscheme/private
raco setup: in <pkgs>/compatibility-lib/mzlib
raco setup: in <pkgs>/parser-tools-lib/parser-tools/private-lex
raco setup: in <pkgs>/rackunit-lib/rackunit
raco setup: in <pkgs>/rackunit-lib/rackunit/private
it looks like it’s rebuilding every packages, even though I have specified type-racket
as the target collection

Yes: raco setup
builds on raco make
, and raco make
follows dependencies. I can imagine that’s not what you want in this case, though.

actually if the builds were done in parallel, it would be fine for me.