
Is there a extension to racket that implements tuple spaces (for distributed programming)?

I’ve seen places and some examples therein: https://download.racket-lang.org/releases/7.6/doc/reference/places.html , https://download.racket-lang.org/releases/7.6/doc/guide/parallelism.html#%28part._effective-places%29

But it seems to differ from tuplespaces in at least one way: there’s no support for pattern matching. The example trying to define a “tuple-server” essentially tries to do matching via a hashmap key.

@p.kushwaha97 you might like Syndicate by @tonyg. See http://syndicate-lang.org\|syndicate-lang.org

ok, I can do the reordering
I’m still confused why free-identifier=?
worked (lookup
could loop over keys, instead of using free...-ref
). Is that the same hashing accident?

Yes. The identifier’s binding changed after you put it in the list, but if you’re just iterating through the list, you’ll find it after the change. In other words, a list of keys is like putting them all into the same hash bucket.

Two questions about text%
: 1. With auto-wrap disabled, is there a method to find the width needed to show all of the text without horizontal scrolling? 2. Is it possible to disable the blinking caret while still showing selection highlighting? For example, on Mac, the text in the window opened by Slack > About Slack
works this way.

was trying to play around with raart
in Racket 7.6 CS - I’ve got a fresh install. Did raco pkg install raart
and installed all the deps. Trying to run ant of the tests in the repo I get the following:
$ racket hack.rkt
open-input-file: cannot open module file
module path: /Users/kyushu/Library/Racket/7.6/pkgs/ansi/ansi/private/tty-raw-extension.rkt
path: /Users/kyushu/Library/Racket/7.6/pkgs/ansi/ansi/private/tty-raw-extension.rkt
system error: no such file or directory; rkt_err=3
context...:
maybe-raise-missing-module
open-input-file
pre
call-winder-thunk
dynamic-wind
default-load-handler
standard-module-name-resolver
module-path-index-resolve
perform-require!
for-loop
finish
[repeats 3 more times]
pass-1-and-2-loop
module-begin-k
expand-module
expand-capturing-lifts
I did a raco pkg install ansi
as well just to be sure, but looks like something moved?

Aha, tried to install ansi
from the racket-ansi
repo and I got the same error

looks like something is amiss in this folder https://github.com/tonyg/racket-ansi/tree/master/ansi/private


I don’t know the answer to the first one, but the second one is yes


This is the code behind the syntax browser in DrRacket, which allows you to do something like this without blinking caret


@sorawee Thanks! the mrlib/syntax-browser
example is especially helpful because I’m also not (currently) using text:basic<%>
from framework
.

@zuocool has joined the channel