Re: [racket] Finndesign Liitin: Computing rethought

2011-01-05 Thread Jukka Tuominen
Hi Matthias, > -Original Message- > From: Matthias Felleisen [mailto:matth...@ccs.neu.edu] > Sent: 06 January 2011 00:09 > To: Jukka Tuominen > Cc: users@racket-lang.org > Subject: Re: [racket] Finndesign Liitin: Computing rethought > > > > Jukka, this all sounds like an inspiring idea, k

Re: [racket] Finndesign Liitin: Computing rethought

2011-01-05 Thread Matthias Felleisen
Jukka, this all sounds like an inspiring idea, kind of like a return to the future of Lisp machines. 1. What kind of uses do you imagine? 2. I am not sure how the phrase 'network OS' connects to the rest of the message. -- Matthias On Jan 5, 2011, at 10:04 AM, Jukka Tuominen wrote: >

Re: [racket] openssl - authenticating clients via certificates

2011-01-05 Thread Neil Van Dyke
Curtis Dutton wrote at 01/05/2011 07:37 AM: I am interested in implementing authentication via client browser certificates with a racket webserver. One way I have seen HTTPS SSL client certificate authentication done for Racket (actually, PLT Scheme, a while ago) on the server side is to simp

Re: [racket] Extending the Racket GUI with native widgets

2011-01-05 Thread Thomas Chust
2011/1/5 Matthew Flatt : > I see... You need `get-client-handle', which returns the inner widget > of a window rather than the outer one. (There are two layers to a > `panel%' for event-handling reasons.) > > I've added `get-client-handle' to `window<%>', which you should use > in this case instead

[racket] Call for Participation: STOP'11

2011-01-05 Thread Tobias Wrigstad
Call for Participation Scripts to Programs (STOP) Jan 29th, 2011, Austin, TX http://wrigstad.com/stop11/ Please come join us at STOP (a workshop at POPL). See below for an introduction to the workshop and the program.

Re: [racket] HTDP2e typo?

2011-01-05 Thread Arthur Nunes-Harwitt
take a look at the 'draft' version of 2e and it is false Sorry for the false alarm. I'll check the draft in the future if I notice anything. -Arthur == Arthur Nunes-Harwitt Computer Science Department, Rochester Institute of Te

Re: [racket] Extending the Racket GUI with native widgets

2011-01-05 Thread Matthew Flatt
I see... You need `get-client-handle', which returns the inner widget of a window rather than the outer one. (There are two layers to a `panel%' for event-handling reasons.) I've added `get-client-handle' to `window<%>', which you should use in this case instead of `get-handle'. Also, don't forge

Re: [racket] Extending the Racket GUI with native widgets

2011-01-05 Thread Thomas Chust
2011/1/5 Matthew Flatt : > At Wed, 5 Jan 2011 18:04:26 +0100, Thomas Chust wrote: > [...] >> And even if I manually resize, show and redraw the widget using calls >> of wrapped GTK+ functions at the REPL, it still doesn't show up in the >> GUI. > > Can you send an example? > [...] Hello Matthew,

Re: [racket] HTDP2e typo?

2011-01-05 Thread Matthias Felleisen
take a look at the 'draft' version of 2e and it is false On Jan 5, 2011, at 11:34 AM, Arthur Nunes-Harwitt wrote: > Hi, > > I apologize if this is not quite the right mailing list. I just started > looking at the 2e version and I noticed the following. > >> (string->number "hello world") >

Re: [racket] Extending the Racket GUI with native widgets

2011-01-05 Thread Matthew Flatt
At Wed, 5 Jan 2011 18:04:26 +0100, Thomas Chust wrote: > However, even if I override all size related methods of the > subwindow<%> interface on a panel% and forward them to GTK+ > equivalents on the native widget, the native child widget is still not > resized to useful dimensions by the Racket GU

Re: [racket] continuation barrier in raise

2011-01-05 Thread Casey Klein
On Wed, Jan 5, 2011 at 8:55 AM, Keiko Nakata wrote: >> A `with-handlers' handler and a `call-with-exception-handler' handler >> are invoked with different continuations. A `with-handlers' handler is >> invoked with the continuation of the entire `with-handlers' >> expression; a `call-with-exceptio

Re: [racket] Extending the Racket GUI with native widgets

