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&body=My+great+comment > doesn't include any security measures. The main way to add security to the > URIs

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 identifi

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 t

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 >> thi

[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... http://loc

[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

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 des

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... w

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-11 Thread Christopher Lemmer Webber
Nils Gillmann writes: > Christopher Lemmer Webber transcribed 3.3K bytes: >> BTW, some examples of packages where I've had trouble, in case it helps >> with testing: >> >> - Raart >> - Gregor >> - crypto (seemed to work last time, not sure why it

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] 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 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, > bec

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 t

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 e

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.

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'

[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 edi

[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 a

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 time

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 emai

[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 t

[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 > rus

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] 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 >> >> In comparison to Syndicate, Goblins is less a new language and more a >> lightweight library for actors that interfaces nicely with "#lang >>

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

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 >> wrote: >> >&g

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
anguage useful for this. > > Sam > > 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

[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 ab

[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 to

[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 a

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 humanities o

[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, even

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 helpfu

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 Le

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 t

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`

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 >

[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 lucki

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

2018-01-05 Thread Christopher Lemmer Webber
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: ht

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] Cryptography routines in Racket

2018-01-01 Thread Christopher Lemmer Webber
entation 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 Webb

[racket-users] Cryptography routines in Racket

2017-12-31 Thread Christopher Lemmer Webber
ography and etc. I'm happy to dive 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

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

2017-12-09 Thread Christopher Lemmer Webber
cking everyone out. I looked and I 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 "Racke

<    1   2