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

2018-08-08 Thread David Thrane Christiansen
> 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, because I don't really design them for independent

Re: [racket-users] Notifier/subscriber pattern, preventing event cycles: What's the best practice?

2018-08-08 Thread David Vanderson
On 08/08/2018 08:01 AM, Erich Rast wrote: model change-->model notifies view of 'model-change-->view receives 'model-change-->view changes GUI class-->external library and OS-level widget display handling-->GUI class event-->view notifies model of 'view-change Is there a better solution

Re: [racket-users] Testing & global variables

2018-08-08 Thread Kevin Forchione
> On Aug 7, 2018, at 10:56 AM, Alexis King wrote: > > I guess I’ll take the bait and give the obvious-but-unhelpful answer, > “Don’t use global variables.” :) > > I’m joking, but only just barely. It seems difficult to give concrete > advice without knowing more details about your program and

Re: [racket-users] Error opening Module Browser

2018-08-08 Thread Robby Findler
I'm not seeing that in a build from yesterday, so it may be an already fixed bug. Judging from the error message, you can probably work around the problem by disabling the debugging annotations (Language | Choose Language ... -> Show Details -> "No debugging or profiling" radio button). Robby On

[racket-users] Error opening Module Browser

2018-08-08 Thread Steve Beisner
I'm moving to Racket from using Scheme in other environments, and learning my way around DrRacket via the tried and true method of poking at it to see what happens. When I do "Show Module Browser" from the View menu, I get an error. The traceback begins as follows: Error expanding the program

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

[racket-users] Notifier/subscriber pattern, preventing event cycles: What's the best practice?

2018-08-08 Thread Erich Rast
I'm implementing a global blackboard for posting events and subscribing to them and I'm wondering about the best method to prevent cycles. Since this is e.g. for 'model-change and 'view-change events, I cannot generally guarantee that clients (subscribers or notifiers) have a "direct program flow"