Re: [racket] Architecture advice for new project

2012-05-15 Thread Robby Findler
I guess you probably need to step back and understand how things tend to mutate this hash and look for another construct that more accurately captures the interesting use cases for mutating the hash. That is, hash mutation is a kind of do-anything assembly language and until you have a good handle

Re: [racket] release date for RacketCon videos?

2012-05-15 Thread Prabhakar Ragde
Todd wrote: This is clearly a problem with you academic types not knowing how things work in the real world. San Francisco is *full* of people who, for the right price, will be happy to rifle through Mr. Dlouhy's things until they find the videos or determine that he doesn't have them. They migh

Re: [racket] release date for RacketCon videos?

2012-05-15 Thread David Vanderson
I was able to get in touch with Jeff, and am working with him to get the videos ready. I'll post updates as I go. Thanks, Dave On 05/15/2012 03:29 PM, John Clements wrote: On May 15, 2012, at 2:03 PM, Todd O'Bryan wrote: This is clearly a problem with you academic types not knowing how thin

Re: [racket] release date for RacketCon videos?

2012-05-15 Thread John Clements
On May 15, 2012, at 2:03 PM, Todd O'Bryan wrote: > This is clearly a problem with you academic types not knowing how > things work in the real world. San Francisco is *full* of people who, > for the right price, will be happy to rifle through Mr. Dlouhy's > things until they find the videos or de

Re: [racket] RacketCon 2012?

2012-05-15 Thread Luke Vilnis
+1 It was really a wonderful opportunity last year. On Tue, May 15, 2012 at 2:12 PM, Scott Hickey wrote: > Are there any plans for a RacketCon 2012? > > Scott Hickey > > > Racket Users list: > http://lists.racket-lang.org/users > > Racket Users list:

Re: [racket] RedHat OpenShift

2012-05-15 Thread John Clements
On May 15, 2012, at 3:02 PM, Danny Yoo wrote: > > The DIY offering is pretty new with limited doc. > > https://openshift.redhat.com/community/blogs/new-openshift-release-march-22-2012-nodejs-diy-cartridge-new-website-and-more > > https://openshift.redhat.com/community/blogs/a-paas-that-runs-an

Re: [racket] RedHat OpenShift

2012-05-15 Thread Danny Yoo
> > > The DIY offering is pretty new with limited doc. > > > https://openshift.redhat.com/community/blogs/new-openshift-release-march-22-2012-nodejs-diy-cartridge-new-website-and-more > > > https://openshift.redhat.com/community/blogs/a-paas-that-runs-anything-http-getting-started-with-diy-applicat

Re: [racket] Architecture advice for new project

2012-05-15 Thread Danny Yoo
On Tuesday, May 15, 2012, Chad Albers wrote: > Definitely. Using Racket's hashes, I can duplicate the same functionality. > > But this hash mechanism bothers me, because I see a informal > convention developing in Rack middleware, where the middleware starts > injecting it's own state into the ha

Re: [racket] release date for RacketCon videos?

2012-05-15 Thread Todd O'Bryan
This is clearly a problem with you academic types not knowing how things work in the real world. San Francisco is *full* of people who, for the right price, will be happy to rifle through Mr. Dlouhy's things until they find the videos or determine that he doesn't have them. They might even throw in

[racket] [Typed Racket] Problem with case->