2011-01-05 Thread Thomas Chust
2011/1/5 Matthew Flatt : > The `window<%>' method `get-handle' returns the native widget for a > window. The docs for `get-handle' are out of date, and I pull push a > correction later today: the result for `get-handle' is now an FFI > pointer instead of an integer, and it represents GtkWidget unde

Re: [racket] HTDP2e typo?

2011-01-05 Thread Luke Jordan
#f and false both work, maybe someone else can comment about if there are limitations related to which language (Beginner, Advanced, full Racket...) is declared in DrRacket. On Wed, Jan 5, 2011 at 10:34, Arthur Nunes-Harwitt wrote: > Hi, > > I apologize if this is not quite the right mailing li

Re: [racket] raise vs abort

2011-01-05 Thread Casey Klein
On Wed, Jan 5, 2011 at 8:22 AM, Keiko Nakata wrote: >> raise just calls a handler that is the one that does the interesting >> control. > > So having separate implementations is for optimization? > I don't think `raise' can be defined via `abort'. `raise' calls the exception handler in the curren

Re: [racket] Key Shortcuts

2011-01-05 Thread Miguel Villaverde
-Mensaje original- De: Greg Hendershott [mailto:greghendersh...@gmail.com] Enviado el: lunes, 03 de enero de 2011 16:30 << In other words there aren't shortcut keys ("accelerators") per se bound to these commands. But you can use the keyboard to choose an item from a menu, as usual in Win

[racket] HTDP2e typo?

2011-01-05 Thread Arthur Nunes-Harwitt
Hi, I apologize if this is not quite the right mailing list. I just started looking at the 2e version and I noticed the following. (string->number "hello world") #f Shouldn't that read as follows? (string->number "hello world") false -Arthur =

Re: [racket] Extending the Racket GUI with native widgets

2011-01-05 Thread Matthew Flatt
The `window<%>' method `get-handle' returns the native widget for a window. The docs for `get-handle' are out of date, and I pull push a correction later today: the result for `get-handle' is now an FFI pointer instead of an integer, and it represents GtkWidget under X. So, you could create a `pan

Re: [racket] openssl - authenticating clients via certificates

2011-01-05 Thread Sam Phillips
On Wed, Jan 5, 2011 at 4:37 AM, Curtis Dutton wrote: > Has anybody figured out a way to do this yet? >  I am willing to volunteer some effort to help implement. Any pointers on > where to get started, design considerations, etc... are appreciated if that > is the case. I've not done this with the

Re: [racket] raise vs abort

2011-01-05 Thread Robby Findler
On Wednesday, January 5, 2011, Keiko Nakata wrote: >> raise just calls a handler that is the one that does the interesting control. > > So having separate implementations is for optimization? Well I believe that abort actualy aborts so that requires some interesting work. Robby > Keiko > > > F

[racket] Finndesign Liitin: Computing rethought

2011-01-05 Thread Jukka Tuominen
Hi all, after about a decade's development work, we (Finndesign) are about to release something that we feel very exited about. It's a network OS called Liitin and it uses Scheme (Racket) as built-in language. BTW, Liitin means 'connector' in Finnish and is pronounced like "Lee tin". Rational: T

Re: [racket] continuation barrier in raise

2011-01-05 Thread Keiko Nakata
> A `with-handlers' handler and a `call-with-exception-handler' handler > are invoked with different continuations. A `with-handlers' handler is > invoked with the continuation of the entire `with-handlers' > expression; a `call-with-exception-handler' handler is invoked with > the continuation of

Re: [racket] continuation barrier in raise

2011-01-05 Thread Casey Klein
On Wed, Jan 5, 2011 at 7:40 AM, Keiko Nakata wrote: > Thanks for the code. > > I'm a bit confused as replacing 'call-with-exception-handler' by > 'with-handlers' seem to not produce the same bahavior: > > (call-with-continuation-prompt >  (lambda () >  (with-handlers >   ([(lambda (_) true) (lambd

Re: [racket] wescheme app running on moby

2011-01-05 Thread Scott Hickey
I have DrRacket setup to determine language from source and I add the following to the top of the original WeScheme program, which gets it to run from DrRacket: #lang planet dyoo/moby:3:9 (require 2htdp/universe) (require 2htdp/image) When I run the following to try to build an Android phone app:

Re: [racket] raise vs abort

2011-01-05 Thread Keiko Nakata
> raise just calls a handler that is the one that does the interesting control. So having separate implementations is for optimization? Keiko From: Robby Findler Subject: Re: [racket] raise vs abort Date: Wed, 5 Jan 2011 08:18:21 -0600 > raise just calls a handler that is the one that does th

Re: [racket] raise vs abort

2011-01-05 Thread Robby Findler
raise just calls a handler that is the one that does the interesting control. Robby On Wed, Jan 5, 2011 at 7:58 AM, Keiko Nakata wrote: > Hi again, > > I'm not sure where to ask this question, but > why are 'raise' and 'abort' implemented separately > (rather than, say, 'raise' by means of 'abor

