[racket-users] "Live" REPL to cooperate with event loops?

2017-12-09 Thread Christopher Lemmer Webber
couldn't find such a thing in Racket. Does it exist and I'm just missing it? How hard would it be to integrate with a program? Thanks! - Christopher Lemmer Webber -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from

[racket-users] Re: A mini Goblins tutorial (was: Is there an actor based library for Racket available?)

2018-05-12 Thread Christopher Lemmer Webber
Claes Wallin (韋嘉誠) writes: > Hey, Chris! > > Wow, that was very easy to read, even in the mail client on my phone! I am > officially impressed. > > As you know we're working on a Flow-Based Programming framework within > fractalide (github:fractalide/fractalide, which also has a pre-existing >

Re: [racket-users] Is there an actor based library for Racket available?

2018-05-11 Thread Christopher Lemmer Webber
Claes Wallin (韋嘉誠) writes: > Goblins is definitely under active development, as it was newly started. > > cwebber is active on the list. Goblins is new, but being actively developed indeed: https://gitlab.com/spritely/goblins In comparison to Syndicate, Goblins is less a new language and more

[racket-users] A mini Goblins tutorial (was: Is there an actor based library for Racket available?)

2018-05-11 Thread Christopher Lemmer Webber
Arie van Wingerden writes: > Hi Christopher, > > 2018-05-11 15:31 GMT+02:00 Christopher Lemmer Webber <cweb...@dustycloud.org: > >> >> In comparison to Syndicate, Goblins is less a new language and more a >> lightweight library for actors that interfaces nicely

Re: [racket-users] Is there an actor based library for Racket available?

2018-05-11 Thread Christopher Lemmer Webber
I just barely put up Goblins on the package repo this week. I haven't actually tested loading it on another machine, so I'm (literally) not sure what issues there are. :) The maintainer (me) is active, but it's pre-alpha. Arie van Wingerden writes: > Thx. Jens! > > Both packages appear to have

[racket-users] Using Racket's raco on on Guix(SD)

2018-05-22 Thread Christopher Lemmer Webber
Hello all! Sorry for the cross-post, but I've been doing more development in Racket lately from GuixSD... and who wouldn't want a scheme-based distribution and a scheme language's tooling to get along better? Unfortunately when I try to install packages with "raco pkg install" I get errors like

[racket-users] Cryptography routines in Racket

2017-12-31 Thread Christopher Lemmer Webber
into hacking... the purpose of this email is mostly to check if work has already been done here other than what I found above and what I should coordinate with :) Thanks! - Christopher Lemmer Webber -- You received this message because you are subscribed to the Google Groups "Racket Users&q

Re: [racket-users] Programming for blind students - sample code needed

2018-01-04 Thread Christopher Lemmer Webber
schanzer writes: > Hi all - happy new year Racketeers! > > For the last two years, we've been thinking about making programming > accessible for differently-abled students. We're focusing first on students > with visual and sensorimotor impairments, by building an editor that allows > students to

Re: [racket-users] Lessons learned from writing a Conway's Game of Life implementation in big-bang

2018-01-05 Thread Christopher Lemmer Webber
e to experiment but I am really interested on how it >> would work out. >> >> Again thanks for the feedback — Matthias >> >> >> >> >> >> > On Jan 4, 2018, at 3:39 PM, Christopher Lemmer Webber < >> cweb...@dustycloud.org> wrote:

[racket-users] Lessons learned from writing a Conway's Game of Life implementation in big-bang

2018-01-05 Thread Christopher Lemmer Webber
Hello all, Last night out of curiosity I started lazily adding some code to see how long it would take me to write a game of life implementation in Racket. Not exactly a challenging expidition game-authoring-wise, but a fun little exercise anyway. You can see and play with the results here:

Re: [racket-users] Read-only "editor" text with min-width of its content

2018-01-10 Thread Christopher Lemmer Webber
Matthew Flatt writes: > At Wed, 10 Jan 2018 10:29:28 -0600, Christopher Lemmer Webber wrote: >> I'm still not sure how to find out what the "total" height of the text >> is in an editor. Does anyone know how to look that up? > > I think the `get-extent` metho

Re: [racket-users] Read-only "editor" text with min-width of its content

2018-01-10 Thread Christopher Lemmer Webber
Laurent writes: > On Wed, Jan 10, 2018 at 6:20 AM, Christopher Lemmer Webber < > cweb...@dustycloud.org> wrote: > >> So now I've got some text that renders okay, it line wraps, etc etc. >> The problem is, I want to add a panel with a bunch of these, and I want >>

Re: [racket-users] Read-only "editor" text with min-width of its content

2018-01-10 Thread Christopher Lemmer Webber
Christopher Lemmer Webber writes: > Matthew Flatt writes: > >> At Wed, 10 Jan 2018 10:29:28 -0600, Christopher Lemmer Webber wrote: >>> I'm still not sure how to find out what the "total" height of the text >>> is in an editor. Does anyone know how to loo

