Re: [racket] Unlinking tool and package file injection

2012-04-19 Thread Laurent
On Fri, Apr 20, 2012 at 08:16, Laurent wrote: > Hi, > > After developing a tool using a development link, I want to test the file > injection of the package, so I removed the link. > The problem is that the tool still loads on DrRacket startup, even though > the development link does not appear i

[racket] Unlinking tool and package file injection

2012-04-19 Thread Laurent
Hi, After developing a tool using a development link, I want to test the file injection of the package, so I removed the link. The problem is that the tool still loads on DrRacket startup, even though the development link does not appear in `raco planet show`. Is this a bug or am I misunderstandin

Re: [racket] Other language levels in WeScheme?

2012-04-19 Thread Chris Stephenson
On 20/04/12 06:30, John Clements wrote: > Is WeScheme pinned on beginner for a while? My son is interested in writing a > simple turn-based RPG in WeScheme---something it seems admirably suited for, > by and large--but I'm dying for things like for/list. Am I missing a simple > switch that would

[racket] gui issue > frame updating control thread painter > questions about how to resolve the problem, attain eventual reactive semantics

2012-04-19 Thread Patrick Mahoney
#lang racket #|Hello all, I'm PMah. |# (require racket/gui/base) #|Problem: I have a message% control called x-pos parented by a frame% called parent1. I have a canvas% called canvas parented under frame% parent2. I would like x-pos to always show the current x coordinate of the mouse position ov

Re: [racket] Need some help for my first real experiment with scheme

2012-04-19 Thread Pedro
So to put it in a simple way, I need to tokenize all my data and create an index which I load into memory...? Is this how it is usually done? For example, does my browser (firefox) keep an index of all the words present in urls and page titles on memory at any given time? On Wed, Apr 18, 2012 at 7

[racket] Other language levels in WeScheme?

2012-04-19 Thread John Clements
Is WeScheme pinned on beginner for a while? My son is interested in writing a simple turn-based RPG in WeScheme---something it seems admirably suited for, by and large--but I'm dying for things like for/list. Am I missing a simple switch that would allow me to use other language levels? The expa

[racket] Specifying GUI item sizes in percentages not pixels

2012-04-19 Thread Harry Spier
Dear list members, In the Racket GUI framework is there a way to specify the sizes of windows and dialogs not in pixels but in percentage of either the screen for a top level window or in percentages of the containing window. Thanks, Harry Spier Racket Users list: http://

Re: [racket] Information in Racket Bug Report

2012-04-19 Thread Sam Tobin-Hochstadt
On Thu, Apr 19, 2012 at 6:07 PM, Harry Spier wrote: > > This was the start of the Environment section of the report. > - > Environment:    windows "Windows NT 6.0 (Build 6002) Service Pack 2" > (win32\i386\3m) (get-display-depth) = 32 >  Human La

[racket] Information in Racket Bug Report

2012-04-19 Thread Harry Spier
Dear list members, I just received a notice that a bug report I had submitted has now been resolved. When I viewed the bug report. http://bugs.racket-lang.org/query/?cmd=view&pr=12464 This was the start of the Environment section of the report.

Re: [racket] any remarks

2012-04-19 Thread Roelof Wobben
Op 19-4-2012 22:08, namekuseijin schreef: On Thu, Apr 19, 2012 at 11:04 AM, Roelof Wobben > wrote: > (define (edit e k) > (cond > [ (and(key=? "right" k) (> (string-length (editor-post e)) 0)) > (make-editor(string-append (editor-pre e) (string-first (editor-post e

Re: [racket] any remarks

2012-04-19 Thread Danny Yoo
> Are there any remarks so I can learn from it or it this script well > according to the racket rules ? I'd recommend uncommenting some of those check-expects: they should work now. Racket Users list: http://lists.racket-lang.org/users

Re: [racket] playing with upcoming racket 5.3 submodules feature

2012-04-19 Thread Sam Phillips
On Wed, Apr 18, 2012 at 17:19, Danny Yoo wrote: > I'm playing around with submodules with a small toy program: > >    https://gist.github.com/2417377 > > Submodules are neat!  In particular, it includes several submodules > for different roles. > In case other people are interested, here is the p

[racket] [racket-dev] `string-split'

2012-04-19 Thread namekuseijin
-- Forwarded message -- From: namekuseijin Date: Thu, Apr 19, 2012 at 1:54 PM Subject: Re: [racket-dev] `string-split' To: Sam Tobin-Hochstadt On Thu, Apr 19, 2012 at 9:28 AM, Sam Tobin-Hochstadt wrote: > Note that (string-split str ";") works given that implementation, while

Re: [racket] Redirecting inbound HTTP-schemed urls to HTTPS-schemed urls in #lang web-server with SSL

2012-04-19 Thread Jay McCarthy
On Thu, Apr 19, 2012 at 9:28 AM, Galler wrote: > > When using stateless web servlets in #lang webserver with serve/servlet: > > Q: Is there a method for identifying the uri-scheme of the inbound request > and redirecting HTTP schemed uris to HTTPS scheme for SSL? > > Issue 1) > > Examining the (ur

[racket] Redirecting inbound HTTP-schemed urls to HTTPS-schemed urls in #lang web-server with SSL

2012-04-19 Thread Galler
When using stateless web servlets in #lang webserver with serve/servlet: Q: Is there a method for identifying the uri-scheme of the inbound request and redirecting HTTP schemed uris to HTTPS scheme for SSL? Issue 1) Examining the (url-scheme (request-uri request)) of the request start pas

[racket] any remarks

2012-04-19 Thread Roelof Wobben
Hello, As a exercise of the Htpd2e I made this script : (define workspace (empty-scene 200 20)) (define cursor (rectangle 2 20 "solid" "red")) (define textcolor "black") (define textfont 11) (define-struct editor (pre post)) ; Editor = (make-editor String String) ; interp. (make-editor s t) mea

Re: [racket] does render-term or term->pict work in a metafunction?

2012-04-19 Thread Robby Findler
'render-term' is not a function because it looks at the source location information and uses that in the rendering process. For example, compare these: #lang racket (require redex) (define-language L (e (e e) x (λ (x) e)) (x variable-not-otherwise-mentioned)) (term->pict L ((λ (x) (