Re: [racket] Symbol Syntax

2011-01-05 Thread Matthias Felleisen
Start reading HtDP/2e @ http://www.ccs.neu.edu/home/matthias/HtDP2e/ It uses strings, which may be more familiar to you and which accommodate a bit more variety. Then switch back to HtDP/1e. On Jan 5, 2011, at 7:18 AM, Sayth Renshaw wrote: > > Can someone expand on the syntax for symbols

[racket] raise vs abort

2011-01-05 Thread Keiko Nakata
Hi again, I'm not sure where to ask this question, but why are 'raise' and 'abort' implemented separately (rather than, say, 'raise' by means of 'abort')? I haven't understood the implementations of these primitives, but they appear very different (in error.c and fun.c). Will someone explain to m

Re: [racket] openssl - authenticating clients via certificates

2011-01-05 Thread Noel Welsh
On Wed, Jan 5, 2011 at 12:37 PM, Curtis Dutton wrote: > Has anybody figured out a way to do this yet? I don't know enough about SSL to see how this would work, but it sounds interesting. Good luck! N. _ For list-related administrative tasks: ht

Re: [racket] continuation barrier in raise

2011-01-05 Thread Keiko Nakata
Thanks for the code. I'm a bit confused as replacing 'call-with-exception-handler' by 'with-handlers' seem to not produce the same bahavior: (call-with-continuation-prompt (lambda () (with-handlers ([(lambda (_) true) (lambda (_) (call-with-current-continuation (lambda (k) (abor

Re: [racket] mobile agent in racket

2011-01-05 Thread Nevo
Hi Neil and Noel Thanks so much for those valuable suggests you gave. I've been reading several old papers from ieee about "mobile agent" per se, then as you pointed out, I'd start to feed with some background on "distributed objects". And you're right, I'll also need to scout out the topic, my c

Re: [racket] users Digest, Vol 65, Issue 16

2011-01-05 Thread Keith S. Decker
On Jan 5, 2011, at 7:37 AM, users-requ...@racket-lang.org wrote: > On Wed, Jan 5, 2011 at 8:17 AM, Neil Van Dyke wrote: >> ? I suggest finding and >> reading all the conference and workshop proceedings, as well as trying out >> any prototypes and tools you can find. > > AFAIK AAMAS is the main

Re: [racket] Symbol Syntax

2011-01-05 Thread Jens Axel Søgaard
2011/1/5 Sayth Renshaw : > > Can someone expand on the syntax for symbols? I can develop the check-guess > game simply without symbols but cannot with symbols. > Trying many versions of the symbol syntax but with no success. > > This the example for symbols, but how can I test conditions with a sym

Re: [racket] continuation barrier in raise

2011-01-05 Thread Casey Klein
On Wed, Jan 5, 2011 at 6:32 AM, Keiko Nakata wrote: > Hello, > > Will someone give me an example which shows the continuation barrier > introduced by 'raise'?  I.e., I want an program which raises an exception > because of the barrier. > > I think I do not understand the documentation properly, >

[racket] openssl - authenticating clients via certificates

2011-01-05 Thread Curtis Dutton
I am interested in implementing authentication via client browser certificates with a racket webserver. I have a small online store website that has both a public side, for anybody, and a set of pages that are private for the management interface of that website. But I don't like the risk of only

[racket] continuation barrier in raise

2011-01-05 Thread Keiko Nakata
Hello, Will someone give me an example which shows the continuation barrier introduced by 'raise'? I.e., I want an program which raises an exception because of the barrier. I think I do not understand the documentation properly, so have been failing to produce such an example myself... Keik

[racket] Symbol Syntax

2011-01-05 Thread Sayth Renshaw
Can someone expand on the syntax for symbols? I can develop the check-guess game simply without symbols but cannot with symbols. Trying many versions of the symbol syntax but with no success. This the example for symbols, but how can I test conditions with a symbol? (define (reply s) (cond

Re: [racket] mobile agent in racket

2011-01-05 Thread Noel Welsh
On Wed, Jan 5, 2011 at 8:17 AM, Neil Van Dyke wrote: >  I suggest finding and > reading all the conference and workshop proceedings, as well as trying out > any prototypes and tools you can find. AFAIK AAMAS is the main conference, but I'm not in the field: http://www.cse.yorku.ca/AAMAS2010/ N.

Re: [racket] mobile agent in racket

2011-01-05 Thread Neil Van Dyke
If you wanted to build a new mobile agents framework for research purposes, I think that using Racket would be viable. Some relevant features that Racket gives you atop what typical Scheme dialects/derivatives do include: greater ability to limit resources, the serializable continuations work