Re: [racket-users] Read-only "editor" text with min-width of its content

2018-01-14 Thread Christopher Lemmer Webber
Hi Laurent! Indeed, this is the direction I'm going now. It seems to be working. Thanks! :) Laurent writes: > Maybe you can use snips% inside a single editor%? > Snips can be text or pictures or other things. > > > On Wed, Jan 10, 2018 at 9:58 PM, Christopher Lemmer

[racket-users] Read-only "editor" text with min-width of its content

2018-01-09 Thread Christopher Lemmer Webber
Hello all, So I'm trying to write a social networking application using Racket's GUI toolkit. Most if it is going well, but the tricky thing is that the user content has rich text (coming from HTML)... a simple message% won't do, since I need to insert links and text and images and etc, but

Re: [racket-users] Re: racket2nix

2018-02-19 Thread Christopher Lemmer Webber
Claes Wallin writes: > On Sunday, February 11, 2018 at 9:43:34 PM UTC+8, stewart mackenzie wrote: >> >> Hello, >> >> We're partially through the development of a nix{os} utility which >> transforms an info.rkt into a nix expression. >> >> https://github.com/clacke/racket2nix >> >> It'll be

Re: [racket-users] Cryptography routines in Racket

2018-01-01 Thread Christopher Lemmer Webber
of the Linked Data Signatures standard-in-progress in Racket. I've already got a working json-ld expander and compactor... what I was missing was what seems like exactly the work you've done here on the crypto library.) Thanks for all your work on this! - Christopher Lemmer Webber Ryan Culpepper writes

Re: [racket-users] RWind - Racket X window manager - by Laurent Orseau

2018-08-05 Thread Christopher Lemmer Webber
Screenshots certainly don't tell much, but I'd be curious to see what a screenshot looks like anyway if you don't mind sharing one of yours :) -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving

Re: [racket-users] RWind - Racket X window manager - by Laurent Orseau

2018-08-05 Thread Christopher Lemmer Webber
BTW, for some time I was an active user of StumpWM, a tiling window manager of Common Lisp. The nicest thing about it was that, like emacs, you could edit it while it was running. I assume the same thing is not possible in RWind? Do you usually have to stop and restart the whole thing every

Re: [racket-users] RWind - Racket X window manager - by Laurent Orseau

2018-08-05 Thread Christopher Lemmer Webber
Neil Van Dyke writes: > There's a way to control it from a Racket REPL or other process: > https://github.com/Metaxal/rwind/blob/master/README.md#the-client Ah great, thanks I missed this bit :) -- You received this message because you are subscribed to the Google Groups "Racket Users" group.

[racket-users] W7 security kernel / object capaiblities in Racket

2018-08-05 Thread Christopher Lemmer Webber
It's not urgent, but an item on my TODO list is to port Jonathan Rees' W7 Security Kernel to Racket. Basically this is an object capability security system based on the lambda calculus (as Scheme). Object capability security is a security system which applies the principle of least authority on

[racket-users] Is it possible to embed a scheme'y text editor in another GUI application?

2018-08-05 Thread Christopher Lemmer Webber
DrRacket includes a nice Scheme editor. I don't need the whole thing... but some of it would be nice, like the paren matching. How reusable is DrRacket's text editor tooling? Reusable enough to embed in another application? Or would I have to rewrite this? I know I can embed a more vanilla

Re: [racket-users] W7 security kernel / object capaiblities in Racket

2018-08-05 Thread Christopher Lemmer Webber
Matthew Flatt writes: > At Sun, 05 Aug 2018 11:40:25 -0400, Christopher Lemmer Webber wrote: >> Eventually I would like to write a multiplayer game in Racket where >> users can write and execute code safely [...] >> >> In a sense, it would sound as if Racket's #la

Re: [racket-users] Is it possible to embed a scheme'y text editor in another GUI application?

2018-08-05 Thread Christopher Lemmer Webber
Matthew Flatt writes: > At Sun, 05 Aug 2018 11:50:09 -0400, Christopher Lemmer Webber wrote: >> DrRacket includes a nice Scheme editor. I don't need the whole >> thing... but some of it would be nice, like the paren matching. How >> reusable is DrRacket's text editor tool

Re: [racket-users] Is it possible to embed a scheme'y text editor in another GUI application?

2018-08-10 Thread Christopher Lemmer Webber
David Thrane Christiansen writes: >> Wow, those are stunning examples! I had no idea! > > Thanks! > >> BTW, do you have code for either of these posted anywhere under a libre >> license? Might be interesting to look at :) > > I don't typically post the source code of the slides themselves, >

Re: bug#30680: [racket-users] Using Racket's raco on on Guix(SD)