2012-05-15 Thread Sylvain Sanesti
I don't understand why this code doesn't work : (: & (case-> [True -> One] [False -> Zero])) (define (& x) (if (eq? x #t) 1 0)) -> Type Checker: Expected Zero, but got One in: 1 Any idea ? Racket Users list: http://lists.racket-lang.org/users

Re: [racket] Delimited continuations and parameters

2012-05-15 Thread Matthias Felleisen
On May 15, 2012, at 3:11 PM, Asumu Takikawa wrote: > On 2012-05-15 10:49:20 -0400, Matthias Felleisen wrote: >> (parameterize ([p 1]) >> (λ (zzz) ;; <= INCLUDING THE parameterize r while >> not including parameterize p is an arbitrary choice > > I only included `

Re: [racket] Delimited continuations and parameters

2012-05-15 Thread Asumu Takikawa
On 2012-05-15 10:49:20 -0400, Matthias Felleisen wrote: >(parameterize ([p 1]) > (λ (zzz) ;; <= INCLUDING THE parameterize r while > not including parameterize p is an arbitrary choice I only included `r` because it is the only parameterization in the source cod

Re: [racket] RedHat OpenShift

2012-05-15 Thread Ray Racine
https://github.com/RayRacine/rackos Racket Users list: http://lists.racket-lang.org/users

[racket] RacketCon 2012?

2012-05-15 Thread Scott Hickey
Are there any plans for a RacketCon 2012? Scott Hickey Racket Users list: http://lists.racket-lang.org/users

Re: [racket] Architecture advice for new project

2012-05-15 Thread Raoul Duke
On Tue, May 15, 2012 at 11:00 AM, Chad Albers wrote: > injecting it's own state into the hash, with hacky namespaces on the > keys to prevent key collisions.  I would like to avoid that. off the top of my head, it seems like if there is sharing, yet you want to avoid collisions, then you either h

Re: [racket] Architecture advice for new project

2012-05-15 Thread Chad Albers
Definitely. Using Racket's hashes, I can duplicate the same functionality. But this hash mechanism bothers me, because I see a informal convention developing in Rack middleware, where the middleware starts injecting it's own state into the hash, with hacky namespaces on the keys to prevent key co

[racket] RedHat OpenShift

2012-05-15 Thread Ray Racine
Just noticed that Redhat's OpenShift (their cloud thingy) has released a DIY v0.1 cartrige to their PAAS offering. You can run up to 3 applications free and while it's not official, they have specifically said that they intend have a free offering indefinitely. The DIY offering has all the machin

Re: [racket] Architecture advice for new project

2012-05-15 Thread Danny Yoo
> In the Rack middleware in the chain, each piece of the middleware receives a > hash which encapsulates the response/requests, and the middleware mutates > this hash depending on the functionality it adds. Could each middleware layer return the updated hash value? Racket has functional hash tabl

[racket] Architecture advice for new project

2012-05-15 Thread Chad Albers
Hi, I'm working on project to port the Ruby Rack framework to Racket scheme. If you're not familiar with Rack, it creates a layer to manage the http response/requests, and a level of abstraction to build a chained list of middle ware clients - each calling the next in chain. Switching from from

Re: [racket] release date for RacketCon videos?

2012-05-15 Thread Sam Tobin-Hochstadt
Joe - Jeff Dlouhy was an undergrad at Northeastern; he's since graduated and now lives in San Francisco. Unfortunately, that means that I don't have much way to get him to do anything. Sam On May 15, 2012 6:54 AM, "Joe Gilray" wrote: > Sam, > > Any update on RacketCon videos? Any way that Jeff

Re: [racket] release date for RacketCon videos?

2012-05-15 Thread Robby Findler
It is hopeless. I believe it was an undergraduate and I believe we currently have no way to contact this person. Robby On Tue, May 15, 2012 at 11:54 AM, Joe Gilray wrote: > Sam, > > Any update on RacketCon videos?  Any way that Jeff's advisor can be > prevailed upon to at least ask him to releas

[racket] Finite State Machines of Arbitrary Size using Racket's composable control

2012-05-15 Thread Galler
This code was generated in response to the user who sought to implement run-length encoding of a bit-vector on Sunday night. I didn't post this to the board b/c there's a much easier way to solve problem using regular expressions, which Eli B. demonstrated. But, the (infinite-k-pump) function st

Re: [racket] release date for RacketCon videos?

2012-05-15 Thread Joe Gilray
Sam, Any update on RacketCon videos? Any way that Jeff's advisor can be prevailed upon to at least ask him to release the videos as they are? Thanks, -Joe On Wed, Apr 4, 2012 at 8:44 AM, Sam Tobin-Hochstadt wrote: > On Wed, Apr 4, 2012 at 11:35 AM, Greg Hendershott > wrote: > > I do think the

Re: [racket] remote tasks

2012-05-15 Thread HP Wei
Thanks very much for Neil's detailed outline for a solution; and Kevin's example code I will digest them and ask questions again if I stumble into issues. --hp On 05/13/2012 01:53 PM, HP Wei wrote: Would you please suggest to me some links so that I can get some info or even better

Re: [racket] Typed/Racket Runtime Optimized Bounded (Index) Increment Operation

2012-05-15 Thread Vincent St-Amour
At Mon, 14 May 2012 18:52:33 -0400, Ray Racine wrote: > I love seeing all them little green boxes informing me that Typed/Racket > has elided runtime operation. Some of my recent code is doing a great deal > of processing (Vectorof Float) with vector-ref / vector-set!. > > I'm wondering if there

Re: [racket] remote tasks

2012-05-15 Thread Eli Barzilay
Yesterday, Kevin Tew wrote: > Attached is a distributed places program that will do what you want. > > It requires the latest checkout from git head. You must have ssh > public-key authentication setup on all the nodes. For easy use, it > also requires that racket and remote-eval.rkt be installe

Re: [racket] Delimited continuations and parameters

2012-05-15 Thread Matthias Felleisen
TWO DISTINCT ISSUES: I have encoded the apparent first step in the reduction sequence via submodules. ISSUE 1: I am disturbed that submodule b is evaluated before submodule a. ISSUE 2: What is the semantics of parameterize? #lang racket (module a racket (require racket/control) (d

Re: [racket] Typed/Racket Runtime Optimized Bounded (Index) Increment Operation

2012-05-15 Thread Matthias Felleisen
On May 14, 2012, at 6:52 PM, Ray Racine wrote: > I love seeing all them little green boxes informing me that Typed/Racket has > elided runtime operation. Some of my recent code is doing a great deal of > processing (Vectorof Float) with vector-ref / vector-set!. > > I'm wondering if there is

[racket] looking for a twitter library (or, failing that, OAuth 1.0)

2012-05-15 Thread Zachary Kanfer
I'd like to write a program (in Arc, which is a language on top of Racket) using the Twitter API. I'd like to use a library for Twitter, if one exists. Does anyone know of one? I've looked on planet.racket-lang, and the only two twitter-related libraries I can find are one using Twitter Basic Authe

Re: [racket] string->bytes/locale on an HMAC-SHA1 hash returns error

2012-05-15 Thread Shawn Smith
I've gotten a bit of help in #racket on freenode so far, but I'm still facing a problem with this. In Racket, I expect that this will get me a SHA1 hash (as bytes) of a string, using a key: (require web-server/stuffers/hmac-sha1 net/base64) (define (str-to-hash private-key str) (b

Re: [racket] first and rest etc. only work on proper lists

2012-05-15 Thread Pierpaolo Bernardi
On Tue, May 15, 2012 at 1:49 PM, Matthew Flatt wrote: > At Tue, 15 May 2012 06:31:13 -0500, Robby Findler wrote: >> FWIW, the list? check that is inside first and rest caches its result >> in the header information in the cons cells it traverses. > > In other words, `first and `rest' are amortized

Re: [racket] Custom Key Bindings - Post Your File

2012-05-15 Thread Stephen De Gabrielle
Is the 'Script Plugin' an option for keybindings? S. The Script Plugin for DrRacket may help to create simple plugins, like automatic text (or snip%s) insertion, text selection replacement (and much more), without needing to restart DrRacket : http://planet.plt-scheme.org/display.ss?package=scrip

Re: [racket] first and rest etc. only work on proper lists

2012-05-15 Thread Pierpaolo Bernardi
On Tue, May 15, 2012 at 1:31 PM, Robby Findler wrote: > FWIW, the list? check that is inside first and rest caches its result > in the header information in the cons cells it traverses. I see. I was missing this piece of information. Cheers P. Racket Users list: http://l

Re: [racket] first and rest etc. only work on proper lists

2012-05-15 Thread Matthew Flatt
At Tue, 15 May 2012 06:31:13 -0500, Robby Findler wrote: > FWIW, the list? check that is inside first and rest caches its result > in the header information in the cons cells it traverses. In other words, `first and `rest' are amortized constant-time, due to the use of the amortized constant-time

Re: [racket] first and rest etc. only work on proper lists

2012-05-15 Thread Robby Findler
FWIW, the list? check that is inside first and rest caches its result in the header information in the cons cells it traverses. Robby On Tue, May 15, 2012 at 3:06 AM, Pierpaolo Bernardi wrote: > On Mon, May 14, 2012 at 8:16 PM, Jay McCarthy wrote: >> They could be identical, but they are differ

Re: [racket] first and rest etc. only work on proper lists

2012-05-15 Thread Pierpaolo Bernardi
On Mon, May 14, 2012 at 8:16 PM, Jay McCarthy wrote: > They could be identical, but they are different because one set is > about lists and the other is about pairs. The fact that pairs may be > used to implement lists is immaterial. > > You should really never use the c[ad]*r functions unless you