Jay McCarthy
writes:
> You want the tcp-addresses function ...
>
thx jay!
i think i misled with my question though by not providing enough info -
especially like i'm trying to get the ip address of the client through a
cgi script.
my son solved my problem by pointing out that REMOTE_ADDR is a s
Caveat: I'm only going by what I found here:
https://dev.twitter.com/docs. But I havent tried any of it out so I
dont know if I'll be able to field any more detailed questions. Also,
apologies if you already know all this.
1) Looks like the first thing you need to do is to create a twitter
app: ht
Hi Lawrence,
You probably need to also install the support teachpack file
"bootstrap-common.rkt", which can be found here:
http://www.bootstrapworld.org/materials/resources/source-files/Teachpacks/
Racket Users list:
http://lists.racket-lang.org/users
The short answer is that the top-level is hopeless, as Matthew has
discussed at some length here and elsewhere.
If you really need to eval code, can you first put it into a module?
Robby
On Tue, May 14, 2013 at 11:09 AM, Matthew Butterick
wrote:
> Suppose x-is-foo.rkt is this:
>
> (module x-is
Some more excavation into the docs revealed that the preferred technique is
to use namespace-require for the initial import only, and then use eval
statements for the rest. That helped me resolve a difficult bug. But it
didn't resolve this variable-override mystery, because this:
#lang racket
(req
You want the tcp-addresses function
http://docs.racket-lang.org/reference/tcp.html?q=addresses#%28def._%28%28lib._racket%2Ftcp..rkt%29._tcp-addresses%29%29
Jay
On Tue, May 14, 2013 at 12:07 PM, prad wrote:
> in php i can do this:
> $ip=$_SERVER['REMOTE_ADDR'];
>
> to find out what the client ip
Geoffrey S. Knauth wrote at 05/14/2013 05:25 PM:
My question is, is there anyone else out there in Racket-land who has used AWS
as part of the application? I'll be running on AWS hardware and some of the
big files will have to be stored on S3.
Greg Hendershott developed an open source Ra
I have a new potential project starting and I have my choice of language. It
will be doing a lot of web navigation (as a user would, just faster) and it has
to run in an AWS [1] environment and interact with AWS S3 buckets [3]. I know
I can do this with Scala or Python, but there are aspects o
Are you sure you should be using "include"? Is there a reason why
you're using "include", and not "require"?
If you take advantage of Racket's module system, it should prevent you
from creating import cycles. Have you looked at:
http://docs.racket-lang.org/guide/modules.html yet?
___
Hi Dear Racket experts,
I once accidentally include a file in itself like:
In foo.scm
(include "foo.scm")
And it causes infinite loop. Maybe this should be forbidden in the language
spec.
Thanks,
Alfred
Racket Users list:
http://lists.racket-lang.org/users
in php i can do this:
$ip=$_SERVER['REMOTE_ADDR'];
to find out what the client ip address is.
how do i do it in racket?
i looked at request-client-ip provided by
web-server/http/request-structs
but that seems to require i run the racket webserver.
--
in friendship,
prad
On 05/11/2013 01:56 PM, dmitry.cherkassov.dcherkas...@gmail.com wrote:
Hi. Can't find convolution kernel dimensions in the docs, neither they can be
specified via arguments.
Any ideas what they are?
A kernel centered at x with standard deviation σ has its minimum at
floor(x-3*σ) and its maxim
==
FARM 2013: Call for Papers
ACM SIGPLAN Workshop on Functional Art, Music, Modeling and Design
Boston, Massachusetts, USA
28th September, 2013 (directly after ICFP)
Hi. Can't find convolution kernel dimensions in the docs, neither they can be
specified via arguments.
Any ideas what they are?
Thanks.
--
With best regards,
Dmitry
Racket Users list:
http://lists.racket-lang.org/users
Thanks a lot, Matthew! That works!
On Tue, May 14, 2013 at 8:06 AM, Matthew Flatt wrote:
> Hi Alfred,
>
> See
>
> http://docs.racket-lang.org/guide/eval.html#(part._namespaces)
>
> Matthew
>
> At Tue, 14 May 2013 07:01:51 -0400, Alfred Zhong wrote:
> > Hi Racket experts,
> >
> > I am reading
Suppose x-is-foo.rkt is this:
(module x-is-foo racket
(define x 'foo)
(provide x))
If you open another file and try this:
(require "x-is-foo.rkt")
(define x 'bar)
You'lll get a "identifier already imported" error. OK, that much I
understand.
Here's the question. When you do this:
(paramet
Is there any documentation on how to set up and run Bootstrap lessons using
DrRacket? For example, I'm trying through DrRacket to install the
downloaded teachpack for Bootstrap and I get:
default-load-handler: cannot open input file
path:
/home/borgauf/.racket/5.3.3/collects/installed-teachpacks
Hi Alfred,
See
http://docs.racket-lang.org/guide/eval.html#(part._namespaces)
Matthew
At Tue, 14 May 2013 07:01:51 -0400, Alfred Zhong wrote:
> Hi Racket experts,
>
> I am reading SICP and trying this piece of code using Racke:
>
> (define (definition-value exp)
> (if (symbol? (cadr exp
Hi Racket experts,
I am reading SICP and trying this piece of code using Racke:
(define (definition-value exp)
(if (symbol? (cadr exp))
(caddr exp)
(make-lambda
(cdadr exp) ; formal parameters
(cddr exp) ; body
)
)
)
(define (make-lam
Dear All,
This is my first message here, and first of all thank you for the excellent
documentation already available.
I tried to browse the past messages and the documentation available online
but I couldn't find any information on how to query the twitter streaming
API. I'm interested in getting
Folks,
I have notified the GeSHi and Rosetta Code (a user of MediaWiki) of my
racket.php script, and have made it a personal mission to poke them every
week or so. However, they are both very busy and assure me that integrating
it *is* on their to do lists.
I have put a note on the Intro Project
21 matches
Mail list logo