2018-08-11 Thread Christopher Lemmer Webber
Timothy Sample writes: > Christopher Lemmer Webber writes: > >> Konrad Hinsen writes: >> >>> In my tests, all packages ended up working, but performance is indeed >>> worse than with a Racket installation outside of Guix. >>> >>> It

Re: [racket-users] Is it possible to embed a scheme'y text editor in another GUI application?

2018-08-08 Thread Christopher Lemmer Webber
David Thrane Christiansen writes: > Hi Christopher, > >> Oh, this is very nice! I didn't even know there was a way to embed a >> REPL like this in slideshow! :) > > It's possible to embed arbitrary GUI widgets! > > Here's a talk that uses Slideshow with an embedded Idris editor and REPL > where

Re: bug#30680: [racket-users] Using Racket's raco on on Guix(SD)

2018-08-12 Thread Christopher Lemmer Webber
Timothy Sample writes: > Christopher Lemmer Webber writes: > >> Likewise, Gregor and Raart do not install: >> >> $ mv ~/.racket ~/.racket-borked >> $ raco pkg install gregor # lots of errors during install >> $ racket >> racket@> (requir

Re: bug#30680: [racket-users] Using Racket's raco on on Guix(SD)

2018-08-12 Thread Christopher Lemmer Webber
Good news: this seems fixed with this patch. Some more comments inline. Timothy Sample writes: >>> Also, I checked all of this from Racket without grafts, and it never >>> complained about compiling OpenSSL stuff. Running “raco setup” gives >>> some other errors, though. >> >> You're right...

Re: [racket-users] Using Racket's raco on on Guix(SD)

2018-08-11 Thread Christopher Lemmer Webber
Konrad Hinsen writes: > On 22/05/2018 15:42, Christopher Lemmer Webber wrote: > >> Unfortunately when I try to install packages with "raco pkg install" >> I get errors like the following: > > I filed a bug report about this problem a while ago: > > https

Re: [racket-users] Is there a way to attach struct properties after struct definition?

2018-08-17 Thread Christopher Lemmer Webber
David Storrs writes: > I've been going through the docs on struct properties, both the Guide and > the Reference. I can't see any way to add new properties to a struct at > runtime (i.e., after the type is defined); is there a way? Not generally afaik. This is fairly intentional in Racket's

[racket-users] Re: [racket-dev] (eighth RacketCon) Warp demo

2018-09-01 Thread Christopher Lemmer Webber
David Vanderson writes: > I'm excited about RacketCon! BUT WAIT, there's more! In the morning > and lunch time before talks I'll be running a demo of Warp, a team > multiplayer game written in Racket. > > Everyone is invited to join in the fun! Here's a 3 minute intro video > on how to install

[racket-users] Security of continuation web server?

2018-09-01 Thread Christopher Lemmer Webber
I appreciate the goal of the continuation web server in Racket as trying to avoid the "inversion of control" problem which plagues much web development. But I wonder if the default continuation web server is very secure? Looking at the URI generated by the continuation web server...

Sealers/unsealers in Racket (Re: [racket-users] Questions about module encapsulation guarantees)

2018-09-10 Thread Christopher Lemmer Webber
Jack Firth writes: > If I make a symbol with `gensym` (or do anything else that creates a new > value that's not `eq?` to any other value) in some module, what are the > absolute upper limits on my ability to use that symbol within the module > without allowing any other modules to get ahold of

Re: Sealers/unsealers in Racket (Re: [racket-users] Questions about module encapsulation guarantees)

2018-09-10 Thread Christopher Lemmer Webber
Matthias Felleisen writes: >> On Sep 10, 2018, at 10:09 AM, Christopher Lemmer Webber >> wrote: >> >> Jack Firth writes: >> >>> If I make a symbol with `gensym` (or do anything else that creates a new >>> value that's not `eq?` to any other value)

Re: Sealers/unsealers in Racket (Re: [racket-users] Questions about module encapsulation guarantees)

2018-09-10 Thread Christopher Lemmer Webber
able to unseal lunch?" > as opposed to "Unseal my lunch now". > > On Mon, Sep 10, 2018 at 11:09 AM, Christopher Lemmer Webber < > cweb...@dustycloud.org> wrote: > >> Jack Firth writes: >> >> > If I make a symbol with `gensym` (or do anything

[racket-users] Racket/Scribble for Digital Humanities Publishing workshop: a huge success!

2018-03-17 Thread Christopher Lemmer Webber
Hello everyone! So Morgan and I ran a workshop together (though the workshop was much more so Morgan's work than mine) on teaching Racket/Scribble to non-programmer-academics, particularly in the humanities. I'm happy to say that it was a huge success! All participants said they'd like to have

Re: [racket-users] Just how hard would it be to add a mutable toplevel language to Racket?

2018-03-21 Thread Christopher Lemmer Webber
Philip McGrath writes: > Alternatively, here is a little example of how you might define lambda-box: > > #lang racket > > (struct lambda-box ([proc #:mutable]) > #:property prop:procedure > (make-keyword-procedure >(λ (kws kw-args this . by-pos-args) > (keyword-apply (lambda-box-proc

Re: [racket-users] Just how hard would it be to add a mutable toplevel language to Racket?

2018-03-21 Thread Christopher Lemmer Webber
; I haven’t actually used it myself, but Tony Garnock-Jones’s > racket-reloadable library seems interesting and relevant. > > https://github.com/tonyg/racket-reloadable > > Alexis > >> On Mar 21, 2018, at 11:16, Christopher Lemmer Webber >> <cweb...@dustycloud.

[racket-users] Another Digital Humanities workshop using Racket/Scribble, this one in Boston

2018-03-19 Thread Christopher Lemmer Webber
More info here: https://dustycloud.org/tmp/lp2018-digital-humanities-flier.pdf To quote from the flier: The workshop will be the day following LibrePlanet on Monday 3/26 at the Boston Red Hat office from 9-12. This event is open to students, faculty, and the community. There is no cost

Re: [racket-users] Just how hard would it be to add a mutable toplevel language to Racket?

2018-03-21 Thread Christopher Lemmer Webber
gt; On Wed, Mar 21, 2018, 12:49 PM Christopher Lemmer Webber < > cweb...@dustycloud.org> wrote: > >> Just curious. I have my reasons... for instance, I wrote a multiplayer >> game in Guile where you could change the world while players are in it >> without kicking t

[racket-users] Just how hard would it be to add a mutable toplevel language to Racket?

2018-03-21 Thread Christopher Lemmer Webber
Just curious. I have my reasons... for instance, I wrote a multiplayer game in Guile where you could change the world while players are in it without kicking them out. I don't think you can do that while having a toplevel that's as fixed as Racket's is. I've read the emails from Matthew Flatt

Re: [racket-users] Boston workshop: Racket for "digital humanities" (non math/compsci academics)

2018-02-26 Thread Christopher Lemmer Webber
Daniel Brunner writes: > Hello Christopher: > > Am 26.02.2018 um 17:56 schrieb Christopher Lemmer Webber: >> Hello all, >> >> Morgan Lemmer-Webber and I are planning a workshop to teach Racket to >> (currently) non-programmer academics in the humaniti

[racket-users] Boston workshop: Racket for "digital humanities" (non math/compsci academics)

2018-02-26 Thread Christopher Lemmer Webber
Hello all, Morgan Lemmer-Webber and I are planning a workshop to teach Racket to (currently) non-programmer academics in the humanities on March 23rd (right before the Libreplanet conference) in the Boston area (venue TBA). The rough idea is to show how programming is accessible to everyone,

Re: [racket-users] "Dynamic-wind record doesn't match prompt!" error

2018-10-24 Thread Christopher Lemmer Webber
Matthew Flatt writes: > At Tue, 23 Oct 2018 17:24:38 -0400, Christopher Lemmer Webber wrote: >> Somehow I'm triggering this error in Goblins. >> >> ; Dynamic-wind record doesn't match prompt! >> >> I am doing some things with delimited continuations. I'm gu

Re: [racket-users] "Dynamic-wind record doesn't match prompt!" error

2018-10-24 Thread Christopher Lemmer Webber
continuations with explicit prompts somewhere? > > >> On Oct 23, 2018, at 7:38 PM, Christopher Lemmer Webber >> wrote: >> >> Christopher Lemmer Webber writes: >> >>> Christopher Lemmer Webber writes: >>> >>>> Somehow I'm triggering this error in

[racket-users] "Dynamic-wind record doesn't match prompt!" error

2018-10-23 Thread Christopher Lemmer Webber
Somehow I'm triggering this error in Goblins. ; Dynamic-wind record doesn't match prompt! I am doing some things with delimited continuations. I'm guessing that's related, but I'm not sure why/how one might expect to trigger this error. Any ideas? Thoughts? - Chris -- You received this

Re: [racket-users] "Dynamic-wind record doesn't match prompt!" error

2018-10-23 Thread Christopher Lemmer Webber
Christopher Lemmer Webber writes: > Somehow I'm triggering this error in Goblins. > > ; Dynamic-wind record doesn't match prompt! > > I am doing some things with delimited continuations. I'm guessing > that's related, but I'm not sure why/how one might expect to trigger

Re: [racket-users] "Dynamic-wind record doesn't match prompt!" error

2018-10-28 Thread Christopher Lemmer Webber
Christopher Lemmer Webber writes: > Matthew Flatt writes: > >> Is your example something I can run myself to track down the problem? >> The trigger for these kinds of bugs is often difficult to extract into >> a small example. > > It is, but there's currently

Re: [racket-users] "Dynamic-wind record doesn't match prompt!" error

2018-10-28 Thread Christopher Lemmer Webber
sues/2341 > > I haven't gotten an error in RacketCS yet, but it is about 2x slower > than on traditional Racket. > > Sam > On Sun, Oct 28, 2018 at 2:05 PM Christopher Lemmer Webber > wrote: >> >> Christopher Lemmer Webber writes: >> >> > Matthew Flatt writ

[racket-users] Goblins, and actor model library for Racket, gets its first release

2018-10-28 Thread Christopher Lemmer Webber
Hello all, I've made the first release of Goblins (v0.1), the lightweight actor model I'm building for Racket which will be the foundation for my future distributed virtual worlds work in Racket. It is *not* production ready, consider this a pre-alpha, but you can get it from Racket's package

Re: [racket-users] "Dynamic-wind record doesn't match prompt!" error

2018-10-28 Thread Christopher Lemmer Webber
ub.com/racket/racket/issues/2341 >> >> I haven't gotten an error in RacketCS yet, but it is about 2x slower >> than on traditional Racket. >> >> Sam >> On Sun, Oct 28, 2018 at 2:05 PM Christopher Lemmer Webber >> wrote: >> > >> > Chr

Re: [racket-users] "Dynamic-wind record doesn't match prompt!" error

2018-10-23 Thread Christopher Lemmer Webber
Christopher Lemmer Webber writes: > Christopher Lemmer Webber writes: > >> Somehow I'm triggering this error in Goblins. >> >> ; Dynamic-wind record doesn't match prompt! >> >> I am doing some things with delimited continuations. I'm guessing >> th

Re: [racket-users] Is this parameters-using code O(n^2)?

2018-11-11 Thread Christopher Lemmer Webber
Matthew Flatt writes: > At Sun, 11 Nov 2018 13:55:32 -0500, Christopher Lemmer Webber wrote: >> It struck me recently that I tend to think of parameters as O(1) when in >> reality they're O(n), where n is the number of frames on the stack, >> right? > > No, parame

[racket-users] Is this parameters-using code O(n^2)?

2018-11-11 Thread Christopher Lemmer Webber
It struck me recently that I tend to think of parameters as O(1) when in reality they're O(n), where n is the number of frames on the stack, right? I was considering writing some code that cons'ed itself on its natural recursion, but in the process was checking the parameter. But then I realized

Re: [racket-users] Should #; comments be colored as comments or code in Dr Racket?

2018-10-07 Thread Christopher Lemmer Webber
I agree that they should be shown as comments. In many ways I like what happens (probably unintentionally) in my emacs setup: I have rainbow-delimeters enabled, which colors the parentheses. When I comment out the s-exp with #; the sexp looks commented out, but the parentheses remain colored.

Re: [racket-users] Matrix Indexing Operations in "math/matrix"

2018-10-06 Thread Christopher Lemmer Webber
Ricardo Iglesias writes: > Good afternoon. I'm trying to move away from things like Matlab and SciPy > to do linear algebra work. > Something I notice I do a lot is indexing operations, such as > MATRIX[ row ] [ column ] > > I'm looking at the "math/matrix" library provided here: >

Re: [racket-users] Should #; comments be colored as comments or code in Dr Racket?

2018-10-07 Thread Christopher Lemmer Webber
Daniel Prager writes: > If only there was a way to have the best of both worlds. > > E.g. change the background color for #; to something reminiscent of the > foreground color of regular comments: > > (display #|Comment|# > ; comment > #;(string-join "comm" "ent") >

Re: [racket-users] Should #; comments be colored as comments or code in Dr Racket?

2018-10-08 Thread Christopher Lemmer Webber
It sounds nice, but I wonder if it would be hard to shift consistently in the right direction for both light and dark themes... I guess if the code's opacity was reduced that could be a universal solution. Matthias Felleisen writes: > +1 > > >> On Oct 8, 2018, at 11:57 AM, Sam Tobin-Hochstadt

Re: [racket-users] Security of continuation web server?

2018-09-03 Thread Christopher Lemmer Webber
Neil Van Dyke writes: > Christopher Lemmer Webber wrote on 09/01/2018 09:05 PM: > >> Waterken uses URI fragments to get around this in a secure way, since >> browsers do not transmit the URI fragment to the server: > > There's lots of ways that URL fragment identifiers c

Re: [racket-users] Security of continuation web server?

2018-09-03 Thread Christopher Lemmer Webber
Greg Hendershott writes: > 1. The web server FAQ has a brief section about this: > > https://docs.racket-lang.org/web-server/faq.html#%28part._.What_special_considerations_are_there_for_security_with_the_.Web_.Server_%29 Ah, hadn't seen that! It also refers to the Referer issue. (I agree with

Re: [racket-users] Security of continuation web server?

2018-09-03 Thread Christopher Lemmer Webber
Jesse Alama writes: > On 2 Sep 2018, at 3:05, Christopher Lemmer Webber wrote: > >> http://localhost:34691/servlets/standalone.rkt;(("k" . "(1 1 2810783)")) >> >> That's the id used to retrieve the continuation, right? Presumably >> this

Re: [racket-users] Security of continuation web server?

2018-09-03 Thread Christopher Lemmer Webber
Philip McGrath writes: > My understanding is that continuation URIs are not intended to be > secret/protected by default, just as a URI like > https://example.com/comment/confirm?post-id=12345=My+great+comment > doesn't include any security measures. The main way to add security to the > URIs, as

[racket-users] Re: [racket-dev] (eighth RacketCon) Warp demo

2018-09-03 Thread Christopher Lemmer Webber
David Vanderson writes: > On Sat, Sep 1, 2018 at 7:02 PM Christopher Lemmer Webber > wrote: >> >> I checked it out. Very cool! Did you ever play Subspace / Continuum? >> Reminds me a lot of it. There's more detail here than I initially >> realized between th

Re: [racket-users] colon keywords

2018-09-19 Thread Christopher Lemmer Webber
I am wary of this. I really don't have a strong preference either way, my suspicion is it's mostly "what did you become famliar with initially" kind of thing. :keyword is more Common Lisp'ish, #:keyword matches other Schemes I've used. But: - I'd rather not have *two* keyword syntaxes in

[racket-users] Thoughts/questions on the DOS package

2018-11-30 Thread Christopher Lemmer Webber
t but the changes must be merged. In > the second case, the player reads about the missiles and decides how > it will update its state. > > The dos model allows all behaviors that race conditions/etc provide, > but you have to be a little more particular about what you want. > &

[racket-users] Accomodation on the Racket School 2019 page

2019-03-18 Thread Christopher Lemmer Webber
According to https://school.racket-lang.org/#accommodation there's subsidized lodgin at the University of Utah dorms. Sounds great! But it's not really clear to me which buildings it would be at or where I should contact them. Maybe this is useful info to clarify on the website? I see that

Re: [racket-users] Some concern about ChezScheme...

2019-02-08 Thread Christopher Lemmer Webber
Matthew Flatt writes: > Personally, while my contributions to Chez Scheme so far have been > modest, I have already factored into my costs the worst-case scenario > of fully maintaining Chez Scheme as used by Racket. Even if that > happens, it still looks like a good deal in the long run. That's

[racket-users] Spritely Golem: Secure, p2p distributable content for the fediverse

2019-02-17 Thread Christopher Lemmer Webber
The "fediverse" means the federated (decentralized) social web. And Spritely, as I've said here recently, is a series of demos and writeups which show how to "level up" the fediverse with some new ideas to make it more powerful and resilient. I just finished writing the documentation for Spritely

[racket-users] i18n / translations

2019-02-09 Thread Christopher Lemmer Webber
How are people currently translating their programs? I expected to see a gettext library or something, but haven't. I see that DrRacket is translated, but I did a few simple greps through the DrRacket repo and couldn't figure out how. Am I missing something? Or is this tooling that needs to be

Re: [racket-users] Multipart HTTP requests

2019-01-30 Thread Christopher Lemmer Webber
Jon Zeppieri writes: > On Tue, Jan 29, 2019 at 4:17 AM Christopher Lemmer Webber < > cweb...@dustycloud.org> wrote: > >> >> Any thoughts on how I should move forward? > > > I think that using a `data-procedure/c` of a particular sort should allow > you t

Re: [racket-users] Multipart HTTP requests

2019-01-30 Thread Christopher Lemmer Webber
Philip McGrath writes: > I've put up the code I mentioned for email-sending and a proxy server at > https://github.com/LiberalArtist/multipart-writing-examples As noted, these > are not general-purpose solutions to either of those problems—I know of a > bunch of cases I don't cover, and I

[racket-users] sxml vs xexpr frustrations

2019-01-30 Thread Christopher Lemmer Webber
One very frustrating thing for me is the inconsistency between which sexp xml representation is the "right" one, sxml or xexpr. Different tools support different things, and thus don't interoperate when they easily could have. I wish the Racket community could collectively make a decision and

Re: [racket-users] Serving my web application and some static files

2019-01-30 Thread Christopher Lemmer Webber
elle/clash > main.rkt > > Sorry bit of a rush- let me know if I’m making sense - I can do a smaller > example to your spec this evening. > > Stephen > > > On Wed, 30 Jan 2019 at 16:42, Christopher Lemmer Webber < > cweb...@dustycloud.org> wrote: > >> It

[racket-users] Serving my web application and some static files

2019-01-30 Thread Christopher Lemmer Webber
It seems like it should be so simple, and like Racket has the tools already, but I can't figure out how to do it. I have the following: (serve/servlet start #:servlet-regexp #rx"" #:launch-browser? #f) I'd like to do something like the following: - Serve

Re: [racket-users] sxml vs xexpr frustrations

2019-01-30 Thread Christopher Lemmer Webber
Neil Van Dyke writes: > 'John Clements' via Racket Users wrote on 1/30/19 1:46 PM: >> Fundamentally, I think that what you’re proposing is sensible … and probably >> a lot of work that’s not currently at the top of anyone’s list. :) > > Yes, the xexprs and SXML stuff is mostly very old (perhaps

[racket-users] Spritely awarded Samsung Stack Zero grant

2019-01-31 Thread Christopher Lemmer Webber
I've mentioned that my goal has been to advance the federated/decentralized social web in Racket on here before. Here's some news: https://samsungnext.com/whats-next/category/podcasts/decentralization-samsung-next-stack-zero-grant-recipients/ I'm being funded for the next two years to work

Re: [racket-users] Racket v7.2

2019-01-31 Thread Christopher Lemmer Webber
Vincent St-Amour writes: > Racket version 7.2 is now available from > > http://racket-lang.org/ > > Racket-on-Chez is done in a useful sense, but we'll wait until it gets > better before making it the default Racket implementation. For more > information, see > >

Re: [racket-users] sxml vs xexpr frustrations

2019-01-31 Thread Christopher Lemmer Webber
ging around > open-source software abandoned by its owner tends to incite conditions > of madness. (Insert your favorite 80s typesetting system here.) > > [1] https://sourceforge.net/p/ssax/mailman/ssax-sxml/ > [2] http://pobox.com/~oleg/ftp/Scheme/SXML.html > > On Jan 30, 2019,

[racket-users] Multipart HTTP requests

2019-01-29 Thread Christopher Lemmer Webber
I'm looking to do multipart HTTP requests in Racket, though it looks like there's no support at the moment. I thought I might add a utility using the net/http-client library, starting with making an adjusted http-conn-send! function. However, the http-conn-(host/port/etc) struct accessors aren't

Re: [racket-users] Multipart HTTP requests

2019-01-29 Thread Christopher Lemmer Webber
lang.org/net/mime.html>` (which only handles parsing). > > -Philip > > > On Tue, Jan 29, 2019 at 4:17 AM Christopher Lemmer Webber < > cweb...@dustycloud.org> wrote: > >> I'm looking to do multipart HTTP requests in Racket, though it looks >> like there's no

Re: [racket-users] Building "#lang dungeon"

2019-07-14 Thread Christopher Lemmer Webber
e to the > runtime, or a flawed approach of a wrapper language around #%kernel such > that everything that builds on top of it respects capabilities. > Unfortunately we can't treat existing modules like functors for which we > can replace the underlying #%kernel. > > On Sun, Jul 14, 2019 a

Re: [racket-users] The case, and a proposal, for elegant syntax in #lang racket2

2019-07-14 Thread Christopher Lemmer Webber
I sent this about 5 minutes before Jay announced https://github.com/racket/racket2-rfcs :) -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[racket-users] Building "#lang dungeon"

2019-07-14 Thread Christopher Lemmer Webber
Every day the threats facing our computing environments are getting worse. Recent incidents in both gems and npm have shown modules exfiltrating information from developers' machines or production servers. It is likely that soon package managers will also be targeted to install cryptolockers to

[racket-users] The case, and a proposal, for elegant syntax in #lang racket2

2019-07-14 Thread Christopher Lemmer Webber
The context of this email is the proposal by Matthew Flatt that we move to an easier-to-accept surface syntax for #lang racket2. Matthew Flatt has heard more than enough from me of concern about this proposal. But I should indicate that I'm highly sympathetic to the goal. I would like to lay

Re: [racket-users] Building "#lang dungeon"

2019-07-14 Thread Christopher Lemmer Webber
ra...@airmail.cc writes: > There is http://shill.seas.harvard.edu/ it runs on freebsd. Yes, it's a good source of inspiration. However it's really meant for shell scripting and isn't quite a good fit for the case I need, which is for more general racket programming. -- You received this

Re: [racket-users] Re: Racket2 and syntax

2019-07-15 Thread Christopher Lemmer Webber
Maciek Godek writes: > Maybe the direction similar to where "I think we should be heading" is > somewhere between Mathematica notebooks and Smalltalk's object environments. I had similar-ish thoughts while watching the excellent Fructure talk at this year's RacketCon: maybe intro courses would

Re: [racket-users] Building "#lang dungeon"

2019-07-15 Thread Christopher Lemmer Webber
Konrad Hinsen writes: > Hi Chris, > Hi Konrad, > While I understand the general goal you are aiming at, it isn't quite > clear to me who you are trying to protect against who. There's a wide > spectrum of people involved, ranging from language designers via library > developers and application

Re: [racket-users] Re: The case, and a proposal, for elegant syntax in #lang racket2

2019-08-21 Thread Christopher Lemmer Webber
Christopher Lemmer Webber writes: > Gerald Sussman explained Python's success, and the reason for the switch > from Scheme and SICP to a Python based curriculum, as being because > Python had for whatever reason libraries that allowed students to be > able to lego together examples

Re: [racket-users] Re: The case, and a proposal, for elegant syntax in #lang racket2

2019-08-21 Thread Christopher Lemmer Webber
between the two halves had proved confusing for > students You actually touched on something that has been at the back of my mind for a while. Else where in this discussion: Matthew Flatt writes: > At Sat, 20 Jul 2019 18:07:40 -0400, Christopher Lemmer Webber wrote: >> - Are peo

[racket-users] Honu thoughts and clarification

2019-08-07 Thread Christopher Lemmer Webber
Today I read the 2012 Honu paper: http://www.cs.utah.edu/~rafkind/papers/honu-2012.pdf Some impressions and a question: - Well it's pretty obvious where I stand on my preference for lisp syntax. But! I'll say the Honu paper is beautifully written and is maybe the nicest

Re: [racket-users] Racket2 possibilities

2019-07-20 Thread Christopher Lemmer Webber
Hi Matthew, As someone who (unintentionally) caused maybe some of the debate to get out of hand (or did I?) I would like to open by saying that both your last email to the prior thread and also this email are both very encouraging. I'll skip everything else and jump straight to: Matthew Flatt

Re: [racket-users] Re: The case, and a proposal, for elegant syntax in #lang racket2

2019-07-17 Thread Christopher Lemmer Webber
Hendrik Boom writes: > On Wed, Jul 17, 2019 at 04:52:37PM -0700, Maria Gabriela Guimarães wrote: >> >> Does Racket wants to be popular in the industry? Then Racket must focus on >> being a language-oriented programming ecosystem on a popular VM, like the >> ErlangVM, the JVM, and the

Re: Backing up [was: Re: [racket-users] The case, and a proposal, for elegant syntax in #lang racket2]

2019-07-16 Thread Christopher Lemmer Webber
Matthew Flatt writes: > The idea that the Racket project leadership is discussing this is > entirely plausible, of course, given the way things have operated in > the past. Let me emphasize again, however, that you should take Aaron > Turon's keynote as evidence that we do not want to do things

Re: [racket-users] The case, and a proposal, for elegant syntax in #lang racket2

2019-07-15 Thread Christopher Lemmer Webber
Jack Firth writes: > Matthias, I ask that you please not respond to discussion about the > diversity of the Racket community by saying it's a political topic and > politics have no place here. That statement alone is political and makes > many people feel unwelcome, including me. Likewise... and

Re: [racket-users] Evaluating to get the output with a specific lang

2019-11-10 Thread Christopher Lemmer Webber
Well, I think I figured out how to get further: with example1.rkt being: ``` #lang racket/base ;; #lang dungeon/misery (define ((make-start-game read-save-file) player-name) (list 'running-this-read-save-file: read-save-file 'on-player-name: player-name 'result:

Re: [racket-users] Evaluating to get the output with a specific lang

2019-11-10 Thread Christopher Lemmer Webber
(port-read-handler in default-handler) >(begin0 (read in) (port-read-handler in original-handler >(define mod-name `(quote ,(cadr define-mod))) >(eval `(begin ,define-mod (let () (local-require ,mod-name) > the-foo)) > (modul

Re: [racket-users] What's the best way to do these syntax transforms?

2019-11-08 Thread Christopher Lemmer Webber
Philip McGrath writes: > On Fri, Nov 8, 2019 at 9:56 AM Jay McCarthy wrote: > >> On Fri, Nov 8, 2019 at 9:51 AM Christopher Lemmer Webber < >> cweb...@dustycloud.org> wrote: >> >>> I have a need to do two things in a #lang: >>> >>> - Mos

Re: [racket-users] What's the best way to do these syntax transforms?

2019-11-08 Thread Christopher Lemmer Webber
Jay McCarthy writes: > On Fri, Nov 8, 2019 at 9:51 AM Christopher Lemmer Webber < > cweb...@dustycloud.org> wrote: > >> I have a need to do two things in a #lang: >> >> - Most importantly, make all strings that appear in the source code >>immutable >

Re: [racket-users] Evaluating to get the output with a specific lang

2019-11-11 Thread Christopher Lemmer Webber
Jay McCarthy writes: > I feel like I might not understand what you want, but it feels like > you just want to use `make-module-evaluator` from `racket/sandbox`: > > ``` > #lang racket/base > (require racket/sandbox) > > (define (read-script s) > (((make-module-evaluator s) 'script) 5)) > >

  1   2   >